UpdateServiceSettings - License Manager Linux Subscriptions

UpdateServiceSettings

Updates the service settings for Linux subscriptions.

Request Syntax

POST /subscription/UpdateServiceSettings HTTP/1.1 Content-type: application/json { "AllowUpdate": boolean, "LinuxSubscriptionsDiscovery": "string", "LinuxSubscriptionsDiscoverySettings": { "OrganizationIntegration": "string", "SourceRegions": [ "string" ] } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

AllowUpdate

Describes if updates are allowed to the service settings for Linux subscriptions. If you allow updates, you can aggregate Linux subscription data in more than one home Region.

Type: Boolean

Required: No

LinuxSubscriptionsDiscovery

Describes if the discovery of Linux subscriptions is enabled.

Type: String

Valid Values: Enabled | Disabled

Required: Yes

LinuxSubscriptionsDiscoverySettings

The settings defined for Linux subscriptions discovery. The settings include if AWS Organizations integration has been enabled, and which Regions data will be aggregated from.

Type: LinuxSubscriptionsDiscoverySettings object

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "HomeRegions": [ "string" ], "LinuxSubscriptionsDiscovery": "string", "LinuxSubscriptionsDiscoverySettings": { "OrganizationIntegration": "string", "SourceRegions": [ "string" ] }, "Status": "string", "StatusMessage": { "string" : "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.

HomeRegions

The Region in which License Manager displays the aggregated data for Linux subscriptions.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 100.

LinuxSubscriptionsDiscovery

Lists if discovery has been enabled for Linux subscriptions.

Type: String

Valid Values: Enabled | Disabled

LinuxSubscriptionsDiscoverySettings

The settings defined for Linux subscriptions discovery. The settings include if AWS Organizations integration has been enabled, and which Regions data will be aggregated from.

Type: LinuxSubscriptionsDiscoverySettings object

Status

Indicates the status of Linux subscriptions settings being applied.

Type: String

Valid Values: InProgress | Completed | Successful | Failed

StatusMessage

A message which details the Linux subscriptions service settings current status.

Type: String to string map

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: