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 associates a VPC with an hosted zone.
To associate a VPC with an hosted zone, send a POST
request to the
'/Route 53 API version/hostedzone/hosted zone ID/associatevpc'
resource. The request body must include a document with a
AssociateVPCWithHostedZoneRequest
element. The response returns the
AssociateVPCWithHostedZoneResponse
element that contains ChangeInfo
for you to track the progress of the AssociateVPCWithHostedZoneRequest
you made. See GetChange
operation for how to track the progress of
your change.
- associateVPCWithHostedZone :: Text -> VPC -> AssociateVPCWithHostedZone
- data AssociateVPCWithHostedZone
- avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text)
- avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text
- avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC
- associateVPCWithHostedZoneResponse :: Int -> ChangeInfo -> AssociateVPCWithHostedZoneResponse
- data AssociateVPCWithHostedZoneResponse
- avwhzrsResponseStatus :: Lens' AssociateVPCWithHostedZoneResponse Int
- avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo
Creating a Request
associateVPCWithHostedZone Source #
Creates a value of AssociateVPCWithHostedZone
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AssociateVPCWithHostedZone Source #
A complex type that contains information about the request to associate a VPC with an hosted zone.
See: associateVPCWithHostedZone
smart constructor.
Request Lenses
avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) Source #
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.
avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text Source #
The ID of the hosted zone you want to associate your VPC with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC Source #
The VPC that you want your hosted zone to be associated with.
Destructuring the Response
associateVPCWithHostedZoneResponse Source #
Creates a value of AssociateVPCWithHostedZoneResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AssociateVPCWithHostedZoneResponse Source #
A complex type containing the response information for the request.
See: associateVPCWithHostedZoneResponse
smart constructor.
Response Lenses
avwhzrsResponseStatus :: Lens' AssociateVPCWithHostedZoneResponse Int Source #
The response status code.
avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo Source #
A complex type that contains the ID, the status, and the date and time
of your AssociateVPCWithHostedZoneRequest
.