Class: Aws::Connect::Types::ListPhoneNumbersV2Request

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. If both TargetArn and InstanceId are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as the request.

Returns:

  • (String)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return per page.

Returns:

  • (Integer)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Returns:

  • (String)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_country_codesArray<String>

The ISO country code.

Returns:

  • (Array<String>)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_prefixString

The prefix of the phone number. If provided, it must contain + as part of the country code.

Returns:

  • (String)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_typesArray<String>

The type of phone number.

Returns:

  • (Array<String>)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#target_arnString

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. If both TargetArn and InstanceId input are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.

Returns:

  • (String)


12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 12183

class ListPhoneNumbersV2Request < Struct.new(
  :target_arn,
  :instance_id,
  :max_results,
  :next_token,
  :phone_number_country_codes,
  :phone_number_types,
  :phone_number_prefix)
  SENSITIVE = []
  include Aws::Structure
end