put_account_configuration

put_account_configuration(**kwargs)

Adds or modifies account-level configurations in ACM.

The supported configuration option is DaysBeforeExpiry . This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

See also: AWS API Documentation

Request Syntax

response = client.put_account_configuration(
    ExpiryEvents={
        'DaysBeforeExpiry': 123
    },
    IdempotencyToken='string'
)
Parameters
  • ExpiryEvents (dict) --

    Specifies expiration events associated with an account.

    • DaysBeforeExpiry (integer) --

      Specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

  • IdempotencyToken (string) --

    [REQUIRED]

    Customer-chosen string used to distinguish between calls to PutAccountConfiguration . Idempotency tokens time out after one hour. If you call PutAccountConfiguration multiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.

Returns

None

Exceptions

  • ACM.Client.exceptions.ValidationException
  • ACM.Client.exceptions.ThrottlingException
  • ACM.Client.exceptions.AccessDeniedException
  • ACM.Client.exceptions.ConflictException