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 |
Disassociates a VPC from a Amazon Route 53 private hosted zone.
Important: You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone.
Synopsis
- disassociateVPCFromHostedZone :: ResourceId -> VPC -> DisassociateVPCFromHostedZone
- data DisassociateVPCFromHostedZone
- dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text)
- dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId
- dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC
- disassociateVPCFromHostedZoneResponse :: Int -> ChangeInfo -> DisassociateVPCFromHostedZoneResponse
- data DisassociateVPCFromHostedZoneResponse
- dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int
- dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo
Creating a Request
disassociateVPCFromHostedZone Source #
Creates a value of DisassociateVPCFromHostedZone
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvfhzComment
- Optional: A comment about the disassociation request.dvfhzHostedZoneId
- The ID of the private hosted zone that you want to disassociate a VPC from.dvfhzVPC
- A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.
data DisassociateVPCFromHostedZone Source #
A complex type that contains information about the VPC that you want to disassociate from a specified private hosted zone.
See: disassociateVPCFromHostedZone
smart constructor.
Instances
Request Lenses
dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) Source #
Optional: A comment about the disassociation request.
dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId Source #
The ID of the private hosted zone that you want to disassociate a VPC from.
dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC Source #
A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.
Destructuring the Response
disassociateVPCFromHostedZoneResponse Source #
Creates a value of DisassociateVPCFromHostedZoneResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvfhzrsResponseStatus
- -- | The response status code.dvfhzrsChangeInfo
- A complex type that describes the changes made to the specified private hosted zone.
data DisassociateVPCFromHostedZoneResponse Source #
A complex type that contains the response information for the disassociate request.
See: disassociateVPCFromHostedZoneResponse
smart constructor.
Instances
Response Lenses
dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int Source #
- - | The response status code.
dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo Source #
A complex type that describes the changes made to the specified private hosted zone.