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

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. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

  • (String)


11776
11777
11778
11779
11780
11781
11782
11783
11784
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 11776

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)


11776
11777
11778
11779
11780
11781
11782
11783
11784
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 11776

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)


11776
11777
11778
11779
11780
11781
11782
11783
11784
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 11776

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


11776
11777
11778
11779
11780
11781
11782
11783
11784
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 11776

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.

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.

Returns:

  • (Array<String>)


11776
11777
11778
11779
11780
11781
11782
11783
11784
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 11776

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