Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Contact = Contact' {
- lastName :: Maybe Text
- contactArn :: Maybe Text
- phoneNumbers :: Maybe [PhoneNumber]
- phoneNumber :: Maybe (Sensitive Text)
- sipAddresses :: Maybe [SipAddress]
- firstName :: Maybe Text
- displayName :: Maybe Text
- newContact :: Contact
- contact_lastName :: Lens' Contact (Maybe Text)
- contact_contactArn :: Lens' Contact (Maybe Text)
- contact_phoneNumbers :: Lens' Contact (Maybe [PhoneNumber])
- contact_phoneNumber :: Lens' Contact (Maybe Text)
- contact_sipAddresses :: Lens' Contact (Maybe [SipAddress])
- contact_firstName :: Lens' Contact (Maybe Text)
- contact_displayName :: Lens' Contact (Maybe Text)
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: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_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.