aws-sdk-states 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,12 +23,11 @@ module Aws::States
23
23
  ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
24
24
  ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
25
25
  Arn = Shapes::StringShape.new(name: 'Arn')
26
- Cause = Shapes::StringShape.new(name: 'Cause')
26
+ ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
27
27
  CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
28
28
  CreateActivityOutput = Shapes::StructureShape.new(name: 'CreateActivityOutput')
29
29
  CreateStateMachineInput = Shapes::StructureShape.new(name: 'CreateStateMachineInput')
30
30
  CreateStateMachineOutput = Shapes::StructureShape.new(name: 'CreateStateMachineOutput')
31
- Data = Shapes::StringShape.new(name: 'Data')
32
31
  Definition = Shapes::StringShape.new(name: 'Definition')
33
32
  DeleteActivityInput = Shapes::StructureShape.new(name: 'DeleteActivityInput')
34
33
  DeleteActivityOutput = Shapes::StructureShape.new(name: 'DeleteActivityOutput')
@@ -42,7 +41,6 @@ module Aws::States
42
41
  DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
43
42
  DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
44
43
  DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
45
- Error = Shapes::StringShape.new(name: 'Error')
46
44
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
47
45
  EventId = Shapes::IntegerShape.new(name: 'EventId')
48
46
  ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
@@ -93,6 +91,9 @@ module Aws::States
93
91
  SendTaskHeartbeatOutput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatOutput')
94
92
  SendTaskSuccessInput = Shapes::StructureShape.new(name: 'SendTaskSuccessInput')
95
93
  SendTaskSuccessOutput = Shapes::StructureShape.new(name: 'SendTaskSuccessOutput')
94
+ SensitiveCause = Shapes::StringShape.new(name: 'SensitiveCause')
95
+ SensitiveData = Shapes::StringShape.new(name: 'SensitiveData')
96
+ SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
96
97
  StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
97
98
  StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
98
99
  StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
@@ -107,15 +108,23 @@ module Aws::States
107
108
  StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
108
109
  StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
109
110
  TaskDoesNotExist = Shapes::StructureShape.new(name: 'TaskDoesNotExist')
111
+ TaskFailedEventDetails = Shapes::StructureShape.new(name: 'TaskFailedEventDetails')
112
+ TaskScheduledEventDetails = Shapes::StructureShape.new(name: 'TaskScheduledEventDetails')
113
+ TaskStartFailedEventDetails = Shapes::StructureShape.new(name: 'TaskStartFailedEventDetails')
114
+ TaskStartedEventDetails = Shapes::StructureShape.new(name: 'TaskStartedEventDetails')
115
+ TaskSubmitFailedEventDetails = Shapes::StructureShape.new(name: 'TaskSubmitFailedEventDetails')
116
+ TaskSubmittedEventDetails = Shapes::StructureShape.new(name: 'TaskSubmittedEventDetails')
117
+ TaskSucceededEventDetails = Shapes::StructureShape.new(name: 'TaskSucceededEventDetails')
110
118
  TaskTimedOut = Shapes::StructureShape.new(name: 'TaskTimedOut')
119
+ TaskTimedOutEventDetails = Shapes::StructureShape.new(name: 'TaskTimedOutEventDetails')
111
120
  TaskToken = Shapes::StringShape.new(name: 'TaskToken')
112
121
  TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
113
122
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
114
123
  UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
115
124
  UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
116
125
 
117
- ActivityFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
118
- ActivityFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
126
+ ActivityFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
127
+ ActivityFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
119
128
  ActivityFailedEventDetails.struct_class = Types::ActivityFailedEventDetails
120
129
 
121
130
  ActivityList.member = Shapes::ShapeRef.new(shape: ActivityListItem)
@@ -125,12 +134,12 @@ module Aws::States
125
134
  ActivityListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
126
135
  ActivityListItem.struct_class = Types::ActivityListItem
127
136
 
128
- ActivityScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
129
- ActivityScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
137
+ ActivityScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
138
+ ActivityScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
130
139
  ActivityScheduleFailedEventDetails.struct_class = Types::ActivityScheduleFailedEventDetails
131
140
 
132
141
  ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
133
- ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
142
+ ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
134
143
  ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
135
144
  ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
136
145
  ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
@@ -138,11 +147,11 @@ module Aws::States
138
147
  ActivityStartedEventDetails.add_member(:worker_name, Shapes::ShapeRef.new(shape: Identity, location_name: "workerName"))
139
148
  ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
140
149
 
141
- ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
150
+ ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
142
151
  ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
143
152
 
144
- ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
145
- ActivityTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
153
+ ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
154
+ ActivityTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
146
155
  ActivityTimedOutEventDetails.struct_class = Types::ActivityTimedOutEventDetails
147
156
 
148
157
  CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
@@ -188,8 +197,8 @@ module Aws::States
188
197
  DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
189
198
  DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
190
199
  DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
191
- DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "input"))
192
- DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
200
+ DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, required: true, location_name: "input"))
201
+ DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
193
202
  DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
194
203
 
195
204
  DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -213,12 +222,12 @@ module Aws::States
213
222
  DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
214
223
  DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
215
224
 
216
- ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
217
- ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
225
+ ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
226
+ ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
218
227
  ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
219
228
 
220
- ExecutionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
221
- ExecutionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
229
+ ExecutionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
230
+ ExecutionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
222
231
  ExecutionFailedEventDetails.struct_class = Types::ExecutionFailedEventDetails
223
232
 
224
233
  ExecutionList.member = Shapes::ShapeRef.new(shape: ExecutionListItem)
@@ -231,15 +240,15 @@ module Aws::States
231
240
  ExecutionListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
232
241
  ExecutionListItem.struct_class = Types::ExecutionListItem
233
242
 
234
- ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
243
+ ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
235
244
  ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
236
245
  ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
237
246
 
238
- ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
247
+ ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
239
248
  ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
240
249
 
241
- ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
242
- ExecutionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
250
+ ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
251
+ ExecutionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
243
252
  ExecutionTimedOutEventDetails.struct_class = Types::ExecutionTimedOutEventDetails
244
253
 
245
254
  GetActivityTaskInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
@@ -247,7 +256,7 @@ module Aws::States
247
256
  GetActivityTaskInput.struct_class = Types::GetActivityTaskInput
248
257
 
249
258
  GetActivityTaskOutput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, location_name: "taskToken"))
250
- GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
259
+ GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
251
260
  GetActivityTaskOutput.struct_class = Types::GetActivityTaskOutput
252
261
 
253
262
  GetExecutionHistoryInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -270,6 +279,14 @@ module Aws::States
270
279
  HistoryEvent.add_member(:activity_started_event_details, Shapes::ShapeRef.new(shape: ActivityStartedEventDetails, location_name: "activityStartedEventDetails"))
271
280
  HistoryEvent.add_member(:activity_succeeded_event_details, Shapes::ShapeRef.new(shape: ActivitySucceededEventDetails, location_name: "activitySucceededEventDetails"))
272
281
  HistoryEvent.add_member(:activity_timed_out_event_details, Shapes::ShapeRef.new(shape: ActivityTimedOutEventDetails, location_name: "activityTimedOutEventDetails"))
282
+ HistoryEvent.add_member(:task_failed_event_details, Shapes::ShapeRef.new(shape: TaskFailedEventDetails, location_name: "taskFailedEventDetails"))
283
+ HistoryEvent.add_member(:task_scheduled_event_details, Shapes::ShapeRef.new(shape: TaskScheduledEventDetails, location_name: "taskScheduledEventDetails"))
284
+ HistoryEvent.add_member(:task_start_failed_event_details, Shapes::ShapeRef.new(shape: TaskStartFailedEventDetails, location_name: "taskStartFailedEventDetails"))
285
+ HistoryEvent.add_member(:task_started_event_details, Shapes::ShapeRef.new(shape: TaskStartedEventDetails, location_name: "taskStartedEventDetails"))
286
+ HistoryEvent.add_member(:task_submit_failed_event_details, Shapes::ShapeRef.new(shape: TaskSubmitFailedEventDetails, location_name: "taskSubmitFailedEventDetails"))
287
+ HistoryEvent.add_member(:task_submitted_event_details, Shapes::ShapeRef.new(shape: TaskSubmittedEventDetails, location_name: "taskSubmittedEventDetails"))
288
+ HistoryEvent.add_member(:task_succeeded_event_details, Shapes::ShapeRef.new(shape: TaskSucceededEventDetails, location_name: "taskSucceededEventDetails"))
289
+ HistoryEvent.add_member(:task_timed_out_event_details, Shapes::ShapeRef.new(shape: TaskTimedOutEventDetails, location_name: "taskTimedOutEventDetails"))
273
290
  HistoryEvent.add_member(:execution_failed_event_details, Shapes::ShapeRef.new(shape: ExecutionFailedEventDetails, location_name: "executionFailedEventDetails"))
274
291
  HistoryEvent.add_member(:execution_started_event_details, Shapes::ShapeRef.new(shape: ExecutionStartedEventDetails, location_name: "executionStartedEventDetails"))
275
292
  HistoryEvent.add_member(:execution_succeeded_event_details, Shapes::ShapeRef.new(shape: ExecutionSucceededEventDetails, location_name: "executionSucceededEventDetails"))
@@ -287,28 +304,28 @@ module Aws::States
287
304
 
288
305
  HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
289
306
 
290
- LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
291
- LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
307
+ LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
308
+ LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
292
309
  LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
293
310
 
294
- LambdaFunctionScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
295
- LambdaFunctionScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
311
+ LambdaFunctionScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
312
+ LambdaFunctionScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
296
313
  LambdaFunctionScheduleFailedEventDetails.struct_class = Types::LambdaFunctionScheduleFailedEventDetails
297
314
 
298
315
  LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
299
- LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
316
+ LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
300
317
  LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
301
318
  LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
302
319
 
303
- LambdaFunctionStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
304
- LambdaFunctionStartFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
320
+ LambdaFunctionStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
321
+ LambdaFunctionStartFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
305
322
  LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
306
323
 
307
- LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
324
+ LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
308
325
  LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
309
326
 
310
- LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
311
- LambdaFunctionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
327
+ LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
328
+ LambdaFunctionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
312
329
  LambdaFunctionTimedOutEventDetails.struct_class = Types::LambdaFunctionTimedOutEventDetails
313
330
 
314
331
  ListActivitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
@@ -338,8 +355,8 @@ module Aws::States
338
355
  ListStateMachinesOutput.struct_class = Types::ListStateMachinesOutput
339
356
 
340
357
  SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
341
- SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
342
- SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
358
+ SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
359
+ SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
343
360
  SendTaskFailureInput.struct_class = Types::SendTaskFailureInput
344
361
 
345
362
  SendTaskFailureOutput.struct_class = Types::SendTaskFailureOutput
@@ -350,14 +367,14 @@ module Aws::States
350
367
  SendTaskHeartbeatOutput.struct_class = Types::SendTaskHeartbeatOutput
351
368
 
352
369
  SendTaskSuccessInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
353
- SendTaskSuccessInput.add_member(:output, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "output"))
370
+ SendTaskSuccessInput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, required: true, location_name: "output"))
354
371
  SendTaskSuccessInput.struct_class = Types::SendTaskSuccessInput
355
372
 
356
373
  SendTaskSuccessOutput.struct_class = Types::SendTaskSuccessOutput
357
374
 
358
375
  StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
359
376
  StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
360
- StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
377
+ StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
361
378
  StartExecutionInput.struct_class = Types::StartExecutionInput
362
379
 
363
380
  StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -365,11 +382,11 @@ module Aws::States
365
382
  StartExecutionOutput.struct_class = Types::StartExecutionOutput
366
383
 
367
384
  StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
368
- StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
385
+ StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
369
386
  StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
370
387
 
371
388
  StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
372
- StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
389
+ StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
373
390
  StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
374
391
 
375
392
  StateMachineList.member = Shapes::ShapeRef.new(shape: StateMachineListItem)
@@ -380,13 +397,58 @@ module Aws::States
380
397
  StateMachineListItem.struct_class = Types::StateMachineListItem
381
398
 
382
399
  StopExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
383
- StopExecutionInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
384
- StopExecutionInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
400
+ StopExecutionInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
401
+ StopExecutionInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
385
402
  StopExecutionInput.struct_class = Types::StopExecutionInput
386
403
 
387
404
  StopExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stopDate"))
388
405
  StopExecutionOutput.struct_class = Types::StopExecutionOutput
389
406
 
407
+ TaskFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
408
+ TaskFailedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
409
+ TaskFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
410
+ TaskFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
411
+ TaskFailedEventDetails.struct_class = Types::TaskFailedEventDetails
412
+
413
+ TaskScheduledEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
414
+ TaskScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
415
+ TaskScheduledEventDetails.add_member(:region, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "region"))
416
+ TaskScheduledEventDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: ConnectorParameters, required: true, location_name: "parameters"))
417
+ TaskScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
418
+ TaskScheduledEventDetails.struct_class = Types::TaskScheduledEventDetails
419
+
420
+ TaskStartFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
421
+ TaskStartFailedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
422
+ TaskStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
423
+ TaskStartFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
424
+ TaskStartFailedEventDetails.struct_class = Types::TaskStartFailedEventDetails
425
+
426
+ TaskStartedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
427
+ TaskStartedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
428
+ TaskStartedEventDetails.struct_class = Types::TaskStartedEventDetails
429
+
430
+ TaskSubmitFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
431
+ TaskSubmitFailedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
432
+ TaskSubmitFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
433
+ TaskSubmitFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
434
+ TaskSubmitFailedEventDetails.struct_class = Types::TaskSubmitFailedEventDetails
435
+
436
+ TaskSubmittedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
437
+ TaskSubmittedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
438
+ TaskSubmittedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
439
+ TaskSubmittedEventDetails.struct_class = Types::TaskSubmittedEventDetails
440
+
441
+ TaskSucceededEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
442
+ TaskSucceededEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
443
+ TaskSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
444
+ TaskSucceededEventDetails.struct_class = Types::TaskSucceededEventDetails
445
+
446
+ TaskTimedOutEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
447
+ TaskTimedOutEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
448
+ TaskTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
449
+ TaskTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
450
+ TaskTimedOutEventDetails.struct_class = Types::TaskTimedOutEventDetails
451
+
390
452
  UpdateStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
391
453
  UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
392
454
  UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
@@ -8,7 +8,7 @@
8
8
  module Aws::States
9
9
  module Types
10
10
 
11
- # Contains details about an activity which failed during an execution.
11
+ # Contains details about an activity that failed during an execution.
12
12
  #
13
13
  # @!attribute [rw] error
14
14
  # The error code of the failure.
@@ -61,7 +61,7 @@ module Aws::States
61
61
  include Aws::Structure
62
62
  end
63
63
 
64
- # Contains details about an activity schedule failure which occurred
64
+ # Contains details about an activity schedule failure that occurred
65
65
  # during an execution.
66
66
  #
67
67
  # @!attribute [rw] error
@@ -123,8 +123,8 @@ module Aws::States
123
123
  include Aws::Structure
124
124
  end
125
125
 
126
- # Contains details about an activity which successfully terminated
127
- # during an execution.
126
+ # Contains details about an activity that successfully terminated during
127
+ # an execution.
128
128
  #
129
129
  # @!attribute [rw] output
130
130
  # The JSON data output by the activity task.
@@ -137,7 +137,7 @@ module Aws::States
137
137
  include Aws::Structure
138
138
  end
139
139
 
140
- # Contains details about an activity timeout which occurred during an
140
+ # Contains details about an activity timeout that occurred during an
141
141
  # execution.
142
142
  #
143
143
  # @!attribute [rw] error
@@ -219,10 +219,7 @@ module Aws::States
219
219
  # }
220
220
  #
221
221
  # @!attribute [rw] name
222
- # The name of the state machine. This name must be unique for your AWS
223
- # account and region for 90 days. For more information, see [ Limits
224
- # Related to State Machine Executions][1] in the *AWS Step Functions
225
- # Developer Guide*.
222
+ # The name of the state machine.
226
223
  #
227
224
  # A name must *not* contain:
228
225
  #
@@ -235,14 +232,15 @@ module Aws::States
235
232
  # * special characters `` " # % \ ^ | ~ ` $ & , ; : / ``
236
233
  #
237
234
  # * control characters (`U+0000-001F`, `U+007F-009F`)
235
+ # @return [String]
238
236
  #
237
+ # @!attribute [rw] definition
238
+ # The Amazon States Language definition of the state machine. See
239
+ # [Amazon States Language][1].
239
240
  #
240
241
  #
241
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
242
- # @return [String]
243
242
  #
244
- # @!attribute [rw] definition
245
- # The Amazon States Language definition of the state machine.
243
+ # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
246
244
  # @return [String]
247
245
  #
248
246
  # @!attribute [rw] role_arn
@@ -481,7 +479,12 @@ module Aws::States
481
479
  # @return [String]
482
480
  #
483
481
  # @!attribute [rw] definition
484
- # The Amazon States Language definition of the state machine.
482
+ # The Amazon States Language definition of the state machine. See
483
+ # [Amazon States Language][1].
484
+ #
485
+ #
486
+ #
487
+ # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
485
488
  # @return [String]
486
489
  #
487
490
  # @!attribute [rw] role_arn
@@ -549,7 +552,12 @@ module Aws::States
549
552
  # @return [String]
550
553
  #
551
554
  # @!attribute [rw] definition
552
- # The Amazon States Language definition of the state machine.
555
+ # The Amazon States Language definition of the state machine. See
556
+ # [Amazon States Language][1].
557
+ #
558
+ #
559
+ #
560
+ # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
553
561
  # @return [String]
554
562
  #
555
563
  # @!attribute [rw] role_arn
@@ -692,7 +700,7 @@ module Aws::States
692
700
  include Aws::Structure
693
701
  end
694
702
 
695
- # Contains details about the execution timeout which occurred during the
703
+ # Contains details about the execution timeout that occurred during the
696
704
  # execution.
697
705
  #
698
706
  # @!attribute [rw] error
@@ -774,7 +782,7 @@ module Aws::States
774
782
  # @!attribute [rw] max_results
775
783
  # The maximum number of results that are returned per call. You can
776
784
  # use `nextToken` to obtain further pages of results. The default is
777
- # 100 and the maximum allowed page size is 100. A value of 0 uses the
785
+ # 100 and the maximum allowed page size is 1000. A value of 0 uses the
778
786
  # default.
779
787
  #
780
788
  # This is only an upper limit. The actual number of results returned
@@ -786,13 +794,12 @@ module Aws::States
786
794
  # @return [Boolean]
787
795
  #
788
796
  # @!attribute [rw] next_token
789
- # If a `nextToken` is returned by a previous call, there are more
790
- # results available. To retrieve the next page of results, make the
791
- # call again using the returned token in `nextToken`. Keep all other
792
- # arguments unchanged.
793
- #
794
- # The configured `maxResults` determines how many results can be
795
- # returned in a single call.
797
+ # If `nextToken` is returned, there are more results available. The
798
+ # value of `nextToken` is a unique pagination token for each page.
799
+ # Make the call again using the returned token to retrieve the next
800
+ # page. Keep all other arguments unchanged. Each pagination token
801
+ # expires after 60 seconds. Using an expired pagination token will
802
+ # return an *HTTP 400 InvalidToken* error.
796
803
  # @return [String]
797
804
  #
798
805
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput AWS API Documentation
@@ -810,13 +817,12 @@ module Aws::States
810
817
  # @return [Array<Types::HistoryEvent>]
811
818
  #
812
819
  # @!attribute [rw] next_token
813
- # If a `nextToken` is returned by a previous call, there are more
814
- # results available. To retrieve the next page of results, make the
815
- # call again using the returned token in `nextToken`. Keep all other
816
- # arguments unchanged.
817
- #
818
- # The configured `maxResults` determines how many results can be
819
- # returned in a single call.
820
+ # If `nextToken` is returned, there are more results available. The
821
+ # value of `nextToken` is a unique pagination token for each page.
822
+ # Make the call again using the returned token to retrieve the next
823
+ # page. Keep all other arguments unchanged. Each pagination token
824
+ # expires after 60 seconds. Using an expired pagination token will
825
+ # return an *HTTP 400 InvalidToken* error.
820
826
  # @return [String]
821
827
  #
822
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryOutput AWS API Documentation
@@ -830,7 +836,7 @@ module Aws::States
830
836
  # Contains details about the events of an execution.
831
837
  #
832
838
  # @!attribute [rw] timestamp
833
- # The date the event occurred.
839
+ # The date and time the event occurred.
834
840
  # @return [Time]
835
841
  #
836
842
  # @!attribute [rw] type
@@ -847,12 +853,12 @@ module Aws::States
847
853
  # @return [Integer]
848
854
  #
849
855
  # @!attribute [rw] activity_failed_event_details
850
- # Contains details about an activity which failed during an execution.
856
+ # Contains details about an activity that failed during an execution.
851
857
  # @return [Types::ActivityFailedEventDetails]
852
858
  #
853
859
  # @!attribute [rw] activity_schedule_failed_event_details
854
- # Contains details about an activity schedule event which failed
855
- # during an execution.
860
+ # Contains details about an activity schedule event that failed during
861
+ # an execution.
856
862
  # @return [Types::ActivityScheduleFailedEventDetails]
857
863
  #
858
864
  # @!attribute [rw] activity_scheduled_event_details
@@ -864,15 +870,48 @@ module Aws::States
864
870
  # @return [Types::ActivityStartedEventDetails]
865
871
  #
866
872
  # @!attribute [rw] activity_succeeded_event_details
867
- # Contains details about an activity which successfully terminated
873
+ # Contains details about an activity that successfully terminated
868
874
  # during an execution.
869
875
  # @return [Types::ActivitySucceededEventDetails]
870
876
  #
871
877
  # @!attribute [rw] activity_timed_out_event_details
872
- # Contains details about an activity timeout which occurred during an
878
+ # Contains details about an activity timeout that occurred during an
873
879
  # execution.
874
880
  # @return [Types::ActivityTimedOutEventDetails]
875
881
  #
882
+ # @!attribute [rw] task_failed_event_details
883
+ # Contains details about a task failure event.
884
+ # @return [Types::TaskFailedEventDetails]
885
+ #
886
+ # @!attribute [rw] task_scheduled_event_details
887
+ # Contains details about a task scheduled during an execution.
888
+ # @return [Types::TaskScheduledEventDetails]
889
+ #
890
+ # @!attribute [rw] task_start_failed_event_details
891
+ # Contains details about a task that failed to start during an
892
+ # execution.
893
+ # @return [Types::TaskStartFailedEventDetails]
894
+ #
895
+ # @!attribute [rw] task_started_event_details
896
+ # Contains details about the start of a task during an execution.
897
+ # @return [Types::TaskStartedEventDetails]
898
+ #
899
+ # @!attribute [rw] task_submit_failed_event_details
900
+ # @return [Types::TaskSubmitFailedEventDetails]
901
+ #
902
+ # @!attribute [rw] task_submitted_event_details
903
+ # @return [Types::TaskSubmittedEventDetails]
904
+ #
905
+ # @!attribute [rw] task_succeeded_event_details
906
+ # Contains details about the start of connected service by a task
907
+ # state.
908
+ # @return [Types::TaskSucceededEventDetails]
909
+ #
910
+ # @!attribute [rw] task_timed_out_event_details
911
+ # Contains details about a connected service timeout that occured
912
+ # during an execution.
913
+ # @return [Types::TaskTimedOutEventDetails]
914
+ #
876
915
  # @!attribute [rw] execution_failed_event_details
877
916
  # Contains details about an execution failure event.
878
917
  # @return [Types::ExecutionFailedEventDetails]
@@ -890,17 +929,17 @@ module Aws::States
890
929
  # @return [Types::ExecutionAbortedEventDetails]
891
930
  #
892
931
  # @!attribute [rw] execution_timed_out_event_details
893
- # Contains details about the execution timeout which occurred during
932
+ # Contains details about the execution timeout that occurred during
894
933
  # the execution.
895
934
  # @return [Types::ExecutionTimedOutEventDetails]
896
935
  #
897
936
  # @!attribute [rw] lambda_function_failed_event_details
898
- # Contains details about a lambda function which failed during an
937
+ # Contains details about a lambda function that failed during an
899
938
  # execution.
900
939
  # @return [Types::LambdaFunctionFailedEventDetails]
901
940
  #
902
941
  # @!attribute [rw] lambda_function_schedule_failed_event_details
903
- # Contains details about a failed lambda function schedule event which
942
+ # Contains details about a failed lambda function schedule event that
904
943
  # occurred during an execution.
905
944
  # @return [Types::LambdaFunctionScheduleFailedEventDetails]
906
945
  #
@@ -910,17 +949,17 @@ module Aws::States
910
949
  # @return [Types::LambdaFunctionScheduledEventDetails]
911
950
  #
912
951
  # @!attribute [rw] lambda_function_start_failed_event_details
913
- # Contains details about a lambda function which failed to start
914
- # during an execution.
952
+ # Contains details about a lambda function that failed to start during
953
+ # an execution.
915
954
  # @return [Types::LambdaFunctionStartFailedEventDetails]
916
955
  #
917
956
  # @!attribute [rw] lambda_function_succeeded_event_details
918
- # Contains details about a lambda function which terminated
957
+ # Contains details about a lambda function that terminated
919
958
  # successfully during an execution.
920
959
  # @return [Types::LambdaFunctionSucceededEventDetails]
921
960
  #
922
961
  # @!attribute [rw] lambda_function_timed_out_event_details
923
- # Contains details about a lambda function timeout which occurred
962
+ # Contains details about a lambda function timeout that occurred
924
963
  # during an execution.
925
964
  # @return [Types::LambdaFunctionTimedOutEventDetails]
926
965
  #
@@ -945,6 +984,14 @@ module Aws::States
945
984
  :activity_started_event_details,
946
985
  :activity_succeeded_event_details,
947
986
  :activity_timed_out_event_details,
987
+ :task_failed_event_details,
988
+ :task_scheduled_event_details,
989
+ :task_start_failed_event_details,
990
+ :task_started_event_details,
991
+ :task_submit_failed_event_details,
992
+ :task_submitted_event_details,
993
+ :task_succeeded_event_details,
994
+ :task_timed_out_event_details,
948
995
  :execution_failed_event_details,
949
996
  :execution_started_event_details,
950
997
  :execution_succeeded_event_details,
@@ -961,7 +1008,7 @@ module Aws::States
961
1008
  include Aws::Structure
962
1009
  end
963
1010
 
964
- # Contains details about a lambda function which failed during an
1011
+ # Contains details about a lambda function that failed during an
965
1012
  # execution.
966
1013
  #
967
1014
  # @!attribute [rw] error
@@ -980,7 +1027,7 @@ module Aws::States
980
1027
  include Aws::Structure
981
1028
  end
982
1029
 
983
- # Contains details about a failed lambda function schedule event which
1030
+ # Contains details about a failed lambda function schedule event that
984
1031
  # occurred during an execution.
985
1032
  #
986
1033
  # @!attribute [rw] error
@@ -1023,7 +1070,7 @@ module Aws::States
1023
1070
  include Aws::Structure
1024
1071
  end
1025
1072
 
1026
- # Contains details about a lambda function which failed to start during
1073
+ # Contains details about a lambda function that failed to start during
1027
1074
  # an execution.
1028
1075
  #
1029
1076
  # @!attribute [rw] error
@@ -1042,7 +1089,7 @@ module Aws::States
1042
1089
  include Aws::Structure
1043
1090
  end
1044
1091
 
1045
- # Contains details about a lambda function which successfully terminated
1092
+ # Contains details about a lambda function that successfully terminated
1046
1093
  # during an execution.
1047
1094
  #
1048
1095
  # @!attribute [rw] output
@@ -1056,7 +1103,7 @@ module Aws::States
1056
1103
  include Aws::Structure
1057
1104
  end
1058
1105
 
1059
- # Contains details about a lambda function timeout which occurred during
1106
+ # Contains details about a lambda function timeout that occurred during
1060
1107
  # an execution.
1061
1108
  #
1062
1109
  # @!attribute [rw] error
@@ -1086,7 +1133,7 @@ module Aws::States
1086
1133
  # @!attribute [rw] max_results
1087
1134
  # The maximum number of results that are returned per call. You can
1088
1135
  # use `nextToken` to obtain further pages of results. The default is
1089
- # 100 and the maximum allowed page size is 100. A value of 0 uses the
1136
+ # 100 and the maximum allowed page size is 1000. A value of 0 uses the
1090
1137
  # default.
1091
1138
  #
1092
1139
  # This is only an upper limit. The actual number of results returned
@@ -1094,13 +1141,12 @@ module Aws::States
1094
1141
  # @return [Integer]
1095
1142
  #
1096
1143
  # @!attribute [rw] next_token
1097
- # If a `nextToken` is returned by a previous call, there are more
1098
- # results available. To retrieve the next page of results, make the
1099
- # call again using the returned token in `nextToken`. Keep all other
1100
- # arguments unchanged.
1101
- #
1102
- # The configured `maxResults` determines how many results can be
1103
- # returned in a single call.
1144
+ # If `nextToken` is returned, there are more results available. The
1145
+ # value of `nextToken` is a unique pagination token for each page.
1146
+ # Make the call again using the returned token to retrieve the next
1147
+ # page. Keep all other arguments unchanged. Each pagination token
1148
+ # expires after 60 seconds. Using an expired pagination token will
1149
+ # return an *HTTP 400 InvalidToken* error.
1104
1150
  # @return [String]
1105
1151
  #
1106
1152
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesInput AWS API Documentation
@@ -1116,13 +1162,12 @@ module Aws::States
1116
1162
  # @return [Array<Types::ActivityListItem>]
1117
1163
  #
1118
1164
  # @!attribute [rw] next_token
1119
- # If a `nextToken` is returned by a previous call, there are more
1120
- # results available. To retrieve the next page of results, make the
1121
- # call again using the returned token in `nextToken`. Keep all other
1122
- # arguments unchanged.
1123
- #
1124
- # The configured `maxResults` determines how many results can be
1125
- # returned in a single call.
1165
+ # If `nextToken` is returned, there are more results available. The
1166
+ # value of `nextToken` is a unique pagination token for each page.
1167
+ # Make the call again using the returned token to retrieve the next
1168
+ # page. Keep all other arguments unchanged. Each pagination token
1169
+ # expires after 60 seconds. Using an expired pagination token will
1170
+ # return an *HTTP 400 InvalidToken* error.
1126
1171
  # @return [String]
1127
1172
  #
1128
1173
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesOutput AWS API Documentation
@@ -1156,7 +1201,7 @@ module Aws::States
1156
1201
  # @!attribute [rw] max_results
1157
1202
  # The maximum number of results that are returned per call. You can
1158
1203
  # use `nextToken` to obtain further pages of results. The default is
1159
- # 100 and the maximum allowed page size is 100. A value of 0 uses the
1204
+ # 100 and the maximum allowed page size is 1000. A value of 0 uses the
1160
1205
  # default.
1161
1206
  #
1162
1207
  # This is only an upper limit. The actual number of results returned
@@ -1164,13 +1209,12 @@ module Aws::States
1164
1209
  # @return [Integer]
1165
1210
  #
1166
1211
  # @!attribute [rw] next_token
1167
- # If a `nextToken` is returned by a previous call, there are more
1168
- # results available. To retrieve the next page of results, make the
1169
- # call again using the returned token in `nextToken`. Keep all other
1170
- # arguments unchanged.
1171
- #
1172
- # The configured `maxResults` determines how many results can be
1173
- # returned in a single call.
1212
+ # If `nextToken` is returned, there are more results available. The
1213
+ # value of `nextToken` is a unique pagination token for each page.
1214
+ # Make the call again using the returned token to retrieve the next
1215
+ # page. Keep all other arguments unchanged. Each pagination token
1216
+ # expires after 60 seconds. Using an expired pagination token will
1217
+ # return an *HTTP 400 InvalidToken* error.
1174
1218
  # @return [String]
1175
1219
  #
1176
1220
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput AWS API Documentation
@@ -1188,13 +1232,12 @@ module Aws::States
1188
1232
  # @return [Array<Types::ExecutionListItem>]
1189
1233
  #
1190
1234
  # @!attribute [rw] next_token
1191
- # If a `nextToken` is returned by a previous call, there are more
1192
- # results available. To retrieve the next page of results, make the
1193
- # call again using the returned token in `nextToken`. Keep all other
1194
- # arguments unchanged.
1195
- #
1196
- # The configured `maxResults` determines how many results can be
1197
- # returned in a single call.
1235
+ # If `nextToken` is returned, there are more results available. The
1236
+ # value of `nextToken` is a unique pagination token for each page.
1237
+ # Make the call again using the returned token to retrieve the next
1238
+ # page. Keep all other arguments unchanged. Each pagination token
1239
+ # expires after 60 seconds. Using an expired pagination token will
1240
+ # return an *HTTP 400 InvalidToken* error.
1198
1241
  # @return [String]
1199
1242
  #
1200
1243
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsOutput AWS API Documentation
@@ -1216,7 +1259,7 @@ module Aws::States
1216
1259
  # @!attribute [rw] max_results
1217
1260
  # The maximum number of results that are returned per call. You can
1218
1261
  # use `nextToken` to obtain further pages of results. The default is
1219
- # 100 and the maximum allowed page size is 100. A value of 0 uses the
1262
+ # 100 and the maximum allowed page size is 1000. A value of 0 uses the
1220
1263
  # default.
1221
1264
  #
1222
1265
  # This is only an upper limit. The actual number of results returned
@@ -1224,13 +1267,12 @@ module Aws::States
1224
1267
  # @return [Integer]
1225
1268
  #
1226
1269
  # @!attribute [rw] next_token
1227
- # If a `nextToken` is returned by a previous call, there are more
1228
- # results available. To retrieve the next page of results, make the
1229
- # call again using the returned token in `nextToken`. Keep all other
1230
- # arguments unchanged.
1231
- #
1232
- # The configured `maxResults` determines how many results can be
1233
- # returned in a single call.
1270
+ # If `nextToken` is returned, there are more results available. The
1271
+ # value of `nextToken` is a unique pagination token for each page.
1272
+ # Make the call again using the returned token to retrieve the next
1273
+ # page. Keep all other arguments unchanged. Each pagination token
1274
+ # expires after 60 seconds. Using an expired pagination token will
1275
+ # return an *HTTP 400 InvalidToken* error.
1234
1276
  # @return [String]
1235
1277
  #
1236
1278
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesInput AWS API Documentation
@@ -1245,13 +1287,12 @@ module Aws::States
1245
1287
  # @return [Array<Types::StateMachineListItem>]
1246
1288
  #
1247
1289
  # @!attribute [rw] next_token
1248
- # If a `nextToken` is returned by a previous call, there are more
1249
- # results available. To retrieve the next page of results, make the
1250
- # call again using the returned token in `nextToken`. Keep all other
1251
- # arguments unchanged.
1252
- #
1253
- # The configured `maxResults` determines how many results can be
1254
- # returned in a single call.
1290
+ # If `nextToken` is returned, there are more results available. The
1291
+ # value of `nextToken` is a unique pagination token for each page.
1292
+ # Make the call again using the returned token to retrieve the next
1293
+ # page. Keep all other arguments unchanged. Each pagination token
1294
+ # expires after 60 seconds. Using an expired pagination token will
1295
+ # return an *HTTP 400 InvalidToken* error.
1255
1296
  # @return [String]
1256
1297
  #
1257
1298
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesOutput AWS API Documentation
@@ -1267,8 +1308,8 @@ module Aws::States
1267
1308
  #
1268
1309
  # {
1269
1310
  # task_token: "TaskToken", # required
1270
- # error: "Error",
1271
- # cause: "Cause",
1311
+ # error: "SensitiveError",
1312
+ # cause: "SensitiveCause",
1272
1313
  # }
1273
1314
  #
1274
1315
  # @!attribute [rw] task_token
@@ -1278,7 +1319,7 @@ module Aws::States
1278
1319
  # @return [String]
1279
1320
  #
1280
1321
  # @!attribute [rw] error
1281
- # An arbitrary error code that identifies the cause of the failure.
1322
+ # The error code of the failure.
1282
1323
  # @return [String]
1283
1324
  #
1284
1325
  # @!attribute [rw] cause
@@ -1327,7 +1368,7 @@ module Aws::States
1327
1368
  #
1328
1369
  # {
1329
1370
  # task_token: "TaskToken", # required
1330
- # output: "Data", # required
1371
+ # output: "SensitiveData", # required
1331
1372
  # }
1332
1373
  #
1333
1374
  # @!attribute [rw] task_token
@@ -1358,7 +1399,7 @@ module Aws::States
1358
1399
  # {
1359
1400
  # state_machine_arn: "Arn", # required
1360
1401
  # name: "Name",
1361
- # input: "Data",
1402
+ # input: "SensitiveData",
1362
1403
  # }
1363
1404
  #
1364
1405
  # @!attribute [rw] state_machine_arn
@@ -1371,21 +1412,6 @@ module Aws::States
1371
1412
  # Related to State Machine Executions][1] in the *AWS Step Functions
1372
1413
  # Developer Guide*.
1373
1414
  #
1374
- # An execution can't use the name of another execution for 90 days.
1375
- #
1376
- # When you make multiple `StartExecution` calls with the same name,
1377
- # the new execution doesn't run and the following rules apply:
1378
- #
1379
- # * When the original execution is open and the execution input from
1380
- # the new call is *different*, the `ExecutionAlreadyExists` message
1381
- # is returned.
1382
- #
1383
- # * When the original execution is open and the execution input from
1384
- # the new call is *identical*, the `Success` message is returned.
1385
- #
1386
- # * When the original execution is closed, the
1387
- # `ExecutionAlreadyExists` message is returned regardless of input.
1388
- #
1389
1415
  # A name must *not* contain:
1390
1416
  #
1391
1417
  # * whitespace
@@ -1528,8 +1554,8 @@ module Aws::States
1528
1554
  #
1529
1555
  # {
1530
1556
  # execution_arn: "Arn", # required
1531
- # error: "Error",
1532
- # cause: "Cause",
1557
+ # error: "SensitiveError",
1558
+ # cause: "SensitiveCause",
1533
1559
  # }
1534
1560
  #
1535
1561
  # @!attribute [rw] execution_arn
@@ -1537,12 +1563,11 @@ module Aws::States
1537
1563
  # @return [String]
1538
1564
  #
1539
1565
  # @!attribute [rw] error
1540
- # An arbitrary error code that identifies the cause of the
1541
- # termination.
1566
+ # The error code of the failure.
1542
1567
  # @return [String]
1543
1568
  #
1544
1569
  # @!attribute [rw] cause
1545
- # A more detailed explanation of the cause of the termination.
1570
+ # A more detailed explanation of the cause of the failure.
1546
1571
  # @return [String]
1547
1572
  #
1548
1573
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionInput AWS API Documentation
@@ -1565,6 +1590,214 @@ module Aws::States
1565
1590
  include Aws::Structure
1566
1591
  end
1567
1592
 
1593
+ # Contains details about a task failure event.
1594
+ #
1595
+ # @!attribute [rw] resource_type
1596
+ # The action of the connected service called by a task state.
1597
+ # @return [String]
1598
+ #
1599
+ # @!attribute [rw] resource
1600
+ # The service name of the connected service in a task state.
1601
+ # @return [String]
1602
+ #
1603
+ # @!attribute [rw] error
1604
+ # The error code of the failure.
1605
+ # @return [String]
1606
+ #
1607
+ # @!attribute [rw] cause
1608
+ # A more detailed explanation of the cause of the failure.
1609
+ # @return [String]
1610
+ #
1611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskFailedEventDetails AWS API Documentation
1612
+ #
1613
+ class TaskFailedEventDetails < Struct.new(
1614
+ :resource_type,
1615
+ :resource,
1616
+ :error,
1617
+ :cause)
1618
+ include Aws::Structure
1619
+ end
1620
+
1621
+ # Contains details about a task scheduled during an execution.
1622
+ #
1623
+ # @!attribute [rw] resource_type
1624
+ # The action of the connected service called by a task state.
1625
+ # @return [String]
1626
+ #
1627
+ # @!attribute [rw] resource
1628
+ # The service name of the connected service in a task state.
1629
+ # @return [String]
1630
+ #
1631
+ # @!attribute [rw] region
1632
+ # @return [String]
1633
+ #
1634
+ # @!attribute [rw] parameters
1635
+ # The JSON data passed to the connected service referenced in a task
1636
+ # state.
1637
+ # @return [String]
1638
+ #
1639
+ # @!attribute [rw] timeout_in_seconds
1640
+ # The maximum allowed duration of the task.
1641
+ # @return [Integer]
1642
+ #
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
1644
+ #
1645
+ class TaskScheduledEventDetails < Struct.new(
1646
+ :resource_type,
1647
+ :resource,
1648
+ :region,
1649
+ :parameters,
1650
+ :timeout_in_seconds)
1651
+ include Aws::Structure
1652
+ end
1653
+
1654
+ # Contains details about a task that failed to start during an
1655
+ # execution.
1656
+ #
1657
+ # @!attribute [rw] resource_type
1658
+ # The action of the connected service called by a task state.
1659
+ # @return [String]
1660
+ #
1661
+ # @!attribute [rw] resource
1662
+ # The service name of the connected service in a task state.
1663
+ # @return [String]
1664
+ #
1665
+ # @!attribute [rw] error
1666
+ # The error code of the failure.
1667
+ # @return [String]
1668
+ #
1669
+ # @!attribute [rw] cause
1670
+ # A more detailed explanation of the cause of the failure.
1671
+ # @return [String]
1672
+ #
1673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskStartFailedEventDetails AWS API Documentation
1674
+ #
1675
+ class TaskStartFailedEventDetails < Struct.new(
1676
+ :resource_type,
1677
+ :resource,
1678
+ :error,
1679
+ :cause)
1680
+ include Aws::Structure
1681
+ end
1682
+
1683
+ # Contains details about the start of a task during an execution.
1684
+ #
1685
+ # @!attribute [rw] resource_type
1686
+ # The action of the connected service called by a task state.
1687
+ # @return [String]
1688
+ #
1689
+ # @!attribute [rw] resource
1690
+ # The service name of the connected service in a task state.
1691
+ # @return [String]
1692
+ #
1693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskStartedEventDetails AWS API Documentation
1694
+ #
1695
+ class TaskStartedEventDetails < Struct.new(
1696
+ :resource_type,
1697
+ :resource)
1698
+ include Aws::Structure
1699
+ end
1700
+
1701
+ # @!attribute [rw] resource_type
1702
+ # The action of the connected service called by a task state.
1703
+ # @return [String]
1704
+ #
1705
+ # @!attribute [rw] resource
1706
+ # The service name of the connected service in a task state.
1707
+ # @return [String]
1708
+ #
1709
+ # @!attribute [rw] error
1710
+ # The error code of the failure.
1711
+ # @return [String]
1712
+ #
1713
+ # @!attribute [rw] cause
1714
+ # A more detailed explanation of the cause of the failure.
1715
+ # @return [String]
1716
+ #
1717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmitFailedEventDetails AWS API Documentation
1718
+ #
1719
+ class TaskSubmitFailedEventDetails < Struct.new(
1720
+ :resource_type,
1721
+ :resource,
1722
+ :error,
1723
+ :cause)
1724
+ include Aws::Structure
1725
+ end
1726
+
1727
+ # @!attribute [rw] resource_type
1728
+ # The action of the connected service called by a task state.
1729
+ # @return [String]
1730
+ #
1731
+ # @!attribute [rw] resource
1732
+ # The service name of the connected service in a task state.
1733
+ # @return [String]
1734
+ #
1735
+ # @!attribute [rw] output
1736
+ # The response from a connected service when a task has started.
1737
+ # @return [String]
1738
+ #
1739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails AWS API Documentation
1740
+ #
1741
+ class TaskSubmittedEventDetails < Struct.new(
1742
+ :resource_type,
1743
+ :resource,
1744
+ :output)
1745
+ include Aws::Structure
1746
+ end
1747
+
1748
+ # Contains details about the start of connected service by a task state.
1749
+ #
1750
+ # @!attribute [rw] resource_type
1751
+ # The action of the connected service called by a task state.
1752
+ # @return [String]
1753
+ #
1754
+ # @!attribute [rw] resource
1755
+ # The service name of the connected service in a task state.
1756
+ # @return [String]
1757
+ #
1758
+ # @!attribute [rw] output
1759
+ # The full JSON response from a connected service when a task has
1760
+ # succeeded. This response becomes the output of the related task.
1761
+ # @return [String]
1762
+ #
1763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSucceededEventDetails AWS API Documentation
1764
+ #
1765
+ class TaskSucceededEventDetails < Struct.new(
1766
+ :resource_type,
1767
+ :resource,
1768
+ :output)
1769
+ include Aws::Structure
1770
+ end
1771
+
1772
+ # Contains details about a connected service timeout that occured during
1773
+ # an execution.
1774
+ #
1775
+ # @!attribute [rw] resource_type
1776
+ # The action of the connected service called by a task state.
1777
+ # @return [String]
1778
+ #
1779
+ # @!attribute [rw] resource
1780
+ # The service name of the connected service in a task state.
1781
+ # @return [String]
1782
+ #
1783
+ # @!attribute [rw] error
1784
+ # The error code of the failure.
1785
+ # @return [String]
1786
+ #
1787
+ # @!attribute [rw] cause
1788
+ # A more detailed explanation of the cause of the failure.
1789
+ # @return [String]
1790
+ #
1791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskTimedOutEventDetails AWS API Documentation
1792
+ #
1793
+ class TaskTimedOutEventDetails < Struct.new(
1794
+ :resource_type,
1795
+ :resource,
1796
+ :error,
1797
+ :cause)
1798
+ include Aws::Structure
1799
+ end
1800
+
1568
1801
  # @note When making an API call, you may pass UpdateStateMachineInput
1569
1802
  # data as a hash:
1570
1803
  #
@@ -1579,7 +1812,12 @@ module Aws::States
1579
1812
  # @return [String]
1580
1813
  #
1581
1814
  # @!attribute [rw] definition
1582
- # The Amazon States Language definition of the state machine.
1815
+ # The Amazon States Language definition of the state machine. See
1816
+ # [Amazon States Language][1].
1817
+ #
1818
+ #
1819
+ #
1820
+ # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
1583
1821
  # @return [String]
1584
1822
  #
1585
1823
  # @!attribute [rw] role_arn