LicenseManager / Client / get_service_settings

get_service_settings

LicenseManager.Client.get_service_settings()

Gets the License Manager settings for the current Region.

See also: AWS API Documentation

Request Syntax

response = client.get_service_settings()
Return type:

dict

Returns:

Response Syntax

{
    'S3BucketArn': 'string',
    'SnsTopicArn': 'string',
    'OrganizationConfiguration': {
        'EnableIntegration': True|False
    },
    'EnableCrossAccountsDiscovery': True|False,
    'LicenseManagerResourceShareArn': 'string',
    'CrossRegionDiscoveryHomeRegion': 'string',
    'CrossRegionDiscoverySourceRegions': [
        'string',
    ],
    'ServiceStatus': {
        'CrossAccountDiscovery': {
            'Message': 'string'
        },
        'CrossRegionDiscovery': {
            'Message': {
                'string': {
                    'Status': 'string'
                }
            }
        }
    }
}

Response Structure

  • (dict) –

    • S3BucketArn (string) –

      Regional S3 bucket path for storing reports, license trail event data, discovery data, and so on.

    • SnsTopicArn (string) –

      SNS topic configured to receive notifications from License Manager.

    • OrganizationConfiguration (dict) –

      Indicates whether Organizations is integrated with License Manager for cross-account discovery.

      • EnableIntegration (boolean) –

        Enables Organizations integration.

    • EnableCrossAccountsDiscovery (boolean) –

      Indicates whether cross-account discovery is enabled.

    • LicenseManagerResourceShareArn (string) –

      Amazon Resource Name (ARN) of the resource share. The License Manager management account provides member accounts with access to this share.

    • CrossRegionDiscoveryHomeRegion (string) –

      Cross region discovery home region.

    • CrossRegionDiscoverySourceRegions (list) –

      Cross region discovery source regions.

      • (string) –

    • ServiceStatus (dict) –

      Service status.

      • CrossAccountDiscovery (dict) –

        Status of cross-account discovery service.

        • Message (string) –

          Status message for cross-account discovery service.

      • CrossRegionDiscovery (dict) –

        Status of cross-region discovery service.

        • Message (dict) –

          Map of region status messages for cross-region discovery.

          • (string) –

            • (dict) –

              Status information for a specific region.

              • Status (string) –

                Status value for the region.

Exceptions

  • LicenseManager.Client.exceptions.ServerInternalException

  • LicenseManager.Client.exceptions.AuthorizationException

  • LicenseManager.Client.exceptions.AccessDeniedException

  • LicenseManager.Client.exceptions.RateLimitExceededException