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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,14 @@
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
7
7
 
8
- module Aws
9
- module CloudSearch
10
- module Errors
8
+ module Aws::CloudSearch
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
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
7
7
 
8
- module Aws
9
- module CloudSearch
10
- class Resource
8
+ module Aws::CloudSearch
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,2256 +1,2446 @@
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
7
7
 
8
- module Aws
9
- module CloudSearch
10
- module Types
11
-
12
- # The configured access rules for the domain's document and search
13
- # endpoints, and the current status of those rules.
14
- # @!attribute [rw] options
15
- # Access rules for a domain's document or search service endpoints.
16
- # For more information, see [Configuring Access for a Search
17
- # Domain][1] in the *Amazon CloudSearch Developer Guide*. The maximum
18
- # size of a policy document is 100 KB.
19
- #
20
- #
21
- #
22
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
23
- # @return [String]
24
- #
25
- # @!attribute [rw] status
26
- # The status of domain configuration option.
27
- # @return [Types::OptionStatus]
28
- class AccessPoliciesStatus < Struct.new(
29
- :options,
30
- :status)
31
- include Aws::Structure
32
- end
33
-
34
- # Synonyms, stopwords, and stemming options for an analysis scheme.
35
- # Includes tokenization dictionary for Japanese.
36
- # @note When making an API call, pass AnalysisOptions
37
- # data as a hash:
38
- #
39
- # {
40
- # synonyms: "String",
41
- # stopwords: "String",
42
- # stemming_dictionary: "String",
43
- # japanese_tokenization_dictionary: "String",
44
- # algorithmic_stemming: "none", # accepts none, minimal, light, full
45
- # }
46
- # @!attribute [rw] synonyms
47
- # A JSON object that defines synonym groups and aliases. A synonym
48
- # group is an array of arrays, where each sub-array is a group of
49
- # terms where each term in the group is considered a synonym of every
50
- # other term in the group. The aliases value is an object that
51
- # contains a collection of string:value pairs where the string
52
- # specifies a term and the array of values specifies each of the
53
- # aliases for that term. An alias is considered a synonym of the
54
- # specified term, but the term is not considered a synonym of the
55
- # alias. For more information about specifying synonyms, see
56
- # [Synonyms][1] in the *Amazon CloudSearch Developer Guide*.
57
- #
58
- #
59
- #
60
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html#synonyms
61
- # @return [String]
62
- #
63
- # @!attribute [rw] stopwords
64
- # A JSON array of terms to ignore during indexing and searching. For
65
- # example, `["a", "an", "the", "of"]`. The stopwords dictionary must
66
- # explicitly list each word you want to ignore. Wildcards and regular
67
- # expressions are not supported.
68
- # @return [String]
69
- #
70
- # @!attribute [rw] stemming_dictionary
71
- # A JSON object that contains a collection of string:value pairs that
72
- # each map a term to its stem. For example, `\{"term1": "stem1",
73
- # "term2": "stem2", "term3": "stem3"\}`. The stemming dictionary is
74
- # applied in addition to any algorithmic stemming. This enables you to
75
- # override the results of the algorithmic stemming to correct specific
76
- # cases of overstemming or understemming. The maximum size of a
77
- # stemming dictionary is 500 KB.
78
- # @return [String]
79
- #
80
- # @!attribute [rw] japanese_tokenization_dictionary
81
- # A JSON array that contains a collection of terms, tokens, readings
82
- # and part of speech for Japanese Tokenizaiton. The Japanese
83
- # tokenization dictionary enables you to override the default
84
- # tokenization for selected terms. This is only valid for Japanese
85
- # language fields.
86
- # @return [String]
87
- #
88
- # @!attribute [rw] algorithmic_stemming
89
- # The level of algorithmic stemming to perform: `none`, `minimal`,
90
- # `light`, or `full`. The available levels vary depending on the
91
- # language. For more information, see [Language Specific Text
92
- # Processing Settings][1] in the *Amazon CloudSearch Developer Guide*
93
- #
94
- #
95
- #
96
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/text-processing.html#text-processing-settings
97
- # @return [String]
98
- class AnalysisOptions < Struct.new(
99
- :synonyms,
100
- :stopwords,
101
- :stemming_dictionary,
102
- :japanese_tokenization_dictionary,
103
- :algorithmic_stemming)
104
- include Aws::Structure
105
- end
106
-
107
- # Configuration information for an analysis scheme. Each analysis scheme
108
- # has a unique name and specifies the language of the text to be
109
- # processed. The following options can be configured for an analysis
110
- # scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
111
- # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
112
- # @note When making an API call, pass AnalysisScheme
113
- # data as a hash:
114
- #
115
- # {
116
- # analysis_scheme_name: "StandardName", # required
117
- # 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
118
- # analysis_options: {
119
- # synonyms: "String",
120
- # stopwords: "String",
121
- # stemming_dictionary: "String",
122
- # japanese_tokenization_dictionary: "String",
123
- # algorithmic_stemming: "none", # accepts none, minimal, light, full
124
- # },
125
- # }
126
- # @!attribute [rw] analysis_scheme_name
127
- # Names must begin with a letter and can contain the following
128
- # characters: a-z (lowercase), 0-9, and \_ (underscore).
129
- # @return [String]
130
- #
131
- # @!attribute [rw] analysis_scheme_language
132
- # An [IETF RFC 4646][1] language code or `mul` for multiple languages.
133
- #
134
- #
135
- #
136
- # [1]: http://tools.ietf.org/html/rfc4646
137
- # @return [String]
138
- #
139
- # @!attribute [rw] analysis_options
140
- # Synonyms, stopwords, and stemming options for an analysis scheme.
141
- # Includes tokenization dictionary for Japanese.
142
- # @return [Types::AnalysisOptions]
143
- class AnalysisScheme < Struct.new(
144
- :analysis_scheme_name,
145
- :analysis_scheme_language,
146
- :analysis_options)
147
- include Aws::Structure
148
- end
149
-
150
- # The status and configuration of an `AnalysisScheme`.
151
- # @!attribute [rw] options
152
- # Configuration information for an analysis scheme. Each analysis
153
- # scheme has a unique name and specifies the language of the text to
154
- # be processed. The following options can be configured for an
155
- # analysis scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
156
- # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
157
- # @return [Types::AnalysisScheme]
158
- #
159
- # @!attribute [rw] status
160
- # The status of domain configuration option.
161
- # @return [Types::OptionStatus]
162
- class AnalysisSchemeStatus < Struct.new(
163
- :options,
164
- :status)
165
- include Aws::Structure
166
- end
167
-
168
- # The status and configuration of the domain's availability options.
169
- # @!attribute [rw] options
170
- # The availability options configured for the domain.
171
- # @return [Boolean]
172
- #
173
- # @!attribute [rw] status
174
- # The status of domain configuration option.
175
- # @return [Types::OptionStatus]
176
- class AvailabilityOptionsStatus < Struct.new(
177
- :options,
178
- :status)
179
- include Aws::Structure
180
- end
181
-
182
- # Container for the parameters to the `BuildSuggester` operation.
183
- # Specifies the name of the domain you want to update.
184
- # @note When making an API call, pass BuildSuggestersRequest
185
- # data as a hash:
186
- #
187
- # {
188
- # domain_name: "DomainName", # required
189
- # }
190
- # @!attribute [rw] domain_name
191
- # A string that represents the name of a domain. Domain names are
192
- # unique across the domains owned by an account within an AWS region.
193
- # Domain names start with a letter or number and can contain the
194
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
195
- # @return [String]
196
- class BuildSuggestersRequest < Struct.new(
197
- :domain_name)
198
- include Aws::Structure
199
- end
200
-
201
- # The result of a `BuildSuggester` request. Contains a list of the
202
- # fields used for suggestions.
203
- # @!attribute [rw] field_names
204
- # A list of field names.
205
- # @return [Array<String>]
206
- class BuildSuggestersResponse < Struct.new(
207
- :field_names)
208
- include Aws::Structure
209
- end
210
-
211
- # Container for the parameters to the `CreateDomain` operation.
212
- # Specifies a name for the new search domain.
213
- # @note When making an API call, pass CreateDomainRequest
214
- # data as a hash:
215
- #
216
- # {
217
- # domain_name: "DomainName", # required
218
- # }
219
- # @!attribute [rw] domain_name
220
- # A name for the domain you are creating. Allowed characters are a-z
221
- # (lower-case letters), 0-9, and hyphen (-). Domain names must start
222
- # with a letter or number and be at least 3 and no more than 28
223
- # characters long.
224
- # @return [String]
225
- class CreateDomainRequest < Struct.new(
226
- :domain_name)
227
- include Aws::Structure
228
- end
229
-
230
- # The result of a `CreateDomainRequest`. Contains the status of a newly
231
- # created domain.
232
- # @!attribute [rw] domain_status
233
- # The current status of the search domain.
234
- # @return [Types::DomainStatus]
235
- class CreateDomainResponse < Struct.new(
236
- :domain_status)
237
- include Aws::Structure
238
- end
239
-
240
- # Options for a field that contains an array of dates. Present if
241
- # `IndexFieldType` specifies the field is of type `date-array`. All
242
- # options are enabled by default.
243
- # @note When making an API call, pass DateArrayOptions
244
- # data as a hash:
245
- #
246
- # {
247
- # default_value: "FieldValue",
248
- # source_fields: "FieldNameCommaList",
249
- # facet_enabled: false,
250
- # search_enabled: false,
251
- # return_enabled: false,
252
- # }
253
- # @!attribute [rw] default_value
254
- # A value to use for the field if the field isn't specified for a
255
- # document.
256
- # @return [String]
257
- #
258
- # @!attribute [rw] source_fields
259
- # A list of source fields to map to the field.
260
- # @return [String]
261
- #
262
- # @!attribute [rw] facet_enabled
263
- # Whether facet information can be returned for the field.
264
- # @return [Boolean]
265
- #
266
- # @!attribute [rw] search_enabled
267
- # Whether the contents of the field are searchable.
268
- # @return [Boolean]
269
- #
270
- # @!attribute [rw] return_enabled
271
- # Whether the contents of the field can be returned in the search
272
- # results.
273
- # @return [Boolean]
274
- class DateArrayOptions < Struct.new(
275
- :default_value,
276
- :source_fields,
277
- :facet_enabled,
278
- :search_enabled,
279
- :return_enabled)
280
- include Aws::Structure
281
- end
282
-
283
- # Options for a date field. Dates and times are specified in UTC
284
- # (Coordinated Universal Time) according to IETF RFC3339:
285
- # yyyy-mm-ddT00:00:00Z. Present if `IndexFieldType` specifies the field
286
- # is of type `date`. All options are enabled by default.
287
- # @note When making an API call, pass DateOptions
288
- # data as a hash:
289
- #
290
- # {
291
- # default_value: "FieldValue",
292
- # source_field: "FieldName",
293
- # facet_enabled: false,
294
- # search_enabled: false,
295
- # return_enabled: false,
296
- # sort_enabled: false,
297
- # }
298
- # @!attribute [rw] default_value
299
- # A value to use for the field if the field isn't specified for a
300
- # document.
301
- # @return [String]
302
- #
303
- # @!attribute [rw] source_field
304
- # A string that represents the name of an index field. CloudSearch
305
- # supports regular index fields as well as dynamic fields. A dynamic
306
- # field's name defines a pattern that begins or ends with a wildcard.
307
- # Any document fields that don't map to a regular index field but do
308
- # match a dynamic field's pattern are configured with the dynamic
309
- # field's indexing options.
310
- #
311
- # Regular field names begin with a letter and can contain the
312
- # following characters: a-z (lowercase), 0-9, and \_ (underscore).
313
- # Dynamic field names must begin or end with a wildcard (*). The
314
- # wildcard can also be the only character in a dynamic field name.
315
- # Multiple wildcards, and wildcards embedded within a string are not
316
- # supported.
317
- #
318
- # The name `score` is reserved and cannot be used as a field name. To
319
- # reference a document's ID, you can use the name `_id`.
320
- # @return [String]
321
- #
322
- # @!attribute [rw] facet_enabled
323
- # Whether facet information can be returned for the field.
324
- # @return [Boolean]
325
- #
326
- # @!attribute [rw] search_enabled
327
- # Whether the contents of the field are searchable.
328
- # @return [Boolean]
329
- #
330
- # @!attribute [rw] return_enabled
331
- # Whether the contents of the field can be returned in the search
332
- # results.
333
- # @return [Boolean]
334
- #
335
- # @!attribute [rw] sort_enabled
336
- # Whether the field can be used to sort the search results.
337
- # @return [Boolean]
338
- class DateOptions < Struct.new(
339
- :default_value,
340
- :source_field,
341
- :facet_enabled,
342
- :search_enabled,
343
- :return_enabled,
344
- :sort_enabled)
345
- include Aws::Structure
346
- end
347
-
348
- # Container for the parameters to the `DefineAnalysisScheme` operation.
349
- # Specifies the name of the domain you want to update and the analysis
350
- # scheme configuration.
351
- # @note When making an API call, pass DefineAnalysisSchemeRequest
352
- # data as a hash:
353
- #
354
- # {
355
- # domain_name: "DomainName", # required
356
- # analysis_scheme: { # required
357
- # analysis_scheme_name: "StandardName", # required
358
- # 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
359
- # analysis_options: {
360
- # synonyms: "String",
361
- # stopwords: "String",
362
- # stemming_dictionary: "String",
363
- # japanese_tokenization_dictionary: "String",
364
- # algorithmic_stemming: "none", # accepts none, minimal, light, full
365
- # },
366
- # },
367
- # }
368
- # @!attribute [rw] domain_name
369
- # A string that represents the name of a domain. Domain names are
370
- # unique across the domains owned by an account within an AWS region.
371
- # Domain names start with a letter or number and can contain the
372
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
373
- # @return [String]
374
- #
375
- # @!attribute [rw] analysis_scheme
376
- # Configuration information for an analysis scheme. Each analysis
377
- # scheme has a unique name and specifies the language of the text to
378
- # be processed. The following options can be configured for an
379
- # analysis scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
380
- # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
381
- # @return [Types::AnalysisScheme]
382
- class DefineAnalysisSchemeRequest < Struct.new(
383
- :domain_name,
384
- :analysis_scheme)
385
- include Aws::Structure
386
- end
387
-
388
- # The result of a `DefineAnalysisScheme` request. Contains the status of
389
- # the newly-configured analysis scheme.
390
- # @!attribute [rw] analysis_scheme
391
- # The status and configuration of an `AnalysisScheme`.
392
- # @return [Types::AnalysisSchemeStatus]
393
- class DefineAnalysisSchemeResponse < Struct.new(
394
- :analysis_scheme)
395
- include Aws::Structure
396
- end
397
-
398
- # Container for the parameters to the `DefineExpression` operation.
399
- # Specifies the name of the domain you want to update and the expression
400
- # you want to configure.
401
- # @note When making an API call, pass DefineExpressionRequest
402
- # data as a hash:
403
- #
404
- # {
405
- # domain_name: "DomainName", # required
406
- # expression: { # required
407
- # expression_name: "StandardName", # required
408
- # expression_value: "ExpressionValue", # required
409
- # },
410
- # }
411
- # @!attribute [rw] domain_name
412
- # A string that represents the name of a domain. Domain names are
413
- # unique across the domains owned by an account within an AWS region.
414
- # Domain names start with a letter or number and can contain the
415
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
416
- # @return [String]
417
- #
418
- # @!attribute [rw] expression
419
- # A named expression that can be evaluated at search time. Can be used
420
- # to sort the search results, define other expressions, or return
421
- # computed information in the search results.
422
- # @return [Types::Expression]
423
- class DefineExpressionRequest < Struct.new(
424
- :domain_name,
425
- :expression)
426
- include Aws::Structure
427
- end
428
-
429
- # The result of a `DefineExpression` request. Contains the status of the
430
- # newly-configured expression.
431
- # @!attribute [rw] expression
432
- # The value of an `Expression` and its current status.
433
- # @return [Types::ExpressionStatus]
434
- class DefineExpressionResponse < Struct.new(
435
- :expression)
436
- include Aws::Structure
437
- end
438
-
439
- # Container for the parameters to the `DefineIndexField` operation.
440
- # Specifies the name of the domain you want to update and the index
441
- # field configuration.
442
- # @note When making an API call, pass DefineIndexFieldRequest
443
- # data as a hash:
444
- #
445
- # {
446
- # domain_name: "DomainName", # required
447
- # index_field: { # required
448
- # index_field_name: "DynamicFieldName", # required
449
- # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
450
- # int_options: {
451
- # default_value: 1,
452
- # source_field: "FieldName",
453
- # facet_enabled: false,
454
- # search_enabled: false,
455
- # return_enabled: false,
456
- # sort_enabled: false,
457
- # },
458
- # double_options: {
459
- # default_value: 1.0,
460
- # source_field: "FieldName",
461
- # facet_enabled: false,
462
- # search_enabled: false,
463
- # return_enabled: false,
464
- # sort_enabled: false,
465
- # },
466
- # literal_options: {
467
- # default_value: "FieldValue",
468
- # source_field: "FieldName",
469
- # facet_enabled: false,
470
- # search_enabled: false,
471
- # return_enabled: false,
472
- # sort_enabled: false,
473
- # },
474
- # text_options: {
475
- # default_value: "FieldValue",
476
- # source_field: "FieldName",
477
- # return_enabled: false,
478
- # sort_enabled: false,
479
- # highlight_enabled: false,
480
- # analysis_scheme: "Word",
481
- # },
482
- # date_options: {
483
- # default_value: "FieldValue",
484
- # source_field: "FieldName",
485
- # facet_enabled: false,
486
- # search_enabled: false,
487
- # return_enabled: false,
488
- # sort_enabled: false,
489
- # },
490
- # lat_lon_options: {
491
- # default_value: "FieldValue",
492
- # source_field: "FieldName",
493
- # facet_enabled: false,
494
- # search_enabled: false,
495
- # return_enabled: false,
496
- # sort_enabled: false,
497
- # },
498
- # int_array_options: {
499
- # default_value: 1,
500
- # source_fields: "FieldNameCommaList",
501
- # facet_enabled: false,
502
- # search_enabled: false,
503
- # return_enabled: false,
504
- # },
505
- # double_array_options: {
506
- # default_value: 1.0,
507
- # source_fields: "FieldNameCommaList",
508
- # facet_enabled: false,
509
- # search_enabled: false,
510
- # return_enabled: false,
511
- # },
512
- # literal_array_options: {
513
- # default_value: "FieldValue",
514
- # source_fields: "FieldNameCommaList",
515
- # facet_enabled: false,
516
- # search_enabled: false,
517
- # return_enabled: false,
518
- # },
519
- # text_array_options: {
520
- # default_value: "FieldValue",
521
- # source_fields: "FieldNameCommaList",
522
- # return_enabled: false,
523
- # highlight_enabled: false,
524
- # analysis_scheme: "Word",
525
- # },
526
- # date_array_options: {
527
- # default_value: "FieldValue",
528
- # source_fields: "FieldNameCommaList",
529
- # facet_enabled: false,
530
- # search_enabled: false,
531
- # return_enabled: false,
532
- # },
533
- # },
534
- # }
535
- # @!attribute [rw] domain_name
536
- # A string that represents the name of a domain. Domain names are
537
- # unique across the domains owned by an account within an AWS region.
538
- # Domain names start with a letter or number and can contain the
539
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
540
- # @return [String]
541
- #
542
- # @!attribute [rw] index_field
543
- # The index field and field options you want to configure.
544
- # @return [Types::IndexField]
545
- class DefineIndexFieldRequest < Struct.new(
546
- :domain_name,
547
- :index_field)
548
- include Aws::Structure
549
- end
550
-
551
- # The result of a `DefineIndexField` request. Contains the status of the
552
- # newly-configured index field.
553
- # @!attribute [rw] index_field
554
- # The value of an `IndexField` and its current status.
555
- # @return [Types::IndexFieldStatus]
556
- class DefineIndexFieldResponse < Struct.new(
557
- :index_field)
558
- include Aws::Structure
559
- end
560
-
561
- # Container for the parameters to the `DefineSuggester` operation.
562
- # Specifies the name of the domain you want to update and the suggester
563
- # configuration.
564
- # @note When making an API call, pass DefineSuggesterRequest
565
- # data as a hash:
566
- #
567
- # {
568
- # domain_name: "DomainName", # required
569
- # suggester: { # required
570
- # suggester_name: "StandardName", # required
571
- # document_suggester_options: { # required
572
- # source_field: "FieldName", # required
573
- # fuzzy_matching: "none", # accepts none, low, high
574
- # sort_expression: "String",
575
- # },
576
- # },
577
- # }
578
- # @!attribute [rw] domain_name
579
- # A string that represents the name of a domain. Domain names are
580
- # unique across the domains owned by an account within an AWS region.
581
- # Domain names start with a letter or number and can contain the
582
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
583
- # @return [String]
584
- #
585
- # @!attribute [rw] suggester
586
- # Configuration information for a search suggester. Each suggester has
587
- # a unique name and specifies the text field you want to use for
588
- # suggestions. The following options can be configured for a
589
- # suggester: `FuzzyMatching`, `SortExpression`.
590
- # @return [Types::Suggester]
591
- class DefineSuggesterRequest < Struct.new(
592
- :domain_name,
593
- :suggester)
594
- include Aws::Structure
595
- end
596
-
597
- # The result of a `DefineSuggester` request. Contains the status of the
598
- # newly-configured suggester.
599
- # @!attribute [rw] suggester
600
- # The value of a `Suggester` and its current status.
601
- # @return [Types::SuggesterStatus]
602
- class DefineSuggesterResponse < Struct.new(
603
- :suggester)
604
- include Aws::Structure
605
- end
606
-
607
- # Container for the parameters to the `DeleteAnalysisScheme` operation.
608
- # Specifies the name of the domain you want to update and the analysis
609
- # scheme you want to delete.
610
- # @note When making an API call, pass DeleteAnalysisSchemeRequest
611
- # data as a hash:
612
- #
613
- # {
614
- # domain_name: "DomainName", # required
615
- # analysis_scheme_name: "StandardName", # required
616
- # }
617
- # @!attribute [rw] domain_name
618
- # A string that represents the name of a domain. Domain names are
619
- # unique across the domains owned by an account within an AWS region.
620
- # Domain names start with a letter or number and can contain the
621
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
622
- # @return [String]
623
- #
624
- # @!attribute [rw] analysis_scheme_name
625
- # The name of the analysis scheme you want to delete.
626
- # @return [String]
627
- class DeleteAnalysisSchemeRequest < Struct.new(
628
- :domain_name,
629
- :analysis_scheme_name)
630
- include Aws::Structure
631
- end
632
-
633
- # The result of a `DeleteAnalysisScheme` request. Contains the status of
634
- # the deleted analysis scheme.
635
- # @!attribute [rw] analysis_scheme
636
- # The status of the analysis scheme being deleted.
637
- # @return [Types::AnalysisSchemeStatus]
638
- class DeleteAnalysisSchemeResponse < Struct.new(
639
- :analysis_scheme)
640
- include Aws::Structure
641
- end
642
-
643
- # Container for the parameters to the `DeleteDomain` operation.
644
- # Specifies the name of the domain you want to delete.
645
- # @note When making an API call, pass DeleteDomainRequest
646
- # data as a hash:
647
- #
648
- # {
649
- # domain_name: "DomainName", # required
650
- # }
651
- # @!attribute [rw] domain_name
652
- # The name of the domain you want to permanently delete.
653
- # @return [String]
654
- class DeleteDomainRequest < Struct.new(
655
- :domain_name)
656
- include Aws::Structure
657
- end
658
-
659
- # The result of a `DeleteDomain` request. Contains the status of a newly
660
- # deleted domain, or no status if the domain has already been completely
661
- # deleted.
662
- # @!attribute [rw] domain_status
663
- # The current status of the search domain.
664
- # @return [Types::DomainStatus]
665
- class DeleteDomainResponse < Struct.new(
666
- :domain_status)
667
- include Aws::Structure
668
- end
669
-
670
- # Container for the parameters to the `DeleteExpression` operation.
671
- # Specifies the name of the domain you want to update and the name of
672
- # the expression you want to delete.
673
- # @note When making an API call, pass DeleteExpressionRequest
674
- # data as a hash:
675
- #
676
- # {
677
- # domain_name: "DomainName", # required
678
- # expression_name: "StandardName", # required
679
- # }
680
- # @!attribute [rw] domain_name
681
- # A string that represents the name of a domain. Domain names are
682
- # unique across the domains owned by an account within an AWS region.
683
- # Domain names start with a letter or number and can contain the
684
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
685
- # @return [String]
686
- #
687
- # @!attribute [rw] expression_name
688
- # The name of the `Expression` to delete.
689
- # @return [String]
690
- class DeleteExpressionRequest < Struct.new(
691
- :domain_name,
692
- :expression_name)
693
- include Aws::Structure
694
- end
695
-
696
- # The result of a `DeleteExpression` request. Specifies the expression
697
- # being deleted.
698
- # @!attribute [rw] expression
699
- # The status of the expression being deleted.
700
- # @return [Types::ExpressionStatus]
701
- class DeleteExpressionResponse < Struct.new(
702
- :expression)
703
- include Aws::Structure
704
- end
705
-
706
- # Container for the parameters to the `DeleteIndexField` operation.
707
- # Specifies the name of the domain you want to update and the name of
708
- # the index field you want to delete.
709
- # @note When making an API call, pass DeleteIndexFieldRequest
710
- # data as a hash:
711
- #
712
- # {
713
- # domain_name: "DomainName", # required
714
- # index_field_name: "DynamicFieldName", # required
715
- # }
716
- # @!attribute [rw] domain_name
717
- # A string that represents the name of a domain. Domain names are
718
- # unique across the domains owned by an account within an AWS region.
719
- # Domain names start with a letter or number and can contain the
720
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
721
- # @return [String]
722
- #
723
- # @!attribute [rw] index_field_name
724
- # The name of the index field your want to remove from the domain's
725
- # indexing options.
726
- # @return [String]
727
- class DeleteIndexFieldRequest < Struct.new(
728
- :domain_name,
729
- :index_field_name)
730
- include Aws::Structure
731
- end
732
-
733
- # The result of a `DeleteIndexField` request.
734
- # @!attribute [rw] index_field
735
- # The status of the index field being deleted.
736
- # @return [Types::IndexFieldStatus]
737
- class DeleteIndexFieldResponse < Struct.new(
738
- :index_field)
739
- include Aws::Structure
740
- end
741
-
742
- # Container for the parameters to the `DeleteSuggester` operation.
743
- # Specifies the name of the domain you want to update and name of the
744
- # suggester you want to delete.
745
- # @note When making an API call, pass DeleteSuggesterRequest
746
- # data as a hash:
747
- #
748
- # {
749
- # domain_name: "DomainName", # required
750
- # suggester_name: "StandardName", # required
751
- # }
752
- # @!attribute [rw] domain_name
753
- # A string that represents the name of a domain. Domain names are
754
- # unique across the domains owned by an account within an AWS region.
755
- # Domain names start with a letter or number and can contain the
756
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
757
- # @return [String]
758
- #
759
- # @!attribute [rw] suggester_name
760
- # Specifies the name of the suggester you want to delete.
761
- # @return [String]
762
- class DeleteSuggesterRequest < Struct.new(
763
- :domain_name,
764
- :suggester_name)
765
- include Aws::Structure
766
- end
767
-
768
- # The result of a `DeleteSuggester` request. Contains the status of the
769
- # deleted suggester.
770
- # @!attribute [rw] suggester
771
- # The status of the suggester being deleted.
772
- # @return [Types::SuggesterStatus]
773
- class DeleteSuggesterResponse < Struct.new(
774
- :suggester)
775
- include Aws::Structure
776
- end
777
-
778
- # Container for the parameters to the `DescribeAnalysisSchemes`
779
- # operation. Specifies the name of the domain you want to describe. To
780
- # limit the response to particular analysis schemes, specify the names
781
- # of the analysis schemes you want to describe. To show the active
782
- # configuration and exclude any pending changes, set the `Deployed`
783
- # option to `true`.
784
- # @note When making an API call, pass DescribeAnalysisSchemesRequest
785
- # data as a hash:
786
- #
787
- # {
788
- # domain_name: "DomainName", # required
789
- # analysis_scheme_names: ["StandardName"],
790
- # deployed: false,
791
- # }
792
- # @!attribute [rw] domain_name
793
- # The name of the domain you want to describe.
794
- # @return [String]
795
- #
796
- # @!attribute [rw] analysis_scheme_names
797
- # The analysis schemes you want to describe.
798
- # @return [Array<String>]
799
- #
800
- # @!attribute [rw] deployed
801
- # Whether to display the deployed configuration (`true`) or include
802
- # any pending changes (`false`). Defaults to `false`.
803
- # @return [Boolean]
804
- class DescribeAnalysisSchemesRequest < Struct.new(
805
- :domain_name,
806
- :analysis_scheme_names,
807
- :deployed)
808
- include Aws::Structure
809
- end
810
-
811
- # The result of a `DescribeAnalysisSchemes` request. Contains the
812
- # analysis schemes configured for the domain specified in the request.
813
- # @!attribute [rw] analysis_schemes
814
- # The analysis scheme descriptions.
815
- # @return [Array<Types::AnalysisSchemeStatus>]
816
- class DescribeAnalysisSchemesResponse < Struct.new(
817
- :analysis_schemes)
818
- include Aws::Structure
819
- end
820
-
821
- # Container for the parameters to the `DescribeAvailabilityOptions`
822
- # operation. Specifies the name of the domain you want to describe. To
823
- # show the active configuration and exclude any pending changes, set the
824
- # Deployed option to `true`.
825
- # @note When making an API call, pass DescribeAvailabilityOptionsRequest
826
- # data as a hash:
827
- #
828
- # {
829
- # domain_name: "DomainName", # required
830
- # deployed: false,
831
- # }
832
- # @!attribute [rw] domain_name
833
- # The name of the domain you want to describe.
834
- # @return [String]
835
- #
836
- # @!attribute [rw] deployed
837
- # Whether to display the deployed configuration (`true`) or include
838
- # any pending changes (`false`). Defaults to `false`.
839
- # @return [Boolean]
840
- class DescribeAvailabilityOptionsRequest < Struct.new(
841
- :domain_name,
842
- :deployed)
843
- include Aws::Structure
844
- end
845
-
846
- # The result of a `DescribeAvailabilityOptions` request. Indicates
847
- # whether or not the Multi-AZ option is enabled for the domain specified
848
- # in the request.
849
- # @!attribute [rw] availability_options
850
- # The availability options configured for the domain. Indicates
851
- # whether Multi-AZ is enabled for the domain.
852
- # @return [Types::AvailabilityOptionsStatus]
853
- class DescribeAvailabilityOptionsResponse < Struct.new(
854
- :availability_options)
855
- include Aws::Structure
856
- end
857
-
858
- # Container for the parameters to the `DescribeDomains` operation. By
859
- # default shows the status of all domains. To restrict the response to
860
- # particular domains, specify the names of the domains you want to
861
- # describe.
862
- # @note When making an API call, pass DescribeDomainsRequest
863
- # data as a hash:
864
- #
865
- # {
866
- # domain_names: ["DomainName"],
867
- # }
868
- # @!attribute [rw] domain_names
869
- # The names of the domains you want to include in the response.
870
- # @return [Array<String>]
871
- class DescribeDomainsRequest < Struct.new(
872
- :domain_names)
873
- include Aws::Structure
874
- end
875
-
876
- # The result of a `DescribeDomains` request. Contains the status of the
877
- # domains specified in the request or all domains owned by the account.
878
- # @!attribute [rw] domain_status_list
879
- # A list that contains the status of each requested domain.
880
- # @return [Array<Types::DomainStatus>]
881
- class DescribeDomainsResponse < Struct.new(
882
- :domain_status_list)
883
- include Aws::Structure
884
- end
885
-
886
- # Container for the parameters to the `DescribeDomains` operation.
887
- # Specifies the name of the domain you want to describe. To restrict the
888
- # response to particular expressions, specify the names of the
889
- # expressions you want to describe. To show the active configuration and
890
- # exclude any pending changes, set the `Deployed` option to `true`.
891
- # @note When making an API call, pass DescribeExpressionsRequest
892
- # data as a hash:
893
- #
894
- # {
895
- # domain_name: "DomainName", # required
896
- # expression_names: ["StandardName"],
897
- # deployed: false,
898
- # }
899
- # @!attribute [rw] domain_name
900
- # The name of the domain you want to describe.
901
- # @return [String]
902
- #
903
- # @!attribute [rw] expression_names
904
- # Limits the `DescribeExpressions` response to the specified
905
- # expressions. If not specified, all expressions are shown.
906
- # @return [Array<String>]
907
- #
908
- # @!attribute [rw] deployed
909
- # Whether to display the deployed configuration (`true`) or include
910
- # any pending changes (`false`). Defaults to `false`.
911
- # @return [Boolean]
912
- class DescribeExpressionsRequest < Struct.new(
913
- :domain_name,
914
- :expression_names,
915
- :deployed)
916
- include Aws::Structure
917
- end
918
-
919
- # The result of a `DescribeExpressions` request. Contains the
920
- # expressions configured for the domain specified in the request.
921
- # @!attribute [rw] expressions
922
- # The expressions configured for the domain.
923
- # @return [Array<Types::ExpressionStatus>]
924
- class DescribeExpressionsResponse < Struct.new(
925
- :expressions)
926
- include Aws::Structure
927
- end
928
-
929
- # Container for the parameters to the `DescribeIndexFields` operation.
930
- # Specifies the name of the domain you want to describe. To restrict the
931
- # response to particular index fields, specify the names of the index
932
- # fields you want to describe. To show the active configuration and
933
- # exclude any pending changes, set the `Deployed` option to `true`.
934
- # @note When making an API call, pass DescribeIndexFieldsRequest
935
- # data as a hash:
936
- #
937
- # {
938
- # domain_name: "DomainName", # required
939
- # field_names: ["DynamicFieldName"],
940
- # deployed: false,
941
- # }
942
- # @!attribute [rw] domain_name
943
- # The name of the domain you want to describe.
944
- # @return [String]
945
- #
946
- # @!attribute [rw] field_names
947
- # A list of the index fields you want to describe. If not specified,
948
- # information is returned for all configured index fields.
949
- # @return [Array<String>]
950
- #
951
- # @!attribute [rw] deployed
952
- # Whether to display the deployed configuration (`true`) or include
953
- # any pending changes (`false`). Defaults to `false`.
954
- # @return [Boolean]
955
- class DescribeIndexFieldsRequest < Struct.new(
956
- :domain_name,
957
- :field_names,
958
- :deployed)
959
- include Aws::Structure
960
- end
961
-
962
- # The result of a `DescribeIndexFields` request. Contains the index
963
- # fields configured for the domain specified in the request.
964
- # @!attribute [rw] index_fields
965
- # The index fields configured for the domain.
966
- # @return [Array<Types::IndexFieldStatus>]
967
- class DescribeIndexFieldsResponse < Struct.new(
968
- :index_fields)
969
- include Aws::Structure
970
- end
971
-
972
- # Container for the parameters to the `DescribeScalingParameters`
973
- # operation. Specifies the name of the domain you want to describe.
974
- # @note When making an API call, pass DescribeScalingParametersRequest
975
- # data as a hash:
976
- #
977
- # {
978
- # domain_name: "DomainName", # required
979
- # }
980
- # @!attribute [rw] domain_name
981
- # A string that represents the name of a domain. Domain names are
982
- # unique across the domains owned by an account within an AWS region.
983
- # Domain names start with a letter or number and can contain the
984
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
985
- # @return [String]
986
- class DescribeScalingParametersRequest < Struct.new(
987
- :domain_name)
988
- include Aws::Structure
989
- end
990
-
991
- # The result of a `DescribeScalingParameters` request. Contains the
992
- # scaling parameters configured for the domain specified in the request.
993
- # @!attribute [rw] scaling_parameters
994
- # The status and configuration of a search domain's scaling
995
- # parameters.
996
- # @return [Types::ScalingParametersStatus]
997
- class DescribeScalingParametersResponse < Struct.new(
998
- :scaling_parameters)
999
- include Aws::Structure
1000
- end
1001
-
1002
- # Container for the parameters to the `DescribeServiceAccessPolicies`
1003
- # operation. Specifies the name of the domain you want to describe. To
1004
- # show the active configuration and exclude any pending changes, set the
1005
- # `Deployed` option to `true`.
1006
- # @note When making an API call, pass DescribeServiceAccessPoliciesRequest
1007
- # data as a hash:
1008
- #
1009
- # {
1010
- # domain_name: "DomainName", # required
1011
- # deployed: false,
1012
- # }
1013
- # @!attribute [rw] domain_name
1014
- # The name of the domain you want to describe.
1015
- # @return [String]
1016
- #
1017
- # @!attribute [rw] deployed
1018
- # Whether to display the deployed configuration (`true`) or include
1019
- # any pending changes (`false`). Defaults to `false`.
1020
- # @return [Boolean]
1021
- class DescribeServiceAccessPoliciesRequest < Struct.new(
1022
- :domain_name,
1023
- :deployed)
1024
- include Aws::Structure
1025
- end
1026
-
1027
- # The result of a `DescribeServiceAccessPolicies` request.
1028
- # @!attribute [rw] access_policies
1029
- # The access rules configured for the domain specified in the request.
1030
- # @return [Types::AccessPoliciesStatus]
1031
- class DescribeServiceAccessPoliciesResponse < Struct.new(
1032
- :access_policies)
1033
- include Aws::Structure
1034
- end
1035
-
1036
- # Container for the parameters to the `DescribeSuggester` operation.
1037
- # Specifies the name of the domain you want to describe. To restrict the
1038
- # response to particular suggesters, specify the names of the suggesters
1039
- # you want to describe. To show the active configuration and exclude any
1040
- # pending changes, set the `Deployed` option to `true`.
1041
- # @note When making an API call, pass DescribeSuggestersRequest
1042
- # data as a hash:
1043
- #
1044
- # {
1045
- # domain_name: "DomainName", # required
1046
- # suggester_names: ["StandardName"],
1047
- # deployed: false,
1048
- # }
1049
- # @!attribute [rw] domain_name
1050
- # The name of the domain you want to describe.
1051
- # @return [String]
1052
- #
1053
- # @!attribute [rw] suggester_names
1054
- # The suggesters you want to describe.
1055
- # @return [Array<String>]
1056
- #
1057
- # @!attribute [rw] deployed
1058
- # Whether to display the deployed configuration (`true`) or include
1059
- # any pending changes (`false`). Defaults to `false`.
1060
- # @return [Boolean]
1061
- class DescribeSuggestersRequest < Struct.new(
1062
- :domain_name,
1063
- :suggester_names,
1064
- :deployed)
1065
- include Aws::Structure
1066
- end
1067
-
1068
- # The result of a `DescribeSuggesters` request.
1069
- # @!attribute [rw] suggesters
1070
- # The suggesters configured for the domain specified in the request.
1071
- # @return [Array<Types::SuggesterStatus>]
1072
- class DescribeSuggestersResponse < Struct.new(
1073
- :suggesters)
1074
- include Aws::Structure
1075
- end
1076
-
1077
- # Options for a search suggester.
1078
- # @note When making an API call, pass DocumentSuggesterOptions
1079
- # data as a hash:
1080
- #
1081
- # {
1082
- # source_field: "FieldName", # required
1083
- # fuzzy_matching: "none", # accepts none, low, high
1084
- # sort_expression: "String",
1085
- # }
1086
- # @!attribute [rw] source_field
1087
- # The name of the index field you want to use for suggestions.
1088
- # @return [String]
1089
- #
1090
- # @!attribute [rw] fuzzy_matching
1091
- # The level of fuzziness allowed when suggesting matches for a string:
1092
- # `none`, `low`, or `high`. With none, the specified string is treated
1093
- # as an exact prefix. With low, suggestions must differ from the
1094
- # specified string by no more than one character. With high,
1095
- # suggestions can differ by up to two characters. The default is none.
1096
- # @return [String]
1097
- #
1098
- # @!attribute [rw] sort_expression
1099
- # An expression that computes a score for each suggestion to control
1100
- # how they are sorted. The scores are rounded to the nearest integer,
1101
- # with a floor of 0 and a ceiling of 2^31-1. A document's relevance
1102
- # score is not computed for suggestions, so sort expressions cannot
1103
- # reference the `_score` value. To sort suggestions using a numeric
1104
- # field or existing expression, simply specify the name of the field
1105
- # or expression. If no expression is configured for the suggester, the
1106
- # suggestions are sorted with the closest matches listed first.
1107
- # @return [String]
1108
- class DocumentSuggesterOptions < Struct.new(
1109
- :source_field,
1110
- :fuzzy_matching,
1111
- :sort_expression)
1112
- include Aws::Structure
1113
- end
1114
-
1115
- # The current status of the search domain.
1116
- # @!attribute [rw] domain_id
1117
- # An internally generated unique identifier for a domain.
1118
- # @return [String]
1119
- #
1120
- # @!attribute [rw] domain_name
1121
- # A string that represents the name of a domain. Domain names are
1122
- # unique across the domains owned by an account within an AWS region.
1123
- # Domain names start with a letter or number and can contain the
1124
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
1125
- # @return [String]
1126
- #
1127
- # @!attribute [rw] arn
1128
- # The Amazon Resource Name (ARN) of the search domain. See
1129
- # [Identifiers for IAM Entities][1] in *Using AWS Identity and Access
1130
- # Management* for more information.
1131
- #
1132
- #
1133
- #
1134
- # [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
1135
- # @return [String]
1136
- #
1137
- # @!attribute [rw] created
1138
- # True if the search domain is created. It can take several minutes to
1139
- # initialize a domain when CreateDomain is called. Newly created
1140
- # search domains are returned from DescribeDomains with a false value
1141
- # for Created until domain creation is complete.
1142
- # @return [Boolean]
1143
- #
1144
- # @!attribute [rw] deleted
1145
- # True if the search domain has been deleted. The system must clean up
1146
- # resources dedicated to the search domain when DeleteDomain is
1147
- # called. Newly deleted search domains are returned from
1148
- # DescribeDomains with a true value for IsDeleted for several minutes
1149
- # until resource cleanup is complete.
1150
- # @return [Boolean]
1151
- #
1152
- # @!attribute [rw] doc_service
1153
- # The service endpoint for updating documents in a search domain.
1154
- # @return [Types::ServiceEndpoint]
1155
- #
1156
- # @!attribute [rw] search_service
1157
- # The service endpoint for requesting search results from a search
1158
- # domain.
1159
- # @return [Types::ServiceEndpoint]
1160
- #
1161
- # @!attribute [rw] requires_index_documents
1162
- # True if IndexDocuments needs to be called to activate the current
1163
- # domain configuration.
1164
- # @return [Boolean]
1165
- #
1166
- # @!attribute [rw] processing
1167
- # True if processing is being done to activate the current domain
1168
- # configuration.
1169
- # @return [Boolean]
1170
- #
1171
- # @!attribute [rw] search_instance_type
1172
- # The instance type that is being used to process search requests.
1173
- # @return [String]
1174
- #
1175
- # @!attribute [rw] search_partition_count
1176
- # The number of partitions across which the search index is spread.
1177
- # @return [Integer]
1178
- #
1179
- # @!attribute [rw] search_instance_count
1180
- # The number of search instances that are available to process search
1181
- # requests.
1182
- # @return [Integer]
1183
- #
1184
- # @!attribute [rw] limits
1185
- # @return [Types::Limits]
1186
- class DomainStatus < Struct.new(
1187
- :domain_id,
1188
- :domain_name,
1189
- :arn,
1190
- :created,
1191
- :deleted,
1192
- :doc_service,
1193
- :search_service,
1194
- :requires_index_documents,
1195
- :processing,
1196
- :search_instance_type,
1197
- :search_partition_count,
1198
- :search_instance_count,
1199
- :limits)
1200
- include Aws::Structure
1201
- end
1202
-
1203
- # Options for a field that contains an array of double-precision 64-bit
1204
- # floating point values. Present if `IndexFieldType` specifies the field
1205
- # is of type `double-array`. All options are enabled by default.
1206
- # @note When making an API call, pass DoubleArrayOptions
1207
- # data as a hash:
1208
- #
1209
- # {
1210
- # default_value: 1.0,
1211
- # source_fields: "FieldNameCommaList",
1212
- # facet_enabled: false,
1213
- # search_enabled: false,
1214
- # return_enabled: false,
1215
- # }
1216
- # @!attribute [rw] default_value
1217
- # A value to use for the field if the field isn't specified for a
1218
- # document.
1219
- # @return [Float]
1220
- #
1221
- # @!attribute [rw] source_fields
1222
- # A list of source fields to map to the field.
1223
- # @return [String]
1224
- #
1225
- # @!attribute [rw] facet_enabled
1226
- # Whether facet information can be returned for the field.
1227
- # @return [Boolean]
1228
- #
1229
- # @!attribute [rw] search_enabled
1230
- # Whether the contents of the field are searchable.
1231
- # @return [Boolean]
1232
- #
1233
- # @!attribute [rw] return_enabled
1234
- # Whether the contents of the field can be returned in the search
1235
- # results.
1236
- # @return [Boolean]
1237
- class DoubleArrayOptions < Struct.new(
1238
- :default_value,
1239
- :source_fields,
1240
- :facet_enabled,
1241
- :search_enabled,
1242
- :return_enabled)
1243
- include Aws::Structure
1244
- end
1245
-
1246
- # Options for a double-precision 64-bit floating point field. Present if
1247
- # `IndexFieldType` specifies the field is of type `double`. All options
1248
- # are enabled by default.
1249
- # @note When making an API call, pass DoubleOptions
1250
- # data as a hash:
1251
- #
1252
- # {
1253
- # default_value: 1.0,
1254
- # source_field: "FieldName",
1255
- # facet_enabled: false,
1256
- # search_enabled: false,
1257
- # return_enabled: false,
1258
- # sort_enabled: false,
1259
- # }
1260
- # @!attribute [rw] default_value
1261
- # A value to use for the field if the field isn't specified for a
1262
- # document. This can be important if you are using the field in an
1263
- # expression and that field is not present in every document.
1264
- # @return [Float]
1265
- #
1266
- # @!attribute [rw] source_field
1267
- # The name of the source field to map to the field.
1268
- # @return [String]
1269
- #
1270
- # @!attribute [rw] facet_enabled
1271
- # Whether facet information can be returned for the field.
1272
- # @return [Boolean]
1273
- #
1274
- # @!attribute [rw] search_enabled
1275
- # Whether the contents of the field are searchable.
1276
- # @return [Boolean]
1277
- #
1278
- # @!attribute [rw] return_enabled
1279
- # Whether the contents of the field can be returned in the search
1280
- # results.
1281
- # @return [Boolean]
1282
- #
1283
- # @!attribute [rw] sort_enabled
1284
- # Whether the field can be used to sort the search results.
1285
- # @return [Boolean]
1286
- class DoubleOptions < Struct.new(
1287
- :default_value,
1288
- :source_field,
1289
- :facet_enabled,
1290
- :search_enabled,
1291
- :return_enabled,
1292
- :sort_enabled)
1293
- include Aws::Structure
1294
- end
1295
-
1296
- # A named expression that can be evaluated at search time. Can be used
1297
- # to sort the search results, define other expressions, or return
1298
- # computed information in the search results.
1299
- # @note When making an API call, pass Expression
1300
- # data as a hash:
1301
- #
1302
- # {
1303
- # expression_name: "StandardName", # required
1304
- # expression_value: "ExpressionValue", # required
1305
- # }
1306
- # @!attribute [rw] expression_name
1307
- # Names must begin with a letter and can contain the following
1308
- # characters: a-z (lowercase), 0-9, and \_ (underscore).
1309
- # @return [String]
1310
- #
1311
- # @!attribute [rw] expression_value
1312
- # The expression to evaluate for sorting while processing a search
1313
- # request. The `Expression` syntax is based on JavaScript expressions.
1314
- # For more information, see [Configuring Expressions][1] in the
1315
- # *Amazon CloudSearch Developer Guide*.
1316
- #
1317
- #
1318
- #
1319
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
1320
- # @return [String]
1321
- class Expression < Struct.new(
1322
- :expression_name,
1323
- :expression_value)
1324
- include Aws::Structure
1325
- end
1326
-
1327
- # The value of an `Expression` and its current status.
1328
- # @!attribute [rw] options
1329
- # The expression that is evaluated for sorting while processing a
1330
- # search request.
1331
- # @return [Types::Expression]
1332
- #
1333
- # @!attribute [rw] status
1334
- # The status of domain configuration option.
1335
- # @return [Types::OptionStatus]
1336
- class ExpressionStatus < Struct.new(
1337
- :options,
1338
- :status)
1339
- include Aws::Structure
1340
- end
1341
-
1342
- # Container for the parameters to the `IndexDocuments` operation.
1343
- # Specifies the name of the domain you want to re-index.
1344
- # @note When making an API call, pass IndexDocumentsRequest
1345
- # data as a hash:
1346
- #
1347
- # {
1348
- # domain_name: "DomainName", # required
1349
- # }
1350
- # @!attribute [rw] domain_name
1351
- # A string that represents the name of a domain. Domain names are
1352
- # unique across the domains owned by an account within an AWS region.
1353
- # Domain names start with a letter or number and can contain the
1354
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
1355
- # @return [String]
1356
- class IndexDocumentsRequest < Struct.new(
1357
- :domain_name)
1358
- include Aws::Structure
1359
- end
1360
-
1361
- # The result of an `IndexDocuments` request. Contains the status of the
1362
- # indexing operation, including the fields being indexed.
1363
- # @!attribute [rw] field_names
1364
- # The names of the fields that are currently being indexed.
1365
- # @return [Array<String>]
1366
- class IndexDocumentsResponse < Struct.new(
1367
- :field_names)
1368
- include Aws::Structure
1369
- end
1370
-
1371
- # Configuration information for a field in the index, including its
1372
- # name, type, and options. The supported options depend on the
1373
- # `IndexFieldType`.
1374
- # @note When making an API call, pass IndexField
1375
- # data as a hash:
1376
- #
1377
- # {
1378
- # index_field_name: "DynamicFieldName", # required
1379
- # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
1380
- # int_options: {
1381
- # default_value: 1,
1382
- # source_field: "FieldName",
1383
- # facet_enabled: false,
1384
- # search_enabled: false,
1385
- # return_enabled: false,
1386
- # sort_enabled: false,
1387
- # },
1388
- # double_options: {
1389
- # default_value: 1.0,
1390
- # source_field: "FieldName",
1391
- # facet_enabled: false,
1392
- # search_enabled: false,
1393
- # return_enabled: false,
1394
- # sort_enabled: false,
1395
- # },
1396
- # literal_options: {
1397
- # default_value: "FieldValue",
1398
- # source_field: "FieldName",
1399
- # facet_enabled: false,
1400
- # search_enabled: false,
1401
- # return_enabled: false,
1402
- # sort_enabled: false,
1403
- # },
1404
- # text_options: {
1405
- # default_value: "FieldValue",
1406
- # source_field: "FieldName",
1407
- # return_enabled: false,
1408
- # sort_enabled: false,
1409
- # highlight_enabled: false,
1410
- # analysis_scheme: "Word",
1411
- # },
1412
- # date_options: {
1413
- # default_value: "FieldValue",
1414
- # source_field: "FieldName",
1415
- # facet_enabled: false,
1416
- # search_enabled: false,
1417
- # return_enabled: false,
1418
- # sort_enabled: false,
1419
- # },
1420
- # lat_lon_options: {
1421
- # default_value: "FieldValue",
1422
- # source_field: "FieldName",
1423
- # facet_enabled: false,
1424
- # search_enabled: false,
1425
- # return_enabled: false,
1426
- # sort_enabled: false,
1427
- # },
1428
- # int_array_options: {
1429
- # default_value: 1,
1430
- # source_fields: "FieldNameCommaList",
1431
- # facet_enabled: false,
1432
- # search_enabled: false,
1433
- # return_enabled: false,
1434
- # },
1435
- # double_array_options: {
1436
- # default_value: 1.0,
1437
- # source_fields: "FieldNameCommaList",
1438
- # facet_enabled: false,
1439
- # search_enabled: false,
1440
- # return_enabled: false,
1441
- # },
1442
- # literal_array_options: {
1443
- # default_value: "FieldValue",
1444
- # source_fields: "FieldNameCommaList",
1445
- # facet_enabled: false,
1446
- # search_enabled: false,
1447
- # return_enabled: false,
1448
- # },
1449
- # text_array_options: {
1450
- # default_value: "FieldValue",
1451
- # source_fields: "FieldNameCommaList",
1452
- # return_enabled: false,
1453
- # highlight_enabled: false,
1454
- # analysis_scheme: "Word",
1455
- # },
1456
- # date_array_options: {
1457
- # default_value: "FieldValue",
1458
- # source_fields: "FieldNameCommaList",
1459
- # facet_enabled: false,
1460
- # search_enabled: false,
1461
- # return_enabled: false,
1462
- # },
1463
- # }
1464
- # @!attribute [rw] index_field_name
1465
- # A string that represents the name of an index field. CloudSearch
1466
- # supports regular index fields as well as dynamic fields. A dynamic
1467
- # field's name defines a pattern that begins or ends with a wildcard.
1468
- # Any document fields that don't map to a regular index field but do
1469
- # match a dynamic field's pattern are configured with the dynamic
1470
- # field's indexing options.
1471
- #
1472
- # Regular field names begin with a letter and can contain the
1473
- # following characters: a-z (lowercase), 0-9, and \_ (underscore).
1474
- # Dynamic field names must begin or end with a wildcard (*). The
1475
- # wildcard can also be the only character in a dynamic field name.
1476
- # Multiple wildcards, and wildcards embedded within a string are not
1477
- # supported.
1478
- #
1479
- # The name `score` is reserved and cannot be used as a field name. To
1480
- # reference a document's ID, you can use the name `_id`.
1481
- # @return [String]
1482
- #
1483
- # @!attribute [rw] index_field_type
1484
- # The type of field. The valid options for a field depend on the field
1485
- # type. For more information about the supported field types, see
1486
- # [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
1487
- # Guide*.
1488
- #
1489
- #
1490
- #
1491
- # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
1492
- # @return [String]
1493
- #
1494
- # @!attribute [rw] int_options
1495
- # Options for a 64-bit signed integer field. Present if
1496
- # `IndexFieldType` specifies the field is of type `int`. All options
1497
- # are enabled by default.
1498
- # @return [Types::IntOptions]
1499
- #
1500
- # @!attribute [rw] double_options
1501
- # Options for a double-precision 64-bit floating point field. Present
1502
- # if `IndexFieldType` specifies the field is of type `double`. All
1503
- # options are enabled by default.
1504
- # @return [Types::DoubleOptions]
1505
- #
1506
- # @!attribute [rw] literal_options
1507
- # Options for literal field. Present if `IndexFieldType` specifies the
1508
- # field is of type `literal`. All options are enabled by default.
1509
- # @return [Types::LiteralOptions]
1510
- #
1511
- # @!attribute [rw] text_options
1512
- # Options for text field. Present if `IndexFieldType` specifies the
1513
- # field is of type `text`. A `text` field is always searchable. All
1514
- # options are enabled by default.
1515
- # @return [Types::TextOptions]
1516
- #
1517
- # @!attribute [rw] date_options
1518
- # Options for a date field. Dates and times are specified in UTC
1519
- # (Coordinated Universal Time) according to IETF RFC3339:
1520
- # yyyy-mm-ddT00:00:00Z. Present if `IndexFieldType` specifies the
1521
- # field is of type `date`. All options are enabled by default.
1522
- # @return [Types::DateOptions]
1523
- #
1524
- # @!attribute [rw] lat_lon_options
1525
- # Options for a latlon field. A latlon field contains a location
1526
- # stored as a latitude and longitude value pair. Present if
1527
- # `IndexFieldType` specifies the field is of type `latlon`. All
1528
- # options are enabled by default.
1529
- # @return [Types::LatLonOptions]
1530
- #
1531
- # @!attribute [rw] int_array_options
1532
- # Options for a field that contains an array of 64-bit signed
1533
- # integers. Present if `IndexFieldType` specifies the field is of type
1534
- # `int-array`. All options are enabled by default.
1535
- # @return [Types::IntArrayOptions]
1536
- #
1537
- # @!attribute [rw] double_array_options
1538
- # Options for a field that contains an array of double-precision
1539
- # 64-bit floating point values. Present if `IndexFieldType` specifies
1540
- # the field is of type `double-array`. All options are enabled by
1541
- # default.
1542
- # @return [Types::DoubleArrayOptions]
1543
- #
1544
- # @!attribute [rw] literal_array_options
1545
- # Options for a field that contains an array of literal strings.
1546
- # Present if `IndexFieldType` specifies the field is of type
1547
- # `literal-array`. All options are enabled by default.
1548
- # @return [Types::LiteralArrayOptions]
1549
- #
1550
- # @!attribute [rw] text_array_options
1551
- # Options for a field that contains an array of text strings. Present
1552
- # if `IndexFieldType` specifies the field is of type `text-array`. A
1553
- # `text-array` field is always searchable. All options are enabled by
1554
- # default.
1555
- # @return [Types::TextArrayOptions]
1556
- #
1557
- # @!attribute [rw] date_array_options
1558
- # Options for a field that contains an array of dates. Present if
1559
- # `IndexFieldType` specifies the field is of type `date-array`. All
1560
- # options are enabled by default.
1561
- # @return [Types::DateArrayOptions]
1562
- class IndexField < Struct.new(
1563
- :index_field_name,
1564
- :index_field_type,
1565
- :int_options,
1566
- :double_options,
1567
- :literal_options,
1568
- :text_options,
1569
- :date_options,
1570
- :lat_lon_options,
1571
- :int_array_options,
1572
- :double_array_options,
1573
- :literal_array_options,
1574
- :text_array_options,
1575
- :date_array_options)
1576
- include Aws::Structure
1577
- end
1578
-
1579
- # The value of an `IndexField` and its current status.
1580
- # @!attribute [rw] options
1581
- # Configuration information for a field in the index, including its
1582
- # name, type, and options. The supported options depend on the
1583
- # `IndexFieldType`.
1584
- # @return [Types::IndexField]
1585
- #
1586
- # @!attribute [rw] status
1587
- # The status of domain configuration option.
1588
- # @return [Types::OptionStatus]
1589
- class IndexFieldStatus < Struct.new(
1590
- :options,
1591
- :status)
1592
- include Aws::Structure
1593
- end
1594
-
1595
- # Options for a field that contains an array of 64-bit signed integers.
1596
- # Present if `IndexFieldType` specifies the field is of type
1597
- # `int-array`. All options are enabled by default.
1598
- # @note When making an API call, pass IntArrayOptions
1599
- # data as a hash:
1600
- #
1601
- # {
1602
- # default_value: 1,
1603
- # source_fields: "FieldNameCommaList",
1604
- # facet_enabled: false,
1605
- # search_enabled: false,
1606
- # return_enabled: false,
1607
- # }
1608
- # @!attribute [rw] default_value
1609
- # A value to use for the field if the field isn't specified for a
1610
- # document.
1611
- # @return [Integer]
1612
- #
1613
- # @!attribute [rw] source_fields
1614
- # A list of source fields to map to the field.
1615
- # @return [String]
1616
- #
1617
- # @!attribute [rw] facet_enabled
1618
- # Whether facet information can be returned for the field.
1619
- # @return [Boolean]
1620
- #
1621
- # @!attribute [rw] search_enabled
1622
- # Whether the contents of the field are searchable.
1623
- # @return [Boolean]
1624
- #
1625
- # @!attribute [rw] return_enabled
1626
- # Whether the contents of the field can be returned in the search
1627
- # results.
1628
- # @return [Boolean]
1629
- class IntArrayOptions < Struct.new(
1630
- :default_value,
1631
- :source_fields,
1632
- :facet_enabled,
1633
- :search_enabled,
1634
- :return_enabled)
1635
- include Aws::Structure
1636
- end
1637
-
1638
- # Options for a 64-bit signed integer field. Present if `IndexFieldType`
1639
- # specifies the field is of type `int`. All options are enabled by
1640
- # default.
1641
- # @note When making an API call, pass IntOptions
1642
- # data as a hash:
1643
- #
1644
- # {
1645
- # default_value: 1,
1646
- # source_field: "FieldName",
1647
- # facet_enabled: false,
1648
- # search_enabled: false,
1649
- # return_enabled: false,
1650
- # sort_enabled: false,
1651
- # }
1652
- # @!attribute [rw] default_value
1653
- # A value to use for the field if the field isn't specified for a
1654
- # document. This can be important if you are using the field in an
1655
- # expression and that field is not present in every document.
1656
- # @return [Integer]
1657
- #
1658
- # @!attribute [rw] source_field
1659
- # The name of the source field to map to the field.
1660
- # @return [String]
1661
- #
1662
- # @!attribute [rw] facet_enabled
1663
- # Whether facet information can be returned for the field.
1664
- # @return [Boolean]
1665
- #
1666
- # @!attribute [rw] search_enabled
1667
- # Whether the contents of the field are searchable.
1668
- # @return [Boolean]
1669
- #
1670
- # @!attribute [rw] return_enabled
1671
- # Whether the contents of the field can be returned in the search
1672
- # results.
1673
- # @return [Boolean]
1674
- #
1675
- # @!attribute [rw] sort_enabled
1676
- # Whether the field can be used to sort the search results.
1677
- # @return [Boolean]
1678
- class IntOptions < Struct.new(
1679
- :default_value,
1680
- :source_field,
1681
- :facet_enabled,
1682
- :search_enabled,
1683
- :return_enabled,
1684
- :sort_enabled)
1685
- include Aws::Structure
1686
- end
1687
-
1688
- # Options for a latlon field. A latlon field contains a location stored
1689
- # as a latitude and longitude value pair. Present if `IndexFieldType`
1690
- # specifies the field is of type `latlon`. All options are enabled by
1691
- # default.
1692
- # @note When making an API call, pass LatLonOptions
1693
- # data as a hash:
1694
- #
1695
- # {
1696
- # default_value: "FieldValue",
1697
- # source_field: "FieldName",
1698
- # facet_enabled: false,
1699
- # search_enabled: false,
1700
- # return_enabled: false,
1701
- # sort_enabled: false,
1702
- # }
1703
- # @!attribute [rw] default_value
1704
- # A value to use for the field if the field isn't specified for a
1705
- # document.
1706
- # @return [String]
1707
- #
1708
- # @!attribute [rw] source_field
1709
- # A string that represents the name of an index field. CloudSearch
1710
- # supports regular index fields as well as dynamic fields. A dynamic
1711
- # field's name defines a pattern that begins or ends with a wildcard.
1712
- # Any document fields that don't map to a regular index field but do
1713
- # match a dynamic field's pattern are configured with the dynamic
1714
- # field's indexing options.
1715
- #
1716
- # Regular field names begin with a letter and can contain the
1717
- # following characters: a-z (lowercase), 0-9, and \_ (underscore).
1718
- # Dynamic field names must begin or end with a wildcard (*). The
1719
- # wildcard can also be the only character in a dynamic field name.
1720
- # Multiple wildcards, and wildcards embedded within a string are not
1721
- # supported.
1722
- #
1723
- # The name `score` is reserved and cannot be used as a field name. To
1724
- # reference a document's ID, you can use the name `_id`.
1725
- # @return [String]
1726
- #
1727
- # @!attribute [rw] facet_enabled
1728
- # Whether facet information can be returned for the field.
1729
- # @return [Boolean]
1730
- #
1731
- # @!attribute [rw] search_enabled
1732
- # Whether the contents of the field are searchable.
1733
- # @return [Boolean]
1734
- #
1735
- # @!attribute [rw] return_enabled
1736
- # Whether the contents of the field can be returned in the search
1737
- # results.
1738
- # @return [Boolean]
1739
- #
1740
- # @!attribute [rw] sort_enabled
1741
- # Whether the field can be used to sort the search results.
1742
- # @return [Boolean]
1743
- class LatLonOptions < Struct.new(
1744
- :default_value,
1745
- :source_field,
1746
- :facet_enabled,
1747
- :search_enabled,
1748
- :return_enabled,
1749
- :sort_enabled)
1750
- include Aws::Structure
1751
- end
1752
-
1753
- # @!attribute [rw] maximum_replication_count
1754
- # @return [Integer]
1755
- #
1756
- # @!attribute [rw] maximum_partition_count
1757
- # @return [Integer]
1758
- class Limits < Struct.new(
1759
- :maximum_replication_count,
1760
- :maximum_partition_count)
1761
- include Aws::Structure
1762
- end
1763
-
1764
- # The result of a `ListDomainNames` request. Contains a list of the
1765
- # domains owned by an account.
1766
- # @!attribute [rw] domain_names
1767
- # The names of the search domains owned by an account.
1768
- # @return [Hash<String,String>]
1769
- class ListDomainNamesResponse < Struct.new(
1770
- :domain_names)
1771
- include Aws::Structure
1772
- end
1773
-
1774
- # Options for a field that contains an array of literal strings. Present
1775
- # if `IndexFieldType` specifies the field is of type `literal-array`.
1776
- # All options are enabled by default.
1777
- # @note When making an API call, pass LiteralArrayOptions
1778
- # data as a hash:
1779
- #
1780
- # {
1781
- # default_value: "FieldValue",
1782
- # source_fields: "FieldNameCommaList",
1783
- # facet_enabled: false,
1784
- # search_enabled: false,
1785
- # return_enabled: false,
1786
- # }
1787
- # @!attribute [rw] default_value
1788
- # A value to use for the field if the field isn't specified for a
1789
- # document.
1790
- # @return [String]
1791
- #
1792
- # @!attribute [rw] source_fields
1793
- # A list of source fields to map to the field.
1794
- # @return [String]
1795
- #
1796
- # @!attribute [rw] facet_enabled
1797
- # Whether facet information can be returned for the field.
1798
- # @return [Boolean]
1799
- #
1800
- # @!attribute [rw] search_enabled
1801
- # Whether the contents of the field are searchable.
1802
- # @return [Boolean]
1803
- #
1804
- # @!attribute [rw] return_enabled
1805
- # Whether the contents of the field can be returned in the search
1806
- # results.
1807
- # @return [Boolean]
1808
- class LiteralArrayOptions < Struct.new(
1809
- :default_value,
1810
- :source_fields,
1811
- :facet_enabled,
1812
- :search_enabled,
1813
- :return_enabled)
1814
- include Aws::Structure
1815
- end
1816
-
1817
- # Options for literal field. Present if `IndexFieldType` specifies the
1818
- # field is of type `literal`. All options are enabled by default.
1819
- # @note When making an API call, pass LiteralOptions
1820
- # data as a hash:
1821
- #
1822
- # {
1823
- # default_value: "FieldValue",
1824
- # source_field: "FieldName",
1825
- # facet_enabled: false,
1826
- # search_enabled: false,
1827
- # return_enabled: false,
1828
- # sort_enabled: false,
1829
- # }
1830
- # @!attribute [rw] default_value
1831
- # A value to use for the field if the field isn't specified for a
1832
- # document.
1833
- # @return [String]
1834
- #
1835
- # @!attribute [rw] source_field
1836
- # A string that represents the name of an index field. CloudSearch
1837
- # supports regular index fields as well as dynamic fields. A dynamic
1838
- # field's name defines a pattern that begins or ends with a wildcard.
1839
- # Any document fields that don't map to a regular index field but do
1840
- # match a dynamic field's pattern are configured with the dynamic
1841
- # field's indexing options.
1842
- #
1843
- # Regular field names begin with a letter and can contain the
1844
- # following characters: a-z (lowercase), 0-9, and \_ (underscore).
1845
- # Dynamic field names must begin or end with a wildcard (*). The
1846
- # wildcard can also be the only character in a dynamic field name.
1847
- # Multiple wildcards, and wildcards embedded within a string are not
1848
- # supported.
1849
- #
1850
- # The name `score` is reserved and cannot be used as a field name. To
1851
- # reference a document's ID, you can use the name `_id`.
1852
- # @return [String]
1853
- #
1854
- # @!attribute [rw] facet_enabled
1855
- # Whether facet information can be returned for the field.
1856
- # @return [Boolean]
1857
- #
1858
- # @!attribute [rw] search_enabled
1859
- # Whether the contents of the field are searchable.
1860
- # @return [Boolean]
1861
- #
1862
- # @!attribute [rw] return_enabled
1863
- # Whether the contents of the field can be returned in the search
1864
- # results.
1865
- # @return [Boolean]
1866
- #
1867
- # @!attribute [rw] sort_enabled
1868
- # Whether the field can be used to sort the search results.
1869
- # @return [Boolean]
1870
- class LiteralOptions < Struct.new(
1871
- :default_value,
1872
- :source_field,
1873
- :facet_enabled,
1874
- :search_enabled,
1875
- :return_enabled,
1876
- :sort_enabled)
1877
- include Aws::Structure
1878
- end
1879
-
1880
- # The status of domain configuration option.
1881
- # @!attribute [rw] creation_date
1882
- # A timestamp for when this option was created.
1883
- # @return [Time]
1884
- #
1885
- # @!attribute [rw] update_date
1886
- # A timestamp for when this option was last updated.
1887
- # @return [Time]
1888
- #
1889
- # @!attribute [rw] update_version
1890
- # A unique integer that indicates when this option was last updated.
1891
- # @return [Integer]
1892
- #
1893
- # @!attribute [rw] state
1894
- # The state of processing a change to an option. Possible values:
1895
- #
1896
- # * `RequiresIndexDocuments`\: the option's latest value will not be
1897
- # deployed until IndexDocuments has been called and indexing is
1898
- # complete.
1899
- # * `Processing`\: the option's latest value is in the process of
1900
- # being activated.
1901
- # * `Active`\: the option's latest value is completely deployed.
1902
- # * `FailedToValidate`\: the option value is not compatible with the
1903
- # domain's data and cannot be used to index the data. You must
1904
- # either modify the option value or update or remove the
1905
- # incompatible documents.
1906
- # @return [String]
1907
- #
1908
- # @!attribute [rw] pending_deletion
1909
- # Indicates that the option will be deleted once processing is
1910
- # complete.
1911
- # @return [Boolean]
1912
- class OptionStatus < Struct.new(
1913
- :creation_date,
1914
- :update_date,
1915
- :update_version,
1916
- :state,
1917
- :pending_deletion)
1918
- include Aws::Structure
1919
- end
1920
-
1921
- # The desired instance type and desired number of replicas of each index
1922
- # partition.
1923
- # @note When making an API call, pass ScalingParameters
1924
- # data as a hash:
1925
- #
1926
- # {
1927
- # 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
1928
- # desired_replication_count: 1,
1929
- # desired_partition_count: 1,
1930
- # }
1931
- # @!attribute [rw] desired_instance_type
1932
- # The instance type that you want to preconfigure for your domain. For
1933
- # example, `search.m1.small`.
1934
- # @return [String]
1935
- #
1936
- # @!attribute [rw] desired_replication_count
1937
- # The number of replicas you want to preconfigure for each index
1938
- # partition.
1939
- # @return [Integer]
1940
- #
1941
- # @!attribute [rw] desired_partition_count
1942
- # The number of partitions you want to preconfigure for your domain.
1943
- # Only valid when you select `m2.2xlarge` as the desired instance
1944
- # type.
1945
- # @return [Integer]
1946
- class ScalingParameters < Struct.new(
1947
- :desired_instance_type,
1948
- :desired_replication_count,
1949
- :desired_partition_count)
1950
- include Aws::Structure
1951
- end
1952
-
1953
- # The status and configuration of a search domain's scaling parameters.
1954
- # @!attribute [rw] options
1955
- # The desired instance type and desired number of replicas of each
1956
- # index partition.
1957
- # @return [Types::ScalingParameters]
1958
- #
1959
- # @!attribute [rw] status
1960
- # The status of domain configuration option.
1961
- # @return [Types::OptionStatus]
1962
- class ScalingParametersStatus < Struct.new(
1963
- :options,
1964
- :status)
1965
- include Aws::Structure
1966
- end
1967
-
1968
- # The endpoint to which service requests can be submitted.
1969
- # @!attribute [rw] endpoint
1970
- # The endpoint to which service requests can be submitted. For
1971
- # example,
1972
- # `search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com`
1973
- # or
1974
- # `doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com`.
1975
- # @return [String]
1976
- class ServiceEndpoint < Struct.new(
1977
- :endpoint)
1978
- include Aws::Structure
1979
- end
1980
-
1981
- # Configuration information for a search suggester. Each suggester has a
1982
- # unique name and specifies the text field you want to use for
1983
- # suggestions. The following options can be configured for a suggester:
1984
- # `FuzzyMatching`, `SortExpression`.
1985
- # @note When making an API call, pass Suggester
1986
- # data as a hash:
1987
- #
1988
- # {
1989
- # suggester_name: "StandardName", # required
1990
- # document_suggester_options: { # required
1991
- # source_field: "FieldName", # required
1992
- # fuzzy_matching: "none", # accepts none, low, high
1993
- # sort_expression: "String",
1994
- # },
1995
- # }
1996
- # @!attribute [rw] suggester_name
1997
- # Names must begin with a letter and can contain the following
1998
- # characters: a-z (lowercase), 0-9, and \_ (underscore).
1999
- # @return [String]
2000
- #
2001
- # @!attribute [rw] document_suggester_options
2002
- # Options for a search suggester.
2003
- # @return [Types::DocumentSuggesterOptions]
2004
- class Suggester < Struct.new(
2005
- :suggester_name,
2006
- :document_suggester_options)
2007
- include Aws::Structure
2008
- end
2009
-
2010
- # The value of a `Suggester` and its current status.
2011
- # @!attribute [rw] options
2012
- # Configuration information for a search suggester. Each suggester has
2013
- # a unique name and specifies the text field you want to use for
2014
- # suggestions. The following options can be configured for a
2015
- # suggester: `FuzzyMatching`, `SortExpression`.
2016
- # @return [Types::Suggester]
2017
- #
2018
- # @!attribute [rw] status
2019
- # The status of domain configuration option.
2020
- # @return [Types::OptionStatus]
2021
- class SuggesterStatus < Struct.new(
2022
- :options,
2023
- :status)
2024
- include Aws::Structure
2025
- end
2026
-
2027
- # Options for a field that contains an array of text strings. Present if
2028
- # `IndexFieldType` specifies the field is of type `text-array`. A
2029
- # `text-array` field is always searchable. All options are enabled by
2030
- # default.
2031
- # @note When making an API call, pass TextArrayOptions
2032
- # data as a hash:
2033
- #
2034
- # {
2035
- # default_value: "FieldValue",
2036
- # source_fields: "FieldNameCommaList",
2037
- # return_enabled: false,
2038
- # highlight_enabled: false,
2039
- # analysis_scheme: "Word",
2040
- # }
2041
- # @!attribute [rw] default_value
2042
- # A value to use for the field if the field isn't specified for a
2043
- # document.
2044
- # @return [String]
2045
- #
2046
- # @!attribute [rw] source_fields
2047
- # A list of source fields to map to the field.
2048
- # @return [String]
2049
- #
2050
- # @!attribute [rw] return_enabled
2051
- # Whether the contents of the field can be returned in the search
2052
- # results.
2053
- # @return [Boolean]
2054
- #
2055
- # @!attribute [rw] highlight_enabled
2056
- # Whether highlights can be returned for the field.
2057
- # @return [Boolean]
2058
- #
2059
- # @!attribute [rw] analysis_scheme
2060
- # The name of an analysis scheme for a `text-array` field.
2061
- # @return [String]
2062
- class TextArrayOptions < Struct.new(
2063
- :default_value,
2064
- :source_fields,
2065
- :return_enabled,
2066
- :highlight_enabled,
2067
- :analysis_scheme)
2068
- include Aws::Structure
2069
- end
2070
-
2071
- # Options for text field. Present if `IndexFieldType` specifies the
2072
- # field is of type `text`. A `text` field is always searchable. All
2073
- # options are enabled by default.
2074
- # @note When making an API call, pass TextOptions
2075
- # data as a hash:
2076
- #
2077
- # {
2078
- # default_value: "FieldValue",
2079
- # source_field: "FieldName",
2080
- # return_enabled: false,
2081
- # sort_enabled: false,
2082
- # highlight_enabled: false,
2083
- # analysis_scheme: "Word",
2084
- # }
2085
- # @!attribute [rw] default_value
2086
- # A value to use for the field if the field isn't specified for a
2087
- # document.
2088
- # @return [String]
2089
- #
2090
- # @!attribute [rw] source_field
2091
- # A string that represents the name of an index field. CloudSearch
2092
- # supports regular index fields as well as dynamic fields. A dynamic
2093
- # field's name defines a pattern that begins or ends with a wildcard.
2094
- # Any document fields that don't map to a regular index field but do
2095
- # match a dynamic field's pattern are configured with the dynamic
2096
- # field's indexing options.
2097
- #
2098
- # Regular field names begin with a letter and can contain the
2099
- # following characters: a-z (lowercase), 0-9, and \_ (underscore).
2100
- # Dynamic field names must begin or end with a wildcard (*). The
2101
- # wildcard can also be the only character in a dynamic field name.
2102
- # Multiple wildcards, and wildcards embedded within a string are not
2103
- # supported.
2104
- #
2105
- # The name `score` is reserved and cannot be used as a field name. To
2106
- # reference a document's ID, you can use the name `_id`.
2107
- # @return [String]
2108
- #
2109
- # @!attribute [rw] return_enabled
2110
- # Whether the contents of the field can be returned in the search
2111
- # results.
2112
- # @return [Boolean]
2113
- #
2114
- # @!attribute [rw] sort_enabled
2115
- # Whether the field can be used to sort the search results.
2116
- # @return [Boolean]
2117
- #
2118
- # @!attribute [rw] highlight_enabled
2119
- # Whether highlights can be returned for the field.
2120
- # @return [Boolean]
2121
- #
2122
- # @!attribute [rw] analysis_scheme
2123
- # The name of an analysis scheme for a `text` field.
2124
- # @return [String]
2125
- class TextOptions < Struct.new(
2126
- :default_value,
2127
- :source_field,
2128
- :return_enabled,
2129
- :sort_enabled,
2130
- :highlight_enabled,
2131
- :analysis_scheme)
2132
- include Aws::Structure
2133
- end
2134
-
2135
- # Container for the parameters to the `UpdateAvailabilityOptions`
2136
- # operation. Specifies the name of the domain you want to update and the
2137
- # Multi-AZ availability option.
2138
- # @note When making an API call, pass UpdateAvailabilityOptionsRequest
2139
- # data as a hash:
2140
- #
2141
- # {
2142
- # domain_name: "DomainName", # required
2143
- # multi_az: false, # required
2144
- # }
2145
- # @!attribute [rw] domain_name
2146
- # A string that represents the name of a domain. Domain names are
2147
- # unique across the domains owned by an account within an AWS region.
2148
- # Domain names start with a letter or number and can contain the
2149
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
2150
- # @return [String]
2151
- #
2152
- # @!attribute [rw] multi_az
2153
- # You expand an existing search domain to a second Availability Zone
2154
- # by setting the Multi-AZ option to true. Similarly, you can turn off
2155
- # the Multi-AZ option to downgrade the domain to a single Availability
2156
- # Zone by setting the Multi-AZ option to `false`.
2157
- # @return [Boolean]
2158
- class UpdateAvailabilityOptionsRequest < Struct.new(
2159
- :domain_name,
2160
- :multi_az)
2161
- include Aws::Structure
2162
- end
2163
-
2164
- # The result of a `UpdateAvailabilityOptions` request. Contains the
2165
- # status of the domain's availability options.
2166
- # @!attribute [rw] availability_options
2167
- # The newly-configured availability options. Indicates whether
2168
- # Multi-AZ is enabled for the domain.
2169
- # @return [Types::AvailabilityOptionsStatus]
2170
- class UpdateAvailabilityOptionsResponse < Struct.new(
2171
- :availability_options)
2172
- include Aws::Structure
2173
- end
2174
-
2175
- # Container for the parameters to the `UpdateScalingParameters`
2176
- # operation. Specifies the name of the domain you want to update and the
2177
- # scaling parameters you want to configure.
2178
- # @note When making an API call, pass UpdateScalingParametersRequest
2179
- # data as a hash:
2180
- #
2181
- # {
2182
- # domain_name: "DomainName", # required
2183
- # scaling_parameters: { # required
2184
- # 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
2185
- # desired_replication_count: 1,
2186
- # desired_partition_count: 1,
2187
- # },
2188
- # }
2189
- # @!attribute [rw] domain_name
2190
- # A string that represents the name of a domain. Domain names are
2191
- # unique across the domains owned by an account within an AWS region.
2192
- # Domain names start with a letter or number and can contain the
2193
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
2194
- # @return [String]
2195
- #
2196
- # @!attribute [rw] scaling_parameters
2197
- # The desired instance type and desired number of replicas of each
2198
- # index partition.
2199
- # @return [Types::ScalingParameters]
2200
- class UpdateScalingParametersRequest < Struct.new(
2201
- :domain_name,
2202
- :scaling_parameters)
2203
- include Aws::Structure
2204
- end
2205
-
2206
- # The result of a `UpdateScalingParameters` request. Contains the status
2207
- # of the newly-configured scaling parameters.
2208
- # @!attribute [rw] scaling_parameters
2209
- # The status and configuration of a search domain's scaling
2210
- # parameters.
2211
- # @return [Types::ScalingParametersStatus]
2212
- class UpdateScalingParametersResponse < Struct.new(
2213
- :scaling_parameters)
2214
- include Aws::Structure
2215
- end
2216
-
2217
- # Container for the parameters to the `UpdateServiceAccessPolicies`
2218
- # operation. Specifies the name of the domain you want to update and the
2219
- # access rules you want to configure.
2220
- # @note When making an API call, pass UpdateServiceAccessPoliciesRequest
2221
- # data as a hash:
2222
- #
2223
- # {
2224
- # domain_name: "DomainName", # required
2225
- # access_policies: "PolicyDocument", # required
2226
- # }
2227
- # @!attribute [rw] domain_name
2228
- # A string that represents the name of a domain. Domain names are
2229
- # unique across the domains owned by an account within an AWS region.
2230
- # Domain names start with a letter or number and can contain the
2231
- # following characters: a-z (lowercase), 0-9, and - (hyphen).
2232
- # @return [String]
2233
- #
2234
- # @!attribute [rw] access_policies
2235
- # The access rules you want to configure. These rules replace any
2236
- # existing rules.
2237
- # @return [String]
2238
- class UpdateServiceAccessPoliciesRequest < Struct.new(
2239
- :domain_name,
2240
- :access_policies)
2241
- include Aws::Structure
2242
- end
2243
-
2244
- # The result of an `UpdateServiceAccessPolicies` request. Contains the
2245
- # new access policies.
2246
- # @!attribute [rw] access_policies
2247
- # The access rules configured for the domain.
2248
- # @return [Types::AccessPoliciesStatus]
2249
- class UpdateServiceAccessPoliciesResponse < Struct.new(
2250
- :access_policies)
2251
- include Aws::Structure
2252
- end
8
+ module Aws::CloudSearch
9
+ module Types
10
+
11
+ # The configured access rules for the domain's document and search
12
+ # endpoints, and the current status of those rules.
13
+ #
14
+ # @!attribute [rw] options
15
+ # Access rules for a domain's document or search service endpoints.
16
+ # For more information, see [Configuring Access for a Search
17
+ # Domain][1] in the *Amazon CloudSearch Developer Guide*. The maximum
18
+ # size of a policy document is 100 KB.
19
+ #
20
+ #
21
+ #
22
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] status
26
+ # The status of domain configuration option.
27
+ # @return [Types::OptionStatus]
28
+ #
29
+ class AccessPoliciesStatus < Struct.new(
30
+ :options,
31
+ :status)
32
+ include Aws::Structure
33
+ end
34
+
35
+ # Synonyms, stopwords, and stemming options for an analysis scheme.
36
+ # Includes tokenization dictionary for Japanese.
37
+ #
38
+ # @note When making an API call, you may pass AnalysisOptions
39
+ # data as a hash:
40
+ #
41
+ # {
42
+ # synonyms: "String",
43
+ # stopwords: "String",
44
+ # stemming_dictionary: "String",
45
+ # japanese_tokenization_dictionary: "String",
46
+ # algorithmic_stemming: "none", # accepts none, minimal, light, full
47
+ # }
48
+ #
49
+ # @!attribute [rw] synonyms
50
+ # A JSON object that defines synonym groups and aliases. A synonym
51
+ # group is an array of arrays, where each sub-array is a group of
52
+ # terms where each term in the group is considered a synonym of every
53
+ # other term in the group. The aliases value is an object that
54
+ # contains a collection of string:value pairs where the string
55
+ # specifies a term and the array of values specifies each of the
56
+ # aliases for that term. An alias is considered a synonym of the
57
+ # specified term, but the term is not considered a synonym of the
58
+ # alias. For more information about specifying synonyms, see
59
+ # [Synonyms][1] in the *Amazon CloudSearch Developer Guide*.
60
+ #
61
+ #
62
+ #
63
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html#synonyms
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] stopwords
67
+ # A JSON array of terms to ignore during indexing and searching. For
68
+ # example, `["a", "an", "the", "of"]`. The stopwords dictionary must
69
+ # explicitly list each word you want to ignore. Wildcards and regular
70
+ # expressions are not supported.
71
+ # @return [String]
72
+ #
73
+ # @!attribute [rw] stemming_dictionary
74
+ # A JSON object that contains a collection of string:value pairs that
75
+ # each map a term to its stem. For example, `\{"term1": "stem1",
76
+ # "term2": "stem2", "term3": "stem3"\}`. The stemming dictionary is
77
+ # applied in addition to any algorithmic stemming. This enables you to
78
+ # override the results of the algorithmic stemming to correct specific
79
+ # cases of overstemming or understemming. The maximum size of a
80
+ # stemming dictionary is 500 KB.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] japanese_tokenization_dictionary
84
+ # A JSON array that contains a collection of terms, tokens, readings
85
+ # and part of speech for Japanese Tokenizaiton. The Japanese
86
+ # tokenization dictionary enables you to override the default
87
+ # tokenization for selected terms. This is only valid for Japanese
88
+ # language fields.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] algorithmic_stemming
92
+ # The level of algorithmic stemming to perform: `none`, `minimal`,
93
+ # `light`, or `full`. The available levels vary depending on the
94
+ # language. For more information, see [Language Specific Text
95
+ # Processing Settings][1] in the *Amazon CloudSearch Developer Guide*
96
+ #
97
+ #
98
+ #
99
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/text-processing.html#text-processing-settings
100
+ # @return [String]
101
+ #
102
+ class AnalysisOptions < Struct.new(
103
+ :synonyms,
104
+ :stopwords,
105
+ :stemming_dictionary,
106
+ :japanese_tokenization_dictionary,
107
+ :algorithmic_stemming)
108
+ include Aws::Structure
109
+ end
110
+
111
+ # Configuration information for an analysis scheme. Each analysis scheme
112
+ # has a unique name and specifies the language of the text to be
113
+ # processed. The following options can be configured for an analysis
114
+ # scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
115
+ # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
116
+ #
117
+ # @note When making an API call, you may pass AnalysisScheme
118
+ # data as a hash:
119
+ #
120
+ # {
121
+ # analysis_scheme_name: "StandardName", # required
122
+ # 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
123
+ # analysis_options: {
124
+ # synonyms: "String",
125
+ # stopwords: "String",
126
+ # stemming_dictionary: "String",
127
+ # japanese_tokenization_dictionary: "String",
128
+ # algorithmic_stemming: "none", # accepts none, minimal, light, full
129
+ # },
130
+ # }
131
+ #
132
+ # @!attribute [rw] analysis_scheme_name
133
+ # Names must begin with a letter and can contain the following
134
+ # characters: a-z (lowercase), 0-9, and \_ (underscore).
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] analysis_scheme_language
138
+ # An [IETF RFC 4646][1] language code or `mul` for multiple languages.
139
+ #
140
+ #
141
+ #
142
+ # [1]: http://tools.ietf.org/html/rfc4646
143
+ # @return [String]
144
+ #
145
+ # @!attribute [rw] analysis_options
146
+ # Synonyms, stopwords, and stemming options for an analysis scheme.
147
+ # Includes tokenization dictionary for Japanese.
148
+ # @return [Types::AnalysisOptions]
149
+ #
150
+ class AnalysisScheme < Struct.new(
151
+ :analysis_scheme_name,
152
+ :analysis_scheme_language,
153
+ :analysis_options)
154
+ include Aws::Structure
155
+ end
156
+
157
+ # The status and configuration of an `AnalysisScheme`.
158
+ #
159
+ # @!attribute [rw] options
160
+ # Configuration information for an analysis scheme. Each analysis
161
+ # scheme has a unique name and specifies the language of the text to
162
+ # be processed. The following options can be configured for an
163
+ # analysis scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
164
+ # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
165
+ # @return [Types::AnalysisScheme]
166
+ #
167
+ # @!attribute [rw] status
168
+ # The status of domain configuration option.
169
+ # @return [Types::OptionStatus]
170
+ #
171
+ class AnalysisSchemeStatus < Struct.new(
172
+ :options,
173
+ :status)
174
+ include Aws::Structure
175
+ end
176
+
177
+ # The status and configuration of the domain's availability options.
178
+ #
179
+ # @!attribute [rw] options
180
+ # The availability options configured for the domain.
181
+ # @return [Boolean]
182
+ #
183
+ # @!attribute [rw] status
184
+ # The status of domain configuration option.
185
+ # @return [Types::OptionStatus]
186
+ #
187
+ class AvailabilityOptionsStatus < Struct.new(
188
+ :options,
189
+ :status)
190
+ include Aws::Structure
191
+ end
192
+
193
+ # Container for the parameters to the `BuildSuggester` operation.
194
+ # Specifies the name of the domain you want to update.
195
+ #
196
+ # @note When making an API call, you may pass BuildSuggestersRequest
197
+ # data as a hash:
198
+ #
199
+ # {
200
+ # domain_name: "DomainName", # required
201
+ # }
202
+ #
203
+ # @!attribute [rw] domain_name
204
+ # A string that represents the name of a domain. Domain names are
205
+ # unique across the domains owned by an account within an AWS region.
206
+ # Domain names start with a letter or number and can contain the
207
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
208
+ # @return [String]
209
+ #
210
+ class BuildSuggestersRequest < Struct.new(
211
+ :domain_name)
212
+ include Aws::Structure
213
+ end
214
+
215
+ # The result of a `BuildSuggester` request. Contains a list of the
216
+ # fields used for suggestions.
217
+ #
218
+ # @!attribute [rw] field_names
219
+ # A list of field names.
220
+ # @return [Array<String>]
221
+ #
222
+ class BuildSuggestersResponse < Struct.new(
223
+ :field_names)
224
+ include Aws::Structure
225
+ end
226
+
227
+ # Container for the parameters to the `CreateDomain` operation.
228
+ # Specifies a name for the new search domain.
229
+ #
230
+ # @note When making an API call, you may pass CreateDomainRequest
231
+ # data as a hash:
232
+ #
233
+ # {
234
+ # domain_name: "DomainName", # required
235
+ # }
236
+ #
237
+ # @!attribute [rw] domain_name
238
+ # A name for the domain you are creating. Allowed characters are a-z
239
+ # (lower-case letters), 0-9, and hyphen (-). Domain names must start
240
+ # with a letter or number and be at least 3 and no more than 28
241
+ # characters long.
242
+ # @return [String]
243
+ #
244
+ class CreateDomainRequest < Struct.new(
245
+ :domain_name)
246
+ include Aws::Structure
247
+ end
248
+
249
+ # The result of a `CreateDomainRequest`. Contains the status of a newly
250
+ # created domain.
251
+ #
252
+ # @!attribute [rw] domain_status
253
+ # The current status of the search domain.
254
+ # @return [Types::DomainStatus]
255
+ #
256
+ class CreateDomainResponse < Struct.new(
257
+ :domain_status)
258
+ include Aws::Structure
259
+ end
260
+
261
+ # Options for a field that contains an array of dates. Present if
262
+ # `IndexFieldType` specifies the field is of type `date-array`. All
263
+ # options are enabled by default.
264
+ #
265
+ # @note When making an API call, you may pass DateArrayOptions
266
+ # data as a hash:
267
+ #
268
+ # {
269
+ # default_value: "FieldValue",
270
+ # source_fields: "FieldNameCommaList",
271
+ # facet_enabled: false,
272
+ # search_enabled: false,
273
+ # return_enabled: false,
274
+ # }
275
+ #
276
+ # @!attribute [rw] default_value
277
+ # A value to use for the field if the field isn't specified for a
278
+ # document.
279
+ # @return [String]
280
+ #
281
+ # @!attribute [rw] source_fields
282
+ # A list of source fields to map to the field.
283
+ # @return [String]
284
+ #
285
+ # @!attribute [rw] facet_enabled
286
+ # Whether facet information can be returned for the field.
287
+ # @return [Boolean]
288
+ #
289
+ # @!attribute [rw] search_enabled
290
+ # Whether the contents of the field are searchable.
291
+ # @return [Boolean]
292
+ #
293
+ # @!attribute [rw] return_enabled
294
+ # Whether the contents of the field can be returned in the search
295
+ # results.
296
+ # @return [Boolean]
297
+ #
298
+ class DateArrayOptions < Struct.new(
299
+ :default_value,
300
+ :source_fields,
301
+ :facet_enabled,
302
+ :search_enabled,
303
+ :return_enabled)
304
+ include Aws::Structure
305
+ end
306
+
307
+ # Options for a date field. Dates and times are specified in UTC
308
+ # (Coordinated Universal Time) according to IETF RFC3339:
309
+ # yyyy-mm-ddT00:00:00Z. Present if `IndexFieldType` specifies the field
310
+ # is of type `date`. All options are enabled by default.
311
+ #
312
+ # @note When making an API call, you may pass DateOptions
313
+ # data as a hash:
314
+ #
315
+ # {
316
+ # default_value: "FieldValue",
317
+ # source_field: "FieldName",
318
+ # facet_enabled: false,
319
+ # search_enabled: false,
320
+ # return_enabled: false,
321
+ # sort_enabled: false,
322
+ # }
323
+ #
324
+ # @!attribute [rw] default_value
325
+ # A value to use for the field if the field isn't specified for a
326
+ # document.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] source_field
330
+ # A string that represents the name of an index field. CloudSearch
331
+ # supports regular index fields as well as dynamic fields. A dynamic
332
+ # field's name defines a pattern that begins or ends with a wildcard.
333
+ # Any document fields that don't map to a regular index field but do
334
+ # match a dynamic field's pattern are configured with the dynamic
335
+ # field's indexing options.
336
+ #
337
+ # Regular field names begin with a letter and can contain the
338
+ # following characters: a-z (lowercase), 0-9, and \_ (underscore).
339
+ # Dynamic field names must begin or end with a wildcard (*). The
340
+ # wildcard can also be the only character in a dynamic field name.
341
+ # Multiple wildcards, and wildcards embedded within a string are not
342
+ # supported.
343
+ #
344
+ # The name `score` is reserved and cannot be used as a field name. To
345
+ # reference a document's ID, you can use the name `_id`.
346
+ # @return [String]
347
+ #
348
+ # @!attribute [rw] facet_enabled
349
+ # Whether facet information can be returned for the field.
350
+ # @return [Boolean]
351
+ #
352
+ # @!attribute [rw] search_enabled
353
+ # Whether the contents of the field are searchable.
354
+ # @return [Boolean]
355
+ #
356
+ # @!attribute [rw] return_enabled
357
+ # Whether the contents of the field can be returned in the search
358
+ # results.
359
+ # @return [Boolean]
360
+ #
361
+ # @!attribute [rw] sort_enabled
362
+ # Whether the field can be used to sort the search results.
363
+ # @return [Boolean]
364
+ #
365
+ class DateOptions < Struct.new(
366
+ :default_value,
367
+ :source_field,
368
+ :facet_enabled,
369
+ :search_enabled,
370
+ :return_enabled,
371
+ :sort_enabled)
372
+ include Aws::Structure
373
+ end
374
+
375
+ # Container for the parameters to the `DefineAnalysisScheme` operation.
376
+ # Specifies the name of the domain you want to update and the analysis
377
+ # scheme configuration.
378
+ #
379
+ # @note When making an API call, you may pass DefineAnalysisSchemeRequest
380
+ # data as a hash:
381
+ #
382
+ # {
383
+ # domain_name: "DomainName", # required
384
+ # analysis_scheme: { # required
385
+ # analysis_scheme_name: "StandardName", # required
386
+ # 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
387
+ # analysis_options: {
388
+ # synonyms: "String",
389
+ # stopwords: "String",
390
+ # stemming_dictionary: "String",
391
+ # japanese_tokenization_dictionary: "String",
392
+ # algorithmic_stemming: "none", # accepts none, minimal, light, full
393
+ # },
394
+ # },
395
+ # }
396
+ #
397
+ # @!attribute [rw] domain_name
398
+ # A string that represents the name of a domain. Domain names are
399
+ # unique across the domains owned by an account within an AWS region.
400
+ # Domain names start with a letter or number and can contain the
401
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] analysis_scheme
405
+ # Configuration information for an analysis scheme. Each analysis
406
+ # scheme has a unique name and specifies the language of the text to
407
+ # be processed. The following options can be configured for an
408
+ # analysis scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`,
409
+ # `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.
410
+ # @return [Types::AnalysisScheme]
411
+ #
412
+ class DefineAnalysisSchemeRequest < Struct.new(
413
+ :domain_name,
414
+ :analysis_scheme)
415
+ include Aws::Structure
416
+ end
417
+
418
+ # The result of a `DefineAnalysisScheme` request. Contains the status of
419
+ # the newly-configured analysis scheme.
420
+ #
421
+ # @!attribute [rw] analysis_scheme
422
+ # The status and configuration of an `AnalysisScheme`.
423
+ # @return [Types::AnalysisSchemeStatus]
424
+ #
425
+ class DefineAnalysisSchemeResponse < Struct.new(
426
+ :analysis_scheme)
427
+ include Aws::Structure
428
+ end
429
+
430
+ # Container for the parameters to the `DefineExpression` operation.
431
+ # Specifies the name of the domain you want to update and the expression
432
+ # you want to configure.
433
+ #
434
+ # @note When making an API call, you may pass DefineExpressionRequest
435
+ # data as a hash:
436
+ #
437
+ # {
438
+ # domain_name: "DomainName", # required
439
+ # expression: { # required
440
+ # expression_name: "StandardName", # required
441
+ # expression_value: "ExpressionValue", # required
442
+ # },
443
+ # }
444
+ #
445
+ # @!attribute [rw] domain_name
446
+ # A string that represents the name of a domain. Domain names are
447
+ # unique across the domains owned by an account within an AWS region.
448
+ # Domain names start with a letter or number and can contain the
449
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] expression
453
+ # A named expression that can be evaluated at search time. Can be used
454
+ # to sort the search results, define other expressions, or return
455
+ # computed information in the search results.
456
+ # @return [Types::Expression]
457
+ #
458
+ class DefineExpressionRequest < Struct.new(
459
+ :domain_name,
460
+ :expression)
461
+ include Aws::Structure
462
+ end
463
+
464
+ # The result of a `DefineExpression` request. Contains the status of the
465
+ # newly-configured expression.
466
+ #
467
+ # @!attribute [rw] expression
468
+ # The value of an `Expression` and its current status.
469
+ # @return [Types::ExpressionStatus]
470
+ #
471
+ class DefineExpressionResponse < Struct.new(
472
+ :expression)
473
+ include Aws::Structure
474
+ end
475
+
476
+ # Container for the parameters to the `DefineIndexField` operation.
477
+ # Specifies the name of the domain you want to update and the index
478
+ # field configuration.
479
+ #
480
+ # @note When making an API call, you may pass DefineIndexFieldRequest
481
+ # data as a hash:
482
+ #
483
+ # {
484
+ # domain_name: "DomainName", # required
485
+ # index_field: { # required
486
+ # index_field_name: "DynamicFieldName", # required
487
+ # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
488
+ # int_options: {
489
+ # default_value: 1,
490
+ # source_field: "FieldName",
491
+ # facet_enabled: false,
492
+ # search_enabled: false,
493
+ # return_enabled: false,
494
+ # sort_enabled: false,
495
+ # },
496
+ # double_options: {
497
+ # default_value: 1.0,
498
+ # source_field: "FieldName",
499
+ # facet_enabled: false,
500
+ # search_enabled: false,
501
+ # return_enabled: false,
502
+ # sort_enabled: false,
503
+ # },
504
+ # literal_options: {
505
+ # default_value: "FieldValue",
506
+ # source_field: "FieldName",
507
+ # facet_enabled: false,
508
+ # search_enabled: false,
509
+ # return_enabled: false,
510
+ # sort_enabled: false,
511
+ # },
512
+ # text_options: {
513
+ # default_value: "FieldValue",
514
+ # source_field: "FieldName",
515
+ # return_enabled: false,
516
+ # sort_enabled: false,
517
+ # highlight_enabled: false,
518
+ # analysis_scheme: "Word",
519
+ # },
520
+ # date_options: {
521
+ # default_value: "FieldValue",
522
+ # source_field: "FieldName",
523
+ # facet_enabled: false,
524
+ # search_enabled: false,
525
+ # return_enabled: false,
526
+ # sort_enabled: false,
527
+ # },
528
+ # lat_lon_options: {
529
+ # default_value: "FieldValue",
530
+ # source_field: "FieldName",
531
+ # facet_enabled: false,
532
+ # search_enabled: false,
533
+ # return_enabled: false,
534
+ # sort_enabled: false,
535
+ # },
536
+ # int_array_options: {
537
+ # default_value: 1,
538
+ # source_fields: "FieldNameCommaList",
539
+ # facet_enabled: false,
540
+ # search_enabled: false,
541
+ # return_enabled: false,
542
+ # },
543
+ # double_array_options: {
544
+ # default_value: 1.0,
545
+ # source_fields: "FieldNameCommaList",
546
+ # facet_enabled: false,
547
+ # search_enabled: false,
548
+ # return_enabled: false,
549
+ # },
550
+ # literal_array_options: {
551
+ # default_value: "FieldValue",
552
+ # source_fields: "FieldNameCommaList",
553
+ # facet_enabled: false,
554
+ # search_enabled: false,
555
+ # return_enabled: false,
556
+ # },
557
+ # text_array_options: {
558
+ # default_value: "FieldValue",
559
+ # source_fields: "FieldNameCommaList",
560
+ # return_enabled: false,
561
+ # highlight_enabled: false,
562
+ # analysis_scheme: "Word",
563
+ # },
564
+ # date_array_options: {
565
+ # default_value: "FieldValue",
566
+ # source_fields: "FieldNameCommaList",
567
+ # facet_enabled: false,
568
+ # search_enabled: false,
569
+ # return_enabled: false,
570
+ # },
571
+ # },
572
+ # }
573
+ #
574
+ # @!attribute [rw] domain_name
575
+ # A string that represents the name of a domain. Domain names are
576
+ # unique across the domains owned by an account within an AWS region.
577
+ # Domain names start with a letter or number and can contain the
578
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
579
+ # @return [String]
580
+ #
581
+ # @!attribute [rw] index_field
582
+ # The index field and field options you want to configure.
583
+ # @return [Types::IndexField]
584
+ #
585
+ class DefineIndexFieldRequest < Struct.new(
586
+ :domain_name,
587
+ :index_field)
588
+ include Aws::Structure
589
+ end
590
+
591
+ # The result of a `DefineIndexField` request. Contains the status of the
592
+ # newly-configured index field.
593
+ #
594
+ # @!attribute [rw] index_field
595
+ # The value of an `IndexField` and its current status.
596
+ # @return [Types::IndexFieldStatus]
597
+ #
598
+ class DefineIndexFieldResponse < Struct.new(
599
+ :index_field)
600
+ include Aws::Structure
601
+ end
602
+
603
+ # Container for the parameters to the `DefineSuggester` operation.
604
+ # Specifies the name of the domain you want to update and the suggester
605
+ # configuration.
606
+ #
607
+ # @note When making an API call, you may pass DefineSuggesterRequest
608
+ # data as a hash:
609
+ #
610
+ # {
611
+ # domain_name: "DomainName", # required
612
+ # suggester: { # required
613
+ # suggester_name: "StandardName", # required
614
+ # document_suggester_options: { # required
615
+ # source_field: "FieldName", # required
616
+ # fuzzy_matching: "none", # accepts none, low, high
617
+ # sort_expression: "String",
618
+ # },
619
+ # },
620
+ # }
621
+ #
622
+ # @!attribute [rw] domain_name
623
+ # A string that represents the name of a domain. Domain names are
624
+ # unique across the domains owned by an account within an AWS region.
625
+ # Domain names start with a letter or number and can contain the
626
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
627
+ # @return [String]
628
+ #
629
+ # @!attribute [rw] suggester
630
+ # Configuration information for a search suggester. Each suggester has
631
+ # a unique name and specifies the text field you want to use for
632
+ # suggestions. The following options can be configured for a
633
+ # suggester: `FuzzyMatching`, `SortExpression`.
634
+ # @return [Types::Suggester]
635
+ #
636
+ class DefineSuggesterRequest < Struct.new(
637
+ :domain_name,
638
+ :suggester)
639
+ include Aws::Structure
640
+ end
641
+
642
+ # The result of a `DefineSuggester` request. Contains the status of the
643
+ # newly-configured suggester.
644
+ #
645
+ # @!attribute [rw] suggester
646
+ # The value of a `Suggester` and its current status.
647
+ # @return [Types::SuggesterStatus]
648
+ #
649
+ class DefineSuggesterResponse < Struct.new(
650
+ :suggester)
651
+ include Aws::Structure
652
+ end
653
+
654
+ # Container for the parameters to the `DeleteAnalysisScheme` operation.
655
+ # Specifies the name of the domain you want to update and the analysis
656
+ # scheme you want to delete.
657
+ #
658
+ # @note When making an API call, you may pass DeleteAnalysisSchemeRequest
659
+ # data as a hash:
660
+ #
661
+ # {
662
+ # domain_name: "DomainName", # required
663
+ # analysis_scheme_name: "StandardName", # required
664
+ # }
665
+ #
666
+ # @!attribute [rw] domain_name
667
+ # A string that represents the name of a domain. Domain names are
668
+ # unique across the domains owned by an account within an AWS region.
669
+ # Domain names start with a letter or number and can contain the
670
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] analysis_scheme_name
674
+ # The name of the analysis scheme you want to delete.
675
+ # @return [String]
676
+ #
677
+ class DeleteAnalysisSchemeRequest < Struct.new(
678
+ :domain_name,
679
+ :analysis_scheme_name)
680
+ include Aws::Structure
681
+ end
682
+
683
+ # The result of a `DeleteAnalysisScheme` request. Contains the status of
684
+ # the deleted analysis scheme.
685
+ #
686
+ # @!attribute [rw] analysis_scheme
687
+ # The status of the analysis scheme being deleted.
688
+ # @return [Types::AnalysisSchemeStatus]
689
+ #
690
+ class DeleteAnalysisSchemeResponse < Struct.new(
691
+ :analysis_scheme)
692
+ include Aws::Structure
693
+ end
694
+
695
+ # Container for the parameters to the `DeleteDomain` operation.
696
+ # Specifies the name of the domain you want to delete.
697
+ #
698
+ # @note When making an API call, you may pass DeleteDomainRequest
699
+ # data as a hash:
700
+ #
701
+ # {
702
+ # domain_name: "DomainName", # required
703
+ # }
704
+ #
705
+ # @!attribute [rw] domain_name
706
+ # The name of the domain you want to permanently delete.
707
+ # @return [String]
708
+ #
709
+ class DeleteDomainRequest < Struct.new(
710
+ :domain_name)
711
+ include Aws::Structure
712
+ end
713
+
714
+ # The result of a `DeleteDomain` request. Contains the status of a newly
715
+ # deleted domain, or no status if the domain has already been completely
716
+ # deleted.
717
+ #
718
+ # @!attribute [rw] domain_status
719
+ # The current status of the search domain.
720
+ # @return [Types::DomainStatus]
721
+ #
722
+ class DeleteDomainResponse < Struct.new(
723
+ :domain_status)
724
+ include Aws::Structure
725
+ end
726
+
727
+ # Container for the parameters to the `DeleteExpression` operation.
728
+ # Specifies the name of the domain you want to update and the name of
729
+ # the expression you want to delete.
730
+ #
731
+ # @note When making an API call, you may pass DeleteExpressionRequest
732
+ # data as a hash:
733
+ #
734
+ # {
735
+ # domain_name: "DomainName", # required
736
+ # expression_name: "StandardName", # required
737
+ # }
738
+ #
739
+ # @!attribute [rw] domain_name
740
+ # A string that represents the name of a domain. Domain names are
741
+ # unique across the domains owned by an account within an AWS region.
742
+ # Domain names start with a letter or number and can contain the
743
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] expression_name
747
+ # The name of the `Expression` to delete.
748
+ # @return [String]
749
+ #
750
+ class DeleteExpressionRequest < Struct.new(
751
+ :domain_name,
752
+ :expression_name)
753
+ include Aws::Structure
754
+ end
755
+
756
+ # The result of a `DeleteExpression` request. Specifies the expression
757
+ # being deleted.
758
+ #
759
+ # @!attribute [rw] expression
760
+ # The status of the expression being deleted.
761
+ # @return [Types::ExpressionStatus]
762
+ #
763
+ class DeleteExpressionResponse < Struct.new(
764
+ :expression)
765
+ include Aws::Structure
766
+ end
767
+
768
+ # Container for the parameters to the `DeleteIndexField` operation.
769
+ # Specifies the name of the domain you want to update and the name of
770
+ # the index field you want to delete.
771
+ #
772
+ # @note When making an API call, you may pass DeleteIndexFieldRequest
773
+ # data as a hash:
774
+ #
775
+ # {
776
+ # domain_name: "DomainName", # required
777
+ # index_field_name: "DynamicFieldName", # required
778
+ # }
779
+ #
780
+ # @!attribute [rw] domain_name
781
+ # A string that represents the name of a domain. Domain names are
782
+ # unique across the domains owned by an account within an AWS region.
783
+ # Domain names start with a letter or number and can contain the
784
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
785
+ # @return [String]
786
+ #
787
+ # @!attribute [rw] index_field_name
788
+ # The name of the index field your want to remove from the domain's
789
+ # indexing options.
790
+ # @return [String]
791
+ #
792
+ class DeleteIndexFieldRequest < Struct.new(
793
+ :domain_name,
794
+ :index_field_name)
795
+ include Aws::Structure
796
+ end
797
+
798
+ # The result of a `DeleteIndexField` request.
799
+ #
800
+ # @!attribute [rw] index_field
801
+ # The status of the index field being deleted.
802
+ # @return [Types::IndexFieldStatus]
803
+ #
804
+ class DeleteIndexFieldResponse < Struct.new(
805
+ :index_field)
806
+ include Aws::Structure
807
+ end
808
+
809
+ # Container for the parameters to the `DeleteSuggester` operation.
810
+ # Specifies the name of the domain you want to update and name of the
811
+ # suggester you want to delete.
812
+ #
813
+ # @note When making an API call, you may pass DeleteSuggesterRequest
814
+ # data as a hash:
815
+ #
816
+ # {
817
+ # domain_name: "DomainName", # required
818
+ # suggester_name: "StandardName", # required
819
+ # }
820
+ #
821
+ # @!attribute [rw] domain_name
822
+ # A string that represents the name of a domain. Domain names are
823
+ # unique across the domains owned by an account within an AWS region.
824
+ # Domain names start with a letter or number and can contain the
825
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] suggester_name
829
+ # Specifies the name of the suggester you want to delete.
830
+ # @return [String]
831
+ #
832
+ class DeleteSuggesterRequest < Struct.new(
833
+ :domain_name,
834
+ :suggester_name)
835
+ include Aws::Structure
836
+ end
837
+
838
+ # The result of a `DeleteSuggester` request. Contains the status of the
839
+ # deleted suggester.
840
+ #
841
+ # @!attribute [rw] suggester
842
+ # The status of the suggester being deleted.
843
+ # @return [Types::SuggesterStatus]
844
+ #
845
+ class DeleteSuggesterResponse < Struct.new(
846
+ :suggester)
847
+ include Aws::Structure
848
+ end
849
+
850
+ # Container for the parameters to the `DescribeAnalysisSchemes`
851
+ # operation. Specifies the name of the domain you want to describe. To
852
+ # limit the response to particular analysis schemes, specify the names
853
+ # of the analysis schemes you want to describe. To show the active
854
+ # configuration and exclude any pending changes, set the `Deployed`
855
+ # option to `true`.
856
+ #
857
+ # @note When making an API call, you may pass DescribeAnalysisSchemesRequest
858
+ # data as a hash:
859
+ #
860
+ # {
861
+ # domain_name: "DomainName", # required
862
+ # analysis_scheme_names: ["StandardName"],
863
+ # deployed: false,
864
+ # }
865
+ #
866
+ # @!attribute [rw] domain_name
867
+ # The name of the domain you want to describe.
868
+ # @return [String]
869
+ #
870
+ # @!attribute [rw] analysis_scheme_names
871
+ # The analysis schemes you want to describe.
872
+ # @return [Array<String>]
873
+ #
874
+ # @!attribute [rw] deployed
875
+ # Whether to display the deployed configuration (`true`) or include
876
+ # any pending changes (`false`). Defaults to `false`.
877
+ # @return [Boolean]
878
+ #
879
+ class DescribeAnalysisSchemesRequest < Struct.new(
880
+ :domain_name,
881
+ :analysis_scheme_names,
882
+ :deployed)
883
+ include Aws::Structure
884
+ end
885
+
886
+ # The result of a `DescribeAnalysisSchemes` request. Contains the
887
+ # analysis schemes configured for the domain specified in the request.
888
+ #
889
+ # @!attribute [rw] analysis_schemes
890
+ # The analysis scheme descriptions.
891
+ # @return [Array<Types::AnalysisSchemeStatus>]
892
+ #
893
+ class DescribeAnalysisSchemesResponse < Struct.new(
894
+ :analysis_schemes)
895
+ include Aws::Structure
896
+ end
897
+
898
+ # Container for the parameters to the `DescribeAvailabilityOptions`
899
+ # operation. Specifies the name of the domain you want to describe. To
900
+ # show the active configuration and exclude any pending changes, set the
901
+ # Deployed option to `true`.
902
+ #
903
+ # @note When making an API call, you may pass DescribeAvailabilityOptionsRequest
904
+ # data as a hash:
905
+ #
906
+ # {
907
+ # domain_name: "DomainName", # required
908
+ # deployed: false,
909
+ # }
910
+ #
911
+ # @!attribute [rw] domain_name
912
+ # The name of the domain you want to describe.
913
+ # @return [String]
914
+ #
915
+ # @!attribute [rw] deployed
916
+ # Whether to display the deployed configuration (`true`) or include
917
+ # any pending changes (`false`). Defaults to `false`.
918
+ # @return [Boolean]
919
+ #
920
+ class DescribeAvailabilityOptionsRequest < Struct.new(
921
+ :domain_name,
922
+ :deployed)
923
+ include Aws::Structure
924
+ end
925
+
926
+ # The result of a `DescribeAvailabilityOptions` request. Indicates
927
+ # whether or not the Multi-AZ option is enabled for the domain specified
928
+ # in the request.
929
+ #
930
+ # @!attribute [rw] availability_options
931
+ # The availability options configured for the domain. Indicates
932
+ # whether Multi-AZ is enabled for the domain.
933
+ # @return [Types::AvailabilityOptionsStatus]
934
+ #
935
+ class DescribeAvailabilityOptionsResponse < Struct.new(
936
+ :availability_options)
937
+ include Aws::Structure
938
+ end
939
+
940
+ # Container for the parameters to the `DescribeDomains` operation. By
941
+ # default shows the status of all domains. To restrict the response to
942
+ # particular domains, specify the names of the domains you want to
943
+ # describe.
944
+ #
945
+ # @note When making an API call, you may pass DescribeDomainsRequest
946
+ # data as a hash:
947
+ #
948
+ # {
949
+ # domain_names: ["DomainName"],
950
+ # }
951
+ #
952
+ # @!attribute [rw] domain_names
953
+ # The names of the domains you want to include in the response.
954
+ # @return [Array<String>]
955
+ #
956
+ class DescribeDomainsRequest < Struct.new(
957
+ :domain_names)
958
+ include Aws::Structure
959
+ end
960
+
961
+ # The result of a `DescribeDomains` request. Contains the status of the
962
+ # domains specified in the request or all domains owned by the account.
963
+ #
964
+ # @!attribute [rw] domain_status_list
965
+ # A list that contains the status of each requested domain.
966
+ # @return [Array<Types::DomainStatus>]
967
+ #
968
+ class DescribeDomainsResponse < Struct.new(
969
+ :domain_status_list)
970
+ include Aws::Structure
971
+ end
972
+
973
+ # Container for the parameters to the `DescribeDomains` operation.
974
+ # Specifies the name of the domain you want to describe. To restrict the
975
+ # response to particular expressions, specify the names of the
976
+ # expressions you want to describe. To show the active configuration and
977
+ # exclude any pending changes, set the `Deployed` option to `true`.
978
+ #
979
+ # @note When making an API call, you may pass DescribeExpressionsRequest
980
+ # data as a hash:
981
+ #
982
+ # {
983
+ # domain_name: "DomainName", # required
984
+ # expression_names: ["StandardName"],
985
+ # deployed: false,
986
+ # }
987
+ #
988
+ # @!attribute [rw] domain_name
989
+ # The name of the domain you want to describe.
990
+ # @return [String]
991
+ #
992
+ # @!attribute [rw] expression_names
993
+ # Limits the `DescribeExpressions` response to the specified
994
+ # expressions. If not specified, all expressions are shown.
995
+ # @return [Array<String>]
996
+ #
997
+ # @!attribute [rw] deployed
998
+ # Whether to display the deployed configuration (`true`) or include
999
+ # any pending changes (`false`). Defaults to `false`.
1000
+ # @return [Boolean]
1001
+ #
1002
+ class DescribeExpressionsRequest < Struct.new(
1003
+ :domain_name,
1004
+ :expression_names,
1005
+ :deployed)
1006
+ include Aws::Structure
1007
+ end
1008
+
1009
+ # The result of a `DescribeExpressions` request. Contains the
1010
+ # expressions configured for the domain specified in the request.
1011
+ #
1012
+ # @!attribute [rw] expressions
1013
+ # The expressions configured for the domain.
1014
+ # @return [Array<Types::ExpressionStatus>]
1015
+ #
1016
+ class DescribeExpressionsResponse < Struct.new(
1017
+ :expressions)
1018
+ include Aws::Structure
1019
+ end
1020
+
1021
+ # Container for the parameters to the `DescribeIndexFields` operation.
1022
+ # Specifies the name of the domain you want to describe. To restrict the
1023
+ # response to particular index fields, specify the names of the index
1024
+ # fields you want to describe. To show the active configuration and
1025
+ # exclude any pending changes, set the `Deployed` option to `true`.
1026
+ #
1027
+ # @note When making an API call, you may pass DescribeIndexFieldsRequest
1028
+ # data as a hash:
1029
+ #
1030
+ # {
1031
+ # domain_name: "DomainName", # required
1032
+ # field_names: ["DynamicFieldName"],
1033
+ # deployed: false,
1034
+ # }
1035
+ #
1036
+ # @!attribute [rw] domain_name
1037
+ # The name of the domain you want to describe.
1038
+ # @return [String]
1039
+ #
1040
+ # @!attribute [rw] field_names
1041
+ # A list of the index fields you want to describe. If not specified,
1042
+ # information is returned for all configured index fields.
1043
+ # @return [Array<String>]
1044
+ #
1045
+ # @!attribute [rw] deployed
1046
+ # Whether to display the deployed configuration (`true`) or include
1047
+ # any pending changes (`false`). Defaults to `false`.
1048
+ # @return [Boolean]
1049
+ #
1050
+ class DescribeIndexFieldsRequest < Struct.new(
1051
+ :domain_name,
1052
+ :field_names,
1053
+ :deployed)
1054
+ include Aws::Structure
1055
+ end
2253
1056
 
1057
+ # The result of a `DescribeIndexFields` request. Contains the index
1058
+ # fields configured for the domain specified in the request.
1059
+ #
1060
+ # @!attribute [rw] index_fields
1061
+ # The index fields configured for the domain.
1062
+ # @return [Array<Types::IndexFieldStatus>]
1063
+ #
1064
+ class DescribeIndexFieldsResponse < Struct.new(
1065
+ :index_fields)
1066
+ include Aws::Structure
2254
1067
  end
1068
+
1069
+ # Container for the parameters to the `DescribeScalingParameters`
1070
+ # operation. Specifies the name of the domain you want to describe.
1071
+ #
1072
+ # @note When making an API call, you may pass DescribeScalingParametersRequest
1073
+ # data as a hash:
1074
+ #
1075
+ # {
1076
+ # domain_name: "DomainName", # required
1077
+ # }
1078
+ #
1079
+ # @!attribute [rw] domain_name
1080
+ # A string that represents the name of a domain. Domain names are
1081
+ # unique across the domains owned by an account within an AWS region.
1082
+ # Domain names start with a letter or number and can contain the
1083
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
1084
+ # @return [String]
1085
+ #
1086
+ class DescribeScalingParametersRequest < Struct.new(
1087
+ :domain_name)
1088
+ include Aws::Structure
1089
+ end
1090
+
1091
+ # The result of a `DescribeScalingParameters` request. Contains the
1092
+ # scaling parameters configured for the domain specified in the request.
1093
+ #
1094
+ # @!attribute [rw] scaling_parameters
1095
+ # The status and configuration of a search domain's scaling
1096
+ # parameters.
1097
+ # @return [Types::ScalingParametersStatus]
1098
+ #
1099
+ class DescribeScalingParametersResponse < Struct.new(
1100
+ :scaling_parameters)
1101
+ include Aws::Structure
1102
+ end
1103
+
1104
+ # Container for the parameters to the `DescribeServiceAccessPolicies`
1105
+ # operation. Specifies the name of the domain you want to describe. To
1106
+ # show the active configuration and exclude any pending changes, set the
1107
+ # `Deployed` option to `true`.
1108
+ #
1109
+ # @note When making an API call, you may pass DescribeServiceAccessPoliciesRequest
1110
+ # data as a hash:
1111
+ #
1112
+ # {
1113
+ # domain_name: "DomainName", # required
1114
+ # deployed: false,
1115
+ # }
1116
+ #
1117
+ # @!attribute [rw] domain_name
1118
+ # The name of the domain you want to describe.
1119
+ # @return [String]
1120
+ #
1121
+ # @!attribute [rw] deployed
1122
+ # Whether to display the deployed configuration (`true`) or include
1123
+ # any pending changes (`false`). Defaults to `false`.
1124
+ # @return [Boolean]
1125
+ #
1126
+ class DescribeServiceAccessPoliciesRequest < Struct.new(
1127
+ :domain_name,
1128
+ :deployed)
1129
+ include Aws::Structure
1130
+ end
1131
+
1132
+ # The result of a `DescribeServiceAccessPolicies` request.
1133
+ #
1134
+ # @!attribute [rw] access_policies
1135
+ # The access rules configured for the domain specified in the request.
1136
+ # @return [Types::AccessPoliciesStatus]
1137
+ #
1138
+ class DescribeServiceAccessPoliciesResponse < Struct.new(
1139
+ :access_policies)
1140
+ include Aws::Structure
1141
+ end
1142
+
1143
+ # Container for the parameters to the `DescribeSuggester` operation.
1144
+ # Specifies the name of the domain you want to describe. To restrict the
1145
+ # response to particular suggesters, specify the names of the suggesters
1146
+ # you want to describe. To show the active configuration and exclude any
1147
+ # pending changes, set the `Deployed` option to `true`.
1148
+ #
1149
+ # @note When making an API call, you may pass DescribeSuggestersRequest
1150
+ # data as a hash:
1151
+ #
1152
+ # {
1153
+ # domain_name: "DomainName", # required
1154
+ # suggester_names: ["StandardName"],
1155
+ # deployed: false,
1156
+ # }
1157
+ #
1158
+ # @!attribute [rw] domain_name
1159
+ # The name of the domain you want to describe.
1160
+ # @return [String]
1161
+ #
1162
+ # @!attribute [rw] suggester_names
1163
+ # The suggesters you want to describe.
1164
+ # @return [Array<String>]
1165
+ #
1166
+ # @!attribute [rw] deployed
1167
+ # Whether to display the deployed configuration (`true`) or include
1168
+ # any pending changes (`false`). Defaults to `false`.
1169
+ # @return [Boolean]
1170
+ #
1171
+ class DescribeSuggestersRequest < Struct.new(
1172
+ :domain_name,
1173
+ :suggester_names,
1174
+ :deployed)
1175
+ include Aws::Structure
1176
+ end
1177
+
1178
+ # The result of a `DescribeSuggesters` request.
1179
+ #
1180
+ # @!attribute [rw] suggesters
1181
+ # The suggesters configured for the domain specified in the request.
1182
+ # @return [Array<Types::SuggesterStatus>]
1183
+ #
1184
+ class DescribeSuggestersResponse < Struct.new(
1185
+ :suggesters)
1186
+ include Aws::Structure
1187
+ end
1188
+
1189
+ # Options for a search suggester.
1190
+ #
1191
+ # @note When making an API call, you may pass DocumentSuggesterOptions
1192
+ # data as a hash:
1193
+ #
1194
+ # {
1195
+ # source_field: "FieldName", # required
1196
+ # fuzzy_matching: "none", # accepts none, low, high
1197
+ # sort_expression: "String",
1198
+ # }
1199
+ #
1200
+ # @!attribute [rw] source_field
1201
+ # The name of the index field you want to use for suggestions.
1202
+ # @return [String]
1203
+ #
1204
+ # @!attribute [rw] fuzzy_matching
1205
+ # The level of fuzziness allowed when suggesting matches for a string:
1206
+ # `none`, `low`, or `high`. With none, the specified string is treated
1207
+ # as an exact prefix. With low, suggestions must differ from the
1208
+ # specified string by no more than one character. With high,
1209
+ # suggestions can differ by up to two characters. The default is none.
1210
+ # @return [String]
1211
+ #
1212
+ # @!attribute [rw] sort_expression
1213
+ # An expression that computes a score for each suggestion to control
1214
+ # how they are sorted. The scores are rounded to the nearest integer,
1215
+ # with a floor of 0 and a ceiling of 2^31-1. A document's relevance
1216
+ # score is not computed for suggestions, so sort expressions cannot
1217
+ # reference the `_score` value. To sort suggestions using a numeric
1218
+ # field or existing expression, simply specify the name of the field
1219
+ # or expression. If no expression is configured for the suggester, the
1220
+ # suggestions are sorted with the closest matches listed first.
1221
+ # @return [String]
1222
+ #
1223
+ class DocumentSuggesterOptions < Struct.new(
1224
+ :source_field,
1225
+ :fuzzy_matching,
1226
+ :sort_expression)
1227
+ include Aws::Structure
1228
+ end
1229
+
1230
+ # The current status of the search domain.
1231
+ #
1232
+ # @!attribute [rw] domain_id
1233
+ # An internally generated unique identifier for a domain.
1234
+ # @return [String]
1235
+ #
1236
+ # @!attribute [rw] domain_name
1237
+ # A string that represents the name of a domain. Domain names are
1238
+ # unique across the domains owned by an account within an AWS region.
1239
+ # Domain names start with a letter or number and can contain the
1240
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
1241
+ # @return [String]
1242
+ #
1243
+ # @!attribute [rw] arn
1244
+ # The Amazon Resource Name (ARN) of the search domain. See
1245
+ # [Identifiers for IAM Entities][1] in *Using AWS Identity and Access
1246
+ # Management* for more information.
1247
+ #
1248
+ #
1249
+ #
1250
+ # [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
1251
+ # @return [String]
1252
+ #
1253
+ # @!attribute [rw] created
1254
+ # True if the search domain is created. It can take several minutes to
1255
+ # initialize a domain when CreateDomain is called. Newly created
1256
+ # search domains are returned from DescribeDomains with a false value
1257
+ # for Created until domain creation is complete.
1258
+ # @return [Boolean]
1259
+ #
1260
+ # @!attribute [rw] deleted
1261
+ # True if the search domain has been deleted. The system must clean up
1262
+ # resources dedicated to the search domain when DeleteDomain is
1263
+ # called. Newly deleted search domains are returned from
1264
+ # DescribeDomains with a true value for IsDeleted for several minutes
1265
+ # until resource cleanup is complete.
1266
+ # @return [Boolean]
1267
+ #
1268
+ # @!attribute [rw] doc_service
1269
+ # The service endpoint for updating documents in a search domain.
1270
+ # @return [Types::ServiceEndpoint]
1271
+ #
1272
+ # @!attribute [rw] search_service
1273
+ # The service endpoint for requesting search results from a search
1274
+ # domain.
1275
+ # @return [Types::ServiceEndpoint]
1276
+ #
1277
+ # @!attribute [rw] requires_index_documents
1278
+ # True if IndexDocuments needs to be called to activate the current
1279
+ # domain configuration.
1280
+ # @return [Boolean]
1281
+ #
1282
+ # @!attribute [rw] processing
1283
+ # True if processing is being done to activate the current domain
1284
+ # configuration.
1285
+ # @return [Boolean]
1286
+ #
1287
+ # @!attribute [rw] search_instance_type
1288
+ # The instance type that is being used to process search requests.
1289
+ # @return [String]
1290
+ #
1291
+ # @!attribute [rw] search_partition_count
1292
+ # The number of partitions across which the search index is spread.
1293
+ # @return [Integer]
1294
+ #
1295
+ # @!attribute [rw] search_instance_count
1296
+ # The number of search instances that are available to process search
1297
+ # requests.
1298
+ # @return [Integer]
1299
+ #
1300
+ # @!attribute [rw] limits
1301
+ # @return [Types::Limits]
1302
+ #
1303
+ class DomainStatus < Struct.new(
1304
+ :domain_id,
1305
+ :domain_name,
1306
+ :arn,
1307
+ :created,
1308
+ :deleted,
1309
+ :doc_service,
1310
+ :search_service,
1311
+ :requires_index_documents,
1312
+ :processing,
1313
+ :search_instance_type,
1314
+ :search_partition_count,
1315
+ :search_instance_count,
1316
+ :limits)
1317
+ include Aws::Structure
1318
+ end
1319
+
1320
+ # Options for a field that contains an array of double-precision 64-bit
1321
+ # floating point values. Present if `IndexFieldType` specifies the field
1322
+ # is of type `double-array`. All options are enabled by default.
1323
+ #
1324
+ # @note When making an API call, you may pass DoubleArrayOptions
1325
+ # data as a hash:
1326
+ #
1327
+ # {
1328
+ # default_value: 1.0,
1329
+ # source_fields: "FieldNameCommaList",
1330
+ # facet_enabled: false,
1331
+ # search_enabled: false,
1332
+ # return_enabled: false,
1333
+ # }
1334
+ #
1335
+ # @!attribute [rw] default_value
1336
+ # A value to use for the field if the field isn't specified for a
1337
+ # document.
1338
+ # @return [Float]
1339
+ #
1340
+ # @!attribute [rw] source_fields
1341
+ # A list of source fields to map to the field.
1342
+ # @return [String]
1343
+ #
1344
+ # @!attribute [rw] facet_enabled
1345
+ # Whether facet information can be returned for the field.
1346
+ # @return [Boolean]
1347
+ #
1348
+ # @!attribute [rw] search_enabled
1349
+ # Whether the contents of the field are searchable.
1350
+ # @return [Boolean]
1351
+ #
1352
+ # @!attribute [rw] return_enabled
1353
+ # Whether the contents of the field can be returned in the search
1354
+ # results.
1355
+ # @return [Boolean]
1356
+ #
1357
+ class DoubleArrayOptions < Struct.new(
1358
+ :default_value,
1359
+ :source_fields,
1360
+ :facet_enabled,
1361
+ :search_enabled,
1362
+ :return_enabled)
1363
+ include Aws::Structure
1364
+ end
1365
+
1366
+ # Options for a double-precision 64-bit floating point field. Present if
1367
+ # `IndexFieldType` specifies the field is of type `double`. All options
1368
+ # are enabled by default.
1369
+ #
1370
+ # @note When making an API call, you may pass DoubleOptions
1371
+ # data as a hash:
1372
+ #
1373
+ # {
1374
+ # default_value: 1.0,
1375
+ # source_field: "FieldName",
1376
+ # facet_enabled: false,
1377
+ # search_enabled: false,
1378
+ # return_enabled: false,
1379
+ # sort_enabled: false,
1380
+ # }
1381
+ #
1382
+ # @!attribute [rw] default_value
1383
+ # A value to use for the field if the field isn't specified for a
1384
+ # document. This can be important if you are using the field in an
1385
+ # expression and that field is not present in every document.
1386
+ # @return [Float]
1387
+ #
1388
+ # @!attribute [rw] source_field
1389
+ # The name of the source field to map to the field.
1390
+ # @return [String]
1391
+ #
1392
+ # @!attribute [rw] facet_enabled
1393
+ # Whether facet information can be returned for the field.
1394
+ # @return [Boolean]
1395
+ #
1396
+ # @!attribute [rw] search_enabled
1397
+ # Whether the contents of the field are searchable.
1398
+ # @return [Boolean]
1399
+ #
1400
+ # @!attribute [rw] return_enabled
1401
+ # Whether the contents of the field can be returned in the search
1402
+ # results.
1403
+ # @return [Boolean]
1404
+ #
1405
+ # @!attribute [rw] sort_enabled
1406
+ # Whether the field can be used to sort the search results.
1407
+ # @return [Boolean]
1408
+ #
1409
+ class DoubleOptions < Struct.new(
1410
+ :default_value,
1411
+ :source_field,
1412
+ :facet_enabled,
1413
+ :search_enabled,
1414
+ :return_enabled,
1415
+ :sort_enabled)
1416
+ include Aws::Structure
1417
+ end
1418
+
1419
+ # A named expression that can be evaluated at search time. Can be used
1420
+ # to sort the search results, define other expressions, or return
1421
+ # computed information in the search results.
1422
+ #
1423
+ # @note When making an API call, you may pass Expression
1424
+ # data as a hash:
1425
+ #
1426
+ # {
1427
+ # expression_name: "StandardName", # required
1428
+ # expression_value: "ExpressionValue", # required
1429
+ # }
1430
+ #
1431
+ # @!attribute [rw] expression_name
1432
+ # Names must begin with a letter and can contain the following
1433
+ # characters: a-z (lowercase), 0-9, and \_ (underscore).
1434
+ # @return [String]
1435
+ #
1436
+ # @!attribute [rw] expression_value
1437
+ # The expression to evaluate for sorting while processing a search
1438
+ # request. The `Expression` syntax is based on JavaScript expressions.
1439
+ # For more information, see [Configuring Expressions][1] in the
1440
+ # *Amazon CloudSearch Developer Guide*.
1441
+ #
1442
+ #
1443
+ #
1444
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html
1445
+ # @return [String]
1446
+ #
1447
+ class Expression < Struct.new(
1448
+ :expression_name,
1449
+ :expression_value)
1450
+ include Aws::Structure
1451
+ end
1452
+
1453
+ # The value of an `Expression` and its current status.
1454
+ #
1455
+ # @!attribute [rw] options
1456
+ # The expression that is evaluated for sorting while processing a
1457
+ # search request.
1458
+ # @return [Types::Expression]
1459
+ #
1460
+ # @!attribute [rw] status
1461
+ # The status of domain configuration option.
1462
+ # @return [Types::OptionStatus]
1463
+ #
1464
+ class ExpressionStatus < Struct.new(
1465
+ :options,
1466
+ :status)
1467
+ include Aws::Structure
1468
+ end
1469
+
1470
+ # Container for the parameters to the `IndexDocuments` operation.
1471
+ # Specifies the name of the domain you want to re-index.
1472
+ #
1473
+ # @note When making an API call, you may pass IndexDocumentsRequest
1474
+ # data as a hash:
1475
+ #
1476
+ # {
1477
+ # domain_name: "DomainName", # required
1478
+ # }
1479
+ #
1480
+ # @!attribute [rw] domain_name
1481
+ # A string that represents the name of a domain. Domain names are
1482
+ # unique across the domains owned by an account within an AWS region.
1483
+ # Domain names start with a letter or number and can contain the
1484
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
1485
+ # @return [String]
1486
+ #
1487
+ class IndexDocumentsRequest < Struct.new(
1488
+ :domain_name)
1489
+ include Aws::Structure
1490
+ end
1491
+
1492
+ # The result of an `IndexDocuments` request. Contains the status of the
1493
+ # indexing operation, including the fields being indexed.
1494
+ #
1495
+ # @!attribute [rw] field_names
1496
+ # The names of the fields that are currently being indexed.
1497
+ # @return [Array<String>]
1498
+ #
1499
+ class IndexDocumentsResponse < Struct.new(
1500
+ :field_names)
1501
+ include Aws::Structure
1502
+ end
1503
+
1504
+ # Configuration information for a field in the index, including its
1505
+ # name, type, and options. The supported options depend on the
1506
+ # `IndexFieldType`.
1507
+ #
1508
+ # @note When making an API call, you may pass IndexField
1509
+ # data as a hash:
1510
+ #
1511
+ # {
1512
+ # index_field_name: "DynamicFieldName", # required
1513
+ # index_field_type: "int", # required, accepts int, double, literal, text, date, latlon, int-array, double-array, literal-array, text-array, date-array
1514
+ # int_options: {
1515
+ # default_value: 1,
1516
+ # source_field: "FieldName",
1517
+ # facet_enabled: false,
1518
+ # search_enabled: false,
1519
+ # return_enabled: false,
1520
+ # sort_enabled: false,
1521
+ # },
1522
+ # double_options: {
1523
+ # default_value: 1.0,
1524
+ # source_field: "FieldName",
1525
+ # facet_enabled: false,
1526
+ # search_enabled: false,
1527
+ # return_enabled: false,
1528
+ # sort_enabled: false,
1529
+ # },
1530
+ # literal_options: {
1531
+ # default_value: "FieldValue",
1532
+ # source_field: "FieldName",
1533
+ # facet_enabled: false,
1534
+ # search_enabled: false,
1535
+ # return_enabled: false,
1536
+ # sort_enabled: false,
1537
+ # },
1538
+ # text_options: {
1539
+ # default_value: "FieldValue",
1540
+ # source_field: "FieldName",
1541
+ # return_enabled: false,
1542
+ # sort_enabled: false,
1543
+ # highlight_enabled: false,
1544
+ # analysis_scheme: "Word",
1545
+ # },
1546
+ # date_options: {
1547
+ # default_value: "FieldValue",
1548
+ # source_field: "FieldName",
1549
+ # facet_enabled: false,
1550
+ # search_enabled: false,
1551
+ # return_enabled: false,
1552
+ # sort_enabled: false,
1553
+ # },
1554
+ # lat_lon_options: {
1555
+ # default_value: "FieldValue",
1556
+ # source_field: "FieldName",
1557
+ # facet_enabled: false,
1558
+ # search_enabled: false,
1559
+ # return_enabled: false,
1560
+ # sort_enabled: false,
1561
+ # },
1562
+ # int_array_options: {
1563
+ # default_value: 1,
1564
+ # source_fields: "FieldNameCommaList",
1565
+ # facet_enabled: false,
1566
+ # search_enabled: false,
1567
+ # return_enabled: false,
1568
+ # },
1569
+ # double_array_options: {
1570
+ # default_value: 1.0,
1571
+ # source_fields: "FieldNameCommaList",
1572
+ # facet_enabled: false,
1573
+ # search_enabled: false,
1574
+ # return_enabled: false,
1575
+ # },
1576
+ # literal_array_options: {
1577
+ # default_value: "FieldValue",
1578
+ # source_fields: "FieldNameCommaList",
1579
+ # facet_enabled: false,
1580
+ # search_enabled: false,
1581
+ # return_enabled: false,
1582
+ # },
1583
+ # text_array_options: {
1584
+ # default_value: "FieldValue",
1585
+ # source_fields: "FieldNameCommaList",
1586
+ # return_enabled: false,
1587
+ # highlight_enabled: false,
1588
+ # analysis_scheme: "Word",
1589
+ # },
1590
+ # date_array_options: {
1591
+ # default_value: "FieldValue",
1592
+ # source_fields: "FieldNameCommaList",
1593
+ # facet_enabled: false,
1594
+ # search_enabled: false,
1595
+ # return_enabled: false,
1596
+ # },
1597
+ # }
1598
+ #
1599
+ # @!attribute [rw] index_field_name
1600
+ # A string that represents the name of an index field. CloudSearch
1601
+ # supports regular index fields as well as dynamic fields. A dynamic
1602
+ # field's name defines a pattern that begins or ends with a wildcard.
1603
+ # Any document fields that don't map to a regular index field but do
1604
+ # match a dynamic field's pattern are configured with the dynamic
1605
+ # field's indexing options.
1606
+ #
1607
+ # Regular field names begin with a letter and can contain the
1608
+ # following characters: a-z (lowercase), 0-9, and \_ (underscore).
1609
+ # Dynamic field names must begin or end with a wildcard (*). The
1610
+ # wildcard can also be the only character in a dynamic field name.
1611
+ # Multiple wildcards, and wildcards embedded within a string are not
1612
+ # supported.
1613
+ #
1614
+ # The name `score` is reserved and cannot be used as a field name. To
1615
+ # reference a document's ID, you can use the name `_id`.
1616
+ # @return [String]
1617
+ #
1618
+ # @!attribute [rw] index_field_type
1619
+ # The type of field. The valid options for a field depend on the field
1620
+ # type. For more information about the supported field types, see
1621
+ # [Configuring Index Fields][1] in the *Amazon CloudSearch Developer
1622
+ # Guide*.
1623
+ #
1624
+ #
1625
+ #
1626
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html
1627
+ # @return [String]
1628
+ #
1629
+ # @!attribute [rw] int_options
1630
+ # Options for a 64-bit signed integer field. Present if
1631
+ # `IndexFieldType` specifies the field is of type `int`. All options
1632
+ # are enabled by default.
1633
+ # @return [Types::IntOptions]
1634
+ #
1635
+ # @!attribute [rw] double_options
1636
+ # Options for a double-precision 64-bit floating point field. Present
1637
+ # if `IndexFieldType` specifies the field is of type `double`. All
1638
+ # options are enabled by default.
1639
+ # @return [Types::DoubleOptions]
1640
+ #
1641
+ # @!attribute [rw] literal_options
1642
+ # Options for literal field. Present if `IndexFieldType` specifies the
1643
+ # field is of type `literal`. All options are enabled by default.
1644
+ # @return [Types::LiteralOptions]
1645
+ #
1646
+ # @!attribute [rw] text_options
1647
+ # Options for text field. Present if `IndexFieldType` specifies the
1648
+ # field is of type `text`. A `text` field is always searchable. All
1649
+ # options are enabled by default.
1650
+ # @return [Types::TextOptions]
1651
+ #
1652
+ # @!attribute [rw] date_options
1653
+ # Options for a date field. Dates and times are specified in UTC
1654
+ # (Coordinated Universal Time) according to IETF RFC3339:
1655
+ # yyyy-mm-ddT00:00:00Z. Present if `IndexFieldType` specifies the
1656
+ # field is of type `date`. All options are enabled by default.
1657
+ # @return [Types::DateOptions]
1658
+ #
1659
+ # @!attribute [rw] lat_lon_options
1660
+ # Options for a latlon field. A latlon field contains a location
1661
+ # stored as a latitude and longitude value pair. Present if
1662
+ # `IndexFieldType` specifies the field is of type `latlon`. All
1663
+ # options are enabled by default.
1664
+ # @return [Types::LatLonOptions]
1665
+ #
1666
+ # @!attribute [rw] int_array_options
1667
+ # Options for a field that contains an array of 64-bit signed
1668
+ # integers. Present if `IndexFieldType` specifies the field is of type
1669
+ # `int-array`. All options are enabled by default.
1670
+ # @return [Types::IntArrayOptions]
1671
+ #
1672
+ # @!attribute [rw] double_array_options
1673
+ # Options for a field that contains an array of double-precision
1674
+ # 64-bit floating point values. Present if `IndexFieldType` specifies
1675
+ # the field is of type `double-array`. All options are enabled by
1676
+ # default.
1677
+ # @return [Types::DoubleArrayOptions]
1678
+ #
1679
+ # @!attribute [rw] literal_array_options
1680
+ # Options for a field that contains an array of literal strings.
1681
+ # Present if `IndexFieldType` specifies the field is of type
1682
+ # `literal-array`. All options are enabled by default.
1683
+ # @return [Types::LiteralArrayOptions]
1684
+ #
1685
+ # @!attribute [rw] text_array_options
1686
+ # Options for a field that contains an array of text strings. Present
1687
+ # if `IndexFieldType` specifies the field is of type `text-array`. A
1688
+ # `text-array` field is always searchable. All options are enabled by
1689
+ # default.
1690
+ # @return [Types::TextArrayOptions]
1691
+ #
1692
+ # @!attribute [rw] date_array_options
1693
+ # Options for a field that contains an array of dates. Present if
1694
+ # `IndexFieldType` specifies the field is of type `date-array`. All
1695
+ # options are enabled by default.
1696
+ # @return [Types::DateArrayOptions]
1697
+ #
1698
+ class IndexField < Struct.new(
1699
+ :index_field_name,
1700
+ :index_field_type,
1701
+ :int_options,
1702
+ :double_options,
1703
+ :literal_options,
1704
+ :text_options,
1705
+ :date_options,
1706
+ :lat_lon_options,
1707
+ :int_array_options,
1708
+ :double_array_options,
1709
+ :literal_array_options,
1710
+ :text_array_options,
1711
+ :date_array_options)
1712
+ include Aws::Structure
1713
+ end
1714
+
1715
+ # The value of an `IndexField` and its current status.
1716
+ #
1717
+ # @!attribute [rw] options
1718
+ # Configuration information for a field in the index, including its
1719
+ # name, type, and options. The supported options depend on the
1720
+ # `IndexFieldType`.
1721
+ # @return [Types::IndexField]
1722
+ #
1723
+ # @!attribute [rw] status
1724
+ # The status of domain configuration option.
1725
+ # @return [Types::OptionStatus]
1726
+ #
1727
+ class IndexFieldStatus < Struct.new(
1728
+ :options,
1729
+ :status)
1730
+ include Aws::Structure
1731
+ end
1732
+
1733
+ # Options for a field that contains an array of 64-bit signed integers.
1734
+ # Present if `IndexFieldType` specifies the field is of type
1735
+ # `int-array`. All options are enabled by default.
1736
+ #
1737
+ # @note When making an API call, you may pass IntArrayOptions
1738
+ # data as a hash:
1739
+ #
1740
+ # {
1741
+ # default_value: 1,
1742
+ # source_fields: "FieldNameCommaList",
1743
+ # facet_enabled: false,
1744
+ # search_enabled: false,
1745
+ # return_enabled: false,
1746
+ # }
1747
+ #
1748
+ # @!attribute [rw] default_value
1749
+ # A value to use for the field if the field isn't specified for a
1750
+ # document.
1751
+ # @return [Integer]
1752
+ #
1753
+ # @!attribute [rw] source_fields
1754
+ # A list of source fields to map to the field.
1755
+ # @return [String]
1756
+ #
1757
+ # @!attribute [rw] facet_enabled
1758
+ # Whether facet information can be returned for the field.
1759
+ # @return [Boolean]
1760
+ #
1761
+ # @!attribute [rw] search_enabled
1762
+ # Whether the contents of the field are searchable.
1763
+ # @return [Boolean]
1764
+ #
1765
+ # @!attribute [rw] return_enabled
1766
+ # Whether the contents of the field can be returned in the search
1767
+ # results.
1768
+ # @return [Boolean]
1769
+ #
1770
+ class IntArrayOptions < Struct.new(
1771
+ :default_value,
1772
+ :source_fields,
1773
+ :facet_enabled,
1774
+ :search_enabled,
1775
+ :return_enabled)
1776
+ include Aws::Structure
1777
+ end
1778
+
1779
+ # Options for a 64-bit signed integer field. Present if `IndexFieldType`
1780
+ # specifies the field is of type `int`. All options are enabled by
1781
+ # default.
1782
+ #
1783
+ # @note When making an API call, you may pass IntOptions
1784
+ # data as a hash:
1785
+ #
1786
+ # {
1787
+ # default_value: 1,
1788
+ # source_field: "FieldName",
1789
+ # facet_enabled: false,
1790
+ # search_enabled: false,
1791
+ # return_enabled: false,
1792
+ # sort_enabled: false,
1793
+ # }
1794
+ #
1795
+ # @!attribute [rw] default_value
1796
+ # A value to use for the field if the field isn't specified for a
1797
+ # document. This can be important if you are using the field in an
1798
+ # expression and that field is not present in every document.
1799
+ # @return [Integer]
1800
+ #
1801
+ # @!attribute [rw] source_field
1802
+ # The name of the source field to map to the field.
1803
+ # @return [String]
1804
+ #
1805
+ # @!attribute [rw] facet_enabled
1806
+ # Whether facet information can be returned for the field.
1807
+ # @return [Boolean]
1808
+ #
1809
+ # @!attribute [rw] search_enabled
1810
+ # Whether the contents of the field are searchable.
1811
+ # @return [Boolean]
1812
+ #
1813
+ # @!attribute [rw] return_enabled
1814
+ # Whether the contents of the field can be returned in the search
1815
+ # results.
1816
+ # @return [Boolean]
1817
+ #
1818
+ # @!attribute [rw] sort_enabled
1819
+ # Whether the field can be used to sort the search results.
1820
+ # @return [Boolean]
1821
+ #
1822
+ class IntOptions < Struct.new(
1823
+ :default_value,
1824
+ :source_field,
1825
+ :facet_enabled,
1826
+ :search_enabled,
1827
+ :return_enabled,
1828
+ :sort_enabled)
1829
+ include Aws::Structure
1830
+ end
1831
+
1832
+ # Options for a latlon field. A latlon field contains a location stored
1833
+ # as a latitude and longitude value pair. Present if `IndexFieldType`
1834
+ # specifies the field is of type `latlon`. All options are enabled by
1835
+ # default.
1836
+ #
1837
+ # @note When making an API call, you may pass LatLonOptions
1838
+ # data as a hash:
1839
+ #
1840
+ # {
1841
+ # default_value: "FieldValue",
1842
+ # source_field: "FieldName",
1843
+ # facet_enabled: false,
1844
+ # search_enabled: false,
1845
+ # return_enabled: false,
1846
+ # sort_enabled: false,
1847
+ # }
1848
+ #
1849
+ # @!attribute [rw] default_value
1850
+ # A value to use for the field if the field isn't specified for a
1851
+ # document.
1852
+ # @return [String]
1853
+ #
1854
+ # @!attribute [rw] source_field
1855
+ # A string that represents the name of an index field. CloudSearch
1856
+ # supports regular index fields as well as dynamic fields. A dynamic
1857
+ # field's name defines a pattern that begins or ends with a wildcard.
1858
+ # Any document fields that don't map to a regular index field but do
1859
+ # match a dynamic field's pattern are configured with the dynamic
1860
+ # field's indexing options.
1861
+ #
1862
+ # Regular field names begin with a letter and can contain the
1863
+ # following characters: a-z (lowercase), 0-9, and \_ (underscore).
1864
+ # Dynamic field names must begin or end with a wildcard (*). The
1865
+ # wildcard can also be the only character in a dynamic field name.
1866
+ # Multiple wildcards, and wildcards embedded within a string are not
1867
+ # supported.
1868
+ #
1869
+ # The name `score` is reserved and cannot be used as a field name. To
1870
+ # reference a document's ID, you can use the name `_id`.
1871
+ # @return [String]
1872
+ #
1873
+ # @!attribute [rw] facet_enabled
1874
+ # Whether facet information can be returned for the field.
1875
+ # @return [Boolean]
1876
+ #
1877
+ # @!attribute [rw] search_enabled
1878
+ # Whether the contents of the field are searchable.
1879
+ # @return [Boolean]
1880
+ #
1881
+ # @!attribute [rw] return_enabled
1882
+ # Whether the contents of the field can be returned in the search
1883
+ # results.
1884
+ # @return [Boolean]
1885
+ #
1886
+ # @!attribute [rw] sort_enabled
1887
+ # Whether the field can be used to sort the search results.
1888
+ # @return [Boolean]
1889
+ #
1890
+ class LatLonOptions < Struct.new(
1891
+ :default_value,
1892
+ :source_field,
1893
+ :facet_enabled,
1894
+ :search_enabled,
1895
+ :return_enabled,
1896
+ :sort_enabled)
1897
+ include Aws::Structure
1898
+ end
1899
+
1900
+ # @!attribute [rw] maximum_replication_count
1901
+ # @return [Integer]
1902
+ #
1903
+ # @!attribute [rw] maximum_partition_count
1904
+ # @return [Integer]
1905
+ #
1906
+ class Limits < Struct.new(
1907
+ :maximum_replication_count,
1908
+ :maximum_partition_count)
1909
+ include Aws::Structure
1910
+ end
1911
+
1912
+ # The result of a `ListDomainNames` request. Contains a list of the
1913
+ # domains owned by an account.
1914
+ #
1915
+ # @!attribute [rw] domain_names
1916
+ # The names of the search domains owned by an account.
1917
+ # @return [Hash<String,String>]
1918
+ #
1919
+ class ListDomainNamesResponse < Struct.new(
1920
+ :domain_names)
1921
+ include Aws::Structure
1922
+ end
1923
+
1924
+ # Options for a field that contains an array of literal strings. Present
1925
+ # if `IndexFieldType` specifies the field is of type `literal-array`.
1926
+ # All options are enabled by default.
1927
+ #
1928
+ # @note When making an API call, you may pass LiteralArrayOptions
1929
+ # data as a hash:
1930
+ #
1931
+ # {
1932
+ # default_value: "FieldValue",
1933
+ # source_fields: "FieldNameCommaList",
1934
+ # facet_enabled: false,
1935
+ # search_enabled: false,
1936
+ # return_enabled: false,
1937
+ # }
1938
+ #
1939
+ # @!attribute [rw] default_value
1940
+ # A value to use for the field if the field isn't specified for a
1941
+ # document.
1942
+ # @return [String]
1943
+ #
1944
+ # @!attribute [rw] source_fields
1945
+ # A list of source fields to map to the field.
1946
+ # @return [String]
1947
+ #
1948
+ # @!attribute [rw] facet_enabled
1949
+ # Whether facet information can be returned for the field.
1950
+ # @return [Boolean]
1951
+ #
1952
+ # @!attribute [rw] search_enabled
1953
+ # Whether the contents of the field are searchable.
1954
+ # @return [Boolean]
1955
+ #
1956
+ # @!attribute [rw] return_enabled
1957
+ # Whether the contents of the field can be returned in the search
1958
+ # results.
1959
+ # @return [Boolean]
1960
+ #
1961
+ class LiteralArrayOptions < Struct.new(
1962
+ :default_value,
1963
+ :source_fields,
1964
+ :facet_enabled,
1965
+ :search_enabled,
1966
+ :return_enabled)
1967
+ include Aws::Structure
1968
+ end
1969
+
1970
+ # Options for literal field. Present if `IndexFieldType` specifies the
1971
+ # field is of type `literal`. All options are enabled by default.
1972
+ #
1973
+ # @note When making an API call, you may pass LiteralOptions
1974
+ # data as a hash:
1975
+ #
1976
+ # {
1977
+ # default_value: "FieldValue",
1978
+ # source_field: "FieldName",
1979
+ # facet_enabled: false,
1980
+ # search_enabled: false,
1981
+ # return_enabled: false,
1982
+ # sort_enabled: false,
1983
+ # }
1984
+ #
1985
+ # @!attribute [rw] default_value
1986
+ # A value to use for the field if the field isn't specified for a
1987
+ # document.
1988
+ # @return [String]
1989
+ #
1990
+ # @!attribute [rw] source_field
1991
+ # A string that represents the name of an index field. CloudSearch
1992
+ # supports regular index fields as well as dynamic fields. A dynamic
1993
+ # field's name defines a pattern that begins or ends with a wildcard.
1994
+ # Any document fields that don't map to a regular index field but do
1995
+ # match a dynamic field's pattern are configured with the dynamic
1996
+ # field's indexing options.
1997
+ #
1998
+ # Regular field names begin with a letter and can contain the
1999
+ # following characters: a-z (lowercase), 0-9, and \_ (underscore).
2000
+ # Dynamic field names must begin or end with a wildcard (*). The
2001
+ # wildcard can also be the only character in a dynamic field name.
2002
+ # Multiple wildcards, and wildcards embedded within a string are not
2003
+ # supported.
2004
+ #
2005
+ # The name `score` is reserved and cannot be used as a field name. To
2006
+ # reference a document's ID, you can use the name `_id`.
2007
+ # @return [String]
2008
+ #
2009
+ # @!attribute [rw] facet_enabled
2010
+ # Whether facet information can be returned for the field.
2011
+ # @return [Boolean]
2012
+ #
2013
+ # @!attribute [rw] search_enabled
2014
+ # Whether the contents of the field are searchable.
2015
+ # @return [Boolean]
2016
+ #
2017
+ # @!attribute [rw] return_enabled
2018
+ # Whether the contents of the field can be returned in the search
2019
+ # results.
2020
+ # @return [Boolean]
2021
+ #
2022
+ # @!attribute [rw] sort_enabled
2023
+ # Whether the field can be used to sort the search results.
2024
+ # @return [Boolean]
2025
+ #
2026
+ class LiteralOptions < Struct.new(
2027
+ :default_value,
2028
+ :source_field,
2029
+ :facet_enabled,
2030
+ :search_enabled,
2031
+ :return_enabled,
2032
+ :sort_enabled)
2033
+ include Aws::Structure
2034
+ end
2035
+
2036
+ # The status of domain configuration option.
2037
+ #
2038
+ # @!attribute [rw] creation_date
2039
+ # A timestamp for when this option was created.
2040
+ # @return [Time]
2041
+ #
2042
+ # @!attribute [rw] update_date
2043
+ # A timestamp for when this option was last updated.
2044
+ # @return [Time]
2045
+ #
2046
+ # @!attribute [rw] update_version
2047
+ # A unique integer that indicates when this option was last updated.
2048
+ # @return [Integer]
2049
+ #
2050
+ # @!attribute [rw] state
2051
+ # The state of processing a change to an option. Possible values:
2052
+ #
2053
+ # * `RequiresIndexDocuments`\: the option's latest value will not be
2054
+ # deployed until IndexDocuments has been called and indexing is
2055
+ # complete.
2056
+ # * `Processing`\: the option's latest value is in the process of
2057
+ # being activated.
2058
+ # * `Active`\: the option's latest value is completely deployed.
2059
+ # * `FailedToValidate`\: the option value is not compatible with the
2060
+ # domain's data and cannot be used to index the data. You must
2061
+ # either modify the option value or update or remove the
2062
+ # incompatible documents.
2063
+ # @return [String]
2064
+ #
2065
+ # @!attribute [rw] pending_deletion
2066
+ # Indicates that the option will be deleted once processing is
2067
+ # complete.
2068
+ # @return [Boolean]
2069
+ #
2070
+ class OptionStatus < Struct.new(
2071
+ :creation_date,
2072
+ :update_date,
2073
+ :update_version,
2074
+ :state,
2075
+ :pending_deletion)
2076
+ include Aws::Structure
2077
+ end
2078
+
2079
+ # The desired instance type and desired number of replicas of each index
2080
+ # partition.
2081
+ #
2082
+ # @note When making an API call, you may pass ScalingParameters
2083
+ # data as a hash:
2084
+ #
2085
+ # {
2086
+ # 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
2087
+ # desired_replication_count: 1,
2088
+ # desired_partition_count: 1,
2089
+ # }
2090
+ #
2091
+ # @!attribute [rw] desired_instance_type
2092
+ # The instance type that you want to preconfigure for your domain. For
2093
+ # example, `search.m1.small`.
2094
+ # @return [String]
2095
+ #
2096
+ # @!attribute [rw] desired_replication_count
2097
+ # The number of replicas you want to preconfigure for each index
2098
+ # partition.
2099
+ # @return [Integer]
2100
+ #
2101
+ # @!attribute [rw] desired_partition_count
2102
+ # The number of partitions you want to preconfigure for your domain.
2103
+ # Only valid when you select `m2.2xlarge` as the desired instance
2104
+ # type.
2105
+ # @return [Integer]
2106
+ #
2107
+ class ScalingParameters < Struct.new(
2108
+ :desired_instance_type,
2109
+ :desired_replication_count,
2110
+ :desired_partition_count)
2111
+ include Aws::Structure
2112
+ end
2113
+
2114
+ # The status and configuration of a search domain's scaling parameters.
2115
+ #
2116
+ # @!attribute [rw] options
2117
+ # The desired instance type and desired number of replicas of each
2118
+ # index partition.
2119
+ # @return [Types::ScalingParameters]
2120
+ #
2121
+ # @!attribute [rw] status
2122
+ # The status of domain configuration option.
2123
+ # @return [Types::OptionStatus]
2124
+ #
2125
+ class ScalingParametersStatus < Struct.new(
2126
+ :options,
2127
+ :status)
2128
+ include Aws::Structure
2129
+ end
2130
+
2131
+ # The endpoint to which service requests can be submitted.
2132
+ #
2133
+ # @!attribute [rw] endpoint
2134
+ # The endpoint to which service requests can be submitted. For
2135
+ # example,
2136
+ # `search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com`
2137
+ # or
2138
+ # `doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com`.
2139
+ # @return [String]
2140
+ #
2141
+ class ServiceEndpoint < Struct.new(
2142
+ :endpoint)
2143
+ include Aws::Structure
2144
+ end
2145
+
2146
+ # Configuration information for a search suggester. Each suggester has a
2147
+ # unique name and specifies the text field you want to use for
2148
+ # suggestions. The following options can be configured for a suggester:
2149
+ # `FuzzyMatching`, `SortExpression`.
2150
+ #
2151
+ # @note When making an API call, you may pass Suggester
2152
+ # data as a hash:
2153
+ #
2154
+ # {
2155
+ # suggester_name: "StandardName", # required
2156
+ # document_suggester_options: { # required
2157
+ # source_field: "FieldName", # required
2158
+ # fuzzy_matching: "none", # accepts none, low, high
2159
+ # sort_expression: "String",
2160
+ # },
2161
+ # }
2162
+ #
2163
+ # @!attribute [rw] suggester_name
2164
+ # Names must begin with a letter and can contain the following
2165
+ # characters: a-z (lowercase), 0-9, and \_ (underscore).
2166
+ # @return [String]
2167
+ #
2168
+ # @!attribute [rw] document_suggester_options
2169
+ # Options for a search suggester.
2170
+ # @return [Types::DocumentSuggesterOptions]
2171
+ #
2172
+ class Suggester < Struct.new(
2173
+ :suggester_name,
2174
+ :document_suggester_options)
2175
+ include Aws::Structure
2176
+ end
2177
+
2178
+ # The value of a `Suggester` and its current status.
2179
+ #
2180
+ # @!attribute [rw] options
2181
+ # Configuration information for a search suggester. Each suggester has
2182
+ # a unique name and specifies the text field you want to use for
2183
+ # suggestions. The following options can be configured for a
2184
+ # suggester: `FuzzyMatching`, `SortExpression`.
2185
+ # @return [Types::Suggester]
2186
+ #
2187
+ # @!attribute [rw] status
2188
+ # The status of domain configuration option.
2189
+ # @return [Types::OptionStatus]
2190
+ #
2191
+ class SuggesterStatus < Struct.new(
2192
+ :options,
2193
+ :status)
2194
+ include Aws::Structure
2195
+ end
2196
+
2197
+ # Options for a field that contains an array of text strings. Present if
2198
+ # `IndexFieldType` specifies the field is of type `text-array`. A
2199
+ # `text-array` field is always searchable. All options are enabled by
2200
+ # default.
2201
+ #
2202
+ # @note When making an API call, you may pass TextArrayOptions
2203
+ # data as a hash:
2204
+ #
2205
+ # {
2206
+ # default_value: "FieldValue",
2207
+ # source_fields: "FieldNameCommaList",
2208
+ # return_enabled: false,
2209
+ # highlight_enabled: false,
2210
+ # analysis_scheme: "Word",
2211
+ # }
2212
+ #
2213
+ # @!attribute [rw] default_value
2214
+ # A value to use for the field if the field isn't specified for a
2215
+ # document.
2216
+ # @return [String]
2217
+ #
2218
+ # @!attribute [rw] source_fields
2219
+ # A list of source fields to map to the field.
2220
+ # @return [String]
2221
+ #
2222
+ # @!attribute [rw] return_enabled
2223
+ # Whether the contents of the field can be returned in the search
2224
+ # results.
2225
+ # @return [Boolean]
2226
+ #
2227
+ # @!attribute [rw] highlight_enabled
2228
+ # Whether highlights can be returned for the field.
2229
+ # @return [Boolean]
2230
+ #
2231
+ # @!attribute [rw] analysis_scheme
2232
+ # The name of an analysis scheme for a `text-array` field.
2233
+ # @return [String]
2234
+ #
2235
+ class TextArrayOptions < Struct.new(
2236
+ :default_value,
2237
+ :source_fields,
2238
+ :return_enabled,
2239
+ :highlight_enabled,
2240
+ :analysis_scheme)
2241
+ include Aws::Structure
2242
+ end
2243
+
2244
+ # Options for text field. Present if `IndexFieldType` specifies the
2245
+ # field is of type `text`. A `text` field is always searchable. All
2246
+ # options are enabled by default.
2247
+ #
2248
+ # @note When making an API call, you may pass TextOptions
2249
+ # data as a hash:
2250
+ #
2251
+ # {
2252
+ # default_value: "FieldValue",
2253
+ # source_field: "FieldName",
2254
+ # return_enabled: false,
2255
+ # sort_enabled: false,
2256
+ # highlight_enabled: false,
2257
+ # analysis_scheme: "Word",
2258
+ # }
2259
+ #
2260
+ # @!attribute [rw] default_value
2261
+ # A value to use for the field if the field isn't specified for a
2262
+ # document.
2263
+ # @return [String]
2264
+ #
2265
+ # @!attribute [rw] source_field
2266
+ # A string that represents the name of an index field. CloudSearch
2267
+ # supports regular index fields as well as dynamic fields. A dynamic
2268
+ # field's name defines a pattern that begins or ends with a wildcard.
2269
+ # Any document fields that don't map to a regular index field but do
2270
+ # match a dynamic field's pattern are configured with the dynamic
2271
+ # field's indexing options.
2272
+ #
2273
+ # Regular field names begin with a letter and can contain the
2274
+ # following characters: a-z (lowercase), 0-9, and \_ (underscore).
2275
+ # Dynamic field names must begin or end with a wildcard (*). The
2276
+ # wildcard can also be the only character in a dynamic field name.
2277
+ # Multiple wildcards, and wildcards embedded within a string are not
2278
+ # supported.
2279
+ #
2280
+ # The name `score` is reserved and cannot be used as a field name. To
2281
+ # reference a document's ID, you can use the name `_id`.
2282
+ # @return [String]
2283
+ #
2284
+ # @!attribute [rw] return_enabled
2285
+ # Whether the contents of the field can be returned in the search
2286
+ # results.
2287
+ # @return [Boolean]
2288
+ #
2289
+ # @!attribute [rw] sort_enabled
2290
+ # Whether the field can be used to sort the search results.
2291
+ # @return [Boolean]
2292
+ #
2293
+ # @!attribute [rw] highlight_enabled
2294
+ # Whether highlights can be returned for the field.
2295
+ # @return [Boolean]
2296
+ #
2297
+ # @!attribute [rw] analysis_scheme
2298
+ # The name of an analysis scheme for a `text` field.
2299
+ # @return [String]
2300
+ #
2301
+ class TextOptions < Struct.new(
2302
+ :default_value,
2303
+ :source_field,
2304
+ :return_enabled,
2305
+ :sort_enabled,
2306
+ :highlight_enabled,
2307
+ :analysis_scheme)
2308
+ include Aws::Structure
2309
+ end
2310
+
2311
+ # Container for the parameters to the `UpdateAvailabilityOptions`
2312
+ # operation. Specifies the name of the domain you want to update and the
2313
+ # Multi-AZ availability option.
2314
+ #
2315
+ # @note When making an API call, you may pass UpdateAvailabilityOptionsRequest
2316
+ # data as a hash:
2317
+ #
2318
+ # {
2319
+ # domain_name: "DomainName", # required
2320
+ # multi_az: false, # required
2321
+ # }
2322
+ #
2323
+ # @!attribute [rw] domain_name
2324
+ # A string that represents the name of a domain. Domain names are
2325
+ # unique across the domains owned by an account within an AWS region.
2326
+ # Domain names start with a letter or number and can contain the
2327
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
2328
+ # @return [String]
2329
+ #
2330
+ # @!attribute [rw] multi_az
2331
+ # You expand an existing search domain to a second Availability Zone
2332
+ # by setting the Multi-AZ option to true. Similarly, you can turn off
2333
+ # the Multi-AZ option to downgrade the domain to a single Availability
2334
+ # Zone by setting the Multi-AZ option to `false`.
2335
+ # @return [Boolean]
2336
+ #
2337
+ class UpdateAvailabilityOptionsRequest < Struct.new(
2338
+ :domain_name,
2339
+ :multi_az)
2340
+ include Aws::Structure
2341
+ end
2342
+
2343
+ # The result of a `UpdateAvailabilityOptions` request. Contains the
2344
+ # status of the domain's availability options.
2345
+ #
2346
+ # @!attribute [rw] availability_options
2347
+ # The newly-configured availability options. Indicates whether
2348
+ # Multi-AZ is enabled for the domain.
2349
+ # @return [Types::AvailabilityOptionsStatus]
2350
+ #
2351
+ class UpdateAvailabilityOptionsResponse < Struct.new(
2352
+ :availability_options)
2353
+ include Aws::Structure
2354
+ end
2355
+
2356
+ # Container for the parameters to the `UpdateScalingParameters`
2357
+ # operation. Specifies the name of the domain you want to update and the
2358
+ # scaling parameters you want to configure.
2359
+ #
2360
+ # @note When making an API call, you may pass UpdateScalingParametersRequest
2361
+ # data as a hash:
2362
+ #
2363
+ # {
2364
+ # domain_name: "DomainName", # required
2365
+ # scaling_parameters: { # required
2366
+ # 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
2367
+ # desired_replication_count: 1,
2368
+ # desired_partition_count: 1,
2369
+ # },
2370
+ # }
2371
+ #
2372
+ # @!attribute [rw] domain_name
2373
+ # A string that represents the name of a domain. Domain names are
2374
+ # unique across the domains owned by an account within an AWS region.
2375
+ # Domain names start with a letter or number and can contain the
2376
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
2377
+ # @return [String]
2378
+ #
2379
+ # @!attribute [rw] scaling_parameters
2380
+ # The desired instance type and desired number of replicas of each
2381
+ # index partition.
2382
+ # @return [Types::ScalingParameters]
2383
+ #
2384
+ class UpdateScalingParametersRequest < Struct.new(
2385
+ :domain_name,
2386
+ :scaling_parameters)
2387
+ include Aws::Structure
2388
+ end
2389
+
2390
+ # The result of a `UpdateScalingParameters` request. Contains the status
2391
+ # of the newly-configured scaling parameters.
2392
+ #
2393
+ # @!attribute [rw] scaling_parameters
2394
+ # The status and configuration of a search domain's scaling
2395
+ # parameters.
2396
+ # @return [Types::ScalingParametersStatus]
2397
+ #
2398
+ class UpdateScalingParametersResponse < Struct.new(
2399
+ :scaling_parameters)
2400
+ include Aws::Structure
2401
+ end
2402
+
2403
+ # Container for the parameters to the `UpdateServiceAccessPolicies`
2404
+ # operation. Specifies the name of the domain you want to update and the
2405
+ # access rules you want to configure.
2406
+ #
2407
+ # @note When making an API call, you may pass UpdateServiceAccessPoliciesRequest
2408
+ # data as a hash:
2409
+ #
2410
+ # {
2411
+ # domain_name: "DomainName", # required
2412
+ # access_policies: "PolicyDocument", # required
2413
+ # }
2414
+ #
2415
+ # @!attribute [rw] domain_name
2416
+ # A string that represents the name of a domain. Domain names are
2417
+ # unique across the domains owned by an account within an AWS region.
2418
+ # Domain names start with a letter or number and can contain the
2419
+ # following characters: a-z (lowercase), 0-9, and - (hyphen).
2420
+ # @return [String]
2421
+ #
2422
+ # @!attribute [rw] access_policies
2423
+ # The access rules you want to configure. These rules replace any
2424
+ # existing rules.
2425
+ # @return [String]
2426
+ #
2427
+ class UpdateServiceAccessPoliciesRequest < Struct.new(
2428
+ :domain_name,
2429
+ :access_policies)
2430
+ include Aws::Structure
2431
+ end
2432
+
2433
+ # The result of an `UpdateServiceAccessPolicies` request. Contains the
2434
+ # new access policies.
2435
+ #
2436
+ # @!attribute [rw] access_policies
2437
+ # The access rules configured for the domain.
2438
+ # @return [Types::AccessPoliciesStatus]
2439
+ #
2440
+ class UpdateServiceAccessPoliciesResponse < Struct.new(
2441
+ :access_policies)
2442
+ include Aws::Structure
2443
+ end
2444
+
2255
2445
  end
2256
2446
  end