aws_sdk_route53resolver/client/
associate_resolver_endpoint_ip_address.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 [`AssociateResolverEndpointIpAddress`](crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resolver_endpoint_id(impl Into<String>)`](crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder::resolver_endpoint_id) / [`set_resolver_endpoint_id(Option<String>)`](crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder::set_resolver_endpoint_id):<br>required: **true**<br><p>The ID of the Resolver endpoint that you want to associate IP addresses with.</p><br>
7    ///   - [`ip_address(IpAddressUpdate)`](crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder::ip_address) / [`set_ip_address(Option<IpAddressUpdate>)`](crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder::set_ip_address):<br>required: **true**<br><p>Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.</p><br>
8    /// - On success, responds with [`AssociateResolverEndpointIpAddressOutput`](crate::operation::associate_resolver_endpoint_ip_address::AssociateResolverEndpointIpAddressOutput) with field(s):
9    ///   - [`resolver_endpoint(Option<ResolverEndpoint>)`](crate::operation::associate_resolver_endpoint_ip_address::AssociateResolverEndpointIpAddressOutput::resolver_endpoint): <p>The response to an <code>AssociateResolverEndpointIpAddress</code> request.</p>
10    /// - On failure, responds with [`SdkError<AssociateResolverEndpointIpAddressError>`](crate::operation::associate_resolver_endpoint_ip_address::AssociateResolverEndpointIpAddressError)
11    pub fn associate_resolver_endpoint_ip_address(
12        &self,
13    ) -> crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder {
14        crate::operation::associate_resolver_endpoint_ip_address::builders::AssociateResolverEndpointIpAddressFluentBuilder::new(self.handle.clone())
15    }
16}