put_account_configuration¶
Operation¶
put_account_configuration
async
¶
put_account_configuration(request: PutAccountConfigurationInput | PutAccountConfigurationInputDict, /, *, plugins: list[Plugin] | None = None) -> PutAccountConfigurationOutput
put_account_configuration(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[PutAccountConfigurationInputDict]) -> PutAccountConfigurationOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
PutAccountConfigurationOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
PutAccountConfigurationInput
dataclass
¶
Bases: _SerdeShape
Dataclass for PutAccountConfigurationInput structure.
Attributes¶
expiry_events
class-attribute
instance-attribute
¶
expiry_events: ExpiryEventsConfiguration | None = ...
Specifies expiration events associated with an account.
idempotency_token
class-attribute
instance-attribute
¶
idempotency_token: str | None = ...
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.
Dictionaries¶
PutAccountConfigurationInputDict
¶
Bases: TypedDict
Dictionary form of PutAccountConfigurationInput.
Attributes¶
expiry_events
instance-attribute
¶
expiry_events: ExpiryEventsConfiguration | ExpiryEventsConfigurationDict | None
Specifies expiration events associated with an account.
idempotency_token
instance-attribute
¶
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.
Output¶
PutAccountConfigurationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for PutAccountConfigurationOutput structure.