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
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[:phone_number]

Instance Attribute Summary collapse

Instance Attribute Details

#contact_arnString

The ARN of the contact to update.

Returns:

  • (String)


6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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

#display_nameString

The updated display name of the contact.

Returns:

  • (String)


6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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

#first_nameString

The updated first name of the contact.

Returns:

  • (String)


6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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

#last_nameString

The updated last name of the contact.

Returns:

  • (String)


6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

class UpdateContactRequest < Struct.new(
  :contact_arn,
  :display_name,
  :first_name,
  :last_name,
  :phone_number,
  :phone_numbers,
  :sip_addresses)
  SENSITIVE = [:phone_number]
  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)


6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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

#phone_numbersArray<Types::PhoneNumber>

The list of phone numbers for the contact.

Returns:



6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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

#sip_addressesArray<Types::SipAddress>

The list of SIP addresses for the contact.

Returns:



6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 6038

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