libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.ListVPCAssociationAuthorizations

Description

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

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.

Constructors

ListVPCAssociationAuthorizations' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Text

    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.

  • hostedZoneId :: ResourceId

    The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.

Instances

Instances details
Eq ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Read ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Show ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Generic ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Associated Types

type Rep ListVPCAssociationAuthorizations :: Type -> Type #

NFData ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Hashable ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

AWSPager ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

AWSRequest ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

ToHeaders ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

ToPath ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

ToQuery ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizations = D1 ('MetaData "ListVPCAssociationAuthorizations" "Amazonka.Route53.ListVPCAssociationAuthorizations" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListVPCAssociationAuthorizations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId))))
type AWSResponse ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

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:nextToken: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.

$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.

$sel:hostedZoneId: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_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_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_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.

Constructors

ListVPCAssociationAuthorizationsResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

  • hostedZoneId :: ResourceId

    The ID of the hosted zone that you can associate the listed VPCs with.

  • vPCs :: NonEmpty VPC

    The list of VPCs that are authorized to be associated with the specified hosted zone.

Instances

Instances details
Eq ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Read ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Show ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Generic ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

NFData ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizationsResponse = D1 ('MetaData "ListVPCAssociationAuthorizationsResponse" "Amazonka.Route53.ListVPCAssociationAuthorizations" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListVPCAssociationAuthorizationsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId) :*: S1 ('MetaSel ('Just "vPCs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty VPC)))))

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:

$sel:nextToken: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.

$sel:hostedZoneId: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_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.