Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
This operation returns paginated results.
Synopsis
- data ListVPCAssociationAuthorizations = ListVPCAssociationAuthorizations' {}
- newListVPCAssociationAuthorizations :: ResourceId -> ListVPCAssociationAuthorizations
- listVPCAssociationAuthorizations_maxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
- listVPCAssociationAuthorizations_nextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
- listVPCAssociationAuthorizations_hostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId
- data ListVPCAssociationAuthorizationsResponse = ListVPCAssociationAuthorizationsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- hostedZoneId :: ResourceId
- vPCs :: NonEmpty VPC
- newListVPCAssociationAuthorizationsResponse :: Int -> ResourceId -> NonEmpty VPC -> ListVPCAssociationAuthorizationsResponse
- listVPCAssociationAuthorizationsResponse_nextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text)
- listVPCAssociationAuthorizationsResponse_httpStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int
- listVPCAssociationAuthorizationsResponse_hostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId
- listVPCAssociationAuthorizationsResponse_vPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC)
Creating a Request
data ListVPCAssociationAuthorizations Source #
A complex type that contains information about that can be associated with your hosted zone.
See: newListVPCAssociationAuthorizations
smart constructor.
ListVPCAssociationAuthorizations' | |
|
Instances
newListVPCAssociationAuthorizations Source #
Create a value of ListVPCAssociationAuthorizations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListVPCAssociationAuthorizations'
, listVPCAssociationAuthorizations_maxResults
- 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
, Route 53 returns up to 50 VPCs per page.
ListVPCAssociationAuthorizations
, listVPCAssociationAuthorizations_nextToken
- 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.
ListVPCAssociationAuthorizations
, listVPCAssociationAuthorizations_hostedZoneId
- The ID of the hosted zone for which you want a list of VPCs that can be
associated with the hosted zone.
Request Lenses
listVPCAssociationAuthorizations_maxResults :: 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
, Route 53 returns up to 50 VPCs per page.
listVPCAssociationAuthorizations_nextToken :: 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.
listVPCAssociationAuthorizations_hostedZoneId :: 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
data ListVPCAssociationAuthorizationsResponse Source #
A complex type that contains the response information for the request.
See: newListVPCAssociationAuthorizationsResponse
smart constructor.
ListVPCAssociationAuthorizationsResponse' | |
|
Instances
newListVPCAssociationAuthorizationsResponse Source #
Create a value of ListVPCAssociationAuthorizationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListVPCAssociationAuthorizations
, listVPCAssociationAuthorizationsResponse_nextToken
- 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.
$sel:httpStatus:ListVPCAssociationAuthorizationsResponse'
, listVPCAssociationAuthorizationsResponse_httpStatus
- The response's http status code.
ListVPCAssociationAuthorizations
, listVPCAssociationAuthorizationsResponse_hostedZoneId
- The ID of the hosted zone that you can associate the listed VPCs with.
$sel:vPCs:ListVPCAssociationAuthorizationsResponse'
, listVPCAssociationAuthorizationsResponse_vPCs
- The list of VPCs that are authorized to be associated with the specified
hosted zone.
Response Lenses
listVPCAssociationAuthorizationsResponse_nextToken :: 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.
listVPCAssociationAuthorizationsResponse_httpStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int Source #
The response's http status code.
listVPCAssociationAuthorizationsResponse_hostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId Source #
The ID of the hosted zone that you can associate the listed VPCs with.
listVPCAssociationAuthorizationsResponse_vPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC) Source #
The list of VPCs that are authorized to be associated with the specified hosted zone.