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

Description

 
Synopsis

Documentation

data Contact Source #

A contact with attributes.

See: newContact smart constructor.

Constructors

Contact' 

Fields

Instances

Instances details
Eq Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

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

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

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

NFData Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

rnf :: Contact -> () #

Hashable Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

Methods

hashWithSalt :: Int -> Contact -> Int #

hash :: Contact -> Int #

FromJSON Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

type Rep Contact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Contact

type Rep Contact = D1 ('MetaData "Contact" "Amazonka.AlexaBusiness.Types.Contact" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "Contact'" '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))))))

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

$sel:contactArn:Contact', contact_contactArn - The ARN of the contact.

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

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

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

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

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

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

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

The ARN of the contact.

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

The list of phone numbers for the contact.

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

The list of SIP addresses for the contact.

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

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

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

The name of the contact to display on the console.