put_account_configuration¶
Operation¶
put_account_configuration
¶
put_account_configuration(request: PutAccountConfigurationInput | PutAccountConfigurationInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
PutAccountConfigurationInput | PutAccountConfigurationInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[PutAccountConfigurationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
PutAccountConfigurationOutput
|
An instance of |
put_account_configuration
async
¶
put_account_configuration(request: PutAccountConfigurationInput | PutAccountConfigurationInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
PutAccountConfigurationInput | PutAccountConfigurationInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[PutAccountConfigurationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
PutAccountConfigurationOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
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.
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.
Output¶
PutAccountConfigurationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for PutAccountConfigurationOutput structure.