libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

  • nextToken :: Maybe Text

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

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

  • virtualInterfaceId :: Maybe Text

    The ID of the virtual interface.

Instances

Instances details
Eq 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

Generic DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

NFData DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

Hashable DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

ToJSON 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

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

type Rep DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

type Rep DescribeDirectConnectGatewayAttachments = D1 ('MetaData "DescribeDirectConnectGatewayAttachments" "Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAttachments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "directConnectGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "virtualInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeDirectConnectGatewayAttachments Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

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:

$sel:directConnectGatewayId:DescribeDirectConnectGatewayAttachments', describeDirectConnectGatewayAttachments_directConnectGatewayId - The ID of the Direct Connect gateway.

$sel:nextToken:DescribeDirectConnectGatewayAttachments', describeDirectConnectGatewayAttachments_nextToken - The token provided in the previous call to retrieve the next page.

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

$sel:virtualInterfaceId:DescribeDirectConnectGatewayAttachments', describeDirectConnectGatewayAttachments_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

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

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

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.

Destructuring the Response

data DescribeDirectConnectGatewayAttachmentsResponse Source #

Constructors

DescribeDirectConnectGatewayAttachmentsResponse' 

Fields

Instances

Instances details
Eq 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

Generic DescribeDirectConnectGatewayAttachmentsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAttachments

NFData 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" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAttachmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "directConnectGatewayAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DirectConnectGatewayAttachment])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses