aws_sdk_connect/client/
update_email_address_metadata.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEmailAddressMetadata`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    ///   - [`email_address_id(impl Into<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::email_address_id) / [`set_email_address_id(Option<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::set_email_address_id):<br>required: **true**<br><p>The identifier of the email address.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::set_description):<br>required: **false**<br><p>The description of the email address.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of email address.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
    /// - On success, responds with [`UpdateEmailAddressMetadataOutput`](crate::operation::update_email_address_metadata::UpdateEmailAddressMetadataOutput) with field(s):
    ///   - [`email_address_id(Option<String>)`](crate::operation::update_email_address_metadata::UpdateEmailAddressMetadataOutput::email_address_id): <p>The identifier of the email address.</p>
    ///   - [`email_address_arn(Option<String>)`](crate::operation::update_email_address_metadata::UpdateEmailAddressMetadataOutput::email_address_arn): <p>The Amazon Resource Name (ARN) of the email address.</p>
    /// - On failure, responds with [`SdkError<UpdateEmailAddressMetadataError>`](crate::operation::update_email_address_metadata::UpdateEmailAddressMetadataError)
    pub fn update_email_address_metadata(
        &self,
    ) -> crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder {
        crate::operation::update_email_address_metadata::builders::UpdateEmailAddressMetadataFluentBuilder::new(self.handle.clone())
    }
}