libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.ResourceLocation

Description

 
Synopsis

Documentation

data ResourceLocation Source #

Describes the resource location.

See: newResourceLocation smart constructor.

Constructors

ResourceLocation' 

Fields

Instances

Instances details
Eq ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

Read ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

Show ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

Generic ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

Associated Types

type Rep ResourceLocation :: Type -> Type #

NFData ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

Methods

rnf :: ResourceLocation -> () #

Hashable ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

FromJSON ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

type Rep ResourceLocation Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ResourceLocation

type Rep ResourceLocation = D1 ('MetaData "ResourceLocation" "Amazonka.Lightsail.Types.ResourceLocation" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "ResourceLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegionName)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResourceLocation :: ResourceLocation Source #

Create a value of ResourceLocation 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:regionName:ResourceLocation', resourceLocation_regionName - The AWS Region name.

$sel:availabilityZone:ResourceLocation', resourceLocation_availabilityZone - The Availability Zone. Follows the format us-east-2a (case-sensitive).

resourceLocation_availabilityZone :: Lens' ResourceLocation (Maybe Text) Source #

The Availability Zone. Follows the format us-east-2a (case-sensitive).