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.AlternateContact

Description

 
Synopsis

Documentation

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.