aws-sdk-states 1.33.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +258 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-states.rb +3 -2
- data/lib/aws-sdk-states/client.rb +109 -7
- data/lib/aws-sdk-states/client_api.rb +70 -3
- data/lib/aws-sdk-states/errors.rb +17 -1
- data/lib/aws-sdk-states/resource.rb +1 -1
- data/lib/aws-sdk-states/types.rb +244 -18
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.39.0
|
data/lib/aws-sdk-states.rb
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-states/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::States
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.39.0'
|
51
52
|
|
52
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -446,11 +446,11 @@ module Aws::States
|
|
446
446
|
# <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
|
447
447
|
# create a duplicate resource if it was already created.
|
448
448
|
# `CreateStateMachine`'s idempotency check is based on the state
|
449
|
-
# machine `name`, `definition`, `type`,
|
450
|
-
# following request has a different
|
451
|
-
# will ignore these differences and
|
452
|
-
#
|
453
|
-
# even if they are different.
|
449
|
+
# machine `name`, `definition`, `type`, `LoggingConfiguration` and
|
450
|
+
# `TracingConfiguration`. If a following request has a different
|
451
|
+
# `roleArn` or `tags`, Step Functions will ignore these differences and
|
452
|
+
# treat it as an idempotent request of the previous. In this case,
|
453
|
+
# `roleArn` and `tags` will not be updated, even if they are different.
|
454
454
|
#
|
455
455
|
# </note>
|
456
456
|
#
|
@@ -521,6 +521,9 @@ module Aws::States
|
|
521
521
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
522
522
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
|
523
523
|
#
|
524
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
525
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
526
|
+
#
|
524
527
|
# @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
525
528
|
#
|
526
529
|
# * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
|
@@ -550,6 +553,9 @@ module Aws::States
|
|
550
553
|
# value: "TagValue",
|
551
554
|
# },
|
552
555
|
# ],
|
556
|
+
# tracing_configuration: {
|
557
|
+
# enabled: false,
|
558
|
+
# },
|
553
559
|
# })
|
554
560
|
#
|
555
561
|
# @example Response structure
|
@@ -679,6 +685,7 @@ module Aws::States
|
|
679
685
|
# * {Types::DescribeExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
|
680
686
|
# * {Types::DescribeExecutionOutput#output #output} => String
|
681
687
|
# * {Types::DescribeExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
|
688
|
+
# * {Types::DescribeExecutionOutput#trace_header #trace_header} => String
|
682
689
|
#
|
683
690
|
# @example Request syntax with placeholder values
|
684
691
|
#
|
@@ -698,6 +705,7 @@ module Aws::States
|
|
698
705
|
# resp.input_details.included #=> Boolean
|
699
706
|
# resp.output #=> String
|
700
707
|
# resp.output_details.included #=> Boolean
|
708
|
+
# resp.trace_header #=> String
|
701
709
|
#
|
702
710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution AWS API Documentation
|
703
711
|
#
|
@@ -728,6 +736,7 @@ module Aws::States
|
|
728
736
|
# * {Types::DescribeStateMachineOutput#type #type} => String
|
729
737
|
# * {Types::DescribeStateMachineOutput#creation_date #creation_date} => Time
|
730
738
|
# * {Types::DescribeStateMachineOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
739
|
+
# * {Types::DescribeStateMachineOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
731
740
|
#
|
732
741
|
# @example Request syntax with placeholder values
|
733
742
|
#
|
@@ -748,6 +757,7 @@ module Aws::States
|
|
748
757
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
749
758
|
# resp.logging_configuration.destinations #=> Array
|
750
759
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
760
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
751
761
|
#
|
752
762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
|
753
763
|
#
|
@@ -779,6 +789,7 @@ module Aws::States
|
|
779
789
|
# * {Types::DescribeStateMachineForExecutionOutput#role_arn #role_arn} => String
|
780
790
|
# * {Types::DescribeStateMachineForExecutionOutput#update_date #update_date} => Time
|
781
791
|
# * {Types::DescribeStateMachineForExecutionOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
792
|
+
# * {Types::DescribeStateMachineForExecutionOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
782
793
|
#
|
783
794
|
# @example Request syntax with placeholder values
|
784
795
|
#
|
@@ -797,6 +808,7 @@ module Aws::States
|
|
797
808
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
798
809
|
# resp.logging_configuration.destinations #=> Array
|
799
810
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
811
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
800
812
|
#
|
801
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
|
802
814
|
#
|
@@ -1443,6 +1455,10 @@ module Aws::States
|
|
1443
1455
|
# Length constraints apply to the payload size, and are expressed as
|
1444
1456
|
# bytes in UTF-8 encoding.
|
1445
1457
|
#
|
1458
|
+
# @option params [String] :trace_header
|
1459
|
+
# Passes the AWS X-Ray trace header. The trace header can also be passed
|
1460
|
+
# in the request payload.
|
1461
|
+
#
|
1446
1462
|
# @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1447
1463
|
#
|
1448
1464
|
# * {Types::StartExecutionOutput#execution_arn #execution_arn} => String
|
@@ -1454,6 +1470,7 @@ module Aws::States
|
|
1454
1470
|
# state_machine_arn: "Arn", # required
|
1455
1471
|
# name: "Name",
|
1456
1472
|
# input: "SensitiveData",
|
1473
|
+
# trace_header: "TraceHeader",
|
1457
1474
|
# })
|
1458
1475
|
#
|
1459
1476
|
# @example Response structure
|
@@ -1470,6 +1487,85 @@ module Aws::States
|
|
1470
1487
|
req.send_request(options)
|
1471
1488
|
end
|
1472
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
|
+
|
1473
1569
|
# Stops an execution.
|
1474
1570
|
#
|
1475
1571
|
# This API action is not supported by `EXPRESS` state machines.
|
@@ -1613,6 +1709,9 @@ module Aws::States
|
|
1613
1709
|
# The `LoggingConfiguration` data type is used to set CloudWatch Logs
|
1614
1710
|
# options.
|
1615
1711
|
#
|
1712
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
1713
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
1714
|
+
#
|
1616
1715
|
# @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1617
1716
|
#
|
1618
1717
|
# * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
|
@@ -1634,6 +1733,9 @@ module Aws::States
|
|
1634
1733
|
# },
|
1635
1734
|
# ],
|
1636
1735
|
# },
|
1736
|
+
# tracing_configuration: {
|
1737
|
+
# enabled: false,
|
1738
|
+
# },
|
1637
1739
|
# })
|
1638
1740
|
#
|
1639
1741
|
# @example Response structure
|
@@ -1662,7 +1764,7 @@ module Aws::States
|
|
1662
1764
|
params: params,
|
1663
1765
|
config: config)
|
1664
1766
|
context[:gem_name] = 'aws-sdk-states'
|
1665
|
-
context[:gem_version] = '1.
|
1767
|
+
context[:gem_version] = '1.39.0'
|
1666
1768
|
Seahorse::Client::Request.new(handlers, context)
|
1667
1769
|
end
|
1668
1770
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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')
|
@@ -45,6 +48,7 @@ module Aws::States
|
|
45
48
|
DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
|
46
49
|
DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
|
47
50
|
DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
|
51
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
48
52
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
49
53
|
EventId = Shapes::IntegerShape.new(name: 'EventId')
|
50
54
|
ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
|
@@ -76,6 +80,7 @@ module Aws::States
|
|
76
80
|
InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
|
77
81
|
InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
|
78
82
|
InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
|
83
|
+
InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
|
79
84
|
LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
|
80
85
|
LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
|
81
86
|
LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
|
@@ -115,6 +120,8 @@ module Aws::States
|
|
115
120
|
SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
|
116
121
|
StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
|
117
122
|
StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
|
123
|
+
StartSyncExecutionInput = Shapes::StructureShape.new(name: 'StartSyncExecutionInput')
|
124
|
+
StartSyncExecutionOutput = Shapes::StructureShape.new(name: 'StartSyncExecutionOutput')
|
118
125
|
StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
|
119
126
|
StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
|
120
127
|
StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
|
@@ -128,6 +135,7 @@ module Aws::States
|
|
128
135
|
StateMachineTypeNotSupported = Shapes::StructureShape.new(name: 'StateMachineTypeNotSupported')
|
129
136
|
StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
|
130
137
|
StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
|
138
|
+
SyncExecutionStatus = Shapes::StringShape.new(name: 'SyncExecutionStatus')
|
131
139
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
132
140
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
133
141
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -149,12 +157,14 @@ module Aws::States
|
|
149
157
|
TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
|
150
158
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
151
159
|
TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
|
160
|
+
TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
|
161
|
+
TracingConfiguration = Shapes::StructureShape.new(name: 'TracingConfiguration')
|
152
162
|
UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
|
153
163
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
154
164
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
155
165
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
156
166
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
157
|
-
|
167
|
+
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
158
168
|
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
159
169
|
|
160
170
|
ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -199,7 +209,11 @@ module Aws::States
|
|
199
209
|
ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
200
210
|
ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
|
201
211
|
|
202
|
-
|
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"))
|
203
217
|
CloudWatchEventsExecutionDataDetails.struct_class = Types::CloudWatchEventsExecutionDataDetails
|
204
218
|
|
205
219
|
CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
@@ -219,6 +233,7 @@ module Aws::States
|
|
219
233
|
CreateStateMachineInput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, location_name: "type"))
|
220
234
|
CreateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
221
235
|
CreateStateMachineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
236
|
+
CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
222
237
|
CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
|
223
238
|
|
224
239
|
CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -256,6 +271,7 @@ module Aws::States
|
|
256
271
|
DescribeExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
|
257
272
|
DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
258
273
|
DescribeExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
|
274
|
+
DescribeExecutionOutput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
259
275
|
DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
|
260
276
|
|
261
277
|
DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
@@ -267,6 +283,7 @@ module Aws::States
|
|
267
283
|
DescribeStateMachineForExecutionOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
|
268
284
|
DescribeStateMachineForExecutionOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
269
285
|
DescribeStateMachineForExecutionOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
286
|
+
DescribeStateMachineForExecutionOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
270
287
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
271
288
|
|
272
289
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -280,6 +297,7 @@ module Aws::States
|
|
280
297
|
DescribeStateMachineOutput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, required: true, location_name: "type"))
|
281
298
|
DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
282
299
|
DescribeStateMachineOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
300
|
+
DescribeStateMachineOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
283
301
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
284
302
|
|
285
303
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -405,6 +423,9 @@ module Aws::States
|
|
405
423
|
InvalidToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
406
424
|
InvalidToken.struct_class = Types::InvalidToken
|
407
425
|
|
426
|
+
InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
427
|
+
InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
|
428
|
+
|
408
429
|
LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
409
430
|
LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
410
431
|
LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
|
@@ -508,12 +529,35 @@ module Aws::States
|
|
508
529
|
StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
509
530
|
StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
510
531
|
StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
532
|
+
StartExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
511
533
|
StartExecutionInput.struct_class = Types::StartExecutionInput
|
512
534
|
|
513
535
|
StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
514
536
|
StartExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
515
537
|
StartExecutionOutput.struct_class = Types::StartExecutionOutput
|
516
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
|
+
|
517
561
|
StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
518
562
|
StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
519
563
|
StateEnteredEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
@@ -627,6 +671,9 @@ module Aws::States
|
|
627
671
|
TooManyTags.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
|
628
672
|
TooManyTags.struct_class = Types::TooManyTags
|
629
673
|
|
674
|
+
TracingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
|
675
|
+
TracingConfiguration.struct_class = Types::TracingConfiguration
|
676
|
+
|
630
677
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
631
678
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
632
679
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
@@ -637,6 +684,7 @@ module Aws::States
|
|
637
684
|
UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
|
638
685
|
UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
639
686
|
UpdateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
687
|
+
UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
640
688
|
UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
|
641
689
|
|
642
690
|
UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
@@ -682,6 +730,7 @@ module Aws::States
|
|
682
730
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
683
731
|
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
684
732
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
685
734
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
|
686
735
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
687
736
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
|
@@ -882,6 +931,23 @@ module Aws::States
|
|
882
931
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
883
932
|
end)
|
884
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
|
+
|
885
951
|
api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
|
886
952
|
o.name = "StopExecution"
|
887
953
|
o.http_method = "POST"
|
@@ -922,6 +988,7 @@ module Aws::States
|
|
922
988
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
923
989
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
924
990
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
925
992
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
|
926
993
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
927
994
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|