Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
Sending this request only prevents the Amazon Web Services 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
- data DeleteVPCAssociationAuthorization = DeleteVPCAssociationAuthorization' {
- hostedZoneId :: ResourceId
- vpc :: VPC
- newDeleteVPCAssociationAuthorization :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization
- deleteVPCAssociationAuthorization_hostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId
- deleteVPCAssociationAuthorization_vpc :: Lens' DeleteVPCAssociationAuthorization VPC
- data DeleteVPCAssociationAuthorizationResponse = DeleteVPCAssociationAuthorizationResponse' {
- httpStatus :: Int
- newDeleteVPCAssociationAuthorizationResponse :: Int -> DeleteVPCAssociationAuthorizationResponse
- deleteVPCAssociationAuthorizationResponse_httpStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int
Creating a Request
data DeleteVPCAssociationAuthorization Source #
A complex type that contains information about the request to remove authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account.
See: newDeleteVPCAssociationAuthorization
smart constructor.
DeleteVPCAssociationAuthorization' | |
|
Instances
newDeleteVPCAssociationAuthorization Source #
Create a value of DeleteVPCAssociationAuthorization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteVPCAssociationAuthorization
, deleteVPCAssociationAuthorization_hostedZoneId
- When removing authorization to associate a VPC that was created by one
Amazon Web Services account with a hosted zone that was created with a
different Amazon Web Services account, the ID of the hosted zone.
$sel:vpc:DeleteVPCAssociationAuthorization'
, deleteVPCAssociationAuthorization_vpc
- When removing authorization to associate a VPC that was created by one
Amazon Web Services account with a hosted zone that was created with a
different Amazon Web Services account, a complex type that includes the
ID and region of the VPC.
Request Lenses
deleteVPCAssociationAuthorization_hostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId Source #
When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, the ID of the hosted zone.
deleteVPCAssociationAuthorization_vpc :: Lens' DeleteVPCAssociationAuthorization VPC Source #
When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, a complex type that includes the ID and region of the VPC.
Destructuring the Response
data DeleteVPCAssociationAuthorizationResponse Source #
Empty response for the request.
See: newDeleteVPCAssociationAuthorizationResponse
smart constructor.
DeleteVPCAssociationAuthorizationResponse' | |
|
Instances
Generic DeleteVPCAssociationAuthorizationResponse Source # | |
Defined in Amazonka.Route53.DeleteVPCAssociationAuthorization type Rep DeleteVPCAssociationAuthorizationResponse :: Type -> Type # | |
Read DeleteVPCAssociationAuthorizationResponse Source # | |
Show DeleteVPCAssociationAuthorizationResponse Source # | |
NFData DeleteVPCAssociationAuthorizationResponse Source # | |
Eq DeleteVPCAssociationAuthorizationResponse Source # | |
type Rep DeleteVPCAssociationAuthorizationResponse Source # | |
Defined in Amazonka.Route53.DeleteVPCAssociationAuthorization type Rep DeleteVPCAssociationAuthorizationResponse = D1 ('MetaData "DeleteVPCAssociationAuthorizationResponse" "Amazonka.Route53.DeleteVPCAssociationAuthorization" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "DeleteVPCAssociationAuthorizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteVPCAssociationAuthorizationResponse Source #
Create a value of DeleteVPCAssociationAuthorizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteVPCAssociationAuthorizationResponse'
, deleteVPCAssociationAuthorizationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteVPCAssociationAuthorizationResponse_httpStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int Source #
The response's http status code.