aws-sdk-cloudsearchdomain 1.13.0 → 1.18.1

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: 9c5a4a22ad19c6bec6bfb1e481f4428807e7fc6f
4
- data.tar.gz: 3370e11311c2ca26942a4711a7d2cadd44185e88
2
+ SHA256:
3
+ metadata.gz: a2d11050836009820a028d0fec1166880f32a1c204f65f4880a7e612ff632594
4
+ data.tar.gz: d0c85a48519308152fa4cc4661971e23b782c133a8ea83905552f6d2ffd95f2c
5
5
  SHA512:
6
- metadata.gz: 47685d06b6257c320bdef6db703b45ec2881c557860c75046f6ce2941ab3146787e6124865f5e130dd3c019f2313ab044c6a8c0e867109d09626729dc1a2f4c8
7
- data.tar.gz: b100421c4738ae486ecceb9220236c1f5c8a2496628d264540490ac406bd95e053e114dbb8bea888e1e81954901c2abe57d9a3c63d08ffa3f0e9d278f36b5e2c
6
+ metadata.gz: d7f919eec9b56a8360c73f2ea10ff1e71007c0aa7cce755aa04f893d6a23f8bd76ac43842acef3055d64899fdce03e507cd5273cd1234e5929578a59b8c94963
7
+ data.tar.gz: 4477fb94f457e78a6dcd52537cc33e22a61486254142e8bd5bfc28df24c877dda7ba6ec509036882f7bda6ebbf524e38983eb6f273e1a29e15beb6b8a8733923
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # cloud_search_domain = Aws::CloudSearchDomain::Client.new
28
+ # resp = cloud_search_domain.search(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from Amazon CloudSearch Domain all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from Amazon CloudSearch Domain are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::CloudSearchDomain::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all Amazon CloudSearch Domain API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
42
45
  # @service
43
46
  module Aws::CloudSearchDomain
44
47
 
45
- GEM_VERSION = '1.13.0'
48
+ GEM_VERSION = '1.18.1'
46
49
 
47
50
  end
@@ -21,6 +21,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
21
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
22
22
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
23
23
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
24
+ require 'aws-sdk-core/plugins/http_checksum.rb'
24
25
  require 'aws-sdk-core/plugins/signature_v4.rb'
25
26
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
26
27
  require 'aws-sdk-cloudsearchdomain/plugins/conditional_signing.rb'
@@ -29,6 +30,18 @@ require 'aws-sdk-cloudsearchdomain/plugins/switch_to_post.rb'
29
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearchdomain)
30
31
 
31
32
  module Aws::CloudSearchDomain
33
+ # An API client for CloudSearchDomain. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::CloudSearchDomain::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
32
45
  class Client < Seahorse::Client::Base
33
46
 
34
47
  include Aws::ClientStubs
@@ -53,6 +66,7 @@ module Aws::CloudSearchDomain
53
66
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
54
67
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
55
68
  add_plugin(Aws::Plugins::TransferEncoding)
69
+ add_plugin(Aws::Plugins::HttpChecksum)
56
70
  add_plugin(Aws::Plugins::SignatureV4)
57
71
  add_plugin(Aws::Plugins::Protocols::RestJson)
58
72
  add_plugin(Aws::CloudSearchDomain::Plugins::ConditionalSigning)
@@ -90,6 +104,12 @@ module Aws::CloudSearchDomain
90
104
  #
91
105
  # @option options [String] :access_key_id
92
106
  #
107
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
108
+ # Used only in `adaptive` retry mode. When true, the request will sleep
109
+ # until there is sufficent client side capacity to retry the request.
110
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
111
+ # not retry instead of sleeping.
112
+ #
93
113
  # @option options [Boolean] :client_side_monitoring (false)
94
114
  # When `true`, client-side metrics will be collected for all API requests from
95
115
  # this client.
@@ -114,6 +134,10 @@ module Aws::CloudSearchDomain
114
134
  # When `true`, an attempt is made to coerce request parameters into
115
135
  # the required types.
116
136
  #
137
+ # @option options [Boolean] :correct_clock_skew (true)
138
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
139
+ # a clock skew correction and retry requests with skewed client clocks.
140
+ #
117
141
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
118
142
  # The log formatter.
119
143
  #
@@ -124,15 +148,29 @@ module Aws::CloudSearchDomain
124
148
  # The Logger instance to send log messages to. If this option
125
149
  # is not set, logging will be disabled.
126
150
  #
151
+ # @option options [Integer] :max_attempts (3)
152
+ # An integer representing the maximum number attempts that will be made for
153
+ # a single request, including the initial attempt. For example,
154
+ # setting this value to 5 will result in a request being retried up to
155
+ # 4 times. Used in `standard` and `adaptive` retry modes.
156
+ #
127
157
  # @option options [String] :profile ("default")
128
158
  # Used when loading credentials from the shared credentials file
129
159
  # at HOME/.aws/credentials. When not specified, 'default' is used.
130
160
  #
161
+ # @option options [Proc] :retry_backoff
162
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
163
+ # This option is only used in the `legacy` retry mode.
164
+ #
131
165
  # @option options [Float] :retry_base_delay (0.3)
132
- # The base delay in seconds used by the default backoff function.
166
+ # The base delay in seconds used by the default backoff function. This option
167
+ # is only used in the `legacy` retry mode.
133
168
  #
134
169
  # @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.
170
+ # A delay randomiser function used by the default backoff function.
171
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
172
+ # otherwise a Proc that takes and returns a number. This option is only used
173
+ # in the `legacy` retry mode.
136
174
  #
137
175
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
138
176
  #
@@ -140,11 +178,30 @@ module Aws::CloudSearchDomain
140
178
  # The maximum number of times to retry failed requests. Only
141
179
  # ~ 500 level server errors and certain ~ 400 level client errors
142
180
  # are retried. Generally, these are throttling errors, data
143
- # checksum errors, networking errors, timeout errors and auth
144
- # errors from expired credentials.
181
+ # checksum errors, networking errors, timeout errors, auth errors,
182
+ # endpoint discovery, and errors from expired credentials.
183
+ # This option is only used in the `legacy` retry mode.
145
184
  #
146
185
  # @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.
186
+ # The maximum number of seconds to delay between retries (0 for no limit)
187
+ # used by the default backoff function. This option is only used in the
188
+ # `legacy` retry mode.
189
+ #
190
+ # @option options [String] :retry_mode ("legacy")
191
+ # Specifies which retry algorithm to use. Values are:
192
+ #
193
+ # * `legacy` - The pre-existing retry behavior. This is default value if
194
+ # no retry mode is provided.
195
+ #
196
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
197
+ # This includes support for retry quotas, which limit the number of
198
+ # unsuccessful retries a client can make.
199
+ #
200
+ # * `adaptive` - An experimental retry mode that includes all the
201
+ # functionality of `standard` mode along with automatic client side
202
+ # throttling. This is a provisional mode that may change behavior
203
+ # in the future.
204
+ #
148
205
  #
149
206
  # @option options [String] :secret_access_key
150
207
  #
@@ -171,16 +228,15 @@ module Aws::CloudSearchDomain
171
228
  # requests through. Formatted like 'http://proxy.com:123'.
172
229
  #
173
230
  # @option options [Float] :http_open_timeout (15) The number of
174
- # seconds to wait when opening a HTTP session before rasing a
231
+ # seconds to wait when opening a HTTP session before raising a
175
232
  # `Timeout::Error`.
176
233
  #
177
234
  # @option options [Integer] :http_read_timeout (60) The default
178
235
  # 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}.
236
+ # safely be set per-request on the session.
181
237
  #
182
238
  # @option options [Float] :http_idle_timeout (5) The number of
183
- # seconds a connection is allowed to sit idble before it is
239
+ # seconds a connection is allowed to sit idle before it is
184
240
  # considered stale. Stale connections are closed and removed
185
241
  # from the pool before making a request.
186
242
  #
@@ -189,7 +245,7 @@ module Aws::CloudSearchDomain
189
245
  # request body. This option has no effect unless the request has
190
246
  # "Expect" header set to "100-continue". Defaults to `nil` which
191
247
  # disables this behaviour. This value can safely be set per
192
- # request on the session yeidled by {#session_for}.
248
+ # request on the session.
193
249
  #
194
250
  # @option options [Boolean] :http_wire_trace (false) When `true`,
195
251
  # HTTP debug output will be sent to the `:logger`.
@@ -815,7 +871,7 @@ module Aws::CloudSearchDomain
815
871
  params: params,
816
872
  config: config)
817
873
  context[:gem_name] = 'aws-sdk-cloudsearchdomain'
818
- context[:gem_version] = '1.13.0'
874
+ context[:gem_version] = '1.18.1'
819
875
  Seahorse::Client::Request.new(handlers, context)
820
876
  end
821
877
 
@@ -6,6 +6,30 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CloudSearchDomain
9
+
10
+ # When CloudSearchDomain returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::CloudSearchDomain::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all CloudSearchDomain errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::CloudSearchDomain::Errors::ServiceError
18
+ # # rescues all CloudSearchDomain API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {DocumentServiceException}
29
+ # * {SearchException}
30
+ #
31
+ # Additionally, error classes are dynamically generated for service errors based on the error code
32
+ # if they are not defined above.
9
33
  module Errors
10
34
 
11
35
  extend Aws::Errors::DynamicErrors
@@ -28,7 +52,6 @@ module Aws::CloudSearchDomain
28
52
  def message
29
53
  @message || @data[:message]
30
54
  end
31
-
32
55
  end
33
56
 
34
57
  class SearchException < ServiceError
@@ -44,7 +67,6 @@ module Aws::CloudSearchDomain
44
67
  def message
45
68
  @message || @data[:message]
46
69
  end
47
-
48
70
  end
49
71
 
50
72
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CloudSearchDomain
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
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.13.0
4
+ version: 1.18.1
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-06-17 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.56.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.56.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