aws-sdk-mturk 1.19.0 → 1.24.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: d9214c8ae43b72dea7c1c769840eafe662eba7cc
4
- data.tar.gz: 3b39a29b3ef107473831626c3d5bc3247e7e76e3
2
+ SHA256:
3
+ metadata.gz: 9056e70787c4d41adc4c23710ceb41775c72c33292518206c999fae87a8e154f
4
+ data.tar.gz: 774286c6fc40f614763dc0735153b4de5c143ba6e97de8dd75e00311e104274a
5
5
  SHA512:
6
- metadata.gz: 4a0a1185570ffc63d9615d39d7f4a467943b67b292d0736f3a8788329072dd2d0b1bb44e1a5eafadc882af87ff5dca6de02cec23662a9f296a8935b5c1ec5514
7
- data.tar.gz: bca4adfb1a16f84f312e67d383933fb0cc5330036d12fcf66855f5fbb65614ec856bc9754a99c7e6f222c93a442952baa8cd733efb2a199b9fbf1edbe476fbf3
6
+ metadata.gz: bbbe71a25770facfbc82393ccd3bfad656f6ca7fe26b9563aec9c383aa77b84b1b1a046c648fe6121758681a7d386ff97e805fa05332be4db131cb261a8fbc87
7
+ data.tar.gz: 870106f4077b790181bc0d5611e685af11da6463c81c6adb470a4fdd0ded1c394fde98c23c4610f39a98d63489516f1993342f2c912b4cac68c521362b09e25b
@@ -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-mturk/customizations'
24
26
  # methods each accept a hash of request parameters and return a response
25
27
  # structure.
26
28
  #
29
+ # m_turk = Aws::MTurk::Client.new
30
+ # resp = m_turk.accept_qualification_request(params)
31
+ #
27
32
  # See {Client} for more information.
28
33
  #
29
34
  # # Errors
30
35
  #
31
- # Errors returned from Amazon Mechanical Turk all
32
- # extend {Errors::ServiceError}.
36
+ # Errors returned from Amazon Mechanical Turk 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::MTurk::Errors::ServiceError
37
- # # rescues all service API errors
42
+ # # rescues all Amazon Mechanical Turk API errors
38
43
  # end
39
44
  #
40
45
  # See {Errors} for more information.
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-mturk/customizations'
42
47
  # @service
43
48
  module Aws::MTurk
44
49
 
45
- GEM_VERSION = '1.19.0'
50
+ GEM_VERSION = '1.24.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:
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
30
33
  Aws::Plugins::GlobalConfiguration.add_identifier(:mturk)
31
34
 
32
35
  module Aws::MTurk
36
+ # An API client for MTurk. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::MTurk::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
33
48
  class Client < Seahorse::Client::Base
34
49
 
35
50
  include Aws::ClientStubs
@@ -57,6 +72,7 @@ module Aws::MTurk
57
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
60
76
  add_plugin(Aws::Plugins::SignatureV4)
61
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
62
78
 
@@ -93,7 +109,7 @@ module Aws::MTurk
93
109
  # @option options [required, String] :region
94
110
  # The AWS region to connect to. The configured `:region` is
95
111
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
97
113
  #
98
114
  # * `Aws.config[:region]`
99
115
  # * `ENV['AWS_REGION']`
@@ -108,6 +124,12 @@ module Aws::MTurk
108
124
  # When set to `true`, a thread polling for endpoints will be running in
109
125
  # the background every 60 secs (default). Defaults to `false`.
110
126
  #
127
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
128
+ # Used only in `adaptive` retry mode. When true, the request will sleep
129
+ # until there is sufficent client side capacity to retry the request.
130
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
131
+ # not retry instead of sleeping.
132
+ #
111
133
  # @option options [Boolean] :client_side_monitoring (false)
112
134
  # When `true`, client-side metrics will be collected for all API requests from
113
135
  # this client.
@@ -132,6 +154,10 @@ module Aws::MTurk
132
154
  # When `true`, an attempt is made to coerce request parameters into
133
155
  # the required types.
134
156
  #
157
+ # @option options [Boolean] :correct_clock_skew (true)
158
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
159
+ # a clock skew correction and retry requests with skewed client clocks.
160
+ #
135
161
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
162
  # Set to true to disable SDK automatically adding host prefix
137
163
  # to default service endpoint when available.
@@ -139,7 +165,7 @@ module Aws::MTurk
139
165
  # @option options [String] :endpoint
140
166
  # The client endpoint is normally constructed from the `:region`
141
167
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
169
  #
144
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +180,7 @@ module Aws::MTurk
154
180
  # requests fetching endpoints information. Defaults to 60 sec.
155
181
  #
156
182
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
184
  #
159
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
186
  # The log formatter.
@@ -166,15 +192,29 @@ module Aws::MTurk
166
192
  # The Logger instance to send log messages to. If this option
167
193
  # is not set, logging will be disabled.
168
194
  #
195
+ # @option options [Integer] :max_attempts (3)
196
+ # An integer representing the maximum number attempts that will be made for
197
+ # a single request, including the initial attempt. For example,
198
+ # setting this value to 5 will result in a request being retried up to
199
+ # 4 times. Used in `standard` and `adaptive` retry modes.
200
+ #
169
201
  # @option options [String] :profile ("default")
170
202
  # Used when loading credentials from the shared credentials file
171
203
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
204
  #
205
+ # @option options [Proc] :retry_backoff
206
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
+ # This option is only used in the `legacy` retry mode.
208
+ #
173
209
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
210
+ # The base delay in seconds used by the default backoff function. This option
211
+ # is only used in the `legacy` retry mode.
175
212
  #
176
213
  # @option options [Symbol] :retry_jitter (:none)
177
- # 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.
214
+ # A delay randomiser function used by the default backoff function.
215
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
216
+ # otherwise a Proc that takes and returns a number. This option is only used
217
+ # in the `legacy` retry mode.
178
218
  #
179
219
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
220
  #
@@ -182,11 +222,30 @@ module Aws::MTurk
182
222
  # The maximum number of times to retry failed requests. Only
183
223
  # ~ 500 level server errors and certain ~ 400 level client errors
184
224
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
225
+ # checksum errors, networking errors, timeout errors, auth errors,
226
+ # endpoint discovery, and errors from expired credentials.
227
+ # This option is only used in the `legacy` retry mode.
187
228
  #
188
229
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
230
+ # The maximum number of seconds to delay between retries (0 for no limit)
231
+ # used by the default backoff function. This option is only used in the
232
+ # `legacy` retry mode.
233
+ #
234
+ # @option options [String] :retry_mode ("legacy")
235
+ # Specifies which retry algorithm to use. Values are:
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
190
249
  #
191
250
  # @option options [String] :secret_access_key
192
251
  #
@@ -219,16 +278,15 @@ module Aws::MTurk
219
278
  # requests through. Formatted like 'http://proxy.com:123'.
220
279
  #
221
280
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
281
+ # seconds to wait when opening a HTTP session before raising a
223
282
  # `Timeout::Error`.
224
283
  #
225
284
  # @option options [Integer] :http_read_timeout (60) The default
226
285
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
286
+ # safely be set per-request on the session.
229
287
  #
230
288
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
289
+ # seconds a connection is allowed to sit idle before it is
232
290
  # considered stale. Stale connections are closed and removed
233
291
  # from the pool before making a request.
234
292
  #
@@ -237,7 +295,7 @@ module Aws::MTurk
237
295
  # request body. This option has no effect unless the request has
238
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
297
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
298
+ # request on the session.
241
299
  #
242
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
301
  # HTTP debug output will be sent to the `:logger`.
@@ -1625,6 +1683,8 @@ module Aws::MTurk
1625
1683
  # * {Types::ListAssignmentsForHITResponse#num_results #num_results} => Integer
1626
1684
  # * {Types::ListAssignmentsForHITResponse#assignments #assignments} => Array&lt;Types::Assignment&gt;
1627
1685
  #
1686
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1687
+ #
1628
1688
  # @example Request syntax with placeholder values
1629
1689
  #
1630
1690
  # resp = client.list_assignments_for_hit({
@@ -1687,6 +1747,8 @@ module Aws::MTurk
1687
1747
  # * {Types::ListBonusPaymentsResponse#next_token #next_token} => String
1688
1748
  # * {Types::ListBonusPaymentsResponse#bonus_payments #bonus_payments} => Array&lt;Types::BonusPayment&gt;
1689
1749
  #
1750
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1751
+ #
1690
1752
  # @example Request syntax with placeholder values
1691
1753
  #
1692
1754
  # resp = client.list_bonus_payments({
@@ -1732,6 +1794,8 @@ module Aws::MTurk
1732
1794
  # * {Types::ListHITsResponse#num_results #num_results} => Integer
1733
1795
  # * {Types::ListHITsResponse#hits #hits} => Array&lt;Types::HIT&gt;
1734
1796
  #
1797
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1798
+ #
1735
1799
  # @example Request syntax with placeholder values
1736
1800
  #
1737
1801
  # resp = client.list_hits({
@@ -1804,6 +1868,8 @@ module Aws::MTurk
1804
1868
  # * {Types::ListHITsForQualificationTypeResponse#num_results #num_results} => Integer
1805
1869
  # * {Types::ListHITsForQualificationTypeResponse#hits #hits} => Array&lt;Types::HIT&gt;
1806
1870
  #
1871
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1872
+ #
1807
1873
  # @example Request syntax with placeholder values
1808
1874
  #
1809
1875
  # resp = client.list_hits_for_qualification_type({
@@ -1880,6 +1946,8 @@ module Aws::MTurk
1880
1946
  # * {Types::ListQualificationRequestsResponse#next_token #next_token} => String
1881
1947
  # * {Types::ListQualificationRequestsResponse#qualification_requests #qualification_requests} => Array&lt;Types::QualificationRequest&gt;
1882
1948
  #
1949
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1950
+ #
1883
1951
  # @example Request syntax with placeholder values
1884
1952
  #
1885
1953
  # resp = client.list_qualification_requests({
@@ -1944,6 +2012,8 @@ module Aws::MTurk
1944
2012
  # * {Types::ListQualificationTypesResponse#next_token #next_token} => String
1945
2013
  # * {Types::ListQualificationTypesResponse#qualification_types #qualification_types} => Array&lt;Types::QualificationType&gt;
1946
2014
  #
2015
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2016
+ #
1947
2017
  # @example Request syntax with placeholder values
1948
2018
  #
1949
2019
  # resp = client.list_qualification_types({
@@ -2021,6 +2091,8 @@ module Aws::MTurk
2021
2091
  # * {Types::ListReviewPolicyResultsForHITResponse#hit_review_report #hit_review_report} => Types::ReviewReport
2022
2092
  # * {Types::ListReviewPolicyResultsForHITResponse#next_token #next_token} => String
2023
2093
  #
2094
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2095
+ #
2024
2096
  # @example Request syntax with placeholder values
2025
2097
  #
2026
2098
  # resp = client.list_review_policy_results_for_hit({
@@ -2120,6 +2192,8 @@ module Aws::MTurk
2120
2192
  # * {Types::ListReviewableHITsResponse#num_results #num_results} => Integer
2121
2193
  # * {Types::ListReviewableHITsResponse#hits #hits} => Array&lt;Types::HIT&gt;
2122
2194
  #
2195
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2196
+ #
2123
2197
  # @example Request syntax with placeholder values
2124
2198
  #
2125
2199
  # resp = client.list_reviewable_hits({
@@ -2188,6 +2262,8 @@ module Aws::MTurk
2188
2262
  # * {Types::ListWorkerBlocksResponse#num_results #num_results} => Integer
2189
2263
  # * {Types::ListWorkerBlocksResponse#worker_blocks #worker_blocks} => Array&lt;Types::WorkerBlock&gt;
2190
2264
  #
2265
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2266
+ #
2191
2267
  # @example Request syntax with placeholder values
2192
2268
  #
2193
2269
  # resp = client.list_worker_blocks({
@@ -2234,6 +2310,8 @@ module Aws::MTurk
2234
2310
  # * {Types::ListWorkersWithQualificationTypeResponse#num_results #num_results} => Integer
2235
2311
  # * {Types::ListWorkersWithQualificationTypeResponse#qualifications #qualifications} => Array&lt;Types::Qualification&gt;
2236
2312
  #
2313
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2314
+ #
2237
2315
  # @example Request syntax with placeholder values
2238
2316
  #
2239
2317
  # resp = client.list_workers_with_qualification_type({
@@ -2766,7 +2844,7 @@ module Aws::MTurk
2766
2844
  params: params,
2767
2845
  config: config)
2768
2846
  context[:gem_name] = 'aws-sdk-mturk'
2769
- context[:gem_version] = '1.19.0'
2847
+ context[:gem_version] = '1.24.0'
2770
2848
  Seahorse::Client::Request.new(handlers, context)
2771
2849
  end
2772
2850
 
@@ -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,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::MTurk
11
+
12
+ # When MTurk returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::MTurk::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all MTurk errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::MTurk::Errors::ServiceError
20
+ # # rescues all MTurk 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
+ # * {RequestError}
31
+ # * {ServiceFault}
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::MTurk
28
54
  def turk_error_code
29
55
  @data[:turk_error_code]
30
56
  end
31
-
32
57
  end
33
58
 
34
59
  class ServiceFault < ServiceError
@@ -49,7 +74,6 @@ module Aws::MTurk
49
74
  def turk_error_code
50
75
  @data[:turk_error_code]
51
76
  end
52
-
53
77
  end
54
78
 
55
79
  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:
@@ -6,6 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::MTurk
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:
@@ -32,6 +34,7 @@ module Aws::MTurk
32
34
  class AcceptQualificationRequestRequest < Struct.new(
33
35
  :qualification_request_id,
34
36
  :integer_value)
37
+ SENSITIVE = []
35
38
  include Aws::Structure
36
39
  end
37
40
 
@@ -69,6 +72,7 @@ module Aws::MTurk
69
72
  :assignment_id,
70
73
  :requester_feedback,
71
74
  :override_rejection)
75
+ SENSITIVE = []
72
76
  include Aws::Structure
73
77
  end
74
78
 
@@ -163,6 +167,7 @@ module Aws::MTurk
163
167
  :deadline,
164
168
  :answer,
165
169
  :requester_feedback)
170
+ SENSITIVE = []
166
171
  include Aws::Structure
167
172
  end
168
173
 
@@ -204,6 +209,7 @@ module Aws::MTurk
204
209
  :worker_id,
205
210
  :integer_value,
206
211
  :send_notification)
212
+ SENSITIVE = []
207
213
  include Aws::Structure
208
214
  end
209
215
 
@@ -241,6 +247,7 @@ module Aws::MTurk
241
247
  :assignment_id,
242
248
  :reason,
243
249
  :grant_time)
250
+ SENSITIVE = []
244
251
  include Aws::Structure
245
252
  end
246
253
 
@@ -277,6 +284,7 @@ module Aws::MTurk
277
284
  :hit_id,
278
285
  :number_of_additional_assignments,
279
286
  :unique_request_token)
287
+ SENSITIVE = []
280
288
  include Aws::Structure
281
289
  end
282
290
 
@@ -503,6 +511,7 @@ module Aws::MTurk
503
511
  :hit_review_policy,
504
512
  :hit_layout_id,
505
513
  :hit_layout_parameters)
514
+ SENSITIVE = []
506
515
  include Aws::Structure
507
516
  end
508
517
 
@@ -516,6 +525,7 @@ module Aws::MTurk
516
525
  #
517
526
  class CreateHITResponse < Struct.new(
518
527
  :hit)
528
+ SENSITIVE = []
519
529
  include Aws::Structure
520
530
  end
521
531
 
@@ -606,6 +616,7 @@ module Aws::MTurk
606
616
  :keywords,
607
617
  :description,
608
618
  :qualification_requirements)
619
+ SENSITIVE = []
609
620
  include Aws::Structure
610
621
  end
611
622
 
@@ -617,6 +628,7 @@ module Aws::MTurk
617
628
  #
618
629
  class CreateHITTypeResponse < Struct.new(
619
630
  :hit_type_id)
631
+ SENSITIVE = []
620
632
  include Aws::Structure
621
633
  end
622
634
 
@@ -767,6 +779,7 @@ module Aws::MTurk
767
779
  :hit_review_policy,
768
780
  :hit_layout_id,
769
781
  :hit_layout_parameters)
782
+ SENSITIVE = []
770
783
  include Aws::Structure
771
784
  end
772
785
 
@@ -780,6 +793,7 @@ module Aws::MTurk
780
793
  #
781
794
  class CreateHITWithHITTypeResponse < Struct.new(
782
795
  :hit)
796
+ SENSITIVE = []
783
797
  include Aws::Structure
784
798
  end
785
799
 
@@ -893,6 +907,7 @@ module Aws::MTurk
893
907
  :test_duration_in_seconds,
894
908
  :auto_granted,
895
909
  :auto_granted_value)
910
+ SENSITIVE = []
896
911
  include Aws::Structure
897
912
  end
898
913
 
@@ -905,6 +920,7 @@ module Aws::MTurk
905
920
  #
906
921
  class CreateQualificationTypeResponse < Struct.new(
907
922
  :qualification_type)
923
+ SENSITIVE = []
908
924
  include Aws::Structure
909
925
  end
910
926
 
@@ -931,6 +947,7 @@ module Aws::MTurk
931
947
  class CreateWorkerBlockRequest < Struct.new(
932
948
  :worker_id,
933
949
  :reason)
950
+ SENSITIVE = []
934
951
  include Aws::Structure
935
952
  end
936
953
 
@@ -953,6 +970,7 @@ module Aws::MTurk
953
970
  #
954
971
  class DeleteHITRequest < Struct.new(
955
972
  :hit_id)
973
+ SENSITIVE = []
956
974
  include Aws::Structure
957
975
  end
958
976
 
@@ -975,6 +993,7 @@ module Aws::MTurk
975
993
  #
976
994
  class DeleteQualificationTypeRequest < Struct.new(
977
995
  :qualification_type_id)
996
+ SENSITIVE = []
978
997
  include Aws::Structure
979
998
  end
980
999
 
@@ -1004,6 +1023,7 @@ module Aws::MTurk
1004
1023
  class DeleteWorkerBlockRequest < Struct.new(
1005
1024
  :worker_id,
1006
1025
  :reason)
1026
+ SENSITIVE = []
1007
1027
  include Aws::Structure
1008
1028
  end
1009
1029
 
@@ -1039,6 +1059,7 @@ module Aws::MTurk
1039
1059
  :worker_id,
1040
1060
  :qualification_type_id,
1041
1061
  :reason)
1062
+ SENSITIVE = []
1042
1063
  include Aws::Structure
1043
1064
  end
1044
1065
 
@@ -1065,6 +1086,7 @@ module Aws::MTurk
1065
1086
  class GetAccountBalanceResponse < Struct.new(
1066
1087
  :available_balance,
1067
1088
  :on_hold_balance)
1089
+ SENSITIVE = []
1068
1090
  include Aws::Structure
1069
1091
  end
1070
1092
 
@@ -1083,6 +1105,7 @@ module Aws::MTurk
1083
1105
  #
1084
1106
  class GetAssignmentRequest < Struct.new(
1085
1107
  :assignment_id)
1108
+ SENSITIVE = []
1086
1109
  include Aws::Structure
1087
1110
  end
1088
1111
 
@@ -1100,6 +1123,7 @@ module Aws::MTurk
1100
1123
  class GetAssignmentResponse < Struct.new(
1101
1124
  :assignment,
1102
1125
  :hit)
1126
+ SENSITIVE = []
1103
1127
  include Aws::Structure
1104
1128
  end
1105
1129
 
@@ -1126,6 +1150,7 @@ module Aws::MTurk
1126
1150
  class GetFileUploadURLRequest < Struct.new(
1127
1151
  :assignment_id,
1128
1152
  :question_identifier)
1153
+ SENSITIVE = []
1129
1154
  include Aws::Structure
1130
1155
  end
1131
1156
 
@@ -1138,6 +1163,7 @@ module Aws::MTurk
1138
1163
  #
1139
1164
  class GetFileUploadURLResponse < Struct.new(
1140
1165
  :file_upload_url)
1166
+ SENSITIVE = []
1141
1167
  include Aws::Structure
1142
1168
  end
1143
1169
 
@@ -1156,6 +1182,7 @@ module Aws::MTurk
1156
1182
  #
1157
1183
  class GetHITRequest < Struct.new(
1158
1184
  :hit_id)
1185
+ SENSITIVE = []
1159
1186
  include Aws::Structure
1160
1187
  end
1161
1188
 
@@ -1167,6 +1194,7 @@ module Aws::MTurk
1167
1194
  #
1168
1195
  class GetHITResponse < Struct.new(
1169
1196
  :hit)
1197
+ SENSITIVE = []
1170
1198
  include Aws::Structure
1171
1199
  end
1172
1200
 
@@ -1191,6 +1219,7 @@ module Aws::MTurk
1191
1219
  class GetQualificationScoreRequest < Struct.new(
1192
1220
  :qualification_type_id,
1193
1221
  :worker_id)
1222
+ SENSITIVE = []
1194
1223
  include Aws::Structure
1195
1224
  end
1196
1225
 
@@ -1203,6 +1232,7 @@ module Aws::MTurk
1203
1232
  #
1204
1233
  class GetQualificationScoreResponse < Struct.new(
1205
1234
  :qualification)
1235
+ SENSITIVE = []
1206
1236
  include Aws::Structure
1207
1237
  end
1208
1238
 
@@ -1221,6 +1251,7 @@ module Aws::MTurk
1221
1251
  #
1222
1252
  class GetQualificationTypeRequest < Struct.new(
1223
1253
  :qualification_type_id)
1254
+ SENSITIVE = []
1224
1255
  include Aws::Structure
1225
1256
  end
1226
1257
 
@@ -1232,6 +1263,7 @@ module Aws::MTurk
1232
1263
  #
1233
1264
  class GetQualificationTypeResponse < Struct.new(
1234
1265
  :qualification_type)
1266
+ SENSITIVE = []
1235
1267
  include Aws::Structure
1236
1268
  end
1237
1269
 
@@ -1368,6 +1400,7 @@ module Aws::MTurk
1368
1400
  :number_of_assignments_pending,
1369
1401
  :number_of_assignments_available,
1370
1402
  :number_of_assignments_completed)
1403
+ SENSITIVE = []
1371
1404
  include Aws::Structure
1372
1405
  end
1373
1406
 
@@ -1397,6 +1430,7 @@ module Aws::MTurk
1397
1430
  class HITLayoutParameter < Struct.new(
1398
1431
  :name,
1399
1432
  :value)
1433
+ SENSITIVE = []
1400
1434
  include Aws::Structure
1401
1435
  end
1402
1436
 
@@ -1433,6 +1467,7 @@ module Aws::MTurk
1433
1467
  :next_token,
1434
1468
  :max_results,
1435
1469
  :assignment_statuses)
1470
+ SENSITIVE = []
1436
1471
  include Aws::Structure
1437
1472
  end
1438
1473
 
@@ -1458,6 +1493,7 @@ module Aws::MTurk
1458
1493
  :next_token,
1459
1494
  :num_results,
1460
1495
  :assignments)
1496
+ SENSITIVE = []
1461
1497
  include Aws::Structure
1462
1498
  end
1463
1499
 
@@ -1499,6 +1535,7 @@ module Aws::MTurk
1499
1535
  :assignment_id,
1500
1536
  :next_token,
1501
1537
  :max_results)
1538
+ SENSITIVE = []
1502
1539
  include Aws::Structure
1503
1540
  end
1504
1541
 
@@ -1526,6 +1563,7 @@ module Aws::MTurk
1526
1563
  :num_results,
1527
1564
  :next_token,
1528
1565
  :bonus_payments)
1566
+ SENSITIVE = []
1529
1567
  include Aws::Structure
1530
1568
  end
1531
1569
 
@@ -1556,6 +1594,7 @@ module Aws::MTurk
1556
1594
  :qualification_type_id,
1557
1595
  :next_token,
1558
1596
  :max_results)
1597
+ SENSITIVE = []
1559
1598
  include Aws::Structure
1560
1599
  end
1561
1600
 
@@ -1581,6 +1620,7 @@ module Aws::MTurk
1581
1620
  :next_token,
1582
1621
  :num_results,
1583
1622
  :hits)
1623
+ SENSITIVE = []
1584
1624
  include Aws::Structure
1585
1625
  end
1586
1626
 
@@ -1604,6 +1644,7 @@ module Aws::MTurk
1604
1644
  class ListHITsRequest < Struct.new(
1605
1645
  :next_token,
1606
1646
  :max_results)
1647
+ SENSITIVE = []
1607
1648
  include Aws::Structure
1608
1649
  end
1609
1650
 
@@ -1629,6 +1670,7 @@ module Aws::MTurk
1629
1670
  :next_token,
1630
1671
  :num_results,
1631
1672
  :hits)
1673
+ SENSITIVE = []
1632
1674
  include Aws::Structure
1633
1675
  end
1634
1676
 
@@ -1662,6 +1704,7 @@ module Aws::MTurk
1662
1704
  :qualification_type_id,
1663
1705
  :next_token,
1664
1706
  :max_results)
1707
+ SENSITIVE = []
1665
1708
  include Aws::Structure
1666
1709
  end
1667
1710
 
@@ -1690,6 +1733,7 @@ module Aws::MTurk
1690
1733
  :num_results,
1691
1734
  :next_token,
1692
1735
  :qualification_requests)
1736
+ SENSITIVE = []
1693
1737
  include Aws::Structure
1694
1738
  end
1695
1739
 
@@ -1744,6 +1788,7 @@ module Aws::MTurk
1744
1788
  :must_be_owned_by_caller,
1745
1789
  :next_token,
1746
1790
  :max_results)
1791
+ SENSITIVE = []
1747
1792
  include Aws::Structure
1748
1793
  end
1749
1794
 
@@ -1770,6 +1815,7 @@ module Aws::MTurk
1770
1815
  :num_results,
1771
1816
  :next_token,
1772
1817
  :qualification_types)
1818
+ SENSITIVE = []
1773
1819
  include Aws::Structure
1774
1820
  end
1775
1821
 
@@ -1823,6 +1869,7 @@ module Aws::MTurk
1823
1869
  :retrieve_results,
1824
1870
  :next_token,
1825
1871
  :max_results)
1872
+ SENSITIVE = []
1826
1873
  include Aws::Structure
1827
1874
  end
1828
1875
 
@@ -1866,6 +1913,7 @@ module Aws::MTurk
1866
1913
  :assignment_review_report,
1867
1914
  :hit_review_report,
1868
1915
  :next_token)
1916
+ SENSITIVE = []
1869
1917
  include Aws::Structure
1870
1918
  end
1871
1919
 
@@ -1904,6 +1952,7 @@ module Aws::MTurk
1904
1952
  :status,
1905
1953
  :next_token,
1906
1954
  :max_results)
1955
+ SENSITIVE = []
1907
1956
  include Aws::Structure
1908
1957
  end
1909
1958
 
@@ -1929,6 +1978,7 @@ module Aws::MTurk
1929
1978
  :next_token,
1930
1979
  :num_results,
1931
1980
  :hits)
1981
+ SENSITIVE = []
1932
1982
  include Aws::Structure
1933
1983
  end
1934
1984
 
@@ -1952,6 +2002,7 @@ module Aws::MTurk
1952
2002
  class ListWorkerBlocksRequest < Struct.new(
1953
2003
  :next_token,
1954
2004
  :max_results)
2005
+ SENSITIVE = []
1955
2006
  include Aws::Structure
1956
2007
  end
1957
2008
 
@@ -1978,6 +2029,7 @@ module Aws::MTurk
1978
2029
  :next_token,
1979
2030
  :num_results,
1980
2031
  :worker_blocks)
2032
+ SENSITIVE = []
1981
2033
  include Aws::Structure
1982
2034
  end
1983
2035
 
@@ -2015,6 +2067,7 @@ module Aws::MTurk
2015
2067
  :status,
2016
2068
  :next_token,
2017
2069
  :max_results)
2070
+ SENSITIVE = []
2018
2071
  include Aws::Structure
2019
2072
  end
2020
2073
 
@@ -2041,6 +2094,7 @@ module Aws::MTurk
2041
2094
  :next_token,
2042
2095
  :num_results,
2043
2096
  :qualifications)
2097
+ SENSITIVE = []
2044
2098
  include Aws::Structure
2045
2099
  end
2046
2100
 
@@ -2071,6 +2125,7 @@ module Aws::MTurk
2071
2125
  class Locale < Struct.new(
2072
2126
  :country,
2073
2127
  :subdivision)
2128
+ SENSITIVE = []
2074
2129
  include Aws::Structure
2075
2130
  end
2076
2131
 
@@ -2124,6 +2179,7 @@ module Aws::MTurk
2124
2179
  :transport,
2125
2180
  :version,
2126
2181
  :event_types)
2182
+ SENSITIVE = []
2127
2183
  include Aws::Structure
2128
2184
  end
2129
2185
 
@@ -2148,6 +2204,7 @@ module Aws::MTurk
2148
2204
  :notify_workers_failure_code,
2149
2205
  :notify_workers_failure_message,
2150
2206
  :worker_id)
2207
+ SENSITIVE = []
2151
2208
  include Aws::Structure
2152
2209
  end
2153
2210
 
@@ -2181,6 +2238,7 @@ module Aws::MTurk
2181
2238
  :subject,
2182
2239
  :message_text,
2183
2240
  :worker_ids)
2241
+ SENSITIVE = []
2184
2242
  include Aws::Structure
2185
2243
  end
2186
2244
 
@@ -2194,6 +2252,7 @@ module Aws::MTurk
2194
2252
  #
2195
2253
  class NotifyWorkersResponse < Struct.new(
2196
2254
  :notify_workers_failure_statuses)
2255
+ SENSITIVE = []
2197
2256
  include Aws::Structure
2198
2257
  end
2199
2258
 
@@ -2225,6 +2284,7 @@ module Aws::MTurk
2225
2284
  class ParameterMapEntry < Struct.new(
2226
2285
  :key,
2227
2286
  :values)
2287
+ SENSITIVE = []
2228
2288
  include Aws::Structure
2229
2289
  end
2230
2290
 
@@ -2262,6 +2322,7 @@ module Aws::MTurk
2262
2322
  :key,
2263
2323
  :values,
2264
2324
  :map_entries)
2325
+ SENSITIVE = []
2265
2326
  include Aws::Structure
2266
2327
  end
2267
2328
 
@@ -2307,6 +2368,7 @@ module Aws::MTurk
2307
2368
  :integer_value,
2308
2369
  :locale_value,
2309
2370
  :status)
2371
+ SENSITIVE = []
2310
2372
  include Aws::Structure
2311
2373
  end
2312
2374
 
@@ -2358,6 +2420,7 @@ module Aws::MTurk
2358
2420
  :test,
2359
2421
  :answer,
2360
2422
  :submit_time)
2423
+ SENSITIVE = []
2361
2424
  include Aws::Structure
2362
2425
  end
2363
2426
 
@@ -2469,6 +2532,7 @@ module Aws::MTurk
2469
2532
  :locale_values,
2470
2533
  :required_to_preview,
2471
2534
  :actions_guarded)
2535
+ SENSITIVE = []
2472
2536
  include Aws::Structure
2473
2537
  end
2474
2538
 
@@ -2575,6 +2639,7 @@ module Aws::MTurk
2575
2639
  :is_requestable,
2576
2640
  :auto_granted,
2577
2641
  :auto_granted_value)
2642
+ SENSITIVE = []
2578
2643
  include Aws::Structure
2579
2644
  end
2580
2645
 
@@ -2601,6 +2666,7 @@ module Aws::MTurk
2601
2666
  class RejectAssignmentRequest < Struct.new(
2602
2667
  :assignment_id,
2603
2668
  :requester_feedback)
2669
+ SENSITIVE = []
2604
2670
  include Aws::Structure
2605
2671
  end
2606
2672
 
@@ -2631,6 +2697,7 @@ module Aws::MTurk
2631
2697
  class RejectQualificationRequestRequest < Struct.new(
2632
2698
  :qualification_request_id,
2633
2699
  :reason)
2700
+ SENSITIVE = []
2634
2701
  include Aws::Structure
2635
2702
  end
2636
2703
 
@@ -2651,6 +2718,7 @@ module Aws::MTurk
2651
2718
  class RequestError < Struct.new(
2652
2719
  :message,
2653
2720
  :turk_error_code)
2721
+ SENSITIVE = []
2654
2722
  include Aws::Structure
2655
2723
  end
2656
2724
 
@@ -2705,6 +2773,7 @@ module Aws::MTurk
2705
2773
  :complete_time,
2706
2774
  :result,
2707
2775
  :error_code)
2776
+ SENSITIVE = []
2708
2777
  include Aws::Structure
2709
2778
  end
2710
2779
 
@@ -2744,6 +2813,7 @@ module Aws::MTurk
2744
2813
  class ReviewPolicy < Struct.new(
2745
2814
  :policy_name,
2746
2815
  :parameters)
2816
+ SENSITIVE = []
2747
2817
  include Aws::Structure
2748
2818
  end
2749
2819
 
@@ -2765,6 +2835,7 @@ module Aws::MTurk
2765
2835
  class ReviewReport < Struct.new(
2766
2836
  :review_results,
2767
2837
  :review_actions)
2838
+ SENSITIVE = []
2768
2839
  include Aws::Structure
2769
2840
  end
2770
2841
 
@@ -2813,6 +2884,7 @@ module Aws::MTurk
2813
2884
  :question_id,
2814
2885
  :key,
2815
2886
  :value)
2887
+ SENSITIVE = []
2816
2888
  include Aws::Structure
2817
2889
  end
2818
2890
 
@@ -2864,6 +2936,7 @@ module Aws::MTurk
2864
2936
  :assignment_id,
2865
2937
  :reason,
2866
2938
  :unique_request_token)
2939
+ SENSITIVE = []
2867
2940
  include Aws::Structure
2868
2941
  end
2869
2942
 
@@ -2903,6 +2976,7 @@ module Aws::MTurk
2903
2976
  class SendTestEventNotificationRequest < Struct.new(
2904
2977
  :notification,
2905
2978
  :test_event_type)
2979
+ SENSITIVE = []
2906
2980
  include Aws::Structure
2907
2981
  end
2908
2982
 
@@ -2924,6 +2998,7 @@ module Aws::MTurk
2924
2998
  class ServiceFault < Struct.new(
2925
2999
  :message,
2926
3000
  :turk_error_code)
3001
+ SENSITIVE = []
2927
3002
  include Aws::Structure
2928
3003
  end
2929
3004
 
@@ -2948,6 +3023,7 @@ module Aws::MTurk
2948
3023
  class UpdateExpirationForHITRequest < Struct.new(
2949
3024
  :hit_id,
2950
3025
  :expire_at)
3026
+ SENSITIVE = []
2951
3027
  include Aws::Structure
2952
3028
  end
2953
3029
 
@@ -2982,6 +3058,7 @@ module Aws::MTurk
2982
3058
  class UpdateHITReviewStatusRequest < Struct.new(
2983
3059
  :hit_id,
2984
3060
  :revert)
3061
+ SENSITIVE = []
2985
3062
  include Aws::Structure
2986
3063
  end
2987
3064
 
@@ -3010,6 +3087,7 @@ module Aws::MTurk
3010
3087
  class UpdateHITTypeOfHITRequest < Struct.new(
3011
3088
  :hit_id,
3012
3089
  :hit_type_id)
3090
+ SENSITIVE = []
3013
3091
  include Aws::Structure
3014
3092
  end
3015
3093
 
@@ -3053,6 +3131,7 @@ module Aws::MTurk
3053
3131
  :hit_type_id,
3054
3132
  :notification,
3055
3133
  :active)
3134
+ SENSITIVE = []
3056
3135
  include Aws::Structure
3057
3136
  end
3058
3137
 
@@ -3147,6 +3226,7 @@ module Aws::MTurk
3147
3226
  :retry_delay_in_seconds,
3148
3227
  :auto_granted,
3149
3228
  :auto_granted_value)
3229
+ SENSITIVE = []
3150
3230
  include Aws::Structure
3151
3231
  end
3152
3232
 
@@ -3158,6 +3238,7 @@ module Aws::MTurk
3158
3238
  #
3159
3239
  class UpdateQualificationTypeResponse < Struct.new(
3160
3240
  :qualification_type)
3241
+ SENSITIVE = []
3161
3242
  include Aws::Structure
3162
3243
  end
3163
3244
 
@@ -3178,6 +3259,7 @@ module Aws::MTurk
3178
3259
  class WorkerBlock < Struct.new(
3179
3260
  :worker_id,
3180
3261
  :reason)
3262
+ SENSITIVE = []
3181
3263
  include Aws::Structure
3182
3264
  end
3183
3265
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mturk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.24.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-10-23 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.71.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - Amazon MTurk