1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateContact`](crate::operation::update_contact::builders::UpdateContactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`contact_arn(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::contact_arn) / [`set_contact_arn(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_contact_arn):<br>required: **true**<br><p>The ARN of the contact to update.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_display_name):<br>required: **false**<br><p>The updated display name of the contact.</p><br>
    ///   - [`first_name(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::first_name) / [`set_first_name(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_first_name):<br>required: **false**<br><p>The updated first name of the contact.</p><br>
    ///   - [`last_name(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::last_name) / [`set_last_name(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_last_name):<br>required: **false**<br><p>The updated last name of the contact.</p><br>
    ///   - [`phone_number(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::phone_number) / [`set_phone_number(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_phone_number):<br>required: **false**<br><p>The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.</p><br>
    ///   - [`phone_numbers(PhoneNumber)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::phone_numbers) / [`set_phone_numbers(Option<Vec::<PhoneNumber>>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_phone_numbers):<br>required: **false**<br><p>The list of phone numbers for the contact.</p><br>
    ///   - [`sip_addresses(SipAddress)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::sip_addresses) / [`set_sip_addresses(Option<Vec::<SipAddress>>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_sip_addresses):<br>required: **false**<br><p>The list of SIP addresses for the contact.</p><br>
    /// - On success, responds with [`UpdateContactOutput`](crate::operation::update_contact::UpdateContactOutput)
    /// - On failure, responds with [`SdkError<UpdateContactError>`](crate::operation::update_contact::UpdateContactError)
    #[deprecated(note = "Alexa For Business is no longer supported")]
    pub fn update_contact(&self) -> crate::operation::update_contact::builders::UpdateContactFluentBuilder {
        crate::operation::update_contact::builders::UpdateContactFluentBuilder::new(self.handle.clone())
    }
}