LicenseManagerLinuxSubscriptions / Client / get_registered_subscription_provider
get_registered_subscription_provider#
- LicenseManagerLinuxSubscriptions.Client.get_registered_subscription_provider(**kwargs)#
Get details for a Bring Your Own License (BYOL) subscription that’s registered to your account.
See also: AWS API Documentation
Request Syntax
response = client.get_registered_subscription_provider( SubscriptionProviderArn='string' )
- Parameters:
SubscriptionProviderArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the BYOL registration resource to get details for.
- Return type:
dict
- Returns:
Response Syntax
{ 'LastSuccessfulDataRetrievalTime': 'string', 'SecretArn': 'string', 'SubscriptionProviderArn': 'string', 'SubscriptionProviderSource': 'RedHat', 'SubscriptionProviderStatus': 'ACTIVE'|'INVALID'|'PENDING', 'SubscriptionProviderStatusMessage': 'string' }
Response Structure
(dict) –
LastSuccessfulDataRetrievalTime (string) –
The timestamp from the last time License Manager retrieved subscription details from your registered third-party Linux subscription provider.
SecretArn (string) –
The Amazon Resource Name (ARN) of the third-party access secret stored in Secrets Manager for the BYOL registration resource specified in the request.
SubscriptionProviderArn (string) –
The Amazon Resource Name (ARN) for the BYOL registration resource specified in the request.
SubscriptionProviderSource (string) –
The subscription provider for the BYOL registration resource specified in the request.
SubscriptionProviderStatus (string) –
The status of the Linux subscription provider access token from the last successful subscription data request.
SubscriptionProviderStatusMessage (string) –
The detailed message from your subscription provider token status.
Exceptions
LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException
LicenseManagerLinuxSubscriptions.Client.exceptions.ResourceNotFoundException
LicenseManagerLinuxSubscriptions.Client.exceptions.ThrottlingException
LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException