aws-sdk-cloudsearchdomain 1.14.0 → 1.19.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b5a67fa0143e6aeb9e671ae5c212d877f488553a
4
- data.tar.gz: ddc5e790c6460244823f5f52c9f7ff980a9732fa
2
+ SHA256:
3
+ metadata.gz: 65a817f00fd4ab109c953538a72852c76369854fd24c089befb070424b323b48
4
+ data.tar.gz: b46780ddf8d4dc1f52b7878640083e3fb4777e6905d3837bd4657a893c7455a2
5
5
  SHA512:
6
- metadata.gz: 512a0d09916f726082600b57f3203492941d34e36a2db2f9a351d19741f7b5dc8c5df6dce7a9aacd81c07c4529ca440efed9265b47cd5a72710c871ff3d7db3b
7
- data.tar.gz: fc9f66e98c8124c819548537dc44543572ff2858d60eb498e3f527c043638b3c8a2f6cddca79f63a43d7fadc05b06eb64b21d45fddc25f288ab8b55945627c6c
6
+ metadata.gz: 60dbff4d494d253a5028acbf574def590aaad741f56d28b5b7a8636dee107a897931df98f33acde97f72bfddee9f828d5127403d629dc3633fda3464e5ef7d20
7
+ data.tar.gz: 3874e9d5a52ec066a7bc9ac9a290601992a21a15abb7c17055f68a126b92072aed83342f9bc680306b3fa723848461bbd2a777e6a031d455b155c97ca7b5285e
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
24
26
  # methods each accept a hash of request parameters and return a response
25
27
  # structure.
26
28
  #
29
+ # cloud_search_domain = Aws::CloudSearchDomain::Client.new
30
+ # resp = cloud_search_domain.search(params)
31
+ #
27
32
  # See {Client} for more information.
28
33
  #
29
34
  # # Errors
30
35
  #
31
- # Errors returned from Amazon CloudSearch Domain all
32
- # extend {Errors::ServiceError}.
36
+ # Errors returned from Amazon CloudSearch Domain are defined in the
37
+ # {Errors} module and all extend {Errors::ServiceError}.
33
38
  #
34
39
  # begin
35
40
  # # do stuff
36
41
  # rescue Aws::CloudSearchDomain::Errors::ServiceError
37
- # # rescues all service API errors
42
+ # # rescues all Amazon CloudSearch Domain API errors
38
43
  # end
39
44
  #
40
45
  # See {Errors} for more information.
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
42
47
  # @service
43
48
  module Aws::CloudSearchDomain
44
49
 
45
- GEM_VERSION = '1.14.0'
50
+ GEM_VERSION = '1.19.0'
46
51
 
47
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -21,6 +23,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
23
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
22
24
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
23
25
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
26
+ require 'aws-sdk-core/plugins/http_checksum.rb'
24
27
  require 'aws-sdk-core/plugins/signature_v4.rb'
25
28
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
26
29
  require 'aws-sdk-cloudsearchdomain/plugins/conditional_signing.rb'
@@ -29,6 +32,18 @@ require 'aws-sdk-cloudsearchdomain/plugins/switch_to_post.rb'
29
32
  Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearchdomain)
30
33
 
31
34
  module Aws::CloudSearchDomain
35
+ # An API client for CloudSearchDomain. To construct a client, you need to configure a `:region` and `:credentials`.
36
+ #
37
+ # client = Aws::CloudSearchDomain::Client.new(
38
+ # region: region_name,
39
+ # credentials: credentials,
40
+ # # ...
41
+ # )
42
+ #
43
+ # For details on configuring region and credentials see
44
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
45
+ #
46
+ # See {#initialize} for a full list of supported configuration options.
32
47
  class Client < Seahorse::Client::Base
33
48
 
34
49
  include Aws::ClientStubs
@@ -53,6 +68,7 @@ module Aws::CloudSearchDomain
53
68
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
54
69
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
55
70
  add_plugin(Aws::Plugins::TransferEncoding)
71
+ add_plugin(Aws::Plugins::HttpChecksum)
56
72
  add_plugin(Aws::Plugins::SignatureV4)
57
73
  add_plugin(Aws::Plugins::Protocols::RestJson)
58
74
  add_plugin(Aws::CloudSearchDomain::Plugins::ConditionalSigning)
@@ -90,6 +106,12 @@ module Aws::CloudSearchDomain
90
106
  #
91
107
  # @option options [String] :access_key_id
92
108
  #
109
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
110
+ # Used only in `adaptive` retry mode. When true, the request will sleep
111
+ # until there is sufficent client side capacity to retry the request.
112
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
113
+ # not retry instead of sleeping.
114
+ #
93
115
  # @option options [Boolean] :client_side_monitoring (false)
94
116
  # When `true`, client-side metrics will be collected for all API requests from
95
117
  # this client.
@@ -114,6 +136,10 @@ module Aws::CloudSearchDomain
114
136
  # When `true`, an attempt is made to coerce request parameters into
115
137
  # the required types.
116
138
  #
139
+ # @option options [Boolean] :correct_clock_skew (true)
140
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
141
+ # a clock skew correction and retry requests with skewed client clocks.
142
+ #
117
143
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
118
144
  # The log formatter.
119
145
  #
@@ -124,15 +150,29 @@ module Aws::CloudSearchDomain
124
150
  # The Logger instance to send log messages to. If this option
125
151
  # is not set, logging will be disabled.
126
152
  #
153
+ # @option options [Integer] :max_attempts (3)
154
+ # An integer representing the maximum number attempts that will be made for
155
+ # a single request, including the initial attempt. For example,
156
+ # setting this value to 5 will result in a request being retried up to
157
+ # 4 times. Used in `standard` and `adaptive` retry modes.
158
+ #
127
159
  # @option options [String] :profile ("default")
128
160
  # Used when loading credentials from the shared credentials file
129
161
  # at HOME/.aws/credentials. When not specified, 'default' is used.
130
162
  #
163
+ # @option options [Proc] :retry_backoff
164
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
165
+ # This option is only used in the `legacy` retry mode.
166
+ #
131
167
  # @option options [Float] :retry_base_delay (0.3)
132
- # The base delay in seconds used by the default backoff function.
168
+ # The base delay in seconds used by the default backoff function. This option
169
+ # is only used in the `legacy` retry mode.
133
170
  #
134
171
  # @option options [Symbol] :retry_jitter (:none)
135
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
172
+ # A delay randomiser function used by the default backoff function.
173
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
174
+ # otherwise a Proc that takes and returns a number. This option is only used
175
+ # in the `legacy` retry mode.
136
176
  #
137
177
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
138
178
  #
@@ -140,11 +180,30 @@ module Aws::CloudSearchDomain
140
180
  # The maximum number of times to retry failed requests. Only
141
181
  # ~ 500 level server errors and certain ~ 400 level client errors
142
182
  # are retried. Generally, these are throttling errors, data
143
- # checksum errors, networking errors, timeout errors and auth
144
- # errors from expired credentials.
183
+ # checksum errors, networking errors, timeout errors, auth errors,
184
+ # endpoint discovery, and errors from expired credentials.
185
+ # This option is only used in the `legacy` retry mode.
145
186
  #
146
187
  # @option options [Integer] :retry_max_delay (0)
147
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
188
+ # The maximum number of seconds to delay between retries (0 for no limit)
189
+ # used by the default backoff function. This option is only used in the
190
+ # `legacy` retry mode.
191
+ #
192
+ # @option options [String] :retry_mode ("legacy")
193
+ # Specifies which retry algorithm to use. Values are:
194
+ #
195
+ # * `legacy` - The pre-existing retry behavior. This is default value if
196
+ # no retry mode is provided.
197
+ #
198
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
199
+ # This includes support for retry quotas, which limit the number of
200
+ # unsuccessful retries a client can make.
201
+ #
202
+ # * `adaptive` - An experimental retry mode that includes all the
203
+ # functionality of `standard` mode along with automatic client side
204
+ # throttling. This is a provisional mode that may change behavior
205
+ # in the future.
206
+ #
148
207
  #
149
208
  # @option options [String] :secret_access_key
150
209
  #
@@ -171,16 +230,15 @@ module Aws::CloudSearchDomain
171
230
  # requests through. Formatted like 'http://proxy.com:123'.
172
231
  #
173
232
  # @option options [Float] :http_open_timeout (15) The number of
174
- # seconds to wait when opening a HTTP session before rasing a
233
+ # seconds to wait when opening a HTTP session before raising a
175
234
  # `Timeout::Error`.
176
235
  #
177
236
  # @option options [Integer] :http_read_timeout (60) The default
178
237
  # number of seconds to wait for response data. This value can
179
- # safely be set
180
- # per-request on the session yeidled by {#session_for}.
238
+ # safely be set per-request on the session.
181
239
  #
182
240
  # @option options [Float] :http_idle_timeout (5) The number of
183
- # seconds a connection is allowed to sit idble before it is
241
+ # seconds a connection is allowed to sit idle before it is
184
242
  # considered stale. Stale connections are closed and removed
185
243
  # from the pool before making a request.
186
244
  #
@@ -189,7 +247,7 @@ module Aws::CloudSearchDomain
189
247
  # request body. This option has no effect unless the request has
190
248
  # "Expect" header set to "100-continue". Defaults to `nil` which
191
249
  # disables this behaviour. This value can safely be set per
192
- # request on the session yeidled by {#session_for}.
250
+ # request on the session.
193
251
  #
194
252
  # @option options [Boolean] :http_wire_trace (false) When `true`,
195
253
  # HTTP debug output will be sent to the `:logger`.
@@ -815,7 +873,7 @@ module Aws::CloudSearchDomain
815
873
  params: params,
816
874
  config: config)
817
875
  context[:gem_name] = 'aws-sdk-cloudsearchdomain'
818
- context[:gem_version] = '1.14.0'
876
+ context[:gem_version] = '1.19.0'
819
877
  Seahorse::Client::Request.new(handlers, context)
820
878
  end
821
879
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,6 +8,30 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CloudSearchDomain
11
+
12
+ # When CloudSearchDomain returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::CloudSearchDomain::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all CloudSearchDomain errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::CloudSearchDomain::Errors::ServiceError
20
+ # # rescues all CloudSearchDomain API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {DocumentServiceException}
31
+ # * {SearchException}
32
+ #
33
+ # Additionally, error classes are dynamically generated for service errors based on the error code
34
+ # if they are not defined above.
9
35
  module Errors
10
36
 
11
37
  extend Aws::Errors::DynamicErrors
@@ -28,7 +54,6 @@ module Aws::CloudSearchDomain
28
54
  def message
29
55
  @message || @data[:message]
30
56
  end
31
-
32
57
  end
33
58
 
34
59
  class SearchException < ServiceError
@@ -44,7 +69,6 @@ module Aws::CloudSearchDomain
44
69
  def message
45
70
  @message || @data[:message]
46
71
  end
47
-
48
72
  end
49
73
 
50
74
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'aws-sigv4'
2
4
 
3
5
  module Aws
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Aws
2
4
  module CloudSearchDomain
3
5
  module Plugins
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,6 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CloudSearchDomain
11
+
9
12
  class Resource
10
13
 
11
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -22,6 +24,7 @@ module Aws::CloudSearchDomain
22
24
  class Bucket < Struct.new(
23
25
  :value,
24
26
  :count)
27
+ SENSITIVE = []
25
28
  include Aws::Structure
26
29
  end
27
30
 
@@ -33,6 +36,7 @@ module Aws::CloudSearchDomain
33
36
  #
34
37
  class BucketInfo < Struct.new(
35
38
  :buckets)
39
+ SENSITIVE = []
36
40
  include Aws::Structure
37
41
  end
38
42
 
@@ -51,6 +55,7 @@ module Aws::CloudSearchDomain
51
55
  class DocumentServiceException < Struct.new(
52
56
  :status,
53
57
  :message)
58
+ SENSITIVE = []
54
59
  include Aws::Structure
55
60
  end
56
61
 
@@ -63,6 +68,7 @@ module Aws::CloudSearchDomain
63
68
  #
64
69
  class DocumentServiceWarning < Struct.new(
65
70
  :message)
71
+ SENSITIVE = []
66
72
  include Aws::Structure
67
73
  end
68
74
 
@@ -147,6 +153,7 @@ module Aws::CloudSearchDomain
147
153
  :sum_of_squares,
148
154
  :mean,
149
155
  :stddev)
156
+ SENSITIVE = []
150
157
  include Aws::Structure
151
158
  end
152
159
 
@@ -175,6 +182,7 @@ module Aws::CloudSearchDomain
175
182
  :fields,
176
183
  :exprs,
177
184
  :highlights)
185
+ SENSITIVE = []
178
186
  include Aws::Structure
179
187
  end
180
188
 
@@ -202,6 +210,7 @@ module Aws::CloudSearchDomain
202
210
  :start,
203
211
  :cursor,
204
212
  :hit)
213
+ SENSITIVE = []
205
214
  include Aws::Structure
206
215
  end
207
216
 
@@ -214,6 +223,7 @@ module Aws::CloudSearchDomain
214
223
  #
215
224
  class SearchException < Struct.new(
216
225
  :message)
226
+ SENSITIVE = []
217
227
  include Aws::Structure
218
228
  end
219
229
 
@@ -635,6 +645,7 @@ module Aws::CloudSearchDomain
635
645
  :sort,
636
646
  :start,
637
647
  :stats)
648
+ SENSITIVE = []
638
649
  include Aws::Structure
639
650
  end
640
651
 
@@ -663,6 +674,7 @@ module Aws::CloudSearchDomain
663
674
  :hits,
664
675
  :facets,
665
676
  :stats)
677
+ SENSITIVE = []
666
678
  include Aws::Structure
667
679
  end
668
680
 
@@ -680,6 +692,7 @@ module Aws::CloudSearchDomain
680
692
  class SearchStatus < Struct.new(
681
693
  :timems,
682
694
  :rid)
695
+ SENSITIVE = []
683
696
  include Aws::Structure
684
697
  end
685
698
 
@@ -702,6 +715,7 @@ module Aws::CloudSearchDomain
702
715
  :query,
703
716
  :found,
704
717
  :suggestions)
718
+ SENSITIVE = []
705
719
  include Aws::Structure
706
720
  end
707
721
 
@@ -733,6 +747,7 @@ module Aws::CloudSearchDomain
733
747
  :query,
734
748
  :suggester,
735
749
  :size)
750
+ SENSITIVE = []
736
751
  include Aws::Structure
737
752
  end
738
753
 
@@ -750,6 +765,7 @@ module Aws::CloudSearchDomain
750
765
  class SuggestResponse < Struct.new(
751
766
  :status,
752
767
  :suggest)
768
+ SENSITIVE = []
753
769
  include Aws::Structure
754
770
  end
755
771
 
@@ -767,6 +783,7 @@ module Aws::CloudSearchDomain
767
783
  class SuggestStatus < Struct.new(
768
784
  :timems,
769
785
  :rid)
786
+ SENSITIVE = []
770
787
  include Aws::Structure
771
788
  end
772
789
 
@@ -790,6 +807,7 @@ module Aws::CloudSearchDomain
790
807
  :suggestion,
791
808
  :score,
792
809
  :id)
810
+ SENSITIVE = []
793
811
  include Aws::Structure
794
812
  end
795
813
 
@@ -818,6 +836,7 @@ module Aws::CloudSearchDomain
818
836
  class UploadDocumentsRequest < Struct.new(
819
837
  :documents,
820
838
  :content_type)
839
+ SENSITIVE = []
821
840
  include Aws::Structure
822
841
  end
823
842
 
@@ -845,6 +864,7 @@ module Aws::CloudSearchDomain
845
864
  :adds,
846
865
  :deletes,
847
866
  :warnings)
867
+ SENSITIVE = []
848
868
  include Aws::Structure
849
869
  end
850
870
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudsearchdomain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-01 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.58.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.58.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 2.5.2.3
86
+ rubygems_version: 2.7.6.2
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: AWS SDK for Ruby - Amazon CloudSearch Domain