Class: Aws::Connect::Types::ListPhoneNumbersRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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. You can [find the instance ID] in the Amazon Resource Name (ARN) of the instance.

[1]: docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html

Returns:

  • (String)


13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/aws-sdk-connect/types.rb', line 13136

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

#max_resultsInteger

The maximum number of results to return per page. The default MaxResult size is 100.

Returns:

  • (Integer)


13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/aws-sdk-connect/types.rb', line 13136

class ListPhoneNumbersRequest < Struct.new(
  :instance_id,
  :phone_number_types,
  :phone_number_country_codes,
  :next_token,
  :max_results)
  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)


13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/aws-sdk-connect/types.rb', line 13136

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

#phone_number_country_codesArray<String>

The ISO country code.

Returns:

  • (Array<String>)


13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/aws-sdk-connect/types.rb', line 13136

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

#phone_number_typesArray<String>

The type of phone number.

<note markdown=“1”> We recommend using [ListPhoneNumbersV2] to return phone number types. While ListPhoneNumbers returns number types ‘UIFN`, `SHARED`, `THIRD_PARTY_TF`, and `THIRD_PARTY_DID`, it incorrectly lists them as `TOLL_FREE` or `DID`.

</note>

[1]: docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html

Returns:

  • (Array<String>)


13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/aws-sdk-connect/types.rb', line 13136

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