aws-sdk-cloudsearchdomain 1.33.0 → 1.74.0

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.
@@ -81,8 +81,7 @@ module Aws::CloudSearchDomain
81
81
  # `double-array`), `min` is the string representation of a
82
82
  # double-precision 64-bit floating point value. If the field is `date`
83
83
  # or `date-array`, `min` is the string representation of a date with
84
- # the format specified in [IETF RFC3339][1]\:
85
- # yyyy-mm-ddTHH:mm:ss.SSSZ.
84
+ # the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
86
85
  #
87
86
  #
88
87
  #
@@ -96,8 +95,7 @@ module Aws::CloudSearchDomain
96
95
  # `double-array`), `max` is the string representation of a
97
96
  # double-precision 64-bit floating point value. If the field is `date`
98
97
  # or `date-array`, `max` is the string representation of a date with
99
- # the format specified in [IETF RFC3339][1]\:
100
- # yyyy-mm-ddTHH:mm:ss.SSSZ.
98
+ # the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
101
99
  #
102
100
  #
103
101
  #
@@ -131,8 +129,7 @@ module Aws::CloudSearchDomain
131
129
  # `double-array`), `mean` is the string representation of a
132
130
  # double-precision 64-bit floating point value. If the field is `date`
133
131
  # or `date-array`, `mean` is the string representation of a date with
134
- # the format specified in [IETF RFC3339][1]\:
135
- # yyyy-mm-ddTHH:mm:ss.SSSZ.
132
+ # the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
136
133
  #
137
134
  #
138
135
  #
@@ -229,26 +226,6 @@ module Aws::CloudSearchDomain
229
226
 
230
227
  # Container for the parameters to the `Search` request.
231
228
  #
232
- # @note When making an API call, you may pass SearchRequest
233
- # data as a hash:
234
- #
235
- # {
236
- # cursor: "Cursor",
237
- # expr: "Expr",
238
- # facet: "Facet",
239
- # filter_query: "FilterQuery",
240
- # highlight: "Highlight",
241
- # partial: false,
242
- # query: "Query", # required
243
- # query_options: "QueryOptions",
244
- # query_parser: "simple", # accepts simple, structured, lucene, dismax
245
- # return: "Return",
246
- # size: 1,
247
- # sort: "Sort",
248
- # start: 1,
249
- # stats: "Stat",
250
- # }
251
- #
252
229
  # @!attribute [rw] cursor
253
230
  # Retrieves a cursor value you can use to page through large result
254
231
  # sets. Use the `size` parameter to control the number of hits to
@@ -272,10 +249,10 @@ module Aws::CloudSearchDomain
272
249
  # expressions as return fields.
273
250
  #
274
251
  # You specify the expressions in JSON using the form
275
- # `\{"EXPRESSIONNAME":"EXPRESSION"\}`. You can define and use multiple
252
+ # `{"EXPRESSIONNAME":"EXPRESSION"}`. You can define and use multiple
276
253
  # expressions in a search request. For example:
277
254
  #
278
- # ` \{"expression1":"_score*rating", "expression2":"(1/rank)*year"\} `
255
+ # ` {"expression1":"_score*rating", "expression2":"(1/rank)*year"} `
279
256
  #
280
257
  # For information about the variables, operators, and functions you
281
258
  # can use in expressions, see [Writing Expressions][1] in the *Amazon
@@ -291,7 +268,7 @@ module Aws::CloudSearchDomain
291
268
  # options that control how the facet information is returned. Each
292
269
  # specified field must be facet-enabled in the domain configuration.
293
270
  # The fields and options are specified in JSON using the form
294
- # `\{"FIELD":\{"OPTION":VALUE,"OPTION:"STRING"\},"FIELD":\{"OPTION":VALUE,"OPTION":"STRING"\}\}`.
271
+ # `{"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}`.
295
272
  #
296
273
  # You can specify the following faceting options:
297
274
  #
@@ -324,7 +301,7 @@ module Aws::CloudSearchDomain
324
301
  # calculate and return facet counts by decade.
325
302
  #
326
303
  # `
327
- # \{"year":\{"buckets":["[1970,1979]","[1980,1989]","[1990,1999]","[2000,2009]","[2010,\}"]\}\}
304
+ # {"year":{"buckets":["[1970,1979]","[1980,1989]","[1990,1999]","[2000,2009]","[2010,}"]}}
328
305
  # `
329
306
  #
330
307
  # To sort facets by facet count, use the `count` option. For example,
@@ -333,13 +310,13 @@ module Aws::CloudSearchDomain
333
310
  # most matching documents listed first. Setting the `size` option to 3
334
311
  # returns only the top three facet values.
335
312
  #
336
- # ` \{"year":\{"sort":"count","size":3\}\} `
313
+ # ` {"year":{"sort":"count","size":3}} `
337
314
  #
338
315
  # To sort the facets by value, use the `bucket` option. For example,
339
316
  # the following request sets the `sort` option to `bucket` to sort the
340
317
  # facet values numerically by year, with earliest year listed first.
341
318
  #
342
- # ` \{"year":\{"sort":"bucket"\}\} `
319
+ # ` {"year":{"sort":"bucket"}} `
343
320
  #
344
321
  # For more information, see [Getting and Using Facet Information][2]
345
322
  # in the *Amazon CloudSearch Developer Guide*.
@@ -373,20 +350,20 @@ module Aws::CloudSearchDomain
373
350
  # `text-array` fields. Each specified field must be highlight enabled
374
351
  # in the domain configuration. The fields and options are specified in
375
352
  # JSON using the form
376
- # `\{"FIELD":\{"OPTION":VALUE,"OPTION:"STRING"\},"FIELD":\{"OPTION":VALUE,"OPTION":"STRING"\}\}`.
353
+ # `{"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}`.
377
354
  #
378
355
  # You can specify the following highlight options:
379
356
  #
380
- # * `format`\: specifies the format of the data in the text field:
357
+ # * `format`: specifies the format of the data in the text field:
381
358
  # `text` or `html`. When data is returned as HTML, all
382
359
  # non-alphanumeric characters are encoded. The default is `html`.
383
- # * `max_phrases`\: specifies the maximum number of occurrences of the
360
+ # * `max_phrases`: specifies the maximum number of occurrences of the
384
361
  # search term(s) you want to highlight. By default, the first
385
362
  # occurrence is highlighted.
386
- # * `pre_tag`\: specifies the string to prepend to an occurrence of a
363
+ # * `pre_tag`: specifies the string to prepend to an occurrence of a
387
364
  # search term. The default for HTML highlights is `<em>`. The
388
365
  # default for text highlights is `*`.
389
- # * `post_tag`\: specifies the string to append to an occurrence of a
366
+ # * `post_tag`: specifies the string to append to an occurrence of a
390
367
  # search term. The default for HTML highlights is `</em>`. The
391
368
  # default for text highlights is `*`.
392
369
  #
@@ -397,8 +374,8 @@ module Aws::CloudSearchDomain
397
374
  # For example, the following request retrieves highlights for the
398
375
  # `actors` and `title` fields.
399
376
  #
400
- # `\{ "actors": \{\}, "title": \{"format": "text","max_phrases":
401
- # 2,"pre_tag": "","post_tag": ""\} \}`
377
+ # `{ "actors": {}, "title": {"format": "text","max_phrases":
378
+ # 2,"pre_tag": "","post_tag": ""} }`
402
379
  # @return [String]
403
380
  #
404
381
  # @!attribute [rw] partial
@@ -437,24 +414,24 @@ module Aws::CloudSearchDomain
437
414
  # Configures options for the query parser specified in the
438
415
  # `queryParser` parameter. You specify the options in JSON using the
439
416
  # following form
440
- # `\{"OPTION1":"VALUE1","OPTION2":VALUE2"..."OPTIONN":"VALUEN"\}.`
417
+ # `{"OPTION1":"VALUE1","OPTION2":VALUE2"..."OPTIONN":"VALUEN"}.`
441
418
  #
442
419
  # The options you can configure vary according to which parser you
443
420
  # use:
444
421
  #
445
- # * `defaultOperator`\: The default operator used to combine
446
- # individual terms in the search string. For example:
447
- # `defaultOperator: 'or'`. For the `dismax` parser, you specify a
448
- # percentage that represents the percentage of terms in the search
449
- # string (rounded down) that must match, rather than a default
450
- # operator. A value of `0%` is the equivalent to OR, and a value of
451
- # `100%` is equivalent to AND. The percentage must be specified as a
452
- # value in the range 0-100 followed by the percent (%) symbol. For
453
- # example, `defaultOperator: 50%`. Valid values: `and`, `or`, a
454
- # percentage in the range 0%-100% (`dismax`). Default: `and`
455
- # (`simple`, `structured`, `lucene`) or `100` (`dismax`). Valid for:
456
- # `simple`, `structured`, `lucene`, and `dismax`.
457
- # * `fields`\: An array of the fields to search when no fields are
422
+ # * `defaultOperator`: The default operator used to combine individual
423
+ # terms in the search string. For example: `defaultOperator: 'or'`.
424
+ # For the `dismax` parser, you specify a percentage that represents
425
+ # the percentage of terms in the search string (rounded down) that
426
+ # must match, rather than a default operator. A value of `0%` is the
427
+ # equivalent to OR, and a value of `100%` is equivalent to AND. The
428
+ # percentage must be specified as a value in the range 0-100
429
+ # followed by the percent (%) symbol. For example, `defaultOperator:
430
+ # 50%`. Valid values: `and`, `or`, a percentage in the range 0%-100%
431
+ # (`dismax`). Default: `and` (`simple`, `structured`, `lucene`) or
432
+ # `100` (`dismax`). Valid for: `simple`, `structured`, `lucene`, and
433
+ # `dismax`.
434
+ # * `fields`: An array of the fields to search when no fields are
458
435
  # specified in a search. If no fields are specified in a search and
459
436
  # this option is not specified, all text and text-array fields are
460
437
  # searched. You can specify a weight for each field to control the
@@ -467,7 +444,7 @@ module Aws::CloudSearchDomain
467
444
  # any configured field and an optional numeric value greater than
468
445
  # zero. Default: All `text` and `text-array` fields. Valid for:
469
446
  # `simple`, `structured`, `lucene`, and `dismax`.
470
- # * `operators`\: An array of the operators or special characters you
447
+ # * `operators`: An array of the operators or special characters you
471
448
  # want to disable for the simple query parser. If you disable the
472
449
  # `and`, `or`, or `not` operators, the corresponding operators (`+`,
473
450
  # `|`, `-`) have no special meaning and are dropped from the search
@@ -489,7 +466,7 @@ module Aws::CloudSearchDomain
489
466
  # values: `and`, `escape`, `fuzzy`, `near`, `not`, `or`, `phrase`,
490
467
  # `precedence`, `prefix`, `whitespace`. Default: All operators and
491
468
  # special characters are enabled. Valid for: `simple`.
492
- # * `phraseFields`\: An array of the `text` or `text-array` fields you
469
+ # * `phraseFields`: An array of the `text` or `text-array` fields you
493
470
  # want to use for phrase searches. When the terms in the search
494
471
  # string appear in close proximity within a field, the field scores
495
472
  # higher. You can specify a weight for each field to boost that
@@ -503,20 +480,20 @@ module Aws::CloudSearchDomain
503
480
  # than zero. Default: No fields. If you don't specify any fields
504
481
  # with `phraseFields`, proximity scoring is disabled even if
505
482
  # `phraseSlop` is specified. Valid for: `dismax`.
506
- # * `phraseSlop`\: An integer value that specifies how much matches
507
- # can deviate from the search phrase and still be boosted according
508
- # to the weights specified in the `phraseFields` option; for
509
- # example, `phraseSlop: 2`. You must also specify `phraseFields` to
510
- # enable proximity scoring. Valid values: positive integers.
511
- # Default: 0. Valid for: `dismax`.
512
- # * `explicitPhraseSlop`\: An integer value that specifies how much a
483
+ # * `phraseSlop`: An integer value that specifies how much matches can
484
+ # deviate from the search phrase and still be boosted according to
485
+ # the weights specified in the `phraseFields` option; for example,
486
+ # `phraseSlop: 2`. You must also specify `phraseFields` to enable
487
+ # proximity scoring. Valid values: positive integers. Default: 0.
488
+ # Valid for: `dismax`.
489
+ # * `explicitPhraseSlop`: An integer value that specifies how much a
513
490
  # match can deviate from the search phrase when the phrase is
514
491
  # enclosed in double quotes in the search string. (Phrases that
515
492
  # exceed this proximity distance are not considered a match.) For
516
493
  # example, to specify a slop of three for dismax phrase queries, you
517
494
  # would specify `"explicitPhraseSlop":3`. Valid values: positive
518
495
  # integers. Default: 0. Valid for: `dismax`.
519
- # * `tieBreaker`\: When a term in the search string is found in a
496
+ # * `tieBreaker`: When a term in the search string is found in a
520
497
  # document's field, a score is calculated for that field based on
521
498
  # how common the word is in that field compared to other documents.
522
499
  # If the term occurs in multiple fields within a document, by
@@ -541,7 +518,7 @@ module Aws::CloudSearchDomain
541
518
  #
542
519
  # Amazon CloudSearch supports four query parsers:
543
520
  #
544
- # * `simple`\: perform simple searches of `text` and `text-array`
521
+ # * `simple`: perform simple searches of `text` and `text-array`
545
522
  # fields. By default, the `simple` query parser searches all `text`
546
523
  # and `text-array` fields. You can specify which fields to search by
547
524
  # with the `queryOptions` parameter. If you prefix a search term
@@ -554,15 +531,15 @@ module Aws::CloudSearchDomain
554
531
  # individual terms, enclose the phrase in double quotes. For more
555
532
  # information, see [Searching for Text][1] in the *Amazon
556
533
  # CloudSearch Developer Guide*.
557
- # * `structured`\: perform advanced searches by combining multiple
534
+ # * `structured`: perform advanced searches by combining multiple
558
535
  # expressions to define the search criteria. You can also search
559
536
  # within particular fields, search for values and ranges of values,
560
537
  # and use advanced options such as term boosting, `matchall`, and
561
538
  # `near`. For more information, see [Constructing Compound
562
539
  # Queries][2] in the *Amazon CloudSearch Developer Guide*.
563
- # * `lucene`\: search using the Apache Lucene query parser syntax. For
540
+ # * `lucene`: search using the Apache Lucene query parser syntax. For
564
541
  # more information, see [Apache Lucene Query Parser Syntax][3].
565
- # * `dismax`\: search using the simplified subset of the Apache Lucene
542
+ # * `dismax`: search using the simplified subset of the Apache Lucene
566
543
  # query parser syntax defined by the DisMax query parser. For more
567
544
  # information, see [DisMax Query Parser Syntax][4].
568
545
  #
@@ -627,7 +604,7 @@ module Aws::CloudSearchDomain
627
604
  # domain configuration. The fields are specified in JSON using the
628
605
  # form:
629
606
  #
630
- # `\{"FIELD-A":\{\},"FIELD-B":\{\}\}` There are currently no options supported for statistics.
607
+ # `{"FIELD-A":{},"FIELD-B":{}}` There are currently no options supported for statistics.
631
608
  # @return [String]
632
609
  #
633
610
  class SearchRequest < Struct.new(
@@ -721,15 +698,6 @@ module Aws::CloudSearchDomain
721
698
 
722
699
  # Container for the parameters to the `Suggest` request.
723
700
  #
724
- # @note When making an API call, you may pass SuggestRequest
725
- # data as a hash:
726
- #
727
- # {
728
- # query: "Query", # required
729
- # suggester: "Suggester", # required
730
- # size: 1,
731
- # }
732
- #
733
701
  # @!attribute [rw] query
734
702
  # Specifies the string for which you want to get suggestions.
735
703
  # @return [String]
@@ -813,14 +781,6 @@ module Aws::CloudSearchDomain
813
781
 
814
782
  # Container for the parameters to the `UploadDocuments` request.
815
783
  #
816
- # @note When making an API call, you may pass UploadDocumentsRequest
817
- # data as a hash:
818
- #
819
- # {
820
- # documents: "data", # required
821
- # content_type: "application/json", # required, accepts application/json, application/xml
822
- # }
823
- #
824
784
  # @!attribute [rw] documents
825
785
  # A batch of documents formatted in JSON or HTML.
826
786
  # @return [IO]
@@ -870,3 +830,4 @@ module Aws::CloudSearchDomain
870
830
 
871
831
  end
872
832
  end
833
+
@@ -11,12 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-cloudsearchdomain/types'
15
- require_relative 'aws-sdk-cloudsearchdomain/client_api'
16
- require_relative 'aws-sdk-cloudsearchdomain/client'
17
- require_relative 'aws-sdk-cloudsearchdomain/errors'
18
- require_relative 'aws-sdk-cloudsearchdomain/resource'
19
- require_relative 'aws-sdk-cloudsearchdomain/customizations'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearchdomain)
20
15
 
21
16
  # This module provides support for Amazon CloudSearch Domain. This module is available in the
22
17
  # `aws-sdk-cloudsearchdomain` gem.
@@ -47,7 +42,14 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
47
42
  #
48
43
  # @!group service
49
44
  module Aws::CloudSearchDomain
45
+ autoload :Types, 'aws-sdk-cloudsearchdomain/types'
46
+ autoload :ClientApi, 'aws-sdk-cloudsearchdomain/client_api'
47
+ autoload :Client, 'aws-sdk-cloudsearchdomain/client'
48
+ autoload :Errors, 'aws-sdk-cloudsearchdomain/errors'
49
+ autoload :Resource, 'aws-sdk-cloudsearchdomain/resource'
50
50
 
51
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.74.0'
52
52
 
53
53
  end
54
+
55
+ require_relative 'aws-sdk-cloudsearchdomain/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,124 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudSearchDomain
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?access_key_id: String,
17
+ ?account_id: String,
18
+ ?adaptive_retry_wait_to_fill: bool,
19
+ ?auth_scheme_preference: Array[String],
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_request_compression: bool,
29
+ ?log_formatter: untyped,
30
+ ?log_level: Symbol,
31
+ ?logger: untyped,
32
+ ?max_attempts: Integer,
33
+ ?profile: String,
34
+ ?request_checksum_calculation: String,
35
+ ?request_min_compression_size_bytes: Integer,
36
+ ?response_checksum_validation: String,
37
+ ?retry_backoff: Proc,
38
+ ?retry_base_delay: Float,
39
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
40
+ ?retry_limit: Integer,
41
+ ?retry_max_delay: Integer,
42
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
43
+ ?sdk_ua_app_id: String,
44
+ ?secret_access_key: String,
45
+ ?session_token: String,
46
+ ?sigv4_region: String,
47
+ ?stub_responses: untyped,
48
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
49
+ ?token_provider: untyped,
50
+ ?validate_params: bool,
51
+ ?http_proxy: String,
52
+ ?http_open_timeout: (Float | Integer),
53
+ ?http_read_timeout: (Float | Integer),
54
+ ?http_idle_timeout: (Float | Integer),
55
+ ?http_continue_timeout: (Float | Integer),
56
+ ?ssl_timeout: (Float | Integer | nil),
57
+ ?http_wire_trace: bool,
58
+ ?ssl_verify_peer: bool,
59
+ ?ssl_ca_bundle: String,
60
+ ?ssl_ca_directory: String,
61
+ ?ssl_ca_store: String,
62
+ ?on_chunk_received: Proc,
63
+ ?on_chunk_sent: Proc,
64
+ ?raise_response_errors: bool
65
+ ) -> instance
66
+ | (?Hash[Symbol, untyped]) -> instance
67
+
68
+
69
+ interface _SearchResponseSuccess
70
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchResponse]
71
+ def status: () -> Types::SearchStatus
72
+ def hits: () -> Types::Hits
73
+ def facets: () -> ::Hash[::String, Types::BucketInfo]
74
+ def stats: () -> ::Hash[::String, Types::FieldStats]
75
+ end
76
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Client.html#search-instance_method
77
+ def search: (
78
+ ?cursor: ::String,
79
+ ?expr: ::String,
80
+ ?facet: ::String,
81
+ ?filter_query: ::String,
82
+ ?highlight: ::String,
83
+ ?partial: bool,
84
+ query: ::String,
85
+ ?query_options: ::String,
86
+ ?query_parser: ("simple" | "structured" | "lucene" | "dismax"),
87
+ ?return: ::String,
88
+ ?size: ::Integer,
89
+ ?sort: ::String,
90
+ ?start: ::Integer,
91
+ ?stats: ::String
92
+ ) -> _SearchResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchResponseSuccess
94
+
95
+ interface _SuggestResponseSuccess
96
+ include ::Seahorse::Client::_ResponseSuccess[Types::SuggestResponse]
97
+ def status: () -> Types::SuggestStatus
98
+ def suggest: () -> Types::SuggestModel
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Client.html#suggest-instance_method
101
+ def suggest: (
102
+ query: ::String,
103
+ suggester: ::String,
104
+ ?size: ::Integer
105
+ ) -> _SuggestResponseSuccess
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SuggestResponseSuccess
107
+
108
+ interface _UploadDocumentsResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::UploadDocumentsResponse]
110
+ def status: () -> ::String
111
+ def adds: () -> ::Integer
112
+ def deletes: () -> ::Integer
113
+ def warnings: () -> ::Array[Types::DocumentServiceWarning]
114
+ end
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Client.html#upload_documents-instance_method
116
+ def upload_documents: (
117
+ documents: ::String,
118
+ content_type: ("application/json" | "application/xml")
119
+ ) -> _UploadDocumentsResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadDocumentsResponseSuccess
121
+ end
122
+ end
123
+ end
124
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudSearchDomain
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class DocumentServiceException < ::Aws::Errors::ServiceError
15
+ def status: () -> ::String
16
+ def message: () -> ::String
17
+ end
18
+ class SearchException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ end
21
+ end
22
+ end
23
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,73 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudSearchDomain
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudSearchDomain/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?access_key_id: String,
17
+ ?account_id: String,
18
+ ?adaptive_retry_wait_to_fill: bool,
19
+ ?auth_scheme_preference: Array[String],
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_request_compression: bool,
29
+ ?log_formatter: untyped,
30
+ ?log_level: Symbol,
31
+ ?logger: untyped,
32
+ ?max_attempts: Integer,
33
+ ?profile: String,
34
+ ?request_checksum_calculation: String,
35
+ ?request_min_compression_size_bytes: Integer,
36
+ ?response_checksum_validation: String,
37
+ ?retry_backoff: Proc,
38
+ ?retry_base_delay: Float,
39
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
40
+ ?retry_limit: Integer,
41
+ ?retry_max_delay: Integer,
42
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
43
+ ?sdk_ua_app_id: String,
44
+ ?secret_access_key: String,
45
+ ?session_token: String,
46
+ ?sigv4_region: String,
47
+ ?stub_responses: untyped,
48
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
49
+ ?token_provider: untyped,
50
+ ?validate_params: bool,
51
+ ?http_proxy: String,
52
+ ?http_open_timeout: (Float | Integer),
53
+ ?http_read_timeout: (Float | Integer),
54
+ ?http_idle_timeout: (Float | Integer),
55
+ ?http_continue_timeout: (Float | Integer),
56
+ ?ssl_timeout: (Float | Integer | nil),
57
+ ?http_wire_trace: bool,
58
+ ?ssl_verify_peer: bool,
59
+ ?ssl_ca_bundle: String,
60
+ ?ssl_ca_directory: String,
61
+ ?ssl_ca_store: String,
62
+ ?on_chunk_received: Proc,
63
+ ?on_chunk_sent: Proc,
64
+ ?raise_response_errors: bool
65
+ ) -> void
66
+ | (?Hash[Symbol, untyped]) -> void
67
+
68
+ def client: () -> Client
69
+
70
+
71
+ end
72
+ end
73
+ end