LicenseManagerLinuxSubscriptions / Paginator / ListRegisteredSubscriptionProviders

ListRegisteredSubscriptionProviders#

class LicenseManagerLinuxSubscriptions.Paginator.ListRegisteredSubscriptionProviders#
paginator = client.get_paginator('list_registered_subscription_providers')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from LicenseManagerLinuxSubscriptions.Client.list_registered_subscription_providers().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    SubscriptionProviderSources=[
        'RedHat',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • SubscriptionProviderSources (list) –

    To filter your results, specify which subscription providers to return in the list.

    • (string) –

  • 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

{
    'RegisteredSubscriptionProviders': [
        {
            'LastSuccessfulDataRetrievalTime': 'string',
            'SecretArn': 'string',
            'SubscriptionProviderArn': 'string',
            'SubscriptionProviderSource': 'RedHat',
            'SubscriptionProviderStatus': 'ACTIVE'|'INVALID'|'PENDING',
            'SubscriptionProviderStatusMessage': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • RegisteredSubscriptionProviders (list) –

      The list of BYOL registration resources that fit the criteria you specified in the request.

      • (dict) –

        A third-party provider for operating system (OS) platform software and license subscriptions, such as Red Hat. When you register a third-party Linux subscription provider, License Manager can get subscription data from the registered provider.

        • LastSuccessfulDataRetrievalTime (string) –

          The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider.

        • SecretArn (string) –

          The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token. For RHEL account subscriptions, this is the offline token.

        • SubscriptionProviderArn (string) –

          The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.

        • SubscriptionProviderSource (string) –

          A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions.

        • SubscriptionProviderStatus (string) –

          Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.

        • SubscriptionProviderStatusMessage (string) –

          A detailed message that’s associated with your BYOL subscription provider token status.