amazonka-directconnect-2.0: Amazon Direct Connect SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Description

Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDirectConnectGatewayAttachments Source #

Constructors

DescribeDirectConnectGatewayAttachments' 

Fields

  • directConnectGatewayId :: Maybe Text

    The ID of the Direct Connect gateway.

  • maxResults :: Maybe Int

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

    If MaxResults is given a value larger than 100, only 100 results are returned.

  • nextToken :: Maybe Text

    The token provided in the previous call to retrieve the next page.

  • virtualInterfaceId :: Maybe Text

    The ID of the virtual interface.

Instances

Instances details
ToJSON DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

ToHeaders DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

ToPath DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

ToQuery DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

AWSPager DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

AWSRequest DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Generic DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Read DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Show DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

NFData DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Eq DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Hashable DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type AWSResponse DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type Rep DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type Rep DescribeDirectConnectGatewayAttachments = D1 ('MetaData "DescribeDirectConnectGatewayAttachments" "Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAttachments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "directConnectGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "virtualInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments Source #

Create a value of DescribeDirectConnectGatewayAttachments with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeDirectConnectGatewayAttachments, describeDirectConnectGatewayAttachments_directConnectGatewayId - The ID of the Direct Connect gateway.

$sel:maxResults:DescribeDirectConnectGatewayAttachments', describeDirectConnectGatewayAttachments_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If MaxResults is given a value larger than 100, only 100 results are returned.

DescribeDirectConnectGatewayAttachments, describeDirectConnectGatewayAttachments_nextToken - The token provided in the previous call to retrieve the next page.

DescribeDirectConnectGatewayAttachments, describeDirectConnectGatewayAttachments_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

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

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If MaxResults is given a value larger than 100, only 100 results are returned.

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

The token provided in the previous call to retrieve the next page.

Destructuring the Response

data DescribeDirectConnectGatewayAttachmentsResponse Source #

Constructors

DescribeDirectConnectGatewayAttachmentsResponse' 

Fields

Instances

Instances details
Generic DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Read DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Show DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

NFData DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Eq DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type Rep DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type Rep DescribeDirectConnectGatewayAttachmentsResponse = D1 ('MetaData "DescribeDirectConnectGatewayAttachmentsResponse" "Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAttachmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directConnectGatewayAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DirectConnectGatewayAttachment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses