aws_sdk_sesv2/client/
put_configuration_set_delivery_options.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 [`PutConfigurationSetDeliveryOptions`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`configuration_set_name(impl Into<String>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_configuration_set_name):<br>required: **true**<br><p>The name of the configuration set to associate with a dedicated IP pool.</p><br>
7    ///   - [`tls_policy(TlsPolicy)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::tls_policy) / [`set_tls_policy(Option<TlsPolicy>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_tls_policy):<br>required: **false**<br><p>Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is <code>Require</code>, messages are only delivered if a TLS connection can be established. If the value is <code>Optional</code>, messages can be delivered in plain text if a TLS connection can't be established.</p><br>
8    ///   - [`sending_pool_name(impl Into<String>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::sending_pool_name) / [`set_sending_pool_name(Option<String>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_sending_pool_name):<br>required: **false**<br><p>The name of the dedicated IP pool to associate with the configuration set.</p><br>
9    ///   - [`max_delivery_seconds(i64)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::max_delivery_seconds) / [`set_max_delivery_seconds(Option<i64>)`](crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::set_max_delivery_seconds):<br>required: **false**<br><p>The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).</p><br>
10    /// - On success, responds with [`PutConfigurationSetDeliveryOptionsOutput`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsOutput)
11    /// - On failure, responds with [`SdkError<PutConfigurationSetDeliveryOptionsError>`](crate::operation::put_configuration_set_delivery_options::PutConfigurationSetDeliveryOptionsError)
12    pub fn put_configuration_set_delivery_options(
13        &self,
14    ) -> crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder {
15        crate::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder::new(self.handle.clone())
16    }
17}