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.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
Eq DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Read DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Show DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Generic DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type Rep DescribeLocations :: Type -> Type #

NFData DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Methods

rnf :: DescribeLocations -> () #

Hashable DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

ToJSON DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

AWSRequest DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type AWSResponse 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

type Rep DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

type Rep DescribeLocations = D1 ('MetaData "DescribeLocations" "Amazonka.DirectConnect.DescribeLocations" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeLocations'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeLocations Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

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
Eq DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Read DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Show DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Generic DescribeLocationsResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DescribeLocations

Associated Types

type Rep DescribeLocationsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" '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