amazonka-account-2.0: Amazon Account 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.Account.Types.ContactInformation

Description

 
Synopsis

Documentation

data ContactInformation Source #

Contains the details of the primary contact information associated with an Amazon Web Services account.

See: newContactInformation smart constructor.

Constructors

ContactInformation' 

Fields

Instances

Instances details
FromJSON ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

ToJSON ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Generic ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Associated Types

type Rep ContactInformation :: Type -> Type #

Show ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

NFData ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Methods

rnf :: ContactInformation -> () #

Eq ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Hashable ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

type Rep ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

type Rep ContactInformation = D1 ('MetaData "ContactInformation" "Amazonka.Account.Types.ContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "ContactInformation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addressLine2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "addressLine3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "companyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "districtOrCounty") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "stateOrRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "websiteUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: ((S1 ('MetaSel ('Just "addressLine1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "city") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "countryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "fullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "postalCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))))

newContactInformation Source #

Create a value of ContactInformation 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:ContactInformation', contactInformation_addressLine2 - The second line of the primary contact address, if any.

$sel:addressLine3:ContactInformation', contactInformation_addressLine3 - The third line of the primary contact address, if any.

$sel:companyName:ContactInformation', contactInformation_companyName - The name of the company associated with the primary contact information, if any.

$sel:districtOrCounty:ContactInformation', contactInformation_districtOrCounty - The district or county of the primary contact address, if any.

$sel:stateOrRegion:ContactInformation', contactInformation_stateOrRegion - The state or region of the primary contact address. This field is required in selected countries.

$sel:websiteUrl:ContactInformation', contactInformation_websiteUrl - The URL of the website associated with the primary contact information, if any.

$sel:addressLine1:ContactInformation', contactInformation_addressLine1 - The first line of the primary contact address.

$sel:city:ContactInformation', contactInformation_city - The city of the primary contact address.

$sel:countryCode:ContactInformation', contactInformation_countryCode - The ISO-3166 two-letter country code for the primary contact address.

$sel:fullName:ContactInformation', contactInformation_fullName - The full name of the primary contact address.

$sel:phoneNumber:ContactInformation', contactInformation_phoneNumber - The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

$sel:postalCode:ContactInformation', contactInformation_postalCode - The postal code of the primary contact address.

contactInformation_addressLine2 :: Lens' ContactInformation (Maybe Text) Source #

The second line of the primary contact address, if any.

contactInformation_addressLine3 :: Lens' ContactInformation (Maybe Text) Source #

The third line of the primary contact address, if any.

contactInformation_companyName :: Lens' ContactInformation (Maybe Text) Source #

The name of the company associated with the primary contact information, if any.

contactInformation_districtOrCounty :: Lens' ContactInformation (Maybe Text) Source #

The district or county of the primary contact address, if any.

contactInformation_stateOrRegion :: Lens' ContactInformation (Maybe Text) Source #

The state or region of the primary contact address. This field is required in selected countries.

contactInformation_websiteUrl :: Lens' ContactInformation (Maybe Text) Source #

The URL of the website associated with the primary contact information, if any.

contactInformation_addressLine1 :: Lens' ContactInformation Text Source #

The first line of the primary contact address.

contactInformation_city :: Lens' ContactInformation Text Source #

The city of the primary contact address.

contactInformation_countryCode :: Lens' ContactInformation Text Source #

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

contactInformation_fullName :: Lens' ContactInformation Text Source #

The full name of the primary contact address.

contactInformation_phoneNumber :: Lens' ContactInformation Text Source #

The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

contactInformation_postalCode :: Lens' ContactInformation Text Source #

The postal code of the primary contact address.