list_license_configurations
¶
list_license_configurations(
*,
config_overrides: Optional[LicenseManagerClientConfig] = None,
license_configuration_arns: Optional[StringList] = None,
max_results: Optional[BoxInteger] = None,
next_token: Optional[String] = None,
filters: Optional[Filters] = None,
) -> ListLicenseConfigurationsResponse
Lists the license configurations for your account.
Parameters:
-
license_configuration_arns(Optional[StringList], default:None) –Amazon Resource Names (ARN) of the license configurations.
-
max_results(Optional[BoxInteger], default:None) –Maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –Token for the next set of results.
-
filters(Optional[Filters], default:None) –Filters to scope the results. The following filters and logical operators are supported:
-
licenseCountingType- The dimension for which licenses are counted. Possible values arevCPU|Instance|Core|Socket. -
enforceLicenseCount- A Boolean value that indicates whether hard license enforcement is used. -
usagelimitExceeded- A Boolean value that indicates whether the available licenses have been exceeded.
-
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
FilterLimitExceededException–The request uses too many filters or too many filter values.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ServerInternalException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/license_manager.py
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 | |