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

Description

Lists the Direct Connect locations in the current Amazon Web Services Region. These are the locations that can be selected when calling CreateConnection or CreateInterconnect.

Synopsis

Creating a Request

data DescribeLocations Source #

See: newDescribeLocations smart constructor.

Constructors

DescribeLocations' 

Instances

Instances details
ToJSON DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

ToHeaders DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

ToPath DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

ToQuery DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

AWSRequest DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type AWSResponse DescribeLocations #

Generic DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type Rep DescribeLocations :: Type -> Type #

Read DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Show DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

NFData DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Methods

rnf :: DescribeLocations -> () #

Eq DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Hashable DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type AWSResponse DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type Rep DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type Rep DescribeLocations = D1 ('MetaData "DescribeLocations" "Amazonka.DirectConnect.DescribeLocations" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DescribeLocations'" 'PrefixI 'False) (U1 :: Type -> Type))

newDescribeLocations :: DescribeLocations Source #

Create a value of DescribeLocations with all optional fields omitted.

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

Destructuring the Response

data DescribeLocationsResponse Source #

See: newDescribeLocationsResponse smart constructor.

Constructors

DescribeLocationsResponse' 

Fields

Instances

Instances details
Generic DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type Rep DescribeLocationsResponse :: Type -> Type #

Read DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Show DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

NFData DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Eq DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type Rep DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type Rep DescribeLocationsResponse = D1 ('MetaData "DescribeLocationsResponse" "Amazonka.DirectConnect.DescribeLocations" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "DescribeLocationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Location])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeLocationsResponse Source #

Create a value of DescribeLocationsResponse 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:locations:DescribeLocationsResponse', describeLocationsResponse_locations - The locations.

$sel:httpStatus:DescribeLocationsResponse', describeLocationsResponse_httpStatus - The response's http status code.

Response Lenses