Class: Aws::Chime::Types::AssociatePhoneNumbersWithVoiceConnectorRequest

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 AssociatePhoneNumbersWithVoiceConnectorRequest data as a hash:

{
  voice_connector_id: "NonEmptyString", # required
  e164_phone_numbers: ["E164PhoneNumber"],
  force_associate: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#e164_phone_numbersArray<String>

List of phone numbers, in E.164 format.

Returns:

  • (Array<String>)


256
257
258
259
260
261
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 256

class AssociatePhoneNumbersWithVoiceConnectorRequest < Struct.new(
  :voice_connector_id,
  :e164_phone_numbers,
  :force_associate)
  include Aws::Structure
end

#force_associateBoolean

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

Returns:

  • (Boolean)


256
257
258
259
260
261
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 256

class AssociatePhoneNumbersWithVoiceConnectorRequest < Struct.new(
  :voice_connector_id,
  :e164_phone_numbers,
  :force_associate)
  include Aws::Structure
end

#voice_connector_idString

The Amazon Chime Voice Connector ID.

Returns:

  • (String)


256
257
258
259
260
261
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 256

class AssociatePhoneNumbersWithVoiceConnectorRequest < Struct.new(
  :voice_connector_id,
  :e164_phone_numbers,
  :force_associate)
  include Aws::Structure
end