aws-sdk-sfn 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,600 +1,598 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module SFN
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- ActivityDoesNotExist = Shapes::StructureShape.new(name: 'ActivityDoesNotExist')
16
- ActivityFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityFailedEventDetails')
17
- ActivityLimitExceeded = Shapes::StructureShape.new(name: 'ActivityLimitExceeded')
18
- ActivityList = Shapes::ListShape.new(name: 'ActivityList')
19
- ActivityListItem = Shapes::StructureShape.new(name: 'ActivityListItem')
20
- ActivityScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityScheduleFailedEventDetails')
21
- ActivityScheduledEventDetails = Shapes::StructureShape.new(name: 'ActivityScheduledEventDetails')
22
- ActivityStartedEventDetails = Shapes::StructureShape.new(name: 'ActivityStartedEventDetails')
23
- ActivitySucceededEventDetails = Shapes::StructureShape.new(name: 'ActivitySucceededEventDetails')
24
- ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
25
- ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
26
- Arn = Shapes::StringShape.new(name: 'Arn')
27
- Cause = Shapes::StringShape.new(name: 'Cause')
28
- CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
29
- CreateActivityOutput = Shapes::StructureShape.new(name: 'CreateActivityOutput')
30
- CreateStateMachineInput = Shapes::StructureShape.new(name: 'CreateStateMachineInput')
31
- CreateStateMachineOutput = Shapes::StructureShape.new(name: 'CreateStateMachineOutput')
32
- Data = Shapes::StringShape.new(name: 'Data')
33
- Definition = Shapes::StringShape.new(name: 'Definition')
34
- DeleteActivityInput = Shapes::StructureShape.new(name: 'DeleteActivityInput')
35
- DeleteActivityOutput = Shapes::StructureShape.new(name: 'DeleteActivityOutput')
36
- DeleteStateMachineInput = Shapes::StructureShape.new(name: 'DeleteStateMachineInput')
37
- DeleteStateMachineOutput = Shapes::StructureShape.new(name: 'DeleteStateMachineOutput')
38
- DescribeActivityInput = Shapes::StructureShape.new(name: 'DescribeActivityInput')
39
- DescribeActivityOutput = Shapes::StructureShape.new(name: 'DescribeActivityOutput')
40
- DescribeExecutionInput = Shapes::StructureShape.new(name: 'DescribeExecutionInput')
41
- DescribeExecutionOutput = Shapes::StructureShape.new(name: 'DescribeExecutionOutput')
42
- DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
43
- DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
44
- Error = Shapes::StringShape.new(name: 'Error')
45
- ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
46
- EventId = Shapes::IntegerShape.new(name: 'EventId')
47
- ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
48
- ExecutionAlreadyExists = Shapes::StructureShape.new(name: 'ExecutionAlreadyExists')
49
- ExecutionDoesNotExist = Shapes::StructureShape.new(name: 'ExecutionDoesNotExist')
50
- ExecutionFailedEventDetails = Shapes::StructureShape.new(name: 'ExecutionFailedEventDetails')
51
- ExecutionLimitExceeded = Shapes::StructureShape.new(name: 'ExecutionLimitExceeded')
52
- ExecutionList = Shapes::ListShape.new(name: 'ExecutionList')
53
- ExecutionListItem = Shapes::StructureShape.new(name: 'ExecutionListItem')
54
- ExecutionStartedEventDetails = Shapes::StructureShape.new(name: 'ExecutionStartedEventDetails')
55
- ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
56
- ExecutionSucceededEventDetails = Shapes::StructureShape.new(name: 'ExecutionSucceededEventDetails')
57
- ExecutionTimedOutEventDetails = Shapes::StructureShape.new(name: 'ExecutionTimedOutEventDetails')
58
- GetActivityTaskInput = Shapes::StructureShape.new(name: 'GetActivityTaskInput')
59
- GetActivityTaskOutput = Shapes::StructureShape.new(name: 'GetActivityTaskOutput')
60
- GetExecutionHistoryInput = Shapes::StructureShape.new(name: 'GetExecutionHistoryInput')
61
- GetExecutionHistoryOutput = Shapes::StructureShape.new(name: 'GetExecutionHistoryOutput')
62
- HistoryEvent = Shapes::StructureShape.new(name: 'HistoryEvent')
63
- HistoryEventList = Shapes::ListShape.new(name: 'HistoryEventList')
64
- HistoryEventType = Shapes::StringShape.new(name: 'HistoryEventType')
65
- Identity = Shapes::StringShape.new(name: 'Identity')
66
- InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
67
- InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
68
- InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
69
- InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
70
- InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
71
- InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
72
- LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
73
- LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
74
- LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
75
- LambdaFunctionStartFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionStartFailedEventDetails')
76
- LambdaFunctionSucceededEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionSucceededEventDetails')
77
- LambdaFunctionTimedOutEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionTimedOutEventDetails')
78
- ListActivitiesInput = Shapes::StructureShape.new(name: 'ListActivitiesInput')
79
- ListActivitiesOutput = Shapes::StructureShape.new(name: 'ListActivitiesOutput')
80
- ListExecutionsInput = Shapes::StructureShape.new(name: 'ListExecutionsInput')
81
- ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
82
- ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
83
- ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
84
- Name = Shapes::StringShape.new(name: 'Name')
85
- PageSize = Shapes::IntegerShape.new(name: 'PageSize')
86
- PageToken = Shapes::StringShape.new(name: 'PageToken')
87
- ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
88
- SendTaskFailureInput = Shapes::StructureShape.new(name: 'SendTaskFailureInput')
89
- SendTaskFailureOutput = Shapes::StructureShape.new(name: 'SendTaskFailureOutput')
90
- SendTaskHeartbeatInput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatInput')
91
- SendTaskHeartbeatOutput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatOutput')
92
- SendTaskSuccessInput = Shapes::StructureShape.new(name: 'SendTaskSuccessInput')
93
- SendTaskSuccessOutput = Shapes::StructureShape.new(name: 'SendTaskSuccessOutput')
94
- StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
95
- StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
96
- StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
97
- StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
98
- StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
99
- StateMachineDeleting = Shapes::StructureShape.new(name: 'StateMachineDeleting')
100
- StateMachineDoesNotExist = Shapes::StructureShape.new(name: 'StateMachineDoesNotExist')
101
- StateMachineLimitExceeded = Shapes::StructureShape.new(name: 'StateMachineLimitExceeded')
102
- StateMachineList = Shapes::ListShape.new(name: 'StateMachineList')
103
- StateMachineListItem = Shapes::StructureShape.new(name: 'StateMachineListItem')
104
- StateMachineStatus = Shapes::StringShape.new(name: 'StateMachineStatus')
105
- StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
106
- StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
107
- TaskDoesNotExist = Shapes::StructureShape.new(name: 'TaskDoesNotExist')
108
- TaskTimedOut = Shapes::StructureShape.new(name: 'TaskTimedOut')
109
- TaskToken = Shapes::StringShape.new(name: 'TaskToken')
110
- TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
111
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
112
-
113
- ActivityFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
114
- ActivityFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
115
- ActivityFailedEventDetails.struct_class = Types::ActivityFailedEventDetails
116
-
117
- ActivityList.member = Shapes::ShapeRef.new(shape: ActivityListItem)
118
-
119
- ActivityListItem.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
120
- ActivityListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
121
- ActivityListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
122
- ActivityListItem.struct_class = Types::ActivityListItem
123
-
124
- ActivityScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
125
- ActivityScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
126
- ActivityScheduleFailedEventDetails.struct_class = Types::ActivityScheduleFailedEventDetails
127
-
128
- ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
129
- ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
130
- ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
131
- ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
132
- ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
133
-
134
- ActivityStartedEventDetails.add_member(:worker_name, Shapes::ShapeRef.new(shape: Identity, location_name: "workerName"))
135
- ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
136
-
137
- ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
138
- ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
139
-
140
- ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
141
- ActivityTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
142
- ActivityTimedOutEventDetails.struct_class = Types::ActivityTimedOutEventDetails
143
-
144
- CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
145
- CreateActivityInput.struct_class = Types::CreateActivityInput
146
-
147
- CreateActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
148
- CreateActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
149
- CreateActivityOutput.struct_class = Types::CreateActivityOutput
150
-
151
- CreateStateMachineInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
152
- CreateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
153
- CreateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
154
- CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
155
-
156
- CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
157
- CreateStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
158
- CreateStateMachineOutput.struct_class = Types::CreateStateMachineOutput
159
-
160
- DeleteActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
161
- DeleteActivityInput.struct_class = Types::DeleteActivityInput
162
-
163
- DeleteActivityOutput.struct_class = Types::DeleteActivityOutput
164
-
165
- DeleteStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
166
- DeleteStateMachineInput.struct_class = Types::DeleteStateMachineInput
167
-
168
- DeleteStateMachineOutput.struct_class = Types::DeleteStateMachineOutput
169
-
170
- DescribeActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
171
- DescribeActivityInput.struct_class = Types::DescribeActivityInput
172
-
173
- DescribeActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
174
- DescribeActivityOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
175
- DescribeActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
176
- DescribeActivityOutput.struct_class = Types::DescribeActivityOutput
177
-
178
- DescribeExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
179
- DescribeExecutionInput.struct_class = Types::DescribeExecutionInput
180
-
181
- DescribeExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
182
- DescribeExecutionOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
183
- DescribeExecutionOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
184
- DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
185
- DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
186
- DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
187
- DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "input"))
188
- DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
189
- DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
190
-
191
- DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
192
- DescribeStateMachineInput.struct_class = Types::DescribeStateMachineInput
193
-
194
- DescribeStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
195
- DescribeStateMachineOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
196
- DescribeStateMachineOutput.add_member(:status, Shapes::ShapeRef.new(shape: StateMachineStatus, location_name: "status"))
197
- DescribeStateMachineOutput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
198
- DescribeStateMachineOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
199
- DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
200
- DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
201
-
202
- ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
203
- ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
204
- ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
205
-
206
- ExecutionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
207
- ExecutionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
208
- ExecutionFailedEventDetails.struct_class = Types::ExecutionFailedEventDetails
209
-
210
- ExecutionList.member = Shapes::ShapeRef.new(shape: ExecutionListItem)
211
-
212
- ExecutionListItem.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
213
- ExecutionListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
214
- ExecutionListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
215
- ExecutionListItem.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
216
- ExecutionListItem.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
217
- ExecutionListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
218
- ExecutionListItem.struct_class = Types::ExecutionListItem
219
-
220
- ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
221
- ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
222
- ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
223
-
224
- ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
225
- ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
226
-
227
- ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
228
- ExecutionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
229
- ExecutionTimedOutEventDetails.struct_class = Types::ExecutionTimedOutEventDetails
230
-
231
- GetActivityTaskInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
232
- GetActivityTaskInput.add_member(:worker_name, Shapes::ShapeRef.new(shape: Name, location_name: "workerName"))
233
- GetActivityTaskInput.struct_class = Types::GetActivityTaskInput
234
-
235
- GetActivityTaskOutput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, location_name: "taskToken"))
236
- GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
237
- GetActivityTaskOutput.struct_class = Types::GetActivityTaskOutput
238
-
239
- GetExecutionHistoryInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
240
- GetExecutionHistoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
241
- GetExecutionHistoryInput.add_member(:reverse_order, Shapes::ShapeRef.new(shape: ReverseOrder, location_name: "reverseOrder"))
242
- GetExecutionHistoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
243
- GetExecutionHistoryInput.struct_class = Types::GetExecutionHistoryInput
244
-
245
- GetExecutionHistoryOutput.add_member(:events, Shapes::ShapeRef.new(shape: HistoryEventList, required: true, location_name: "events"))
246
- GetExecutionHistoryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
247
- GetExecutionHistoryOutput.struct_class = Types::GetExecutionHistoryOutput
248
-
249
- HistoryEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
250
- HistoryEvent.add_member(:type, Shapes::ShapeRef.new(shape: HistoryEventType, required: true, location_name: "type"))
251
- HistoryEvent.add_member(:id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "id"))
252
- HistoryEvent.add_member(:previous_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "previousEventId"))
253
- HistoryEvent.add_member(:activity_failed_event_details, Shapes::ShapeRef.new(shape: ActivityFailedEventDetails, location_name: "activityFailedEventDetails"))
254
- HistoryEvent.add_member(:activity_schedule_failed_event_details, Shapes::ShapeRef.new(shape: ActivityScheduleFailedEventDetails, location_name: "activityScheduleFailedEventDetails"))
255
- HistoryEvent.add_member(:activity_scheduled_event_details, Shapes::ShapeRef.new(shape: ActivityScheduledEventDetails, location_name: "activityScheduledEventDetails"))
256
- HistoryEvent.add_member(:activity_started_event_details, Shapes::ShapeRef.new(shape: ActivityStartedEventDetails, location_name: "activityStartedEventDetails"))
257
- HistoryEvent.add_member(:activity_succeeded_event_details, Shapes::ShapeRef.new(shape: ActivitySucceededEventDetails, location_name: "activitySucceededEventDetails"))
258
- HistoryEvent.add_member(:activity_timed_out_event_details, Shapes::ShapeRef.new(shape: ActivityTimedOutEventDetails, location_name: "activityTimedOutEventDetails"))
259
- HistoryEvent.add_member(:execution_failed_event_details, Shapes::ShapeRef.new(shape: ExecutionFailedEventDetails, location_name: "executionFailedEventDetails"))
260
- HistoryEvent.add_member(:execution_started_event_details, Shapes::ShapeRef.new(shape: ExecutionStartedEventDetails, location_name: "executionStartedEventDetails"))
261
- HistoryEvent.add_member(:execution_succeeded_event_details, Shapes::ShapeRef.new(shape: ExecutionSucceededEventDetails, location_name: "executionSucceededEventDetails"))
262
- HistoryEvent.add_member(:execution_aborted_event_details, Shapes::ShapeRef.new(shape: ExecutionAbortedEventDetails, location_name: "executionAbortedEventDetails"))
263
- HistoryEvent.add_member(:execution_timed_out_event_details, Shapes::ShapeRef.new(shape: ExecutionTimedOutEventDetails, location_name: "executionTimedOutEventDetails"))
264
- HistoryEvent.add_member(:lambda_function_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionFailedEventDetails, location_name: "lambdaFunctionFailedEventDetails"))
265
- HistoryEvent.add_member(:lambda_function_schedule_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduleFailedEventDetails, location_name: "lambdaFunctionScheduleFailedEventDetails"))
266
- HistoryEvent.add_member(:lambda_function_scheduled_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduledEventDetails, location_name: "lambdaFunctionScheduledEventDetails"))
267
- HistoryEvent.add_member(:lambda_function_start_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionStartFailedEventDetails, location_name: "lambdaFunctionStartFailedEventDetails"))
268
- HistoryEvent.add_member(:lambda_function_succeeded_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionSucceededEventDetails, location_name: "lambdaFunctionSucceededEventDetails"))
269
- HistoryEvent.add_member(:lambda_function_timed_out_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionTimedOutEventDetails, location_name: "lambdaFunctionTimedOutEventDetails"))
270
- HistoryEvent.add_member(:state_entered_event_details, Shapes::ShapeRef.new(shape: StateEnteredEventDetails, location_name: "stateEnteredEventDetails"))
271
- HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
272
- HistoryEvent.struct_class = Types::HistoryEvent
273
-
274
- HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
275
-
276
- LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
277
- LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
278
- LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
279
-
280
- LambdaFunctionScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
281
- LambdaFunctionScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
282
- LambdaFunctionScheduleFailedEventDetails.struct_class = Types::LambdaFunctionScheduleFailedEventDetails
283
-
284
- LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
285
- LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
286
- LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
287
- LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
288
-
289
- LambdaFunctionStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
290
- LambdaFunctionStartFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
291
- LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
292
-
293
- LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
294
- LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
295
-
296
- LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
297
- LambdaFunctionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
298
- LambdaFunctionTimedOutEventDetails.struct_class = Types::LambdaFunctionTimedOutEventDetails
299
-
300
- ListActivitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
301
- ListActivitiesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
302
- ListActivitiesInput.struct_class = Types::ListActivitiesInput
303
-
304
- ListActivitiesOutput.add_member(:activities, Shapes::ShapeRef.new(shape: ActivityList, required: true, location_name: "activities"))
305
- ListActivitiesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
306
- ListActivitiesOutput.struct_class = Types::ListActivitiesOutput
307
-
308
- ListExecutionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
309
- ListExecutionsInput.add_member(:status_filter, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "statusFilter"))
310
- ListExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
311
- ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
312
- ListExecutionsInput.struct_class = Types::ListExecutionsInput
313
-
314
- ListExecutionsOutput.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionList, required: true, location_name: "executions"))
315
- ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
316
- ListExecutionsOutput.struct_class = Types::ListExecutionsOutput
317
-
318
- ListStateMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
319
- ListStateMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
320
- ListStateMachinesInput.struct_class = Types::ListStateMachinesInput
321
-
322
- ListStateMachinesOutput.add_member(:state_machines, Shapes::ShapeRef.new(shape: StateMachineList, required: true, location_name: "stateMachines"))
323
- ListStateMachinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
324
- ListStateMachinesOutput.struct_class = Types::ListStateMachinesOutput
325
-
326
- SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
327
- SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
328
- SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
329
- SendTaskFailureInput.struct_class = Types::SendTaskFailureInput
330
-
331
- SendTaskFailureOutput.struct_class = Types::SendTaskFailureOutput
332
-
333
- SendTaskHeartbeatInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
334
- SendTaskHeartbeatInput.struct_class = Types::SendTaskHeartbeatInput
335
-
336
- SendTaskHeartbeatOutput.struct_class = Types::SendTaskHeartbeatOutput
337
-
338
- SendTaskSuccessInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
339
- SendTaskSuccessInput.add_member(:output, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "output"))
340
- SendTaskSuccessInput.struct_class = Types::SendTaskSuccessInput
341
-
342
- SendTaskSuccessOutput.struct_class = Types::SendTaskSuccessOutput
343
-
344
- StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
345
- StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
346
- StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
347
- StartExecutionInput.struct_class = Types::StartExecutionInput
348
-
349
- StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
350
- StartExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
351
- StartExecutionOutput.struct_class = Types::StartExecutionOutput
352
-
353
- StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
354
- StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
355
- StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
356
-
357
- StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
358
- StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
359
- StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
360
-
361
- StateMachineList.member = Shapes::ShapeRef.new(shape: StateMachineListItem)
362
-
363
- StateMachineListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
364
- StateMachineListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
365
- StateMachineListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
366
- StateMachineListItem.struct_class = Types::StateMachineListItem
367
-
368
- StopExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
369
- StopExecutionInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
370
- StopExecutionInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
371
- StopExecutionInput.struct_class = Types::StopExecutionInput
372
-
373
- StopExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stopDate"))
374
- StopExecutionOutput.struct_class = Types::StopExecutionOutput
375
-
376
-
377
- # @api private
378
- API = Seahorse::Model::Api.new.tap do |api|
379
-
380
- api.version = "2016-11-23"
381
-
382
- api.metadata = {
383
- "endpointPrefix" => "states",
384
- "jsonVersion" => "1.0",
385
- "protocol" => "json",
386
- "serviceFullName" => "AWS Step Functions",
387
- "signatureVersion" => "v4",
388
- "targetPrefix" => "AWSStepFunctions",
389
- }
390
-
391
- api.add_operation(:create_activity, Seahorse::Model::Operation.new.tap do |o|
392
- o.name = "CreateActivity"
393
- o.http_method = "POST"
394
- o.http_request_uri = "/"
395
- o.input = Shapes::ShapeRef.new(shape: CreateActivityInput)
396
- o.output = Shapes::ShapeRef.new(shape: CreateActivityOutput)
397
- o.errors << Shapes::ShapeRef.new(shape: ActivityLimitExceeded)
398
- o.errors << Shapes::ShapeRef.new(shape: InvalidName)
399
- end)
400
-
401
- api.add_operation(:create_state_machine, Seahorse::Model::Operation.new.tap do |o|
402
- o.name = "CreateStateMachine"
403
- o.http_method = "POST"
404
- o.http_request_uri = "/"
405
- o.input = Shapes::ShapeRef.new(shape: CreateStateMachineInput)
406
- o.output = Shapes::ShapeRef.new(shape: CreateStateMachineOutput)
407
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
408
- o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
409
- o.errors << Shapes::ShapeRef.new(shape: InvalidName)
410
- o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
411
- o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
412
- o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
413
- end)
414
-
415
- api.add_operation(:delete_activity, Seahorse::Model::Operation.new.tap do |o|
416
- o.name = "DeleteActivity"
417
- o.http_method = "POST"
418
- o.http_request_uri = "/"
419
- o.input = Shapes::ShapeRef.new(shape: DeleteActivityInput)
420
- o.output = Shapes::ShapeRef.new(shape: DeleteActivityOutput)
421
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
422
- end)
423
-
424
- api.add_operation(:delete_state_machine, Seahorse::Model::Operation.new.tap do |o|
425
- o.name = "DeleteStateMachine"
426
- o.http_method = "POST"
427
- o.http_request_uri = "/"
428
- o.input = Shapes::ShapeRef.new(shape: DeleteStateMachineInput)
429
- o.output = Shapes::ShapeRef.new(shape: DeleteStateMachineOutput)
430
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
431
- end)
432
-
433
- api.add_operation(:describe_activity, Seahorse::Model::Operation.new.tap do |o|
434
- o.name = "DescribeActivity"
435
- o.http_method = "POST"
436
- o.http_request_uri = "/"
437
- o.input = Shapes::ShapeRef.new(shape: DescribeActivityInput)
438
- o.output = Shapes::ShapeRef.new(shape: DescribeActivityOutput)
439
- o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
440
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
441
- end)
442
-
443
- api.add_operation(:describe_execution, Seahorse::Model::Operation.new.tap do |o|
444
- o.name = "DescribeExecution"
445
- o.http_method = "POST"
446
- o.http_request_uri = "/"
447
- o.input = Shapes::ShapeRef.new(shape: DescribeExecutionInput)
448
- o.output = Shapes::ShapeRef.new(shape: DescribeExecutionOutput)
449
- o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
450
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
451
- end)
452
-
453
- api.add_operation(:describe_state_machine, Seahorse::Model::Operation.new.tap do |o|
454
- o.name = "DescribeStateMachine"
455
- o.http_method = "POST"
456
- o.http_request_uri = "/"
457
- o.input = Shapes::ShapeRef.new(shape: DescribeStateMachineInput)
458
- o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineOutput)
459
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
460
- o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
461
- end)
462
-
463
- api.add_operation(:get_activity_task, Seahorse::Model::Operation.new.tap do |o|
464
- o.name = "GetActivityTask"
465
- o.http_method = "POST"
466
- o.http_request_uri = "/"
467
- o.input = Shapes::ShapeRef.new(shape: GetActivityTaskInput)
468
- o.output = Shapes::ShapeRef.new(shape: GetActivityTaskOutput)
469
- o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
470
- o.errors << Shapes::ShapeRef.new(shape: ActivityWorkerLimitExceeded)
471
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
472
- end)
473
-
474
- api.add_operation(:get_execution_history, Seahorse::Model::Operation.new.tap do |o|
475
- o.name = "GetExecutionHistory"
476
- o.http_method = "POST"
477
- o.http_request_uri = "/"
478
- o.input = Shapes::ShapeRef.new(shape: GetExecutionHistoryInput)
479
- o.output = Shapes::ShapeRef.new(shape: GetExecutionHistoryOutput)
480
- o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
481
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
482
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
483
- o[:pager] = Aws::Pager.new(
484
- limit_key: "max_results",
485
- tokens: {
486
- "next_token" => "next_token"
487
- }
488
- )
489
- end)
490
-
491
- api.add_operation(:list_activities, Seahorse::Model::Operation.new.tap do |o|
492
- o.name = "ListActivities"
493
- o.http_method = "POST"
494
- o.http_request_uri = "/"
495
- o.input = Shapes::ShapeRef.new(shape: ListActivitiesInput)
496
- o.output = Shapes::ShapeRef.new(shape: ListActivitiesOutput)
497
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
498
- o[:pager] = Aws::Pager.new(
499
- limit_key: "max_results",
500
- tokens: {
501
- "next_token" => "next_token"
502
- }
503
- )
504
- end)
505
-
506
- api.add_operation(:list_executions, Seahorse::Model::Operation.new.tap do |o|
507
- o.name = "ListExecutions"
508
- o.http_method = "POST"
509
- o.http_request_uri = "/"
510
- o.input = Shapes::ShapeRef.new(shape: ListExecutionsInput)
511
- o.output = Shapes::ShapeRef.new(shape: ListExecutionsOutput)
512
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
513
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
514
- o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
515
- o[:pager] = Aws::Pager.new(
516
- limit_key: "max_results",
517
- tokens: {
518
- "next_token" => "next_token"
519
- }
520
- )
521
- end)
522
-
523
- api.add_operation(:list_state_machines, Seahorse::Model::Operation.new.tap do |o|
524
- o.name = "ListStateMachines"
525
- o.http_method = "POST"
526
- o.http_request_uri = "/"
527
- o.input = Shapes::ShapeRef.new(shape: ListStateMachinesInput)
528
- o.output = Shapes::ShapeRef.new(shape: ListStateMachinesOutput)
529
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
530
- o[:pager] = Aws::Pager.new(
531
- limit_key: "max_results",
532
- tokens: {
533
- "next_token" => "next_token"
534
- }
535
- )
536
- end)
537
-
538
- api.add_operation(:send_task_failure, Seahorse::Model::Operation.new.tap do |o|
539
- o.name = "SendTaskFailure"
540
- o.http_method = "POST"
541
- o.http_request_uri = "/"
542
- o.input = Shapes::ShapeRef.new(shape: SendTaskFailureInput)
543
- o.output = Shapes::ShapeRef.new(shape: SendTaskFailureOutput)
544
- o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
545
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
546
- o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
547
- end)
548
-
549
- api.add_operation(:send_task_heartbeat, Seahorse::Model::Operation.new.tap do |o|
550
- o.name = "SendTaskHeartbeat"
551
- o.http_method = "POST"
552
- o.http_request_uri = "/"
553
- o.input = Shapes::ShapeRef.new(shape: SendTaskHeartbeatInput)
554
- o.output = Shapes::ShapeRef.new(shape: SendTaskHeartbeatOutput)
555
- o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
556
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
557
- o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
558
- end)
559
-
560
- api.add_operation(:send_task_success, Seahorse::Model::Operation.new.tap do |o|
561
- o.name = "SendTaskSuccess"
562
- o.http_method = "POST"
563
- o.http_request_uri = "/"
564
- o.input = Shapes::ShapeRef.new(shape: SendTaskSuccessInput)
565
- o.output = Shapes::ShapeRef.new(shape: SendTaskSuccessOutput)
566
- o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
567
- o.errors << Shapes::ShapeRef.new(shape: InvalidOutput)
568
- o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
569
- o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
570
- end)
571
-
572
- api.add_operation(:start_execution, Seahorse::Model::Operation.new.tap do |o|
573
- o.name = "StartExecution"
574
- o.http_method = "POST"
575
- o.http_request_uri = "/"
576
- o.input = Shapes::ShapeRef.new(shape: StartExecutionInput)
577
- o.output = Shapes::ShapeRef.new(shape: StartExecutionOutput)
578
- o.errors << Shapes::ShapeRef.new(shape: ExecutionLimitExceeded)
579
- o.errors << Shapes::ShapeRef.new(shape: ExecutionAlreadyExists)
580
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
581
- o.errors << Shapes::ShapeRef.new(shape: InvalidExecutionInput)
582
- o.errors << Shapes::ShapeRef.new(shape: InvalidName)
583
- o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
584
- o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
585
- end)
586
-
587
- api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
588
- o.name = "StopExecution"
589
- o.http_method = "POST"
590
- o.http_request_uri = "/"
591
- o.input = Shapes::ShapeRef.new(shape: StopExecutionInput)
592
- o.output = Shapes::ShapeRef.new(shape: StopExecutionOutput)
593
- o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
594
- o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
595
- end)
596
- end
8
+ module Aws::SFN
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ ActivityDoesNotExist = Shapes::StructureShape.new(name: 'ActivityDoesNotExist')
15
+ ActivityFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityFailedEventDetails')
16
+ ActivityLimitExceeded = Shapes::StructureShape.new(name: 'ActivityLimitExceeded')
17
+ ActivityList = Shapes::ListShape.new(name: 'ActivityList')
18
+ ActivityListItem = Shapes::StructureShape.new(name: 'ActivityListItem')
19
+ ActivityScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityScheduleFailedEventDetails')
20
+ ActivityScheduledEventDetails = Shapes::StructureShape.new(name: 'ActivityScheduledEventDetails')
21
+ ActivityStartedEventDetails = Shapes::StructureShape.new(name: 'ActivityStartedEventDetails')
22
+ ActivitySucceededEventDetails = Shapes::StructureShape.new(name: 'ActivitySucceededEventDetails')
23
+ ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
24
+ ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
25
+ Arn = Shapes::StringShape.new(name: 'Arn')
26
+ Cause = Shapes::StringShape.new(name: 'Cause')
27
+ CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
28
+ CreateActivityOutput = Shapes::StructureShape.new(name: 'CreateActivityOutput')
29
+ CreateStateMachineInput = Shapes::StructureShape.new(name: 'CreateStateMachineInput')
30
+ CreateStateMachineOutput = Shapes::StructureShape.new(name: 'CreateStateMachineOutput')
31
+ Data = Shapes::StringShape.new(name: 'Data')
32
+ Definition = Shapes::StringShape.new(name: 'Definition')
33
+ DeleteActivityInput = Shapes::StructureShape.new(name: 'DeleteActivityInput')
34
+ DeleteActivityOutput = Shapes::StructureShape.new(name: 'DeleteActivityOutput')
35
+ DeleteStateMachineInput = Shapes::StructureShape.new(name: 'DeleteStateMachineInput')
36
+ DeleteStateMachineOutput = Shapes::StructureShape.new(name: 'DeleteStateMachineOutput')
37
+ DescribeActivityInput = Shapes::StructureShape.new(name: 'DescribeActivityInput')
38
+ DescribeActivityOutput = Shapes::StructureShape.new(name: 'DescribeActivityOutput')
39
+ DescribeExecutionInput = Shapes::StructureShape.new(name: 'DescribeExecutionInput')
40
+ DescribeExecutionOutput = Shapes::StructureShape.new(name: 'DescribeExecutionOutput')
41
+ DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
42
+ DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
43
+ Error = Shapes::StringShape.new(name: 'Error')
44
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
45
+ EventId = Shapes::IntegerShape.new(name: 'EventId')
46
+ ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
47
+ ExecutionAlreadyExists = Shapes::StructureShape.new(name: 'ExecutionAlreadyExists')
48
+ ExecutionDoesNotExist = Shapes::StructureShape.new(name: 'ExecutionDoesNotExist')
49
+ ExecutionFailedEventDetails = Shapes::StructureShape.new(name: 'ExecutionFailedEventDetails')
50
+ ExecutionLimitExceeded = Shapes::StructureShape.new(name: 'ExecutionLimitExceeded')
51
+ ExecutionList = Shapes::ListShape.new(name: 'ExecutionList')
52
+ ExecutionListItem = Shapes::StructureShape.new(name: 'ExecutionListItem')
53
+ ExecutionStartedEventDetails = Shapes::StructureShape.new(name: 'ExecutionStartedEventDetails')
54
+ ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
55
+ ExecutionSucceededEventDetails = Shapes::StructureShape.new(name: 'ExecutionSucceededEventDetails')
56
+ ExecutionTimedOutEventDetails = Shapes::StructureShape.new(name: 'ExecutionTimedOutEventDetails')
57
+ GetActivityTaskInput = Shapes::StructureShape.new(name: 'GetActivityTaskInput')
58
+ GetActivityTaskOutput = Shapes::StructureShape.new(name: 'GetActivityTaskOutput')
59
+ GetExecutionHistoryInput = Shapes::StructureShape.new(name: 'GetExecutionHistoryInput')
60
+ GetExecutionHistoryOutput = Shapes::StructureShape.new(name: 'GetExecutionHistoryOutput')
61
+ HistoryEvent = Shapes::StructureShape.new(name: 'HistoryEvent')
62
+ HistoryEventList = Shapes::ListShape.new(name: 'HistoryEventList')
63
+ HistoryEventType = Shapes::StringShape.new(name: 'HistoryEventType')
64
+ Identity = Shapes::StringShape.new(name: 'Identity')
65
+ InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
66
+ InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
67
+ InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
68
+ InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
69
+ InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
70
+ InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
71
+ LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
72
+ LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
73
+ LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
74
+ LambdaFunctionStartFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionStartFailedEventDetails')
75
+ LambdaFunctionSucceededEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionSucceededEventDetails')
76
+ LambdaFunctionTimedOutEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionTimedOutEventDetails')
77
+ ListActivitiesInput = Shapes::StructureShape.new(name: 'ListActivitiesInput')
78
+ ListActivitiesOutput = Shapes::StructureShape.new(name: 'ListActivitiesOutput')
79
+ ListExecutionsInput = Shapes::StructureShape.new(name: 'ListExecutionsInput')
80
+ ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
81
+ ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
82
+ ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
83
+ Name = Shapes::StringShape.new(name: 'Name')
84
+ PageSize = Shapes::IntegerShape.new(name: 'PageSize')
85
+ PageToken = Shapes::StringShape.new(name: 'PageToken')
86
+ ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
87
+ SendTaskFailureInput = Shapes::StructureShape.new(name: 'SendTaskFailureInput')
88
+ SendTaskFailureOutput = Shapes::StructureShape.new(name: 'SendTaskFailureOutput')
89
+ SendTaskHeartbeatInput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatInput')
90
+ SendTaskHeartbeatOutput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatOutput')
91
+ SendTaskSuccessInput = Shapes::StructureShape.new(name: 'SendTaskSuccessInput')
92
+ SendTaskSuccessOutput = Shapes::StructureShape.new(name: 'SendTaskSuccessOutput')
93
+ StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
94
+ StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
95
+ StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
96
+ StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
97
+ StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
98
+ StateMachineDeleting = Shapes::StructureShape.new(name: 'StateMachineDeleting')
99
+ StateMachineDoesNotExist = Shapes::StructureShape.new(name: 'StateMachineDoesNotExist')
100
+ StateMachineLimitExceeded = Shapes::StructureShape.new(name: 'StateMachineLimitExceeded')
101
+ StateMachineList = Shapes::ListShape.new(name: 'StateMachineList')
102
+ StateMachineListItem = Shapes::StructureShape.new(name: 'StateMachineListItem')
103
+ StateMachineStatus = Shapes::StringShape.new(name: 'StateMachineStatus')
104
+ StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
105
+ StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
106
+ TaskDoesNotExist = Shapes::StructureShape.new(name: 'TaskDoesNotExist')
107
+ TaskTimedOut = Shapes::StructureShape.new(name: 'TaskTimedOut')
108
+ TaskToken = Shapes::StringShape.new(name: 'TaskToken')
109
+ TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
110
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
111
+
112
+ ActivityFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
113
+ ActivityFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
114
+ ActivityFailedEventDetails.struct_class = Types::ActivityFailedEventDetails
115
+
116
+ ActivityList.member = Shapes::ShapeRef.new(shape: ActivityListItem)
117
+
118
+ ActivityListItem.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
119
+ ActivityListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
120
+ ActivityListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
121
+ ActivityListItem.struct_class = Types::ActivityListItem
122
+
123
+ ActivityScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
124
+ ActivityScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
125
+ ActivityScheduleFailedEventDetails.struct_class = Types::ActivityScheduleFailedEventDetails
126
+
127
+ ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
128
+ ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
129
+ ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
130
+ ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
131
+ ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
132
+
133
+ ActivityStartedEventDetails.add_member(:worker_name, Shapes::ShapeRef.new(shape: Identity, location_name: "workerName"))
134
+ ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
135
+
136
+ ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
137
+ ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
138
+
139
+ ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
140
+ ActivityTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
141
+ ActivityTimedOutEventDetails.struct_class = Types::ActivityTimedOutEventDetails
142
+
143
+ CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
144
+ CreateActivityInput.struct_class = Types::CreateActivityInput
145
+
146
+ CreateActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
147
+ CreateActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
148
+ CreateActivityOutput.struct_class = Types::CreateActivityOutput
149
+
150
+ CreateStateMachineInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
151
+ CreateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
152
+ CreateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
153
+ CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
154
+
155
+ CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
156
+ CreateStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
157
+ CreateStateMachineOutput.struct_class = Types::CreateStateMachineOutput
158
+
159
+ DeleteActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
160
+ DeleteActivityInput.struct_class = Types::DeleteActivityInput
161
+
162
+ DeleteActivityOutput.struct_class = Types::DeleteActivityOutput
163
+
164
+ DeleteStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
165
+ DeleteStateMachineInput.struct_class = Types::DeleteStateMachineInput
166
+
167
+ DeleteStateMachineOutput.struct_class = Types::DeleteStateMachineOutput
168
+
169
+ DescribeActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
170
+ DescribeActivityInput.struct_class = Types::DescribeActivityInput
171
+
172
+ DescribeActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
173
+ DescribeActivityOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
174
+ DescribeActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
175
+ DescribeActivityOutput.struct_class = Types::DescribeActivityOutput
176
+
177
+ DescribeExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
178
+ DescribeExecutionInput.struct_class = Types::DescribeExecutionInput
179
+
180
+ DescribeExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
181
+ DescribeExecutionOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
182
+ DescribeExecutionOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
183
+ DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
184
+ DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
185
+ DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
186
+ DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "input"))
187
+ DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
188
+ DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
189
+
190
+ DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
191
+ DescribeStateMachineInput.struct_class = Types::DescribeStateMachineInput
192
+
193
+ DescribeStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
194
+ DescribeStateMachineOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
195
+ DescribeStateMachineOutput.add_member(:status, Shapes::ShapeRef.new(shape: StateMachineStatus, location_name: "status"))
196
+ DescribeStateMachineOutput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
197
+ DescribeStateMachineOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
198
+ DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
199
+ DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
200
+
201
+ ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
202
+ ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
203
+ ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
204
+
205
+ ExecutionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
206
+ ExecutionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
207
+ ExecutionFailedEventDetails.struct_class = Types::ExecutionFailedEventDetails
208
+
209
+ ExecutionList.member = Shapes::ShapeRef.new(shape: ExecutionListItem)
210
+
211
+ ExecutionListItem.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
212
+ ExecutionListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
213
+ ExecutionListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
214
+ ExecutionListItem.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
215
+ ExecutionListItem.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
216
+ ExecutionListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
217
+ ExecutionListItem.struct_class = Types::ExecutionListItem
218
+
219
+ ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
220
+ ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
221
+ ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
222
+
223
+ ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
224
+ ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
225
+
226
+ ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
227
+ ExecutionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
228
+ ExecutionTimedOutEventDetails.struct_class = Types::ExecutionTimedOutEventDetails
229
+
230
+ GetActivityTaskInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
231
+ GetActivityTaskInput.add_member(:worker_name, Shapes::ShapeRef.new(shape: Name, location_name: "workerName"))
232
+ GetActivityTaskInput.struct_class = Types::GetActivityTaskInput
233
+
234
+ GetActivityTaskOutput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, location_name: "taskToken"))
235
+ GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
236
+ GetActivityTaskOutput.struct_class = Types::GetActivityTaskOutput
237
+
238
+ GetExecutionHistoryInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
239
+ GetExecutionHistoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
240
+ GetExecutionHistoryInput.add_member(:reverse_order, Shapes::ShapeRef.new(shape: ReverseOrder, location_name: "reverseOrder"))
241
+ GetExecutionHistoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
242
+ GetExecutionHistoryInput.struct_class = Types::GetExecutionHistoryInput
243
+
244
+ GetExecutionHistoryOutput.add_member(:events, Shapes::ShapeRef.new(shape: HistoryEventList, required: true, location_name: "events"))
245
+ GetExecutionHistoryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
246
+ GetExecutionHistoryOutput.struct_class = Types::GetExecutionHistoryOutput
247
+
248
+ HistoryEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
249
+ HistoryEvent.add_member(:type, Shapes::ShapeRef.new(shape: HistoryEventType, required: true, location_name: "type"))
250
+ HistoryEvent.add_member(:id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "id"))
251
+ HistoryEvent.add_member(:previous_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "previousEventId"))
252
+ HistoryEvent.add_member(:activity_failed_event_details, Shapes::ShapeRef.new(shape: ActivityFailedEventDetails, location_name: "activityFailedEventDetails"))
253
+ HistoryEvent.add_member(:activity_schedule_failed_event_details, Shapes::ShapeRef.new(shape: ActivityScheduleFailedEventDetails, location_name: "activityScheduleFailedEventDetails"))
254
+ HistoryEvent.add_member(:activity_scheduled_event_details, Shapes::ShapeRef.new(shape: ActivityScheduledEventDetails, location_name: "activityScheduledEventDetails"))
255
+ HistoryEvent.add_member(:activity_started_event_details, Shapes::ShapeRef.new(shape: ActivityStartedEventDetails, location_name: "activityStartedEventDetails"))
256
+ HistoryEvent.add_member(:activity_succeeded_event_details, Shapes::ShapeRef.new(shape: ActivitySucceededEventDetails, location_name: "activitySucceededEventDetails"))
257
+ HistoryEvent.add_member(:activity_timed_out_event_details, Shapes::ShapeRef.new(shape: ActivityTimedOutEventDetails, location_name: "activityTimedOutEventDetails"))
258
+ HistoryEvent.add_member(:execution_failed_event_details, Shapes::ShapeRef.new(shape: ExecutionFailedEventDetails, location_name: "executionFailedEventDetails"))
259
+ HistoryEvent.add_member(:execution_started_event_details, Shapes::ShapeRef.new(shape: ExecutionStartedEventDetails, location_name: "executionStartedEventDetails"))
260
+ HistoryEvent.add_member(:execution_succeeded_event_details, Shapes::ShapeRef.new(shape: ExecutionSucceededEventDetails, location_name: "executionSucceededEventDetails"))
261
+ HistoryEvent.add_member(:execution_aborted_event_details, Shapes::ShapeRef.new(shape: ExecutionAbortedEventDetails, location_name: "executionAbortedEventDetails"))
262
+ HistoryEvent.add_member(:execution_timed_out_event_details, Shapes::ShapeRef.new(shape: ExecutionTimedOutEventDetails, location_name: "executionTimedOutEventDetails"))
263
+ HistoryEvent.add_member(:lambda_function_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionFailedEventDetails, location_name: "lambdaFunctionFailedEventDetails"))
264
+ HistoryEvent.add_member(:lambda_function_schedule_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduleFailedEventDetails, location_name: "lambdaFunctionScheduleFailedEventDetails"))
265
+ HistoryEvent.add_member(:lambda_function_scheduled_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduledEventDetails, location_name: "lambdaFunctionScheduledEventDetails"))
266
+ HistoryEvent.add_member(:lambda_function_start_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionStartFailedEventDetails, location_name: "lambdaFunctionStartFailedEventDetails"))
267
+ HistoryEvent.add_member(:lambda_function_succeeded_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionSucceededEventDetails, location_name: "lambdaFunctionSucceededEventDetails"))
268
+ HistoryEvent.add_member(:lambda_function_timed_out_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionTimedOutEventDetails, location_name: "lambdaFunctionTimedOutEventDetails"))
269
+ HistoryEvent.add_member(:state_entered_event_details, Shapes::ShapeRef.new(shape: StateEnteredEventDetails, location_name: "stateEnteredEventDetails"))
270
+ HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
271
+ HistoryEvent.struct_class = Types::HistoryEvent
272
+
273
+ HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
274
+
275
+ LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
276
+ LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
277
+ LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
278
+
279
+ LambdaFunctionScheduleFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
280
+ LambdaFunctionScheduleFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
281
+ LambdaFunctionScheduleFailedEventDetails.struct_class = Types::LambdaFunctionScheduleFailedEventDetails
282
+
283
+ LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
284
+ LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
285
+ LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
286
+ LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
287
+
288
+ LambdaFunctionStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
289
+ LambdaFunctionStartFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
290
+ LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
291
+
292
+ LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
293
+ LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
294
+
295
+ LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
296
+ LambdaFunctionTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
297
+ LambdaFunctionTimedOutEventDetails.struct_class = Types::LambdaFunctionTimedOutEventDetails
298
+
299
+ ListActivitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
300
+ ListActivitiesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
301
+ ListActivitiesInput.struct_class = Types::ListActivitiesInput
302
+
303
+ ListActivitiesOutput.add_member(:activities, Shapes::ShapeRef.new(shape: ActivityList, required: true, location_name: "activities"))
304
+ ListActivitiesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
305
+ ListActivitiesOutput.struct_class = Types::ListActivitiesOutput
306
+
307
+ ListExecutionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
308
+ ListExecutionsInput.add_member(:status_filter, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "statusFilter"))
309
+ ListExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
310
+ ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
311
+ ListExecutionsInput.struct_class = Types::ListExecutionsInput
312
+
313
+ ListExecutionsOutput.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionList, required: true, location_name: "executions"))
314
+ ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
315
+ ListExecutionsOutput.struct_class = Types::ListExecutionsOutput
316
+
317
+ ListStateMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
318
+ ListStateMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
319
+ ListStateMachinesInput.struct_class = Types::ListStateMachinesInput
320
+
321
+ ListStateMachinesOutput.add_member(:state_machines, Shapes::ShapeRef.new(shape: StateMachineList, required: true, location_name: "stateMachines"))
322
+ ListStateMachinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
323
+ ListStateMachinesOutput.struct_class = Types::ListStateMachinesOutput
324
+
325
+ SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
326
+ SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
327
+ SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
328
+ SendTaskFailureInput.struct_class = Types::SendTaskFailureInput
329
+
330
+ SendTaskFailureOutput.struct_class = Types::SendTaskFailureOutput
331
+
332
+ SendTaskHeartbeatInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
333
+ SendTaskHeartbeatInput.struct_class = Types::SendTaskHeartbeatInput
334
+
335
+ SendTaskHeartbeatOutput.struct_class = Types::SendTaskHeartbeatOutput
336
+
337
+ SendTaskSuccessInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
338
+ SendTaskSuccessInput.add_member(:output, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "output"))
339
+ SendTaskSuccessInput.struct_class = Types::SendTaskSuccessInput
340
+
341
+ SendTaskSuccessOutput.struct_class = Types::SendTaskSuccessOutput
342
+
343
+ StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
344
+ StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
345
+ StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
346
+ StartExecutionInput.struct_class = Types::StartExecutionInput
347
+
348
+ StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
349
+ StartExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
350
+ StartExecutionOutput.struct_class = Types::StartExecutionOutput
351
+
352
+ StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
353
+ StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: Data, location_name: "input"))
354
+ StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
355
+
356
+ StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
357
+ StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: Data, location_name: "output"))
358
+ StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
359
+
360
+ StateMachineList.member = Shapes::ShapeRef.new(shape: StateMachineListItem)
361
+
362
+ StateMachineListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
363
+ StateMachineListItem.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
364
+ StateMachineListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
365
+ StateMachineListItem.struct_class = Types::StateMachineListItem
366
+
367
+ StopExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
368
+ StopExecutionInput.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
369
+ StopExecutionInput.add_member(:cause, Shapes::ShapeRef.new(shape: Cause, location_name: "cause"))
370
+ StopExecutionInput.struct_class = Types::StopExecutionInput
597
371
 
372
+ StopExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stopDate"))
373
+ StopExecutionOutput.struct_class = Types::StopExecutionOutput
374
+
375
+
376
+ # @api private
377
+ API = Seahorse::Model::Api.new.tap do |api|
378
+
379
+ api.version = "2016-11-23"
380
+
381
+ api.metadata = {
382
+ "endpointPrefix" => "states",
383
+ "jsonVersion" => "1.0",
384
+ "protocol" => "json",
385
+ "serviceFullName" => "AWS Step Functions",
386
+ "signatureVersion" => "v4",
387
+ "targetPrefix" => "AWSStepFunctions",
388
+ }
389
+
390
+ api.add_operation(:create_activity, Seahorse::Model::Operation.new.tap do |o|
391
+ o.name = "CreateActivity"
392
+ o.http_method = "POST"
393
+ o.http_request_uri = "/"
394
+ o.input = Shapes::ShapeRef.new(shape: CreateActivityInput)
395
+ o.output = Shapes::ShapeRef.new(shape: CreateActivityOutput)
396
+ o.errors << Shapes::ShapeRef.new(shape: ActivityLimitExceeded)
397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidName)
398
+ end)
399
+
400
+ api.add_operation(:create_state_machine, Seahorse::Model::Operation.new.tap do |o|
401
+ o.name = "CreateStateMachine"
402
+ o.http_method = "POST"
403
+ o.http_request_uri = "/"
404
+ o.input = Shapes::ShapeRef.new(shape: CreateStateMachineInput)
405
+ o.output = Shapes::ShapeRef.new(shape: CreateStateMachineOutput)
406
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
407
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
408
+ o.errors << Shapes::ShapeRef.new(shape: InvalidName)
409
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
410
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
411
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
412
+ end)
413
+
414
+ api.add_operation(:delete_activity, Seahorse::Model::Operation.new.tap do |o|
415
+ o.name = "DeleteActivity"
416
+ o.http_method = "POST"
417
+ o.http_request_uri = "/"
418
+ o.input = Shapes::ShapeRef.new(shape: DeleteActivityInput)
419
+ o.output = Shapes::ShapeRef.new(shape: DeleteActivityOutput)
420
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
421
+ end)
422
+
423
+ api.add_operation(:delete_state_machine, Seahorse::Model::Operation.new.tap do |o|
424
+ o.name = "DeleteStateMachine"
425
+ o.http_method = "POST"
426
+ o.http_request_uri = "/"
427
+ o.input = Shapes::ShapeRef.new(shape: DeleteStateMachineInput)
428
+ o.output = Shapes::ShapeRef.new(shape: DeleteStateMachineOutput)
429
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
430
+ end)
431
+
432
+ api.add_operation(:describe_activity, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "DescribeActivity"
434
+ o.http_method = "POST"
435
+ o.http_request_uri = "/"
436
+ o.input = Shapes::ShapeRef.new(shape: DescribeActivityInput)
437
+ o.output = Shapes::ShapeRef.new(shape: DescribeActivityOutput)
438
+ o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
440
+ end)
441
+
442
+ api.add_operation(:describe_execution, Seahorse::Model::Operation.new.tap do |o|
443
+ o.name = "DescribeExecution"
444
+ o.http_method = "POST"
445
+ o.http_request_uri = "/"
446
+ o.input = Shapes::ShapeRef.new(shape: DescribeExecutionInput)
447
+ o.output = Shapes::ShapeRef.new(shape: DescribeExecutionOutput)
448
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
449
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
450
+ end)
451
+
452
+ api.add_operation(:describe_state_machine, Seahorse::Model::Operation.new.tap do |o|
453
+ o.name = "DescribeStateMachine"
454
+ o.http_method = "POST"
455
+ o.http_request_uri = "/"
456
+ o.input = Shapes::ShapeRef.new(shape: DescribeStateMachineInput)
457
+ o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineOutput)
458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
459
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
460
+ end)
461
+
462
+ api.add_operation(:get_activity_task, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "GetActivityTask"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/"
466
+ o.input = Shapes::ShapeRef.new(shape: GetActivityTaskInput)
467
+ o.output = Shapes::ShapeRef.new(shape: GetActivityTaskOutput)
468
+ o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
469
+ o.errors << Shapes::ShapeRef.new(shape: ActivityWorkerLimitExceeded)
470
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
471
+ end)
472
+
473
+ api.add_operation(:get_execution_history, Seahorse::Model::Operation.new.tap do |o|
474
+ o.name = "GetExecutionHistory"
475
+ o.http_method = "POST"
476
+ o.http_request_uri = "/"
477
+ o.input = Shapes::ShapeRef.new(shape: GetExecutionHistoryInput)
478
+ o.output = Shapes::ShapeRef.new(shape: GetExecutionHistoryOutput)
479
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
480
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
481
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
482
+ o[:pager] = Aws::Pager.new(
483
+ limit_key: "max_results",
484
+ tokens: {
485
+ "next_token" => "next_token"
486
+ }
487
+ )
488
+ end)
489
+
490
+ api.add_operation(:list_activities, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "ListActivities"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/"
494
+ o.input = Shapes::ShapeRef.new(shape: ListActivitiesInput)
495
+ o.output = Shapes::ShapeRef.new(shape: ListActivitiesOutput)
496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
497
+ o[:pager] = Aws::Pager.new(
498
+ limit_key: "max_results",
499
+ tokens: {
500
+ "next_token" => "next_token"
501
+ }
502
+ )
503
+ end)
504
+
505
+ api.add_operation(:list_executions, Seahorse::Model::Operation.new.tap do |o|
506
+ o.name = "ListExecutions"
507
+ o.http_method = "POST"
508
+ o.http_request_uri = "/"
509
+ o.input = Shapes::ShapeRef.new(shape: ListExecutionsInput)
510
+ o.output = Shapes::ShapeRef.new(shape: ListExecutionsOutput)
511
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
512
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
513
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
514
+ o[:pager] = Aws::Pager.new(
515
+ limit_key: "max_results",
516
+ tokens: {
517
+ "next_token" => "next_token"
518
+ }
519
+ )
520
+ end)
521
+
522
+ api.add_operation(:list_state_machines, Seahorse::Model::Operation.new.tap do |o|
523
+ o.name = "ListStateMachines"
524
+ o.http_method = "POST"
525
+ o.http_request_uri = "/"
526
+ o.input = Shapes::ShapeRef.new(shape: ListStateMachinesInput)
527
+ o.output = Shapes::ShapeRef.new(shape: ListStateMachinesOutput)
528
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
529
+ o[:pager] = Aws::Pager.new(
530
+ limit_key: "max_results",
531
+ tokens: {
532
+ "next_token" => "next_token"
533
+ }
534
+ )
535
+ end)
536
+
537
+ api.add_operation(:send_task_failure, Seahorse::Model::Operation.new.tap do |o|
538
+ o.name = "SendTaskFailure"
539
+ o.http_method = "POST"
540
+ o.http_request_uri = "/"
541
+ o.input = Shapes::ShapeRef.new(shape: SendTaskFailureInput)
542
+ o.output = Shapes::ShapeRef.new(shape: SendTaskFailureOutput)
543
+ o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
544
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
545
+ o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
546
+ end)
547
+
548
+ api.add_operation(:send_task_heartbeat, Seahorse::Model::Operation.new.tap do |o|
549
+ o.name = "SendTaskHeartbeat"
550
+ o.http_method = "POST"
551
+ o.http_request_uri = "/"
552
+ o.input = Shapes::ShapeRef.new(shape: SendTaskHeartbeatInput)
553
+ o.output = Shapes::ShapeRef.new(shape: SendTaskHeartbeatOutput)
554
+ o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
555
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
556
+ o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
557
+ end)
558
+
559
+ api.add_operation(:send_task_success, Seahorse::Model::Operation.new.tap do |o|
560
+ o.name = "SendTaskSuccess"
561
+ o.http_method = "POST"
562
+ o.http_request_uri = "/"
563
+ o.input = Shapes::ShapeRef.new(shape: SendTaskSuccessInput)
564
+ o.output = Shapes::ShapeRef.new(shape: SendTaskSuccessOutput)
565
+ o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
566
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOutput)
567
+ o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
568
+ o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
569
+ end)
570
+
571
+ api.add_operation(:start_execution, Seahorse::Model::Operation.new.tap do |o|
572
+ o.name = "StartExecution"
573
+ o.http_method = "POST"
574
+ o.http_request_uri = "/"
575
+ o.input = Shapes::ShapeRef.new(shape: StartExecutionInput)
576
+ o.output = Shapes::ShapeRef.new(shape: StartExecutionOutput)
577
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionLimitExceeded)
578
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionAlreadyExists)
579
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
580
+ o.errors << Shapes::ShapeRef.new(shape: InvalidExecutionInput)
581
+ o.errors << Shapes::ShapeRef.new(shape: InvalidName)
582
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
583
+ o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
584
+ end)
585
+
586
+ api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
587
+ o.name = "StopExecution"
588
+ o.http_method = "POST"
589
+ o.http_request_uri = "/"
590
+ o.input = Shapes::ShapeRef.new(shape: StopExecutionInput)
591
+ o.output = Shapes::ShapeRef.new(shape: StopExecutionOutput)
592
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
593
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
594
+ end)
598
595
  end
596
+
599
597
  end
600
598
  end