You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AlexaForBusiness::Types::UpdateContactRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb

Overview

Note:

When making an API call, you may pass UpdateContactRequest data as a hash:

{
  contact_arn: "Arn", # required
  display_name: "ContactName",
  first_name: "ContactName",
  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
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#contact_arnString

The ARN of the contact to update.

Returns:

  • (String)


5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#display_nameString

The updated display name of the contact.

Returns:

  • (String)


5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#first_nameString

The updated first name of the contact.

Returns:

  • (String)


5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#last_nameString

The updated last name of the contact.

Returns:

  • (String)


5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#phone_numberString

The updated 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.

Returns:

  • (String)


5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#phone_numbersArray<Types::PhoneNumber>

The list of phone numbers for the contact.

Returns:



5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end

#sip_addressesArray<Types::SipAddress>

The list of SIP addresses for the contact.

Returns:



5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 5422

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  include Aws::Structure
end