You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AlexaForBusiness::Types::CreateContactRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AlexaForBusiness::Types::CreateContactRequest
- Defined in:
- (unknown)
Overview
When passing CreateContactRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
display_name: "ContactName",
first_name: "ContactName", # required
last_name: "ContactName",
phone_number: "RawPhoneNumber",
phone_numbers: [
{
number: "RawPhoneNumber", # required
type: "MOBILE", # required, accepts MOBILE, WORK, HOME
},
],
sip_addresses: [
{
uri: "SipUri", # required
type: "WORK", # required, accepts WORK
},
],
client_request_token: "ClientRequestToken",
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, user-specified identifier for this request that ensures idempotency.
-
#display_name ⇒ String
The name of the contact to display on the console.
-
#first_name ⇒ String
The first name of the contact that is used to call the contact on the device.
-
#last_name ⇒ String
The last name of the contact that is used to call the contact on the device.
-
#phone_number ⇒ String
The phone number of the contact in E.164 format.
-
#phone_numbers ⇒ Array<Types::PhoneNumber>
The list of phone numbers for the contact.
-
#sip_addresses ⇒ Array<Types::SipAddress>
The list of SIP addresses for the contact.
Instance Attribute Details
#client_request_token ⇒ String
A unique, user-specified identifier for this request that ensures idempotency.
#display_name ⇒ String
The name of the contact to display on the console.
#first_name ⇒ String
The first name of the contact that is used to call the contact on the device.
#last_name ⇒ String
The last name of the contact that is used to call the contact on the device.
#phone_number ⇒ String
The phone number of the contact in E.164 format. 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.
#phone_numbers ⇒ Array<Types::PhoneNumber>
The list of phone numbers for the contact.
#sip_addresses ⇒ Array<Types::SipAddress>
The list of SIP addresses for the contact.