AgreementService / Paginator / GetAgreementEntitlements

GetAgreementEntitlements

class AgreementService.Paginator.GetAgreementEntitlements
paginator = client.get_paginator('get_agreement_entitlements')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AgreementService.Client.get_agreement_entitlements().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    agreementId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • agreementId (string) –

    [REQUIRED]

    The unique identifier of the agreement.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'agreementEntitlements': [
        {
            'resource': {
                'id': 'string',
                'type': 'string'
            },
            'type': 'string',
            'registrationToken': 'string',
            'status': 'PROVISIONED'|'SCHEDULED'|'PENDING'|'FAILED'|'DEPROVISIONED',
            'statusReasonCode': 'PROVISIONING_IN_PROGRESS'|'FUTURE_START_DATE'|'INVALID_PAYMENT_INSTRUMENT'|'INCOMPATIBLE_CURRENCY'|'ACCOUNT_SUSPENDED'|'UNSUPPORTED_OPERATION'|'AGREEMENT_INACTIVE'|'AGREEMENT_ACTIVE'|'PRODUCT_RESTRICTED',
            'licenseArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • agreementEntitlements (list) –

      A list of agreement entitlements which are part of the latest agreement.

      • (dict) –

        Represents an entitlement associated with an agreement, including the provisioning status, resource, and type.

        • resource (dict) –

          The resource that the entitlement is provisioned to, such as a product.

          • id (string) –

            The unique identifier of the resource.

            Note

            We mention the term resource, which is most commonly a product, so a resourceId is also a productId.

          • type (string) –

            Type of the resource, which is the product (for example, SaaSProduct, AmiProduct, ContainerProduct).

        • type (string) –

          The type of entitlement.

        • registrationToken (string) –

          A short-lived token required by acceptors to register their account with the product provider. The token is only valid for 30 minutes after creation and is only applicable for purchase agreements.

        • status (string) –

          The current state of an entitlement.

        • statusReasonCode (string) –

          Provides more information about the status of an entitlement.

        • licenseArn (string) –

          The Amazon Resource Name (ARN) of the AWS License Manager license associated with the entitlement.

    • NextToken (string) –

      A token to resume pagination.