Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This action disassociates a VPC from an hosted zone.
To disassociate a VPC to a hosted zone, send a POST
request to the
'/Route 53 API version/hostedzone/hosted zone ID/disassociatevpc'
resource. The request body must include a document with a
DisassociateVPCFromHostedZoneRequest
element. The response returns the
DisassociateVPCFromHostedZoneResponse
element that contains
ChangeInfo
for you to track the progress of the
DisassociateVPCFromHostedZoneRequest
you made. See GetChange
operation for how to track the progress of your change.
- disassociateVPCFromHostedZone :: Text -> VPC -> DisassociateVPCFromHostedZone
- data DisassociateVPCFromHostedZone
- dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text)
- dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text
- 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:
data DisassociateVPCFromHostedZone Source #
A complex type that contains information about the request to disassociate a VPC from an hosted zone.
See: disassociateVPCFromHostedZone
smart constructor.
Request Lenses
dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) Source #
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest
.
dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text Source #
The ID of the hosted zone you want to disassociate your VPC from.
Note that you cannot disassociate the last VPC from a hosted zone.
dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC Source #
The VPC that you want your hosted zone to be disassociated from.
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:
data DisassociateVPCFromHostedZoneResponse Source #
A complex type containing the response information for the request.
See: disassociateVPCFromHostedZoneResponse
smart constructor.
Response Lenses
dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int Source #
The response status code.
dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo Source #
A complex type that contains the ID, the status, and the date and time
of your DisassociateVPCFromHostedZoneRequest
.