amazonka-outposts-2.0: Amazon Outposts 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.Outposts.Types.Address

Description

 
Synopsis

Documentation

data Address Source #

Information about an address.

See: newAddress smart constructor.

Constructors

Address' 

Fields

Instances

Instances details
FromJSON Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

ToJSON Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

Read Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

NFData Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Methods

rnf :: Address -> () #

Eq Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Hashable Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

type Rep Address Source # 
Instance details

Defined in Amazonka.Outposts.Types.Address

newAddress Source #

Create a value of Address 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:addressLine2:Address', address_addressLine2 - The second line of the address.

$sel:addressLine3:Address', address_addressLine3 - The third line of the address.

$sel:contactName:Address', address_contactName - The name of the contact.

$sel:contactPhoneNumber:Address', address_contactPhoneNumber - The phone number of the contact.

$sel:districtOrCounty:Address', address_districtOrCounty - The district or county for the address.

$sel:municipality:Address', address_municipality - The municipality for the address.

$sel:addressLine1:Address', address_addressLine1 - The first line of the address.

$sel:city:Address', address_city - The city for the address.

$sel:stateOrRegion:Address', address_stateOrRegion - The state for the address.

$sel:postalCode:Address', address_postalCode - The postal code for the address.

$sel:countryCode:Address', address_countryCode - The ISO-3166 two-letter country code for the address.

address_addressLine2 :: Lens' Address (Maybe Text) Source #

The second line of the address.

address_addressLine3 :: Lens' Address (Maybe Text) Source #

The third line of the address.

address_contactName :: Lens' Address (Maybe Text) Source #

The name of the contact.

address_contactPhoneNumber :: Lens' Address (Maybe Text) Source #

The phone number of the contact.

address_districtOrCounty :: Lens' Address (Maybe Text) Source #

The district or county for the address.

address_municipality :: Lens' Address (Maybe Text) Source #

The municipality for the address.

address_addressLine1 :: Lens' Address Text Source #

The first line of the address.

address_city :: Lens' Address Text Source #

The city for the address.

address_stateOrRegion :: Lens' Address Text Source #

The state for the address.

address_postalCode :: Lens' Address Text Source #

The postal code for the address.

address_countryCode :: Lens' Address Text Source #

The ISO-3166 two-letter country code for the address.