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 |
Associates an Amazon VPC with a private hosted zone.
Important: To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.
- associateVPCWithHostedZone :: ResourceId -> VPC -> AssociateVPCWithHostedZone
- data AssociateVPCWithHostedZone
- avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text)
- avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId
- 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:
avwhzComment
- Optional: A comment about the association request.avwhzHostedZoneId
- The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.avwhzVPC
- A complex type that contains information about the VPC that you want to associate with a private hosted zone.
data AssociateVPCWithHostedZone Source #
A complex type that contains information about the request to associate a VPC with a private hosted zone.
See: associateVPCWithHostedZone
smart constructor.
Request Lenses
avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) Source #
Optional: A comment about the association request.
avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId Source #
The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC Source #
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
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:
avwhzrsResponseStatus
- -- | The response status code.avwhzrsChangeInfo
- A complex type that describes the changes made to your hosted zone.
data AssociateVPCWithHostedZoneResponse Source #
A complex type that contains the response information for the AssociateVPCWithHostedZone
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 describes the changes made to your hosted zone.