#[non_exhaustive]
pub struct PrivateDnsNameConfiguration { /* private fields */ }
Expand description

Information about the private DNS name for the service endpoint.

Implementations§

The verification state of the VPC endpoint service.

>Consumers of the endpoint service can use the private name only when the state is verified.

The endpoint service verification type, for example TXT.

The value the service provider adds to the private DNS name domain record before verification.

The name of the record subdomain the service provider needs to create. The service provider adds the value text to the name.

Creates a new builder-style object to manufacture PrivateDnsNameConfiguration.

Examples found in repository?
src/xml_deser.rs (line 42168)
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
pub fn deser_structure_crate_model_private_dns_name_configuration(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::PrivateDnsNameConfiguration, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::PrivateDnsNameConfiguration::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("state") /* State com.amazonaws.ec2#PrivateDnsNameConfiguration$State */ =>  {
                let var_1803 =
                    Some(
                        Result::<crate::model::DnsNameState, aws_smithy_xml::decode::XmlDecodeError>::Ok(
                            crate::model::DnsNameState::from(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                        )
                        ?
                    )
                ;
                builder = builder.set_state(var_1803);
            }
            ,
            s if s.matches("type") /* Type com.amazonaws.ec2#PrivateDnsNameConfiguration$Type */ =>  {
                let var_1804 =
                    Some(
                        Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
                            aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            .into()
                        )
                        ?
                    )
                ;
                builder = builder.set_type(var_1804);
            }
            ,
            s if s.matches("value") /* Value com.amazonaws.ec2#PrivateDnsNameConfiguration$Value */ =>  {
                let var_1805 =
                    Some(
                        Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
                            aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            .into()
                        )
                        ?
                    )
                ;
                builder = builder.set_value(var_1805);
            }
            ,
            s if s.matches("name") /* Name com.amazonaws.ec2#PrivateDnsNameConfiguration$Name */ =>  {
                let var_1806 =
                    Some(
                        Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
                            aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            .into()
                        )
                        ?
                    )
                ;
                builder = builder.set_name(var_1806);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more