LicenseManager / Client / list_failures_for_license_configuration_operations

list_failures_for_license_configuration_operations#

LicenseManager.Client.list_failures_for_license_configuration_operations(**kwargs)#

Lists the license configuration operations that failed.

See also: AWS API Documentation

Request Syntax

response = client.list_failures_for_license_configuration_operations(
    LicenseConfigurationArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • LicenseConfigurationArn (string) –

    [REQUIRED]

    Amazon Resource Name of the license configuration.

  • MaxResults (integer) – Maximum number of results to return in a single call.

  • NextToken (string) – Token for the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'LicenseOperationFailureList': [
        {
            'ResourceArn': 'string',
            'ResourceType': 'EC2_INSTANCE'|'EC2_HOST'|'EC2_AMI'|'RDS'|'SYSTEMS_MANAGER_MANAGED_INSTANCE',
            'ErrorMessage': 'string',
            'FailureTime': datetime(2015, 1, 1),
            'OperationName': 'string',
            'ResourceOwnerId': 'string',
            'OperationRequestedBy': 'string',
            'MetadataList': [
                {
                    'Name': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • LicenseOperationFailureList (list) –

      License configuration operations that failed.

      • (dict) –

        Describes the failure of a license operation.

        • ResourceArn (string) –

          Amazon Resource Name (ARN) of the resource.

        • ResourceType (string) –

          Resource type.

        • ErrorMessage (string) –

          Error message.

        • FailureTime (datetime) –

          Failure time.

        • OperationName (string) –

          Name of the operation.

        • ResourceOwnerId (string) –

          ID of the Amazon Web Services account that owns the resource.

        • OperationRequestedBy (string) –

          The requester is “License Manager Automated Discovery”.

        • MetadataList (list) –

          Reserved.

          • (dict) –

            Describes key/value pairs.

            • Name (string) –

              The key name.

            • Value (string) –

              The value.

    • NextToken (string) –

      Token for the next set of results.

Exceptions