amazonka-route53-1.5.0: Amazon Route 53 SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

The response includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone.

Synopsis

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

Instances

Eq ListVPCAssociationAuthorizations Source # 
Data ListVPCAssociationAuthorizations Source # 

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 Source # 
Show ListVPCAssociationAuthorizations Source # 
Generic ListVPCAssociationAuthorizations Source # 
Hashable ListVPCAssociationAuthorizations Source # 
NFData ListVPCAssociationAuthorizations Source # 
AWSRequest ListVPCAssociationAuthorizations Source # 
ToQuery ListVPCAssociationAuthorizations Source # 
ToPath ListVPCAssociationAuthorizations Source # 
ToHeaders ListVPCAssociationAuthorizations Source # 
type Rep ListVPCAssociationAuthorizations Source # 
type Rep ListVPCAssociationAuthorizations = D1 (MetaData "ListVPCAssociationAuthorizations" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" 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 Source # 

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

Instances

Eq ListVPCAssociationAuthorizationsResponse Source # 
Data ListVPCAssociationAuthorizationsResponse Source # 

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 Source # 
Show ListVPCAssociationAuthorizationsResponse Source # 
Generic ListVPCAssociationAuthorizationsResponse Source # 
NFData ListVPCAssociationAuthorizationsResponse Source # 
type Rep ListVPCAssociationAuthorizationsResponse Source # 
type Rep ListVPCAssociationAuthorizationsResponse = D1 (MetaData "ListVPCAssociationAuthorizationsResponse" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "ListVPCAssociationAuthorizationsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lvaarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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) 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.

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.