Class: Aws::AlexaForBusiness::Types::UpdateContactRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AlexaForBusiness::Types::UpdateContactRequest
- Defined in:
- gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb
Overview
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
-
#contact_arn ⇒ String
The ARN of the contact to update.
-
#display_name ⇒ String
The updated display name of the contact.
-
#first_name ⇒ String
The updated first name of the contact.
-
#last_name ⇒ String
The updated last name of the contact.
-
#phone_number ⇒ String
The updated phone number of the contact.
-
#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
#contact_arn ⇒ String
The ARN of the contact to update.
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_name ⇒ String
The updated display name of the contact.
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_name ⇒ String
The updated first name of the contact.
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_name ⇒ String
The updated last name of the contact.
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_number ⇒ String
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.
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_numbers ⇒ Array<Types::PhoneNumber>
The list of phone numbers for the contact.
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_addresses ⇒ Array<Types::SipAddress>
The list of SIP addresses for the contact.
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 |