1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ValidateE911Address`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The AWS account ID.</p><br>
    ///   - [`street_number(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::street_number) / [`set_street_number(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_street_number):<br>required: **true**<br><p>The address street number, such as <code>200</code> or <code>2121</code>.</p><br>
    ///   - [`street_info(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::street_info) / [`set_street_info(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_street_info):<br>required: **true**<br><p>The address street information, such as <code>8th Avenue</code>.</p><br>
    ///   - [`city(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::city) / [`set_city(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_city):<br>required: **true**<br><p>The address city, such as <code>Portland</code>.</p><br>
    ///   - [`state(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::state) / [`set_state(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_state):<br>required: **true**<br><p>The address state, such as <code>ME</code>.</p><br>
    ///   - [`country(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::country) / [`set_country(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_country):<br>required: **true**<br><p>The address country, such as <code>US</code>.</p><br>
    ///   - [`postal_code(impl Into<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::postal_code) / [`set_postal_code(Option<String>)`](crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::set_postal_code):<br>required: **true**<br><p>The address postal code, such as <code>04352</code>.</p><br>
    /// - On success, responds with [`ValidateE911AddressOutput`](crate::operation::validate_e911_address::ValidateE911AddressOutput) with field(s):
    ///   - [`validation_result(i32)`](crate::operation::validate_e911_address::ValidateE911AddressOutput::validation_result): <p>Number indicating the result of address validation. <code>0</code> means the address was perfect as is and successfully validated. <code>1</code> means the address was corrected. <code>2</code> means the address sent was not close enough and was not validated.</p>
    ///   - [`address_external_id(Option<String>)`](crate::operation::validate_e911_address::ValidateE911AddressOutput::address_external_id): <p>The ID that represents the address.</p>
    ///   - [`address(Option<Address>)`](crate::operation::validate_e911_address::ValidateE911AddressOutput::address): <p>The validated address.</p>
    ///   - [`candidate_address_list(Option<Vec::<CandidateAddress>>)`](crate::operation::validate_e911_address::ValidateE911AddressOutput::candidate_address_list): <p>The list of address suggestions.</p>
    /// - On failure, responds with [`SdkError<ValidateE911AddressError>`](crate::operation::validate_e911_address::ValidateE911AddressError)
    #[deprecated(note = "Replaced by ValidateE911Address in the Amazon Chime SDK Voice Namespace")]
    pub fn validate_e911_address(&self) -> crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder {
        crate::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder::new(self.handle.clone())
    }
}