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

Description

 
Synopsis

Documentation

data Contact Source #

A contact with attributes.

See: newContact smart constructor.

Constructors

Contact' 

Fields

Instances

Instances details
FromJSON Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Generic Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Associated Types

type Rep Contact :: Type -> Type #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

Show Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

NFData Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

rnf :: Contact -> () #

Eq Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

(==) :: Contact -> Contact -> Bool #

(/=) :: Contact -> Contact -> Bool #

Hashable Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

hashWithSalt :: Int -> Contact -> Int #

hash :: Contact -> Int #

type Rep Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

newContact :: Contact Source #

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

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

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

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

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

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

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

contact_contactArn :: Lens' Contact (Maybe Text) Source #

The ARN of the contact.

contact_displayName :: Lens' Contact (Maybe Text) Source #

The name of the contact to display on the console.

contact_firstName :: Lens' Contact (Maybe Text) Source #

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

contact_lastName :: Lens' Contact (Maybe Text) Source #

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

contact_phoneNumber :: Lens' Contact (Maybe Text) Source #

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

contact_phoneNumbers :: Lens' Contact (Maybe [PhoneNumber]) Source #

The list of phone numbers for the contact.

contact_sipAddresses :: Lens' Contact (Maybe [SipAddress]) Source #

The list of SIP addresses for the contact.