// 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
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in
// the Amazon Elastic Compute Cloud User Guide. You must specify a VPC ID in the
// request.
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.
// 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 // ( https : // docs . aws . amazon . com / AWSEC2 / latest / UserGuide / vpc - classiclink . html ) in // the Amazon Elastic Compute Cloud User Guide . You must specify a VPC ID in the // request .
func (c *Client) DisableVpcClassicLinkDnsSupport(ctx context.Context, params *DisableVpcClassicLinkDnsSupportInput, optFns ...func(*Options)) (*DisableVpcClassicLinkDnsSupportOutput, error) {
	if params == nil {
		params = &DisableVpcClassicLinkDnsSupportInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DisableVpcClassicLinkDnsSupport", params, optFns, addOperationDisableVpcClassicLinkDnsSupportMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DisableVpcClassicLinkDnsSupportOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DisableVpcClassicLinkDnsSupport ( ctx context . Context , params * DisableVpcClassicLinkDnsSupportInput , optFns ... func ( * Options ) ) ( * DisableVpcClassicLinkDnsSupportOutput , error ) { if params == nil { params = & DisableVpcClassicLinkDnsSupportInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDisableVpcClassicLinkDnsSupportMiddlewares ) if err != nil { return nil , err } out := result . ( * DisableVpcClassicLinkDnsSupportOutput ) out . ResultMetadata = metadata return out , nil }
Disables ClassicLink DNS support for a VPC.
Disables ClassicLink DNS support for a VPC .