pub struct DisableVpcClassicLinkDnsSupport { /* private fields */ }
Expand description
Fluent builder constructing a request to DisableVpcClassicLinkDnsSupport
.
Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
You must specify a VPC ID in the request.
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.
Implementations§
source§impl DisableVpcClassicLinkDnsSupport
impl DisableVpcClassicLinkDnsSupport
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, SdkError<DisableVpcClassicLinkDnsSupportError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, SdkError<DisableVpcClassicLinkDnsSupportError>>
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<DisableVpcClassicLinkDnsSupportOutput, SdkError<DisableVpcClassicLinkDnsSupportError>>
pub async fn send(
self
) -> Result<DisableVpcClassicLinkDnsSupportOutput, SdkError<DisableVpcClassicLinkDnsSupportError>>
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 DisableVpcClassicLinkDnsSupport
impl Clone for DisableVpcClassicLinkDnsSupport
source§fn clone(&self) -> DisableVpcClassicLinkDnsSupport
fn clone(&self) -> DisableVpcClassicLinkDnsSupport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more