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

Class: Aws::Chime::Types::UpdatePhoneNumberRequestItem

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

Overview

Note:

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

{
  phone_number_id: "NonEmptyString", # required
  product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
}

The phone number ID and product type fields to update, used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.

Instance Attribute Summary collapse

Instance Attribute Details

#phone_number_idString

The phone number ID to update.

Returns:

  • (String)


2712
2713
2714
2715
2716
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2712

class UpdatePhoneNumberRequestItem < Struct.new(
  :phone_number_id,
  :product_type)
  include Aws::Structure
end

#product_typeString

The product type to update.

Returns:

  • (String)


2712
2713
2714
2715
2716
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2712

class UpdatePhoneNumberRequestItem < Struct.new(
  :phone_number_id,
  :product_type)
  include Aws::Structure
end