amazonka-route53-2.0: Amazon Route 53 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

  • 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
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

AWSPager ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

AWSRequest 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 #

Read ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Show ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

NFData ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Eq ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Hashable ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

type AWSResponse 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListVPCAssociationAuthorizations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId))))

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.

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
Generic 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

NFData ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListVPCAssociationAuthorizations

Eq 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" '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:

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