update_service_settings
(**kwargs)¶Updates the service settings for Linux subscriptions.
See also: AWS API Documentation
Request Syntax
response = client.update_service_settings(
AllowUpdate=True|False,
LinuxSubscriptionsDiscovery='Enabled'|'Disabled',
LinuxSubscriptionsDiscoverySettings={
'OrganizationIntegration': 'Enabled'|'Disabled',
'SourceRegions': [
'string',
]
}
)
[REQUIRED]
Describes if the discovery of Linux subscriptions is enabled.
[REQUIRED]
The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.
Details if you have enabled resource discovery across your accounts in Organizations.
The Regions in which to discover data for Linux subscriptions.
dict
Response Syntax
{
'HomeRegions': [
'string',
],
'LinuxSubscriptionsDiscovery': 'Enabled'|'Disabled',
'LinuxSubscriptionsDiscoverySettings': {
'OrganizationIntegration': 'Enabled'|'Disabled',
'SourceRegions': [
'string',
]
},
'Status': 'InProgress'|'Completed'|'Successful'|'Failed',
'StatusMessage': {
'string': 'string'
}
}
Response Structure
(dict) --
HomeRegions (list) --
The Region in which License Manager displays the aggregated data for Linux subscriptions.
LinuxSubscriptionsDiscovery (string) --
Lists if discovery has been enabled for Linux subscriptions.
LinuxSubscriptionsDiscoverySettings (dict) --
The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.
OrganizationIntegration (string) --
Details if you have enabled resource discovery across your accounts in Organizations.
SourceRegions (list) --
The Regions in which to discover data for Linux subscriptions.
Status (string) --
Indicates the status of Linux subscriptions settings being applied.
StatusMessage (dict) --
A message which details the Linux subscriptions service settings current status.
Exceptions
LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException
LicenseManagerLinuxSubscriptions.Client.exceptions.ThrottlingException
LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException