Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Contact = Contact' {
- contactArn :: Maybe Text
- displayName :: Maybe Text
- firstName :: Maybe Text
- lastName :: Maybe Text
- phoneNumber :: Maybe (Sensitive Text)
- phoneNumbers :: Maybe [PhoneNumber]
- sipAddresses :: Maybe [SipAddress]
- newContact :: Contact
- contact_contactArn :: Lens' Contact (Maybe Text)
- contact_displayName :: Lens' Contact (Maybe Text)
- contact_firstName :: Lens' Contact (Maybe Text)
- contact_lastName :: Lens' Contact (Maybe Text)
- contact_phoneNumber :: Lens' Contact (Maybe Text)
- contact_phoneNumbers :: Lens' Contact (Maybe [PhoneNumber])
- contact_sipAddresses :: Lens' Contact (Maybe [SipAddress])
Documentation
A contact with attributes.
See: newContact
smart constructor.
Contact' | |
|
Instances
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_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.