update_account_customization

update_account_customization(**kwargs)

Updates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, the only customization that you can use is a theme.

You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Amazon QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the DescribeAccountCustomization API operation.

See also: AWS API Documentation

Request Syntax

response = client.update_account_customization(
    AwsAccountId='string',
    Namespace='string',
    AccountCustomization={
        'DefaultTheme': 'string',
        'DefaultEmailCustomizationTemplate': 'string'
    }
)
Parameters
  • AwsAccountId (string) --

    [REQUIRED]

    The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.

  • Namespace (string) -- The namespace that you want to update Amazon QuickSight customizations for.
  • AccountCustomization (dict) --

    [REQUIRED]

    The Amazon QuickSight customizations you're updating in the current Amazon Web Services Region.

    • DefaultTheme (string) --

      The default theme for this Amazon QuickSight subscription.

    • DefaultEmailCustomizationTemplate (string) --

      The default email customization template.

Return type

dict

Returns

Response Syntax

{
    'Arn': 'string',
    'AwsAccountId': 'string',
    'Namespace': 'string',
    'AccountCustomization': {
        'DefaultTheme': 'string',
        'DefaultEmailCustomizationTemplate': 'string'
    },
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) --

    • Arn (string) --

      The Amazon Resource Name (ARN) for the updated customization for this Amazon Web Services account.

    • AwsAccountId (string) --

      The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.

    • Namespace (string) --

      The namespace associated with the customization that you're updating.

    • AccountCustomization (dict) --

      The Amazon QuickSight customizations you're updating in the current Amazon Web Services Region.

      • DefaultTheme (string) --

        The default theme for this Amazon QuickSight subscription.

      • DefaultEmailCustomizationTemplate (string) --

        The default email customization template.

    • RequestId (string) --

      The Amazon Web Services request ID for this operation.

    • Status (integer) --

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException
  • QuickSight.Client.exceptions.ConflictException
  • QuickSight.Client.exceptions.InvalidParameterValueException
  • QuickSight.Client.exceptions.ResourceNotFoundException
  • QuickSight.Client.exceptions.ThrottlingException
  • QuickSight.Client.exceptions.InternalFailureException
  • QuickSight.Client.exceptions.ResourceUnavailableException