amazonka-directconnect-1.6.0: 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 # 
Data DescribeDirectConnectGatewayAssociations Source # 

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 # 
Show DescribeDirectConnectGatewayAssociations Source # 
Generic DescribeDirectConnectGatewayAssociations Source # 
Hashable DescribeDirectConnectGatewayAssociations Source # 
ToJSON DescribeDirectConnectGatewayAssociations Source # 
NFData DescribeDirectConnectGatewayAssociations Source # 
AWSRequest DescribeDirectConnectGatewayAssociations Source # 
ToHeaders DescribeDirectConnectGatewayAssociations Source # 
ToPath DescribeDirectConnectGatewayAssociations Source # 
ToQuery DescribeDirectConnectGatewayAssociations Source # 
type Rep DescribeDirectConnectGatewayAssociations Source # 
type Rep DescribeDirectConnectGatewayAssociations = D1 * (MetaData "DescribeDirectConnectGatewayAssociations" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations" "amazonka-directconnect-1.6.0-3Ds8OcMuONt5kWQC5zsRrM" False) (C1 * (MetaCons "DescribeDirectConnectGatewayAssociations'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgaVirtualGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ddcgaDirectConnectGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ddcgaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))
type Rs DescribeDirectConnectGatewayAssociations Source # 

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 # 
Data DescribeDirectConnectGatewayAssociationsResponse Source # 

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 # 
Show DescribeDirectConnectGatewayAssociationsResponse Source # 
Generic DescribeDirectConnectGatewayAssociationsResponse Source # 
NFData DescribeDirectConnectGatewayAssociationsResponse Source # 
type Rep DescribeDirectConnectGatewayAssociationsResponse Source # 
type Rep DescribeDirectConnectGatewayAssociationsResponse = D1 * (MetaData "DescribeDirectConnectGatewayAssociationsResponse" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAssociations" "amazonka-directconnect-1.6.0-3Ds8OcMuONt5kWQC5zsRrM" False) (C1 * (MetaCons "DescribeDirectConnectGatewayAssociationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgarsDirectConnectGatewayAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DirectConnectGatewayAssociation]))) (S1 * (MetaSel (Just Symbol "_ddcgarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses