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,23 +1,14 @@
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
- module Errors
8
+ module Aws::SFN
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
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
- class Resource
8
+ module Aws::SFN
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,1074 +1,1255 @@
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
- module Types
8
+ module Aws::SFN
9
+ module Types
11
10
 
12
- # @!attribute [rw] error
13
- # The error code of the failure.
14
- # @return [String]
15
- #
16
- # @!attribute [rw] cause
17
- # A more detailed explanation of the cause of the failure.
18
- # @return [String]
19
- class ActivityFailedEventDetails < Struct.new(
20
- :error,
21
- :cause)
22
- include Aws::Structure
23
- end
24
-
25
- # @!attribute [rw] activity_arn
26
- # The Amazon Resource Name (ARN) that identifies the activity.
27
- # @return [String]
28
- #
29
- # @!attribute [rw] name
30
- # The name of the activity.
31
- # @return [String]
32
- #
33
- # @!attribute [rw] creation_date
34
- # The date the activity was created.
35
- # @return [Time]
36
- class ActivityListItem < Struct.new(
37
- :activity_arn,
38
- :name,
39
- :creation_date)
40
- include Aws::Structure
41
- end
11
+ # @!attribute [rw] error
12
+ # The error code of the failure.
13
+ # @return [String]
14
+ #
15
+ # @!attribute [rw] cause
16
+ # A more detailed explanation of the cause of the failure.
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityFailedEventDetails AWS API Documentation
20
+ #
21
+ class ActivityFailedEventDetails < Struct.new(
22
+ :error,
23
+ :cause)
24
+ include Aws::Structure
25
+ end
42
26
 
43
- # @!attribute [rw] error
44
- # The error code of the failure.
45
- # @return [String]
46
- #
47
- # @!attribute [rw] cause
48
- # A more detailed explanation of the cause of the failure.
49
- # @return [String]
50
- class ActivityScheduleFailedEventDetails < Struct.new(
51
- :error,
52
- :cause)
53
- include Aws::Structure
54
- end
27
+ # @!attribute [rw] activity_arn
28
+ # The Amazon Resource Name (ARN) that identifies the activity.
29
+ # @return [String]
30
+ #
31
+ # @!attribute [rw] name
32
+ # The name of the activity.
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] creation_date
36
+ # The date the activity was created.
37
+ # @return [Time]
38
+ #
39
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityListItem AWS API Documentation
40
+ #
41
+ class ActivityListItem < Struct.new(
42
+ :activity_arn,
43
+ :name,
44
+ :creation_date)
45
+ include Aws::Structure
46
+ end
55
47
 
56
- # @!attribute [rw] resource
57
- # The Amazon Resource Name (ARN) of the scheduled activity.
58
- # @return [String]
59
- #
60
- # @!attribute [rw] input
61
- # The JSON data input to the activity task.
62
- # @return [String]
63
- #
64
- # @!attribute [rw] timeout_in_seconds
65
- # The maximum allowed duration of the activity task.
66
- # @return [Integer]
67
- #
68
- # @!attribute [rw] heartbeat_in_seconds
69
- # The maximum allowed duration between two heartbeats for the activity
70
- # task.
71
- # @return [Integer]
72
- class ActivityScheduledEventDetails < Struct.new(
73
- :resource,
74
- :input,
75
- :timeout_in_seconds,
76
- :heartbeat_in_seconds)
77
- include Aws::Structure
78
- end
48
+ # @!attribute [rw] error
49
+ # The error code of the failure.
50
+ # @return [String]
51
+ #
52
+ # @!attribute [rw] cause
53
+ # A more detailed explanation of the cause of the failure.
54
+ # @return [String]
55
+ #
56
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduleFailedEventDetails AWS API Documentation
57
+ #
58
+ class ActivityScheduleFailedEventDetails < Struct.new(
59
+ :error,
60
+ :cause)
61
+ include Aws::Structure
62
+ end
79
63
 
80
- # @!attribute [rw] worker_name
81
- # The name of the worker that the task was assigned to. These names
82
- # are provided by the workers when calling GetActivityTask.
83
- # @return [String]
84
- class ActivityStartedEventDetails < Struct.new(
85
- :worker_name)
86
- include Aws::Structure
87
- end
64
+ # @!attribute [rw] resource
65
+ # The Amazon Resource Name (ARN) of the scheduled activity.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] input
69
+ # The JSON data input to the activity task.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] timeout_in_seconds
73
+ # The maximum allowed duration of the activity task.
74
+ # @return [Integer]
75
+ #
76
+ # @!attribute [rw] heartbeat_in_seconds
77
+ # The maximum allowed duration between two heartbeats for the activity
78
+ # task.
79
+ # @return [Integer]
80
+ #
81
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduledEventDetails AWS API Documentation
82
+ #
83
+ class ActivityScheduledEventDetails < Struct.new(
84
+ :resource,
85
+ :input,
86
+ :timeout_in_seconds,
87
+ :heartbeat_in_seconds)
88
+ include Aws::Structure
89
+ end
88
90
 
89
- # @!attribute [rw] output
90
- # The JSON data output by the activity task.
91
- # @return [String]
92
- class ActivitySucceededEventDetails < Struct.new(
93
- :output)
94
- include Aws::Structure
95
- end
91
+ # @!attribute [rw] worker_name
92
+ # The name of the worker that the task was assigned to. These names
93
+ # are provided by the workers when calling GetActivityTask.
94
+ # @return [String]
95
+ #
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityStartedEventDetails AWS API Documentation
97
+ #
98
+ class ActivityStartedEventDetails < Struct.new(
99
+ :worker_name)
100
+ include Aws::Structure
101
+ end
96
102
 
97
- # @!attribute [rw] error
98
- # The error code of the failure.
99
- # @return [String]
100
- #
101
- # @!attribute [rw] cause
102
- # A more detailed explanation of the cause of the timeout.
103
- # @return [String]
104
- class ActivityTimedOutEventDetails < Struct.new(
105
- :error,
106
- :cause)
107
- include Aws::Structure
108
- end
103
+ # @!attribute [rw] output
104
+ # The JSON data output by the activity task.
105
+ # @return [String]
106
+ #
107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails AWS API Documentation
108
+ #
109
+ class ActivitySucceededEventDetails < Struct.new(
110
+ :output)
111
+ include Aws::Structure
112
+ end
109
113
 
110
- # @note When making an API call, pass CreateActivityInput
111
- # data as a hash:
112
- #
113
- # {
114
- # name: "Name", # required
115
- # }
116
- # @!attribute [rw] name
117
- # The name of the activity to create. This name must be unique for
118
- # your AWS account and region.
119
- # @return [String]
120
- class CreateActivityInput < Struct.new(
121
- :name)
122
- include Aws::Structure
123
- end
114
+ # @!attribute [rw] error
115
+ # The error code of the failure.
116
+ # @return [String]
117
+ #
118
+ # @!attribute [rw] cause
119
+ # A more detailed explanation of the cause of the timeout.
120
+ # @return [String]
121
+ #
122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityTimedOutEventDetails AWS API Documentation
123
+ #
124
+ class ActivityTimedOutEventDetails < Struct.new(
125
+ :error,
126
+ :cause)
127
+ include Aws::Structure
128
+ end
124
129
 
125
- # @!attribute [rw] activity_arn
126
- # The Amazon Resource Name (ARN) that identifies the created activity.
127
- # @return [String]
128
- #
129
- # @!attribute [rw] creation_date
130
- # The date the activity was created.
131
- # @return [Time]
132
- class CreateActivityOutput < Struct.new(
133
- :activity_arn,
134
- :creation_date)
135
- include Aws::Structure
136
- end
130
+ # @note When making an API call, you may pass CreateActivityInput
131
+ # data as a hash:
132
+ #
133
+ # {
134
+ # name: "Name", # required
135
+ # }
136
+ #
137
+ # @!attribute [rw] name
138
+ # The name of the activity to create. This name must be unique for
139
+ # your AWS account and region.
140
+ # @return [String]
141
+ #
142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput AWS API Documentation
143
+ #
144
+ class CreateActivityInput < Struct.new(
145
+ :name)
146
+ include Aws::Structure
147
+ end
137
148
 
138
- # @note When making an API call, pass CreateStateMachineInput
139
- # data as a hash:
140
- #
141
- # {
142
- # name: "Name", # required
143
- # definition: "Definition", # required
144
- # role_arn: "Arn", # required
145
- # }
146
- # @!attribute [rw] name
147
- # The name of the state machine. This name must be unique for your AWS
148
- # account and region.
149
- # @return [String]
150
- #
151
- # @!attribute [rw] definition
152
- # The Amazon States Language definition of the state machine.
153
- # @return [String]
154
- #
155
- # @!attribute [rw] role_arn
156
- # The Amazon Resource Name (ARN) of the IAM role to use for this state
157
- # machine.
158
- # @return [String]
159
- class CreateStateMachineInput < Struct.new(
160
- :name,
161
- :definition,
162
- :role_arn)
163
- include Aws::Structure
164
- end
149
+ # @!attribute [rw] activity_arn
150
+ # The Amazon Resource Name (ARN) that identifies the created activity.
151
+ # @return [String]
152
+ #
153
+ # @!attribute [rw] creation_date
154
+ # The date the activity was created.
155
+ # @return [Time]
156
+ #
157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityOutput AWS API Documentation
158
+ #
159
+ class CreateActivityOutput < Struct.new(
160
+ :activity_arn,
161
+ :creation_date)
162
+ include Aws::Structure
163
+ end
165
164
 
166
- # @!attribute [rw] state_machine_arn
167
- # The Amazon Resource Name (ARN) that identifies the created state
168
- # machine.
169
- # @return [String]
170
- #
171
- # @!attribute [rw] creation_date
172
- # The date the state machine was created.
173
- # @return [Time]
174
- class CreateStateMachineOutput < Struct.new(
175
- :state_machine_arn,
176
- :creation_date)
177
- include Aws::Structure
178
- end
165
+ # @note When making an API call, you may pass CreateStateMachineInput
166
+ # data as a hash:
167
+ #
168
+ # {
169
+ # name: "Name", # required
170
+ # definition: "Definition", # required
171
+ # role_arn: "Arn", # required
172
+ # }
173
+ #
174
+ # @!attribute [rw] name
175
+ # The name of the state machine. This name must be unique for your AWS
176
+ # account and region.
177
+ # @return [String]
178
+ #
179
+ # @!attribute [rw] definition
180
+ # The Amazon States Language definition of the state machine.
181
+ # @return [String]
182
+ #
183
+ # @!attribute [rw] role_arn
184
+ # The Amazon Resource Name (ARN) of the IAM role to use for this state
185
+ # machine.
186
+ # @return [String]
187
+ #
188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
189
+ #
190
+ class CreateStateMachineInput < Struct.new(
191
+ :name,
192
+ :definition,
193
+ :role_arn)
194
+ include Aws::Structure
195
+ end
179
196
 
180
- # @note When making an API call, pass DeleteActivityInput
181
- # data as a hash:
182
- #
183
- # {
184
- # activity_arn: "Arn", # required
185
- # }
186
- # @!attribute [rw] activity_arn
187
- # The Amazon Resource Name (ARN) of the activity to delete.
188
- # @return [String]
189
- class DeleteActivityInput < Struct.new(
190
- :activity_arn)
191
- include Aws::Structure
192
- end
197
+ # @!attribute [rw] state_machine_arn
198
+ # The Amazon Resource Name (ARN) that identifies the created state
199
+ # machine.
200
+ # @return [String]
201
+ #
202
+ # @!attribute [rw] creation_date
203
+ # The date the state machine was created.
204
+ # @return [Time]
205
+ #
206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineOutput AWS API Documentation
207
+ #
208
+ class CreateStateMachineOutput < Struct.new(
209
+ :state_machine_arn,
210
+ :creation_date)
211
+ include Aws::Structure
212
+ end
193
213
 
194
- class DeleteActivityOutput < Aws::EmptyStructure; end
214
+ # @note When making an API call, you may pass DeleteActivityInput
215
+ # data as a hash:
216
+ #
217
+ # {
218
+ # activity_arn: "Arn", # required
219
+ # }
220
+ #
221
+ # @!attribute [rw] activity_arn
222
+ # The Amazon Resource Name (ARN) of the activity to delete.
223
+ # @return [String]
224
+ #
225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityInput AWS API Documentation
226
+ #
227
+ class DeleteActivityInput < Struct.new(
228
+ :activity_arn)
229
+ include Aws::Structure
230
+ end
195
231
 
196
- # @note When making an API call, pass DeleteStateMachineInput
197
- # data as a hash:
198
- #
199
- # {
200
- # state_machine_arn: "Arn", # required
201
- # }
202
- # @!attribute [rw] state_machine_arn
203
- # The Amazon Resource Name (ARN) of the state machine to delete.
204
- # @return [String]
205
- class DeleteStateMachineInput < Struct.new(
206
- :state_machine_arn)
207
- include Aws::Structure
208
- end
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityOutput AWS API Documentation
233
+ #
234
+ class DeleteActivityOutput < Aws::EmptyStructure; end
209
235
 
210
- class DeleteStateMachineOutput < Aws::EmptyStructure; end
236
+ # @note When making an API call, you may pass DeleteStateMachineInput
237
+ # data as a hash:
238
+ #
239
+ # {
240
+ # state_machine_arn: "Arn", # required
241
+ # }
242
+ #
243
+ # @!attribute [rw] state_machine_arn
244
+ # The Amazon Resource Name (ARN) of the state machine to delete.
245
+ # @return [String]
246
+ #
247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineInput AWS API Documentation
248
+ #
249
+ class DeleteStateMachineInput < Struct.new(
250
+ :state_machine_arn)
251
+ include Aws::Structure
252
+ end
211
253
 
212
- # @note When making an API call, pass DescribeActivityInput
213
- # data as a hash:
214
- #
215
- # {
216
- # activity_arn: "Arn", # required
217
- # }
218
- # @!attribute [rw] activity_arn
219
- # The Amazon Resource Name (ARN) of the activity to describe.
220
- # @return [String]
221
- class DescribeActivityInput < Struct.new(
222
- :activity_arn)
223
- include Aws::Structure
224
- end
254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineOutput AWS API Documentation
255
+ #
256
+ class DeleteStateMachineOutput < Aws::EmptyStructure; end
225
257
 
226
- # @!attribute [rw] activity_arn
227
- # The Amazon Resource Name (ARN) that identifies the activity.
228
- # @return [String]
229
- #
230
- # @!attribute [rw] name
231
- # The name of the activity.
232
- # @return [String]
233
- #
234
- # @!attribute [rw] creation_date
235
- # The date the activity was created.
236
- # @return [Time]
237
- class DescribeActivityOutput < Struct.new(
238
- :activity_arn,
239
- :name,
240
- :creation_date)
241
- include Aws::Structure
242
- end
258
+ # @note When making an API call, you may pass DescribeActivityInput
259
+ # data as a hash:
260
+ #
261
+ # {
262
+ # activity_arn: "Arn", # required
263
+ # }
264
+ #
265
+ # @!attribute [rw] activity_arn
266
+ # The Amazon Resource Name (ARN) of the activity to describe.
267
+ # @return [String]
268
+ #
269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityInput AWS API Documentation
270
+ #
271
+ class DescribeActivityInput < Struct.new(
272
+ :activity_arn)
273
+ include Aws::Structure
274
+ end
243
275
 
244
- # @note When making an API call, pass DescribeExecutionInput
245
- # data as a hash:
246
- #
247
- # {
248
- # execution_arn: "Arn", # required
249
- # }
250
- # @!attribute [rw] execution_arn
251
- # The Amazon Resource Name (ARN) of the execution to describe.
252
- # @return [String]
253
- class DescribeExecutionInput < Struct.new(
254
- :execution_arn)
255
- include Aws::Structure
256
- end
276
+ # @!attribute [rw] activity_arn
277
+ # The Amazon Resource Name (ARN) that identifies the activity.
278
+ # @return [String]
279
+ #
280
+ # @!attribute [rw] name
281
+ # The name of the activity.
282
+ # @return [String]
283
+ #
284
+ # @!attribute [rw] creation_date
285
+ # The date the activity was created.
286
+ # @return [Time]
287
+ #
288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityOutput AWS API Documentation
289
+ #
290
+ class DescribeActivityOutput < Struct.new(
291
+ :activity_arn,
292
+ :name,
293
+ :creation_date)
294
+ include Aws::Structure
295
+ end
257
296
 
258
- # @!attribute [rw] execution_arn
259
- # The Amazon Resource Name (ARN) that identifies the execution.
260
- # @return [String]
261
- #
262
- # @!attribute [rw] state_machine_arn
263
- # The Amazon Resource Name (ARN) of the executed stated machine.
264
- # @return [String]
265
- #
266
- # @!attribute [rw] name
267
- # The name of the execution.
268
- # @return [String]
269
- #
270
- # @!attribute [rw] status
271
- # The current status of the execution.
272
- # @return [String]
273
- #
274
- # @!attribute [rw] start_date
275
- # The date the execution was started.
276
- # @return [Time]
277
- #
278
- # @!attribute [rw] stop_date
279
- # If the execution has already ended, the date the execution stopped.
280
- # @return [Time]
281
- #
282
- # @!attribute [rw] input
283
- # The JSON input data of the execution.
284
- # @return [String]
285
- #
286
- # @!attribute [rw] output
287
- # The JSON output data of the execution.
288
- # @return [String]
289
- class DescribeExecutionOutput < Struct.new(
290
- :execution_arn,
291
- :state_machine_arn,
292
- :name,
293
- :status,
294
- :start_date,
295
- :stop_date,
296
- :input,
297
- :output)
298
- include Aws::Structure
299
- end
297
+ # @note When making an API call, you may pass DescribeExecutionInput
298
+ # data as a hash:
299
+ #
300
+ # {
301
+ # execution_arn: "Arn", # required
302
+ # }
303
+ #
304
+ # @!attribute [rw] execution_arn
305
+ # The Amazon Resource Name (ARN) of the execution to describe.
306
+ # @return [String]
307
+ #
308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionInput AWS API Documentation
309
+ #
310
+ class DescribeExecutionInput < Struct.new(
311
+ :execution_arn)
312
+ include Aws::Structure
313
+ end
300
314
 
301
- # @note When making an API call, pass DescribeStateMachineInput
302
- # data as a hash:
303
- #
304
- # {
305
- # state_machine_arn: "Arn", # required
306
- # }
307
- # @!attribute [rw] state_machine_arn
308
- # The Amazon Resource Name (ARN) of the state machine to describe.
309
- # @return [String]
310
- class DescribeStateMachineInput < Struct.new(
311
- :state_machine_arn)
312
- include Aws::Structure
313
- end
315
+ # @!attribute [rw] execution_arn
316
+ # The Amazon Resource Name (ARN) that identifies the execution.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] state_machine_arn
320
+ # The Amazon Resource Name (ARN) of the executed stated machine.
321
+ # @return [String]
322
+ #
323
+ # @!attribute [rw] name
324
+ # The name of the execution.
325
+ # @return [String]
326
+ #
327
+ # @!attribute [rw] status
328
+ # The current status of the execution.
329
+ # @return [String]
330
+ #
331
+ # @!attribute [rw] start_date
332
+ # The date the execution was started.
333
+ # @return [Time]
334
+ #
335
+ # @!attribute [rw] stop_date
336
+ # If the execution has already ended, the date the execution stopped.
337
+ # @return [Time]
338
+ #
339
+ # @!attribute [rw] input
340
+ # The JSON input data of the execution.
341
+ # @return [String]
342
+ #
343
+ # @!attribute [rw] output
344
+ # The JSON output data of the execution.
345
+ # @return [String]
346
+ #
347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
348
+ #
349
+ class DescribeExecutionOutput < Struct.new(
350
+ :execution_arn,
351
+ :state_machine_arn,
352
+ :name,
353
+ :status,
354
+ :start_date,
355
+ :stop_date,
356
+ :input,
357
+ :output)
358
+ include Aws::Structure
359
+ end
314
360
 
315
- # @!attribute [rw] state_machine_arn
316
- # The Amazon Resource Name (ARN) that identifies the state machine.
317
- # @return [String]
318
- #
319
- # @!attribute [rw] name
320
- # The name of the state machine.
321
- # @return [String]
322
- #
323
- # @!attribute [rw] status
324
- # The current status of the state machine.
325
- # @return [String]
326
- #
327
- # @!attribute [rw] definition
328
- # The Amazon States Language definition of the state machine.
329
- # @return [String]
330
- #
331
- # @!attribute [rw] role_arn
332
- # The Amazon Resource Name (ARN) of the IAM role used for executing
333
- # this state machine.
334
- # @return [String]
335
- #
336
- # @!attribute [rw] creation_date
337
- # The date the state machine was created.
338
- # @return [Time]
339
- class DescribeStateMachineOutput < Struct.new(
340
- :state_machine_arn,
341
- :name,
342
- :status,
343
- :definition,
344
- :role_arn,
345
- :creation_date)
346
- include Aws::Structure
347
- end
361
+ # @note When making an API call, you may pass DescribeStateMachineInput
362
+ # data as a hash:
363
+ #
364
+ # {
365
+ # state_machine_arn: "Arn", # required
366
+ # }
367
+ #
368
+ # @!attribute [rw] state_machine_arn
369
+ # The Amazon Resource Name (ARN) of the state machine to describe.
370
+ # @return [String]
371
+ #
372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineInput AWS API Documentation
373
+ #
374
+ class DescribeStateMachineInput < Struct.new(
375
+ :state_machine_arn)
376
+ include Aws::Structure
377
+ end
348
378
 
349
- # @!attribute [rw] error
350
- # The error code of the failure.
351
- # @return [String]
352
- #
353
- # @!attribute [rw] cause
354
- # A more detailed explanation of the cause of the failure.
355
- # @return [String]
356
- class ExecutionAbortedEventDetails < Struct.new(
357
- :error,
358
- :cause)
359
- include Aws::Structure
360
- end
379
+ # @!attribute [rw] state_machine_arn
380
+ # The Amazon Resource Name (ARN) that identifies the state machine.
381
+ # @return [String]
382
+ #
383
+ # @!attribute [rw] name
384
+ # The name of the state machine.
385
+ # @return [String]
386
+ #
387
+ # @!attribute [rw] status
388
+ # The current status of the state machine.
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] definition
392
+ # The Amazon States Language definition of the state machine.
393
+ # @return [String]
394
+ #
395
+ # @!attribute [rw] role_arn
396
+ # The Amazon Resource Name (ARN) of the IAM role used for executing
397
+ # this state machine.
398
+ # @return [String]
399
+ #
400
+ # @!attribute [rw] creation_date
401
+ # The date the state machine was created.
402
+ # @return [Time]
403
+ #
404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
405
+ #
406
+ class DescribeStateMachineOutput < Struct.new(
407
+ :state_machine_arn,
408
+ :name,
409
+ :status,
410
+ :definition,
411
+ :role_arn,
412
+ :creation_date)
413
+ include Aws::Structure
414
+ end
361
415
 
362
- # @!attribute [rw] error
363
- # The error code of the failure.
364
- # @return [String]
365
- #
366
- # @!attribute [rw] cause
367
- # A more detailed explanation of the cause of the failure.
368
- # @return [String]
369
- class ExecutionFailedEventDetails < Struct.new(
370
- :error,
371
- :cause)
372
- include Aws::Structure
373
- end
416
+ # @!attribute [rw] error
417
+ # The error code of the failure.
418
+ # @return [String]
419
+ #
420
+ # @!attribute [rw] cause
421
+ # A more detailed explanation of the cause of the failure.
422
+ # @return [String]
423
+ #
424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionAbortedEventDetails AWS API Documentation
425
+ #
426
+ class ExecutionAbortedEventDetails < Struct.new(
427
+ :error,
428
+ :cause)
429
+ include Aws::Structure
430
+ end
374
431
 
375
- # @!attribute [rw] execution_arn
376
- # The Amazon Resource Name (ARN) that identifies the execution.
377
- # @return [String]
378
- #
379
- # @!attribute [rw] state_machine_arn
380
- # The Amazon Resource Name (ARN) of the executed state machine.
381
- # @return [String]
382
- #
383
- # @!attribute [rw] name
384
- # The name of the execution.
385
- # @return [String]
386
- #
387
- # @!attribute [rw] status
388
- # The current status of the execution.
389
- # @return [String]
390
- #
391
- # @!attribute [rw] start_date
392
- # The date the execution started.
393
- # @return [Time]
394
- #
395
- # @!attribute [rw] stop_date
396
- # If the execution already ended, the date the execution stopped.
397
- # @return [Time]
398
- class ExecutionListItem < Struct.new(
399
- :execution_arn,
400
- :state_machine_arn,
401
- :name,
402
- :status,
403
- :start_date,
404
- :stop_date)
405
- include Aws::Structure
406
- end
432
+ # @!attribute [rw] error
433
+ # The error code of the failure.
434
+ # @return [String]
435
+ #
436
+ # @!attribute [rw] cause
437
+ # A more detailed explanation of the cause of the failure.
438
+ # @return [String]
439
+ #
440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionFailedEventDetails AWS API Documentation
441
+ #
442
+ class ExecutionFailedEventDetails < Struct.new(
443
+ :error,
444
+ :cause)
445
+ include Aws::Structure
446
+ end
407
447
 
408
- # @!attribute [rw] input
409
- # The JSON data input to the execution.
410
- # @return [String]
411
- #
412
- # @!attribute [rw] role_arn
413
- # The Amazon Resource Name (ARN) of the IAM role used for executing
414
- # AWS Lambda tasks.
415
- # @return [String]
416
- class ExecutionStartedEventDetails < Struct.new(
417
- :input,
418
- :role_arn)
419
- include Aws::Structure
420
- end
448
+ # @!attribute [rw] execution_arn
449
+ # The Amazon Resource Name (ARN) that identifies the execution.
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] state_machine_arn
453
+ # The Amazon Resource Name (ARN) of the executed state machine.
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] name
457
+ # The name of the execution.
458
+ # @return [String]
459
+ #
460
+ # @!attribute [rw] status
461
+ # The current status of the execution.
462
+ # @return [String]
463
+ #
464
+ # @!attribute [rw] start_date
465
+ # The date the execution started.
466
+ # @return [Time]
467
+ #
468
+ # @!attribute [rw] stop_date
469
+ # If the execution already ended, the date the execution stopped.
470
+ # @return [Time]
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionListItem AWS API Documentation
473
+ #
474
+ class ExecutionListItem < Struct.new(
475
+ :execution_arn,
476
+ :state_machine_arn,
477
+ :name,
478
+ :status,
479
+ :start_date,
480
+ :stop_date)
481
+ include Aws::Structure
482
+ end
421
483
 
422
- # @!attribute [rw] output
423
- # The JSON data output by the execution.
424
- # @return [String]
425
- class ExecutionSucceededEventDetails < Struct.new(
426
- :output)
427
- include Aws::Structure
428
- end
484
+ # @!attribute [rw] input
485
+ # The JSON data input to the execution.
486
+ # @return [String]
487
+ #
488
+ # @!attribute [rw] role_arn
489
+ # The Amazon Resource Name (ARN) of the IAM role used for executing
490
+ # AWS Lambda tasks.
491
+ # @return [String]
492
+ #
493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails AWS API Documentation
494
+ #
495
+ class ExecutionStartedEventDetails < Struct.new(
496
+ :input,
497
+ :role_arn)
498
+ include Aws::Structure
499
+ end
429
500
 
430
- # @!attribute [rw] error
431
- # The error code of the failure.
432
- # @return [String]
433
- #
434
- # @!attribute [rw] cause
435
- # A more detailed explanation of the cause of the timeout.
436
- # @return [String]
437
- class ExecutionTimedOutEventDetails < Struct.new(
438
- :error,
439
- :cause)
440
- include Aws::Structure
441
- end
501
+ # @!attribute [rw] output
502
+ # The JSON data output by the execution.
503
+ # @return [String]
504
+ #
505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails AWS API Documentation
506
+ #
507
+ class ExecutionSucceededEventDetails < Struct.new(
508
+ :output)
509
+ include Aws::Structure
510
+ end
442
511
 
443
- # @note When making an API call, pass GetActivityTaskInput
444
- # data as a hash:
445
- #
446
- # {
447
- # activity_arn: "Arn", # required
448
- # worker_name: "Name",
449
- # }
450
- # @!attribute [rw] activity_arn
451
- # The Amazon Resource Name (ARN) of the activity to retrieve tasks
452
- # from.
453
- # @return [String]
454
- #
455
- # @!attribute [rw] worker_name
456
- # An arbitrary name may be provided in order to identify the worker
457
- # that the task is assigned to. This name will be used when it is
458
- # logged in the execution history.
459
- # @return [String]
460
- class GetActivityTaskInput < Struct.new(
461
- :activity_arn,
462
- :worker_name)
463
- include Aws::Structure
464
- end
512
+ # @!attribute [rw] error
513
+ # The error code of the failure.
514
+ # @return [String]
515
+ #
516
+ # @!attribute [rw] cause
517
+ # A more detailed explanation of the cause of the timeout.
518
+ # @return [String]
519
+ #
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionTimedOutEventDetails AWS API Documentation
521
+ #
522
+ class ExecutionTimedOutEventDetails < Struct.new(
523
+ :error,
524
+ :cause)
525
+ include Aws::Structure
526
+ end
465
527
 
466
- # @!attribute [rw] task_token
467
- # A token that identifies the scheduled task. This token must be
468
- # copied and included in subsequent calls to SendTaskHeartbeat,
469
- # SendTaskSuccess or SendTaskFailure in order to report the progress
470
- # or completion of the task.
471
- # @return [String]
472
- #
473
- # @!attribute [rw] input
474
- # The JSON input data for the task.
475
- # @return [String]
476
- class GetActivityTaskOutput < Struct.new(
477
- :task_token,
478
- :input)
479
- include Aws::Structure
480
- end
528
+ # @note When making an API call, you may pass GetActivityTaskInput
529
+ # data as a hash:
530
+ #
531
+ # {
532
+ # activity_arn: "Arn", # required
533
+ # worker_name: "Name",
534
+ # }
535
+ #
536
+ # @!attribute [rw] activity_arn
537
+ # The Amazon Resource Name (ARN) of the activity to retrieve tasks
538
+ # from.
539
+ # @return [String]
540
+ #
541
+ # @!attribute [rw] worker_name
542
+ # An arbitrary name may be provided in order to identify the worker
543
+ # that the task is assigned to. This name will be used when it is
544
+ # logged in the execution history.
545
+ # @return [String]
546
+ #
547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskInput AWS API Documentation
548
+ #
549
+ class GetActivityTaskInput < Struct.new(
550
+ :activity_arn,
551
+ :worker_name)
552
+ include Aws::Structure
553
+ end
481
554
 
482
- # @note When making an API call, pass GetExecutionHistoryInput
483
- # data as a hash:
484
- #
485
- # {
486
- # execution_arn: "Arn", # required
487
- # max_results: 1,
488
- # reverse_order: false,
489
- # next_token: "PageToken",
490
- # }
491
- # @!attribute [rw] execution_arn
492
- # The Amazon Resource Name (ARN) of the execution.
493
- # @return [String]
494
- #
495
- # @!attribute [rw] max_results
496
- # The maximum number of results that will be returned per call.
497
- # `nextToken` can be used to obtain further pages of results. The
498
- # default is 100 and the maximum allowed page size is 1000.
499
- #
500
- # This is an upper limit only; the actual number of results returned
501
- # per call may be fewer than the specified maximum.
502
- # @return [Integer]
503
- #
504
- # @!attribute [rw] reverse_order
505
- # Lists events in descending order of their `timeStamp`.
506
- # @return [Boolean]
507
- #
508
- # @!attribute [rw] next_token
509
- # If a `nextToken` was returned by a previous call, there are more
510
- # results available. To retrieve the next page of results, make the
511
- # call again using the returned token in `nextToken`. Keep all other
512
- # arguments unchanged.
513
- #
514
- # The configured `maxResults` determines how many results can be
515
- # returned in a single call.
516
- # @return [String]
517
- class GetExecutionHistoryInput < Struct.new(
518
- :execution_arn,
519
- :max_results,
520
- :reverse_order,
521
- :next_token)
522
- include Aws::Structure
523
- end
555
+ # @!attribute [rw] task_token
556
+ # A token that identifies the scheduled task. This token must be
557
+ # copied and included in subsequent calls to SendTaskHeartbeat,
558
+ # SendTaskSuccess or SendTaskFailure in order to report the progress
559
+ # or completion of the task.
560
+ # @return [String]
561
+ #
562
+ # @!attribute [rw] input
563
+ # The JSON input data for the task.
564
+ # @return [String]
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput AWS API Documentation
567
+ #
568
+ class GetActivityTaskOutput < Struct.new(
569
+ :task_token,
570
+ :input)
571
+ include Aws::Structure
572
+ end
524
573
 
525
- # @!attribute [rw] events
526
- # The list of events that occurred in the execution.
527
- # @return [Array<Types::HistoryEvent>]
528
- #
529
- # @!attribute [rw] next_token
530
- # If a `nextToken` is returned, there are more results available. To
531
- # retrieve the next page of results, make the call again using the
532
- # returned token in `nextToken`. Keep all other arguments unchanged.
533
- #
534
- # The configured `maxResults` determines how many results can be
535
- # returned in a single call.
536
- # @return [String]
537
- class GetExecutionHistoryOutput < Struct.new(
538
- :events,
539
- :next_token)
540
- include Aws::Structure
541
- end
574
+ # @note When making an API call, you may pass GetExecutionHistoryInput
575
+ # data as a hash:
576
+ #
577
+ # {
578
+ # execution_arn: "Arn", # required
579
+ # max_results: 1,
580
+ # reverse_order: false,
581
+ # next_token: "PageToken",
582
+ # }
583
+ #
584
+ # @!attribute [rw] execution_arn
585
+ # The Amazon Resource Name (ARN) of the execution.
586
+ # @return [String]
587
+ #
588
+ # @!attribute [rw] max_results
589
+ # The maximum number of results that will be returned per call.
590
+ # `nextToken` can be used to obtain further pages of results. The
591
+ # default is 100 and the maximum allowed page size is 1000.
592
+ #
593
+ # This is an upper limit only; the actual number of results returned
594
+ # per call may be fewer than the specified maximum.
595
+ # @return [Integer]
596
+ #
597
+ # @!attribute [rw] reverse_order
598
+ # Lists events in descending order of their `timeStamp`.
599
+ # @return [Boolean]
600
+ #
601
+ # @!attribute [rw] next_token
602
+ # If a `nextToken` was returned by a previous call, there are more
603
+ # results available. To retrieve the next page of results, make the
604
+ # call again using the returned token in `nextToken`. Keep all other
605
+ # arguments unchanged.
606
+ #
607
+ # The configured `maxResults` determines how many results can be
608
+ # returned in a single call.
609
+ # @return [String]
610
+ #
611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput AWS API Documentation
612
+ #
613
+ class GetExecutionHistoryInput < Struct.new(
614
+ :execution_arn,
615
+ :max_results,
616
+ :reverse_order,
617
+ :next_token)
618
+ include Aws::Structure
619
+ end
542
620
 
543
- # @!attribute [rw] timestamp
544
- # The date the event occured.
545
- # @return [Time]
546
- #
547
- # @!attribute [rw] type
548
- # The type of the event.
549
- # @return [String]
550
- #
551
- # @!attribute [rw] id
552
- # The id of the event. Events are numbered sequentially, starting at
553
- # one.
554
- # @return [Integer]
555
- #
556
- # @!attribute [rw] previous_event_id
557
- # The id of the previous event.
558
- # @return [Integer]
559
- #
560
- # @!attribute [rw] activity_failed_event_details
561
- # @return [Types::ActivityFailedEventDetails]
562
- #
563
- # @!attribute [rw] activity_schedule_failed_event_details
564
- # @return [Types::ActivityScheduleFailedEventDetails]
565
- #
566
- # @!attribute [rw] activity_scheduled_event_details
567
- # @return [Types::ActivityScheduledEventDetails]
568
- #
569
- # @!attribute [rw] activity_started_event_details
570
- # @return [Types::ActivityStartedEventDetails]
571
- #
572
- # @!attribute [rw] activity_succeeded_event_details
573
- # @return [Types::ActivitySucceededEventDetails]
574
- #
575
- # @!attribute [rw] activity_timed_out_event_details
576
- # @return [Types::ActivityTimedOutEventDetails]
577
- #
578
- # @!attribute [rw] execution_failed_event_details
579
- # @return [Types::ExecutionFailedEventDetails]
580
- #
581
- # @!attribute [rw] execution_started_event_details
582
- # @return [Types::ExecutionStartedEventDetails]
583
- #
584
- # @!attribute [rw] execution_succeeded_event_details
585
- # @return [Types::ExecutionSucceededEventDetails]
586
- #
587
- # @!attribute [rw] execution_aborted_event_details
588
- # @return [Types::ExecutionAbortedEventDetails]
589
- #
590
- # @!attribute [rw] execution_timed_out_event_details
591
- # @return [Types::ExecutionTimedOutEventDetails]
592
- #
593
- # @!attribute [rw] lambda_function_failed_event_details
594
- # @return [Types::LambdaFunctionFailedEventDetails]
595
- #
596
- # @!attribute [rw] lambda_function_schedule_failed_event_details
597
- # @return [Types::LambdaFunctionScheduleFailedEventDetails]
598
- #
599
- # @!attribute [rw] lambda_function_scheduled_event_details
600
- # @return [Types::LambdaFunctionScheduledEventDetails]
601
- #
602
- # @!attribute [rw] lambda_function_start_failed_event_details
603
- # @return [Types::LambdaFunctionStartFailedEventDetails]
604
- #
605
- # @!attribute [rw] lambda_function_succeeded_event_details
606
- # @return [Types::LambdaFunctionSucceededEventDetails]
607
- #
608
- # @!attribute [rw] lambda_function_timed_out_event_details
609
- # @return [Types::LambdaFunctionTimedOutEventDetails]
610
- #
611
- # @!attribute [rw] state_entered_event_details
612
- # @return [Types::StateEnteredEventDetails]
613
- #
614
- # @!attribute [rw] state_exited_event_details
615
- # @return [Types::StateExitedEventDetails]
616
- class HistoryEvent < Struct.new(
617
- :timestamp,
618
- :type,
619
- :id,
620
- :previous_event_id,
621
- :activity_failed_event_details,
622
- :activity_schedule_failed_event_details,
623
- :activity_scheduled_event_details,
624
- :activity_started_event_details,
625
- :activity_succeeded_event_details,
626
- :activity_timed_out_event_details,
627
- :execution_failed_event_details,
628
- :execution_started_event_details,
629
- :execution_succeeded_event_details,
630
- :execution_aborted_event_details,
631
- :execution_timed_out_event_details,
632
- :lambda_function_failed_event_details,
633
- :lambda_function_schedule_failed_event_details,
634
- :lambda_function_scheduled_event_details,
635
- :lambda_function_start_failed_event_details,
636
- :lambda_function_succeeded_event_details,
637
- :lambda_function_timed_out_event_details,
638
- :state_entered_event_details,
639
- :state_exited_event_details)
640
- include Aws::Structure
641
- end
621
+ # @!attribute [rw] events
622
+ # The list of events that occurred in the execution.
623
+ # @return [Array<Types::HistoryEvent>]
624
+ #
625
+ # @!attribute [rw] next_token
626
+ # If a `nextToken` is returned, there are more results available. To
627
+ # retrieve the next page of results, make the call again using the
628
+ # returned token in `nextToken`. Keep all other arguments unchanged.
629
+ #
630
+ # The configured `maxResults` determines how many results can be
631
+ # returned in a single call.
632
+ # @return [String]
633
+ #
634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryOutput AWS API Documentation
635
+ #
636
+ class GetExecutionHistoryOutput < Struct.new(
637
+ :events,
638
+ :next_token)
639
+ include Aws::Structure
640
+ end
642
641
 
643
- # @!attribute [rw] error
644
- # The error code of the failure.
645
- # @return [String]
646
- #
647
- # @!attribute [rw] cause
648
- # A more detailed explanation of the cause of the failure.
649
- # @return [String]
650
- class LambdaFunctionFailedEventDetails < Struct.new(
651
- :error,
652
- :cause)
653
- include Aws::Structure
654
- end
642
+ # @!attribute [rw] timestamp
643
+ # The date the event occured.
644
+ # @return [Time]
645
+ #
646
+ # @!attribute [rw] type
647
+ # The type of the event.
648
+ # @return [String]
649
+ #
650
+ # @!attribute [rw] id
651
+ # The id of the event. Events are numbered sequentially, starting at
652
+ # one.
653
+ # @return [Integer]
654
+ #
655
+ # @!attribute [rw] previous_event_id
656
+ # The id of the previous event.
657
+ # @return [Integer]
658
+ #
659
+ # @!attribute [rw] activity_failed_event_details
660
+ # @return [Types::ActivityFailedEventDetails]
661
+ #
662
+ # @!attribute [rw] activity_schedule_failed_event_details
663
+ # @return [Types::ActivityScheduleFailedEventDetails]
664
+ #
665
+ # @!attribute [rw] activity_scheduled_event_details
666
+ # @return [Types::ActivityScheduledEventDetails]
667
+ #
668
+ # @!attribute [rw] activity_started_event_details
669
+ # @return [Types::ActivityStartedEventDetails]
670
+ #
671
+ # @!attribute [rw] activity_succeeded_event_details
672
+ # @return [Types::ActivitySucceededEventDetails]
673
+ #
674
+ # @!attribute [rw] activity_timed_out_event_details
675
+ # @return [Types::ActivityTimedOutEventDetails]
676
+ #
677
+ # @!attribute [rw] execution_failed_event_details
678
+ # @return [Types::ExecutionFailedEventDetails]
679
+ #
680
+ # @!attribute [rw] execution_started_event_details
681
+ # @return [Types::ExecutionStartedEventDetails]
682
+ #
683
+ # @!attribute [rw] execution_succeeded_event_details
684
+ # @return [Types::ExecutionSucceededEventDetails]
685
+ #
686
+ # @!attribute [rw] execution_aborted_event_details
687
+ # @return [Types::ExecutionAbortedEventDetails]
688
+ #
689
+ # @!attribute [rw] execution_timed_out_event_details
690
+ # @return [Types::ExecutionTimedOutEventDetails]
691
+ #
692
+ # @!attribute [rw] lambda_function_failed_event_details
693
+ # @return [Types::LambdaFunctionFailedEventDetails]
694
+ #
695
+ # @!attribute [rw] lambda_function_schedule_failed_event_details
696
+ # @return [Types::LambdaFunctionScheduleFailedEventDetails]
697
+ #
698
+ # @!attribute [rw] lambda_function_scheduled_event_details
699
+ # @return [Types::LambdaFunctionScheduledEventDetails]
700
+ #
701
+ # @!attribute [rw] lambda_function_start_failed_event_details
702
+ # @return [Types::LambdaFunctionStartFailedEventDetails]
703
+ #
704
+ # @!attribute [rw] lambda_function_succeeded_event_details
705
+ # @return [Types::LambdaFunctionSucceededEventDetails]
706
+ #
707
+ # @!attribute [rw] lambda_function_timed_out_event_details
708
+ # @return [Types::LambdaFunctionTimedOutEventDetails]
709
+ #
710
+ # @!attribute [rw] state_entered_event_details
711
+ # @return [Types::StateEnteredEventDetails]
712
+ #
713
+ # @!attribute [rw] state_exited_event_details
714
+ # @return [Types::StateExitedEventDetails]
715
+ #
716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent AWS API Documentation
717
+ #
718
+ class HistoryEvent < Struct.new(
719
+ :timestamp,
720
+ :type,
721
+ :id,
722
+ :previous_event_id,
723
+ :activity_failed_event_details,
724
+ :activity_schedule_failed_event_details,
725
+ :activity_scheduled_event_details,
726
+ :activity_started_event_details,
727
+ :activity_succeeded_event_details,
728
+ :activity_timed_out_event_details,
729
+ :execution_failed_event_details,
730
+ :execution_started_event_details,
731
+ :execution_succeeded_event_details,
732
+ :execution_aborted_event_details,
733
+ :execution_timed_out_event_details,
734
+ :lambda_function_failed_event_details,
735
+ :lambda_function_schedule_failed_event_details,
736
+ :lambda_function_scheduled_event_details,
737
+ :lambda_function_start_failed_event_details,
738
+ :lambda_function_succeeded_event_details,
739
+ :lambda_function_timed_out_event_details,
740
+ :state_entered_event_details,
741
+ :state_exited_event_details)
742
+ include Aws::Structure
743
+ end
655
744
 
656
- # @!attribute [rw] error
657
- # The error code of the failure.
658
- # @return [String]
659
- #
660
- # @!attribute [rw] cause
661
- # A more detailed explanation of the cause of the failure.
662
- # @return [String]
663
- class LambdaFunctionScheduleFailedEventDetails < Struct.new(
664
- :error,
665
- :cause)
666
- include Aws::Structure
667
- end
745
+ # @!attribute [rw] error
746
+ # The error code of the failure.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] cause
750
+ # A more detailed explanation of the cause of the failure.
751
+ # @return [String]
752
+ #
753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionFailedEventDetails AWS API Documentation
754
+ #
755
+ class LambdaFunctionFailedEventDetails < Struct.new(
756
+ :error,
757
+ :cause)
758
+ include Aws::Structure
759
+ end
668
760
 
669
- # @!attribute [rw] resource
670
- # The Amazon Resource Name (ARN) of the scheduled lambda function.
671
- # @return [String]
672
- #
673
- # @!attribute [rw] input
674
- # The JSON data input to the lambda function.
675
- # @return [String]
676
- #
677
- # @!attribute [rw] timeout_in_seconds
678
- # The maximum allowed duration of the lambda function.
679
- # @return [Integer]
680
- class LambdaFunctionScheduledEventDetails < Struct.new(
681
- :resource,
682
- :input,
683
- :timeout_in_seconds)
684
- include Aws::Structure
685
- end
761
+ # @!attribute [rw] error
762
+ # The error code of the failure.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] cause
766
+ # A more detailed explanation of the cause of the failure.
767
+ # @return [String]
768
+ #
769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduleFailedEventDetails AWS API Documentation
770
+ #
771
+ class LambdaFunctionScheduleFailedEventDetails < Struct.new(
772
+ :error,
773
+ :cause)
774
+ include Aws::Structure
775
+ end
686
776
 
687
- # @!attribute [rw] error
688
- # The error code of the failure.
689
- # @return [String]
690
- #
691
- # @!attribute [rw] cause
692
- # A more detailed explanation of the cause of the failure.
693
- # @return [String]
694
- class LambdaFunctionStartFailedEventDetails < Struct.new(
695
- :error,
696
- :cause)
697
- include Aws::Structure
698
- end
777
+ # @!attribute [rw] resource
778
+ # The Amazon Resource Name (ARN) of the scheduled lambda function.
779
+ # @return [String]
780
+ #
781
+ # @!attribute [rw] input
782
+ # The JSON data input to the lambda function.
783
+ # @return [String]
784
+ #
785
+ # @!attribute [rw] timeout_in_seconds
786
+ # The maximum allowed duration of the lambda function.
787
+ # @return [Integer]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails AWS API Documentation
790
+ #
791
+ class LambdaFunctionScheduledEventDetails < Struct.new(
792
+ :resource,
793
+ :input,
794
+ :timeout_in_seconds)
795
+ include Aws::Structure
796
+ end
699
797
 
700
- # @!attribute [rw] output
701
- # The JSON data output by the lambda function.
702
- # @return [String]
703
- class LambdaFunctionSucceededEventDetails < Struct.new(
704
- :output)
705
- include Aws::Structure
706
- end
798
+ # @!attribute [rw] error
799
+ # The error code of the failure.
800
+ # @return [String]
801
+ #
802
+ # @!attribute [rw] cause
803
+ # A more detailed explanation of the cause of the failure.
804
+ # @return [String]
805
+ #
806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionStartFailedEventDetails AWS API Documentation
807
+ #
808
+ class LambdaFunctionStartFailedEventDetails < Struct.new(
809
+ :error,
810
+ :cause)
811
+ include Aws::Structure
812
+ end
707
813
 
708
- # @!attribute [rw] error
709
- # The error code of the failure.
710
- # @return [String]
711
- #
712
- # @!attribute [rw] cause
713
- # A more detailed explanation of the cause of the timeout.
714
- # @return [String]
715
- class LambdaFunctionTimedOutEventDetails < Struct.new(
716
- :error,
717
- :cause)
718
- include Aws::Structure
719
- end
814
+ # @!attribute [rw] output
815
+ # The JSON data output by the lambda function.
816
+ # @return [String]
817
+ #
818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails AWS API Documentation
819
+ #
820
+ class LambdaFunctionSucceededEventDetails < Struct.new(
821
+ :output)
822
+ include Aws::Structure
823
+ end
720
824
 
721
- # @note When making an API call, pass ListActivitiesInput
722
- # data as a hash:
723
- #
724
- # {
725
- # max_results: 1,
726
- # next_token: "PageToken",
727
- # }
728
- # @!attribute [rw] max_results
729
- # The maximum number of results that will be returned per call.
730
- # `nextToken` can be used to obtain further pages of results. The
731
- # default is 100 and the maximum allowed page size is 1000.
732
- #
733
- # This is an upper limit only; the actual number of results returned
734
- # per call may be fewer than the specified maximum.
735
- # @return [Integer]
736
- #
737
- # @!attribute [rw] next_token
738
- # If a `nextToken` was returned by a previous call, there are more
739
- # results available. To retrieve the next page of results, make the
740
- # call again using the returned token in `nextToken`. Keep all other
741
- # arguments unchanged.
742
- #
743
- # The configured `maxResults` determines how many results can be
744
- # returned in a single call.
745
- # @return [String]
746
- class ListActivitiesInput < Struct.new(
747
- :max_results,
748
- :next_token)
749
- include Aws::Structure
750
- end
825
+ # @!attribute [rw] error
826
+ # The error code of the failure.
827
+ # @return [String]
828
+ #
829
+ # @!attribute [rw] cause
830
+ # A more detailed explanation of the cause of the timeout.
831
+ # @return [String]
832
+ #
833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionTimedOutEventDetails AWS API Documentation
834
+ #
835
+ class LambdaFunctionTimedOutEventDetails < Struct.new(
836
+ :error,
837
+ :cause)
838
+ include Aws::Structure
839
+ end
751
840
 
752
- # @!attribute [rw] activities
753
- # The list of activities.
754
- # @return [Array<Types::ActivityListItem>]
755
- #
756
- # @!attribute [rw] next_token
757
- # If a `nextToken` is returned, there are more results available. To
758
- # retrieve the next page of results, make the call again using the
759
- # returned token in `nextToken`. Keep all other arguments unchanged.
760
- #
761
- # The configured `maxResults` determines how many results can be
762
- # returned in a single call.
763
- # @return [String]
764
- class ListActivitiesOutput < Struct.new(
765
- :activities,
766
- :next_token)
767
- include Aws::Structure
768
- end
841
+ # @note When making an API call, you may pass ListActivitiesInput
842
+ # data as a hash:
843
+ #
844
+ # {
845
+ # max_results: 1,
846
+ # next_token: "PageToken",
847
+ # }
848
+ #
849
+ # @!attribute [rw] max_results
850
+ # The maximum number of results that will be returned per call.
851
+ # `nextToken` can be used to obtain further pages of results. The
852
+ # default is 100 and the maximum allowed page size is 1000.
853
+ #
854
+ # This is an upper limit only; the actual number of results returned
855
+ # per call may be fewer than the specified maximum.
856
+ # @return [Integer]
857
+ #
858
+ # @!attribute [rw] next_token
859
+ # If a `nextToken` was returned by a previous call, there are more
860
+ # results available. To retrieve the next page of results, make the
861
+ # call again using the returned token in `nextToken`. Keep all other
862
+ # arguments unchanged.
863
+ #
864
+ # The configured `maxResults` determines how many results can be
865
+ # returned in a single call.
866
+ # @return [String]
867
+ #
868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesInput AWS API Documentation
869
+ #
870
+ class ListActivitiesInput < Struct.new(
871
+ :max_results,
872
+ :next_token)
873
+ include Aws::Structure
874
+ end
769
875
 
770
- # @note When making an API call, pass ListExecutionsInput
771
- # data as a hash:
772
- #
773
- # {
774
- # state_machine_arn: "Arn", # required
775
- # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
776
- # max_results: 1,
777
- # next_token: "PageToken",
778
- # }
779
- # @!attribute [rw] state_machine_arn
780
- # The Amazon Resource Name (ARN) of the state machine whose executions
781
- # will be listed.
782
- # @return [String]
783
- #
784
- # @!attribute [rw] status_filter
785
- # If specified, only list the executions whose current execution
786
- # status matches the given filter.
787
- # @return [String]
788
- #
789
- # @!attribute [rw] max_results
790
- # The maximum number of results that will be returned per call.
791
- # `nextToken` can be used to obtain further pages of results. The
792
- # default is 100 and the maximum allowed page size is 1000.
793
- #
794
- # This is an upper limit only; the actual number of results returned
795
- # per call may be fewer than the specified maximum.
796
- # @return [Integer]
797
- #
798
- # @!attribute [rw] next_token
799
- # If a `nextToken` was returned by a previous call, there are more
800
- # results available. To retrieve the next page of results, make the
801
- # call again using the returned token in `nextToken`. Keep all other
802
- # arguments unchanged.
803
- #
804
- # The configured `maxResults` determines how many results can be
805
- # returned in a single call.
806
- # @return [String]
807
- class ListExecutionsInput < Struct.new(
808
- :state_machine_arn,
809
- :status_filter,
810
- :max_results,
811
- :next_token)
812
- include Aws::Structure
813
- end
876
+ # @!attribute [rw] activities
877
+ # The list of activities.
878
+ # @return [Array<Types::ActivityListItem>]
879
+ #
880
+ # @!attribute [rw] next_token
881
+ # If a `nextToken` is returned, there are more results available. To
882
+ # retrieve the next page of results, make the call again using the
883
+ # returned token in `nextToken`. Keep all other arguments unchanged.
884
+ #
885
+ # The configured `maxResults` determines how many results can be
886
+ # returned in a single call.
887
+ # @return [String]
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesOutput AWS API Documentation
890
+ #
891
+ class ListActivitiesOutput < Struct.new(
892
+ :activities,
893
+ :next_token)
894
+ include Aws::Structure
895
+ end
814
896
 
815
- # @!attribute [rw] executions
816
- # The list of matching executions.
817
- # @return [Array<Types::ExecutionListItem>]
818
- #
819
- # @!attribute [rw] next_token
820
- # If a `nextToken` is returned, there are more results available. To
821
- # retrieve the next page of results, make the call again using the
822
- # returned token in `nextToken`. Keep all other arguments unchanged.
823
- #
824
- # The configured `maxResults` determines how many results can be
825
- # returned in a single call.
826
- # @return [String]
827
- class ListExecutionsOutput < Struct.new(
828
- :executions,
829
- :next_token)
830
- include Aws::Structure
831
- end
897
+ # @note When making an API call, you may pass ListExecutionsInput
898
+ # data as a hash:
899
+ #
900
+ # {
901
+ # state_machine_arn: "Arn", # required
902
+ # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
903
+ # max_results: 1,
904
+ # next_token: "PageToken",
905
+ # }
906
+ #
907
+ # @!attribute [rw] state_machine_arn
908
+ # The Amazon Resource Name (ARN) of the state machine whose executions
909
+ # will be listed.
910
+ # @return [String]
911
+ #
912
+ # @!attribute [rw] status_filter
913
+ # If specified, only list the executions whose current execution
914
+ # status matches the given filter.
915
+ # @return [String]
916
+ #
917
+ # @!attribute [rw] max_results
918
+ # The maximum number of results that will be returned per call.
919
+ # `nextToken` can be used to obtain further pages of results. The
920
+ # default is 100 and the maximum allowed page size is 1000.
921
+ #
922
+ # This is an upper limit only; the actual number of results returned
923
+ # per call may be fewer than the specified maximum.
924
+ # @return [Integer]
925
+ #
926
+ # @!attribute [rw] next_token
927
+ # If a `nextToken` was returned by a previous call, there are more
928
+ # results available. To retrieve the next page of results, make the
929
+ # call again using the returned token in `nextToken`. Keep all other
930
+ # arguments unchanged.
931
+ #
932
+ # The configured `maxResults` determines how many results can be
933
+ # returned in a single call.
934
+ # @return [String]
935
+ #
936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput AWS API Documentation
937
+ #
938
+ class ListExecutionsInput < Struct.new(
939
+ :state_machine_arn,
940
+ :status_filter,
941
+ :max_results,
942
+ :next_token)
943
+ include Aws::Structure
944
+ end
832
945
 
833
- # @note When making an API call, pass ListStateMachinesInput
834
- # data as a hash:
835
- #
836
- # {
837
- # max_results: 1,
838
- # next_token: "PageToken",
839
- # }
840
- # @!attribute [rw] max_results
841
- # The maximum number of results that will be returned per call.
842
- # `nextToken` can be used to obtain further pages of results. The
843
- # default is 100 and the maximum allowed page size is 1000.
844
- #
845
- # This is an upper limit only; the actual number of results returned
846
- # per call may be fewer than the specified maximum.
847
- # @return [Integer]
848
- #
849
- # @!attribute [rw] next_token
850
- # If a `nextToken` was returned by a previous call, there are more
851
- # results available. To retrieve the next page of results, make the
852
- # call again using the returned token in `nextToken`. Keep all other
853
- # arguments unchanged.
854
- #
855
- # The configured `maxResults` determines how many results can be
856
- # returned in a single call.
857
- # @return [String]
858
- class ListStateMachinesInput < Struct.new(
859
- :max_results,
860
- :next_token)
861
- include Aws::Structure
862
- end
946
+ # @!attribute [rw] executions
947
+ # The list of matching executions.
948
+ # @return [Array<Types::ExecutionListItem>]
949
+ #
950
+ # @!attribute [rw] next_token
951
+ # If a `nextToken` is returned, there are more results available. To
952
+ # retrieve the next page of results, make the call again using the
953
+ # returned token in `nextToken`. Keep all other arguments unchanged.
954
+ #
955
+ # The configured `maxResults` determines how many results can be
956
+ # returned in a single call.
957
+ # @return [String]
958
+ #
959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsOutput AWS API Documentation
960
+ #
961
+ class ListExecutionsOutput < Struct.new(
962
+ :executions,
963
+ :next_token)
964
+ include Aws::Structure
965
+ end
863
966
 
864
- # @!attribute [rw] state_machines
865
- # @return [Array<Types::StateMachineListItem>]
866
- #
867
- # @!attribute [rw] next_token
868
- # If a `nextToken` is returned, there are more results available. To
869
- # retrieve the next page of results, make the call again using the
870
- # returned token in `nextToken`. Keep all other arguments unchanged.
871
- #
872
- # The configured `maxResults` determines how many results can be
873
- # returned in a single call.
874
- # @return [String]
875
- class ListStateMachinesOutput < Struct.new(
876
- :state_machines,
877
- :next_token)
878
- include Aws::Structure
879
- end
967
+ # @note When making an API call, you may pass ListStateMachinesInput
968
+ # data as a hash:
969
+ #
970
+ # {
971
+ # max_results: 1,
972
+ # next_token: "PageToken",
973
+ # }
974
+ #
975
+ # @!attribute [rw] max_results
976
+ # The maximum number of results that will be returned per call.
977
+ # `nextToken` can be used to obtain further pages of results. The
978
+ # default is 100 and the maximum allowed page size is 1000.
979
+ #
980
+ # This is an upper limit only; the actual number of results returned
981
+ # per call may be fewer than the specified maximum.
982
+ # @return [Integer]
983
+ #
984
+ # @!attribute [rw] next_token
985
+ # If a `nextToken` was returned by a previous call, there are more
986
+ # results available. To retrieve the next page of results, make the
987
+ # call again using the returned token in `nextToken`. Keep all other
988
+ # arguments unchanged.
989
+ #
990
+ # The configured `maxResults` determines how many results can be
991
+ # returned in a single call.
992
+ # @return [String]
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesInput AWS API Documentation
995
+ #
996
+ class ListStateMachinesInput < Struct.new(
997
+ :max_results,
998
+ :next_token)
999
+ include Aws::Structure
1000
+ end
880
1001
 
881
- # @note When making an API call, pass SendTaskFailureInput
882
- # data as a hash:
883
- #
884
- # {
885
- # task_token: "TaskToken", # required
886
- # error: "Error",
887
- # cause: "Cause",
888
- # }
889
- # @!attribute [rw] task_token
890
- # The token that represents this task. Task tokens are generated by
891
- # the service when the tasks are assigned to a worker (see
892
- # GetActivityTask::taskToken).
893
- # @return [String]
894
- #
895
- # @!attribute [rw] error
896
- # An arbitrary error code that identifies the cause of the failure.
897
- # @return [String]
898
- #
899
- # @!attribute [rw] cause
900
- # A more detailed explanation of the cause of the failure.
901
- # @return [String]
902
- class SendTaskFailureInput < Struct.new(
903
- :task_token,
904
- :error,
905
- :cause)
906
- include Aws::Structure
907
- end
1002
+ # @!attribute [rw] state_machines
1003
+ # @return [Array<Types::StateMachineListItem>]
1004
+ #
1005
+ # @!attribute [rw] next_token
1006
+ # If a `nextToken` is returned, there are more results available. To
1007
+ # retrieve the next page of results, make the call again using the
1008
+ # returned token in `nextToken`. Keep all other arguments unchanged.
1009
+ #
1010
+ # The configured `maxResults` determines how many results can be
1011
+ # returned in a single call.
1012
+ # @return [String]
1013
+ #
1014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesOutput AWS API Documentation
1015
+ #
1016
+ class ListStateMachinesOutput < Struct.new(
1017
+ :state_machines,
1018
+ :next_token)
1019
+ include Aws::Structure
1020
+ end
908
1021
 
909
- class SendTaskFailureOutput < Aws::EmptyStructure; end
1022
+ # @note When making an API call, you may pass SendTaskFailureInput
1023
+ # data as a hash:
1024
+ #
1025
+ # {
1026
+ # task_token: "TaskToken", # required
1027
+ # error: "Error",
1028
+ # cause: "Cause",
1029
+ # }
1030
+ #
1031
+ # @!attribute [rw] task_token
1032
+ # The token that represents this task. Task tokens are generated by
1033
+ # the service when the tasks are assigned to a worker (see
1034
+ # GetActivityTask::taskToken).
1035
+ # @return [String]
1036
+ #
1037
+ # @!attribute [rw] error
1038
+ # An arbitrary error code that identifies the cause of the failure.
1039
+ # @return [String]
1040
+ #
1041
+ # @!attribute [rw] cause
1042
+ # A more detailed explanation of the cause of the failure.
1043
+ # @return [String]
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureInput AWS API Documentation
1046
+ #
1047
+ class SendTaskFailureInput < Struct.new(
1048
+ :task_token,
1049
+ :error,
1050
+ :cause)
1051
+ include Aws::Structure
1052
+ end
910
1053
 
911
- # @note When making an API call, pass SendTaskHeartbeatInput
912
- # data as a hash:
913
- #
914
- # {
915
- # task_token: "TaskToken", # required
916
- # }
917
- # @!attribute [rw] task_token
918
- # The token that represents this task. Task tokens are generated by
919
- # the service when the tasks are assigned to a worker (see
920
- # GetActivityTask::taskToken).
921
- # @return [String]
922
- class SendTaskHeartbeatInput < Struct.new(
923
- :task_token)
924
- include Aws::Structure
925
- end
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureOutput AWS API Documentation
1055
+ #
1056
+ class SendTaskFailureOutput < Aws::EmptyStructure; end
926
1057
 
927
- class SendTaskHeartbeatOutput < Aws::EmptyStructure; end
1058
+ # @note When making an API call, you may pass SendTaskHeartbeatInput
1059
+ # data as a hash:
1060
+ #
1061
+ # {
1062
+ # task_token: "TaskToken", # required
1063
+ # }
1064
+ #
1065
+ # @!attribute [rw] task_token
1066
+ # The token that represents this task. Task tokens are generated by
1067
+ # the service when the tasks are assigned to a worker (see
1068
+ # GetActivityTask::taskToken).
1069
+ # @return [String]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatInput AWS API Documentation
1072
+ #
1073
+ class SendTaskHeartbeatInput < Struct.new(
1074
+ :task_token)
1075
+ include Aws::Structure
1076
+ end
928
1077
 
929
- # @note When making an API call, pass SendTaskSuccessInput
930
- # data as a hash:
931
- #
932
- # {
933
- # task_token: "TaskToken", # required
934
- # output: "Data", # required
935
- # }
936
- # @!attribute [rw] task_token
937
- # The token that represents this task. Task tokens are generated by
938
- # the service when the tasks are assigned to a worker (see
939
- # GetActivityTask::taskToken).
940
- # @return [String]
941
- #
942
- # @!attribute [rw] output
943
- # The JSON output of the task.
944
- # @return [String]
945
- class SendTaskSuccessInput < Struct.new(
946
- :task_token,
947
- :output)
948
- include Aws::Structure
949
- end
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatOutput AWS API Documentation
1079
+ #
1080
+ class SendTaskHeartbeatOutput < Aws::EmptyStructure; end
950
1081
 
951
- class SendTaskSuccessOutput < Aws::EmptyStructure; end
1082
+ # @note When making an API call, you may pass SendTaskSuccessInput
1083
+ # data as a hash:
1084
+ #
1085
+ # {
1086
+ # task_token: "TaskToken", # required
1087
+ # output: "Data", # required
1088
+ # }
1089
+ #
1090
+ # @!attribute [rw] task_token
1091
+ # The token that represents this task. Task tokens are generated by
1092
+ # the service when the tasks are assigned to a worker (see
1093
+ # GetActivityTask::taskToken).
1094
+ # @return [String]
1095
+ #
1096
+ # @!attribute [rw] output
1097
+ # The JSON output of the task.
1098
+ # @return [String]
1099
+ #
1100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput AWS API Documentation
1101
+ #
1102
+ class SendTaskSuccessInput < Struct.new(
1103
+ :task_token,
1104
+ :output)
1105
+ include Aws::Structure
1106
+ end
952
1107
 
953
- # @note When making an API call, pass StartExecutionInput
954
- # data as a hash:
955
- #
956
- # {
957
- # state_machine_arn: "Arn", # required
958
- # name: "Name",
959
- # input: "Data",
960
- # }
961
- # @!attribute [rw] state_machine_arn
962
- # The Amazon Resource Name (ARN) of the state machine to execute.
963
- # @return [String]
964
- #
965
- # @!attribute [rw] name
966
- # The name of the execution. This name must be unique for your AWS
967
- # account and region.
968
- # @return [String]
969
- #
970
- # @!attribute [rw] input
971
- # The JSON input data for the execution.
972
- # @return [String]
973
- class StartExecutionInput < Struct.new(
974
- :state_machine_arn,
975
- :name,
976
- :input)
977
- include Aws::Structure
978
- end
1108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessOutput AWS API Documentation
1109
+ #
1110
+ class SendTaskSuccessOutput < Aws::EmptyStructure; end
979
1111
 
980
- # @!attribute [rw] execution_arn
981
- # The Amazon Resource Name (ARN) that identifies the execution.
982
- # @return [String]
983
- #
984
- # @!attribute [rw] start_date
985
- # The date the execution was started.
986
- # @return [Time]
987
- class StartExecutionOutput < Struct.new(
988
- :execution_arn,
989
- :start_date)
990
- include Aws::Structure
991
- end
1112
+ # @note When making an API call, you may pass StartExecutionInput
1113
+ # data as a hash:
1114
+ #
1115
+ # {
1116
+ # state_machine_arn: "Arn", # required
1117
+ # name: "Name",
1118
+ # input: "Data",
1119
+ # }
1120
+ #
1121
+ # @!attribute [rw] state_machine_arn
1122
+ # The Amazon Resource Name (ARN) of the state machine to execute.
1123
+ # @return [String]
1124
+ #
1125
+ # @!attribute [rw] name
1126
+ # The name of the execution. This name must be unique for your AWS
1127
+ # account and region.
1128
+ # @return [String]
1129
+ #
1130
+ # @!attribute [rw] input
1131
+ # The JSON input data for the execution.
1132
+ # @return [String]
1133
+ #
1134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
1135
+ #
1136
+ class StartExecutionInput < Struct.new(
1137
+ :state_machine_arn,
1138
+ :name,
1139
+ :input)
1140
+ include Aws::Structure
1141
+ end
992
1142
 
993
- # @!attribute [rw] name
994
- # The name of the state.
995
- # @return [String]
996
- #
997
- # @!attribute [rw] input
998
- # The JSON input data to the state.
999
- # @return [String]
1000
- class StateEnteredEventDetails < Struct.new(
1001
- :name,
1002
- :input)
1003
- include Aws::Structure
1004
- end
1143
+ # @!attribute [rw] execution_arn
1144
+ # The Amazon Resource Name (ARN) that identifies the execution.
1145
+ # @return [String]
1146
+ #
1147
+ # @!attribute [rw] start_date
1148
+ # The date the execution was started.
1149
+ # @return [Time]
1150
+ #
1151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionOutput AWS API Documentation
1152
+ #
1153
+ class StartExecutionOutput < Struct.new(
1154
+ :execution_arn,
1155
+ :start_date)
1156
+ include Aws::Structure
1157
+ end
1005
1158
 
1006
- # @!attribute [rw] name
1007
- # The name of the state.
1008
- # @return [String]
1009
- #
1010
- # @!attribute [rw] output
1011
- # The JSON output data of the state.
1012
- # @return [String]
1013
- class StateExitedEventDetails < Struct.new(
1014
- :name,
1015
- :output)
1016
- include Aws::Structure
1017
- end
1159
+ # @!attribute [rw] name
1160
+ # The name of the state.
1161
+ # @return [String]
1162
+ #
1163
+ # @!attribute [rw] input
1164
+ # The JSON input data to the state.
1165
+ # @return [String]
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails AWS API Documentation
1168
+ #
1169
+ class StateEnteredEventDetails < Struct.new(
1170
+ :name,
1171
+ :input)
1172
+ include Aws::Structure
1173
+ end
1018
1174
 
1019
- # @!attribute [rw] state_machine_arn
1020
- # The Amazon Resource Name (ARN) that identifies the state machine.
1021
- # @return [String]
1022
- #
1023
- # @!attribute [rw] name
1024
- # The name of the state machine.
1025
- # @return [String]
1026
- #
1027
- # @!attribute [rw] creation_date
1028
- # The date the state machine was created.
1029
- # @return [Time]
1030
- class StateMachineListItem < Struct.new(
1031
- :state_machine_arn,
1032
- :name,
1033
- :creation_date)
1034
- include Aws::Structure
1035
- end
1175
+ # @!attribute [rw] name
1176
+ # The name of the state.
1177
+ # @return [String]
1178
+ #
1179
+ # @!attribute [rw] output
1180
+ # The JSON output data of the state.
1181
+ # @return [String]
1182
+ #
1183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails AWS API Documentation
1184
+ #
1185
+ class StateExitedEventDetails < Struct.new(
1186
+ :name,
1187
+ :output)
1188
+ include Aws::Structure
1189
+ end
1036
1190
 
1037
- # @note When making an API call, pass StopExecutionInput
1038
- # data as a hash:
1039
- #
1040
- # {
1041
- # execution_arn: "Arn", # required
1042
- # error: "Error",
1043
- # cause: "Cause",
1044
- # }
1045
- # @!attribute [rw] execution_arn
1046
- # The Amazon Resource Name (ARN) of the execution to stop.
1047
- # @return [String]
1048
- #
1049
- # @!attribute [rw] error
1050
- # An arbitrary error code that identifies the cause of the
1051
- # termination.
1052
- # @return [String]
1053
- #
1054
- # @!attribute [rw] cause
1055
- # A more detailed explanation of the cause of the termination.
1056
- # @return [String]
1057
- class StopExecutionInput < Struct.new(
1058
- :execution_arn,
1059
- :error,
1060
- :cause)
1061
- include Aws::Structure
1062
- end
1191
+ # @!attribute [rw] state_machine_arn
1192
+ # The Amazon Resource Name (ARN) that identifies the state machine.
1193
+ # @return [String]
1194
+ #
1195
+ # @!attribute [rw] name
1196
+ # The name of the state machine.
1197
+ # @return [String]
1198
+ #
1199
+ # @!attribute [rw] creation_date
1200
+ # The date the state machine was created.
1201
+ # @return [Time]
1202
+ #
1203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineListItem AWS API Documentation
1204
+ #
1205
+ class StateMachineListItem < Struct.new(
1206
+ :state_machine_arn,
1207
+ :name,
1208
+ :creation_date)
1209
+ include Aws::Structure
1210
+ end
1063
1211
 
1064
- # @!attribute [rw] stop_date
1065
- # The date the execution was stopped.
1066
- # @return [Time]
1067
- class StopExecutionOutput < Struct.new(
1068
- :stop_date)
1069
- include Aws::Structure
1070
- end
1212
+ # @note When making an API call, you may pass StopExecutionInput
1213
+ # data as a hash:
1214
+ #
1215
+ # {
1216
+ # execution_arn: "Arn", # required
1217
+ # error: "Error",
1218
+ # cause: "Cause",
1219
+ # }
1220
+ #
1221
+ # @!attribute [rw] execution_arn
1222
+ # The Amazon Resource Name (ARN) of the execution to stop.
1223
+ # @return [String]
1224
+ #
1225
+ # @!attribute [rw] error
1226
+ # An arbitrary error code that identifies the cause of the
1227
+ # termination.
1228
+ # @return [String]
1229
+ #
1230
+ # @!attribute [rw] cause
1231
+ # A more detailed explanation of the cause of the termination.
1232
+ # @return [String]
1233
+ #
1234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionInput AWS API Documentation
1235
+ #
1236
+ class StopExecutionInput < Struct.new(
1237
+ :execution_arn,
1238
+ :error,
1239
+ :cause)
1240
+ include Aws::Structure
1241
+ end
1071
1242
 
1243
+ # @!attribute [rw] stop_date
1244
+ # The date the execution was stopped.
1245
+ # @return [Time]
1246
+ #
1247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionOutput AWS API Documentation
1248
+ #
1249
+ class StopExecutionOutput < Struct.new(
1250
+ :stop_date)
1251
+ include Aws::Structure
1072
1252
  end
1253
+
1073
1254
  end
1074
1255
  end