list_usage_for_license_configuration
async
¶
list_usage_for_license_configuration(
license_configuration_arn: String,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
max_results: Optional[BoxInteger] = None,
next_token: Optional[String] = None,
filters: Optional[Filters] = None,
) -> ListUsageForLicenseConfigurationResponse
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
Parameters:
-
license_configuration_arn(String) –Amazon Resource Name (ARN) of the license configuration.
-
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:
-
resourceArn- The ARN of the license configuration resource. -
resourceType- The resource type (EC2_INSTANCE|EC2_HOST|EC2_AMI|SYSTEMS_MANAGER_MANAGED_INSTANCE). -
resourceAccount- The ID of the account that owns the resource.
-
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
3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 | |