LicenseManagerLinuxSubscriptions / Client / list_registered_subscription_providers
list_registered_subscription_providers#
- LicenseManagerLinuxSubscriptions.Client.list_registered_subscription_providers(**kwargs)#
List Bring Your Own License (BYOL) subscription registration resources for your account.
See also: AWS API Documentation
Request Syntax
response = client.list_registered_subscription_providers( MaxResults=123, NextToken='string', SubscriptionProviderSources=[ 'RedHat', ] )
- Parameters:
MaxResults (integer) – The maximum items to return in a request.
NextToken (string) – A token to specify where to start paginating. This is the nextToken from a previously truncated response.
SubscriptionProviderSources (list) –
To filter your results, specify which subscription providers to return in the list.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'RegisteredSubscriptionProviders': [ { 'LastSuccessfulDataRetrievalTime': 'string', 'SecretArn': 'string', 'SubscriptionProviderArn': 'string', 'SubscriptionProviderSource': 'RedHat', 'SubscriptionProviderStatus': 'ACTIVE'|'INVALID'|'PENDING', 'SubscriptionProviderStatusMessage': 'string' }, ] }
Response Structure
(dict) –
NextToken (string) –
The next token used for paginated responses. When this field isn’t empty, there are additional elements that the service hasn’t included in this request. Use this token with the next request to retrieve additional objects.
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.
Exceptions
LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException
LicenseManagerLinuxSubscriptions.Client.exceptions.ThrottlingException
LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException