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"], # required
  force_associate: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#e164_phone_numbersArray<String>

List of phone numbers, in E.164 format.

Returns:

  • (Array<String>)


495
496
497
498
499
500
501
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 495

class AssociatePhoneNumbersWithVoiceConnectorRequest < Struct.new(
  :voice_connector_id,
  :e164_phone_numbers,
  :force_associate)
  SENSITIVE = []
  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)


495
496
497
498
499
500
501
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 495

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

#voice_connector_idString

The Amazon Chime Voice Connector ID.

Returns:

  • (String)


495
496
497
498
499
500
501
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 495

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