aws-sdk-states 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3e1a62f08838c127d88eec38aa2ad33804bed29
4
- data.tar.gz: 52b4f735cced074203b99809559e9ef57926b5f3
3
+ metadata.gz: 23a576915223022f80ba585a81f6c0539e438ce7
4
+ data.tar.gz: 86b7c42999ba92fa12f1b76eb2bd28be4ea1ae59
5
5
  SHA512:
6
- metadata.gz: c8094ecf13af56be34a759005a16e7ff3e648ab7e695cbd4d243e1f54bd4cddef53957c44e4ee8977f5001eed8b71ff5575b1d2c9efe0a4b1fdf89a7649e814d
7
- data.tar.gz: 621b443d98a644431321ac4549a3da4813e5021006baedbc24a2c81be64a7046483d9caa1a200ce8a7300ef602339c41e45dd7577bf22829ac2641f94c750697
6
+ metadata.gz: 8780df41a427250f81f1b25765c33c398628105929e6ef05565fb690de7903281bde21246d7a40915a8bcbe7b8b6db29330f70eff8664996d92876f95db2ba4b
7
+ data.tar.gz: 176308d3cd4914c5f2382592f53aa7b144bc73e507644e328634924e267a93065c818bbab78958ff035bd13759e0b311425d68c61bd6ab1696e0fdaedc78f77b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-states/customizations'
42
42
  # @service
43
43
  module Aws::States
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -1374,7 +1374,7 @@ module Aws::States
1374
1374
  params: params,
1375
1375
  config: config)
1376
1376
  context[:gem_name] = 'aws-sdk-states'
1377
- context[:gem_version] = '1.16.0'
1377
+ context[:gem_version] = '1.17.0'
1378
1378
  Seahorse::Client::Request.new(handlers, context)
1379
1379
  end
1380
1380
 
@@ -137,10 +137,16 @@ module Aws::States
137
137
  UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
138
138
  UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
139
139
 
140
+ ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
141
+ ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
142
+
140
143
  ActivityFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
141
144
  ActivityFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
142
145
  ActivityFailedEventDetails.struct_class = Types::ActivityFailedEventDetails
143
146
 
147
+ ActivityLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
148
+ ActivityLimitExceeded.struct_class = Types::ActivityLimitExceeded
149
+
144
150
  ActivityList.member = Shapes::ShapeRef.new(shape: ActivityListItem)
145
151
 
146
152
  ActivityListItem.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
@@ -168,6 +174,9 @@ module Aws::States
168
174
  ActivityTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
169
175
  ActivityTimedOutEventDetails.struct_class = Types::ActivityTimedOutEventDetails
170
176
 
177
+ ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
178
+ ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
179
+
171
180
  CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
172
181
  CreateActivityInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
173
182
  CreateActivityInput.struct_class = Types::CreateActivityInput
@@ -242,10 +251,19 @@ module Aws::States
242
251
  ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
243
252
  ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
244
253
 
254
+ ExecutionAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
255
+ ExecutionAlreadyExists.struct_class = Types::ExecutionAlreadyExists
256
+
257
+ ExecutionDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
258
+ ExecutionDoesNotExist.struct_class = Types::ExecutionDoesNotExist
259
+
245
260
  ExecutionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
246
261
  ExecutionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
247
262
  ExecutionFailedEventDetails.struct_class = Types::ExecutionFailedEventDetails
248
263
 
264
+ ExecutionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
265
+ ExecutionLimitExceeded.struct_class = Types::ExecutionLimitExceeded
266
+
249
267
  ExecutionList.member = Shapes::ShapeRef.new(shape: ExecutionListItem)
250
268
 
251
269
  ExecutionListItem.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -320,6 +338,24 @@ module Aws::States
320
338
 
321
339
  HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
322
340
 
341
+ InvalidArn.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
342
+ InvalidArn.struct_class = Types::InvalidArn
343
+
344
+ InvalidDefinition.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
345
+ InvalidDefinition.struct_class = Types::InvalidDefinition
346
+
347
+ InvalidExecutionInput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
348
+ InvalidExecutionInput.struct_class = Types::InvalidExecutionInput
349
+
350
+ InvalidName.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
351
+ InvalidName.struct_class = Types::InvalidName
352
+
353
+ InvalidOutput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
354
+ InvalidOutput.struct_class = Types::InvalidOutput
355
+
356
+ InvalidToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
357
+ InvalidToken.struct_class = Types::InvalidToken
358
+
323
359
  LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
324
360
  LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
325
361
  LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
@@ -376,6 +412,13 @@ module Aws::States
376
412
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
377
413
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
378
414
 
415
+ MissingRequiredParameter.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
416
+ MissingRequiredParameter.struct_class = Types::MissingRequiredParameter
417
+
418
+ ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
419
+ ResourceNotFound.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
420
+ ResourceNotFound.struct_class = Types::ResourceNotFound
421
+
379
422
  SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
380
423
  SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
381
424
  SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
@@ -411,6 +454,18 @@ module Aws::States
411
454
  StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
412
455
  StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
413
456
 
457
+ StateMachineAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
458
+ StateMachineAlreadyExists.struct_class = Types::StateMachineAlreadyExists
459
+
460
+ StateMachineDeleting.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
461
+ StateMachineDeleting.struct_class = Types::StateMachineDeleting
462
+
463
+ StateMachineDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
464
+ StateMachineDoesNotExist.struct_class = Types::StateMachineDoesNotExist
465
+
466
+ StateMachineLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
467
+ StateMachineLimitExceeded.struct_class = Types::StateMachineLimitExceeded
468
+
414
469
  StateMachineList.member = Shapes::ShapeRef.new(shape: StateMachineListItem)
415
470
 
416
471
  StateMachineListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -440,6 +495,9 @@ module Aws::States
440
495
 
441
496
  TagResourceOutput.struct_class = Types::TagResourceOutput
442
497
 
498
+ TaskDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
499
+ TaskDoesNotExist.struct_class = Types::TaskDoesNotExist
500
+
443
501
  TaskFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
444
502
  TaskFailedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
445
503
  TaskFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -479,12 +537,19 @@ module Aws::States
479
537
  TaskSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
480
538
  TaskSucceededEventDetails.struct_class = Types::TaskSucceededEventDetails
481
539
 
540
+ TaskTimedOut.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
541
+ TaskTimedOut.struct_class = Types::TaskTimedOut
542
+
482
543
  TaskTimedOutEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
483
544
  TaskTimedOutEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
484
545
  TaskTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
485
546
  TaskTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
486
547
  TaskTimedOutEventDetails.struct_class = Types::TaskTimedOutEventDetails
487
548
 
549
+ TooManyTags.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
550
+ TooManyTags.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
551
+ TooManyTags.struct_class = Types::TooManyTags
552
+
488
553
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
489
554
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
490
555
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -10,5 +10,351 @@ module Aws::States
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ActivityDoesNotExist < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::States::Types::ActivityDoesNotExist] 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 ActivityLimitExceeded < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::States::Types::ActivityLimitExceeded] 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 ActivityWorkerLimitExceeded < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::States::Types::ActivityWorkerLimitExceeded] 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 ExecutionAlreadyExists < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::States::Types::ExecutionAlreadyExists] 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 ExecutionDoesNotExist < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::States::Types::ExecutionDoesNotExist] 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 ExecutionLimitExceeded < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::States::Types::ExecutionLimitExceeded] 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 InvalidArn < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::States::Types::InvalidArn] 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 InvalidDefinition < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::States::Types::InvalidDefinition] 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 InvalidExecutionInput < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::States::Types::InvalidExecutionInput] 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
+
157
+ class InvalidName < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::States::Types::InvalidName] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class InvalidOutput < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::States::Types::InvalidOutput] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class InvalidToken < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::States::Types::InvalidToken] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class MissingRequiredParameter < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::States::Types::MissingRequiredParameter] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class ResourceNotFound < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::States::Types::ResourceNotFound] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ # @return [String]
236
+ def resource_name
237
+ @data[:resource_name]
238
+ end
239
+
240
+ end
241
+
242
+ class StateMachineAlreadyExists < ServiceError
243
+
244
+ # @param [Seahorse::Client::RequestContext] context
245
+ # @param [String] message
246
+ # @param [Aws::States::Types::StateMachineAlreadyExists] data
247
+ def initialize(context, message, data = Aws::EmptyStructure.new)
248
+ super(context, message, data)
249
+ end
250
+
251
+ # @return [String]
252
+ def message
253
+ @message || @data[:message]
254
+ end
255
+
256
+ end
257
+
258
+ class StateMachineDeleting < ServiceError
259
+
260
+ # @param [Seahorse::Client::RequestContext] context
261
+ # @param [String] message
262
+ # @param [Aws::States::Types::StateMachineDeleting] data
263
+ def initialize(context, message, data = Aws::EmptyStructure.new)
264
+ super(context, message, data)
265
+ end
266
+
267
+ # @return [String]
268
+ def message
269
+ @message || @data[:message]
270
+ end
271
+
272
+ end
273
+
274
+ class StateMachineDoesNotExist < ServiceError
275
+
276
+ # @param [Seahorse::Client::RequestContext] context
277
+ # @param [String] message
278
+ # @param [Aws::States::Types::StateMachineDoesNotExist] data
279
+ def initialize(context, message, data = Aws::EmptyStructure.new)
280
+ super(context, message, data)
281
+ end
282
+
283
+ # @return [String]
284
+ def message
285
+ @message || @data[:message]
286
+ end
287
+
288
+ end
289
+
290
+ class StateMachineLimitExceeded < ServiceError
291
+
292
+ # @param [Seahorse::Client::RequestContext] context
293
+ # @param [String] message
294
+ # @param [Aws::States::Types::StateMachineLimitExceeded] data
295
+ def initialize(context, message, data = Aws::EmptyStructure.new)
296
+ super(context, message, data)
297
+ end
298
+
299
+ # @return [String]
300
+ def message
301
+ @message || @data[:message]
302
+ end
303
+
304
+ end
305
+
306
+ class TaskDoesNotExist < ServiceError
307
+
308
+ # @param [Seahorse::Client::RequestContext] context
309
+ # @param [String] message
310
+ # @param [Aws::States::Types::TaskDoesNotExist] data
311
+ def initialize(context, message, data = Aws::EmptyStructure.new)
312
+ super(context, message, data)
313
+ end
314
+
315
+ # @return [String]
316
+ def message
317
+ @message || @data[:message]
318
+ end
319
+
320
+ end
321
+
322
+ class TaskTimedOut < ServiceError
323
+
324
+ # @param [Seahorse::Client::RequestContext] context
325
+ # @param [String] message
326
+ # @param [Aws::States::Types::TaskTimedOut] data
327
+ def initialize(context, message, data = Aws::EmptyStructure.new)
328
+ super(context, message, data)
329
+ end
330
+
331
+ # @return [String]
332
+ def message
333
+ @message || @data[:message]
334
+ end
335
+
336
+ end
337
+
338
+ class TooManyTags < ServiceError
339
+
340
+ # @param [Seahorse::Client::RequestContext] context
341
+ # @param [String] message
342
+ # @param [Aws::States::Types::TooManyTags] data
343
+ def initialize(context, message, data = Aws::EmptyStructure.new)
344
+ super(context, message, data)
345
+ end
346
+
347
+ # @return [String]
348
+ def message
349
+ @message || @data[:message]
350
+ end
351
+
352
+ # @return [String]
353
+ def resource_name
354
+ @data[:resource_name]
355
+ end
356
+
357
+ end
358
+
13
359
  end
14
360
  end
@@ -8,6 +8,18 @@
8
8
  module Aws::States
9
9
  module Types
10
10
 
11
+ # The specified activity does not exist.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityDoesNotExist AWS API Documentation
17
+ #
18
+ class ActivityDoesNotExist < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
11
23
  # Contains details about an activity that failed during an execution.
12
24
  #
13
25
  # @!attribute [rw] error
@@ -26,6 +38,19 @@ module Aws::States
26
38
  include Aws::Structure
27
39
  end
28
40
 
41
+ # The maximum number of activities has been reached. Existing activities
42
+ # must be deleted before a new activity can be created.
43
+ #
44
+ # @!attribute [rw] message
45
+ # @return [String]
46
+ #
47
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityLimitExceeded AWS API Documentation
48
+ #
49
+ class ActivityLimitExceeded < Struct.new(
50
+ :message)
51
+ include Aws::Structure
52
+ end
53
+
29
54
  # Contains details about an activity.
30
55
  #
31
56
  # @!attribute [rw] activity_arn
@@ -156,6 +181,19 @@ module Aws::States
156
181
  include Aws::Structure
157
182
  end
158
183
 
184
+ # The maximum number of workers concurrently polling for activity tasks
185
+ # has been reached.
186
+ #
187
+ # @!attribute [rw] message
188
+ # @return [String]
189
+ #
190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityWorkerLimitExceeded AWS API Documentation
191
+ #
192
+ class ActivityWorkerLimitExceeded < Struct.new(
193
+ :message)
194
+ include Aws::Structure
195
+ end
196
+
159
197
  # @note When making an API call, you may pass CreateActivityInput
160
198
  # data as a hash:
161
199
  #
@@ -622,6 +660,35 @@ module Aws::States
622
660
  include Aws::Structure
623
661
  end
624
662
 
663
+ # The execution has the same `name` as another execution (but a
664
+ # different `input`).
665
+ #
666
+ # <note markdown="1"> Executions with the same `name` and `input` are considered idempotent.
667
+ #
668
+ # </note>
669
+ #
670
+ # @!attribute [rw] message
671
+ # @return [String]
672
+ #
673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionAlreadyExists AWS API Documentation
674
+ #
675
+ class ExecutionAlreadyExists < Struct.new(
676
+ :message)
677
+ include Aws::Structure
678
+ end
679
+
680
+ # The specified execution does not exist.
681
+ #
682
+ # @!attribute [rw] message
683
+ # @return [String]
684
+ #
685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionDoesNotExist AWS API Documentation
686
+ #
687
+ class ExecutionDoesNotExist < Struct.new(
688
+ :message)
689
+ include Aws::Structure
690
+ end
691
+
625
692
  # Contains details about an execution failure event.
626
693
  #
627
694
  # @!attribute [rw] error
@@ -640,6 +707,20 @@ module Aws::States
640
707
  include Aws::Structure
641
708
  end
642
709
 
710
+ # The maximum number of running executions has been reached. Running
711
+ # executions must end or be stopped before a new execution can be
712
+ # started.
713
+ #
714
+ # @!attribute [rw] message
715
+ # @return [String]
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionLimitExceeded AWS API Documentation
718
+ #
719
+ class ExecutionLimitExceeded < Struct.new(
720
+ :message)
721
+ include Aws::Structure
722
+ end
723
+
643
724
  # Contains details about an execution.
644
725
  #
645
726
  # @!attribute [rw] execution_arn
@@ -1029,6 +1110,78 @@ module Aws::States
1029
1110
  include Aws::Structure
1030
1111
  end
1031
1112
 
1113
+ # The provided Amazon Resource Name (ARN) is invalid.
1114
+ #
1115
+ # @!attribute [rw] message
1116
+ # @return [String]
1117
+ #
1118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidArn AWS API Documentation
1119
+ #
1120
+ class InvalidArn < Struct.new(
1121
+ :message)
1122
+ include Aws::Structure
1123
+ end
1124
+
1125
+ # The provided Amazon States Language definition is invalid.
1126
+ #
1127
+ # @!attribute [rw] message
1128
+ # @return [String]
1129
+ #
1130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidDefinition AWS API Documentation
1131
+ #
1132
+ class InvalidDefinition < Struct.new(
1133
+ :message)
1134
+ include Aws::Structure
1135
+ end
1136
+
1137
+ # The provided JSON input data is invalid.
1138
+ #
1139
+ # @!attribute [rw] message
1140
+ # @return [String]
1141
+ #
1142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidExecutionInput AWS API Documentation
1143
+ #
1144
+ class InvalidExecutionInput < Struct.new(
1145
+ :message)
1146
+ include Aws::Structure
1147
+ end
1148
+
1149
+ # The provided name is invalid.
1150
+ #
1151
+ # @!attribute [rw] message
1152
+ # @return [String]
1153
+ #
1154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidName AWS API Documentation
1155
+ #
1156
+ class InvalidName < Struct.new(
1157
+ :message)
1158
+ include Aws::Structure
1159
+ end
1160
+
1161
+ # The provided JSON output data is invalid.
1162
+ #
1163
+ # @!attribute [rw] message
1164
+ # @return [String]
1165
+ #
1166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidOutput AWS API Documentation
1167
+ #
1168
+ class InvalidOutput < Struct.new(
1169
+ :message)
1170
+ include Aws::Structure
1171
+ end
1172
+
1173
+ # The provided token is invalid.
1174
+ #
1175
+ # @!attribute [rw] message
1176
+ # @return [String]
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidToken AWS API Documentation
1179
+ #
1180
+ class InvalidToken < Struct.new(
1181
+ :message)
1182
+ include Aws::Structure
1183
+ end
1184
+
1032
1185
  # Contains details about a lambda function that failed during an
1033
1186
  # execution.
1034
1187
  #
@@ -1354,6 +1507,36 @@ module Aws::States
1354
1507
  include Aws::Structure
1355
1508
  end
1356
1509
 
1510
+ # Request is missing a required parameter. This error occurs if both
1511
+ # `definition` and `roleArn` are not specified.
1512
+ #
1513
+ # @!attribute [rw] message
1514
+ # @return [String]
1515
+ #
1516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MissingRequiredParameter AWS API Documentation
1517
+ #
1518
+ class MissingRequiredParameter < Struct.new(
1519
+ :message)
1520
+ include Aws::Structure
1521
+ end
1522
+
1523
+ # Could not fine the referenced resource. Only state machine and
1524
+ # activity ARNs are supported.
1525
+ #
1526
+ # @!attribute [rw] message
1527
+ # @return [String]
1528
+ #
1529
+ # @!attribute [rw] resource_name
1530
+ # @return [String]
1531
+ #
1532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ResourceNotFound AWS API Documentation
1533
+ #
1534
+ class ResourceNotFound < Struct.new(
1535
+ :message,
1536
+ :resource_name)
1537
+ include Aws::Structure
1538
+ end
1539
+
1357
1540
  # @note When making an API call, you may pass SendTaskFailureInput
1358
1541
  # data as a hash:
1359
1542
  #
@@ -1565,6 +1748,56 @@ module Aws::States
1565
1748
  include Aws::Structure
1566
1749
  end
1567
1750
 
1751
+ # A state machine with the same name but a different definition or role
1752
+ # ARN already exists.
1753
+ #
1754
+ # @!attribute [rw] message
1755
+ # @return [String]
1756
+ #
1757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineAlreadyExists AWS API Documentation
1758
+ #
1759
+ class StateMachineAlreadyExists < Struct.new(
1760
+ :message)
1761
+ include Aws::Structure
1762
+ end
1763
+
1764
+ # The specified state machine is being deleted.
1765
+ #
1766
+ # @!attribute [rw] message
1767
+ # @return [String]
1768
+ #
1769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineDeleting AWS API Documentation
1770
+ #
1771
+ class StateMachineDeleting < Struct.new(
1772
+ :message)
1773
+ include Aws::Structure
1774
+ end
1775
+
1776
+ # The specified state machine does not exist.
1777
+ #
1778
+ # @!attribute [rw] message
1779
+ # @return [String]
1780
+ #
1781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineDoesNotExist AWS API Documentation
1782
+ #
1783
+ class StateMachineDoesNotExist < Struct.new(
1784
+ :message)
1785
+ include Aws::Structure
1786
+ end
1787
+
1788
+ # The maximum number of state machines has been reached. Existing state
1789
+ # machines must be deleted before a new state machine can be created.
1790
+ #
1791
+ # @!attribute [rw] message
1792
+ # @return [String]
1793
+ #
1794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineLimitExceeded AWS API Documentation
1795
+ #
1796
+ class StateMachineLimitExceeded < Struct.new(
1797
+ :message)
1798
+ include Aws::Structure
1799
+ end
1800
+
1568
1801
  # Contains details about the state machine.
1569
1802
  #
1570
1803
  # @!attribute [rw] state_machine_arn
@@ -1705,6 +1938,16 @@ module Aws::States
1705
1938
  #
1706
1939
  class TagResourceOutput < Aws::EmptyStructure; end
1707
1940
 
1941
+ # @!attribute [rw] message
1942
+ # @return [String]
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskDoesNotExist AWS API Documentation
1945
+ #
1946
+ class TaskDoesNotExist < Struct.new(
1947
+ :message)
1948
+ include Aws::Structure
1949
+ end
1950
+
1708
1951
  # Contains details about a task failure event.
1709
1952
  #
1710
1953
  # @!attribute [rw] resource_type
@@ -1889,6 +2132,16 @@ module Aws::States
1889
2132
  include Aws::Structure
1890
2133
  end
1891
2134
 
2135
+ # @!attribute [rw] message
2136
+ # @return [String]
2137
+ #
2138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskTimedOut AWS API Documentation
2139
+ #
2140
+ class TaskTimedOut < Struct.new(
2141
+ :message)
2142
+ include Aws::Structure
2143
+ end
2144
+
1892
2145
  # Contains details about a resource timeout that occurred during an
1893
2146
  # execution.
1894
2147
  #
@@ -1918,6 +2171,27 @@ module Aws::States
1918
2171
  include Aws::Structure
1919
2172
  end
1920
2173
 
2174
+ # You've exceeded the number of tags allowed for a resource. See the [
2175
+ # Limits Topic][1] in the AWS Step Functions Developer Guide.
2176
+ #
2177
+ #
2178
+ #
2179
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/limits.html
2180
+ #
2181
+ # @!attribute [rw] message
2182
+ # @return [String]
2183
+ #
2184
+ # @!attribute [rw] resource_name
2185
+ # @return [String]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TooManyTags AWS API Documentation
2188
+ #
2189
+ class TooManyTags < Struct.new(
2190
+ :message,
2191
+ :resource_name)
2192
+ include Aws::Structure
2193
+ end
2194
+
1921
2195
  # @note When making an API call, you may pass UntagResourceInput
1922
2196
  # data as a hash:
1923
2197
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-states
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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