AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociatePhoneNumbersWithVoiceConnectorRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  voice_connector_id: "NonEmptyString", # required
  e164_phone_numbers: ["E164PhoneNumber"], # required
  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>)

    List of phone numbers, in E.164 format.

#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)

    If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations.

#voice_connector_idString

The Amazon Chime Voice Connector ID.

Returns:

  • (String)

    The Amazon Chime Voice Connector ID.