libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Show 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 #

NFData ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

Methods

rnf :: ContactData -> () #

Hashable ContactData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.ContactData

FromJSON 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" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ContactData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumber])))) :*: ((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "sipAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SipAddress]))) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:lastName:ContactData', contactData_lastName - The last name of the contact, used to call the contact on the device.

$sel:contactArn:ContactData', contactData_contactArn - The ARN of the contact.

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

$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:sipAddresses:ContactData', contactData_sipAddresses - The list of SIP addresses for the contact.

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

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

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

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

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

The list of phone numbers for the contact.

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_sipAddresses :: Lens' ContactData (Maybe [SipAddress]) Source #

The list of SIP addresses for the contact.

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

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

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

The name of the contact to display on the console.