UserExperienceCustomization / Client / get_account_customizations

get_account_customizations

UserExperienceCustomization.Client.get_account_customizations()

Returns the current account customization settings, including account color, visible services, and visible Regions. Settings that you have not configured return their default values: visible Regions and visible services return null, and account color returns none.

Note

The visibleServices and visibleRegions settings control only the appearance of services and Regions in the Amazon Web Services Management Console. They do not restrict access through the CLI, SDKs, or other APIs.

See also: AWS API Documentation

Request Syntax

response = client.get_account_customizations()
Return type:

dict

Returns:

Response Syntax

{
    'accountColor': 'none'|'pink'|'purple'|'darkBlue'|'lightBlue'|'teal'|'green'|'yellow'|'orange'|'red',
    'visibleServices': [
        'string',
    ],
    'visibleRegions': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • accountColor (string) –

      The account color preference. A value of none indicates that you have not set a color.

    • visibleServices (list) –

      The list of Amazon Web Services service identifiers that are visible to the account in the Amazon Web Services Management Console. A value of null indicates that you have not configured this feature and all services are visible. For valid service identifiers, call ListServices.

      • (string) –

    • visibleRegions (list) –

      The list of Amazon Web Services Region codes that are visible to the account in the Amazon Web Services Management Console. A value of null indicates that you have not configured this feature and all Regions are visible. For a list of valid Region codes, see Amazon Web Services Regions.

      • (string) –

Exceptions

  • UserExperienceCustomization.Client.exceptions.AccessDeniedException

  • UserExperienceCustomization.Client.exceptions.ValidationException

  • UserExperienceCustomization.Client.exceptions.ThrottlingException

  • UserExperienceCustomization.Client.exceptions.InternalServerException