amazonka-route53-1.6.1: Amazon Route 53 SDK.

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Data ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.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 Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Show ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Generic ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Associated Types

type Rep ListVPCAssociationAuthorizations :: Type -> Type #

Hashable ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

AWSRequest ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Associated Types

type Rs ListVPCAssociationAuthorizations :: Type #

ToHeaders ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

ToPath ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

ToQuery ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

NFData ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizations = D1 (MetaData "ListVPCAssociationAuthorizations" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListVPCAssociationAuthorizations'" PrefixI True) (S1 (MetaSel (Just "_lvaaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lvaaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvaaHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId))))
type Rs ListVPCAssociationAuthorizations Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

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 # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Data ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

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 # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Show ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

Generic ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

NFData ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizationsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListVPCAssociationAuthorizations

type Rep ListVPCAssociationAuthorizationsResponse = D1 (MetaData "ListVPCAssociationAuthorizationsResponse" "Network.AWS.Route53.ListVPCAssociationAuthorizations" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListVPCAssociationAuthorizationsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lvaarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "_lvaarsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId) :*: S1 (MetaSel (Just "_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.