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

Description

Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDirectConnectGateways Source #

See: newDescribeDirectConnectGateways smart constructor.

Constructors

DescribeDirectConnectGateways' 

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.

Instances

Instances details
Eq DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Read DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Show DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Generic DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Associated Types

type Rep DescribeDirectConnectGateways :: Type -> Type #

NFData DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Hashable DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

ToJSON DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

AWSPager DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

AWSRequest DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

ToHeaders DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

ToPath DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

ToQuery DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

type Rep DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

type Rep DescribeDirectConnectGateways = D1 ('MetaData "DescribeDirectConnectGateways" "Amazonka.DirectConnect.DescribeDirectConnectGateways" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeDirectConnectGateways'" '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)))))
type AWSResponse DescribeDirectConnectGateways Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

newDescribeDirectConnectGateways :: DescribeDirectConnectGateways Source #

Create a value of DescribeDirectConnectGateways 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:DescribeDirectConnectGateways', describeDirectConnectGateways_directConnectGatewayId - The ID of the Direct Connect gateway.

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

$sel:maxResults:DescribeDirectConnectGateways', describeDirectConnectGateways_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

describeDirectConnectGateways_nextToken :: Lens' DescribeDirectConnectGateways (Maybe Text) Source #

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

describeDirectConnectGateways_maxResults :: Lens' DescribeDirectConnectGateways (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 DescribeDirectConnectGatewaysResponse Source #

Constructors

DescribeDirectConnectGatewaysResponse' 

Fields

Instances

Instances details
Eq DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Read DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Show DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

Generic DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

NFData DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

type Rep DescribeDirectConnectGatewaysResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeDirectConnectGateways

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

Response Lenses