LicenseManagerLinuxSubscriptions / Client / update_service_settings

update_service_settings#

LicenseManagerLinuxSubscriptions.Client.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',
        ]
    }
)
Parameters:
  • AllowUpdate (boolean) – 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.

  • LinuxSubscriptionsDiscovery (string) –

    [REQUIRED]

    Describes if the discovery of Linux subscriptions is enabled.

  • LinuxSubscriptionsDiscoverySettings (dict) –

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

    • OrganizationIntegration (string) – [REQUIRED]

      Details if you have enabled resource discovery across your accounts in Organizations.

    • SourceRegions (list) – [REQUIRED]

      The Regions in which to discover data for Linux subscriptions.

      • (string) –

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) –

      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