amazonka-route53-1.4.5: Amazon Route 53 SDK.

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

Network.AWS.Route53.ListVPCAssociationAuthorizations

Contents

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.

Send a GET request to the 2013-04-01hostedzone/hosted zone ID /authorizevpcassociation resource. The response to this request includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone.

Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs per page, include the MaxResults parameter:

2013-04-01hostedzone/hosted zone ID authorizevpcassociation?MaxItems=VPCs per page/

If the response includes a NextToken element, there are more VPCs to list. 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:

2013-04-01hostedzone/hosted zone ID authorizevpcassociation?MaxItems=VPCs per page &NextToken=/

Synopsis

Creating a Request

listVPCAssociationAuthorizations #

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 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 the NextToken element in from the response in the NextToken parameter in another ListVPCAssociationAuthorizations request.
  • lvaaMaxResults - Optional : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return.
  • 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 #

A complex type that contains information about that can be associated with your hosted zone.

See: listVPCAssociationAuthorizations smart constructor.

Instances

Eq ListVPCAssociationAuthorizations # 
Data ListVPCAssociationAuthorizations # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListVPCAssociationAuthorizations -> c ListVPCAssociationAuthorizations #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListVPCAssociationAuthorizations #

toConstr :: ListVPCAssociationAuthorizations -> Constr #

dataTypeOf :: ListVPCAssociationAuthorizations -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListVPCAssociationAuthorizations) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListVPCAssociationAuthorizations) #

gmapT :: (forall b. Data b => b -> b) -> ListVPCAssociationAuthorizations -> ListVPCAssociationAuthorizations #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListVPCAssociationAuthorizations -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListVPCAssociationAuthorizations -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListVPCAssociationAuthorizations -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListVPCAssociationAuthorizations -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizations -> m ListVPCAssociationAuthorizations #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizations -> m ListVPCAssociationAuthorizations #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizations -> m ListVPCAssociationAuthorizations #

Read ListVPCAssociationAuthorizations # 
Show ListVPCAssociationAuthorizations # 
Generic ListVPCAssociationAuthorizations # 
Hashable ListVPCAssociationAuthorizations # 
NFData ListVPCAssociationAuthorizations # 
AWSRequest ListVPCAssociationAuthorizations # 
ToQuery ListVPCAssociationAuthorizations # 
ToPath ListVPCAssociationAuthorizations # 
ToHeaders ListVPCAssociationAuthorizations # 
type Rep ListVPCAssociationAuthorizations # 
type Rep ListVPCAssociationAuthorizations = D1 (MetaData "ListVPCAssociationAuthorizations" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" False) (C1 (MetaCons "ListVPCAssociationAuthorizations'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lvaaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lvaaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvaaHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)))))
type Rs ListVPCAssociationAuthorizations # 

Request Lenses

lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (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 the NextToken element in from the response in the NextToken parameter in another ListVPCAssociationAuthorizations request.

lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text) #

Optional : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return.

lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId #

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 #

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 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: 2013-04-01hostedzone/hosted zone ID authorizevpcassociation?MaxItems=VPCs per page &NextToken=/
  • 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 #

A complex type that contains the response information for the request.

See: listVPCAssociationAuthorizationsResponse smart constructor.

Instances

Eq ListVPCAssociationAuthorizationsResponse # 
Data ListVPCAssociationAuthorizationsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListVPCAssociationAuthorizationsResponse -> c ListVPCAssociationAuthorizationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListVPCAssociationAuthorizationsResponse #

toConstr :: ListVPCAssociationAuthorizationsResponse -> Constr #

dataTypeOf :: ListVPCAssociationAuthorizationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListVPCAssociationAuthorizationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListVPCAssociationAuthorizationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListVPCAssociationAuthorizationsResponse -> ListVPCAssociationAuthorizationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListVPCAssociationAuthorizationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListVPCAssociationAuthorizationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListVPCAssociationAuthorizationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListVPCAssociationAuthorizationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizationsResponse -> m ListVPCAssociationAuthorizationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizationsResponse -> m ListVPCAssociationAuthorizationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListVPCAssociationAuthorizationsResponse -> m ListVPCAssociationAuthorizationsResponse #

Read ListVPCAssociationAuthorizationsResponse # 
Show ListVPCAssociationAuthorizationsResponse # 
Generic ListVPCAssociationAuthorizationsResponse # 
NFData ListVPCAssociationAuthorizationsResponse # 
type Rep ListVPCAssociationAuthorizationsResponse # 
type Rep ListVPCAssociationAuthorizationsResponse = D1 (MetaData "ListVPCAssociationAuthorizationsResponse" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" False) (C1 (MetaCons "ListVPCAssociationAuthorizationsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lvaarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "_lvaarsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)) (S1 (MetaSel (Just Symbol "_lvaarsVPCs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 VPC))))))

Response Lenses

lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (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: 2013-04-01hostedzone/hosted zone ID authorizevpcassociation?MaxItems=VPCs per page &NextToken=/

lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId #

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

lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC) #

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