aws-sdk-states 1.36.0 → 1.37.0
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-states.rb +1 -1
- data/lib/aws-sdk-states/client.rb +80 -1
- data/lib/aws-sdk-states/client_api.rb +51 -2
- data/lib/aws-sdk-states/types.rb +158 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cdd64c789be709df8f3589dfa3ab277f5863765d693e118394a97c6fba8b0f8
|
4
|
+
data.tar.gz: 6dc3576d8a0f13626c59d36871633a5ea1c7b36a68f80f3d7fc2639514cc85f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c729857c74def0233d459a4478435c5f8aec327e2bdaafa1c51770e918b48f4189fd4616a0a7962b0fc9d8f77b4ac77a9b227bd1f0049d2334111ab2f1a753d
|
7
|
+
data.tar.gz: 441e3df848f55a46fe611c6a6f343b310b72d691bd224eee5e062b31ef794a1deb1946dc218ba76c74871ba69f88818fdf6e2c753ffc906e790a28458f87c542
|
data/lib/aws-sdk-states.rb
CHANGED
@@ -1487,6 +1487,85 @@ module Aws::States
|
|
1487
1487
|
req.send_request(options)
|
1488
1488
|
end
|
1489
1489
|
|
1490
|
+
# Starts a Synchronous Express state machine execution.
|
1491
|
+
#
|
1492
|
+
# @option params [required, String] :state_machine_arn
|
1493
|
+
# The Amazon Resource Name (ARN) of the state machine to execute.
|
1494
|
+
#
|
1495
|
+
# @option params [String] :name
|
1496
|
+
# The name of the execution.
|
1497
|
+
#
|
1498
|
+
# @option params [String] :input
|
1499
|
+
# The string that contains the JSON input data for the execution, for
|
1500
|
+
# example:
|
1501
|
+
#
|
1502
|
+
# `"input": "\{"first_name" : "test"\}"`
|
1503
|
+
#
|
1504
|
+
# <note markdown="1"> If you don't include any JSON input data, you still must include the
|
1505
|
+
# two braces, for example: `"input": "\{\}"`
|
1506
|
+
#
|
1507
|
+
# </note>
|
1508
|
+
#
|
1509
|
+
# Length constraints apply to the payload size, and are expressed as
|
1510
|
+
# bytes in UTF-8 encoding.
|
1511
|
+
#
|
1512
|
+
# @option params [String] :trace_header
|
1513
|
+
# Passes the AWS X-Ray trace header. The trace header can also be passed
|
1514
|
+
# in the request payload.
|
1515
|
+
#
|
1516
|
+
# @return [Types::StartSyncExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
|
+
#
|
1518
|
+
# * {Types::StartSyncExecutionOutput#execution_arn #execution_arn} => String
|
1519
|
+
# * {Types::StartSyncExecutionOutput#state_machine_arn #state_machine_arn} => String
|
1520
|
+
# * {Types::StartSyncExecutionOutput#name #name} => String
|
1521
|
+
# * {Types::StartSyncExecutionOutput#start_date #start_date} => Time
|
1522
|
+
# * {Types::StartSyncExecutionOutput#stop_date #stop_date} => Time
|
1523
|
+
# * {Types::StartSyncExecutionOutput#status #status} => String
|
1524
|
+
# * {Types::StartSyncExecutionOutput#error #error} => String
|
1525
|
+
# * {Types::StartSyncExecutionOutput#cause #cause} => String
|
1526
|
+
# * {Types::StartSyncExecutionOutput#input #input} => String
|
1527
|
+
# * {Types::StartSyncExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
|
1528
|
+
# * {Types::StartSyncExecutionOutput#output #output} => String
|
1529
|
+
# * {Types::StartSyncExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
|
1530
|
+
# * {Types::StartSyncExecutionOutput#trace_header #trace_header} => String
|
1531
|
+
# * {Types::StartSyncExecutionOutput#billing_details #billing_details} => Types::BillingDetails
|
1532
|
+
#
|
1533
|
+
# @example Request syntax with placeholder values
|
1534
|
+
#
|
1535
|
+
# resp = client.start_sync_execution({
|
1536
|
+
# state_machine_arn: "Arn", # required
|
1537
|
+
# name: "Name",
|
1538
|
+
# input: "SensitiveData",
|
1539
|
+
# trace_header: "TraceHeader",
|
1540
|
+
# })
|
1541
|
+
#
|
1542
|
+
# @example Response structure
|
1543
|
+
#
|
1544
|
+
# resp.execution_arn #=> String
|
1545
|
+
# resp.state_machine_arn #=> String
|
1546
|
+
# resp.name #=> String
|
1547
|
+
# resp.start_date #=> Time
|
1548
|
+
# resp.stop_date #=> Time
|
1549
|
+
# resp.status #=> String, one of "SUCCEEDED", "FAILED", "TIMED_OUT"
|
1550
|
+
# resp.error #=> String
|
1551
|
+
# resp.cause #=> String
|
1552
|
+
# resp.input #=> String
|
1553
|
+
# resp.input_details.included #=> Boolean
|
1554
|
+
# resp.output #=> String
|
1555
|
+
# resp.output_details.included #=> Boolean
|
1556
|
+
# resp.trace_header #=> String
|
1557
|
+
# resp.billing_details.billed_memory_used_in_mb #=> Integer
|
1558
|
+
# resp.billing_details.billed_duration_in_milliseconds #=> Integer
|
1559
|
+
#
|
1560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecution AWS API Documentation
|
1561
|
+
#
|
1562
|
+
# @overload start_sync_execution(params = {})
|
1563
|
+
# @param [Hash] params ({})
|
1564
|
+
def start_sync_execution(params = {}, options = {})
|
1565
|
+
req = build_request(:start_sync_execution, params)
|
1566
|
+
req.send_request(options)
|
1567
|
+
end
|
1568
|
+
|
1490
1569
|
# Stops an execution.
|
1491
1570
|
#
|
1492
1571
|
# This API action is not supported by `EXPRESS` state machines.
|
@@ -1685,7 +1764,7 @@ module Aws::States
|
|
1685
1764
|
params: params,
|
1686
1765
|
config: config)
|
1687
1766
|
context[:gem_name] = 'aws-sdk-states'
|
1688
|
-
context[:gem_version] = '1.
|
1767
|
+
context[:gem_version] = '1.37.0'
|
1689
1768
|
Seahorse::Client::Request.new(handlers, context)
|
1690
1769
|
end
|
1691
1770
|
|
@@ -25,6 +25,9 @@ module Aws::States
|
|
25
25
|
ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
|
26
26
|
ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
|
27
27
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
28
|
+
BilledDuration = Shapes::IntegerShape.new(name: 'BilledDuration')
|
29
|
+
BilledMemoryUsed = Shapes::IntegerShape.new(name: 'BilledMemoryUsed')
|
30
|
+
BillingDetails = Shapes::StructureShape.new(name: 'BillingDetails')
|
28
31
|
CloudWatchEventsExecutionDataDetails = Shapes::StructureShape.new(name: 'CloudWatchEventsExecutionDataDetails')
|
29
32
|
CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
|
30
33
|
ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
|
@@ -117,6 +120,8 @@ module Aws::States
|
|
117
120
|
SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
|
118
121
|
StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
|
119
122
|
StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
|
123
|
+
StartSyncExecutionInput = Shapes::StructureShape.new(name: 'StartSyncExecutionInput')
|
124
|
+
StartSyncExecutionOutput = Shapes::StructureShape.new(name: 'StartSyncExecutionOutput')
|
120
125
|
StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
|
121
126
|
StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
|
122
127
|
StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
|
@@ -130,6 +135,7 @@ module Aws::States
|
|
130
135
|
StateMachineTypeNotSupported = Shapes::StructureShape.new(name: 'StateMachineTypeNotSupported')
|
131
136
|
StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
|
132
137
|
StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
|
138
|
+
SyncExecutionStatus = Shapes::StringShape.new(name: 'SyncExecutionStatus')
|
133
139
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
134
140
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
135
141
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -158,7 +164,7 @@ module Aws::States
|
|
158
164
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
159
165
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
160
166
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
161
|
-
|
167
|
+
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
162
168
|
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
163
169
|
|
164
170
|
ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -203,7 +209,11 @@ module Aws::States
|
|
203
209
|
ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
204
210
|
ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
|
205
211
|
|
206
|
-
|
212
|
+
BillingDetails.add_member(:billed_memory_used_in_mb, Shapes::ShapeRef.new(shape: BilledMemoryUsed, location_name: "billedMemoryUsedInMB"))
|
213
|
+
BillingDetails.add_member(:billed_duration_in_milliseconds, Shapes::ShapeRef.new(shape: BilledDuration, location_name: "billedDurationInMilliseconds"))
|
214
|
+
BillingDetails.struct_class = Types::BillingDetails
|
215
|
+
|
216
|
+
CloudWatchEventsExecutionDataDetails.add_member(:included, Shapes::ShapeRef.new(shape: includedDetails, location_name: "included"))
|
207
217
|
CloudWatchEventsExecutionDataDetails.struct_class = Types::CloudWatchEventsExecutionDataDetails
|
208
218
|
|
209
219
|
CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
@@ -526,6 +536,28 @@ module Aws::States
|
|
526
536
|
StartExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
527
537
|
StartExecutionOutput.struct_class = Types::StartExecutionOutput
|
528
538
|
|
539
|
+
StartSyncExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
540
|
+
StartSyncExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
541
|
+
StartSyncExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
542
|
+
StartSyncExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
543
|
+
StartSyncExecutionInput.struct_class = Types::StartSyncExecutionInput
|
544
|
+
|
545
|
+
StartSyncExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
546
|
+
StartSyncExecutionOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineArn"))
|
547
|
+
StartSyncExecutionOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
548
|
+
StartSyncExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
549
|
+
StartSyncExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stopDate"))
|
550
|
+
StartSyncExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: SyncExecutionStatus, required: true, location_name: "status"))
|
551
|
+
StartSyncExecutionOutput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
552
|
+
StartSyncExecutionOutput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
553
|
+
StartSyncExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
554
|
+
StartSyncExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
|
555
|
+
StartSyncExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
556
|
+
StartSyncExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
|
557
|
+
StartSyncExecutionOutput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
558
|
+
StartSyncExecutionOutput.add_member(:billing_details, Shapes::ShapeRef.new(shape: BillingDetails, location_name: "billingDetails"))
|
559
|
+
StartSyncExecutionOutput.struct_class = Types::StartSyncExecutionOutput
|
560
|
+
|
529
561
|
StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
530
562
|
StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
531
563
|
StateEnteredEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
@@ -899,6 +931,23 @@ module Aws::States
|
|
899
931
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
900
932
|
end)
|
901
933
|
|
934
|
+
api.add_operation(:start_sync_execution, Seahorse::Model::Operation.new.tap do |o|
|
935
|
+
o.name = "StartSyncExecution"
|
936
|
+
o.http_method = "POST"
|
937
|
+
o.http_request_uri = "/"
|
938
|
+
o.endpoint_pattern = {
|
939
|
+
"hostPrefix" => "sync-",
|
940
|
+
}
|
941
|
+
o.input = Shapes::ShapeRef.new(shape: StartSyncExecutionInput)
|
942
|
+
o.output = Shapes::ShapeRef.new(shape: StartSyncExecutionOutput)
|
943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidExecutionInput)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineTypeNotSupported)
|
949
|
+
end)
|
950
|
+
|
902
951
|
api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
|
903
952
|
o.name = "StopExecution"
|
904
953
|
o.http_method = "POST"
|
data/lib/aws-sdk-states/types.rb
CHANGED
@@ -221,6 +221,25 @@ module Aws::States
|
|
221
221
|
include Aws::Structure
|
222
222
|
end
|
223
223
|
|
224
|
+
# An object that describes workflow billing details.
|
225
|
+
#
|
226
|
+
# @!attribute [rw] billed_memory_used_in_mb
|
227
|
+
# Billed memory consumption of your workflow, in MB.
|
228
|
+
# @return [Integer]
|
229
|
+
#
|
230
|
+
# @!attribute [rw] billed_duration_in_milliseconds
|
231
|
+
# Billed duration of your workflow, in milliseconds.
|
232
|
+
# @return [Integer]
|
233
|
+
#
|
234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/BillingDetails AWS API Documentation
|
235
|
+
#
|
236
|
+
class BillingDetails < Struct.new(
|
237
|
+
:billed_memory_used_in_mb,
|
238
|
+
:billed_duration_in_milliseconds)
|
239
|
+
SENSITIVE = []
|
240
|
+
include Aws::Structure
|
241
|
+
end
|
242
|
+
|
224
243
|
# Provides details about execution input or output.
|
225
244
|
#
|
226
245
|
# @!attribute [rw] included
|
@@ -594,7 +613,7 @@ module Aws::States
|
|
594
613
|
end
|
595
614
|
|
596
615
|
# @!attribute [rw] execution_arn
|
597
|
-
# The Amazon Resource Name (ARN) that
|
616
|
+
# The Amazon Resource Name (ARN) that identifies the execution.
|
598
617
|
# @return [String]
|
599
618
|
#
|
600
619
|
# @!attribute [rw] state_machine_arn
|
@@ -657,7 +676,7 @@ module Aws::States
|
|
657
676
|
# @return [Types::CloudWatchEventsExecutionDataDetails]
|
658
677
|
#
|
659
678
|
# @!attribute [rw] trace_header
|
660
|
-
# The AWS X-Ray trace header
|
679
|
+
# The AWS X-Ray trace header that was passed to the execution.
|
661
680
|
# @return [String]
|
662
681
|
#
|
663
682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
|
@@ -931,7 +950,7 @@ module Aws::States
|
|
931
950
|
# Contains details about an execution.
|
932
951
|
#
|
933
952
|
# @!attribute [rw] execution_arn
|
934
|
-
# The Amazon Resource Name (ARN) that
|
953
|
+
# The Amazon Resource Name (ARN) that identifies the execution.
|
935
954
|
# @return [String]
|
936
955
|
#
|
937
956
|
# @!attribute [rw] state_machine_arn
|
@@ -2160,7 +2179,7 @@ module Aws::States
|
|
2160
2179
|
end
|
2161
2180
|
|
2162
2181
|
# @!attribute [rw] execution_arn
|
2163
|
-
# The Amazon Resource Name (ARN) that
|
2182
|
+
# The Amazon Resource Name (ARN) that identifies the execution.
|
2164
2183
|
# @return [String]
|
2165
2184
|
#
|
2166
2185
|
# @!attribute [rw] start_date
|
@@ -2176,6 +2195,141 @@ module Aws::States
|
|
2176
2195
|
include Aws::Structure
|
2177
2196
|
end
|
2178
2197
|
|
2198
|
+
# @note When making an API call, you may pass StartSyncExecutionInput
|
2199
|
+
# data as a hash:
|
2200
|
+
#
|
2201
|
+
# {
|
2202
|
+
# state_machine_arn: "Arn", # required
|
2203
|
+
# name: "Name",
|
2204
|
+
# input: "SensitiveData",
|
2205
|
+
# trace_header: "TraceHeader",
|
2206
|
+
# }
|
2207
|
+
#
|
2208
|
+
# @!attribute [rw] state_machine_arn
|
2209
|
+
# The Amazon Resource Name (ARN) of the state machine to execute.
|
2210
|
+
# @return [String]
|
2211
|
+
#
|
2212
|
+
# @!attribute [rw] name
|
2213
|
+
# The name of the execution.
|
2214
|
+
# @return [String]
|
2215
|
+
#
|
2216
|
+
# @!attribute [rw] input
|
2217
|
+
# The string that contains the JSON input data for the execution, for
|
2218
|
+
# example:
|
2219
|
+
#
|
2220
|
+
# `"input": "\{"first_name" : "test"\}"`
|
2221
|
+
#
|
2222
|
+
# <note markdown="1"> If you don't include any JSON input data, you still must include
|
2223
|
+
# the two braces, for example: `"input": "\{\}"`
|
2224
|
+
#
|
2225
|
+
# </note>
|
2226
|
+
#
|
2227
|
+
# Length constraints apply to the payload size, and are expressed as
|
2228
|
+
# bytes in UTF-8 encoding.
|
2229
|
+
# @return [String]
|
2230
|
+
#
|
2231
|
+
# @!attribute [rw] trace_header
|
2232
|
+
# Passes the AWS X-Ray trace header. The trace header can also be
|
2233
|
+
# passed in the request payload.
|
2234
|
+
# @return [String]
|
2235
|
+
#
|
2236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecutionInput AWS API Documentation
|
2237
|
+
#
|
2238
|
+
class StartSyncExecutionInput < Struct.new(
|
2239
|
+
:state_machine_arn,
|
2240
|
+
:name,
|
2241
|
+
:input,
|
2242
|
+
:trace_header)
|
2243
|
+
SENSITIVE = [:input]
|
2244
|
+
include Aws::Structure
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
# @!attribute [rw] execution_arn
|
2248
|
+
# The Amazon Resource Name (ARN) that identifies the execution.
|
2249
|
+
# @return [String]
|
2250
|
+
#
|
2251
|
+
# @!attribute [rw] state_machine_arn
|
2252
|
+
# The Amazon Resource Name (ARN) that identifies the state machine.
|
2253
|
+
# @return [String]
|
2254
|
+
#
|
2255
|
+
# @!attribute [rw] name
|
2256
|
+
# The name of the execution.
|
2257
|
+
# @return [String]
|
2258
|
+
#
|
2259
|
+
# @!attribute [rw] start_date
|
2260
|
+
# The date the execution is started.
|
2261
|
+
# @return [Time]
|
2262
|
+
#
|
2263
|
+
# @!attribute [rw] stop_date
|
2264
|
+
# If the execution has already ended, the date the execution stopped.
|
2265
|
+
# @return [Time]
|
2266
|
+
#
|
2267
|
+
# @!attribute [rw] status
|
2268
|
+
# The current status of the execution.
|
2269
|
+
# @return [String]
|
2270
|
+
#
|
2271
|
+
# @!attribute [rw] error
|
2272
|
+
# The error code of the failure.
|
2273
|
+
# @return [String]
|
2274
|
+
#
|
2275
|
+
# @!attribute [rw] cause
|
2276
|
+
# A more detailed explanation of the cause of the failure.
|
2277
|
+
# @return [String]
|
2278
|
+
#
|
2279
|
+
# @!attribute [rw] input
|
2280
|
+
# The string that contains the JSON input data of the execution.
|
2281
|
+
# Length constraints apply to the payload size, and are expressed as
|
2282
|
+
# bytes in UTF-8 encoding.
|
2283
|
+
# @return [String]
|
2284
|
+
#
|
2285
|
+
# @!attribute [rw] input_details
|
2286
|
+
# Provides details about execution input or output.
|
2287
|
+
# @return [Types::CloudWatchEventsExecutionDataDetails]
|
2288
|
+
#
|
2289
|
+
# @!attribute [rw] output
|
2290
|
+
# The JSON output data of the execution. Length constraints apply to
|
2291
|
+
# the payload size, and are expressed as bytes in UTF-8 encoding.
|
2292
|
+
#
|
2293
|
+
# <note markdown="1"> This field is set only if the execution succeeds. If the execution
|
2294
|
+
# fails, this field is null.
|
2295
|
+
#
|
2296
|
+
# </note>
|
2297
|
+
# @return [String]
|
2298
|
+
#
|
2299
|
+
# @!attribute [rw] output_details
|
2300
|
+
# Provides details about execution input or output.
|
2301
|
+
# @return [Types::CloudWatchEventsExecutionDataDetails]
|
2302
|
+
#
|
2303
|
+
# @!attribute [rw] trace_header
|
2304
|
+
# The AWS X-Ray trace header that was passed to the execution.
|
2305
|
+
# @return [String]
|
2306
|
+
#
|
2307
|
+
# @!attribute [rw] billing_details
|
2308
|
+
# An object that describes workflow billing details, including billed
|
2309
|
+
# duration and memory use.
|
2310
|
+
# @return [Types::BillingDetails]
|
2311
|
+
#
|
2312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecutionOutput AWS API Documentation
|
2313
|
+
#
|
2314
|
+
class StartSyncExecutionOutput < Struct.new(
|
2315
|
+
:execution_arn,
|
2316
|
+
:state_machine_arn,
|
2317
|
+
:name,
|
2318
|
+
:start_date,
|
2319
|
+
:stop_date,
|
2320
|
+
:status,
|
2321
|
+
:error,
|
2322
|
+
:cause,
|
2323
|
+
:input,
|
2324
|
+
:input_details,
|
2325
|
+
:output,
|
2326
|
+
:output_details,
|
2327
|
+
:trace_header,
|
2328
|
+
:billing_details)
|
2329
|
+
SENSITIVE = [:error, :cause, :input, :output]
|
2330
|
+
include Aws::Structure
|
2331
|
+
end
|
2332
|
+
|
2179
2333
|
# Contains details about a state entered during an execution.
|
2180
2334
|
#
|
2181
2335
|
# @!attribute [rw] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-states
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|