aws-sdk-mturk 1.41.0 → 1.42.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 +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-mturk/client.rb +1 -1
- data/lib/aws-sdk-mturk/endpoint_provider.rb +38 -101
- data/lib/aws-sdk-mturk/types.rb +0 -556
- data/lib/aws-sdk-mturk.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fcf4b867ebbcd0b3fc4916299bcaf86d88b1ac9b27b1baabedecb1e7c75d334
|
4
|
+
data.tar.gz: 56909c4c83a636abb87443ca99a48b3dcd1b27494dd95a3a2a868fba24dfa140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c73944f29a3c7296757aa78ff6eceb79b0240ffddd9bcf85c5e6261dc97ef6fe9405f8acf334cee8141117f8c4f36168596834ef714a4fc42129ee4343cb6fec
|
7
|
+
data.tar.gz: d6584da20922f43191a1aad6339f69d71097c482c49da9ed578a4e5dba6061dd1509acc9d866038f51358ffedd41eb33a2770af4b41bd2d849a5e6ef422a90ee
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.41.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -275,4 +282,4 @@ Unreleased Changes
|
|
275
282
|
1.0.0.rc1 (2017-03-07)
|
276
283
|
------------------
|
277
284
|
|
278
|
-
* Feature - Initial release of `aws-sdk-mturk`.
|
285
|
+
* Feature - Initial release of `aws-sdk-mturk`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
data/lib/aws-sdk-mturk/client.rb
CHANGED
@@ -2905,7 +2905,7 @@ module Aws::MTurk
|
|
2905
2905
|
params: params,
|
2906
2906
|
config: config)
|
2907
2907
|
context[:gem_name] = 'aws-sdk-mturk'
|
2908
|
-
context[:gem_version] = '1.
|
2908
|
+
context[:gem_version] = '1.42.0'
|
2909
2909
|
Seahorse::Client::Request.new(handlers, context)
|
2910
2910
|
end
|
2911
2911
|
|
@@ -9,109 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::MTurk
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mturk-requester-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mturk-requester-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mturk-requester.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "sandbox")
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mturk-requester-sandbox.us-east-1.amazonaws.com", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mturk-requester.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
|
43
|
-
UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
|
44
|
-
dXJlZC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10sInR5cGUiOiJ0cmVlIiwicnVs
|
106
|
-
ZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoic3RyaW5nRXF1YWxzIiwiYXJn
|
107
|
-
diI6W3sicmVmIjoiUmVnaW9uIn0sInNhbmRib3giXX1dLCJlbmRwb2ludCI6
|
108
|
-
eyJ1cmwiOiJodHRwczovL210dXJrLXJlcXVlc3Rlci1zYW5kYm94LnVzLWVh
|
109
|
-
c3QtMS5hbWF6b25hd3MuY29tIiwicHJvcGVydGllcyI6e30sImhlYWRlcnMi
|
110
|
-
Ont9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpbXSwiZW5k
|
111
|
-
cG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9tdHVyay1yZXF1ZXN0ZXIue1JlZ2lv
|
112
|
-
bn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6
|
113
|
-
e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
|
114
|
-
|
115
|
-
JSON
|
116
53
|
end
|
117
54
|
end
|
data/lib/aws-sdk-mturk/types.rb
CHANGED
@@ -10,14 +10,6 @@
|
|
10
10
|
module Aws::MTurk
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AcceptQualificationRequestRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# qualification_request_id: "String", # required
|
18
|
-
# integer_value: 1,
|
19
|
-
# }
|
20
|
-
#
|
21
13
|
# @!attribute [rw] qualification_request_id
|
22
14
|
# The ID of the Qualification request, as returned by the
|
23
15
|
# `GetQualificationRequests` operation.
|
@@ -42,15 +34,6 @@ module Aws::MTurk
|
|
42
34
|
#
|
43
35
|
class AcceptQualificationRequestResponse < Aws::EmptyStructure; end
|
44
36
|
|
45
|
-
# @note When making an API call, you may pass ApproveAssignmentRequest
|
46
|
-
# data as a hash:
|
47
|
-
#
|
48
|
-
# {
|
49
|
-
# assignment_id: "EntityId", # required
|
50
|
-
# requester_feedback: "String",
|
51
|
-
# override_rejection: false,
|
52
|
-
# }
|
53
|
-
#
|
54
37
|
# @!attribute [rw] assignment_id
|
55
38
|
# The ID of the assignment. The assignment must correspond to a HIT
|
56
39
|
# created by the Requester.
|
@@ -171,16 +154,6 @@ module Aws::MTurk
|
|
171
154
|
include Aws::Structure
|
172
155
|
end
|
173
156
|
|
174
|
-
# @note When making an API call, you may pass AssociateQualificationWithWorkerRequest
|
175
|
-
# data as a hash:
|
176
|
-
#
|
177
|
-
# {
|
178
|
-
# qualification_type_id: "EntityId", # required
|
179
|
-
# worker_id: "CustomerId", # required
|
180
|
-
# integer_value: 1,
|
181
|
-
# send_notification: false,
|
182
|
-
# }
|
183
|
-
#
|
184
157
|
# @!attribute [rw] qualification_type_id
|
185
158
|
# The ID of the Qualification type to use for the assigned
|
186
159
|
# Qualification.
|
@@ -251,15 +224,6 @@ module Aws::MTurk
|
|
251
224
|
include Aws::Structure
|
252
225
|
end
|
253
226
|
|
254
|
-
# @note When making an API call, you may pass CreateAdditionalAssignmentsForHITRequest
|
255
|
-
# data as a hash:
|
256
|
-
#
|
257
|
-
# {
|
258
|
-
# hit_id: "EntityId", # required
|
259
|
-
# number_of_additional_assignments: 1, # required
|
260
|
-
# unique_request_token: "IdempotencyToken",
|
261
|
-
# }
|
262
|
-
#
|
263
227
|
# @!attribute [rw] hit_id
|
264
228
|
# The ID of the HIT to extend.
|
265
229
|
# @return [String]
|
@@ -292,75 +256,6 @@ module Aws::MTurk
|
|
292
256
|
#
|
293
257
|
class CreateAdditionalAssignmentsForHITResponse < Aws::EmptyStructure; end
|
294
258
|
|
295
|
-
# @note When making an API call, you may pass CreateHITRequest
|
296
|
-
# data as a hash:
|
297
|
-
#
|
298
|
-
# {
|
299
|
-
# max_assignments: 1,
|
300
|
-
# auto_approval_delay_in_seconds: 1,
|
301
|
-
# lifetime_in_seconds: 1, # required
|
302
|
-
# assignment_duration_in_seconds: 1, # required
|
303
|
-
# reward: "CurrencyAmount", # required
|
304
|
-
# title: "String", # required
|
305
|
-
# keywords: "String",
|
306
|
-
# description: "String", # required
|
307
|
-
# question: "String",
|
308
|
-
# requester_annotation: "String",
|
309
|
-
# qualification_requirements: [
|
310
|
-
# {
|
311
|
-
# qualification_type_id: "String", # required
|
312
|
-
# comparator: "LessThan", # required, accepts LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, NotEqualTo, Exists, DoesNotExist, In, NotIn
|
313
|
-
# integer_values: [1],
|
314
|
-
# locale_values: [
|
315
|
-
# {
|
316
|
-
# country: "CountryParameters", # required
|
317
|
-
# subdivision: "CountryParameters",
|
318
|
-
# },
|
319
|
-
# ],
|
320
|
-
# required_to_preview: false,
|
321
|
-
# actions_guarded: "Accept", # accepts Accept, PreviewAndAccept, DiscoverPreviewAndAccept
|
322
|
-
# },
|
323
|
-
# ],
|
324
|
-
# unique_request_token: "IdempotencyToken",
|
325
|
-
# assignment_review_policy: {
|
326
|
-
# policy_name: "String", # required
|
327
|
-
# parameters: [
|
328
|
-
# {
|
329
|
-
# key: "String",
|
330
|
-
# values: ["String"],
|
331
|
-
# map_entries: [
|
332
|
-
# {
|
333
|
-
# key: "String",
|
334
|
-
# values: ["String"],
|
335
|
-
# },
|
336
|
-
# ],
|
337
|
-
# },
|
338
|
-
# ],
|
339
|
-
# },
|
340
|
-
# hit_review_policy: {
|
341
|
-
# policy_name: "String", # required
|
342
|
-
# parameters: [
|
343
|
-
# {
|
344
|
-
# key: "String",
|
345
|
-
# values: ["String"],
|
346
|
-
# map_entries: [
|
347
|
-
# {
|
348
|
-
# key: "String",
|
349
|
-
# values: ["String"],
|
350
|
-
# },
|
351
|
-
# ],
|
352
|
-
# },
|
353
|
-
# ],
|
354
|
-
# },
|
355
|
-
# hit_layout_id: "EntityId",
|
356
|
-
# hit_layout_parameters: [
|
357
|
-
# {
|
358
|
-
# name: "String", # required
|
359
|
-
# value: "String", # required
|
360
|
-
# },
|
361
|
-
# ],
|
362
|
-
# }
|
363
|
-
#
|
364
259
|
# @!attribute [rw] max_assignments
|
365
260
|
# The number of times the HIT can be accepted and completed before the
|
366
261
|
# HIT becomes unavailable.
|
@@ -529,33 +424,6 @@ module Aws::MTurk
|
|
529
424
|
include Aws::Structure
|
530
425
|
end
|
531
426
|
|
532
|
-
# @note When making an API call, you may pass CreateHITTypeRequest
|
533
|
-
# data as a hash:
|
534
|
-
#
|
535
|
-
# {
|
536
|
-
# auto_approval_delay_in_seconds: 1,
|
537
|
-
# assignment_duration_in_seconds: 1, # required
|
538
|
-
# reward: "CurrencyAmount", # required
|
539
|
-
# title: "String", # required
|
540
|
-
# keywords: "String",
|
541
|
-
# description: "String", # required
|
542
|
-
# qualification_requirements: [
|
543
|
-
# {
|
544
|
-
# qualification_type_id: "String", # required
|
545
|
-
# comparator: "LessThan", # required, accepts LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, NotEqualTo, Exists, DoesNotExist, In, NotIn
|
546
|
-
# integer_values: [1],
|
547
|
-
# locale_values: [
|
548
|
-
# {
|
549
|
-
# country: "CountryParameters", # required
|
550
|
-
# subdivision: "CountryParameters",
|
551
|
-
# },
|
552
|
-
# ],
|
553
|
-
# required_to_preview: false,
|
554
|
-
# actions_guarded: "Accept", # accepts Accept, PreviewAndAccept, DiscoverPreviewAndAccept
|
555
|
-
# },
|
556
|
-
# ],
|
557
|
-
# }
|
558
|
-
#
|
559
427
|
# @!attribute [rw] auto_approval_delay_in_seconds
|
560
428
|
# The number of seconds after an assignment for the HIT has been
|
561
429
|
# submitted, after which the assignment is considered Approved
|
@@ -632,55 +500,6 @@ module Aws::MTurk
|
|
632
500
|
include Aws::Structure
|
633
501
|
end
|
634
502
|
|
635
|
-
# @note When making an API call, you may pass CreateHITWithHITTypeRequest
|
636
|
-
# data as a hash:
|
637
|
-
#
|
638
|
-
# {
|
639
|
-
# hit_type_id: "EntityId", # required
|
640
|
-
# max_assignments: 1,
|
641
|
-
# lifetime_in_seconds: 1, # required
|
642
|
-
# question: "String",
|
643
|
-
# requester_annotation: "String",
|
644
|
-
# unique_request_token: "IdempotencyToken",
|
645
|
-
# assignment_review_policy: {
|
646
|
-
# policy_name: "String", # required
|
647
|
-
# parameters: [
|
648
|
-
# {
|
649
|
-
# key: "String",
|
650
|
-
# values: ["String"],
|
651
|
-
# map_entries: [
|
652
|
-
# {
|
653
|
-
# key: "String",
|
654
|
-
# values: ["String"],
|
655
|
-
# },
|
656
|
-
# ],
|
657
|
-
# },
|
658
|
-
# ],
|
659
|
-
# },
|
660
|
-
# hit_review_policy: {
|
661
|
-
# policy_name: "String", # required
|
662
|
-
# parameters: [
|
663
|
-
# {
|
664
|
-
# key: "String",
|
665
|
-
# values: ["String"],
|
666
|
-
# map_entries: [
|
667
|
-
# {
|
668
|
-
# key: "String",
|
669
|
-
# values: ["String"],
|
670
|
-
# },
|
671
|
-
# ],
|
672
|
-
# },
|
673
|
-
# ],
|
674
|
-
# },
|
675
|
-
# hit_layout_id: "EntityId",
|
676
|
-
# hit_layout_parameters: [
|
677
|
-
# {
|
678
|
-
# name: "String", # required
|
679
|
-
# value: "String", # required
|
680
|
-
# },
|
681
|
-
# ],
|
682
|
-
# }
|
683
|
-
#
|
684
503
|
# @!attribute [rw] hit_type_id
|
685
504
|
# The HIT type ID you want to create this HIT with.
|
686
505
|
# @return [String]
|
@@ -797,22 +616,6 @@ module Aws::MTurk
|
|
797
616
|
include Aws::Structure
|
798
617
|
end
|
799
618
|
|
800
|
-
# @note When making an API call, you may pass CreateQualificationTypeRequest
|
801
|
-
# data as a hash:
|
802
|
-
#
|
803
|
-
# {
|
804
|
-
# name: "String", # required
|
805
|
-
# keywords: "String",
|
806
|
-
# description: "String", # required
|
807
|
-
# qualification_type_status: "Active", # required, accepts Active, Inactive
|
808
|
-
# retry_delay_in_seconds: 1,
|
809
|
-
# test: "String",
|
810
|
-
# answer_key: "String",
|
811
|
-
# test_duration_in_seconds: 1,
|
812
|
-
# auto_granted: false,
|
813
|
-
# auto_granted_value: 1,
|
814
|
-
# }
|
815
|
-
#
|
816
619
|
# @!attribute [rw] name
|
817
620
|
# The name you give to the Qualification type. The type name is used
|
818
621
|
# to represent the Qualification to Workers, and to find the type
|
@@ -924,14 +727,6 @@ module Aws::MTurk
|
|
924
727
|
include Aws::Structure
|
925
728
|
end
|
926
729
|
|
927
|
-
# @note When making an API call, you may pass CreateWorkerBlockRequest
|
928
|
-
# data as a hash:
|
929
|
-
#
|
930
|
-
# {
|
931
|
-
# worker_id: "CustomerId", # required
|
932
|
-
# reason: "String", # required
|
933
|
-
# }
|
934
|
-
#
|
935
730
|
# @!attribute [rw] worker_id
|
936
731
|
# The ID of the Worker to block.
|
937
732
|
# @return [String]
|
@@ -955,13 +750,6 @@ module Aws::MTurk
|
|
955
750
|
#
|
956
751
|
class CreateWorkerBlockResponse < Aws::EmptyStructure; end
|
957
752
|
|
958
|
-
# @note When making an API call, you may pass DeleteHITRequest
|
959
|
-
# data as a hash:
|
960
|
-
#
|
961
|
-
# {
|
962
|
-
# hit_id: "EntityId", # required
|
963
|
-
# }
|
964
|
-
#
|
965
753
|
# @!attribute [rw] hit_id
|
966
754
|
# The ID of the HIT to be deleted.
|
967
755
|
# @return [String]
|
@@ -978,13 +766,6 @@ module Aws::MTurk
|
|
978
766
|
#
|
979
767
|
class DeleteHITResponse < Aws::EmptyStructure; end
|
980
768
|
|
981
|
-
# @note When making an API call, you may pass DeleteQualificationTypeRequest
|
982
|
-
# data as a hash:
|
983
|
-
#
|
984
|
-
# {
|
985
|
-
# qualification_type_id: "EntityId", # required
|
986
|
-
# }
|
987
|
-
#
|
988
769
|
# @!attribute [rw] qualification_type_id
|
989
770
|
# The ID of the QualificationType to dispose.
|
990
771
|
# @return [String]
|
@@ -1001,14 +782,6 @@ module Aws::MTurk
|
|
1001
782
|
#
|
1002
783
|
class DeleteQualificationTypeResponse < Aws::EmptyStructure; end
|
1003
784
|
|
1004
|
-
# @note When making an API call, you may pass DeleteWorkerBlockRequest
|
1005
|
-
# data as a hash:
|
1006
|
-
#
|
1007
|
-
# {
|
1008
|
-
# worker_id: "CustomerId", # required
|
1009
|
-
# reason: "String",
|
1010
|
-
# }
|
1011
|
-
#
|
1012
785
|
# @!attribute [rw] worker_id
|
1013
786
|
# The ID of the Worker to unblock.
|
1014
787
|
# @return [String]
|
@@ -1031,15 +804,6 @@ module Aws::MTurk
|
|
1031
804
|
#
|
1032
805
|
class DeleteWorkerBlockResponse < Aws::EmptyStructure; end
|
1033
806
|
|
1034
|
-
# @note When making an API call, you may pass DisassociateQualificationFromWorkerRequest
|
1035
|
-
# data as a hash:
|
1036
|
-
#
|
1037
|
-
# {
|
1038
|
-
# worker_id: "CustomerId", # required
|
1039
|
-
# qualification_type_id: "EntityId", # required
|
1040
|
-
# reason: "String",
|
1041
|
-
# }
|
1042
|
-
#
|
1043
807
|
# @!attribute [rw] worker_id
|
1044
808
|
# The ID of the Worker who possesses the Qualification to be revoked.
|
1045
809
|
# @return [String]
|
@@ -1090,13 +854,6 @@ module Aws::MTurk
|
|
1090
854
|
include Aws::Structure
|
1091
855
|
end
|
1092
856
|
|
1093
|
-
# @note When making an API call, you may pass GetAssignmentRequest
|
1094
|
-
# data as a hash:
|
1095
|
-
#
|
1096
|
-
# {
|
1097
|
-
# assignment_id: "EntityId", # required
|
1098
|
-
# }
|
1099
|
-
#
|
1100
857
|
# @!attribute [rw] assignment_id
|
1101
858
|
# The ID of the Assignment to be retrieved.
|
1102
859
|
# @return [String]
|
@@ -1127,14 +884,6 @@ module Aws::MTurk
|
|
1127
884
|
include Aws::Structure
|
1128
885
|
end
|
1129
886
|
|
1130
|
-
# @note When making an API call, you may pass GetFileUploadURLRequest
|
1131
|
-
# data as a hash:
|
1132
|
-
#
|
1133
|
-
# {
|
1134
|
-
# assignment_id: "EntityId", # required
|
1135
|
-
# question_identifier: "String", # required
|
1136
|
-
# }
|
1137
|
-
#
|
1138
887
|
# @!attribute [rw] assignment_id
|
1139
888
|
# The ID of the assignment that contains the question with a
|
1140
889
|
# FileUploadAnswer.
|
@@ -1167,13 +916,6 @@ module Aws::MTurk
|
|
1167
916
|
include Aws::Structure
|
1168
917
|
end
|
1169
918
|
|
1170
|
-
# @note When making an API call, you may pass GetHITRequest
|
1171
|
-
# data as a hash:
|
1172
|
-
#
|
1173
|
-
# {
|
1174
|
-
# hit_id: "EntityId", # required
|
1175
|
-
# }
|
1176
|
-
#
|
1177
919
|
# @!attribute [rw] hit_id
|
1178
920
|
# The ID of the HIT to be retrieved.
|
1179
921
|
# @return [String]
|
@@ -1198,14 +940,6 @@ module Aws::MTurk
|
|
1198
940
|
include Aws::Structure
|
1199
941
|
end
|
1200
942
|
|
1201
|
-
# @note When making an API call, you may pass GetQualificationScoreRequest
|
1202
|
-
# data as a hash:
|
1203
|
-
#
|
1204
|
-
# {
|
1205
|
-
# qualification_type_id: "EntityId", # required
|
1206
|
-
# worker_id: "CustomerId", # required
|
1207
|
-
# }
|
1208
|
-
#
|
1209
943
|
# @!attribute [rw] qualification_type_id
|
1210
944
|
# The ID of the QualificationType.
|
1211
945
|
# @return [String]
|
@@ -1236,13 +970,6 @@ module Aws::MTurk
|
|
1236
970
|
include Aws::Structure
|
1237
971
|
end
|
1238
972
|
|
1239
|
-
# @note When making an API call, you may pass GetQualificationTypeRequest
|
1240
|
-
# data as a hash:
|
1241
|
-
#
|
1242
|
-
# {
|
1243
|
-
# qualification_type_id: "EntityId", # required
|
1244
|
-
# }
|
1245
|
-
#
|
1246
973
|
# @!attribute [rw] qualification_type_id
|
1247
974
|
# The ID of the QualificationType.
|
1248
975
|
# @return [String]
|
@@ -1409,14 +1136,6 @@ module Aws::MTurk
|
|
1409
1136
|
# project template used to provide Human Intelligence Task (HIT)
|
1410
1137
|
# question data for CreateHIT.
|
1411
1138
|
#
|
1412
|
-
# @note When making an API call, you may pass HITLayoutParameter
|
1413
|
-
# data as a hash:
|
1414
|
-
#
|
1415
|
-
# {
|
1416
|
-
# name: "String", # required
|
1417
|
-
# value: "String", # required
|
1418
|
-
# }
|
1419
|
-
#
|
1420
1139
|
# @!attribute [rw] name
|
1421
1140
|
# The name of the parameter in the HITLayout.
|
1422
1141
|
# @return [String]
|
@@ -1434,16 +1153,6 @@ module Aws::MTurk
|
|
1434
1153
|
include Aws::Structure
|
1435
1154
|
end
|
1436
1155
|
|
1437
|
-
# @note When making an API call, you may pass ListAssignmentsForHITRequest
|
1438
|
-
# data as a hash:
|
1439
|
-
#
|
1440
|
-
# {
|
1441
|
-
# hit_id: "EntityId", # required
|
1442
|
-
# next_token: "PaginationToken",
|
1443
|
-
# max_results: 1,
|
1444
|
-
# assignment_statuses: ["Submitted"], # accepts Submitted, Approved, Rejected
|
1445
|
-
# }
|
1446
|
-
#
|
1447
1156
|
# @!attribute [rw] hit_id
|
1448
1157
|
# The ID of the HIT.
|
1449
1158
|
# @return [String]
|
@@ -1497,16 +1206,6 @@ module Aws::MTurk
|
|
1497
1206
|
include Aws::Structure
|
1498
1207
|
end
|
1499
1208
|
|
1500
|
-
# @note When making an API call, you may pass ListBonusPaymentsRequest
|
1501
|
-
# data as a hash:
|
1502
|
-
#
|
1503
|
-
# {
|
1504
|
-
# hit_id: "EntityId",
|
1505
|
-
# assignment_id: "EntityId",
|
1506
|
-
# next_token: "PaginationToken",
|
1507
|
-
# max_results: 1,
|
1508
|
-
# }
|
1509
|
-
#
|
1510
1209
|
# @!attribute [rw] hit_id
|
1511
1210
|
# The ID of the HIT associated with the bonus payments to retrieve. If
|
1512
1211
|
# not specified, all bonus payments for all assignments for the given
|
@@ -1567,15 +1266,6 @@ module Aws::MTurk
|
|
1567
1266
|
include Aws::Structure
|
1568
1267
|
end
|
1569
1268
|
|
1570
|
-
# @note When making an API call, you may pass ListHITsForQualificationTypeRequest
|
1571
|
-
# data as a hash:
|
1572
|
-
#
|
1573
|
-
# {
|
1574
|
-
# qualification_type_id: "EntityId", # required
|
1575
|
-
# next_token: "PaginationToken",
|
1576
|
-
# max_results: 1,
|
1577
|
-
# }
|
1578
|
-
#
|
1579
1269
|
# @!attribute [rw] qualification_type_id
|
1580
1270
|
# The ID of the Qualification type to use when querying HITs.
|
1581
1271
|
# @return [String]
|
@@ -1624,14 +1314,6 @@ module Aws::MTurk
|
|
1624
1314
|
include Aws::Structure
|
1625
1315
|
end
|
1626
1316
|
|
1627
|
-
# @note When making an API call, you may pass ListHITsRequest
|
1628
|
-
# data as a hash:
|
1629
|
-
#
|
1630
|
-
# {
|
1631
|
-
# next_token: "PaginationToken",
|
1632
|
-
# max_results: 1,
|
1633
|
-
# }
|
1634
|
-
#
|
1635
1317
|
# @!attribute [rw] next_token
|
1636
1318
|
# Pagination token
|
1637
1319
|
# @return [String]
|
@@ -1674,15 +1356,6 @@ module Aws::MTurk
|
|
1674
1356
|
include Aws::Structure
|
1675
1357
|
end
|
1676
1358
|
|
1677
|
-
# @note When making an API call, you may pass ListQualificationRequestsRequest
|
1678
|
-
# data as a hash:
|
1679
|
-
#
|
1680
|
-
# {
|
1681
|
-
# qualification_type_id: "EntityId",
|
1682
|
-
# next_token: "PaginationToken",
|
1683
|
-
# max_results: 1,
|
1684
|
-
# }
|
1685
|
-
#
|
1686
1359
|
# @!attribute [rw] qualification_type_id
|
1687
1360
|
# The ID of the QualificationType.
|
1688
1361
|
# @return [String]
|
@@ -1737,17 +1410,6 @@ module Aws::MTurk
|
|
1737
1410
|
include Aws::Structure
|
1738
1411
|
end
|
1739
1412
|
|
1740
|
-
# @note When making an API call, you may pass ListQualificationTypesRequest
|
1741
|
-
# data as a hash:
|
1742
|
-
#
|
1743
|
-
# {
|
1744
|
-
# query: "String",
|
1745
|
-
# must_be_requestable: false, # required
|
1746
|
-
# must_be_owned_by_caller: false,
|
1747
|
-
# next_token: "PaginationToken",
|
1748
|
-
# max_results: 1,
|
1749
|
-
# }
|
1750
|
-
#
|
1751
1413
|
# @!attribute [rw] query
|
1752
1414
|
# A text query against all of the searchable attributes of
|
1753
1415
|
# Qualification types.
|
@@ -1819,18 +1481,6 @@ module Aws::MTurk
|
|
1819
1481
|
include Aws::Structure
|
1820
1482
|
end
|
1821
1483
|
|
1822
|
-
# @note When making an API call, you may pass ListReviewPolicyResultsForHITRequest
|
1823
|
-
# data as a hash:
|
1824
|
-
#
|
1825
|
-
# {
|
1826
|
-
# hit_id: "EntityId", # required
|
1827
|
-
# policy_levels: ["Assignment"], # accepts Assignment, HIT
|
1828
|
-
# retrieve_actions: false,
|
1829
|
-
# retrieve_results: false,
|
1830
|
-
# next_token: "PaginationToken",
|
1831
|
-
# max_results: 1,
|
1832
|
-
# }
|
1833
|
-
#
|
1834
1484
|
# @!attribute [rw] hit_id
|
1835
1485
|
# The unique identifier of the HIT to retrieve review results for.
|
1836
1486
|
# @return [String]
|
@@ -1917,16 +1567,6 @@ module Aws::MTurk
|
|
1917
1567
|
include Aws::Structure
|
1918
1568
|
end
|
1919
1569
|
|
1920
|
-
# @note When making an API call, you may pass ListReviewableHITsRequest
|
1921
|
-
# data as a hash:
|
1922
|
-
#
|
1923
|
-
# {
|
1924
|
-
# hit_type_id: "EntityId",
|
1925
|
-
# status: "Reviewable", # accepts Reviewable, Reviewing
|
1926
|
-
# next_token: "PaginationToken",
|
1927
|
-
# max_results: 1,
|
1928
|
-
# }
|
1929
|
-
#
|
1930
1570
|
# @!attribute [rw] hit_type_id
|
1931
1571
|
# The ID of the HIT type of the HITs to consider for the query. If not
|
1932
1572
|
# specified, all HITs for the Reviewer are considered
|
@@ -1982,14 +1622,6 @@ module Aws::MTurk
|
|
1982
1622
|
include Aws::Structure
|
1983
1623
|
end
|
1984
1624
|
|
1985
|
-
# @note When making an API call, you may pass ListWorkerBlocksRequest
|
1986
|
-
# data as a hash:
|
1987
|
-
#
|
1988
|
-
# {
|
1989
|
-
# next_token: "PaginationToken",
|
1990
|
-
# max_results: 1,
|
1991
|
-
# }
|
1992
|
-
#
|
1993
1625
|
# @!attribute [rw] next_token
|
1994
1626
|
# Pagination token
|
1995
1627
|
# @return [String]
|
@@ -2033,16 +1665,6 @@ module Aws::MTurk
|
|
2033
1665
|
include Aws::Structure
|
2034
1666
|
end
|
2035
1667
|
|
2036
|
-
# @note When making an API call, you may pass ListWorkersWithQualificationTypeRequest
|
2037
|
-
# data as a hash:
|
2038
|
-
#
|
2039
|
-
# {
|
2040
|
-
# qualification_type_id: "EntityId", # required
|
2041
|
-
# status: "Granted", # accepts Granted, Revoked
|
2042
|
-
# next_token: "PaginationToken",
|
2043
|
-
# max_results: 1,
|
2044
|
-
# }
|
2045
|
-
#
|
2046
1668
|
# @!attribute [rw] qualification_type_id
|
2047
1669
|
# The ID of the Qualification type of the Qualifications to return.
|
2048
1670
|
# @return [String]
|
@@ -2101,14 +1723,6 @@ module Aws::MTurk
|
|
2101
1723
|
# The Locale data structure represents a geographical region or
|
2102
1724
|
# location.
|
2103
1725
|
#
|
2104
|
-
# @note When making an API call, you may pass Locale
|
2105
|
-
# data as a hash:
|
2106
|
-
#
|
2107
|
-
# {
|
2108
|
-
# country: "CountryParameters", # required
|
2109
|
-
# subdivision: "CountryParameters",
|
2110
|
-
# }
|
2111
|
-
#
|
2112
1726
|
# @!attribute [rw] country
|
2113
1727
|
# The country of the locale. Must be a valid ISO 3166 country code.
|
2114
1728
|
# For example, the code US refers to the United States of America.
|
@@ -2132,16 +1746,6 @@ module Aws::MTurk
|
|
2132
1746
|
# The NotificationSpecification data structure describes a HIT event
|
2133
1747
|
# notification for a HIT type.
|
2134
1748
|
#
|
2135
|
-
# @note When making an API call, you may pass NotificationSpecification
|
2136
|
-
# data as a hash:
|
2137
|
-
#
|
2138
|
-
# {
|
2139
|
-
# destination: "String", # required
|
2140
|
-
# transport: "Email", # required, accepts Email, SQS, SNS
|
2141
|
-
# version: "String", # required
|
2142
|
-
# event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
|
2143
|
-
# }
|
2144
|
-
#
|
2145
1749
|
# @!attribute [rw] destination
|
2146
1750
|
# The target for notification messages. The Destination’s format is
|
2147
1751
|
# determined by the specified Transport:
|
@@ -2208,15 +1812,6 @@ module Aws::MTurk
|
|
2208
1812
|
include Aws::Structure
|
2209
1813
|
end
|
2210
1814
|
|
2211
|
-
# @note When making an API call, you may pass NotifyWorkersRequest
|
2212
|
-
# data as a hash:
|
2213
|
-
#
|
2214
|
-
# {
|
2215
|
-
# subject: "String", # required
|
2216
|
-
# message_text: "String", # required
|
2217
|
-
# worker_ids: ["CustomerId"], # required
|
2218
|
-
# }
|
2219
|
-
#
|
2220
1815
|
# @!attribute [rw] subject
|
2221
1816
|
# The subject line of the email message to send. Can include up to 200
|
2222
1817
|
# characters.
|
@@ -2259,14 +1854,6 @@ module Aws::MTurk
|
|
2259
1854
|
# This data structure is the data type for the AnswerKey parameter of
|
2260
1855
|
# the ScoreMyKnownAnswers/2011-09-01 Review Policy.
|
2261
1856
|
#
|
2262
|
-
# @note When making an API call, you may pass ParameterMapEntry
|
2263
|
-
# data as a hash:
|
2264
|
-
#
|
2265
|
-
# {
|
2266
|
-
# key: "String",
|
2267
|
-
# values: ["String"],
|
2268
|
-
# }
|
2269
|
-
#
|
2270
1857
|
# @!attribute [rw] key
|
2271
1858
|
# The QuestionID from the HIT that is used to identify which question
|
2272
1859
|
# requires Mechanical Turk to score as part of the
|
@@ -2290,20 +1877,6 @@ module Aws::MTurk
|
|
2290
1877
|
|
2291
1878
|
# Name of the parameter from the Review policy.
|
2292
1879
|
#
|
2293
|
-
# @note When making an API call, you may pass PolicyParameter
|
2294
|
-
# data as a hash:
|
2295
|
-
#
|
2296
|
-
# {
|
2297
|
-
# key: "String",
|
2298
|
-
# values: ["String"],
|
2299
|
-
# map_entries: [
|
2300
|
-
# {
|
2301
|
-
# key: "String",
|
2302
|
-
# values: ["String"],
|
2303
|
-
# },
|
2304
|
-
# ],
|
2305
|
-
# }
|
2306
|
-
#
|
2307
1880
|
# @!attribute [rw] key
|
2308
1881
|
# Name of the parameter from the list of Review Polices.
|
2309
1882
|
# @return [String]
|
@@ -2430,23 +2003,6 @@ module Aws::MTurk
|
|
2430
2003
|
# Qualification in order to preview the HIT, or see the HIT in search
|
2431
2004
|
# results.
|
2432
2005
|
#
|
2433
|
-
# @note When making an API call, you may pass QualificationRequirement
|
2434
|
-
# data as a hash:
|
2435
|
-
#
|
2436
|
-
# {
|
2437
|
-
# qualification_type_id: "String", # required
|
2438
|
-
# comparator: "LessThan", # required, accepts LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, NotEqualTo, Exists, DoesNotExist, In, NotIn
|
2439
|
-
# integer_values: [1],
|
2440
|
-
# locale_values: [
|
2441
|
-
# {
|
2442
|
-
# country: "CountryParameters", # required
|
2443
|
-
# subdivision: "CountryParameters",
|
2444
|
-
# },
|
2445
|
-
# ],
|
2446
|
-
# required_to_preview: false,
|
2447
|
-
# actions_guarded: "Accept", # accepts Accept, PreviewAndAccept, DiscoverPreviewAndAccept
|
2448
|
-
# }
|
2449
|
-
#
|
2450
2006
|
# @!attribute [rw] qualification_type_id
|
2451
2007
|
# The ID of the Qualification type for the requirement.
|
2452
2008
|
# @return [String]
|
@@ -2643,14 +2199,6 @@ module Aws::MTurk
|
|
2643
2199
|
include Aws::Structure
|
2644
2200
|
end
|
2645
2201
|
|
2646
|
-
# @note When making an API call, you may pass RejectAssignmentRequest
|
2647
|
-
# data as a hash:
|
2648
|
-
#
|
2649
|
-
# {
|
2650
|
-
# assignment_id: "EntityId", # required
|
2651
|
-
# requester_feedback: "String", # required
|
2652
|
-
# }
|
2653
|
-
#
|
2654
2202
|
# @!attribute [rw] assignment_id
|
2655
2203
|
# The ID of the assignment. The assignment must correspond to a HIT
|
2656
2204
|
# created by the Requester.
|
@@ -2674,14 +2222,6 @@ module Aws::MTurk
|
|
2674
2222
|
#
|
2675
2223
|
class RejectAssignmentResponse < Aws::EmptyStructure; end
|
2676
2224
|
|
2677
|
-
# @note When making an API call, you may pass RejectQualificationRequestRequest
|
2678
|
-
# data as a hash:
|
2679
|
-
#
|
2680
|
-
# {
|
2681
|
-
# qualification_request_id: "String", # required
|
2682
|
-
# reason: "String",
|
2683
|
-
# }
|
2684
|
-
#
|
2685
2225
|
# @!attribute [rw] qualification_request_id
|
2686
2226
|
# The ID of the Qualification request, as returned by the
|
2687
2227
|
# `ListQualificationRequests` operation.
|
@@ -2780,25 +2320,6 @@ module Aws::MTurk
|
|
2780
2320
|
# HIT Review Policy data structures represent HIT review policies, which
|
2781
2321
|
# you specify when you create a HIT.
|
2782
2322
|
#
|
2783
|
-
# @note When making an API call, you may pass ReviewPolicy
|
2784
|
-
# data as a hash:
|
2785
|
-
#
|
2786
|
-
# {
|
2787
|
-
# policy_name: "String", # required
|
2788
|
-
# parameters: [
|
2789
|
-
# {
|
2790
|
-
# key: "String",
|
2791
|
-
# values: ["String"],
|
2792
|
-
# map_entries: [
|
2793
|
-
# {
|
2794
|
-
# key: "String",
|
2795
|
-
# values: ["String"],
|
2796
|
-
# },
|
2797
|
-
# ],
|
2798
|
-
# },
|
2799
|
-
# ],
|
2800
|
-
# }
|
2801
|
-
#
|
2802
2323
|
# @!attribute [rw] policy_name
|
2803
2324
|
# Name of a Review Policy: SimplePlurality/2011-09-01 or
|
2804
2325
|
# ScoreMyKnownAnswers/2011-09-01
|
@@ -2888,17 +2409,6 @@ module Aws::MTurk
|
|
2888
2409
|
include Aws::Structure
|
2889
2410
|
end
|
2890
2411
|
|
2891
|
-
# @note When making an API call, you may pass SendBonusRequest
|
2892
|
-
# data as a hash:
|
2893
|
-
#
|
2894
|
-
# {
|
2895
|
-
# worker_id: "CustomerId", # required
|
2896
|
-
# bonus_amount: "CurrencyAmount", # required
|
2897
|
-
# assignment_id: "EntityId", # required
|
2898
|
-
# reason: "String", # required
|
2899
|
-
# unique_request_token: "IdempotencyToken",
|
2900
|
-
# }
|
2901
|
-
#
|
2902
2412
|
# @!attribute [rw] worker_id
|
2903
2413
|
# The ID of the Worker being paid the bonus.
|
2904
2414
|
# @return [String]
|
@@ -2944,19 +2454,6 @@ module Aws::MTurk
|
|
2944
2454
|
#
|
2945
2455
|
class SendBonusResponse < Aws::EmptyStructure; end
|
2946
2456
|
|
2947
|
-
# @note When making an API call, you may pass SendTestEventNotificationRequest
|
2948
|
-
# data as a hash:
|
2949
|
-
#
|
2950
|
-
# {
|
2951
|
-
# notification: { # required
|
2952
|
-
# destination: "String", # required
|
2953
|
-
# transport: "Email", # required, accepts Email, SQS, SNS
|
2954
|
-
# version: "String", # required
|
2955
|
-
# event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
|
2956
|
-
# },
|
2957
|
-
# test_event_type: "AssignmentAccepted", # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
|
2958
|
-
# }
|
2959
|
-
#
|
2960
2457
|
# @!attribute [rw] notification
|
2961
2458
|
# The notification specification to test. This value is identical to
|
2962
2459
|
# the value you would provide to the UpdateNotificationSettings
|
@@ -3002,14 +2499,6 @@ module Aws::MTurk
|
|
3002
2499
|
include Aws::Structure
|
3003
2500
|
end
|
3004
2501
|
|
3005
|
-
# @note When making an API call, you may pass UpdateExpirationForHITRequest
|
3006
|
-
# data as a hash:
|
3007
|
-
#
|
3008
|
-
# {
|
3009
|
-
# hit_id: "EntityId", # required
|
3010
|
-
# expire_at: Time.now, # required
|
3011
|
-
# }
|
3012
|
-
#
|
3013
2502
|
# @!attribute [rw] hit_id
|
3014
2503
|
# The HIT to update.
|
3015
2504
|
# @return [String]
|
@@ -3031,14 +2520,6 @@ module Aws::MTurk
|
|
3031
2520
|
#
|
3032
2521
|
class UpdateExpirationForHITResponse < Aws::EmptyStructure; end
|
3033
2522
|
|
3034
|
-
# @note When making an API call, you may pass UpdateHITReviewStatusRequest
|
3035
|
-
# data as a hash:
|
3036
|
-
#
|
3037
|
-
# {
|
3038
|
-
# hit_id: "EntityId", # required
|
3039
|
-
# revert: false,
|
3040
|
-
# }
|
3041
|
-
#
|
3042
2523
|
# @!attribute [rw] hit_id
|
3043
2524
|
# The ID of the HIT to update.
|
3044
2525
|
# @return [String]
|
@@ -3066,14 +2547,6 @@ module Aws::MTurk
|
|
3066
2547
|
#
|
3067
2548
|
class UpdateHITReviewStatusResponse < Aws::EmptyStructure; end
|
3068
2549
|
|
3069
|
-
# @note When making an API call, you may pass UpdateHITTypeOfHITRequest
|
3070
|
-
# data as a hash:
|
3071
|
-
#
|
3072
|
-
# {
|
3073
|
-
# hit_id: "EntityId", # required
|
3074
|
-
# hit_type_id: "EntityId", # required
|
3075
|
-
# }
|
3076
|
-
#
|
3077
2550
|
# @!attribute [rw] hit_id
|
3078
2551
|
# The HIT to update.
|
3079
2552
|
# @return [String]
|
@@ -3095,20 +2568,6 @@ module Aws::MTurk
|
|
3095
2568
|
#
|
3096
2569
|
class UpdateHITTypeOfHITResponse < Aws::EmptyStructure; end
|
3097
2570
|
|
3098
|
-
# @note When making an API call, you may pass UpdateNotificationSettingsRequest
|
3099
|
-
# data as a hash:
|
3100
|
-
#
|
3101
|
-
# {
|
3102
|
-
# hit_type_id: "EntityId", # required
|
3103
|
-
# notification: {
|
3104
|
-
# destination: "String", # required
|
3105
|
-
# transport: "Email", # required, accepts Email, SQS, SNS
|
3106
|
-
# version: "String", # required
|
3107
|
-
# event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
|
3108
|
-
# },
|
3109
|
-
# active: false,
|
3110
|
-
# }
|
3111
|
-
#
|
3112
2571
|
# @!attribute [rw] hit_type_id
|
3113
2572
|
# The ID of the HIT type whose notification specification is being
|
3114
2573
|
# updated.
|
@@ -3139,21 +2598,6 @@ module Aws::MTurk
|
|
3139
2598
|
#
|
3140
2599
|
class UpdateNotificationSettingsResponse < Aws::EmptyStructure; end
|
3141
2600
|
|
3142
|
-
# @note When making an API call, you may pass UpdateQualificationTypeRequest
|
3143
|
-
# data as a hash:
|
3144
|
-
#
|
3145
|
-
# {
|
3146
|
-
# qualification_type_id: "EntityId", # required
|
3147
|
-
# description: "String",
|
3148
|
-
# qualification_type_status: "Active", # accepts Active, Inactive
|
3149
|
-
# test: "String",
|
3150
|
-
# answer_key: "String",
|
3151
|
-
# test_duration_in_seconds: 1,
|
3152
|
-
# retry_delay_in_seconds: 1,
|
3153
|
-
# auto_granted: false,
|
3154
|
-
# auto_granted_value: 1,
|
3155
|
-
# }
|
3156
|
-
#
|
3157
2601
|
# @!attribute [rw] qualification_type_id
|
3158
2602
|
# The ID of the Qualification type to update.
|
3159
2603
|
# @return [String]
|
data/lib/aws-sdk-mturk.rb
CHANGED
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.
|
4
|
+
version: 1.42.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|