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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#client_request_tokenString

A unique, user-specified identifier for this request that ensures idempotency.

Returns:

  • (String)

    A unique, user-specified identifier for this request that ensures idempotency.

#display_nameString

The name of the contact to display on the console.

Returns:

  • (String)

    The name of the contact to display on the console.

#first_nameString

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

Returns:

  • (String)

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

#last_nameString

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

Returns:

  • (String)

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

#phone_numberString

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.

Returns:

  • (String)

    The phone number of the contact in E.164 format.

#phone_numbersArray<Types::PhoneNumber>

The list of phone numbers for the contact.

Returns:

#sip_addressesArray<Types::SipAddress>

The list of SIP addresses for the contact.

Returns: