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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sfn.rb +2 -2
- data/lib/aws-sdk-sfn/client.rb +859 -712
- data/lib/aws-sdk-sfn/client_api.rb +588 -590
- data/lib/aws-sdk-sfn/errors.rb +4 -13
- data/lib/aws-sdk-sfn/resource.rb +12 -14
- data/lib/aws-sdk-sfn/types.rb +1189 -1008
- metadata +2 -2
data/lib/aws-sdk-sfn/errors.rb
CHANGED
@@ -1,23 +1,14 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
10
|
-
module Errors
|
8
|
+
module Aws::SFN
|
9
|
+
module Errors
|
11
10
|
|
12
|
-
|
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
|
data/lib/aws-sdk-sfn/resource.rb
CHANGED
@@ -1,25 +1,23 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
-
|
10
|
-
class Resource
|
8
|
+
module Aws::SFN
|
9
|
+
class Resource
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
data/lib/aws-sdk-sfn/types.rb
CHANGED
@@ -1,1074 +1,1255 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
10
|
-
module Types
|
8
|
+
module Aws::SFN
|
9
|
+
module Types
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
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
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
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
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
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
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
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
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
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
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
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
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
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
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
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
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
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
|
-
|
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
|
-
|
197
|
-
|
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
|
-
|
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
|
-
|
213
|
-
|
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
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
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
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
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
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
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
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
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
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
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
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
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
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
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
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
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
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
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
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
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
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
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
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
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
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
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
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
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
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
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
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
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
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
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
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
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
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
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
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
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
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
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
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
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
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
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
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
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
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
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
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
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
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
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
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
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
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
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
|
-
|
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
|
-
|
912
|
-
|
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
|
-
|
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
|
-
|
930
|
-
|
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
|
-
|
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
|
-
|
954
|
-
|
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
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
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
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
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
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
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
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
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
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
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
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
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
|