Amazon.Route53.AmazonRoute53Client.DeleteVPCAssociationAuthorization C# (CSharp) Метод

DeleteVPCAssociationAuthorization() публичный Метод

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.

Send a DELETE request to the /2013-04-01/hostedzone/hosted zone ID/deauthorizevpcassociation resource. The request body must include a document with a DeleteVPCAssociationAuthorizationRequest element.

/// The input is not valid. /// /// The VPC ID that you specified either isn't a valid ID or the current account is not /// authorized to access this VPC. /// /// No hosted zone exists with the ID that you specified. /// /// The VPC that you specified is not authorized to be associated with the hosted zone. ///
public DeleteVPCAssociationAuthorization ( DeleteVPCAssociationAuthorizationRequest request ) : DeleteVPCAssociationAuthorizationResponse
request DeleteVPCAssociationAuthorizationRequest Container for the necessary parameters to execute the DeleteVPCAssociationAuthorization service method.
Результат DeleteVPCAssociationAuthorizationResponse
        public DeleteVPCAssociationAuthorizationResponse DeleteVPCAssociationAuthorization(DeleteVPCAssociationAuthorizationRequest request)
        {
            var marshaller = new DeleteVPCAssociationAuthorizationRequestMarshaller();
            var unmarshaller = DeleteVPCAssociationAuthorizationResponseUnmarshaller.Instance;

            return Invoke<DeleteVPCAssociationAuthorizationRequest,DeleteVPCAssociationAuthorizationResponse>(request, marshaller, unmarshaller);
        }
AmazonRoute53Client