SESV2 / Client / put_account_vdm_attributes

put_account_vdm_attributes#

SESV2.Client.put_account_vdm_attributes(**kwargs)#

Update your Amazon SES account VDM attributes.

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.put_account_vdm_attributes(
    VdmAttributes={
        'VdmEnabled': 'ENABLED'|'DISABLED',
        'DashboardAttributes': {
            'EngagementMetrics': 'ENABLED'|'DISABLED'
        },
        'GuardianAttributes': {
            'OptimizedSharedDelivery': 'ENABLED'|'DISABLED'
        }
    }
)
Parameters:

VdmAttributes (dict) –

[REQUIRED]

The VDM attributes that you wish to apply to your Amazon SES account.

  • VdmEnabled (string) – [REQUIRED]

    Specifies the status of your VDM configuration. Can be one of the following:

    • ENABLED – Amazon SES enables VDM for your account.

    • DISABLED – Amazon SES disables VDM for your account.

  • DashboardAttributes (dict) –

    Specifies additional settings for your VDM configuration as applicable to the Dashboard.

    • EngagementMetrics (string) –

      Specifies the status of your VDM engagement metrics collection. Can be one of the following:

      • ENABLED – Amazon SES enables engagement metrics for your account.

      • DISABLED – Amazon SES disables engagement metrics for your account.

  • GuardianAttributes (dict) –

    Specifies additional settings for your VDM configuration as applicable to the Guardian.

    • OptimizedSharedDelivery (string) –

      Specifies the status of your VDM optimized shared delivery. Can be one of the following:

      • ENABLED – Amazon SES enables optimized shared delivery for your account.

      • DISABLED – Amazon SES disables optimized shared delivery for your account.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SESV2.Client.exceptions.BadRequestException

  • SESV2.Client.exceptions.TooManyRequestsException