list_license_configurations
async
¶
list_license_configurations(
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = 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/async_license_manager.py
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 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 | |