aws-sdk-sfn 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-sfn.rb +47 -0
- data/lib/aws-sdk-sfn/client.rb +763 -0
- data/lib/aws-sdk-sfn/client_api.rb +600 -0
- data/lib/aws-sdk-sfn/customizations.rb +0 -0
- data/lib/aws-sdk-sfn/errors.rb +23 -0
- data/lib/aws-sdk-sfn/resource.rb +25 -0
- data/lib/aws-sdk-sfn/types.rb +1074 -0
- metadata +80 -0
@@ -0,0 +1,600 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
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
|
597
|
+
|
598
|
+
end
|
599
|
+
end
|
600
|
+
end
|