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 ContactData = ContactData' {
- lastName :: Maybe Text
- contactArn :: Maybe Text
- phoneNumbers :: Maybe [PhoneNumber]
- phoneNumber :: Maybe (Sensitive Text)
- sipAddresses :: Maybe [SipAddress]
- firstName :: Maybe Text
- displayName :: Maybe Text
- newContactData :: ContactData
- contactData_lastName :: Lens' ContactData (Maybe Text)
- contactData_contactArn :: Lens' ContactData (Maybe Text)
- contactData_phoneNumbers :: Lens' ContactData (Maybe [PhoneNumber])
- contactData_phoneNumber :: Lens' ContactData (Maybe Text)
- contactData_sipAddresses :: Lens' ContactData (Maybe [SipAddress])
- contactData_firstName :: Lens' ContactData (Maybe Text)
- contactData_displayName :: Lens' ContactData (Maybe Text)
Documentation
data ContactData Source #
Information related to a contact.
See: newContactData
smart constructor.
ContactData' | |
|
Instances
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_contactArn :: Lens' ContactData (Maybe Text) Source #
The ARN of the contact.
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.