ListRegisteredSubscriptionProviders - License Manager Linux Subscriptions

ListRegisteredSubscriptionProviders

List Bring Your Own License (BYOL) subscription registration resources for your account.

Request Syntax

POST /subscription/ListRegisteredSubscriptionProviders HTTP/1.1 Content-type: application/json { "MaxResults": number, "NextToken": "string", "SubscriptionProviderSources": [ "string" ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

MaxResults

The maximum items to return in a request.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

NextToken

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

Type: String

Required: No

SubscriptionProviderSources

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

Type: Array of strings

Valid Values: RedHat

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "NextToken": "string", "RegisteredSubscriptionProviders": [ { "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.

NextToken

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.

Type: String

RegisteredSubscriptionProviders

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

Type: Array of RegisteredSubscriptionProvider objects

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

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: