aws-sdk-mturk 1.14.0 → 1.15.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: 0c919abd900d0033d072535a1f97375c7fe83e05
4
- data.tar.gz: e35950103e7bcece1148d1b637c849d315ae0499
3
+ metadata.gz: 87aa53610e8a539f11f347582fd10a8f49984893
4
+ data.tar.gz: d8fad4cc97d558206070514ceb79c76d3c1bfbc2
5
5
  SHA512:
6
- metadata.gz: 1755abe6afba15a39beeacbd8391a145bfdc27b8c10af29198e5d64d73d46c3b57139163e80f7d8437077a2d6141dbd844ea4014f90e66419e0290c7720fe0d7
7
- data.tar.gz: 3314bcf5294b0ac83c75446099639c8600bade85f4b17c5dd21a57e4fe7e45c68f0ef2a8014b3d693759445b27ad95c4f5f7e82232bac940b953375f04d086a0
6
+ metadata.gz: 45a335e8c1c385b8d81214e03002d752e55a2090633d4d97a18289f6bd601d96e58a1755e516db88f4fc0ef181db41f23ea89365585d967885b4e76b692057db
7
+ data.tar.gz: f26e79f188b82d57a91ce88192f2af16d4aaf46481dfcdba66f7f7326aec5b0e520f6756a1e4b907c3982e93922d9eef3d802632dad4e8ea5ed0a10edd4d334e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mturk/customizations'
42
42
  # @service
43
43
  module Aws::MTurk
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -2762,7 +2762,7 @@ module Aws::MTurk
2762
2762
  params: params,
2763
2763
  config: config)
2764
2764
  context[:gem_name] = 'aws-sdk-mturk'
2765
- context[:gem_version] = '1.14.0'
2765
+ context[:gem_version] = '1.15.0'
2766
2766
  Seahorse::Client::Request.new(handlers, context)
2767
2767
  end
2768
2768
 
@@ -590,6 +590,10 @@ module Aws::MTurk
590
590
 
591
591
  RejectQualificationRequestResponse.struct_class = Types::RejectQualificationRequestResponse
592
592
 
593
+ RequestError.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
594
+ RequestError.add_member(:turk_error_code, Shapes::ShapeRef.new(shape: TurkErrorCode, location_name: "TurkErrorCode"))
595
+ RequestError.struct_class = Types::RequestError
596
+
593
597
  ReviewActionDetail.add_member(:action_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "ActionId"))
594
598
  ReviewActionDetail.add_member(:action_name, Shapes::ShapeRef.new(shape: String, location_name: "ActionName"))
595
599
  ReviewActionDetail.add_member(:target_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "TargetId"))
@@ -637,6 +641,10 @@ module Aws::MTurk
637
641
 
638
642
  SendTestEventNotificationResponse.struct_class = Types::SendTestEventNotificationResponse
639
643
 
644
+ ServiceFault.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
645
+ ServiceFault.add_member(:turk_error_code, Shapes::ShapeRef.new(shape: TurkErrorCode, location_name: "TurkErrorCode"))
646
+ ServiceFault.struct_class = Types::ServiceFault
647
+
640
648
  StringList.member = Shapes::ShapeRef.new(shape: String)
641
649
 
642
650
  UpdateExpirationForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
@@ -10,5 +10,47 @@ module Aws::MTurk
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class RequestError < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::MTurk::Types::RequestError] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ # @return [String]
28
+ def turk_error_code
29
+ @data[:turk_error_code]
30
+ end
31
+
32
+ end
33
+
34
+ class ServiceFault < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::MTurk::Types::ServiceFault] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def message
45
+ @message || @data[:message]
46
+ end
47
+
48
+ # @return [String]
49
+ def turk_error_code
50
+ @data[:turk_error_code]
51
+ end
52
+
53
+ end
54
+
13
55
  end
14
56
  end
@@ -2638,6 +2638,22 @@ module Aws::MTurk
2638
2638
  #
2639
2639
  class RejectQualificationRequestResponse < Aws::EmptyStructure; end
2640
2640
 
2641
+ # Your request is invalid.
2642
+ #
2643
+ # @!attribute [rw] message
2644
+ # @return [String]
2645
+ #
2646
+ # @!attribute [rw] turk_error_code
2647
+ # @return [String]
2648
+ #
2649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RequestError AWS API Documentation
2650
+ #
2651
+ class RequestError < Struct.new(
2652
+ :message,
2653
+ :turk_error_code)
2654
+ include Aws::Structure
2655
+ end
2656
+
2641
2657
  # Both the AssignmentReviewReport and the HITReviewReport elements
2642
2658
  # contains the ReviewActionDetail data structure. This structure is
2643
2659
  # returned multiple times for each action specified in the Review
@@ -2894,6 +2910,23 @@ module Aws::MTurk
2894
2910
  #
2895
2911
  class SendTestEventNotificationResponse < Aws::EmptyStructure; end
2896
2912
 
2913
+ # Amazon Mechanical Turk is temporarily unable to process your request.
2914
+ # Try your call again.
2915
+ #
2916
+ # @!attribute [rw] message
2917
+ # @return [String]
2918
+ #
2919
+ # @!attribute [rw] turk_error_code
2920
+ # @return [String]
2921
+ #
2922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ServiceFault AWS API Documentation
2923
+ #
2924
+ class ServiceFault < Struct.new(
2925
+ :message,
2926
+ :turk_error_code)
2927
+ include Aws::Structure
2928
+ end
2929
+
2897
2930
  # @note When making an API call, you may pass UpdateExpirationForHITRequest
2898
2931
  # data as a hash:
2899
2932
  #
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.14.0
4
+ version: 1.15.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-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement