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

Class: Aws::Chime::Types::SearchAvailablePhoneNumbersRequest

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

Overview

Note:

When making an API call, you may pass SearchAvailablePhoneNumbersRequest data as a hash:

{
  area_code: "String",
  city: "String",
  country: "String",
  state: "String",
  toll_free_prefix: "TollFreePrefix",
  max_results: 1,
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#area_codeString

The area code used to filter results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#cityString

The city used to filter results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#countryString

The country used to filter results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#max_resultsInteger

The maximum number of results to return in a single call.

Returns:

  • (Integer)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#next_tokenString

The token to use to retrieve the next page of results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#stateString

The state used to filter results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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

#toll_free_prefixString

The toll-free prefix that you use to filter results.

Returns:

  • (String)


2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 2775

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