Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Important: 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
.
Synopsis
- deleteVPCAssociationAuthorization :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization
- data DeleteVPCAssociationAuthorization
- dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId
- dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC
- deleteVPCAssociationAuthorizationResponse :: Int -> DeleteVPCAssociationAuthorizationResponse
- data DeleteVPCAssociationAuthorizationResponse
- dvaarsResponseStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int
Creating a Request
deleteVPCAssociationAuthorization Source #
Creates a value of DeleteVPCAssociationAuthorization
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvaaHostedZoneId
- When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.dvaaVPC
- When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.
data DeleteVPCAssociationAuthorization Source #
A complex type that contains information about the request to remove authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account.
See: deleteVPCAssociationAuthorization
smart constructor.
Instances
Request Lenses
dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId Source #
When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.
dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC Source #
When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.
Destructuring the Response
deleteVPCAssociationAuthorizationResponse Source #
Creates a value of DeleteVPCAssociationAuthorizationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvaarsResponseStatus
- -- | The response status code.
data DeleteVPCAssociationAuthorizationResponse Source #
Empty response for the request.
See: deleteVPCAssociationAuthorizationResponse
smart constructor.
Instances
Response Lenses
dvaarsResponseStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int Source #
- - | The response status code.