aws-sdk-mturk 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8cfd37ca290dbf5445cc47ff78d24fcef4398c8
4
- data.tar.gz: 89b6840c60b1861a61f90fca0ff7519cae454d81
3
+ metadata.gz: 0bad7f959e22368b68c1bfd51da0d28cc0415f17
4
+ data.tar.gz: d6218eab787c46a2b343227a77ca809cf0ec2532
5
5
  SHA512:
6
- metadata.gz: 700a546aa0c0b20953154c8aa1ff68ddd1a88cf59a5156ed9cabb35cc3c27c57a0a404493fa47d60f37fa760a6312ea1f132b49502c7fcf44834dcc1d0864541
7
- data.tar.gz: e2e389b2378bc66136a6d0cf3fa24f8e490b80c9ff52ed75ee8c217b7f39c6e69154f63c247f114e108a4cb9fea356f57e0e1d0c0cd017455c16d43549f3ebc2
6
+ metadata.gz: f75c5bc37bec195bca9c2b8b89f00c41da7109d1d1aafdb18c0ba7140e9811b279f162aa308e4d363535a9cabd791fdda35559b26fb579cb8d496da8a90a40b2
7
+ data.tar.gz: e50feebbe9a94af2279396cd56e9b545e4bdb959e82a23dff67c5505deee122fd52047be9a1930f8c0cb5cac678cda1e502a0a1c873f826735b25a669c75f87f
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mturk/customizations'
42
42
  # @service
43
43
  module Aws::MTurk
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -322,7 +322,7 @@ module Aws::MTurk
322
322
  # @option params [required, String] :hit_id
323
323
  # The ID of the HIT to extend.
324
324
  #
325
- # @option params [Integer] :number_of_additional_assignments
325
+ # @option params [required, Integer] :number_of_additional_assignments
326
326
  # The number of additional assignments to request for this HIT.
327
327
  #
328
328
  # @option params [String] :unique_request_token
@@ -340,7 +340,7 @@ module Aws::MTurk
340
340
  #
341
341
  # resp = client.create_additional_assignments_for_hit({
342
342
  # hit_id: "EntityId", # required
343
- # number_of_additional_assignments: 1,
343
+ # number_of_additional_assignments: 1, # required
344
344
  # unique_request_token: "IdempotencyToken",
345
345
  # })
346
346
  #
@@ -506,7 +506,7 @@ module Aws::MTurk
506
506
  # auto_approval_delay_in_seconds: 1,
507
507
  # lifetime_in_seconds: 1, # required
508
508
  # assignment_duration_in_seconds: 1, # required
509
- # reward: "NumericValue", # required
509
+ # reward: "CurrencyAmount", # required
510
510
  # title: "String", # required
511
511
  # keywords: "String",
512
512
  # description: "String", # required
@@ -528,7 +528,7 @@ module Aws::MTurk
528
528
  # ],
529
529
  # unique_request_token: "IdempotencyToken",
530
530
  # assignment_review_policy: {
531
- # policy_name: "String",
531
+ # policy_name: "String", # required
532
532
  # parameters: [
533
533
  # {
534
534
  # key: "String",
@@ -543,7 +543,7 @@ module Aws::MTurk
543
543
  # ],
544
544
  # },
545
545
  # hit_review_policy: {
546
- # policy_name: "String",
546
+ # policy_name: "String", # required
547
547
  # parameters: [
548
548
  # {
549
549
  # key: "String",
@@ -560,8 +560,8 @@ module Aws::MTurk
560
560
  # hit_layout_id: "EntityId",
561
561
  # hit_layout_parameters: [
562
562
  # {
563
- # name: "String",
564
- # value: "String",
563
+ # name: "String", # required
564
+ # value: "String", # required
565
565
  # },
566
566
  # ],
567
567
  # })
@@ -660,7 +660,7 @@ module Aws::MTurk
660
660
  # resp = client.create_hit_type({
661
661
  # auto_approval_delay_in_seconds: 1,
662
662
  # assignment_duration_in_seconds: 1, # required
663
- # reward: "NumericValue", # required
663
+ # reward: "CurrencyAmount", # required
664
664
  # title: "String", # required
665
665
  # keywords: "String",
666
666
  # description: "String", # required
@@ -805,7 +805,7 @@ module Aws::MTurk
805
805
  # requester_annotation: "String",
806
806
  # unique_request_token: "IdempotencyToken",
807
807
  # assignment_review_policy: {
808
- # policy_name: "String",
808
+ # policy_name: "String", # required
809
809
  # parameters: [
810
810
  # {
811
811
  # key: "String",
@@ -820,7 +820,7 @@ module Aws::MTurk
820
820
  # ],
821
821
  # },
822
822
  # hit_review_policy: {
823
- # policy_name: "String",
823
+ # policy_name: "String", # required
824
824
  # parameters: [
825
825
  # {
826
826
  # key: "String",
@@ -837,8 +837,8 @@ module Aws::MTurk
837
837
  # hit_layout_id: "EntityId",
838
838
  # hit_layout_parameters: [
839
839
  # {
840
- # name: "String",
841
- # value: "String",
840
+ # name: "String", # required
841
+ # value: "String", # required
842
842
  # },
843
843
  # ],
844
844
  # })
@@ -2199,7 +2199,7 @@ module Aws::MTurk
2199
2199
  # The ID of the assignment. The assignment must correspond to a HIT
2200
2200
  # created by the Requester.
2201
2201
  #
2202
- # @option params [String] :requester_feedback
2202
+ # @option params [required, String] :requester_feedback
2203
2203
  # A message for the Worker, which the Worker can see in the Status
2204
2204
  # section of the web site.
2205
2205
  #
@@ -2209,7 +2209,7 @@ module Aws::MTurk
2209
2209
  #
2210
2210
  # resp = client.reject_assignment({
2211
2211
  # assignment_id: "EntityId", # required
2212
- # requester_feedback: "String",
2212
+ # requester_feedback: "String", # required
2213
2213
  # })
2214
2214
  #
2215
2215
  # @see http://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectAssignment AWS API Documentation
@@ -2275,7 +2275,7 @@ module Aws::MTurk
2275
2275
  # @option params [required, String] :assignment_id
2276
2276
  # The ID of the assignment for which this bonus is paid.
2277
2277
  #
2278
- # @option params [String] :reason
2278
+ # @option params [required, String] :reason
2279
2279
  # A message that explains the reason for the bonus payment. The Worker
2280
2280
  # receiving the bonus can see this message.
2281
2281
  #
@@ -2294,9 +2294,9 @@ module Aws::MTurk
2294
2294
  #
2295
2295
  # resp = client.send_bonus({
2296
2296
  # worker_id: "CustomerId", # required
2297
- # bonus_amount: "NumericValue", # required
2297
+ # bonus_amount: "CurrencyAmount", # required
2298
2298
  # assignment_id: "EntityId", # required
2299
- # reason: "String",
2299
+ # reason: "String", # required
2300
2300
  # unique_request_token: "IdempotencyToken",
2301
2301
  # })
2302
2302
  #
@@ -2335,9 +2335,9 @@ module Aws::MTurk
2335
2335
  # resp = client.send_test_event_notification({
2336
2336
  # notification: { # required
2337
2337
  # destination: "String", # required
2338
- # transport: "Email", # required, accepts Email, SQS
2339
- # version: "String",
2340
- # event_types: ["AssignmentAccepted"], # accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2338
+ # transport: "Email", # required, accepts Email, SQS, SNS
2339
+ # version: "String", # required
2340
+ # event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2341
2341
  # },
2342
2342
  # test_event_type: "AssignmentAccepted", # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2343
2343
  # })
@@ -2358,7 +2358,7 @@ module Aws::MTurk
2358
2358
  # @option params [required, String] :hit_id
2359
2359
  # The HIT to update.
2360
2360
  #
2361
- # @option params [Time,DateTime,Date,Integer,String] :expire_at
2361
+ # @option params [required, Time,DateTime,Date,Integer,String] :expire_at
2362
2362
  # The date and time at which you want the HIT to expire
2363
2363
  #
2364
2364
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -2367,7 +2367,7 @@ module Aws::MTurk
2367
2367
  #
2368
2368
  # resp = client.update_expiration_for_hit({
2369
2369
  # hit_id: "EntityId", # required
2370
- # expire_at: Time.now,
2370
+ # expire_at: Time.now, # required
2371
2371
  # })
2372
2372
  #
2373
2373
  # @see http://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateExpirationForHIT AWS API Documentation
@@ -2478,9 +2478,9 @@ module Aws::MTurk
2478
2478
  # hit_type_id: "EntityId", # required
2479
2479
  # notification: {
2480
2480
  # destination: "String", # required
2481
- # transport: "Email", # required, accepts Email, SQS
2482
- # version: "String",
2483
- # event_types: ["AssignmentAccepted"], # accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2481
+ # transport: "Email", # required, accepts Email, SQS, SNS
2482
+ # version: "String", # required
2483
+ # event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2484
2484
  # },
2485
2485
  # active: false,
2486
2486
  # })
@@ -2637,7 +2637,7 @@ module Aws::MTurk
2637
2637
  params: params,
2638
2638
  config: config)
2639
2639
  context[:gem_name] = 'aws-sdk-mturk'
2640
- context[:gem_version] = '1.0.0'
2640
+ context[:gem_version] = '1.1.0'
2641
2641
  Seahorse::Client::Request.new(handlers, context)
2642
2642
  end
2643
2643
 
@@ -38,6 +38,7 @@ module Aws::MTurk
38
38
  CreateQualificationTypeResponse = Shapes::StructureShape.new(name: 'CreateQualificationTypeResponse')
39
39
  CreateWorkerBlockRequest = Shapes::StructureShape.new(name: 'CreateWorkerBlockRequest')
40
40
  CreateWorkerBlockResponse = Shapes::StructureShape.new(name: 'CreateWorkerBlockResponse')
41
+ CurrencyAmount = Shapes::StringShape.new(name: 'CurrencyAmount')
41
42
  CustomerId = Shapes::StringShape.new(name: 'CustomerId')
42
43
  CustomerIdList = Shapes::ListShape.new(name: 'CustomerIdList')
43
44
  DeleteHITRequest = Shapes::StructureShape.new(name: 'DeleteHITRequest')
@@ -103,7 +104,6 @@ module Aws::MTurk
103
104
  NotifyWorkersFailureStatusList = Shapes::ListShape.new(name: 'NotifyWorkersFailureStatusList')
104
105
  NotifyWorkersRequest = Shapes::StructureShape.new(name: 'NotifyWorkersRequest')
105
106
  NotifyWorkersResponse = Shapes::StructureShape.new(name: 'NotifyWorkersResponse')
106
- NumericValue = Shapes::StringShape.new(name: 'NumericValue')
107
107
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
108
108
  ParameterMapEntry = Shapes::StructureShape.new(name: 'ParameterMapEntry')
109
109
  ParameterMapEntryList = Shapes::ListShape.new(name: 'ParameterMapEntryList')
@@ -197,7 +197,7 @@ module Aws::MTurk
197
197
  AssociateQualificationWithWorkerResponse.struct_class = Types::AssociateQualificationWithWorkerResponse
198
198
 
199
199
  BonusPayment.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
200
- BonusPayment.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: NumericValue, location_name: "BonusAmount"))
200
+ BonusPayment.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: CurrencyAmount, location_name: "BonusAmount"))
201
201
  BonusPayment.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "AssignmentId"))
202
202
  BonusPayment.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
203
203
  BonusPayment.add_member(:grant_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "GrantTime"))
@@ -206,7 +206,7 @@ module Aws::MTurk
206
206
  BonusPaymentList.member = Shapes::ShapeRef.new(shape: BonusPayment)
207
207
 
208
208
  CreateAdditionalAssignmentsForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
209
- CreateAdditionalAssignmentsForHITRequest.add_member(:number_of_additional_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAdditionalAssignments"))
209
+ CreateAdditionalAssignmentsForHITRequest.add_member(:number_of_additional_assignments, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "NumberOfAdditionalAssignments"))
210
210
  CreateAdditionalAssignmentsForHITRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
211
211
  CreateAdditionalAssignmentsForHITRequest.struct_class = Types::CreateAdditionalAssignmentsForHITRequest
212
212
 
@@ -216,7 +216,7 @@ module Aws::MTurk
216
216
  CreateHITRequest.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
217
217
  CreateHITRequest.add_member(:lifetime_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "LifetimeInSeconds"))
218
218
  CreateHITRequest.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AssignmentDurationInSeconds"))
219
- CreateHITRequest.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Reward"))
219
+ CreateHITRequest.add_member(:reward, Shapes::ShapeRef.new(shape: CurrencyAmount, required: true, location_name: "Reward"))
220
220
  CreateHITRequest.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Title"))
221
221
  CreateHITRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
222
222
  CreateHITRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
@@ -235,7 +235,7 @@ module Aws::MTurk
235
235
 
236
236
  CreateHITTypeRequest.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
237
237
  CreateHITTypeRequest.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AssignmentDurationInSeconds"))
238
- CreateHITTypeRequest.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Reward"))
238
+ CreateHITTypeRequest.add_member(:reward, Shapes::ShapeRef.new(shape: CurrencyAmount, required: true, location_name: "Reward"))
239
239
  CreateHITTypeRequest.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Title"))
240
240
  CreateHITTypeRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
241
241
  CreateHITTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
@@ -310,8 +310,8 @@ module Aws::MTurk
310
310
 
311
311
  GetAccountBalanceRequest.struct_class = Types::GetAccountBalanceRequest
312
312
 
313
- GetAccountBalanceResponse.add_member(:available_balance, Shapes::ShapeRef.new(shape: NumericValue, location_name: "AvailableBalance"))
314
- GetAccountBalanceResponse.add_member(:on_hold_balance, Shapes::ShapeRef.new(shape: NumericValue, location_name: "OnHoldBalance"))
313
+ GetAccountBalanceResponse.add_member(:available_balance, Shapes::ShapeRef.new(shape: CurrencyAmount, location_name: "AvailableBalance"))
314
+ GetAccountBalanceResponse.add_member(:on_hold_balance, Shapes::ShapeRef.new(shape: CurrencyAmount, location_name: "OnHoldBalance"))
315
315
  GetAccountBalanceResponse.struct_class = Types::GetAccountBalanceResponse
316
316
 
317
317
  GetAssignmentRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
@@ -358,7 +358,7 @@ module Aws::MTurk
358
358
  HIT.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
359
359
  HIT.add_member(:hit_status, Shapes::ShapeRef.new(shape: HITStatus, location_name: "HITStatus"))
360
360
  HIT.add_member(:max_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAssignments"))
361
- HIT.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, location_name: "Reward"))
361
+ HIT.add_member(:reward, Shapes::ShapeRef.new(shape: CurrencyAmount, location_name: "Reward"))
362
362
  HIT.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
363
363
  HIT.add_member(:expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Expiration"))
364
364
  HIT.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AssignmentDurationInSeconds"))
@@ -370,8 +370,8 @@ module Aws::MTurk
370
370
  HIT.add_member(:number_of_assignments_completed, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAssignmentsCompleted"))
371
371
  HIT.struct_class = Types::HIT
372
372
 
373
- HITLayoutParameter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
374
- HITLayoutParameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
373
+ HITLayoutParameter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
374
+ HITLayoutParameter.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
375
375
  HITLayoutParameter.struct_class = Types::HITLayoutParameter
376
376
 
377
377
  HITLayoutParameterList.member = Shapes::ShapeRef.new(shape: HITLayoutParameter)
@@ -498,8 +498,8 @@ module Aws::MTurk
498
498
 
499
499
  NotificationSpecification.add_member(:destination, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Destination"))
500
500
  NotificationSpecification.add_member(:transport, Shapes::ShapeRef.new(shape: NotificationTransport, required: true, location_name: "Transport"))
501
- NotificationSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
502
- NotificationSpecification.add_member(:event_types, Shapes::ShapeRef.new(shape: EventTypeList, location_name: "EventTypes"))
501
+ NotificationSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
502
+ NotificationSpecification.add_member(:event_types, Shapes::ShapeRef.new(shape: EventTypeList, required: true, location_name: "EventTypes"))
503
503
  NotificationSpecification.struct_class = Types::NotificationSpecification
504
504
 
505
505
  NotifyWorkersFailureStatus.add_member(:notify_workers_failure_code, Shapes::ShapeRef.new(shape: NotifyWorkersFailureCode, location_name: "NotifyWorkersFailureCode"))
@@ -577,7 +577,7 @@ module Aws::MTurk
577
577
  QualificationTypeList.member = Shapes::ShapeRef.new(shape: QualificationType)
578
578
 
579
579
  RejectAssignmentRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
580
- RejectAssignmentRequest.add_member(:requester_feedback, Shapes::ShapeRef.new(shape: String, location_name: "RequesterFeedback"))
580
+ RejectAssignmentRequest.add_member(:requester_feedback, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RequesterFeedback"))
581
581
  RejectAssignmentRequest.struct_class = Types::RejectAssignmentRequest
582
582
 
583
583
  RejectAssignmentResponse.struct_class = Types::RejectAssignmentResponse
@@ -600,7 +600,7 @@ module Aws::MTurk
600
600
 
601
601
  ReviewActionDetailList.member = Shapes::ShapeRef.new(shape: ReviewActionDetail)
602
602
 
603
- ReviewPolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, location_name: "PolicyName"))
603
+ ReviewPolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PolicyName"))
604
604
  ReviewPolicy.add_member(:parameters, Shapes::ShapeRef.new(shape: PolicyParameterList, location_name: "Parameters"))
605
605
  ReviewPolicy.struct_class = Types::ReviewPolicy
606
606
 
@@ -621,9 +621,9 @@ module Aws::MTurk
621
621
  ReviewResultDetailList.member = Shapes::ShapeRef.new(shape: ReviewResultDetail)
622
622
 
623
623
  SendBonusRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
624
- SendBonusRequest.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "BonusAmount"))
624
+ SendBonusRequest.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: CurrencyAmount, required: true, location_name: "BonusAmount"))
625
625
  SendBonusRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
626
- SendBonusRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
626
+ SendBonusRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Reason"))
627
627
  SendBonusRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
628
628
  SendBonusRequest.struct_class = Types::SendBonusRequest
629
629
 
@@ -638,7 +638,7 @@ module Aws::MTurk
638
638
  StringList.member = Shapes::ShapeRef.new(shape: String)
639
639
 
640
640
  UpdateExpirationForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
641
- UpdateExpirationForHITRequest.add_member(:expire_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpireAt"))
641
+ UpdateExpirationForHITRequest.add_member(:expire_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpireAt"))
642
642
  UpdateExpirationForHITRequest.struct_class = Types::UpdateExpirationForHITRequest
643
643
 
644
644
  UpdateExpirationForHITResponse.struct_class = Types::UpdateExpirationForHITResponse
@@ -218,7 +218,7 @@ module Aws::MTurk
218
218
  # @return [String]
219
219
  #
220
220
  # @!attribute [rw] bonus_amount
221
- # A string representing a numeric value.
221
+ # A string representing a currency amount.
222
222
  # @return [String]
223
223
  #
224
224
  # @!attribute [rw] assignment_id
@@ -249,7 +249,7 @@ module Aws::MTurk
249
249
  #
250
250
  # {
251
251
  # hit_id: "EntityId", # required
252
- # number_of_additional_assignments: 1,
252
+ # number_of_additional_assignments: 1, # required
253
253
  # unique_request_token: "IdempotencyToken",
254
254
  # }
255
255
  #
@@ -292,7 +292,7 @@ module Aws::MTurk
292
292
  # auto_approval_delay_in_seconds: 1,
293
293
  # lifetime_in_seconds: 1, # required
294
294
  # assignment_duration_in_seconds: 1, # required
295
- # reward: "NumericValue", # required
295
+ # reward: "CurrencyAmount", # required
296
296
  # title: "String", # required
297
297
  # keywords: "String",
298
298
  # description: "String", # required
@@ -314,7 +314,7 @@ module Aws::MTurk
314
314
  # ],
315
315
  # unique_request_token: "IdempotencyToken",
316
316
  # assignment_review_policy: {
317
- # policy_name: "String",
317
+ # policy_name: "String", # required
318
318
  # parameters: [
319
319
  # {
320
320
  # key: "String",
@@ -329,7 +329,7 @@ module Aws::MTurk
329
329
  # ],
330
330
  # },
331
331
  # hit_review_policy: {
332
- # policy_name: "String",
332
+ # policy_name: "String", # required
333
333
  # parameters: [
334
334
  # {
335
335
  # key: "String",
@@ -346,8 +346,8 @@ module Aws::MTurk
346
346
  # hit_layout_id: "EntityId",
347
347
  # hit_layout_parameters: [
348
348
  # {
349
- # name: "String",
350
- # value: "String",
349
+ # name: "String", # required
350
+ # value: "String", # required
351
351
  # },
352
352
  # ],
353
353
  # }
@@ -520,7 +520,7 @@ module Aws::MTurk
520
520
  # {
521
521
  # auto_approval_delay_in_seconds: 1,
522
522
  # assignment_duration_in_seconds: 1, # required
523
- # reward: "NumericValue", # required
523
+ # reward: "CurrencyAmount", # required
524
524
  # title: "String", # required
525
525
  # keywords: "String",
526
526
  # description: "String", # required
@@ -621,7 +621,7 @@ module Aws::MTurk
621
621
  # requester_annotation: "String",
622
622
  # unique_request_token: "IdempotencyToken",
623
623
  # assignment_review_policy: {
624
- # policy_name: "String",
624
+ # policy_name: "String", # required
625
625
  # parameters: [
626
626
  # {
627
627
  # key: "String",
@@ -636,7 +636,7 @@ module Aws::MTurk
636
636
  # ],
637
637
  # },
638
638
  # hit_review_policy: {
639
- # policy_name: "String",
639
+ # policy_name: "String", # required
640
640
  # parameters: [
641
641
  # {
642
642
  # key: "String",
@@ -653,8 +653,8 @@ module Aws::MTurk
653
653
  # hit_layout_id: "EntityId",
654
654
  # hit_layout_parameters: [
655
655
  # {
656
- # name: "String",
657
- # value: "String",
656
+ # name: "String", # required
657
+ # value: "String", # required
658
658
  # },
659
659
  # ],
660
660
  # }
@@ -1043,11 +1043,11 @@ module Aws::MTurk
1043
1043
  class GetAccountBalanceRequest < Aws::EmptyStructure; end
1044
1044
 
1045
1045
  # @!attribute [rw] available_balance
1046
- # A string representing a numeric value.
1046
+ # A string representing a currency amount.
1047
1047
  # @return [String]
1048
1048
  #
1049
1049
  # @!attribute [rw] on_hold_balance
1050
- # A string representing a numeric value.
1050
+ # A string representing a currency amount.
1051
1051
  # @return [String]
1052
1052
  #
1053
1053
  # @see http://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAccountBalanceResponse AWS API Documentation
@@ -1279,7 +1279,7 @@ module Aws::MTurk
1279
1279
  # @return [Integer]
1280
1280
  #
1281
1281
  # @!attribute [rw] reward
1282
- # A string representing a numeric value.
1282
+ # A string representing a currency amount.
1283
1283
  # @return [String]
1284
1284
  #
1285
1285
  # @!attribute [rw] auto_approval_delay_in_seconds
@@ -1368,8 +1368,8 @@ module Aws::MTurk
1368
1368
  # data as a hash:
1369
1369
  #
1370
1370
  # {
1371
- # name: "String",
1372
- # value: "String",
1371
+ # name: "String", # required
1372
+ # value: "String", # required
1373
1373
  # }
1374
1374
  #
1375
1375
  # @!attribute [rw] name
@@ -2070,21 +2070,25 @@ module Aws::MTurk
2070
2070
  #
2071
2071
  # {
2072
2072
  # destination: "String", # required
2073
- # transport: "Email", # required, accepts Email, SQS
2074
- # version: "String",
2075
- # event_types: ["AssignmentAccepted"], # accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2073
+ # transport: "Email", # required, accepts Email, SQS, SNS
2074
+ # version: "String", # required
2075
+ # event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2076
2076
  # }
2077
2077
  #
2078
2078
  # @!attribute [rw] destination
2079
- # The destination for notification messages. or email notifications
2080
- # (if Transport is Email), this is an email address. For Amazon Simple
2081
- # Queue Service (Amazon SQS) notifications (if Transport is SQS), this
2082
- # is the URL for your Amazon SQS queue.
2079
+ # The target for notification messages. The Destination’s format is
2080
+ # determined by the specified Transport:
2081
+ #
2082
+ # * When Transport is Email, the Destination is your email address.
2083
+ #
2084
+ # * When Transport is SQS, the Destination is your queue URL.
2085
+ #
2086
+ # * When Transport is SNS, the Destination is the ARN of your topic.
2083
2087
  # @return [String]
2084
2088
  #
2085
2089
  # @!attribute [rw] transport
2086
2090
  # The method Amazon Mechanical Turk uses to send the notification.
2087
- # Valid Values: Email \| SQS.
2091
+ # Valid Values: Email \| SQS \| SNS.
2088
2092
  # @return [String]
2089
2093
  #
2090
2094
  # @!attribute [rw] version
@@ -2538,7 +2542,7 @@ module Aws::MTurk
2538
2542
  #
2539
2543
  # {
2540
2544
  # assignment_id: "EntityId", # required
2541
- # requester_feedback: "String",
2545
+ # requester_feedback: "String", # required
2542
2546
  # }
2543
2547
  #
2544
2548
  # @!attribute [rw] assignment_id
@@ -2654,7 +2658,7 @@ module Aws::MTurk
2654
2658
  # data as a hash:
2655
2659
  #
2656
2660
  # {
2657
- # policy_name: "String",
2661
+ # policy_name: "String", # required
2658
2662
  # parameters: [
2659
2663
  # {
2660
2664
  # key: "String",
@@ -2760,9 +2764,9 @@ module Aws::MTurk
2760
2764
  #
2761
2765
  # {
2762
2766
  # worker_id: "CustomerId", # required
2763
- # bonus_amount: "NumericValue", # required
2767
+ # bonus_amount: "CurrencyAmount", # required
2764
2768
  # assignment_id: "EntityId", # required
2765
- # reason: "String",
2769
+ # reason: "String", # required
2766
2770
  # unique_request_token: "IdempotencyToken",
2767
2771
  # }
2768
2772
  #
@@ -2816,9 +2820,9 @@ module Aws::MTurk
2816
2820
  # {
2817
2821
  # notification: { # required
2818
2822
  # destination: "String", # required
2819
- # transport: "Email", # required, accepts Email, SQS
2820
- # version: "String",
2821
- # event_types: ["AssignmentAccepted"], # accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2823
+ # transport: "Email", # required, accepts Email, SQS, SNS
2824
+ # version: "String", # required
2825
+ # event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2822
2826
  # },
2823
2827
  # test_event_type: "AssignmentAccepted", # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
2824
2828
  # }
@@ -2854,7 +2858,7 @@ module Aws::MTurk
2854
2858
  #
2855
2859
  # {
2856
2860
  # hit_id: "EntityId", # required
2857
- # expire_at: Time.now,
2861
+ # expire_at: Time.now, # required
2858
2862
  # }
2859
2863
  #
2860
2864
  # @!attribute [rw] hit_id
@@ -2946,9 +2950,9 @@ module Aws::MTurk
2946
2950
  # hit_type_id: "EntityId", # required
2947
2951
  # notification: {
2948
2952
  # destination: "String", # required
2949
- # transport: "Email", # required, accepts Email, SQS
2950
- # version: "String",
2951
- # event_types: ["AssignmentAccepted"], # accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
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
2952
2956
  # },
2953
2957
  # active: false,
2954
2958
  # }
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.0.0
4
+ version: 1.1.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: 2017-08-29 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -56,7 +56,9 @@ files:
56
56
  homepage: http://github.com/aws/aws-sdk-ruby
57
57
  licenses:
58
58
  - Apache-2.0
59
- metadata: {}
59
+ metadata:
60
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-mturk
61
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-mturk/CHANGELOG.md
60
62
  post_install_message:
61
63
  rdoc_options: []
62
64
  require_paths: