GetRegisteredSubscriptionProvider
Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.
Request Syntax
POST /subscription/GetRegisteredSubscriptionProvider HTTP/1.1
Content-type: application/json
{
"SubscriptionProviderArn": "string
"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- SubscriptionProviderArn
-
The Amazon Resource Name (ARN) of the BYOL registration resource to get details for.
Type: String
Pattern:
^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,510}/[a-z0-9-\.]{1,510}$
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"LastSuccessfulDataRetrievalTime": "string",
"SecretArn": "string",
"SubscriptionProviderArn": "string",
"SubscriptionProviderSource": "string",
"SubscriptionProviderStatus": "string",
"SubscriptionProviderStatusMessage": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- LastSuccessfulDataRetrievalTime
-
The timestamp from the last time License Manager retrieved subscription details from your registered third-party Linux subscription provider.
Type: String
- SecretArn
-
The Amazon Resource Name (ARN) of the third-party access secret stored in AWS Secrets Manager for the BYOL registration resource specified in the request.
Type: String
Pattern:
^arn:[a-z0-9-\.]{1,63}:secretsmanager:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:secret:[^/]{1,1023}$
- SubscriptionProviderArn
-
The Amazon Resource Name (ARN) for the BYOL registration resource specified in the request.
Type: String
Pattern:
^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{1,510}/[a-z0-9-\.]{1,510}$
- SubscriptionProviderSource
-
The subscription provider for the BYOL registration resource specified in the request.
Type: String
Valid Values:
RedHat
- SubscriptionProviderStatus
-
The status of the Linux subscription provider access token from the last successful subscription data request.
Type: String
Valid Values:
ACTIVE | INVALID | PENDING
- SubscriptionProviderStatusMessage
-
The detailed message from your subscription provider token status.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerException
-
An exception occurred with the service.
HTTP Status Code: 500
- ResourceNotFoundException
-
Unable to find the requested AWS resource.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied due to request throttling.
HTTP Status Code: 400
- ValidationException
-
The provided input is not valid. Try your request again.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: