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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2021-02-01 of the Amazon Account SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

The operation failed because the calling identity doesn't have the minimum required permissions.

_InternalServerException :: AsError a => Fold a ServiceError Source #

The operation failed because of an error internal to Amazon Web Services. Try your operation again later.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The operation failed because it specified a resource that can't be found.

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

The operation failed because it was called too frequently and exceeded a throttle limit.

_ValidationException :: AsError a => Fold a ServiceError Source #

The operation failed because one of the input parameters was invalid.

AlternateContactType

newtype AlternateContactType Source #

Instances

Instances details
FromJSON AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromJSONKey AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToJSON AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToJSONKey AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToByteString AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToHeader AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToLog AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToQuery AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromText AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToText AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromXML AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToXML AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Generic AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Associated Types

type Rep AlternateContactType :: Type -> Type #

Read AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Show AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

NFData AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Methods

rnf :: AlternateContactType -> () #

Eq AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Ord AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Hashable AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

type Rep AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

type Rep AlternateContactType = D1 ('MetaData "AlternateContactType" "Amazonka.Account.Types.AlternateContactType" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'True) (C1 ('MetaCons "AlternateContactType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAlternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AlternateContact

data AlternateContact Source #

A structure that contains the details of an alternate contact associated with an Amazon Web Services account

See: newAlternateContact smart constructor.

Constructors

AlternateContact' 

Fields

Instances

Instances details
FromJSON AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Generic AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Associated Types

type Rep AlternateContact :: Type -> Type #

Show AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

NFData AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Methods

rnf :: AlternateContact -> () #

Eq AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Hashable AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

type Rep AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

type Rep AlternateContact = D1 ('MetaData "AlternateContact" "Amazonka.Account.Types.AlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "AlternateContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlternateContactType)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))))

newAlternateContact :: AlternateContact Source #

Create a value of AlternateContact 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:alternateContactType:AlternateContact', alternateContact_alternateContactType - The type of alternate contact.

$sel:emailAddress:AlternateContact', alternateContact_emailAddress - The email address associated with this alternate contact.

$sel:name:AlternateContact', alternateContact_name - The name associated with this alternate contact.

$sel:phoneNumber:AlternateContact', alternateContact_phoneNumber - The phone number associated with this alternate contact.

$sel:title:AlternateContact', alternateContact_title - The title associated with this alternate contact.

alternateContact_emailAddress :: Lens' AlternateContact (Maybe Text) Source #

The email address associated with this alternate contact.

alternateContact_name :: Lens' AlternateContact (Maybe Text) Source #

The name associated with this alternate contact.

alternateContact_phoneNumber :: Lens' AlternateContact (Maybe Text) Source #

The phone number associated with this alternate contact.

alternateContact_title :: Lens' AlternateContact (Maybe Text) Source #

The title associated with this alternate contact.

ContactInformation

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.