LicenseManagerLinuxSubscriptions / Client / get_service_settings

get_service_settings#

LicenseManagerLinuxSubscriptions.Client.get_service_settings()#

Lists the Linux subscriptions service settings.

See also: AWS API Documentation

Request Syntax

response = client.get_service_settings()
Return type:

dict

Returns:

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.

      • (string) –

    • LinuxSubscriptionsDiscovery (string) –

      Lists if discovery has been enabled for Linux subscriptions.

    • LinuxSubscriptionsDiscoverySettings (dict) –

      Lists 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.

        • (string) –

    • Status (string) –

      Indicates the status of Linux subscriptions settings being applied.

    • StatusMessage (dict) –

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

      • (string) –

        • (string) –

Exceptions

  • LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ThrottlingException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException