Copyright | (c) 2013-2017 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 |
Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization
requests.
The response includes a VPCs
element with a VPC
child element for each VPC that can be associated with the hosted zone.
- listVPCAssociationAuthorizations :: ResourceId -> ListVPCAssociationAuthorizations
- data ListVPCAssociationAuthorizations
- lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
- lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
- lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId
- listVPCAssociationAuthorizationsResponse :: Int -> ResourceId -> NonEmpty VPC -> ListVPCAssociationAuthorizationsResponse
- data ListVPCAssociationAuthorizationsResponse
- lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text)
- lvaarsResponseStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int
- lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId
- lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC)
Creating a Request
listVPCAssociationAuthorizations Source #
Creates a value of ListVPCAssociationAuthorizations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvaaNextToken
- Optional : If a response includes aNextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value ofNextToken
from the response in thenexttoken
parameter in anotherListVPCAssociationAuthorizations
request.lvaaMaxResults
- Optional : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value forMaxResults
, Amazon Route 53 returns up to 50 VPCs per page.lvaaHostedZoneId
- The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.
data ListVPCAssociationAuthorizations Source #
A complex type that contains information about that can be associated with your hosted zone.
See: listVPCAssociationAuthorizations
smart constructor.
Request Lenses
lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text) Source #
Optional : If a response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of NextToken
from the response in the nexttoken
parameter in another ListVPCAssociationAuthorizations
request.
lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text) Source #
Optional : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value for MaxResults
, Amazon Route 53 returns up to 50 VPCs per page.
lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId Source #
The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.
Destructuring the Response
listVPCAssociationAuthorizationsResponse Source #
Creates a value of ListVPCAssociationAuthorizationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvaarsNextToken
- When the response includes aNextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizations
request, and include the value of theNextToken
element from the response in thenexttoken
request parameter.lvaarsResponseStatus
- -- | The response status code.lvaarsHostedZoneId
- The ID of the hosted zone that you can associate the listed VPCs with.lvaarsVPCs
- The list of VPCs that are authorized to be associated with the specified hosted zone.
data ListVPCAssociationAuthorizationsResponse Source #
A complex type that contains the response information for the request.
See: listVPCAssociationAuthorizationsResponse
smart constructor.
Response Lenses
lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text) Source #
When the response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the nexttoken
request parameter.
lvaarsResponseStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int Source #
- - | The response status code.
lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId Source #
The ID of the hosted zone that you can associate the listed VPCs with.
lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC) Source #
The list of VPCs that are authorized to be associated with the specified hosted zone.