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

Description

Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. You must specify one of the following:

  • A Direct Connect gateway

    The response contains all virtual private gateways and transit gateways associated with the Direct Connect gateway.

  • A virtual private gateway

    The response contains the Direct Connect gateway.

  • A transit gateway

    The response contains the Direct Connect gateway.

  • A Direct Connect gateway and a virtual private gateway

    The response contains the association between the Direct Connect gateway and virtual private gateway.

  • A Direct Connect gateway and a transit gateway

    The response contains the association between the Direct Connect gateway and transit gateway.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDirectConnectGatewayAssociations Source #

Constructors

DescribeDirectConnectGatewayAssociations' 

Fields

Instances

Instances details
Eq DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Read DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Show DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Generic DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

NFData DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Hashable DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

ToJSON DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

AWSPager DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

AWSRequest DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

ToHeaders DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

ToPath DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

ToQuery DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociations = D1 ('MetaData "DescribeDirectConnectGatewayAssociations" "Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAssociations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "virtualGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associatedGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (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))))))
type AWSResponse DescribeDirectConnectGatewayAssociations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

newDescribeDirectConnectGatewayAssociations :: DescribeDirectConnectGatewayAssociations Source #

Create a value of DescribeDirectConnectGatewayAssociations 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:virtualGatewayId:DescribeDirectConnectGatewayAssociations', describeDirectConnectGatewayAssociations_virtualGatewayId - The ID of the virtual private gateway or transit gateway.

$sel:associationId:DescribeDirectConnectGatewayAssociations', describeDirectConnectGatewayAssociations_associationId - The ID of the Direct Connect gateway association.

$sel:associatedGatewayId:DescribeDirectConnectGatewayAssociations', describeDirectConnectGatewayAssociations_associatedGatewayId - The ID of the associated gateway.

$sel:directConnectGatewayId:DescribeDirectConnectGatewayAssociations', describeDirectConnectGatewayAssociations_directConnectGatewayId - The ID of the Direct Connect gateway.

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

$sel:maxResults:DescribeDirectConnectGatewayAssociations', describeDirectConnectGatewayAssociations_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.

Request Lenses

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

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

describeDirectConnectGatewayAssociations_maxResults :: Lens' DescribeDirectConnectGatewayAssociations (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 DescribeDirectConnectGatewayAssociationsResponse Source #

Constructors

DescribeDirectConnectGatewayAssociationsResponse' 

Fields

Instances

Instances details
Eq DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Read DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Show DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

Generic DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

NFData DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations

type Rep DescribeDirectConnectGatewayAssociationsResponse = D1 ('MetaData "DescribeDirectConnectGatewayAssociationsResponse" "Amazonka.DirectConnect.DescribeDirectConnectGatewayAssociations" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeDirectConnectGatewayAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "directConnectGatewayAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DirectConnectGatewayAssociation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses