aws-sdk-cloudsearch 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87b2e9fd3c785fa04230358d5c39150145067e9b
4
- data.tar.gz: e9cfce47f68628d217eab842b81ba95662875186
3
+ metadata.gz: 6a8206bac921a6f1ab6db877e631b62008ae943b
4
+ data.tar.gz: e8428058eec2144c8b2a52dfa9a7241f4fff1290
5
5
  SHA512:
6
- metadata.gz: 589b33de570bcc6329908d191d82c7c4c46e657fa27879b28ae3218e0a528d62723b647d9759d238b1ce83ea82dae286de3a281b32796ae699d1a0972c89661d
7
- data.tar.gz: e39257457e26ba175417fabe8784dc7a11b3a9b5ffda38841b4ef131afa7be38141bef89a0b629ebbd9a6069d71da1c0782ad4a5db09c4cb194cbb4fc9a3a97c
6
+ metadata.gz: de1873a055518a394068d6b8c7b477d8cd06b165ed3fa1745c1fd3287fecc448ad8312694e85c90ff11aea82019f9704b9fce7d07727167643972309b595bbfc
7
+ data.tar.gz: 53e83a9399f4c2fd8f0ada96bf12839f3a943e24258147ec04f7f4755df9ccb29f992e0935266cab5047db251131c56e6063630ff7cf9c9a1ea9e66c1a75293a
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudsearch/customizations'
42
42
  # @service
43
43
  module Aws::CloudSearch
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -18,1424 +18,1577 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/query.rb'
23
24
 
24
25
  Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearch)
25
26
 
26
- module Aws
27
- module CloudSearch
28
- class Client < Seahorse::Client::Base
27
+ module Aws::CloudSearch
28
+ class Client < Seahorse::Client::Base
29
29
 
30
- include Aws::ClientStubs
30
+ include Aws::ClientStubs
31
31
 
32
- @identifier = :cloudsearch
32
+ @identifier = :cloudsearch
33
33
 
34
- set_api(ClientApi::API)
34
+ set_api(ClientApi::API)
35
35
 
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::Query)
36
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
37
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
38
+ add_plugin(Aws::Plugins::Logging)
39
+ add_plugin(Aws::Plugins::ParamConverter)
40
+ add_plugin(Aws::Plugins::ParamValidator)
41
+ add_plugin(Aws::Plugins::UserAgent)
42
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
+ add_plugin(Aws::Plugins::RetryErrors)
44
+ add_plugin(Aws::Plugins::GlobalConfiguration)
45
+ add_plugin(Aws::Plugins::RegionalEndpoint)
46
+ add_plugin(Aws::Plugins::ResponsePaging)
47
+ add_plugin(Aws::Plugins::StubResponses)
48
+ add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
50
+ add_plugin(Aws::Plugins::SignatureV4)
51
+ add_plugin(Aws::Plugins::Protocols::Query)
51
52
 
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :stub_responses (false)
117
- # Causes the client to return stubbed responses. By default
118
- # fake responses are generated and returned. You can specify
119
- # the response data to return or errors to raise by calling
120
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
121
- #
122
- # ** Please note ** When response stubbing is enabled, no HTTP
123
- # requests are made, and retries are disabled.
124
- # @option options [Boolean] :validate_params (true)
125
- # When `true`, request parameters are validated before
126
- # sending the request.
127
- def initialize(*args)
128
- super
129
- end
130
-
131
- # @!group API Operations
53
+ # @option options [required, Aws::CredentialProvider] :credentials
54
+ # Your AWS credentials. This can be an instance of any one of the
55
+ # following classes:
56
+ #
57
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
58
+ # credentials.
59
+ #
60
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
61
+ # from an EC2 IMDS on an EC2 instance.
62
+ #
63
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
64
+ # shared file, such as `~/.aws/config`.
65
+ #
66
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
67
+ #
68
+ # When `:credentials` are not configured directly, the following
69
+ # locations will be searched for credentials:
70
+ #
71
+ # * `Aws.config[:credentials]`
72
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
73
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
74
+ # * `~/.aws/credentials`
75
+ # * `~/.aws/config`
76
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
77
+ # very aggressive. Construct and pass an instance of
78
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
79
+ # timeouts.
80
+ #
81
+ # @option options [required, String] :region
82
+ # The AWS region to connect to. The configured `:region` is
83
+ # used to determine the service `:endpoint`. When not passed,
84
+ # a default `:region` is search for in the following locations:
85
+ #
86
+ # * `Aws.config[:region]`
87
+ # * `ENV['AWS_REGION']`
88
+ # * `ENV['AMAZON_REGION']`
89
+ # * `ENV['AWS_DEFAULT_REGION']`
90
+ # * `~/.aws/credentials`
91
+ # * `~/.aws/config`
92
+ #
93
+ # @option options [String] :access_key_id
94
+ #
95
+ # @option options [Boolean] :convert_params (true)
96
+ # When `true`, an attempt is made to coerce request parameters into
97
+ # the required types.
98
+ #
99
+ # @option options [String] :endpoint
100
+ # The client endpoint is normally constructed from the `:region`
101
+ # option. You should only configure an `:endpoint` when connecting
102
+ # to test endpoints. This should be avalid HTTP(S) URI.
103
+ #
104
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
105
+ # The log formatter.
106
+ #
107
+ # @option options [Symbol] :log_level (:info)
108
+ # The log level to send messages to the `:logger` at.
109
+ #
110
+ # @option options [Logger] :logger
111
+ # The Logger instance to send log messages to. If this option
112
+ # is not set, logging will be disabled.
113
+ #
114
+ # @option options [String] :profile ("default")
115
+ # Used when loading credentials from the shared credentials file
116
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
117
+ #
118
+ # @option options [Integer] :retry_limit (3)
119
+ # The maximum number of times to retry failed requests. Only
120
+ # ~ 500 level server errors and certain ~ 400 level client errors
121
+ # are retried. Generally, these are throttling errors, data
122
+ # checksum errors, networking errors, timeout errors and auth
123
+ # errors from expired credentials.
124
+ #
125
+ # @option options [String] :secret_access_key
126
+ #
127
+ # @option options [String] :session_token
128
+ #
129
+ # @option options [Boolean] :stub_responses (false)
130
+ # Causes the client to return stubbed responses. By default
131
+ # fake responses are generated and returned. You can specify
132
+ # the response data to return or errors to raise by calling
133
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
134
+ #
135
+ # ** Please note ** When response stubbing is enabled, no HTTP
136
+ # requests are made, and retries are disabled.
137
+ #
138
+ # @option options [Boolean] :validate_params (true)
139
+ # When `true`, request parameters are validated before
140
+ # sending the request.
141
+ #
142
+ def initialize(*args)
143
+ super
144
+ end
132
145
 
133
- # Indexes the search suggestions. For more information, see [Configuring
134
- # Suggesters][1] in the *Amazon CloudSearch Developer Guide*.
135
- #
136
- #
137
- #
138
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html#configuring-suggesters
139
- # @option params [required, String] :domain_name
140
- # A string that represents the name of a domain. Domain names are unique
141
- # across the domains owned by an account within an AWS region. Domain
142
- # names start with a letter or number and can contain the following
143
- # characters: a-z (lowercase), 0-9, and - (hyphen).
144
- # @return [Types::BuildSuggestersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
145
- #
146
- # * {Types::BuildSuggestersResponse#field_names #FieldNames} => Array&lt;String&gt;
147
- #
148
- # @example Request syntax with placeholder values
149
- # resp = client.build_suggesters({
150
- # domain_name: "DomainName", # required
151
- # })
152
- #
153
- # @example Response structure
154
- # resp.field_names #=> Array
155
- # resp.field_names[0] #=> String
156
- # @overload build_suggesters(params = {})
157
- # @param [Hash] params ({})
158
- def build_suggesters(params = {}, options = {})
159
- req = build_request(:build_suggesters, params)
160
- req.send_request(options)
161
- end
146
+ # @!group API Operations
162
147
 
163
- # Creates a new search domain. For more information, see [Creating a
164
- # Search Domain][1] in the *Amazon CloudSearch Developer Guide*.
165
- #
166
- #
167
- #
168
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/creating-domains.html
169
- # @option params [required, String] :domain_name
170
- # A name for the domain you are creating. Allowed characters are a-z
171
- # (lower-case letters), 0-9, and hyphen (-). Domain names must start
172
- # with a letter or number and be at least 3 and no more than 28
173
- # characters long.
174
- # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
175
- #
176
- # * {Types::CreateDomainResponse#domain_status #DomainStatus} => Types::DomainStatus
177
- #
178
- # @example Request syntax with placeholder values
179
- # resp = client.create_domain({
180
- # domain_name: "DomainName", # required
181
- # })
182
- #
183
- # @example Response structure
184
- # resp.domain_status.domain_id #=> String
185
- # resp.domain_status.domain_name #=> String
186
- # resp.domain_status.arn #=> String
187
- # resp.domain_status.created #=> Boolean
188
- # resp.domain_status.deleted #=> Boolean
189
- # resp.domain_status.doc_service.endpoint #=> String
190
- # resp.domain_status.search_service.endpoint #=> String
191
- # resp.domain_status.requires_index_documents #=> Boolean
192
- # resp.domain_status.processing #=> Boolean
193
- # resp.domain_status.search_instance_type #=> String
194
- # resp.domain_status.search_partition_count #=> Integer
195
- # resp.domain_status.search_instance_count #=> Integer
196
- # resp.domain_status.limits.maximum_replication_count #=> Integer
197
- # resp.domain_status.limits.maximum_partition_count #=> Integer
198
- # @overload create_domain(params = {})
199
- # @param [Hash] params ({})
200
- def create_domain(params = {}, options = {})
201
- req = build_request(:create_domain, params)
202
- req.send_request(options)
203
- end
148
+ # Indexes the search suggestions. For more information, see [Configuring
149
+ # Suggesters][1] in the *Amazon CloudSearch Developer Guide*.
150
+ #
151
+ #
152
+ #
153
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html#configuring-suggesters
154
+ #
155
+ # @option params [required, String] :domain_name
156
+ # A string that represents the name of a domain. Domain names are unique
157
+ # across the domains owned by an account within an AWS region. Domain
158
+ # names start with a letter or number and can contain the following
159
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
160
+ #
161
+ # @return [Types::BuildSuggestersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
162
+ #
163
+ # * {Types::BuildSuggestersResponse#field_names #field_names} => Array&lt;String&gt;
164
+ #
165
+ # @example Request syntax with placeholder values
166
+ #
167
+ # resp = client.build_suggesters({
168
+ # domain_name: "DomainName", # required
169
+ # })
170
+ #
171
+ # @example Response structure
172
+ #
173
+ # resp.field_names #=> Array
174
+ # resp.field_names[0] #=> String
175
+ #
176
+ # @overload build_suggesters(params = {})
177
+ # @param [Hash] params ({})
178
+ def build_suggesters(params = {}, options = {})
179
+ req = build_request(:build_suggesters, params)
180
+ req.send_request(options)
181
+ end
204
182
 
205
- # Configures an analysis scheme that can be applied to a `text` or
206
- # `text-array` field to define language-specific text processing
207
- # options. For more information, see [Configuring Analysis Schemes][1]
208
- # in the *Amazon CloudSearch Developer Guide*.
209
- #
210
- #
211
- #
212
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
213
- # @option params [required, String] :domain_name
214
- # A string that represents the name of a domain. Domain names are unique
215
- # across the domains owned by an account within an AWS region. Domain
216
- # names start with a letter or number and can contain the following
217
- # characters: a-z (lowercase), 0-9, and - (hyphen).
218
- # @option params [required, Types::AnalysisScheme] :analysis_scheme
219
- # Configuration information for an analysis scheme. Each analysis scheme
220
- # has a unique name and specifies the language of the text to be
221
- # processed. The following options can be configured for an analysis
222
- # scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
223
- # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
224
- # @return [Types::DefineAnalysisSchemeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
225
- #
226
- # * {Types::DefineAnalysisSchemeResponse#analysis_scheme #AnalysisScheme} => Types::AnalysisSchemeStatus
227
- #
228
- # @example Request syntax with placeholder values
229
- # resp = client.define_analysis_scheme({
230
- # domain_name: "DomainName", # required
231
- # analysis_scheme: { # required
232
- # analysis_scheme_name: "StandardName", # required
233
- # analysis_scheme_language: "ar", # required, accepts ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
234
- # analysis_options: {
235
- # synonyms: "String",
236
- # stopwords: "String",
237
- # stemming_dictionary: "String",
238
- # japanese_tokenization_dictionary: "String",
239
- # algorithmic_stemming: "none", # accepts none, minimal, light, full
240
- # },
241
- # },
242
- # })
243
- #
244
- # @example Response structure
245
- # resp.analysis_scheme.options.analysis_scheme_name #=> String
246
- # resp.analysis_scheme.options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
247
- # resp.analysis_scheme.options.analysis_options.synonyms #=> String
248
- # resp.analysis_scheme.options.analysis_options.stopwords #=> String
249
- # resp.analysis_scheme.options.analysis_options.stemming_dictionary #=> String
250
- # resp.analysis_scheme.options.analysis_options.japanese_tokenization_dictionary #=> String
251
- # resp.analysis_scheme.options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
252
- # resp.analysis_scheme.status.creation_date #=> Time
253
- # resp.analysis_scheme.status.update_date #=> Time
254
- # resp.analysis_scheme.status.update_version #=> Integer
255
- # resp.analysis_scheme.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
256
- # resp.analysis_scheme.status.pending_deletion #=> Boolean
257
- # @overload define_analysis_scheme(params = {})
258
- # @param [Hash] params ({})
259
- def define_analysis_scheme(params = {}, options = {})
260
- req = build_request(:define_analysis_scheme, params)
261
- req.send_request(options)
262
- end
183
+ # Creates a new search domain. For more information, see [Creating a
184
+ # Search Domain][1] in the *Amazon CloudSearch Developer Guide*.
185
+ #
186
+ #
187
+ #
188
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/creating-domains.html
189
+ #
190
+ # @option params [required, String] :domain_name
191
+ # A name for the domain you are creating. Allowed characters are a-z
192
+ # (lower-case letters), 0-9, and hyphen (-). Domain names must start
193
+ # with a letter or number and be at least 3 and no more than 28
194
+ # characters long.
195
+ #
196
+ # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
197
+ #
198
+ # * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
199
+ #
200
+ # @example Request syntax with placeholder values
201
+ #
202
+ # resp = client.create_domain({
203
+ # domain_name: "DomainName", # required
204
+ # })
205
+ #
206
+ # @example Response structure
207
+ #
208
+ # resp.domain_status.domain_id #=> String
209
+ # resp.domain_status.domain_name #=> String
210
+ # resp.domain_status.arn #=> String
211
+ # resp.domain_status.created #=> Boolean
212
+ # resp.domain_status.deleted #=> Boolean
213
+ # resp.domain_status.doc_service.endpoint #=> String
214
+ # resp.domain_status.search_service.endpoint #=> String
215
+ # resp.domain_status.requires_index_documents #=> Boolean
216
+ # resp.domain_status.processing #=> Boolean
217
+ # resp.domain_status.search_instance_type #=> String
218
+ # resp.domain_status.search_partition_count #=> Integer
219
+ # resp.domain_status.search_instance_count #=> Integer
220
+ # resp.domain_status.limits.maximum_replication_count #=> Integer
221
+ # resp.domain_status.limits.maximum_partition_count #=> Integer
222
+ #
223
+ # @overload create_domain(params = {})
224
+ # @param [Hash] params ({})
225
+ def create_domain(params = {}, options = {})
226
+ req = build_request(:create_domain, params)
227
+ req.send_request(options)
228
+ end
263
229
 
264
- # Configures an `Expression` for the search domain. Used to create new
265
- # expressions and modify existing ones. If the expression exists, the
266
- # new configuration replaces the old one. For more information, see
267
- # [Configuring Expressions][1] in the *Amazon CloudSearch Developer
268
- # Guide*.
269
- #
270
- #
271
- #
272
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
273
- # @option params [required, String] :domain_name
274
- # A string that represents the name of a domain. Domain names are unique
275
- # across the domains owned by an account within an AWS region. Domain
276
- # names start with a letter or number and can contain the following
277
- # characters: a-z (lowercase), 0-9, and - (hyphen).
278
- # @option params [required, Types::Expression] :expression
279
- # A named expression that can be evaluated at search time. Can be used
280
- # to sort the search results, define other expressions, or return
281
- # computed information in the search results.
282
- # @return [Types::DefineExpressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
283
- #
284
- # * {Types::DefineExpressionResponse#expression #Expression} => Types::ExpressionStatus
285
- #
286
- # @example Request syntax with placeholder values
287
- # resp = client.define_expression({
288
- # domain_name: "DomainName", # required
289
- # expression: { # required
290
- # expression_name: "StandardName", # required
291
- # expression_value: "ExpressionValue", # required
292
- # },
293
- # })
294
- #
295
- # @example Response structure
296
- # resp.expression.options.expression_name #=> String
297
- # resp.expression.options.expression_value #=> String
298
- # resp.expression.status.creation_date #=> Time
299
- # resp.expression.status.update_date #=> Time
300
- # resp.expression.status.update_version #=> Integer
301
- # resp.expression.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
302
- # resp.expression.status.pending_deletion #=> Boolean
303
- # @overload define_expression(params = {})
304
- # @param [Hash] params ({})
305
- def define_expression(params = {}, options = {})
306
- req = build_request(:define_expression, params)
307
- req.send_request(options)
308
- end
230
+ # Configures an analysis scheme that can be applied to a `text` or
231
+ # `text-array` field to define language-specific text processing
232
+ # options. For more information, see [Configuring Analysis Schemes][1]
233
+ # in the *Amazon CloudSearch Developer Guide*.
234
+ #
235
+ #
236
+ #
237
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
238
+ #
239
+ # @option params [required, String] :domain_name
240
+ # A string that represents the name of a domain. Domain names are unique
241
+ # across the domains owned by an account within an AWS region. Domain
242
+ # names start with a letter or number and can contain the following
243
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
244
+ #
245
+ # @option params [required, Types::AnalysisScheme] :analysis_scheme
246
+ # Configuration information for an analysis scheme. Each analysis scheme
247
+ # has a unique name and specifies the language of the text to be
248
+ # processed. The following options can be configured for an analysis
249
+ # scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
250
+ # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
251
+ #
252
+ # @return [Types::DefineAnalysisSchemeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
253
+ #
254
+ # * {Types::DefineAnalysisSchemeResponse#analysis_scheme #analysis_scheme} => Types::AnalysisSchemeStatus
255
+ #
256
+ # @example Request syntax with placeholder values
257
+ #
258
+ # resp = client.define_analysis_scheme({
259
+ # domain_name: "DomainName", # required
260
+ # analysis_scheme: { # required
261
+ # analysis_scheme_name: "StandardName", # required
262
+ # analysis_scheme_language: "ar", # required, accepts ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
263
+ # analysis_options: {
264
+ # synonyms: "String",
265
+ # stopwords: "String",
266
+ # stemming_dictionary: "String",
267
+ # japanese_tokenization_dictionary: "String",
268
+ # algorithmic_stemming: "none", # accepts none, minimal, light, full
269
+ # },
270
+ # },
271
+ # })
272
+ #
273
+ # @example Response structure
274
+ #
275
+ # resp.analysis_scheme.options.analysis_scheme_name #=> String
276
+ # resp.analysis_scheme.options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
277
+ # resp.analysis_scheme.options.analysis_options.synonyms #=> String
278
+ # resp.analysis_scheme.options.analysis_options.stopwords #=> String
279
+ # resp.analysis_scheme.options.analysis_options.stemming_dictionary #=> String
280
+ # resp.analysis_scheme.options.analysis_options.japanese_tokenization_dictionary #=> String
281
+ # resp.analysis_scheme.options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
282
+ # resp.analysis_scheme.status.creation_date #=> Time
283
+ # resp.analysis_scheme.status.update_date #=> Time
284
+ # resp.analysis_scheme.status.update_version #=> Integer
285
+ # resp.analysis_scheme.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
286
+ # resp.analysis_scheme.status.pending_deletion #=> Boolean
287
+ #
288
+ # @overload define_analysis_scheme(params = {})
289
+ # @param [Hash] params ({})
290
+ def define_analysis_scheme(params = {}, options = {})
291
+ req = build_request(:define_analysis_scheme, params)
292
+ req.send_request(options)
293
+ end
309
294
 
310
- # Configures an `IndexField` for the search domain. Used to create new
311
- # fields and modify existing ones. You must specify the name of the
312
- # domain you are configuring and an index field configuration. The index
313
- # field configuration specifies a unique name, the index field type, and
314
- # the options you want to configure for the field. The options you can
315
- # specify depend on the `IndexFieldType`. If the field exists, the new
316
- # configuration replaces the old one. For more information, see
317
- # [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
318
- # Guide*.
319
- #
320
- #
321
- #
322
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
323
- # @option params [required, String] :domain_name
324
- # A string that represents the name of a domain. Domain names are unique
325
- # across the domains owned by an account within an AWS region. Domain
326
- # names start with a letter or number and can contain the following
327
- # characters: a-z (lowercase), 0-9, and - (hyphen).
328
- # @option params [required, Types::IndexField] :index_field
329
- # The index field and field options you want to configure.
330
- # @return [Types::DefineIndexFieldResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
331
- #
332
- # * {Types::DefineIndexFieldResponse#index_field #IndexField} => Types::IndexFieldStatus
333
- #
334
- # @example Request syntax with placeholder values
335
- # resp = client.define_index_field({
336
- # domain_name: "DomainName", # required
337
- # index_field: { # required
338
- # index_field_name: "DynamicFieldName", # required
339
- # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
340
- # int_options: {
341
- # default_value: 1,
342
- # source_field: "FieldName",
343
- # facet_enabled: false,
344
- # search_enabled: false,
345
- # return_enabled: false,
346
- # sort_enabled: false,
347
- # },
348
- # double_options: {
349
- # default_value: 1.0,
350
- # source_field: "FieldName",
351
- # facet_enabled: false,
352
- # search_enabled: false,
353
- # return_enabled: false,
354
- # sort_enabled: false,
355
- # },
356
- # literal_options: {
357
- # default_value: "FieldValue",
358
- # source_field: "FieldName",
359
- # facet_enabled: false,
360
- # search_enabled: false,
361
- # return_enabled: false,
362
- # sort_enabled: false,
363
- # },
364
- # text_options: {
365
- # default_value: "FieldValue",
366
- # source_field: "FieldName",
367
- # return_enabled: false,
368
- # sort_enabled: false,
369
- # highlight_enabled: false,
370
- # analysis_scheme: "Word",
371
- # },
372
- # date_options: {
373
- # default_value: "FieldValue",
374
- # source_field: "FieldName",
375
- # facet_enabled: false,
376
- # search_enabled: false,
377
- # return_enabled: false,
378
- # sort_enabled: false,
379
- # },
380
- # lat_lon_options: {
381
- # default_value: "FieldValue",
382
- # source_field: "FieldName",
383
- # facet_enabled: false,
384
- # search_enabled: false,
385
- # return_enabled: false,
386
- # sort_enabled: false,
387
- # },
388
- # int_array_options: {
389
- # default_value: 1,
390
- # source_fields: "FieldNameCommaList",
391
- # facet_enabled: false,
392
- # search_enabled: false,
393
- # return_enabled: false,
394
- # },
395
- # double_array_options: {
396
- # default_value: 1.0,
397
- # source_fields: "FieldNameCommaList",
398
- # facet_enabled: false,
399
- # search_enabled: false,
400
- # return_enabled: false,
401
- # },
402
- # literal_array_options: {
403
- # default_value: "FieldValue",
404
- # source_fields: "FieldNameCommaList",
405
- # facet_enabled: false,
406
- # search_enabled: false,
407
- # return_enabled: false,
408
- # },
409
- # text_array_options: {
410
- # default_value: "FieldValue",
411
- # source_fields: "FieldNameCommaList",
412
- # return_enabled: false,
413
- # highlight_enabled: false,
414
- # analysis_scheme: "Word",
415
- # },
416
- # date_array_options: {
417
- # default_value: "FieldValue",
418
- # source_fields: "FieldNameCommaList",
419
- # facet_enabled: false,
420
- # search_enabled: false,
421
- # return_enabled: false,
422
- # },
423
- # },
424
- # })
425
- #
426
- # @example Response structure
427
- # resp.index_field.options.index_field_name #=> String
428
- # resp.index_field.options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
429
- # resp.index_field.options.int_options.default_value #=> Integer
430
- # resp.index_field.options.int_options.source_field #=> String
431
- # resp.index_field.options.int_options.facet_enabled #=> Boolean
432
- # resp.index_field.options.int_options.search_enabled #=> Boolean
433
- # resp.index_field.options.int_options.return_enabled #=> Boolean
434
- # resp.index_field.options.int_options.sort_enabled #=> Boolean
435
- # resp.index_field.options.double_options.default_value #=> Float
436
- # resp.index_field.options.double_options.source_field #=> String
437
- # resp.index_field.options.double_options.facet_enabled #=> Boolean
438
- # resp.index_field.options.double_options.search_enabled #=> Boolean
439
- # resp.index_field.options.double_options.return_enabled #=> Boolean
440
- # resp.index_field.options.double_options.sort_enabled #=> Boolean
441
- # resp.index_field.options.literal_options.default_value #=> String
442
- # resp.index_field.options.literal_options.source_field #=> String
443
- # resp.index_field.options.literal_options.facet_enabled #=> Boolean
444
- # resp.index_field.options.literal_options.search_enabled #=> Boolean
445
- # resp.index_field.options.literal_options.return_enabled #=> Boolean
446
- # resp.index_field.options.literal_options.sort_enabled #=> Boolean
447
- # resp.index_field.options.text_options.default_value #=> String
448
- # resp.index_field.options.text_options.source_field #=> String
449
- # resp.index_field.options.text_options.return_enabled #=> Boolean
450
- # resp.index_field.options.text_options.sort_enabled #=> Boolean
451
- # resp.index_field.options.text_options.highlight_enabled #=> Boolean
452
- # resp.index_field.options.text_options.analysis_scheme #=> String
453
- # resp.index_field.options.date_options.default_value #=> String
454
- # resp.index_field.options.date_options.source_field #=> String
455
- # resp.index_field.options.date_options.facet_enabled #=> Boolean
456
- # resp.index_field.options.date_options.search_enabled #=> Boolean
457
- # resp.index_field.options.date_options.return_enabled #=> Boolean
458
- # resp.index_field.options.date_options.sort_enabled #=> Boolean
459
- # resp.index_field.options.lat_lon_options.default_value #=> String
460
- # resp.index_field.options.lat_lon_options.source_field #=> String
461
- # resp.index_field.options.lat_lon_options.facet_enabled #=> Boolean
462
- # resp.index_field.options.lat_lon_options.search_enabled #=> Boolean
463
- # resp.index_field.options.lat_lon_options.return_enabled #=> Boolean
464
- # resp.index_field.options.lat_lon_options.sort_enabled #=> Boolean
465
- # resp.index_field.options.int_array_options.default_value #=> Integer
466
- # resp.index_field.options.int_array_options.source_fields #=> String
467
- # resp.index_field.options.int_array_options.facet_enabled #=> Boolean
468
- # resp.index_field.options.int_array_options.search_enabled #=> Boolean
469
- # resp.index_field.options.int_array_options.return_enabled #=> Boolean
470
- # resp.index_field.options.double_array_options.default_value #=> Float
471
- # resp.index_field.options.double_array_options.source_fields #=> String
472
- # resp.index_field.options.double_array_options.facet_enabled #=> Boolean
473
- # resp.index_field.options.double_array_options.search_enabled #=> Boolean
474
- # resp.index_field.options.double_array_options.return_enabled #=> Boolean
475
- # resp.index_field.options.literal_array_options.default_value #=> String
476
- # resp.index_field.options.literal_array_options.source_fields #=> String
477
- # resp.index_field.options.literal_array_options.facet_enabled #=> Boolean
478
- # resp.index_field.options.literal_array_options.search_enabled #=> Boolean
479
- # resp.index_field.options.literal_array_options.return_enabled #=> Boolean
480
- # resp.index_field.options.text_array_options.default_value #=> String
481
- # resp.index_field.options.text_array_options.source_fields #=> String
482
- # resp.index_field.options.text_array_options.return_enabled #=> Boolean
483
- # resp.index_field.options.text_array_options.highlight_enabled #=> Boolean
484
- # resp.index_field.options.text_array_options.analysis_scheme #=> String
485
- # resp.index_field.options.date_array_options.default_value #=> String
486
- # resp.index_field.options.date_array_options.source_fields #=> String
487
- # resp.index_field.options.date_array_options.facet_enabled #=> Boolean
488
- # resp.index_field.options.date_array_options.search_enabled #=> Boolean
489
- # resp.index_field.options.date_array_options.return_enabled #=> Boolean
490
- # resp.index_field.status.creation_date #=> Time
491
- # resp.index_field.status.update_date #=> Time
492
- # resp.index_field.status.update_version #=> Integer
493
- # resp.index_field.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
494
- # resp.index_field.status.pending_deletion #=> Boolean
495
- # @overload define_index_field(params = {})
496
- # @param [Hash] params ({})
497
- def define_index_field(params = {}, options = {})
498
- req = build_request(:define_index_field, params)
499
- req.send_request(options)
500
- end
295
+ # Configures an `Expression` for the search domain. Used to create new
296
+ # expressions and modify existing ones. If the expression exists, the
297
+ # new configuration replaces the old one. For more information, see
298
+ # [Configuring Expressions][1] in the *Amazon CloudSearch Developer
299
+ # Guide*.
300
+ #
301
+ #
302
+ #
303
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
304
+ #
305
+ # @option params [required, String] :domain_name
306
+ # A string that represents the name of a domain. Domain names are unique
307
+ # across the domains owned by an account within an AWS region. Domain
308
+ # names start with a letter or number and can contain the following
309
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
310
+ #
311
+ # @option params [required, Types::Expression] :expression
312
+ # A named expression that can be evaluated at search time. Can be used
313
+ # to sort the search results, define other expressions, or return
314
+ # computed information in the search results.
315
+ #
316
+ # @return [Types::DefineExpressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
317
+ #
318
+ # * {Types::DefineExpressionResponse#expression #expression} => Types::ExpressionStatus
319
+ #
320
+ # @example Request syntax with placeholder values
321
+ #
322
+ # resp = client.define_expression({
323
+ # domain_name: "DomainName", # required
324
+ # expression: { # required
325
+ # expression_name: "StandardName", # required
326
+ # expression_value: "ExpressionValue", # required
327
+ # },
328
+ # })
329
+ #
330
+ # @example Response structure
331
+ #
332
+ # resp.expression.options.expression_name #=> String
333
+ # resp.expression.options.expression_value #=> String
334
+ # resp.expression.status.creation_date #=> Time
335
+ # resp.expression.status.update_date #=> Time
336
+ # resp.expression.status.update_version #=> Integer
337
+ # resp.expression.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
338
+ # resp.expression.status.pending_deletion #=> Boolean
339
+ #
340
+ # @overload define_expression(params = {})
341
+ # @param [Hash] params ({})
342
+ def define_expression(params = {}, options = {})
343
+ req = build_request(:define_expression, params)
344
+ req.send_request(options)
345
+ end
501
346
 
502
- # Configures a suggester for a domain. A suggester enables you to
503
- # display possible matches before users finish typing their queries.
504
- # When you configure a suggester, you must specify the name of the text
505
- # field you want to search for possible matches and a unique name for
506
- # the suggester. For more information, see [Getting Search
507
- # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
508
- #
509
- #
510
- #
511
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
512
- # @option params [required, String] :domain_name
513
- # A string that represents the name of a domain. Domain names are unique
514
- # across the domains owned by an account within an AWS region. Domain
515
- # names start with a letter or number and can contain the following
516
- # characters: a-z (lowercase), 0-9, and - (hyphen).
517
- # @option params [required, Types::Suggester] :suggester
518
- # Configuration information for a search suggester. Each suggester has a
519
- # unique name and specifies the text field you want to use for
520
- # suggestions. The following options can be configured for a suggester:
521
- # `FuzzyMatching`, `SortExpression`.
522
- # @return [Types::DefineSuggesterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
523
- #
524
- # * {Types::DefineSuggesterResponse#suggester #Suggester} => Types::SuggesterStatus
525
- #
526
- # @example Request syntax with placeholder values
527
- # resp = client.define_suggester({
528
- # domain_name: "DomainName", # required
529
- # suggester: { # required
530
- # suggester_name: "StandardName", # required
531
- # document_suggester_options: { # required
532
- # source_field: "FieldName", # required
533
- # fuzzy_matching: "none", # accepts none, low, high
534
- # sort_expression: "String",
535
- # },
536
- # },
537
- # })
538
- #
539
- # @example Response structure
540
- # resp.suggester.options.suggester_name #=> String
541
- # resp.suggester.options.document_suggester_options.source_field #=> String
542
- # resp.suggester.options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
543
- # resp.suggester.options.document_suggester_options.sort_expression #=> String
544
- # resp.suggester.status.creation_date #=> Time
545
- # resp.suggester.status.update_date #=> Time
546
- # resp.suggester.status.update_version #=> Integer
547
- # resp.suggester.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
548
- # resp.suggester.status.pending_deletion #=> Boolean
549
- # @overload define_suggester(params = {})
550
- # @param [Hash] params ({})
551
- def define_suggester(params = {}, options = {})
552
- req = build_request(:define_suggester, params)
553
- req.send_request(options)
554
- end
347
+ # Configures an `IndexField` for the search domain. Used to create new
348
+ # fields and modify existing ones. You must specify the name of the
349
+ # domain you are configuring and an index field configuration. The index
350
+ # field configuration specifies a unique name, the index field type, and
351
+ # the options you want to configure for the field. The options you can
352
+ # specify depend on the `IndexFieldType`. If the field exists, the new
353
+ # configuration replaces the old one. For more information, see
354
+ # [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
355
+ # Guide*.
356
+ #
357
+ #
358
+ #
359
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
360
+ #
361
+ # @option params [required, String] :domain_name
362
+ # A string that represents the name of a domain. Domain names are unique
363
+ # across the domains owned by an account within an AWS region. Domain
364
+ # names start with a letter or number and can contain the following
365
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
366
+ #
367
+ # @option params [required, Types::IndexField] :index_field
368
+ # The index field and field options you want to configure.
369
+ #
370
+ # @return [Types::DefineIndexFieldResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
371
+ #
372
+ # * {Types::DefineIndexFieldResponse#index_field #index_field} => Types::IndexFieldStatus
373
+ #
374
+ # @example Request syntax with placeholder values
375
+ #
376
+ # resp = client.define_index_field({
377
+ # domain_name: "DomainName", # required
378
+ # index_field: { # required
379
+ # index_field_name: "DynamicFieldName", # required
380
+ # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
381
+ # int_options: {
382
+ # default_value: 1,
383
+ # source_field: "FieldName",
384
+ # facet_enabled: false,
385
+ # search_enabled: false,
386
+ # return_enabled: false,
387
+ # sort_enabled: false,
388
+ # },
389
+ # double_options: {
390
+ # default_value: 1.0,
391
+ # source_field: "FieldName",
392
+ # facet_enabled: false,
393
+ # search_enabled: false,
394
+ # return_enabled: false,
395
+ # sort_enabled: false,
396
+ # },
397
+ # literal_options: {
398
+ # default_value: "FieldValue",
399
+ # source_field: "FieldName",
400
+ # facet_enabled: false,
401
+ # search_enabled: false,
402
+ # return_enabled: false,
403
+ # sort_enabled: false,
404
+ # },
405
+ # text_options: {
406
+ # default_value: "FieldValue",
407
+ # source_field: "FieldName",
408
+ # return_enabled: false,
409
+ # sort_enabled: false,
410
+ # highlight_enabled: false,
411
+ # analysis_scheme: "Word",
412
+ # },
413
+ # date_options: {
414
+ # default_value: "FieldValue",
415
+ # source_field: "FieldName",
416
+ # facet_enabled: false,
417
+ # search_enabled: false,
418
+ # return_enabled: false,
419
+ # sort_enabled: false,
420
+ # },
421
+ # lat_lon_options: {
422
+ # default_value: "FieldValue",
423
+ # source_field: "FieldName",
424
+ # facet_enabled: false,
425
+ # search_enabled: false,
426
+ # return_enabled: false,
427
+ # sort_enabled: false,
428
+ # },
429
+ # int_array_options: {
430
+ # default_value: 1,
431
+ # source_fields: "FieldNameCommaList",
432
+ # facet_enabled: false,
433
+ # search_enabled: false,
434
+ # return_enabled: false,
435
+ # },
436
+ # double_array_options: {
437
+ # default_value: 1.0,
438
+ # source_fields: "FieldNameCommaList",
439
+ # facet_enabled: false,
440
+ # search_enabled: false,
441
+ # return_enabled: false,
442
+ # },
443
+ # literal_array_options: {
444
+ # default_value: "FieldValue",
445
+ # source_fields: "FieldNameCommaList",
446
+ # facet_enabled: false,
447
+ # search_enabled: false,
448
+ # return_enabled: false,
449
+ # },
450
+ # text_array_options: {
451
+ # default_value: "FieldValue",
452
+ # source_fields: "FieldNameCommaList",
453
+ # return_enabled: false,
454
+ # highlight_enabled: false,
455
+ # analysis_scheme: "Word",
456
+ # },
457
+ # date_array_options: {
458
+ # default_value: "FieldValue",
459
+ # source_fields: "FieldNameCommaList",
460
+ # facet_enabled: false,
461
+ # search_enabled: false,
462
+ # return_enabled: false,
463
+ # },
464
+ # },
465
+ # })
466
+ #
467
+ # @example Response structure
468
+ #
469
+ # resp.index_field.options.index_field_name #=> String
470
+ # resp.index_field.options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
471
+ # resp.index_field.options.int_options.default_value #=> Integer
472
+ # resp.index_field.options.int_options.source_field #=> String
473
+ # resp.index_field.options.int_options.facet_enabled #=> Boolean
474
+ # resp.index_field.options.int_options.search_enabled #=> Boolean
475
+ # resp.index_field.options.int_options.return_enabled #=> Boolean
476
+ # resp.index_field.options.int_options.sort_enabled #=> Boolean
477
+ # resp.index_field.options.double_options.default_value #=> Float
478
+ # resp.index_field.options.double_options.source_field #=> String
479
+ # resp.index_field.options.double_options.facet_enabled #=> Boolean
480
+ # resp.index_field.options.double_options.search_enabled #=> Boolean
481
+ # resp.index_field.options.double_options.return_enabled #=> Boolean
482
+ # resp.index_field.options.double_options.sort_enabled #=> Boolean
483
+ # resp.index_field.options.literal_options.default_value #=> String
484
+ # resp.index_field.options.literal_options.source_field #=> String
485
+ # resp.index_field.options.literal_options.facet_enabled #=> Boolean
486
+ # resp.index_field.options.literal_options.search_enabled #=> Boolean
487
+ # resp.index_field.options.literal_options.return_enabled #=> Boolean
488
+ # resp.index_field.options.literal_options.sort_enabled #=> Boolean
489
+ # resp.index_field.options.text_options.default_value #=> String
490
+ # resp.index_field.options.text_options.source_field #=> String
491
+ # resp.index_field.options.text_options.return_enabled #=> Boolean
492
+ # resp.index_field.options.text_options.sort_enabled #=> Boolean
493
+ # resp.index_field.options.text_options.highlight_enabled #=> Boolean
494
+ # resp.index_field.options.text_options.analysis_scheme #=> String
495
+ # resp.index_field.options.date_options.default_value #=> String
496
+ # resp.index_field.options.date_options.source_field #=> String
497
+ # resp.index_field.options.date_options.facet_enabled #=> Boolean
498
+ # resp.index_field.options.date_options.search_enabled #=> Boolean
499
+ # resp.index_field.options.date_options.return_enabled #=> Boolean
500
+ # resp.index_field.options.date_options.sort_enabled #=> Boolean
501
+ # resp.index_field.options.lat_lon_options.default_value #=> String
502
+ # resp.index_field.options.lat_lon_options.source_field #=> String
503
+ # resp.index_field.options.lat_lon_options.facet_enabled #=> Boolean
504
+ # resp.index_field.options.lat_lon_options.search_enabled #=> Boolean
505
+ # resp.index_field.options.lat_lon_options.return_enabled #=> Boolean
506
+ # resp.index_field.options.lat_lon_options.sort_enabled #=> Boolean
507
+ # resp.index_field.options.int_array_options.default_value #=> Integer
508
+ # resp.index_field.options.int_array_options.source_fields #=> String
509
+ # resp.index_field.options.int_array_options.facet_enabled #=> Boolean
510
+ # resp.index_field.options.int_array_options.search_enabled #=> Boolean
511
+ # resp.index_field.options.int_array_options.return_enabled #=> Boolean
512
+ # resp.index_field.options.double_array_options.default_value #=> Float
513
+ # resp.index_field.options.double_array_options.source_fields #=> String
514
+ # resp.index_field.options.double_array_options.facet_enabled #=> Boolean
515
+ # resp.index_field.options.double_array_options.search_enabled #=> Boolean
516
+ # resp.index_field.options.double_array_options.return_enabled #=> Boolean
517
+ # resp.index_field.options.literal_array_options.default_value #=> String
518
+ # resp.index_field.options.literal_array_options.source_fields #=> String
519
+ # resp.index_field.options.literal_array_options.facet_enabled #=> Boolean
520
+ # resp.index_field.options.literal_array_options.search_enabled #=> Boolean
521
+ # resp.index_field.options.literal_array_options.return_enabled #=> Boolean
522
+ # resp.index_field.options.text_array_options.default_value #=> String
523
+ # resp.index_field.options.text_array_options.source_fields #=> String
524
+ # resp.index_field.options.text_array_options.return_enabled #=> Boolean
525
+ # resp.index_field.options.text_array_options.highlight_enabled #=> Boolean
526
+ # resp.index_field.options.text_array_options.analysis_scheme #=> String
527
+ # resp.index_field.options.date_array_options.default_value #=> String
528
+ # resp.index_field.options.date_array_options.source_fields #=> String
529
+ # resp.index_field.options.date_array_options.facet_enabled #=> Boolean
530
+ # resp.index_field.options.date_array_options.search_enabled #=> Boolean
531
+ # resp.index_field.options.date_array_options.return_enabled #=> Boolean
532
+ # resp.index_field.status.creation_date #=> Time
533
+ # resp.index_field.status.update_date #=> Time
534
+ # resp.index_field.status.update_version #=> Integer
535
+ # resp.index_field.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
536
+ # resp.index_field.status.pending_deletion #=> Boolean
537
+ #
538
+ # @overload define_index_field(params = {})
539
+ # @param [Hash] params ({})
540
+ def define_index_field(params = {}, options = {})
541
+ req = build_request(:define_index_field, params)
542
+ req.send_request(options)
543
+ end
555
544
 
556
- # Deletes an analysis scheme. For more information, see [Configuring
557
- # Analysis Schemes][1] in the *Amazon CloudSearch Developer Guide*.
558
- #
559
- #
560
- #
561
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
562
- # @option params [required, String] :domain_name
563
- # A string that represents the name of a domain. Domain names are unique
564
- # across the domains owned by an account within an AWS region. Domain
565
- # names start with a letter or number and can contain the following
566
- # characters: a-z (lowercase), 0-9, and - (hyphen).
567
- # @option params [required, String] :analysis_scheme_name
568
- # The name of the analysis scheme you want to delete.
569
- # @return [Types::DeleteAnalysisSchemeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
570
- #
571
- # * {Types::DeleteAnalysisSchemeResponse#analysis_scheme #AnalysisScheme} => Types::AnalysisSchemeStatus
572
- #
573
- # @example Request syntax with placeholder values
574
- # resp = client.delete_analysis_scheme({
575
- # domain_name: "DomainName", # required
576
- # analysis_scheme_name: "StandardName", # required
577
- # })
578
- #
579
- # @example Response structure
580
- # resp.analysis_scheme.options.analysis_scheme_name #=> String
581
- # resp.analysis_scheme.options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
582
- # resp.analysis_scheme.options.analysis_options.synonyms #=> String
583
- # resp.analysis_scheme.options.analysis_options.stopwords #=> String
584
- # resp.analysis_scheme.options.analysis_options.stemming_dictionary #=> String
585
- # resp.analysis_scheme.options.analysis_options.japanese_tokenization_dictionary #=> String
586
- # resp.analysis_scheme.options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
587
- # resp.analysis_scheme.status.creation_date #=> Time
588
- # resp.analysis_scheme.status.update_date #=> Time
589
- # resp.analysis_scheme.status.update_version #=> Integer
590
- # resp.analysis_scheme.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
591
- # resp.analysis_scheme.status.pending_deletion #=> Boolean
592
- # @overload delete_analysis_scheme(params = {})
593
- # @param [Hash] params ({})
594
- def delete_analysis_scheme(params = {}, options = {})
595
- req = build_request(:delete_analysis_scheme, params)
596
- req.send_request(options)
597
- end
545
+ # Configures a suggester for a domain. A suggester enables you to
546
+ # display possible matches before users finish typing their queries.
547
+ # When you configure a suggester, you must specify the name of the text
548
+ # field you want to search for possible matches and a unique name for
549
+ # the suggester. For more information, see [Getting Search
550
+ # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
551
+ #
552
+ #
553
+ #
554
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
555
+ #
556
+ # @option params [required, String] :domain_name
557
+ # A string that represents the name of a domain. Domain names are unique
558
+ # across the domains owned by an account within an AWS region. Domain
559
+ # names start with a letter or number and can contain the following
560
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
561
+ #
562
+ # @option params [required, Types::Suggester] :suggester
563
+ # Configuration information for a search suggester. Each suggester has a
564
+ # unique name and specifies the text field you want to use for
565
+ # suggestions. The following options can be configured for a suggester:
566
+ # `FuzzyMatching`, `SortExpression`.
567
+ #
568
+ # @return [Types::DefineSuggesterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
569
+ #
570
+ # * {Types::DefineSuggesterResponse#suggester #suggester} => Types::SuggesterStatus
571
+ #
572
+ # @example Request syntax with placeholder values
573
+ #
574
+ # resp = client.define_suggester({
575
+ # domain_name: "DomainName", # required
576
+ # suggester: { # required
577
+ # suggester_name: "StandardName", # required
578
+ # document_suggester_options: { # required
579
+ # source_field: "FieldName", # required
580
+ # fuzzy_matching: "none", # accepts none, low, high
581
+ # sort_expression: "String",
582
+ # },
583
+ # },
584
+ # })
585
+ #
586
+ # @example Response structure
587
+ #
588
+ # resp.suggester.options.suggester_name #=> String
589
+ # resp.suggester.options.document_suggester_options.source_field #=> String
590
+ # resp.suggester.options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
591
+ # resp.suggester.options.document_suggester_options.sort_expression #=> String
592
+ # resp.suggester.status.creation_date #=> Time
593
+ # resp.suggester.status.update_date #=> Time
594
+ # resp.suggester.status.update_version #=> Integer
595
+ # resp.suggester.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
596
+ # resp.suggester.status.pending_deletion #=> Boolean
597
+ #
598
+ # @overload define_suggester(params = {})
599
+ # @param [Hash] params ({})
600
+ def define_suggester(params = {}, options = {})
601
+ req = build_request(:define_suggester, params)
602
+ req.send_request(options)
603
+ end
598
604
 
599
- # Permanently deletes a search domain and all of its data. Once a domain
600
- # has been deleted, it cannot be recovered. For more information, see
601
- # [Deleting a Search Domain][1] in the *Amazon CloudSearch Developer
602
- # Guide*.
603
- #
604
- #
605
- #
606
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/deleting-domains.html
607
- # @option params [required, String] :domain_name
608
- # The name of the domain you want to permanently delete.
609
- # @return [Types::DeleteDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
610
- #
611
- # * {Types::DeleteDomainResponse#domain_status #DomainStatus} => Types::DomainStatus
612
- #
613
- # @example Request syntax with placeholder values
614
- # resp = client.delete_domain({
615
- # domain_name: "DomainName", # required
616
- # })
617
- #
618
- # @example Response structure
619
- # resp.domain_status.domain_id #=> String
620
- # resp.domain_status.domain_name #=> String
621
- # resp.domain_status.arn #=> String
622
- # resp.domain_status.created #=> Boolean
623
- # resp.domain_status.deleted #=> Boolean
624
- # resp.domain_status.doc_service.endpoint #=> String
625
- # resp.domain_status.search_service.endpoint #=> String
626
- # resp.domain_status.requires_index_documents #=> Boolean
627
- # resp.domain_status.processing #=> Boolean
628
- # resp.domain_status.search_instance_type #=> String
629
- # resp.domain_status.search_partition_count #=> Integer
630
- # resp.domain_status.search_instance_count #=> Integer
631
- # resp.domain_status.limits.maximum_replication_count #=> Integer
632
- # resp.domain_status.limits.maximum_partition_count #=> Integer
633
- # @overload delete_domain(params = {})
634
- # @param [Hash] params ({})
635
- def delete_domain(params = {}, options = {})
636
- req = build_request(:delete_domain, params)
637
- req.send_request(options)
638
- end
605
+ # Deletes an analysis scheme. For more information, see [Configuring
606
+ # Analysis Schemes][1] in the *Amazon CloudSearch Developer Guide*.
607
+ #
608
+ #
609
+ #
610
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
611
+ #
612
+ # @option params [required, String] :domain_name
613
+ # A string that represents the name of a domain. Domain names are unique
614
+ # across the domains owned by an account within an AWS region. Domain
615
+ # names start with a letter or number and can contain the following
616
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
617
+ #
618
+ # @option params [required, String] :analysis_scheme_name
619
+ # The name of the analysis scheme you want to delete.
620
+ #
621
+ # @return [Types::DeleteAnalysisSchemeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
622
+ #
623
+ # * {Types::DeleteAnalysisSchemeResponse#analysis_scheme #analysis_scheme} => Types::AnalysisSchemeStatus
624
+ #
625
+ # @example Request syntax with placeholder values
626
+ #
627
+ # resp = client.delete_analysis_scheme({
628
+ # domain_name: "DomainName", # required
629
+ # analysis_scheme_name: "StandardName", # required
630
+ # })
631
+ #
632
+ # @example Response structure
633
+ #
634
+ # resp.analysis_scheme.options.analysis_scheme_name #=> String
635
+ # resp.analysis_scheme.options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
636
+ # resp.analysis_scheme.options.analysis_options.synonyms #=> String
637
+ # resp.analysis_scheme.options.analysis_options.stopwords #=> String
638
+ # resp.analysis_scheme.options.analysis_options.stemming_dictionary #=> String
639
+ # resp.analysis_scheme.options.analysis_options.japanese_tokenization_dictionary #=> String
640
+ # resp.analysis_scheme.options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
641
+ # resp.analysis_scheme.status.creation_date #=> Time
642
+ # resp.analysis_scheme.status.update_date #=> Time
643
+ # resp.analysis_scheme.status.update_version #=> Integer
644
+ # resp.analysis_scheme.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
645
+ # resp.analysis_scheme.status.pending_deletion #=> Boolean
646
+ #
647
+ # @overload delete_analysis_scheme(params = {})
648
+ # @param [Hash] params ({})
649
+ def delete_analysis_scheme(params = {}, options = {})
650
+ req = build_request(:delete_analysis_scheme, params)
651
+ req.send_request(options)
652
+ end
639
653
 
640
- # Removes an `Expression` from the search domain. For more information,
641
- # see [Configuring Expressions][1] in the *Amazon CloudSearch Developer
642
- # Guide*.
643
- #
644
- #
645
- #
646
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
647
- # @option params [required, String] :domain_name
648
- # A string that represents the name of a domain. Domain names are unique
649
- # across the domains owned by an account within an AWS region. Domain
650
- # names start with a letter or number and can contain the following
651
- # characters: a-z (lowercase), 0-9, and - (hyphen).
652
- # @option params [required, String] :expression_name
653
- # The name of the `Expression` to delete.
654
- # @return [Types::DeleteExpressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
655
- #
656
- # * {Types::DeleteExpressionResponse#expression #Expression} => Types::ExpressionStatus
657
- #
658
- # @example Request syntax with placeholder values
659
- # resp = client.delete_expression({
660
- # domain_name: "DomainName", # required
661
- # expression_name: "StandardName", # required
662
- # })
663
- #
664
- # @example Response structure
665
- # resp.expression.options.expression_name #=> String
666
- # resp.expression.options.expression_value #=> String
667
- # resp.expression.status.creation_date #=> Time
668
- # resp.expression.status.update_date #=> Time
669
- # resp.expression.status.update_version #=> Integer
670
- # resp.expression.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
671
- # resp.expression.status.pending_deletion #=> Boolean
672
- # @overload delete_expression(params = {})
673
- # @param [Hash] params ({})
674
- def delete_expression(params = {}, options = {})
675
- req = build_request(:delete_expression, params)
676
- req.send_request(options)
677
- end
654
+ # Permanently deletes a search domain and all of its data. Once a domain
655
+ # has been deleted, it cannot be recovered. For more information, see
656
+ # [Deleting a Search Domain][1] in the *Amazon CloudSearch Developer
657
+ # Guide*.
658
+ #
659
+ #
660
+ #
661
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/deleting-domains.html
662
+ #
663
+ # @option params [required, String] :domain_name
664
+ # The name of the domain you want to permanently delete.
665
+ #
666
+ # @return [Types::DeleteDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
667
+ #
668
+ # * {Types::DeleteDomainResponse#domain_status #domain_status} => Types::DomainStatus
669
+ #
670
+ # @example Request syntax with placeholder values
671
+ #
672
+ # resp = client.delete_domain({
673
+ # domain_name: "DomainName", # required
674
+ # })
675
+ #
676
+ # @example Response structure
677
+ #
678
+ # resp.domain_status.domain_id #=> String
679
+ # resp.domain_status.domain_name #=> String
680
+ # resp.domain_status.arn #=> String
681
+ # resp.domain_status.created #=> Boolean
682
+ # resp.domain_status.deleted #=> Boolean
683
+ # resp.domain_status.doc_service.endpoint #=> String
684
+ # resp.domain_status.search_service.endpoint #=> String
685
+ # resp.domain_status.requires_index_documents #=> Boolean
686
+ # resp.domain_status.processing #=> Boolean
687
+ # resp.domain_status.search_instance_type #=> String
688
+ # resp.domain_status.search_partition_count #=> Integer
689
+ # resp.domain_status.search_instance_count #=> Integer
690
+ # resp.domain_status.limits.maximum_replication_count #=> Integer
691
+ # resp.domain_status.limits.maximum_partition_count #=> Integer
692
+ #
693
+ # @overload delete_domain(params = {})
694
+ # @param [Hash] params ({})
695
+ def delete_domain(params = {}, options = {})
696
+ req = build_request(:delete_domain, params)
697
+ req.send_request(options)
698
+ end
678
699
 
679
- # Removes an `IndexField` from the search domain. For more information,
680
- # see [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
681
- # Guide*.
682
- #
683
- #
684
- #
685
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
686
- # @option params [required, String] :domain_name
687
- # A string that represents the name of a domain. Domain names are unique
688
- # across the domains owned by an account within an AWS region. Domain
689
- # names start with a letter or number and can contain the following
690
- # characters: a-z (lowercase), 0-9, and - (hyphen).
691
- # @option params [required, String] :index_field_name
692
- # The name of the index field your want to remove from the domain's
693
- # indexing options.
694
- # @return [Types::DeleteIndexFieldResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
695
- #
696
- # * {Types::DeleteIndexFieldResponse#index_field #IndexField} => Types::IndexFieldStatus
697
- #
698
- # @example Request syntax with placeholder values
699
- # resp = client.delete_index_field({
700
- # domain_name: "DomainName", # required
701
- # index_field_name: "DynamicFieldName", # required
702
- # })
703
- #
704
- # @example Response structure
705
- # resp.index_field.options.index_field_name #=> String
706
- # resp.index_field.options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
707
- # resp.index_field.options.int_options.default_value #=> Integer
708
- # resp.index_field.options.int_options.source_field #=> String
709
- # resp.index_field.options.int_options.facet_enabled #=> Boolean
710
- # resp.index_field.options.int_options.search_enabled #=> Boolean
711
- # resp.index_field.options.int_options.return_enabled #=> Boolean
712
- # resp.index_field.options.int_options.sort_enabled #=> Boolean
713
- # resp.index_field.options.double_options.default_value #=> Float
714
- # resp.index_field.options.double_options.source_field #=> String
715
- # resp.index_field.options.double_options.facet_enabled #=> Boolean
716
- # resp.index_field.options.double_options.search_enabled #=> Boolean
717
- # resp.index_field.options.double_options.return_enabled #=> Boolean
718
- # resp.index_field.options.double_options.sort_enabled #=> Boolean
719
- # resp.index_field.options.literal_options.default_value #=> String
720
- # resp.index_field.options.literal_options.source_field #=> String
721
- # resp.index_field.options.literal_options.facet_enabled #=> Boolean
722
- # resp.index_field.options.literal_options.search_enabled #=> Boolean
723
- # resp.index_field.options.literal_options.return_enabled #=> Boolean
724
- # resp.index_field.options.literal_options.sort_enabled #=> Boolean
725
- # resp.index_field.options.text_options.default_value #=> String
726
- # resp.index_field.options.text_options.source_field #=> String
727
- # resp.index_field.options.text_options.return_enabled #=> Boolean
728
- # resp.index_field.options.text_options.sort_enabled #=> Boolean
729
- # resp.index_field.options.text_options.highlight_enabled #=> Boolean
730
- # resp.index_field.options.text_options.analysis_scheme #=> String
731
- # resp.index_field.options.date_options.default_value #=> String
732
- # resp.index_field.options.date_options.source_field #=> String
733
- # resp.index_field.options.date_options.facet_enabled #=> Boolean
734
- # resp.index_field.options.date_options.search_enabled #=> Boolean
735
- # resp.index_field.options.date_options.return_enabled #=> Boolean
736
- # resp.index_field.options.date_options.sort_enabled #=> Boolean
737
- # resp.index_field.options.lat_lon_options.default_value #=> String
738
- # resp.index_field.options.lat_lon_options.source_field #=> String
739
- # resp.index_field.options.lat_lon_options.facet_enabled #=> Boolean
740
- # resp.index_field.options.lat_lon_options.search_enabled #=> Boolean
741
- # resp.index_field.options.lat_lon_options.return_enabled #=> Boolean
742
- # resp.index_field.options.lat_lon_options.sort_enabled #=> Boolean
743
- # resp.index_field.options.int_array_options.default_value #=> Integer
744
- # resp.index_field.options.int_array_options.source_fields #=> String
745
- # resp.index_field.options.int_array_options.facet_enabled #=> Boolean
746
- # resp.index_field.options.int_array_options.search_enabled #=> Boolean
747
- # resp.index_field.options.int_array_options.return_enabled #=> Boolean
748
- # resp.index_field.options.double_array_options.default_value #=> Float
749
- # resp.index_field.options.double_array_options.source_fields #=> String
750
- # resp.index_field.options.double_array_options.facet_enabled #=> Boolean
751
- # resp.index_field.options.double_array_options.search_enabled #=> Boolean
752
- # resp.index_field.options.double_array_options.return_enabled #=> Boolean
753
- # resp.index_field.options.literal_array_options.default_value #=> String
754
- # resp.index_field.options.literal_array_options.source_fields #=> String
755
- # resp.index_field.options.literal_array_options.facet_enabled #=> Boolean
756
- # resp.index_field.options.literal_array_options.search_enabled #=> Boolean
757
- # resp.index_field.options.literal_array_options.return_enabled #=> Boolean
758
- # resp.index_field.options.text_array_options.default_value #=> String
759
- # resp.index_field.options.text_array_options.source_fields #=> String
760
- # resp.index_field.options.text_array_options.return_enabled #=> Boolean
761
- # resp.index_field.options.text_array_options.highlight_enabled #=> Boolean
762
- # resp.index_field.options.text_array_options.analysis_scheme #=> String
763
- # resp.index_field.options.date_array_options.default_value #=> String
764
- # resp.index_field.options.date_array_options.source_fields #=> String
765
- # resp.index_field.options.date_array_options.facet_enabled #=> Boolean
766
- # resp.index_field.options.date_array_options.search_enabled #=> Boolean
767
- # resp.index_field.options.date_array_options.return_enabled #=> Boolean
768
- # resp.index_field.status.creation_date #=> Time
769
- # resp.index_field.status.update_date #=> Time
770
- # resp.index_field.status.update_version #=> Integer
771
- # resp.index_field.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
772
- # resp.index_field.status.pending_deletion #=> Boolean
773
- # @overload delete_index_field(params = {})
774
- # @param [Hash] params ({})
775
- def delete_index_field(params = {}, options = {})
776
- req = build_request(:delete_index_field, params)
777
- req.send_request(options)
778
- end
700
+ # Removes an `Expression` from the search domain. For more information,
701
+ # see [Configuring Expressions][1] in the *Amazon CloudSearch Developer
702
+ # Guide*.
703
+ #
704
+ #
705
+ #
706
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
707
+ #
708
+ # @option params [required, String] :domain_name
709
+ # A string that represents the name of a domain. Domain names are unique
710
+ # across the domains owned by an account within an AWS region. Domain
711
+ # names start with a letter or number and can contain the following
712
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
713
+ #
714
+ # @option params [required, String] :expression_name
715
+ # The name of the `Expression` to delete.
716
+ #
717
+ # @return [Types::DeleteExpressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
718
+ #
719
+ # * {Types::DeleteExpressionResponse#expression #expression} => Types::ExpressionStatus
720
+ #
721
+ # @example Request syntax with placeholder values
722
+ #
723
+ # resp = client.delete_expression({
724
+ # domain_name: "DomainName", # required
725
+ # expression_name: "StandardName", # required
726
+ # })
727
+ #
728
+ # @example Response structure
729
+ #
730
+ # resp.expression.options.expression_name #=> String
731
+ # resp.expression.options.expression_value #=> String
732
+ # resp.expression.status.creation_date #=> Time
733
+ # resp.expression.status.update_date #=> Time
734
+ # resp.expression.status.update_version #=> Integer
735
+ # resp.expression.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
736
+ # resp.expression.status.pending_deletion #=> Boolean
737
+ #
738
+ # @overload delete_expression(params = {})
739
+ # @param [Hash] params ({})
740
+ def delete_expression(params = {}, options = {})
741
+ req = build_request(:delete_expression, params)
742
+ req.send_request(options)
743
+ end
779
744
 
780
- # Deletes a suggester. For more information, see [Getting Search
781
- # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
782
- #
783
- #
784
- #
785
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
786
- # @option params [required, String] :domain_name
787
- # A string that represents the name of a domain. Domain names are unique
788
- # across the domains owned by an account within an AWS region. Domain
789
- # names start with a letter or number and can contain the following
790
- # characters: a-z (lowercase), 0-9, and - (hyphen).
791
- # @option params [required, String] :suggester_name
792
- # Specifies the name of the suggester you want to delete.
793
- # @return [Types::DeleteSuggesterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
794
- #
795
- # * {Types::DeleteSuggesterResponse#suggester #Suggester} => Types::SuggesterStatus
796
- #
797
- # @example Request syntax with placeholder values
798
- # resp = client.delete_suggester({
799
- # domain_name: "DomainName", # required
800
- # suggester_name: "StandardName", # required
801
- # })
802
- #
803
- # @example Response structure
804
- # resp.suggester.options.suggester_name #=> String
805
- # resp.suggester.options.document_suggester_options.source_field #=> String
806
- # resp.suggester.options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
807
- # resp.suggester.options.document_suggester_options.sort_expression #=> String
808
- # resp.suggester.status.creation_date #=> Time
809
- # resp.suggester.status.update_date #=> Time
810
- # resp.suggester.status.update_version #=> Integer
811
- # resp.suggester.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
812
- # resp.suggester.status.pending_deletion #=> Boolean
813
- # @overload delete_suggester(params = {})
814
- # @param [Hash] params ({})
815
- def delete_suggester(params = {}, options = {})
816
- req = build_request(:delete_suggester, params)
817
- req.send_request(options)
818
- end
745
+ # Removes an `IndexField` from the search domain. For more information,
746
+ # see [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
747
+ # Guide*.
748
+ #
749
+ #
750
+ #
751
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
752
+ #
753
+ # @option params [required, String] :domain_name
754
+ # A string that represents the name of a domain. Domain names are unique
755
+ # across the domains owned by an account within an AWS region. Domain
756
+ # names start with a letter or number and can contain the following
757
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
758
+ #
759
+ # @option params [required, String] :index_field_name
760
+ # The name of the index field your want to remove from the domain's
761
+ # indexing options.
762
+ #
763
+ # @return [Types::DeleteIndexFieldResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
764
+ #
765
+ # * {Types::DeleteIndexFieldResponse#index_field #index_field} => Types::IndexFieldStatus
766
+ #
767
+ # @example Request syntax with placeholder values
768
+ #
769
+ # resp = client.delete_index_field({
770
+ # domain_name: "DomainName", # required
771
+ # index_field_name: "DynamicFieldName", # required
772
+ # })
773
+ #
774
+ # @example Response structure
775
+ #
776
+ # resp.index_field.options.index_field_name #=> String
777
+ # resp.index_field.options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
778
+ # resp.index_field.options.int_options.default_value #=> Integer
779
+ # resp.index_field.options.int_options.source_field #=> String
780
+ # resp.index_field.options.int_options.facet_enabled #=> Boolean
781
+ # resp.index_field.options.int_options.search_enabled #=> Boolean
782
+ # resp.index_field.options.int_options.return_enabled #=> Boolean
783
+ # resp.index_field.options.int_options.sort_enabled #=> Boolean
784
+ # resp.index_field.options.double_options.default_value #=> Float
785
+ # resp.index_field.options.double_options.source_field #=> String
786
+ # resp.index_field.options.double_options.facet_enabled #=> Boolean
787
+ # resp.index_field.options.double_options.search_enabled #=> Boolean
788
+ # resp.index_field.options.double_options.return_enabled #=> Boolean
789
+ # resp.index_field.options.double_options.sort_enabled #=> Boolean
790
+ # resp.index_field.options.literal_options.default_value #=> String
791
+ # resp.index_field.options.literal_options.source_field #=> String
792
+ # resp.index_field.options.literal_options.facet_enabled #=> Boolean
793
+ # resp.index_field.options.literal_options.search_enabled #=> Boolean
794
+ # resp.index_field.options.literal_options.return_enabled #=> Boolean
795
+ # resp.index_field.options.literal_options.sort_enabled #=> Boolean
796
+ # resp.index_field.options.text_options.default_value #=> String
797
+ # resp.index_field.options.text_options.source_field #=> String
798
+ # resp.index_field.options.text_options.return_enabled #=> Boolean
799
+ # resp.index_field.options.text_options.sort_enabled #=> Boolean
800
+ # resp.index_field.options.text_options.highlight_enabled #=> Boolean
801
+ # resp.index_field.options.text_options.analysis_scheme #=> String
802
+ # resp.index_field.options.date_options.default_value #=> String
803
+ # resp.index_field.options.date_options.source_field #=> String
804
+ # resp.index_field.options.date_options.facet_enabled #=> Boolean
805
+ # resp.index_field.options.date_options.search_enabled #=> Boolean
806
+ # resp.index_field.options.date_options.return_enabled #=> Boolean
807
+ # resp.index_field.options.date_options.sort_enabled #=> Boolean
808
+ # resp.index_field.options.lat_lon_options.default_value #=> String
809
+ # resp.index_field.options.lat_lon_options.source_field #=> String
810
+ # resp.index_field.options.lat_lon_options.facet_enabled #=> Boolean
811
+ # resp.index_field.options.lat_lon_options.search_enabled #=> Boolean
812
+ # resp.index_field.options.lat_lon_options.return_enabled #=> Boolean
813
+ # resp.index_field.options.lat_lon_options.sort_enabled #=> Boolean
814
+ # resp.index_field.options.int_array_options.default_value #=> Integer
815
+ # resp.index_field.options.int_array_options.source_fields #=> String
816
+ # resp.index_field.options.int_array_options.facet_enabled #=> Boolean
817
+ # resp.index_field.options.int_array_options.search_enabled #=> Boolean
818
+ # resp.index_field.options.int_array_options.return_enabled #=> Boolean
819
+ # resp.index_field.options.double_array_options.default_value #=> Float
820
+ # resp.index_field.options.double_array_options.source_fields #=> String
821
+ # resp.index_field.options.double_array_options.facet_enabled #=> Boolean
822
+ # resp.index_field.options.double_array_options.search_enabled #=> Boolean
823
+ # resp.index_field.options.double_array_options.return_enabled #=> Boolean
824
+ # resp.index_field.options.literal_array_options.default_value #=> String
825
+ # resp.index_field.options.literal_array_options.source_fields #=> String
826
+ # resp.index_field.options.literal_array_options.facet_enabled #=> Boolean
827
+ # resp.index_field.options.literal_array_options.search_enabled #=> Boolean
828
+ # resp.index_field.options.literal_array_options.return_enabled #=> Boolean
829
+ # resp.index_field.options.text_array_options.default_value #=> String
830
+ # resp.index_field.options.text_array_options.source_fields #=> String
831
+ # resp.index_field.options.text_array_options.return_enabled #=> Boolean
832
+ # resp.index_field.options.text_array_options.highlight_enabled #=> Boolean
833
+ # resp.index_field.options.text_array_options.analysis_scheme #=> String
834
+ # resp.index_field.options.date_array_options.default_value #=> String
835
+ # resp.index_field.options.date_array_options.source_fields #=> String
836
+ # resp.index_field.options.date_array_options.facet_enabled #=> Boolean
837
+ # resp.index_field.options.date_array_options.search_enabled #=> Boolean
838
+ # resp.index_field.options.date_array_options.return_enabled #=> Boolean
839
+ # resp.index_field.status.creation_date #=> Time
840
+ # resp.index_field.status.update_date #=> Time
841
+ # resp.index_field.status.update_version #=> Integer
842
+ # resp.index_field.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
843
+ # resp.index_field.status.pending_deletion #=> Boolean
844
+ #
845
+ # @overload delete_index_field(params = {})
846
+ # @param [Hash] params ({})
847
+ def delete_index_field(params = {}, options = {})
848
+ req = build_request(:delete_index_field, params)
849
+ req.send_request(options)
850
+ end
819
851
 
820
- # Gets the analysis schemes configured for a domain. An analysis scheme
821
- # defines language-specific text processing options for a `text` field.
822
- # Can be limited to specific analysis schemes by name. By default, shows
823
- # all analysis schemes and includes any pending changes to the
824
- # configuration. Set the `Deployed` option to `true` to show the active
825
- # configuration and exclude pending changes. For more information, see
826
- # [Configuring Analysis Schemes][1] in the *Amazon CloudSearch Developer
827
- # Guide*.
828
- #
829
- #
830
- #
831
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
832
- # @option params [required, String] :domain_name
833
- # The name of the domain you want to describe.
834
- # @option params [Array<String>] :analysis_scheme_names
835
- # The analysis schemes you want to describe.
836
- # @option params [Boolean] :deployed
837
- # Whether to display the deployed configuration (`true`) or include any
838
- # pending changes (`false`). Defaults to `false`.
839
- # @return [Types::DescribeAnalysisSchemesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
840
- #
841
- # * {Types::DescribeAnalysisSchemesResponse#analysis_schemes #AnalysisSchemes} => Array&lt;Types::AnalysisSchemeStatus&gt;
842
- #
843
- # @example Request syntax with placeholder values
844
- # resp = client.describe_analysis_schemes({
845
- # domain_name: "DomainName", # required
846
- # analysis_scheme_names: ["StandardName"],
847
- # deployed: false,
848
- # })
849
- #
850
- # @example Response structure
851
- # resp.analysis_schemes #=> Array
852
- # resp.analysis_schemes[0].options.analysis_scheme_name #=> String
853
- # resp.analysis_schemes[0].options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
854
- # resp.analysis_schemes[0].options.analysis_options.synonyms #=> String
855
- # resp.analysis_schemes[0].options.analysis_options.stopwords #=> String
856
- # resp.analysis_schemes[0].options.analysis_options.stemming_dictionary #=> String
857
- # resp.analysis_schemes[0].options.analysis_options.japanese_tokenization_dictionary #=> String
858
- # resp.analysis_schemes[0].options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
859
- # resp.analysis_schemes[0].status.creation_date #=> Time
860
- # resp.analysis_schemes[0].status.update_date #=> Time
861
- # resp.analysis_schemes[0].status.update_version #=> Integer
862
- # resp.analysis_schemes[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
863
- # resp.analysis_schemes[0].status.pending_deletion #=> Boolean
864
- # @overload describe_analysis_schemes(params = {})
865
- # @param [Hash] params ({})
866
- def describe_analysis_schemes(params = {}, options = {})
867
- req = build_request(:describe_analysis_schemes, params)
868
- req.send_request(options)
869
- end
852
+ # Deletes a suggester. For more information, see [Getting Search
853
+ # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
854
+ #
855
+ #
856
+ #
857
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
858
+ #
859
+ # @option params [required, String] :domain_name
860
+ # A string that represents the name of a domain. Domain names are unique
861
+ # across the domains owned by an account within an AWS region. Domain
862
+ # names start with a letter or number and can contain the following
863
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
864
+ #
865
+ # @option params [required, String] :suggester_name
866
+ # Specifies the name of the suggester you want to delete.
867
+ #
868
+ # @return [Types::DeleteSuggesterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
869
+ #
870
+ # * {Types::DeleteSuggesterResponse#suggester #suggester} => Types::SuggesterStatus
871
+ #
872
+ # @example Request syntax with placeholder values
873
+ #
874
+ # resp = client.delete_suggester({
875
+ # domain_name: "DomainName", # required
876
+ # suggester_name: "StandardName", # required
877
+ # })
878
+ #
879
+ # @example Response structure
880
+ #
881
+ # resp.suggester.options.suggester_name #=> String
882
+ # resp.suggester.options.document_suggester_options.source_field #=> String
883
+ # resp.suggester.options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
884
+ # resp.suggester.options.document_suggester_options.sort_expression #=> String
885
+ # resp.suggester.status.creation_date #=> Time
886
+ # resp.suggester.status.update_date #=> Time
887
+ # resp.suggester.status.update_version #=> Integer
888
+ # resp.suggester.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
889
+ # resp.suggester.status.pending_deletion #=> Boolean
890
+ #
891
+ # @overload delete_suggester(params = {})
892
+ # @param [Hash] params ({})
893
+ def delete_suggester(params = {}, options = {})
894
+ req = build_request(:delete_suggester, params)
895
+ req.send_request(options)
896
+ end
870
897
 
871
- # Gets the availability options configured for a domain. By default,
872
- # shows the configuration with any pending changes. Set the `Deployed`
873
- # option to `true` to show the active configuration and exclude pending
874
- # changes. For more information, see [Configuring Availability
875
- # Options][1] in the *Amazon CloudSearch Developer Guide*.
876
- #
877
- #
878
- #
879
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html
880
- # @option params [required, String] :domain_name
881
- # The name of the domain you want to describe.
882
- # @option params [Boolean] :deployed
883
- # Whether to display the deployed configuration (`true`) or include any
884
- # pending changes (`false`). Defaults to `false`.
885
- # @return [Types::DescribeAvailabilityOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
886
- #
887
- # * {Types::DescribeAvailabilityOptionsResponse#availability_options #AvailabilityOptions} => Types::AvailabilityOptionsStatus
888
- #
889
- # @example Request syntax with placeholder values
890
- # resp = client.describe_availability_options({
891
- # domain_name: "DomainName", # required
892
- # deployed: false,
893
- # })
894
- #
895
- # @example Response structure
896
- # resp.availability_options.options #=> Boolean
897
- # resp.availability_options.status.creation_date #=> Time
898
- # resp.availability_options.status.update_date #=> Time
899
- # resp.availability_options.status.update_version #=> Integer
900
- # resp.availability_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
901
- # resp.availability_options.status.pending_deletion #=> Boolean
902
- # @overload describe_availability_options(params = {})
903
- # @param [Hash] params ({})
904
- def describe_availability_options(params = {}, options = {})
905
- req = build_request(:describe_availability_options, params)
906
- req.send_request(options)
907
- end
898
+ # Gets the analysis schemes configured for a domain. An analysis scheme
899
+ # defines language-specific text processing options for a `text` field.
900
+ # Can be limited to specific analysis schemes by name. By default, shows
901
+ # all analysis schemes and includes any pending changes to the
902
+ # configuration. Set the `Deployed` option to `true` to show the active
903
+ # configuration and exclude pending changes. For more information, see
904
+ # [Configuring Analysis Schemes][1] in the *Amazon CloudSearch Developer
905
+ # Guide*.
906
+ #
907
+ #
908
+ #
909
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html
910
+ #
911
+ # @option params [required, String] :domain_name
912
+ # The name of the domain you want to describe.
913
+ #
914
+ # @option params [Array<String>] :analysis_scheme_names
915
+ # The analysis schemes you want to describe.
916
+ #
917
+ # @option params [Boolean] :deployed
918
+ # Whether to display the deployed configuration (`true`) or include any
919
+ # pending changes (`false`). Defaults to `false`.
920
+ #
921
+ # @return [Types::DescribeAnalysisSchemesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
922
+ #
923
+ # * {Types::DescribeAnalysisSchemesResponse#analysis_schemes #analysis_schemes} => Array&lt;Types::AnalysisSchemeStatus&gt;
924
+ #
925
+ # @example Request syntax with placeholder values
926
+ #
927
+ # resp = client.describe_analysis_schemes({
928
+ # domain_name: "DomainName", # required
929
+ # analysis_scheme_names: ["StandardName"],
930
+ # deployed: false,
931
+ # })
932
+ #
933
+ # @example Response structure
934
+ #
935
+ # resp.analysis_schemes #=> Array
936
+ # resp.analysis_schemes[0].options.analysis_scheme_name #=> String
937
+ # resp.analysis_schemes[0].options.analysis_scheme_language #=> String, one of "ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hu", "hy", "id", "it", "ja", "ko", "lv", "mul", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr", "zh-Hans", "zh-Hant"
938
+ # resp.analysis_schemes[0].options.analysis_options.synonyms #=> String
939
+ # resp.analysis_schemes[0].options.analysis_options.stopwords #=> String
940
+ # resp.analysis_schemes[0].options.analysis_options.stemming_dictionary #=> String
941
+ # resp.analysis_schemes[0].options.analysis_options.japanese_tokenization_dictionary #=> String
942
+ # resp.analysis_schemes[0].options.analysis_options.algorithmic_stemming #=> String, one of "none", "minimal", "light", "full"
943
+ # resp.analysis_schemes[0].status.creation_date #=> Time
944
+ # resp.analysis_schemes[0].status.update_date #=> Time
945
+ # resp.analysis_schemes[0].status.update_version #=> Integer
946
+ # resp.analysis_schemes[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
947
+ # resp.analysis_schemes[0].status.pending_deletion #=> Boolean
948
+ #
949
+ # @overload describe_analysis_schemes(params = {})
950
+ # @param [Hash] params ({})
951
+ def describe_analysis_schemes(params = {}, options = {})
952
+ req = build_request(:describe_analysis_schemes, params)
953
+ req.send_request(options)
954
+ end
908
955
 
909
- # Gets information about the search domains owned by this account. Can
910
- # be limited to specific domains. Shows all domains by default. To get
911
- # the number of searchable documents in a domain, use the console or
912
- # submit a `matchall` request to your domain's search endpoint:
913
- # `q=matchall&amp;q.parser=structured&amp;size=0`. For more information,
914
- # see [Getting Information about a Search Domain][1] in the *Amazon
915
- # CloudSearch Developer Guide*.
916
- #
917
- #
918
- #
919
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html
920
- # @option params [Array<String>] :domain_names
921
- # The names of the domains you want to include in the response.
922
- # @return [Types::DescribeDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
923
- #
924
- # * {Types::DescribeDomainsResponse#domain_status_list #DomainStatusList} => Array&lt;Types::DomainStatus&gt;
925
- #
926
- # @example Request syntax with placeholder values
927
- # resp = client.describe_domains({
928
- # domain_names: ["DomainName"],
929
- # })
930
- #
931
- # @example Response structure
932
- # resp.domain_status_list #=> Array
933
- # resp.domain_status_list[0].domain_id #=> String
934
- # resp.domain_status_list[0].domain_name #=> String
935
- # resp.domain_status_list[0].arn #=> String
936
- # resp.domain_status_list[0].created #=> Boolean
937
- # resp.domain_status_list[0].deleted #=> Boolean
938
- # resp.domain_status_list[0].doc_service.endpoint #=> String
939
- # resp.domain_status_list[0].search_service.endpoint #=> String
940
- # resp.domain_status_list[0].requires_index_documents #=> Boolean
941
- # resp.domain_status_list[0].processing #=> Boolean
942
- # resp.domain_status_list[0].search_instance_type #=> String
943
- # resp.domain_status_list[0].search_partition_count #=> Integer
944
- # resp.domain_status_list[0].search_instance_count #=> Integer
945
- # resp.domain_status_list[0].limits.maximum_replication_count #=> Integer
946
- # resp.domain_status_list[0].limits.maximum_partition_count #=> Integer
947
- # @overload describe_domains(params = {})
948
- # @param [Hash] params ({})
949
- def describe_domains(params = {}, options = {})
950
- req = build_request(:describe_domains, params)
951
- req.send_request(options)
952
- end
956
+ # Gets the availability options configured for a domain. By default,
957
+ # shows the configuration with any pending changes. Set the `Deployed`
958
+ # option to `true` to show the active configuration and exclude pending
959
+ # changes. For more information, see [Configuring Availability
960
+ # Options][1] in the *Amazon CloudSearch Developer Guide*.
961
+ #
962
+ #
963
+ #
964
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html
965
+ #
966
+ # @option params [required, String] :domain_name
967
+ # The name of the domain you want to describe.
968
+ #
969
+ # @option params [Boolean] :deployed
970
+ # Whether to display the deployed configuration (`true`) or include any
971
+ # pending changes (`false`). Defaults to `false`.
972
+ #
973
+ # @return [Types::DescribeAvailabilityOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
974
+ #
975
+ # * {Types::DescribeAvailabilityOptionsResponse#availability_options #availability_options} => Types::AvailabilityOptionsStatus
976
+ #
977
+ # @example Request syntax with placeholder values
978
+ #
979
+ # resp = client.describe_availability_options({
980
+ # domain_name: "DomainName", # required
981
+ # deployed: false,
982
+ # })
983
+ #
984
+ # @example Response structure
985
+ #
986
+ # resp.availability_options.options #=> Boolean
987
+ # resp.availability_options.status.creation_date #=> Time
988
+ # resp.availability_options.status.update_date #=> Time
989
+ # resp.availability_options.status.update_version #=> Integer
990
+ # resp.availability_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
991
+ # resp.availability_options.status.pending_deletion #=> Boolean
992
+ #
993
+ # @overload describe_availability_options(params = {})
994
+ # @param [Hash] params ({})
995
+ def describe_availability_options(params = {}, options = {})
996
+ req = build_request(:describe_availability_options, params)
997
+ req.send_request(options)
998
+ end
953
999
 
954
- # Gets the expressions configured for the search domain. Can be limited
955
- # to specific expressions by name. By default, shows all expressions and
956
- # includes any pending changes to the configuration. Set the `Deployed`
957
- # option to `true` to show the active configuration and exclude pending
958
- # changes. For more information, see [Configuring Expressions][1] in the
959
- # *Amazon CloudSearch Developer Guide*.
960
- #
961
- #
962
- #
963
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
964
- # @option params [required, String] :domain_name
965
- # The name of the domain you want to describe.
966
- # @option params [Array<String>] :expression_names
967
- # Limits the `DescribeExpressions` response to the specified
968
- # expressions. If not specified, all expressions are shown.
969
- # @option params [Boolean] :deployed
970
- # Whether to display the deployed configuration (`true`) or include any
971
- # pending changes (`false`). Defaults to `false`.
972
- # @return [Types::DescribeExpressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
973
- #
974
- # * {Types::DescribeExpressionsResponse#expressions #Expressions} => Array&lt;Types::ExpressionStatus&gt;
975
- #
976
- # @example Request syntax with placeholder values
977
- # resp = client.describe_expressions({
978
- # domain_name: "DomainName", # required
979
- # expression_names: ["StandardName"],
980
- # deployed: false,
981
- # })
982
- #
983
- # @example Response structure
984
- # resp.expressions #=> Array
985
- # resp.expressions[0].options.expression_name #=> String
986
- # resp.expressions[0].options.expression_value #=> String
987
- # resp.expressions[0].status.creation_date #=> Time
988
- # resp.expressions[0].status.update_date #=> Time
989
- # resp.expressions[0].status.update_version #=> Integer
990
- # resp.expressions[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
991
- # resp.expressions[0].status.pending_deletion #=> Boolean
992
- # @overload describe_expressions(params = {})
993
- # @param [Hash] params ({})
994
- def describe_expressions(params = {}, options = {})
995
- req = build_request(:describe_expressions, params)
996
- req.send_request(options)
997
- end
1000
+ # Gets information about the search domains owned by this account. Can
1001
+ # be limited to specific domains. Shows all domains by default. To get
1002
+ # the number of searchable documents in a domain, use the console or
1003
+ # submit a `matchall` request to your domain's search endpoint:
1004
+ # `q=matchall&amp;q.parser=structured&amp;size=0`. For more information,
1005
+ # see [Getting Information about a Search Domain][1] in the *Amazon
1006
+ # CloudSearch Developer Guide*.
1007
+ #
1008
+ #
1009
+ #
1010
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html
1011
+ #
1012
+ # @option params [Array<String>] :domain_names
1013
+ # The names of the domains you want to include in the response.
1014
+ #
1015
+ # @return [Types::DescribeDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1016
+ #
1017
+ # * {Types::DescribeDomainsResponse#domain_status_list #domain_status_list} => Array&lt;Types::DomainStatus&gt;
1018
+ #
1019
+ # @example Request syntax with placeholder values
1020
+ #
1021
+ # resp = client.describe_domains({
1022
+ # domain_names: ["DomainName"],
1023
+ # })
1024
+ #
1025
+ # @example Response structure
1026
+ #
1027
+ # resp.domain_status_list #=> Array
1028
+ # resp.domain_status_list[0].domain_id #=> String
1029
+ # resp.domain_status_list[0].domain_name #=> String
1030
+ # resp.domain_status_list[0].arn #=> String
1031
+ # resp.domain_status_list[0].created #=> Boolean
1032
+ # resp.domain_status_list[0].deleted #=> Boolean
1033
+ # resp.domain_status_list[0].doc_service.endpoint #=> String
1034
+ # resp.domain_status_list[0].search_service.endpoint #=> String
1035
+ # resp.domain_status_list[0].requires_index_documents #=> Boolean
1036
+ # resp.domain_status_list[0].processing #=> Boolean
1037
+ # resp.domain_status_list[0].search_instance_type #=> String
1038
+ # resp.domain_status_list[0].search_partition_count #=> Integer
1039
+ # resp.domain_status_list[0].search_instance_count #=> Integer
1040
+ # resp.domain_status_list[0].limits.maximum_replication_count #=> Integer
1041
+ # resp.domain_status_list[0].limits.maximum_partition_count #=> Integer
1042
+ #
1043
+ # @overload describe_domains(params = {})
1044
+ # @param [Hash] params ({})
1045
+ def describe_domains(params = {}, options = {})
1046
+ req = build_request(:describe_domains, params)
1047
+ req.send_request(options)
1048
+ end
998
1049
 
999
- # Gets information about the index fields configured for the search
1000
- # domain. Can be limited to specific fields by name. By default, shows
1001
- # all fields and includes any pending changes to the configuration. Set
1002
- # the `Deployed` option to `true` to show the active configuration and
1003
- # exclude pending changes. For more information, see [Getting Domain
1004
- # Information][1] in the *Amazon CloudSearch Developer Guide*.
1005
- #
1006
- #
1007
- #
1008
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html
1009
- # @option params [required, String] :domain_name
1010
- # The name of the domain you want to describe.
1011
- # @option params [Array<String>] :field_names
1012
- # A list of the index fields you want to describe. If not specified,
1013
- # information is returned for all configured index fields.
1014
- # @option params [Boolean] :deployed
1015
- # Whether to display the deployed configuration (`true`) or include any
1016
- # pending changes (`false`). Defaults to `false`.
1017
- # @return [Types::DescribeIndexFieldsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1018
- #
1019
- # * {Types::DescribeIndexFieldsResponse#index_fields #IndexFields} => Array&lt;Types::IndexFieldStatus&gt;
1020
- #
1021
- # @example Request syntax with placeholder values
1022
- # resp = client.describe_index_fields({
1023
- # domain_name: "DomainName", # required
1024
- # field_names: ["DynamicFieldName"],
1025
- # deployed: false,
1026
- # })
1027
- #
1028
- # @example Response structure
1029
- # resp.index_fields #=> Array
1030
- # resp.index_fields[0].options.index_field_name #=> String
1031
- # resp.index_fields[0].options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
1032
- # resp.index_fields[0].options.int_options.default_value #=> Integer
1033
- # resp.index_fields[0].options.int_options.source_field #=> String
1034
- # resp.index_fields[0].options.int_options.facet_enabled #=> Boolean
1035
- # resp.index_fields[0].options.int_options.search_enabled #=> Boolean
1036
- # resp.index_fields[0].options.int_options.return_enabled #=> Boolean
1037
- # resp.index_fields[0].options.int_options.sort_enabled #=> Boolean
1038
- # resp.index_fields[0].options.double_options.default_value #=> Float
1039
- # resp.index_fields[0].options.double_options.source_field #=> String
1040
- # resp.index_fields[0].options.double_options.facet_enabled #=> Boolean
1041
- # resp.index_fields[0].options.double_options.search_enabled #=> Boolean
1042
- # resp.index_fields[0].options.double_options.return_enabled #=> Boolean
1043
- # resp.index_fields[0].options.double_options.sort_enabled #=> Boolean
1044
- # resp.index_fields[0].options.literal_options.default_value #=> String
1045
- # resp.index_fields[0].options.literal_options.source_field #=> String
1046
- # resp.index_fields[0].options.literal_options.facet_enabled #=> Boolean
1047
- # resp.index_fields[0].options.literal_options.search_enabled #=> Boolean
1048
- # resp.index_fields[0].options.literal_options.return_enabled #=> Boolean
1049
- # resp.index_fields[0].options.literal_options.sort_enabled #=> Boolean
1050
- # resp.index_fields[0].options.text_options.default_value #=> String
1051
- # resp.index_fields[0].options.text_options.source_field #=> String
1052
- # resp.index_fields[0].options.text_options.return_enabled #=> Boolean
1053
- # resp.index_fields[0].options.text_options.sort_enabled #=> Boolean
1054
- # resp.index_fields[0].options.text_options.highlight_enabled #=> Boolean
1055
- # resp.index_fields[0].options.text_options.analysis_scheme #=> String
1056
- # resp.index_fields[0].options.date_options.default_value #=> String
1057
- # resp.index_fields[0].options.date_options.source_field #=> String
1058
- # resp.index_fields[0].options.date_options.facet_enabled #=> Boolean
1059
- # resp.index_fields[0].options.date_options.search_enabled #=> Boolean
1060
- # resp.index_fields[0].options.date_options.return_enabled #=> Boolean
1061
- # resp.index_fields[0].options.date_options.sort_enabled #=> Boolean
1062
- # resp.index_fields[0].options.lat_lon_options.default_value #=> String
1063
- # resp.index_fields[0].options.lat_lon_options.source_field #=> String
1064
- # resp.index_fields[0].options.lat_lon_options.facet_enabled #=> Boolean
1065
- # resp.index_fields[0].options.lat_lon_options.search_enabled #=> Boolean
1066
- # resp.index_fields[0].options.lat_lon_options.return_enabled #=> Boolean
1067
- # resp.index_fields[0].options.lat_lon_options.sort_enabled #=> Boolean
1068
- # resp.index_fields[0].options.int_array_options.default_value #=> Integer
1069
- # resp.index_fields[0].options.int_array_options.source_fields #=> String
1070
- # resp.index_fields[0].options.int_array_options.facet_enabled #=> Boolean
1071
- # resp.index_fields[0].options.int_array_options.search_enabled #=> Boolean
1072
- # resp.index_fields[0].options.int_array_options.return_enabled #=> Boolean
1073
- # resp.index_fields[0].options.double_array_options.default_value #=> Float
1074
- # resp.index_fields[0].options.double_array_options.source_fields #=> String
1075
- # resp.index_fields[0].options.double_array_options.facet_enabled #=> Boolean
1076
- # resp.index_fields[0].options.double_array_options.search_enabled #=> Boolean
1077
- # resp.index_fields[0].options.double_array_options.return_enabled #=> Boolean
1078
- # resp.index_fields[0].options.literal_array_options.default_value #=> String
1079
- # resp.index_fields[0].options.literal_array_options.source_fields #=> String
1080
- # resp.index_fields[0].options.literal_array_options.facet_enabled #=> Boolean
1081
- # resp.index_fields[0].options.literal_array_options.search_enabled #=> Boolean
1082
- # resp.index_fields[0].options.literal_array_options.return_enabled #=> Boolean
1083
- # resp.index_fields[0].options.text_array_options.default_value #=> String
1084
- # resp.index_fields[0].options.text_array_options.source_fields #=> String
1085
- # resp.index_fields[0].options.text_array_options.return_enabled #=> Boolean
1086
- # resp.index_fields[0].options.text_array_options.highlight_enabled #=> Boolean
1087
- # resp.index_fields[0].options.text_array_options.analysis_scheme #=> String
1088
- # resp.index_fields[0].options.date_array_options.default_value #=> String
1089
- # resp.index_fields[0].options.date_array_options.source_fields #=> String
1090
- # resp.index_fields[0].options.date_array_options.facet_enabled #=> Boolean
1091
- # resp.index_fields[0].options.date_array_options.search_enabled #=> Boolean
1092
- # resp.index_fields[0].options.date_array_options.return_enabled #=> Boolean
1093
- # resp.index_fields[0].status.creation_date #=> Time
1094
- # resp.index_fields[0].status.update_date #=> Time
1095
- # resp.index_fields[0].status.update_version #=> Integer
1096
- # resp.index_fields[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1097
- # resp.index_fields[0].status.pending_deletion #=> Boolean
1098
- # @overload describe_index_fields(params = {})
1099
- # @param [Hash] params ({})
1100
- def describe_index_fields(params = {}, options = {})
1101
- req = build_request(:describe_index_fields, params)
1102
- req.send_request(options)
1103
- end
1050
+ # Gets the expressions configured for the search domain. Can be limited
1051
+ # to specific expressions by name. By default, shows all expressions and
1052
+ # includes any pending changes to the configuration. Set the `Deployed`
1053
+ # option to `true` to show the active configuration and exclude pending
1054
+ # changes. For more information, see [Configuring Expressions][1] in the
1055
+ # *Amazon CloudSearch Developer Guide*.
1056
+ #
1057
+ #
1058
+ #
1059
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
1060
+ #
1061
+ # @option params [required, String] :domain_name
1062
+ # The name of the domain you want to describe.
1063
+ #
1064
+ # @option params [Array<String>] :expression_names
1065
+ # Limits the `DescribeExpressions` response to the specified
1066
+ # expressions. If not specified, all expressions are shown.
1067
+ #
1068
+ # @option params [Boolean] :deployed
1069
+ # Whether to display the deployed configuration (`true`) or include any
1070
+ # pending changes (`false`). Defaults to `false`.
1071
+ #
1072
+ # @return [Types::DescribeExpressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1073
+ #
1074
+ # * {Types::DescribeExpressionsResponse#expressions #expressions} => Array&lt;Types::ExpressionStatus&gt;
1075
+ #
1076
+ # @example Request syntax with placeholder values
1077
+ #
1078
+ # resp = client.describe_expressions({
1079
+ # domain_name: "DomainName", # required
1080
+ # expression_names: ["StandardName"],
1081
+ # deployed: false,
1082
+ # })
1083
+ #
1084
+ # @example Response structure
1085
+ #
1086
+ # resp.expressions #=> Array
1087
+ # resp.expressions[0].options.expression_name #=> String
1088
+ # resp.expressions[0].options.expression_value #=> String
1089
+ # resp.expressions[0].status.creation_date #=> Time
1090
+ # resp.expressions[0].status.update_date #=> Time
1091
+ # resp.expressions[0].status.update_version #=> Integer
1092
+ # resp.expressions[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1093
+ # resp.expressions[0].status.pending_deletion #=> Boolean
1094
+ #
1095
+ # @overload describe_expressions(params = {})
1096
+ # @param [Hash] params ({})
1097
+ def describe_expressions(params = {}, options = {})
1098
+ req = build_request(:describe_expressions, params)
1099
+ req.send_request(options)
1100
+ end
1104
1101
 
1105
- # Gets the scaling parameters configured for a domain. A domain's
1106
- # scaling parameters specify the desired search instance type and
1107
- # replication count. For more information, see [Configuring Scaling
1108
- # Options][1] in the *Amazon CloudSearch Developer Guide*.
1109
- #
1110
- #
1111
- #
1112
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html
1113
- # @option params [required, String] :domain_name
1114
- # A string that represents the name of a domain. Domain names are unique
1115
- # across the domains owned by an account within an AWS region. Domain
1116
- # names start with a letter or number and can contain the following
1117
- # characters: a-z (lowercase), 0-9, and - (hyphen).
1118
- # @return [Types::DescribeScalingParametersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1119
- #
1120
- # * {Types::DescribeScalingParametersResponse#scaling_parameters #ScalingParameters} => Types::ScalingParametersStatus
1121
- #
1122
- # @example Request syntax with placeholder values
1123
- # resp = client.describe_scaling_parameters({
1124
- # domain_name: "DomainName", # required
1125
- # })
1126
- #
1127
- # @example Response structure
1128
- # resp.scaling_parameters.options.desired_instance_type #=> String, one of "search.m1.small", "search.m1.large", "search.m2.xlarge", "search.m2.2xlarge", "search.m3.medium", "search.m3.large", "search.m3.xlarge", "search.m3.2xlarge"
1129
- # resp.scaling_parameters.options.desired_replication_count #=> Integer
1130
- # resp.scaling_parameters.options.desired_partition_count #=> Integer
1131
- # resp.scaling_parameters.status.creation_date #=> Time
1132
- # resp.scaling_parameters.status.update_date #=> Time
1133
- # resp.scaling_parameters.status.update_version #=> Integer
1134
- # resp.scaling_parameters.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1135
- # resp.scaling_parameters.status.pending_deletion #=> Boolean
1136
- # @overload describe_scaling_parameters(params = {})
1137
- # @param [Hash] params ({})
1138
- def describe_scaling_parameters(params = {}, options = {})
1139
- req = build_request(:describe_scaling_parameters, params)
1140
- req.send_request(options)
1141
- end
1102
+ # Gets information about the index fields configured for the search
1103
+ # domain. Can be limited to specific fields by name. By default, shows
1104
+ # all fields and includes any pending changes to the configuration. Set
1105
+ # the `Deployed` option to `true` to show the active configuration and
1106
+ # exclude pending changes. For more information, see [Getting Domain
1107
+ # Information][1] in the *Amazon CloudSearch Developer Guide*.
1108
+ #
1109
+ #
1110
+ #
1111
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html
1112
+ #
1113
+ # @option params [required, String] :domain_name
1114
+ # The name of the domain you want to describe.
1115
+ #
1116
+ # @option params [Array<String>] :field_names
1117
+ # A list of the index fields you want to describe. If not specified,
1118
+ # information is returned for all configured index fields.
1119
+ #
1120
+ # @option params [Boolean] :deployed
1121
+ # Whether to display the deployed configuration (`true`) or include any
1122
+ # pending changes (`false`). Defaults to `false`.
1123
+ #
1124
+ # @return [Types::DescribeIndexFieldsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1125
+ #
1126
+ # * {Types::DescribeIndexFieldsResponse#index_fields #index_fields} => Array&lt;Types::IndexFieldStatus&gt;
1127
+ #
1128
+ # @example Request syntax with placeholder values
1129
+ #
1130
+ # resp = client.describe_index_fields({
1131
+ # domain_name: "DomainName", # required
1132
+ # field_names: ["DynamicFieldName"],
1133
+ # deployed: false,
1134
+ # })
1135
+ #
1136
+ # @example Response structure
1137
+ #
1138
+ # resp.index_fields #=> Array
1139
+ # resp.index_fields[0].options.index_field_name #=> String
1140
+ # resp.index_fields[0].options.index_field_type #=> String, one of "int", "double", "literal", "text", "date", "latlon", "int-array", "double-array", "literal-array", "text-array", "date-array"
1141
+ # resp.index_fields[0].options.int_options.default_value #=> Integer
1142
+ # resp.index_fields[0].options.int_options.source_field #=> String
1143
+ # resp.index_fields[0].options.int_options.facet_enabled #=> Boolean
1144
+ # resp.index_fields[0].options.int_options.search_enabled #=> Boolean
1145
+ # resp.index_fields[0].options.int_options.return_enabled #=> Boolean
1146
+ # resp.index_fields[0].options.int_options.sort_enabled #=> Boolean
1147
+ # resp.index_fields[0].options.double_options.default_value #=> Float
1148
+ # resp.index_fields[0].options.double_options.source_field #=> String
1149
+ # resp.index_fields[0].options.double_options.facet_enabled #=> Boolean
1150
+ # resp.index_fields[0].options.double_options.search_enabled #=> Boolean
1151
+ # resp.index_fields[0].options.double_options.return_enabled #=> Boolean
1152
+ # resp.index_fields[0].options.double_options.sort_enabled #=> Boolean
1153
+ # resp.index_fields[0].options.literal_options.default_value #=> String
1154
+ # resp.index_fields[0].options.literal_options.source_field #=> String
1155
+ # resp.index_fields[0].options.literal_options.facet_enabled #=> Boolean
1156
+ # resp.index_fields[0].options.literal_options.search_enabled #=> Boolean
1157
+ # resp.index_fields[0].options.literal_options.return_enabled #=> Boolean
1158
+ # resp.index_fields[0].options.literal_options.sort_enabled #=> Boolean
1159
+ # resp.index_fields[0].options.text_options.default_value #=> String
1160
+ # resp.index_fields[0].options.text_options.source_field #=> String
1161
+ # resp.index_fields[0].options.text_options.return_enabled #=> Boolean
1162
+ # resp.index_fields[0].options.text_options.sort_enabled #=> Boolean
1163
+ # resp.index_fields[0].options.text_options.highlight_enabled #=> Boolean
1164
+ # resp.index_fields[0].options.text_options.analysis_scheme #=> String
1165
+ # resp.index_fields[0].options.date_options.default_value #=> String
1166
+ # resp.index_fields[0].options.date_options.source_field #=> String
1167
+ # resp.index_fields[0].options.date_options.facet_enabled #=> Boolean
1168
+ # resp.index_fields[0].options.date_options.search_enabled #=> Boolean
1169
+ # resp.index_fields[0].options.date_options.return_enabled #=> Boolean
1170
+ # resp.index_fields[0].options.date_options.sort_enabled #=> Boolean
1171
+ # resp.index_fields[0].options.lat_lon_options.default_value #=> String
1172
+ # resp.index_fields[0].options.lat_lon_options.source_field #=> String
1173
+ # resp.index_fields[0].options.lat_lon_options.facet_enabled #=> Boolean
1174
+ # resp.index_fields[0].options.lat_lon_options.search_enabled #=> Boolean
1175
+ # resp.index_fields[0].options.lat_lon_options.return_enabled #=> Boolean
1176
+ # resp.index_fields[0].options.lat_lon_options.sort_enabled #=> Boolean
1177
+ # resp.index_fields[0].options.int_array_options.default_value #=> Integer
1178
+ # resp.index_fields[0].options.int_array_options.source_fields #=> String
1179
+ # resp.index_fields[0].options.int_array_options.facet_enabled #=> Boolean
1180
+ # resp.index_fields[0].options.int_array_options.search_enabled #=> Boolean
1181
+ # resp.index_fields[0].options.int_array_options.return_enabled #=> Boolean
1182
+ # resp.index_fields[0].options.double_array_options.default_value #=> Float
1183
+ # resp.index_fields[0].options.double_array_options.source_fields #=> String
1184
+ # resp.index_fields[0].options.double_array_options.facet_enabled #=> Boolean
1185
+ # resp.index_fields[0].options.double_array_options.search_enabled #=> Boolean
1186
+ # resp.index_fields[0].options.double_array_options.return_enabled #=> Boolean
1187
+ # resp.index_fields[0].options.literal_array_options.default_value #=> String
1188
+ # resp.index_fields[0].options.literal_array_options.source_fields #=> String
1189
+ # resp.index_fields[0].options.literal_array_options.facet_enabled #=> Boolean
1190
+ # resp.index_fields[0].options.literal_array_options.search_enabled #=> Boolean
1191
+ # resp.index_fields[0].options.literal_array_options.return_enabled #=> Boolean
1192
+ # resp.index_fields[0].options.text_array_options.default_value #=> String
1193
+ # resp.index_fields[0].options.text_array_options.source_fields #=> String
1194
+ # resp.index_fields[0].options.text_array_options.return_enabled #=> Boolean
1195
+ # resp.index_fields[0].options.text_array_options.highlight_enabled #=> Boolean
1196
+ # resp.index_fields[0].options.text_array_options.analysis_scheme #=> String
1197
+ # resp.index_fields[0].options.date_array_options.default_value #=> String
1198
+ # resp.index_fields[0].options.date_array_options.source_fields #=> String
1199
+ # resp.index_fields[0].options.date_array_options.facet_enabled #=> Boolean
1200
+ # resp.index_fields[0].options.date_array_options.search_enabled #=> Boolean
1201
+ # resp.index_fields[0].options.date_array_options.return_enabled #=> Boolean
1202
+ # resp.index_fields[0].status.creation_date #=> Time
1203
+ # resp.index_fields[0].status.update_date #=> Time
1204
+ # resp.index_fields[0].status.update_version #=> Integer
1205
+ # resp.index_fields[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1206
+ # resp.index_fields[0].status.pending_deletion #=> Boolean
1207
+ #
1208
+ # @overload describe_index_fields(params = {})
1209
+ # @param [Hash] params ({})
1210
+ def describe_index_fields(params = {}, options = {})
1211
+ req = build_request(:describe_index_fields, params)
1212
+ req.send_request(options)
1213
+ end
1142
1214
 
1143
- # Gets information about the access policies that control access to the
1144
- # domain's document and search endpoints. By default, shows the
1145
- # configuration with any pending changes. Set the `Deployed` option to
1146
- # `true` to show the active configuration and exclude pending changes.
1147
- # For more information, see [Configuring Access for a Search Domain][1]
1148
- # in the *Amazon CloudSearch Developer Guide*.
1149
- #
1150
- #
1151
- #
1152
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
1153
- # @option params [required, String] :domain_name
1154
- # The name of the domain you want to describe.
1155
- # @option params [Boolean] :deployed
1156
- # Whether to display the deployed configuration (`true`) or include any
1157
- # pending changes (`false`). Defaults to `false`.
1158
- # @return [Types::DescribeServiceAccessPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1159
- #
1160
- # * {Types::DescribeServiceAccessPoliciesResponse#access_policies #AccessPolicies} => Types::AccessPoliciesStatus
1161
- #
1162
- # @example Request syntax with placeholder values
1163
- # resp = client.describe_service_access_policies({
1164
- # domain_name: "DomainName", # required
1165
- # deployed: false,
1166
- # })
1167
- #
1168
- # @example Response structure
1169
- # resp.access_policies.options #=> String
1170
- # resp.access_policies.status.creation_date #=> Time
1171
- # resp.access_policies.status.update_date #=> Time
1172
- # resp.access_policies.status.update_version #=> Integer
1173
- # resp.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1174
- # resp.access_policies.status.pending_deletion #=> Boolean
1175
- # @overload describe_service_access_policies(params = {})
1176
- # @param [Hash] params ({})
1177
- def describe_service_access_policies(params = {}, options = {})
1178
- req = build_request(:describe_service_access_policies, params)
1179
- req.send_request(options)
1180
- end
1215
+ # Gets the scaling parameters configured for a domain. A domain's
1216
+ # scaling parameters specify the desired search instance type and
1217
+ # replication count. For more information, see [Configuring Scaling
1218
+ # Options][1] in the *Amazon CloudSearch Developer Guide*.
1219
+ #
1220
+ #
1221
+ #
1222
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html
1223
+ #
1224
+ # @option params [required, String] :domain_name
1225
+ # A string that represents the name of a domain. Domain names are unique
1226
+ # across the domains owned by an account within an AWS region. Domain
1227
+ # names start with a letter or number and can contain the following
1228
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1229
+ #
1230
+ # @return [Types::DescribeScalingParametersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1231
+ #
1232
+ # * {Types::DescribeScalingParametersResponse#scaling_parameters #scaling_parameters} => Types::ScalingParametersStatus
1233
+ #
1234
+ # @example Request syntax with placeholder values
1235
+ #
1236
+ # resp = client.describe_scaling_parameters({
1237
+ # domain_name: "DomainName", # required
1238
+ # })
1239
+ #
1240
+ # @example Response structure
1241
+ #
1242
+ # resp.scaling_parameters.options.desired_instance_type #=> String, one of "search.m1.small", "search.m1.large", "search.m2.xlarge", "search.m2.2xlarge", "search.m3.medium", "search.m3.large", "search.m3.xlarge", "search.m3.2xlarge"
1243
+ # resp.scaling_parameters.options.desired_replication_count #=> Integer
1244
+ # resp.scaling_parameters.options.desired_partition_count #=> Integer
1245
+ # resp.scaling_parameters.status.creation_date #=> Time
1246
+ # resp.scaling_parameters.status.update_date #=> Time
1247
+ # resp.scaling_parameters.status.update_version #=> Integer
1248
+ # resp.scaling_parameters.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1249
+ # resp.scaling_parameters.status.pending_deletion #=> Boolean
1250
+ #
1251
+ # @overload describe_scaling_parameters(params = {})
1252
+ # @param [Hash] params ({})
1253
+ def describe_scaling_parameters(params = {}, options = {})
1254
+ req = build_request(:describe_scaling_parameters, params)
1255
+ req.send_request(options)
1256
+ end
1181
1257
 
1182
- # Gets the suggesters configured for a domain. A suggester enables you
1183
- # to display possible matches before users finish typing their queries.
1184
- # Can be limited to specific suggesters by name. By default, shows all
1185
- # suggesters and includes any pending changes to the configuration. Set
1186
- # the `Deployed` option to `true` to show the active configuration and
1187
- # exclude pending changes. For more information, see [Getting Search
1188
- # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
1189
- #
1190
- #
1191
- #
1192
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
1193
- # @option params [required, String] :domain_name
1194
- # The name of the domain you want to describe.
1195
- # @option params [Array<String>] :suggester_names
1196
- # The suggesters you want to describe.
1197
- # @option params [Boolean] :deployed
1198
- # Whether to display the deployed configuration (`true`) or include any
1199
- # pending changes (`false`). Defaults to `false`.
1200
- # @return [Types::DescribeSuggestersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1201
- #
1202
- # * {Types::DescribeSuggestersResponse#suggesters #Suggesters} => Array&lt;Types::SuggesterStatus&gt;
1203
- #
1204
- # @example Request syntax with placeholder values
1205
- # resp = client.describe_suggesters({
1206
- # domain_name: "DomainName", # required
1207
- # suggester_names: ["StandardName"],
1208
- # deployed: false,
1209
- # })
1210
- #
1211
- # @example Response structure
1212
- # resp.suggesters #=> Array
1213
- # resp.suggesters[0].options.suggester_name #=> String
1214
- # resp.suggesters[0].options.document_suggester_options.source_field #=> String
1215
- # resp.suggesters[0].options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
1216
- # resp.suggesters[0].options.document_suggester_options.sort_expression #=> String
1217
- # resp.suggesters[0].status.creation_date #=> Time
1218
- # resp.suggesters[0].status.update_date #=> Time
1219
- # resp.suggesters[0].status.update_version #=> Integer
1220
- # resp.suggesters[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1221
- # resp.suggesters[0].status.pending_deletion #=> Boolean
1222
- # @overload describe_suggesters(params = {})
1223
- # @param [Hash] params ({})
1224
- def describe_suggesters(params = {}, options = {})
1225
- req = build_request(:describe_suggesters, params)
1226
- req.send_request(options)
1227
- end
1258
+ # Gets information about the access policies that control access to the
1259
+ # domain's document and search endpoints. By default, shows the
1260
+ # configuration with any pending changes. Set the `Deployed` option to
1261
+ # `true` to show the active configuration and exclude pending changes.
1262
+ # For more information, see [Configuring Access for a Search Domain][1]
1263
+ # in the *Amazon CloudSearch Developer Guide*.
1264
+ #
1265
+ #
1266
+ #
1267
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
1268
+ #
1269
+ # @option params [required, String] :domain_name
1270
+ # The name of the domain you want to describe.
1271
+ #
1272
+ # @option params [Boolean] :deployed
1273
+ # Whether to display the deployed configuration (`true`) or include any
1274
+ # pending changes (`false`). Defaults to `false`.
1275
+ #
1276
+ # @return [Types::DescribeServiceAccessPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1277
+ #
1278
+ # * {Types::DescribeServiceAccessPoliciesResponse#access_policies #access_policies} => Types::AccessPoliciesStatus
1279
+ #
1280
+ # @example Request syntax with placeholder values
1281
+ #
1282
+ # resp = client.describe_service_access_policies({
1283
+ # domain_name: "DomainName", # required
1284
+ # deployed: false,
1285
+ # })
1286
+ #
1287
+ # @example Response structure
1288
+ #
1289
+ # resp.access_policies.options #=> String
1290
+ # resp.access_policies.status.creation_date #=> Time
1291
+ # resp.access_policies.status.update_date #=> Time
1292
+ # resp.access_policies.status.update_version #=> Integer
1293
+ # resp.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1294
+ # resp.access_policies.status.pending_deletion #=> Boolean
1295
+ #
1296
+ # @overload describe_service_access_policies(params = {})
1297
+ # @param [Hash] params ({})
1298
+ def describe_service_access_policies(params = {}, options = {})
1299
+ req = build_request(:describe_service_access_policies, params)
1300
+ req.send_request(options)
1301
+ end
1228
1302
 
1229
- # Tells the search domain to start indexing its documents using the
1230
- # latest indexing options. This operation must be invoked to activate
1231
- # options whose OptionStatus is `RequiresIndexDocuments`.
1232
- # @option params [required, String] :domain_name
1233
- # A string that represents the name of a domain. Domain names are unique
1234
- # across the domains owned by an account within an AWS region. Domain
1235
- # names start with a letter or number and can contain the following
1236
- # characters: a-z (lowercase), 0-9, and - (hyphen).
1237
- # @return [Types::IndexDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1238
- #
1239
- # * {Types::IndexDocumentsResponse#field_names #FieldNames} => Array&lt;String&gt;
1240
- #
1241
- # @example Request syntax with placeholder values
1242
- # resp = client.index_documents({
1243
- # domain_name: "DomainName", # required
1244
- # })
1245
- #
1246
- # @example Response structure
1247
- # resp.field_names #=> Array
1248
- # resp.field_names[0] #=> String
1249
- # @overload index_documents(params = {})
1250
- # @param [Hash] params ({})
1251
- def index_documents(params = {}, options = {})
1252
- req = build_request(:index_documents, params)
1253
- req.send_request(options)
1254
- end
1303
+ # Gets the suggesters configured for a domain. A suggester enables you
1304
+ # to display possible matches before users finish typing their queries.
1305
+ # Can be limited to specific suggesters by name. By default, shows all
1306
+ # suggesters and includes any pending changes to the configuration. Set
1307
+ # the `Deployed` option to `true` to show the active configuration and
1308
+ # exclude pending changes. For more information, see [Getting Search
1309
+ # Suggestions][1] in the *Amazon CloudSearch Developer Guide*.
1310
+ #
1311
+ #
1312
+ #
1313
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html
1314
+ #
1315
+ # @option params [required, String] :domain_name
1316
+ # The name of the domain you want to describe.
1317
+ #
1318
+ # @option params [Array<String>] :suggester_names
1319
+ # The suggesters you want to describe.
1320
+ #
1321
+ # @option params [Boolean] :deployed
1322
+ # Whether to display the deployed configuration (`true`) or include any
1323
+ # pending changes (`false`). Defaults to `false`.
1324
+ #
1325
+ # @return [Types::DescribeSuggestersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1326
+ #
1327
+ # * {Types::DescribeSuggestersResponse#suggesters #suggesters} => Array&lt;Types::SuggesterStatus&gt;
1328
+ #
1329
+ # @example Request syntax with placeholder values
1330
+ #
1331
+ # resp = client.describe_suggesters({
1332
+ # domain_name: "DomainName", # required
1333
+ # suggester_names: ["StandardName"],
1334
+ # deployed: false,
1335
+ # })
1336
+ #
1337
+ # @example Response structure
1338
+ #
1339
+ # resp.suggesters #=> Array
1340
+ # resp.suggesters[0].options.suggester_name #=> String
1341
+ # resp.suggesters[0].options.document_suggester_options.source_field #=> String
1342
+ # resp.suggesters[0].options.document_suggester_options.fuzzy_matching #=> String, one of "none", "low", "high"
1343
+ # resp.suggesters[0].options.document_suggester_options.sort_expression #=> String
1344
+ # resp.suggesters[0].status.creation_date #=> Time
1345
+ # resp.suggesters[0].status.update_date #=> Time
1346
+ # resp.suggesters[0].status.update_version #=> Integer
1347
+ # resp.suggesters[0].status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1348
+ # resp.suggesters[0].status.pending_deletion #=> Boolean
1349
+ #
1350
+ # @overload describe_suggesters(params = {})
1351
+ # @param [Hash] params ({})
1352
+ def describe_suggesters(params = {}, options = {})
1353
+ req = build_request(:describe_suggesters, params)
1354
+ req.send_request(options)
1355
+ end
1255
1356
 
1256
- # Lists all search domains owned by an account.
1257
- # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1258
- #
1259
- # * {Types::ListDomainNamesResponse#domain_names #DomainNames} => Hash&lt;String,String&gt;
1260
- #
1261
- # @example Response structure
1262
- # resp.domain_names #=> Hash
1263
- # resp.domain_names["DomainName"] #=> String
1264
- # @overload list_domain_names(params = {})
1265
- # @param [Hash] params ({})
1266
- def list_domain_names(params = {}, options = {})
1267
- req = build_request(:list_domain_names, params)
1268
- req.send_request(options)
1269
- end
1357
+ # Tells the search domain to start indexing its documents using the
1358
+ # latest indexing options. This operation must be invoked to activate
1359
+ # options whose OptionStatus is `RequiresIndexDocuments`.
1360
+ #
1361
+ # @option params [required, String] :domain_name
1362
+ # A string that represents the name of a domain. Domain names are unique
1363
+ # across the domains owned by an account within an AWS region. Domain
1364
+ # names start with a letter or number and can contain the following
1365
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1366
+ #
1367
+ # @return [Types::IndexDocumentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1368
+ #
1369
+ # * {Types::IndexDocumentsResponse#field_names #field_names} => Array&lt;String&gt;
1370
+ #
1371
+ # @example Request syntax with placeholder values
1372
+ #
1373
+ # resp = client.index_documents({
1374
+ # domain_name: "DomainName", # required
1375
+ # })
1376
+ #
1377
+ # @example Response structure
1378
+ #
1379
+ # resp.field_names #=> Array
1380
+ # resp.field_names[0] #=> String
1381
+ #
1382
+ # @overload index_documents(params = {})
1383
+ # @param [Hash] params ({})
1384
+ def index_documents(params = {}, options = {})
1385
+ req = build_request(:index_documents, params)
1386
+ req.send_request(options)
1387
+ end
1270
1388
 
1271
- # Configures the availability options for a domain. Enabling the
1272
- # Multi-AZ option expands an Amazon CloudSearch domain to an additional
1273
- # Availability Zone in the same Region to increase fault tolerance in
1274
- # the event of a service disruption. Changes to the Multi-AZ option can
1275
- # take about half an hour to become active. For more information, see
1276
- # [Configuring Availability Options][1] in the *Amazon CloudSearch
1277
- # Developer Guide*.
1278
- #
1279
- #
1280
- #
1281
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html
1282
- # @option params [required, String] :domain_name
1283
- # A string that represents the name of a domain. Domain names are unique
1284
- # across the domains owned by an account within an AWS region. Domain
1285
- # names start with a letter or number and can contain the following
1286
- # characters: a-z (lowercase), 0-9, and - (hyphen).
1287
- # @option params [required, Boolean] :multi_az
1288
- # You expand an existing search domain to a second Availability Zone by
1289
- # setting the Multi-AZ option to true. Similarly, you can turn off the
1290
- # Multi-AZ option to downgrade the domain to a single Availability Zone
1291
- # by setting the Multi-AZ option to `false`.
1292
- # @return [Types::UpdateAvailabilityOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1293
- #
1294
- # * {Types::UpdateAvailabilityOptionsResponse#availability_options #AvailabilityOptions} => Types::AvailabilityOptionsStatus
1295
- #
1296
- # @example Request syntax with placeholder values
1297
- # resp = client.update_availability_options({
1298
- # domain_name: "DomainName", # required
1299
- # multi_az: false, # required
1300
- # })
1301
- #
1302
- # @example Response structure
1303
- # resp.availability_options.options #=> Boolean
1304
- # resp.availability_options.status.creation_date #=> Time
1305
- # resp.availability_options.status.update_date #=> Time
1306
- # resp.availability_options.status.update_version #=> Integer
1307
- # resp.availability_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1308
- # resp.availability_options.status.pending_deletion #=> Boolean
1309
- # @overload update_availability_options(params = {})
1310
- # @param [Hash] params ({})
1311
- def update_availability_options(params = {}, options = {})
1312
- req = build_request(:update_availability_options, params)
1313
- req.send_request(options)
1314
- end
1389
+ # Lists all search domains owned by an account.
1390
+ #
1391
+ # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1392
+ #
1393
+ # * {Types::ListDomainNamesResponse#domain_names #domain_names} => Hash&lt;String,String&gt;
1394
+ #
1395
+ # @example Response structure
1396
+ #
1397
+ # resp.domain_names #=> Hash
1398
+ # resp.domain_names["DomainName"] #=> String
1399
+ #
1400
+ # @overload list_domain_names(params = {})
1401
+ # @param [Hash] params ({})
1402
+ def list_domain_names(params = {}, options = {})
1403
+ req = build_request(:list_domain_names, params)
1404
+ req.send_request(options)
1405
+ end
1315
1406
 
1316
- # Configures scaling parameters for a domain. A domain's scaling
1317
- # parameters specify the desired search instance type and replication
1318
- # count. Amazon CloudSearch will still automatically scale your domain
1319
- # based on the volume of data and traffic, but not below the desired
1320
- # instance type and replication count. If the Multi-AZ option is
1321
- # enabled, these values control the resources used per Availability
1322
- # Zone. For more information, see [Configuring Scaling Options][1] in
1323
- # the *Amazon CloudSearch Developer Guide*.
1324
- #
1325
- #
1326
- #
1327
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html
1328
- # @option params [required, String] :domain_name
1329
- # A string that represents the name of a domain. Domain names are unique
1330
- # across the domains owned by an account within an AWS region. Domain
1331
- # names start with a letter or number and can contain the following
1332
- # characters: a-z (lowercase), 0-9, and - (hyphen).
1333
- # @option params [required, Types::ScalingParameters] :scaling_parameters
1334
- # The desired instance type and desired number of replicas of each index
1335
- # partition.
1336
- # @return [Types::UpdateScalingParametersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1337
- #
1338
- # * {Types::UpdateScalingParametersResponse#scaling_parameters #ScalingParameters} => Types::ScalingParametersStatus
1339
- #
1340
- # @example Request syntax with placeholder values
1341
- # resp = client.update_scaling_parameters({
1342
- # domain_name: "DomainName", # required
1343
- # scaling_parameters: { # required
1344
- # desired_instance_type: "search.m1.small", # accepts search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge, search.m3.medium, search.m3.large, search.m3.xlarge, search.m3.2xlarge
1345
- # desired_replication_count: 1,
1346
- # desired_partition_count: 1,
1347
- # },
1348
- # })
1349
- #
1350
- # @example Response structure
1351
- # resp.scaling_parameters.options.desired_instance_type #=> String, one of "search.m1.small", "search.m1.large", "search.m2.xlarge", "search.m2.2xlarge", "search.m3.medium", "search.m3.large", "search.m3.xlarge", "search.m3.2xlarge"
1352
- # resp.scaling_parameters.options.desired_replication_count #=> Integer
1353
- # resp.scaling_parameters.options.desired_partition_count #=> Integer
1354
- # resp.scaling_parameters.status.creation_date #=> Time
1355
- # resp.scaling_parameters.status.update_date #=> Time
1356
- # resp.scaling_parameters.status.update_version #=> Integer
1357
- # resp.scaling_parameters.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1358
- # resp.scaling_parameters.status.pending_deletion #=> Boolean
1359
- # @overload update_scaling_parameters(params = {})
1360
- # @param [Hash] params ({})
1361
- def update_scaling_parameters(params = {}, options = {})
1362
- req = build_request(:update_scaling_parameters, params)
1363
- req.send_request(options)
1364
- end
1407
+ # Configures the availability options for a domain. Enabling the
1408
+ # Multi-AZ option expands an Amazon CloudSearch domain to an additional
1409
+ # Availability Zone in the same Region to increase fault tolerance in
1410
+ # the event of a service disruption. Changes to the Multi-AZ option can
1411
+ # take about half an hour to become active. For more information, see
1412
+ # [Configuring Availability Options][1] in the *Amazon CloudSearch
1413
+ # Developer Guide*.
1414
+ #
1415
+ #
1416
+ #
1417
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html
1418
+ #
1419
+ # @option params [required, String] :domain_name
1420
+ # A string that represents the name of a domain. Domain names are unique
1421
+ # across the domains owned by an account within an AWS region. Domain
1422
+ # names start with a letter or number and can contain the following
1423
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1424
+ #
1425
+ # @option params [required, Boolean] :multi_az
1426
+ # You expand an existing search domain to a second Availability Zone by
1427
+ # setting the Multi-AZ option to true. Similarly, you can turn off the
1428
+ # Multi-AZ option to downgrade the domain to a single Availability Zone
1429
+ # by setting the Multi-AZ option to `false`.
1430
+ #
1431
+ # @return [Types::UpdateAvailabilityOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1432
+ #
1433
+ # * {Types::UpdateAvailabilityOptionsResponse#availability_options #availability_options} => Types::AvailabilityOptionsStatus
1434
+ #
1435
+ # @example Request syntax with placeholder values
1436
+ #
1437
+ # resp = client.update_availability_options({
1438
+ # domain_name: "DomainName", # required
1439
+ # multi_az: false, # required
1440
+ # })
1441
+ #
1442
+ # @example Response structure
1443
+ #
1444
+ # resp.availability_options.options #=> Boolean
1445
+ # resp.availability_options.status.creation_date #=> Time
1446
+ # resp.availability_options.status.update_date #=> Time
1447
+ # resp.availability_options.status.update_version #=> Integer
1448
+ # resp.availability_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1449
+ # resp.availability_options.status.pending_deletion #=> Boolean
1450
+ #
1451
+ # @overload update_availability_options(params = {})
1452
+ # @param [Hash] params ({})
1453
+ def update_availability_options(params = {}, options = {})
1454
+ req = build_request(:update_availability_options, params)
1455
+ req.send_request(options)
1456
+ end
1365
1457
 
1366
- # Configures the access rules that control access to the domain's
1367
- # document and search endpoints. For more information, see [ Configuring
1368
- # Access for an Amazon CloudSearch Domain][1].
1369
- #
1370
- #
1371
- #
1372
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
1373
- # @option params [required, String] :domain_name
1374
- # A string that represents the name of a domain. Domain names are unique
1375
- # across the domains owned by an account within an AWS region. Domain
1376
- # names start with a letter or number and can contain the following
1377
- # characters: a-z (lowercase), 0-9, and - (hyphen).
1378
- # @option params [required, String] :access_policies
1379
- # The access rules you want to configure. These rules replace any
1380
- # existing rules.
1381
- # @return [Types::UpdateServiceAccessPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1382
- #
1383
- # * {Types::UpdateServiceAccessPoliciesResponse#access_policies #AccessPolicies} => Types::AccessPoliciesStatus
1384
- #
1385
- # @example Request syntax with placeholder values
1386
- # resp = client.update_service_access_policies({
1387
- # domain_name: "DomainName", # required
1388
- # access_policies: "PolicyDocument", # required
1389
- # })
1390
- #
1391
- # @example Response structure
1392
- # resp.access_policies.options #=> String
1393
- # resp.access_policies.status.creation_date #=> Time
1394
- # resp.access_policies.status.update_date #=> Time
1395
- # resp.access_policies.status.update_version #=> Integer
1396
- # resp.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1397
- # resp.access_policies.status.pending_deletion #=> Boolean
1398
- # @overload update_service_access_policies(params = {})
1399
- # @param [Hash] params ({})
1400
- def update_service_access_policies(params = {}, options = {})
1401
- req = build_request(:update_service_access_policies, params)
1402
- req.send_request(options)
1403
- end
1458
+ # Configures scaling parameters for a domain. A domain's scaling
1459
+ # parameters specify the desired search instance type and replication
1460
+ # count. Amazon CloudSearch will still automatically scale your domain
1461
+ # based on the volume of data and traffic, but not below the desired
1462
+ # instance type and replication count. If the Multi-AZ option is
1463
+ # enabled, these values control the resources used per Availability
1464
+ # Zone. For more information, see [Configuring Scaling Options][1] in
1465
+ # the *Amazon CloudSearch Developer Guide*.
1466
+ #
1467
+ #
1468
+ #
1469
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html
1470
+ #
1471
+ # @option params [required, String] :domain_name
1472
+ # A string that represents the name of a domain. Domain names are unique
1473
+ # across the domains owned by an account within an AWS region. Domain
1474
+ # names start with a letter or number and can contain the following
1475
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1476
+ #
1477
+ # @option params [required, Types::ScalingParameters] :scaling_parameters
1478
+ # The desired instance type and desired number of replicas of each index
1479
+ # partition.
1480
+ #
1481
+ # @return [Types::UpdateScalingParametersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1482
+ #
1483
+ # * {Types::UpdateScalingParametersResponse#scaling_parameters #scaling_parameters} => Types::ScalingParametersStatus
1484
+ #
1485
+ # @example Request syntax with placeholder values
1486
+ #
1487
+ # resp = client.update_scaling_parameters({
1488
+ # domain_name: "DomainName", # required
1489
+ # scaling_parameters: { # required
1490
+ # desired_instance_type: "search.m1.small", # accepts search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge, search.m3.medium, search.m3.large, search.m3.xlarge, search.m3.2xlarge
1491
+ # desired_replication_count: 1,
1492
+ # desired_partition_count: 1,
1493
+ # },
1494
+ # })
1495
+ #
1496
+ # @example Response structure
1497
+ #
1498
+ # resp.scaling_parameters.options.desired_instance_type #=> String, one of "search.m1.small", "search.m1.large", "search.m2.xlarge", "search.m2.2xlarge", "search.m3.medium", "search.m3.large", "search.m3.xlarge", "search.m3.2xlarge"
1499
+ # resp.scaling_parameters.options.desired_replication_count #=> Integer
1500
+ # resp.scaling_parameters.options.desired_partition_count #=> Integer
1501
+ # resp.scaling_parameters.status.creation_date #=> Time
1502
+ # resp.scaling_parameters.status.update_date #=> Time
1503
+ # resp.scaling_parameters.status.update_version #=> Integer
1504
+ # resp.scaling_parameters.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1505
+ # resp.scaling_parameters.status.pending_deletion #=> Boolean
1506
+ #
1507
+ # @overload update_scaling_parameters(params = {})
1508
+ # @param [Hash] params ({})
1509
+ def update_scaling_parameters(params = {}, options = {})
1510
+ req = build_request(:update_scaling_parameters, params)
1511
+ req.send_request(options)
1512
+ end
1404
1513
 
1405
- # @!endgroup
1514
+ # Configures the access rules that control access to the domain's
1515
+ # document and search endpoints. For more information, see [ Configuring
1516
+ # Access for an Amazon CloudSearch Domain][1].
1517
+ #
1518
+ #
1519
+ #
1520
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
1521
+ #
1522
+ # @option params [required, String] :domain_name
1523
+ # A string that represents the name of a domain. Domain names are unique
1524
+ # across the domains owned by an account within an AWS region. Domain
1525
+ # names start with a letter or number and can contain the following
1526
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1527
+ #
1528
+ # @option params [required, String] :access_policies
1529
+ # The access rules you want to configure. These rules replace any
1530
+ # existing rules.
1531
+ #
1532
+ # @return [Types::UpdateServiceAccessPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1533
+ #
1534
+ # * {Types::UpdateServiceAccessPoliciesResponse#access_policies #access_policies} => Types::AccessPoliciesStatus
1535
+ #
1536
+ # @example Request syntax with placeholder values
1537
+ #
1538
+ # resp = client.update_service_access_policies({
1539
+ # domain_name: "DomainName", # required
1540
+ # access_policies: "PolicyDocument", # required
1541
+ # })
1542
+ #
1543
+ # @example Response structure
1544
+ #
1545
+ # resp.access_policies.options #=> String
1546
+ # resp.access_policies.status.creation_date #=> Time
1547
+ # resp.access_policies.status.update_date #=> Time
1548
+ # resp.access_policies.status.update_version #=> Integer
1549
+ # resp.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1550
+ # resp.access_policies.status.pending_deletion #=> Boolean
1551
+ #
1552
+ # @overload update_service_access_policies(params = {})
1553
+ # @param [Hash] params ({})
1554
+ def update_service_access_policies(params = {}, options = {})
1555
+ req = build_request(:update_service_access_policies, params)
1556
+ req.send_request(options)
1557
+ end
1406
1558
 
1407
- # @param params ({})
1408
- # @api private
1409
- def build_request(operation_name, params = {})
1410
- handlers = @handlers.for(operation_name)
1411
- context = Seahorse::Client::RequestContext.new(
1412
- operation_name: operation_name,
1413
- operation: config.api.operation(operation_name),
1414
- client: self,
1415
- params: params,
1416
- config: config)
1417
- context[:gem_name] = 'aws-sdk-cloudsearch'
1418
- context[:gem_version] = '1.0.0.rc1'
1419
- Seahorse::Client::Request.new(handlers, context)
1420
- end
1559
+ # @!endgroup
1421
1560
 
1422
- # @api private
1423
- # @deprecated
1424
- def waiter_names
1425
- []
1426
- end
1561
+ # @param params ({})
1562
+ # @api private
1563
+ def build_request(operation_name, params = {})
1564
+ handlers = @handlers.for(operation_name)
1565
+ context = Seahorse::Client::RequestContext.new(
1566
+ operation_name: operation_name,
1567
+ operation: config.api.operation(operation_name),
1568
+ client: self,
1569
+ params: params,
1570
+ config: config)
1571
+ context[:gem_name] = 'aws-sdk-cloudsearch'
1572
+ context[:gem_version] = '1.0.0.rc2'
1573
+ Seahorse::Client::Request.new(handlers, context)
1574
+ end
1427
1575
 
1428
- class << self
1576
+ # @api private
1577
+ # @deprecated
1578
+ def waiter_names
1579
+ []
1580
+ end
1429
1581
 
1430
- # @api private
1431
- attr_reader :identifier
1582
+ class << self
1432
1583
 
1433
- # @api private
1434
- def errors_module
1435
- Errors
1436
- end
1584
+ # @api private
1585
+ attr_reader :identifier
1437
1586
 
1587
+ # @api private
1588
+ def errors_module
1589
+ Errors
1438
1590
  end
1591
+
1439
1592
  end
1440
1593
  end
1441
1594
  end