AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request.

Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone.

Note:

For PCL this operation is only available in asynchronous form. Please refer to DeleteVPCAssociationAuthorizationAsync.

Namespace: Amazon.Route53
Assembly: AWSSDK.Route53.dll
Version: 3.x.y.z

Syntax

C#
public abstract DeleteVPCAssociationAuthorizationResponse DeleteVPCAssociationAuthorization(
         DeleteVPCAssociationAuthorizationRequest request
)
Parameters
request
Type: Amazon.Route53.Model.DeleteVPCAssociationAuthorizationRequest

Container for the necessary parameters to execute the DeleteVPCAssociationAuthorization service method.

Return Value
The response from the DeleteVPCAssociationAuthorization service method, as returned by Route53.

Exceptions

ExceptionCondition
ConcurrentModificationException Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
InvalidInputException The input is not valid.
InvalidVPCIdException The VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.
NoSuchHostedZoneException No hosted zone exists with the ID that you specified.
VPCAssociationAuthorizationNotFoundException The VPC that you specified is not authorized to be associated with the hosted zone.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also