amazonka-alexa-business-2.0: Amazon Alexa For Business 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.AlexaBusiness.Types.ContactData

Description

 
Synopsis

Documentation

data ContactData Source #

Information related to a contact.

See: newContactData smart constructor.

Constructors

ContactData' 

Fields

Instances

Instances details
FromJSON ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Generic ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Associated Types

type Rep ContactData :: Type -> Type #

Show ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

NFData ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Methods

rnf :: ContactData -> () #

Eq ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Hashable ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

type Rep ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

type Rep ContactData = D1 ('MetaData "ContactData" "Amazonka.AlexaBusiness.Types.ContactData" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "ContactData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumber])) :*: S1 ('MetaSel ('Just "sipAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SipAddress]))))))

newContactData :: ContactData Source #

Create a value of ContactData 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:contactArn:ContactData', contactData_contactArn - The ARN of the contact.

$sel:displayName:ContactData', contactData_displayName - The name of the contact to display on the console.

$sel:firstName:ContactData', contactData_firstName - The first name of the contact, used to call the contact on the device.

$sel:lastName:ContactData', contactData_lastName - The last name of the contact, used to call the contact on the device.

$sel:phoneNumber:ContactData', contactData_phoneNumber - The phone number of the contact. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

$sel:phoneNumbers:ContactData', contactData_phoneNumbers - The list of phone numbers for the contact.

$sel:sipAddresses:ContactData', contactData_sipAddresses - The list of SIP addresses for the contact.

contactData_displayName :: Lens' ContactData (Maybe Text) Source #

The name of the contact to display on the console.

contactData_firstName :: Lens' ContactData (Maybe Text) Source #

The first name of the contact, used to call the contact on the device.

contactData_lastName :: Lens' ContactData (Maybe Text) Source #

The last name of the contact, used to call the contact on the device.

contactData_phoneNumber :: Lens' ContactData (Maybe Text) Source #

The phone number of the contact. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

contactData_phoneNumbers :: Lens' ContactData (Maybe [PhoneNumber]) Source #

The list of phone numbers for the contact.

contactData_sipAddresses :: Lens' ContactData (Maybe [SipAddress]) Source #

The list of SIP addresses for the contact.