Class: Aws::ChimeSDKVoice::Types::SearchAvailablePhoneNumbersRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#area_codeString

Confines a search to just the phone numbers associated with the specified area code.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#cityString

Confines a search to just the phone numbers associated with the specified city.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#countryString

Confines a search to just the phone numbers associated with the specified country.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return.

Returns:

  • (Integer)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token used to return the next page of results.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_typeString

Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

Confines a search to just the phone numbers associated with the specified state.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#toll_free_prefixString

Confines a search to just the phone numbers associated with the specified toll-free prefix.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2937

class SearchAvailablePhoneNumbersRequest < Struct.new(
  :area_code,
  :city,
  :country,
  :state,
  :toll_free_prefix,
  :phone_number_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end