pub struct EnableVpcClassicLinkDnsSupport { /* private fields */ }
Expand description
Fluent builder constructing a request to EnableVpcClassicLinkDnsSupport
.
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
You must specify a VPC ID in the request.
Implementations§
source§impl EnableVpcClassicLinkDnsSupport
impl EnableVpcClassicLinkDnsSupport
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<EnableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, SdkError<EnableVpcClassicLinkDnsSupportError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<EnableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, SdkError<EnableVpcClassicLinkDnsSupportError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<EnableVpcClassicLinkDnsSupportOutput, SdkError<EnableVpcClassicLinkDnsSupportError>>
pub async fn send(
self
) -> Result<EnableVpcClassicLinkDnsSupportOutput, SdkError<EnableVpcClassicLinkDnsSupportError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
Trait Implementations§
source§impl Clone for EnableVpcClassicLinkDnsSupport
impl Clone for EnableVpcClassicLinkDnsSupport
source§fn clone(&self) -> EnableVpcClassicLinkDnsSupport
fn clone(&self) -> EnableVpcClassicLinkDnsSupport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more