amazonka-directconnect-1.6.1: Amazon Direct Connect 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.DirectConnect.DescribeDirectConnectGatewayAssociations

Contents

Description

Returns a list of all direct connect gateway and virtual private gateway (VGW) associations. Either a direct connect gateway ID or a VGW ID must be provided in the request. If a direct connect gateway ID is provided, the response returns all VGWs associated with the direct connect gateway. If a VGW ID is provided, the response returns all direct connect gateways associated with the VGW. If both are provided, the response only returns the association that matches both the direct connect gateway and the VGW.

Synopsis

Creating a Request

describeDirectConnectGatewayAssociations :: DescribeDirectConnectGatewayAssociations Source #

Creates a value of DescribeDirectConnectGatewayAssociations with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ddcgaVirtualGatewayId - The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None
  • ddcgaDirectConnectGatewayId - The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
  • ddcgaNextToken - The token provided in the previous describe result to retrieve the next page of the result. Default: None
  • ddcgaMaxResults - The maximum number of direct connect gateway associations to return per page. Example: 15 Default: None

data DescribeDirectConnectGatewayAssociations Source #

Container for the parameters to the DescribeDirectConnectGatewayAssociations operation.

See: describeDirectConnectGatewayAssociations smart constructor.

Instances
Eq DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Data DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Methods

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

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

toConstr :: DescribeDirectConnectGatewayAssociations -> Constr #

dataTypeOf :: DescribeDirectConnectGatewayAssociations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Show DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Generic DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Hashable DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

ToJSON DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

AWSRequest DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

ToHeaders DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

ToPath DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

ToQuery DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

NFData DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociations = D1 (MetaData "DescribeDirectConnectGatewayAssociations" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations" "amazonka-directconnect-1.6.1-Jjw4CKEcom3TDRFDWXGnu" False) (C1 (MetaCons "DescribeDirectConnectGatewayAssociations'" PrefixI True) ((S1 (MetaSel (Just "_ddcgaVirtualGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddcgaDirectConnectGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ddcgaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddcgaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Request Lenses

ddcgaVirtualGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #

The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None

ddcgaDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #

The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None

ddcgaNextToken :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #

The token provided in the previous describe result to retrieve the next page of the result. Default: None

ddcgaMaxResults :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Int) Source #

The maximum number of direct connect gateway associations to return per page. Example: 15 Default: None

Destructuring the Response

describeDirectConnectGatewayAssociationsResponse Source #

Creates a value of DescribeDirectConnectGatewayAssociationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeDirectConnectGatewayAssociationsResponse Source #

Container for the response from the DescribeDirectConnectGatewayAssociations API call

See: describeDirectConnectGatewayAssociationsResponse smart constructor.

Instances
Eq DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Data DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Methods

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

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

toConstr :: DescribeDirectConnectGatewayAssociationsResponse -> Constr #

dataTypeOf :: DescribeDirectConnectGatewayAssociationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Show DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

Generic DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

NFData DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociationsResponse = D1 (MetaData "DescribeDirectConnectGatewayAssociationsResponse" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations" "amazonka-directconnect-1.6.1-Jjw4CKEcom3TDRFDWXGnu" False) (C1 (MetaCons "DescribeDirectConnectGatewayAssociationsResponse'" PrefixI True) (S1 (MetaSel (Just "_ddcgarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ddcgarsDirectConnectGatewayAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DirectConnectGatewayAssociation])) :*: S1 (MetaSel (Just "_ddcgarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses