aws-sdk-swf 1.11.0 → 1.12.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: 57003284b8b8aec0b66a55e796abc4f3949411c9
4
- data.tar.gz: 4242f880aa0cb7d5da4f36bf110af2fdde4530c2
3
+ metadata.gz: 5360d5197dfb8a01533f2395bf5bd4aeb04e66e7
4
+ data.tar.gz: 2f6c04817f2cebb9868f957d34ef8f9fef002033
5
5
  SHA512:
6
- metadata.gz: 21de32f841b4d4bcf1c28e9f0a8a8b47358ce80bb398adbd0eca144ade1894b9533f24e14184a3472b7f5789a6bcef3f2d0f7c5f0d2411a0c1c9ae7a54e1b328
7
- data.tar.gz: c832dc60ce7675cb44bcd7b7893b9410d16c6142d9ba0d3f8d64e363c21fe844da2604a24493e0d586d3fde0b5b4d4f9be98bbf329277ab10ea5131edb22c1bc
6
+ metadata.gz: e9ce41a7151dee2e177806950a68faf65e8f2311f547bd93be217a4e3aab44d82066f0e91e77148a57ff60676e4945998c3b9e486babe89965b87ad946274547
7
+ data.tar.gz: 780957d4682781fc60d8be6a96004f337b69fc9649eeb7fa3e02cc5f77d72bb9cc2504fc8a97fb44979997da95789a0126cb90261c09a74b818169251e4d9665
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-swf/customizations'
42
42
  # @service
43
43
  module Aws::SWF
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -3924,7 +3924,7 @@ module Aws::SWF
3924
3924
  params: params,
3925
3925
  config: config)
3926
3926
  context[:gem_name] = 'aws-sdk-swf'
3927
- context[:gem_version] = '1.11.0'
3927
+ context[:gem_version] = '1.12.0'
3928
3928
  Seahorse::Client::Request.new(handlers, context)
3929
3929
  end
3930
3930
 
@@ -459,6 +459,9 @@ module Aws::SWF
459
459
  DecisionTaskTimedOutEventAttributes.add_member(:started_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "startedEventId"))
460
460
  DecisionTaskTimedOutEventAttributes.struct_class = Types::DecisionTaskTimedOutEventAttributes
461
461
 
462
+ DefaultUndefinedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
463
+ DefaultUndefinedFault.struct_class = Types::DefaultUndefinedFault
464
+
462
465
  DeprecateActivityTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
463
466
  DeprecateActivityTypeInput.add_member(:activity_type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "activityType"))
464
467
  DeprecateActivityTypeInput.struct_class = Types::DeprecateActivityTypeInput
@@ -485,9 +488,15 @@ module Aws::SWF
485
488
  DescribeWorkflowTypeInput.add_member(:workflow_type, Shapes::ShapeRef.new(shape: WorkflowType, required: true, location_name: "workflowType"))
486
489
  DescribeWorkflowTypeInput.struct_class = Types::DescribeWorkflowTypeInput
487
490
 
491
+ DomainAlreadyExistsFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
492
+ DomainAlreadyExistsFault.struct_class = Types::DomainAlreadyExistsFault
493
+
488
494
  DomainConfiguration.add_member(:workflow_execution_retention_period_in_days, Shapes::ShapeRef.new(shape: DurationInDays, required: true, location_name: "workflowExecutionRetentionPeriodInDays"))
489
495
  DomainConfiguration.struct_class = Types::DomainConfiguration
490
496
 
497
+ DomainDeprecatedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
498
+ DomainDeprecatedFault.struct_class = Types::DomainDeprecatedFault
499
+
491
500
  DomainDetail.add_member(:domain_info, Shapes::ShapeRef.new(shape: DomainInfo, required: true, location_name: "domainInfo"))
492
501
  DomainDetail.add_member(:configuration, Shapes::ShapeRef.new(shape: DomainConfiguration, required: true, location_name: "configuration"))
493
502
  DomainDetail.struct_class = Types::DomainDetail
@@ -622,6 +631,9 @@ module Aws::SWF
622
631
  LambdaFunctionTimedOutEventAttributes.add_member(:timeout_type, Shapes::ShapeRef.new(shape: LambdaFunctionTimeoutType, location_name: "timeoutType"))
623
632
  LambdaFunctionTimedOutEventAttributes.struct_class = Types::LambdaFunctionTimedOutEventAttributes
624
633
 
634
+ LimitExceededFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
635
+ LimitExceededFault.struct_class = Types::LimitExceededFault
636
+
625
637
  ListActivityTypesInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
626
638
  ListActivityTypesInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
627
639
  ListActivityTypesInput.add_member(:registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, required: true, location_name: "registrationStatus"))
@@ -671,6 +683,9 @@ module Aws::SWF
671
683
  MarkerRecordedEventAttributes.add_member(:decision_task_completed_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "decisionTaskCompletedEventId"))
672
684
  MarkerRecordedEventAttributes.struct_class = Types::MarkerRecordedEventAttributes
673
685
 
686
+ OperationNotPermittedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
687
+ OperationNotPermittedFault.struct_class = Types::OperationNotPermittedFault
688
+
674
689
  PendingTaskCount.add_member(:count, Shapes::ShapeRef.new(shape: Count, required: true, location_name: "count"))
675
690
  PendingTaskCount.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "truncated"))
676
691
  PendingTaskCount.struct_class = Types::PendingTaskCount
@@ -938,10 +953,22 @@ module Aws::SWF
938
953
  TimerStartedEventAttributes.add_member(:decision_task_completed_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "decisionTaskCompletedEventId"))
939
954
  TimerStartedEventAttributes.struct_class = Types::TimerStartedEventAttributes
940
955
 
956
+ TypeAlreadyExistsFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
957
+ TypeAlreadyExistsFault.struct_class = Types::TypeAlreadyExistsFault
958
+
959
+ TypeDeprecatedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
960
+ TypeDeprecatedFault.struct_class = Types::TypeDeprecatedFault
961
+
962
+ UnknownResourceFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
963
+ UnknownResourceFault.struct_class = Types::UnknownResourceFault
964
+
941
965
  WorkflowExecution.add_member(:workflow_id, Shapes::ShapeRef.new(shape: WorkflowId, required: true, location_name: "workflowId"))
942
966
  WorkflowExecution.add_member(:run_id, Shapes::ShapeRef.new(shape: WorkflowRunId, required: true, location_name: "runId"))
943
967
  WorkflowExecution.struct_class = Types::WorkflowExecution
944
968
 
969
+ WorkflowExecutionAlreadyStartedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
970
+ WorkflowExecutionAlreadyStartedFault.struct_class = Types::WorkflowExecutionAlreadyStartedFault
971
+
945
972
  WorkflowExecutionCancelRequestedEventAttributes.add_member(:external_workflow_execution, Shapes::ShapeRef.new(shape: WorkflowExecution, location_name: "externalWorkflowExecution"))
946
973
  WorkflowExecutionCancelRequestedEventAttributes.add_member(:external_initiated_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "externalInitiatedEventId"))
947
974
  WorkflowExecutionCancelRequestedEventAttributes.add_member(:cause, Shapes::ShapeRef.new(shape: WorkflowExecutionCancelRequestedCause, location_name: "cause"))
@@ -10,5 +10,149 @@ module Aws::SWF
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DefaultUndefinedFault < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::SWF::Types::DefaultUndefinedFault] 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
+ end
28
+
29
+ class DomainAlreadyExistsFault < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::SWF::Types::DomainAlreadyExistsFault] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class DomainDeprecatedFault < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::SWF::Types::DomainDeprecatedFault] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class LimitExceededFault < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::SWF::Types::LimitExceededFault] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class OperationNotPermittedFault < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::SWF::Types::OperationNotPermittedFault] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class TypeAlreadyExistsFault < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::SWF::Types::TypeAlreadyExistsFault] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class TypeDeprecatedFault < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::SWF::Types::TypeDeprecatedFault] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class UnknownResourceFault < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::SWF::Types::UnknownResourceFault] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class WorkflowExecutionAlreadyStartedFault < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::SWF::Types::WorkflowExecutionAlreadyStartedFault] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
13
157
  end
14
158
  end
@@ -1932,6 +1932,29 @@ module Aws::SWF
1932
1932
  include Aws::Structure
1933
1933
  end
1934
1934
 
1935
+ # The `StartWorkflowExecution` API action was called without the
1936
+ # required parameters set.
1937
+ #
1938
+ # Some workflow execution parameters, such as the decision `taskList`,
1939
+ # must be set to start the execution. However, these parameters might
1940
+ # have been set as defaults when the workflow type was registered. In
1941
+ # this case, you can omit these parameters from the
1942
+ # `StartWorkflowExecution` call and Amazon SWF uses the values defined
1943
+ # in the workflow type.
1944
+ #
1945
+ # <note markdown="1"> If these parameters aren't set and no default parameters were defined
1946
+ # in the workflow type, this error is displayed.
1947
+ #
1948
+ # </note>
1949
+ #
1950
+ # @!attribute [rw] message
1951
+ # @return [String]
1952
+ #
1953
+ class DefaultUndefinedFault < Struct.new(
1954
+ :message)
1955
+ include Aws::Structure
1956
+ end
1957
+
1935
1958
  # @note When making an API call, you may pass DeprecateActivityTypeInput
1936
1959
  # data as a hash:
1937
1960
  #
@@ -2091,6 +2114,18 @@ module Aws::SWF
2091
2114
  include Aws::Structure
2092
2115
  end
2093
2116
 
2117
+ # Returned if the specified domain already exists. You get this fault
2118
+ # even if the existing domain is in deprecated status.
2119
+ #
2120
+ # @!attribute [rw] message
2121
+ # A description that may help with diagnosing the cause of the fault.
2122
+ # @return [String]
2123
+ #
2124
+ class DomainAlreadyExistsFault < Struct.new(
2125
+ :message)
2126
+ include Aws::Structure
2127
+ end
2128
+
2094
2129
  # Contains the configuration settings of a domain.
2095
2130
  #
2096
2131
  # @!attribute [rw] workflow_execution_retention_period_in_days
@@ -2102,6 +2137,17 @@ module Aws::SWF
2102
2137
  include Aws::Structure
2103
2138
  end
2104
2139
 
2140
+ # Returned when the specified domain has been deprecated.
2141
+ #
2142
+ # @!attribute [rw] message
2143
+ # A description that may help with diagnosing the cause of the fault.
2144
+ # @return [String]
2145
+ #
2146
+ class DomainDeprecatedFault < Struct.new(
2147
+ :message)
2148
+ include Aws::Structure
2149
+ end
2150
+
2105
2151
  # Contains details of a domain.
2106
2152
  #
2107
2153
  # @!attribute [rw] domain_info
@@ -3100,6 +3146,19 @@ module Aws::SWF
3100
3146
  include Aws::Structure
3101
3147
  end
3102
3148
 
3149
+ # Returned by any operation if a system imposed limitation has been
3150
+ # reached. To address this fault you should either clean up unused
3151
+ # resources or increase the limit by contacting AWS.
3152
+ #
3153
+ # @!attribute [rw] message
3154
+ # A description that may help with diagnosing the cause of the fault.
3155
+ # @return [String]
3156
+ #
3157
+ class LimitExceededFault < Struct.new(
3158
+ :message)
3159
+ include Aws::Structure
3160
+ end
3161
+
3103
3162
  # @note When making an API call, you may pass ListActivityTypesInput
3104
3163
  # data as a hash:
3105
3164
  #
@@ -3541,6 +3600,18 @@ module Aws::SWF
3541
3600
  include Aws::Structure
3542
3601
  end
3543
3602
 
3603
+ # Returned when the caller doesn't have sufficient permissions to
3604
+ # invoke the action.
3605
+ #
3606
+ # @!attribute [rw] message
3607
+ # A description that may help with diagnosing the cause of the fault.
3608
+ # @return [String]
3609
+ #
3610
+ class OperationNotPermittedFault < Struct.new(
3611
+ :message)
3612
+ include Aws::Structure
3613
+ end
3614
+
3544
3615
  # Contains the count of tasks in a task list.
3545
3616
  #
3546
3617
  # @!attribute [rw] count
@@ -6034,6 +6105,46 @@ module Aws::SWF
6034
6105
  include Aws::Structure
6035
6106
  end
6036
6107
 
6108
+ # Returned if the type already exists in the specified domain. You get
6109
+ # this fault even if the existing type is in deprecated status. You can
6110
+ # specify another version if the intent is to create a new distinct
6111
+ # version of the type.
6112
+ #
6113
+ # @!attribute [rw] message
6114
+ # A description that may help with diagnosing the cause of the fault.
6115
+ # @return [String]
6116
+ #
6117
+ class TypeAlreadyExistsFault < Struct.new(
6118
+ :message)
6119
+ include Aws::Structure
6120
+ end
6121
+
6122
+ # Returned when the specified activity or workflow type was already
6123
+ # deprecated.
6124
+ #
6125
+ # @!attribute [rw] message
6126
+ # A description that may help with diagnosing the cause of the fault.
6127
+ # @return [String]
6128
+ #
6129
+ class TypeDeprecatedFault < Struct.new(
6130
+ :message)
6131
+ include Aws::Structure
6132
+ end
6133
+
6134
+ # Returned when the named resource cannot be found with in the scope of
6135
+ # this operation (region or domain). This could happen if the named
6136
+ # resource was never created or is no longer available for this
6137
+ # operation.
6138
+ #
6139
+ # @!attribute [rw] message
6140
+ # A description that may help with diagnosing the cause of the fault.
6141
+ # @return [String]
6142
+ #
6143
+ class UnknownResourceFault < Struct.new(
6144
+ :message)
6145
+ include Aws::Structure
6146
+ end
6147
+
6037
6148
  # Represents a workflow execution.
6038
6149
  #
6039
6150
  # @note When making an API call, you may pass WorkflowExecution
@@ -6058,6 +6169,18 @@ module Aws::SWF
6058
6169
  include Aws::Structure
6059
6170
  end
6060
6171
 
6172
+ # Returned by StartWorkflowExecution when an open execution with the
6173
+ # same workflowId is already running in the specified domain.
6174
+ #
6175
+ # @!attribute [rw] message
6176
+ # A description that may help with diagnosing the cause of the fault.
6177
+ # @return [String]
6178
+ #
6179
+ class WorkflowExecutionAlreadyStartedFault < Struct.new(
6180
+ :message)
6181
+ include Aws::Structure
6182
+ end
6183
+
6061
6184
  # Provides the details of the `WorkflowExecutionCancelRequested` event.
6062
6185
  #
6063
6186
  # @!attribute [rw] external_workflow_execution
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-swf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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