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

Contents

Description

Returns a list of all direct connect gateway and virtual interface (VIF) attachments. Either a direct connect gateway ID or a VIF ID must be provided in the request. If a direct connect gateway ID is provided, the response returns all VIFs attached to the direct connect gateway. If a VIF ID is provided, the response returns all direct connect gateways attached to the VIF. If both are provided, the response only returns the attachment that matches both the direct connect gateway and the VIF.

Synopsis

Creating a Request

describeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments Source #

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

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

  • ddcgasDirectConnectGatewayId - The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
  • ddcgasNextToken - The token provided in the previous describe result to retrieve the next page of the result. Default: None
  • ddcgasMaxResults - The maximum number of direct connect gateway attachments to return per page. Example: 15 Default: None
  • ddcgasVirtualInterfaceId - The ID of the virtual interface. Example: "dxvif-abc123ef" Default: None

data DescribeDirectConnectGatewayAttachments Source #

Container for the parameters to the DescribeDirectConnectGatewayAttachments operation.

See: describeDirectConnectGatewayAttachments smart constructor.

Instances

Eq DescribeDirectConnectGatewayAttachments Source # 
Data DescribeDirectConnectGatewayAttachments Source # 

Methods

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

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

toConstr :: DescribeDirectConnectGatewayAttachments -> Constr #

dataTypeOf :: DescribeDirectConnectGatewayAttachments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDirectConnectGatewayAttachments Source # 
Show DescribeDirectConnectGatewayAttachments Source # 
Generic DescribeDirectConnectGatewayAttachments Source # 
Hashable DescribeDirectConnectGatewayAttachments Source # 
ToJSON DescribeDirectConnectGatewayAttachments Source # 
NFData DescribeDirectConnectGatewayAttachments Source # 
AWSRequest DescribeDirectConnectGatewayAttachments Source # 
ToHeaders DescribeDirectConnectGatewayAttachments Source # 
ToPath DescribeDirectConnectGatewayAttachments Source # 
ToQuery DescribeDirectConnectGatewayAttachments Source # 
type Rep DescribeDirectConnectGatewayAttachments Source # 
type Rep DescribeDirectConnectGatewayAttachments = D1 * (MetaData "DescribeDirectConnectGatewayAttachments" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAttachments" "amazonka-directconnect-1.6.0-3Ds8OcMuONt5kWQC5zsRrM" False) (C1 * (MetaCons "DescribeDirectConnectGatewayAttachments'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgasDirectConnectGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ddcgasNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgasMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_ddcgasVirtualInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs DescribeDirectConnectGatewayAttachments Source # 

Request Lenses

ddcgasDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #

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

ddcgasNextToken :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #

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

ddcgasMaxResults :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Int) Source #

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

ddcgasVirtualInterfaceId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #

The ID of the virtual interface. Example: "dxvif-abc123ef" Default: None

Destructuring the Response

describeDirectConnectGatewayAttachmentsResponse Source #

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

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

data DescribeDirectConnectGatewayAttachmentsResponse Source #

Container for the response from the DescribeDirectConnectGatewayAttachments API call

See: describeDirectConnectGatewayAttachmentsResponse smart constructor.

Instances

Eq DescribeDirectConnectGatewayAttachmentsResponse Source # 
Data DescribeDirectConnectGatewayAttachmentsResponse Source # 

Methods

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

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

toConstr :: DescribeDirectConnectGatewayAttachmentsResponse -> Constr #

dataTypeOf :: DescribeDirectConnectGatewayAttachmentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDirectConnectGatewayAttachmentsResponse Source # 
Show DescribeDirectConnectGatewayAttachmentsResponse Source # 
Generic DescribeDirectConnectGatewayAttachmentsResponse Source # 
NFData DescribeDirectConnectGatewayAttachmentsResponse Source # 
type Rep DescribeDirectConnectGatewayAttachmentsResponse Source # 
type Rep DescribeDirectConnectGatewayAttachmentsResponse = D1 * (MetaData "DescribeDirectConnectGatewayAttachmentsResponse" "Network.AWS.DirectConnect.DescribeDirectConnectGatewayAttachments" "amazonka-directconnect-1.6.0-3Ds8OcMuONt5kWQC5zsRrM" False) (C1 * (MetaCons "DescribeDirectConnectGatewayAttachmentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgasrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddcgasrsDirectConnectGatewayAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DirectConnectGatewayAttachment]))) (S1 * (MetaSel (Just Symbol "_ddcgasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses