amazonka-customer-profiles-2.0: Amazon Connect Customer Profiles 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.CustomerProfiles.Types.Address

Description

 
Synopsis

Documentation

data Address Source #

A generic address associated with the customer that is not mailing, shipping, or billing.

See: newAddress smart constructor.

Constructors

Address' 

Fields

Instances

Instances details
FromJSON Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

ToJSON Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.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.CustomerProfiles.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

NFData Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

rnf :: Address -> () #

Eq Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

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

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

Hashable Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

type Rep Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

newAddress :: Address 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:address1:Address', address_address1 - The first line of a customer address.

$sel:address2:Address', address_address2 - The second line of a customer address.

$sel:address3:Address', address_address3 - The third line of a customer address.

$sel:address4:Address', address_address4 - The fourth line of a customer address.

$sel:city:Address', address_city - The city in which a customer lives.

$sel:country:Address', address_country - The country in which a customer lives.

$sel:county:Address', address_county - The county in which a customer lives.

$sel:postalCode:Address', address_postalCode - The postal code of a customer address.

$sel:province:Address', address_province - The province in which a customer lives.

$sel:state:Address', address_state - The state in which a customer lives.

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

The first line of a customer address.

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

The second line of a customer address.

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

The third line of a customer address.

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

The fourth line of a customer address.

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

The city in which a customer lives.

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

The country in which a customer lives.

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

The county in which a customer lives.

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

The postal code of a customer address.

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

The province in which a customer lives.

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

The state in which a customer lives.