aws_sdk_acm/client/put_account_configuration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`PutAccountConfiguration`](crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`expiry_events(ExpiryEventsConfiguration)`](crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder::expiry_events) / [`set_expiry_events(Option<ExpiryEventsConfiguration>)`](crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder::set_expiry_events):<br>required: **false**<br><p>Specifies expiration events associated with an account.</p><br>
7 /// - [`idempotency_token(impl Into<String>)`](crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder::idempotency_token) / [`set_idempotency_token(Option<String>)`](crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder::set_idempotency_token):<br>required: **true**<br><p>Customer-chosen string used to distinguish between calls to <code>PutAccountConfiguration</code>. Idempotency tokens time out after one hour. If you call <code>PutAccountConfiguration</code> 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.</p><br>
8 /// - On success, responds with [`PutAccountConfigurationOutput`](crate::operation::put_account_configuration::PutAccountConfigurationOutput)
9 /// - On failure, responds with [`SdkError<PutAccountConfigurationError>`](crate::operation::put_account_configuration::PutAccountConfigurationError)
10 pub fn put_account_configuration(&self) -> crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder {
11 crate::operation::put_account_configuration::builders::PutAccountConfigurationFluentBuilder::new(self.handle.clone())
12 }
13}