aws-sdk-states 1.32.0 → 1.38.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 +2 -1
- data/lib/aws-sdk-states/client.rb +133 -7
- data/lib/aws-sdk-states/client_api.rb +93 -1
- data/lib/aws-sdk-states/errors.rb +16 -0
- data/lib/aws-sdk-states/types.rb +387 -32
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99cf036d09dee52ee116dd428da663abab594f36b0b48afdc8a792d1bdbcc287
|
4
|
+
data.tar.gz: 5f667f2ef9d4e405fab9eadf60cc1d59bf02ea7b1e2ad7fe7eac0b6aa26a3f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed76ef52dca72be1ba2e0edcc42e87f9b6110aef87ccc649b19aafcca00b62cd3080e0c3bb4757881f2e9e735b7da15102d4d29f240fc0aa0921382de7ad345d
|
7
|
+
data.tar.gz: ffdfb9552622ac64e4bbb40d7c2bf7da0222aabfcfa96aee6da183497d830b66be1f886cef97de3302a20da378630dfc9ac18bdb31bf2dea673362b4ae3f48ae
|
data/lib/aws-sdk-states.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
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.38.0'
|
51
52
|
|
52
53
|
end
|
@@ -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
|
@@ -676,7 +682,10 @@ module Aws::States
|
|
676
682
|
# * {Types::DescribeExecutionOutput#start_date #start_date} => Time
|
677
683
|
# * {Types::DescribeExecutionOutput#stop_date #stop_date} => Time
|
678
684
|
# * {Types::DescribeExecutionOutput#input #input} => String
|
685
|
+
# * {Types::DescribeExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
|
679
686
|
# * {Types::DescribeExecutionOutput#output #output} => String
|
687
|
+
# * {Types::DescribeExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
|
688
|
+
# * {Types::DescribeExecutionOutput#trace_header #trace_header} => String
|
680
689
|
#
|
681
690
|
# @example Request syntax with placeholder values
|
682
691
|
#
|
@@ -693,7 +702,10 @@ module Aws::States
|
|
693
702
|
# resp.start_date #=> Time
|
694
703
|
# resp.stop_date #=> Time
|
695
704
|
# resp.input #=> String
|
705
|
+
# resp.input_details.included #=> Boolean
|
696
706
|
# resp.output #=> String
|
707
|
+
# resp.output_details.included #=> Boolean
|
708
|
+
# resp.trace_header #=> String
|
697
709
|
#
|
698
710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution AWS API Documentation
|
699
711
|
#
|
@@ -724,6 +736,7 @@ module Aws::States
|
|
724
736
|
# * {Types::DescribeStateMachineOutput#type #type} => String
|
725
737
|
# * {Types::DescribeStateMachineOutput#creation_date #creation_date} => Time
|
726
738
|
# * {Types::DescribeStateMachineOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
739
|
+
# * {Types::DescribeStateMachineOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
727
740
|
#
|
728
741
|
# @example Request syntax with placeholder values
|
729
742
|
#
|
@@ -744,6 +757,7 @@ module Aws::States
|
|
744
757
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
745
758
|
# resp.logging_configuration.destinations #=> Array
|
746
759
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
760
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
747
761
|
#
|
748
762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
|
749
763
|
#
|
@@ -775,6 +789,7 @@ module Aws::States
|
|
775
789
|
# * {Types::DescribeStateMachineForExecutionOutput#role_arn #role_arn} => String
|
776
790
|
# * {Types::DescribeStateMachineForExecutionOutput#update_date #update_date} => Time
|
777
791
|
# * {Types::DescribeStateMachineForExecutionOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
792
|
+
# * {Types::DescribeStateMachineForExecutionOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
778
793
|
#
|
779
794
|
# @example Request syntax with placeholder values
|
780
795
|
#
|
@@ -793,6 +808,7 @@ module Aws::States
|
|
793
808
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
794
809
|
# resp.logging_configuration.destinations #=> Array
|
795
810
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
811
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
796
812
|
#
|
797
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
|
798
814
|
#
|
@@ -895,6 +911,10 @@ module Aws::States
|
|
895
911
|
# after 24 hours. Using an expired pagination token will return an *HTTP
|
896
912
|
# 400 InvalidToken* error.
|
897
913
|
#
|
914
|
+
# @option params [Boolean] :include_execution_data
|
915
|
+
# You can select whether execution data (input or output of a history
|
916
|
+
# event) is returned. The default is `true`.
|
917
|
+
#
|
898
918
|
# @return [Types::GetExecutionHistoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
899
919
|
#
|
900
920
|
# * {Types::GetExecutionHistoryOutput#events #events} => Array<Types::HistoryEvent>
|
@@ -909,6 +929,7 @@ module Aws::States
|
|
909
929
|
# max_results: 1,
|
910
930
|
# reverse_order: false,
|
911
931
|
# next_token: "PageToken",
|
932
|
+
# include_execution_data: false,
|
912
933
|
# })
|
913
934
|
#
|
914
935
|
# @example Response structure
|
@@ -924,10 +945,12 @@ module Aws::States
|
|
924
945
|
# resp.events[0].activity_schedule_failed_event_details.cause #=> String
|
925
946
|
# resp.events[0].activity_scheduled_event_details.resource #=> String
|
926
947
|
# resp.events[0].activity_scheduled_event_details.input #=> String
|
948
|
+
# resp.events[0].activity_scheduled_event_details.input_details.truncated #=> Boolean
|
927
949
|
# resp.events[0].activity_scheduled_event_details.timeout_in_seconds #=> Integer
|
928
950
|
# resp.events[0].activity_scheduled_event_details.heartbeat_in_seconds #=> Integer
|
929
951
|
# resp.events[0].activity_started_event_details.worker_name #=> String
|
930
952
|
# resp.events[0].activity_succeeded_event_details.output #=> String
|
953
|
+
# resp.events[0].activity_succeeded_event_details.output_details.truncated #=> Boolean
|
931
954
|
# resp.events[0].activity_timed_out_event_details.error #=> String
|
932
955
|
# resp.events[0].activity_timed_out_event_details.cause #=> String
|
933
956
|
# resp.events[0].task_failed_event_details.resource_type #=> String
|
@@ -939,6 +962,7 @@ module Aws::States
|
|
939
962
|
# resp.events[0].task_scheduled_event_details.region #=> String
|
940
963
|
# resp.events[0].task_scheduled_event_details.parameters #=> String
|
941
964
|
# resp.events[0].task_scheduled_event_details.timeout_in_seconds #=> Integer
|
965
|
+
# resp.events[0].task_scheduled_event_details.heartbeat_in_seconds #=> Integer
|
942
966
|
# resp.events[0].task_start_failed_event_details.resource_type #=> String
|
943
967
|
# resp.events[0].task_start_failed_event_details.resource #=> String
|
944
968
|
# resp.events[0].task_start_failed_event_details.error #=> String
|
@@ -952,9 +976,11 @@ module Aws::States
|
|
952
976
|
# resp.events[0].task_submitted_event_details.resource_type #=> String
|
953
977
|
# resp.events[0].task_submitted_event_details.resource #=> String
|
954
978
|
# resp.events[0].task_submitted_event_details.output #=> String
|
979
|
+
# resp.events[0].task_submitted_event_details.output_details.truncated #=> Boolean
|
955
980
|
# resp.events[0].task_succeeded_event_details.resource_type #=> String
|
956
981
|
# resp.events[0].task_succeeded_event_details.resource #=> String
|
957
982
|
# resp.events[0].task_succeeded_event_details.output #=> String
|
983
|
+
# resp.events[0].task_succeeded_event_details.output_details.truncated #=> Boolean
|
958
984
|
# resp.events[0].task_timed_out_event_details.resource_type #=> String
|
959
985
|
# resp.events[0].task_timed_out_event_details.resource #=> String
|
960
986
|
# resp.events[0].task_timed_out_event_details.error #=> String
|
@@ -962,8 +988,10 @@ module Aws::States
|
|
962
988
|
# resp.events[0].execution_failed_event_details.error #=> String
|
963
989
|
# resp.events[0].execution_failed_event_details.cause #=> String
|
964
990
|
# resp.events[0].execution_started_event_details.input #=> String
|
991
|
+
# resp.events[0].execution_started_event_details.input_details.truncated #=> Boolean
|
965
992
|
# resp.events[0].execution_started_event_details.role_arn #=> String
|
966
993
|
# resp.events[0].execution_succeeded_event_details.output #=> String
|
994
|
+
# resp.events[0].execution_succeeded_event_details.output_details.truncated #=> Boolean
|
967
995
|
# resp.events[0].execution_aborted_event_details.error #=> String
|
968
996
|
# resp.events[0].execution_aborted_event_details.cause #=> String
|
969
997
|
# resp.events[0].execution_timed_out_event_details.error #=> String
|
@@ -983,16 +1011,20 @@ module Aws::States
|
|
983
1011
|
# resp.events[0].lambda_function_schedule_failed_event_details.cause #=> String
|
984
1012
|
# resp.events[0].lambda_function_scheduled_event_details.resource #=> String
|
985
1013
|
# resp.events[0].lambda_function_scheduled_event_details.input #=> String
|
1014
|
+
# resp.events[0].lambda_function_scheduled_event_details.input_details.truncated #=> Boolean
|
986
1015
|
# resp.events[0].lambda_function_scheduled_event_details.timeout_in_seconds #=> Integer
|
987
1016
|
# resp.events[0].lambda_function_start_failed_event_details.error #=> String
|
988
1017
|
# resp.events[0].lambda_function_start_failed_event_details.cause #=> String
|
989
1018
|
# resp.events[0].lambda_function_succeeded_event_details.output #=> String
|
1019
|
+
# resp.events[0].lambda_function_succeeded_event_details.output_details.truncated #=> Boolean
|
990
1020
|
# resp.events[0].lambda_function_timed_out_event_details.error #=> String
|
991
1021
|
# resp.events[0].lambda_function_timed_out_event_details.cause #=> String
|
992
1022
|
# resp.events[0].state_entered_event_details.name #=> String
|
993
1023
|
# resp.events[0].state_entered_event_details.input #=> String
|
1024
|
+
# resp.events[0].state_entered_event_details.input_details.truncated #=> Boolean
|
994
1025
|
# resp.events[0].state_exited_event_details.name #=> String
|
995
1026
|
# resp.events[0].state_exited_event_details.output #=> String
|
1027
|
+
# resp.events[0].state_exited_event_details.output_details.truncated #=> Boolean
|
996
1028
|
# resp.next_token #=> String
|
997
1029
|
#
|
998
1030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory AWS API Documentation
|
@@ -1350,7 +1382,8 @@ module Aws::States
|
|
1350
1382
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
|
1351
1383
|
#
|
1352
1384
|
# @option params [required, String] :output
|
1353
|
-
# The JSON output of the task.
|
1385
|
+
# The JSON output of the task. Length constraints apply to the payload
|
1386
|
+
# size, and are expressed as bytes in UTF-8 encoding.
|
1354
1387
|
#
|
1355
1388
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1356
1389
|
#
|
@@ -1419,6 +1452,13 @@ module Aws::States
|
|
1419
1452
|
#
|
1420
1453
|
# </note>
|
1421
1454
|
#
|
1455
|
+
# Length constraints apply to the payload size, and are expressed as
|
1456
|
+
# bytes in UTF-8 encoding.
|
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
|
+
#
|
1422
1462
|
# @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1423
1463
|
#
|
1424
1464
|
# * {Types::StartExecutionOutput#execution_arn #execution_arn} => String
|
@@ -1430,6 +1470,7 @@ module Aws::States
|
|
1430
1470
|
# state_machine_arn: "Arn", # required
|
1431
1471
|
# name: "Name",
|
1432
1472
|
# input: "SensitiveData",
|
1473
|
+
# trace_header: "TraceHeader",
|
1433
1474
|
# })
|
1434
1475
|
#
|
1435
1476
|
# @example Response structure
|
@@ -1446,6 +1487,85 @@ module Aws::States
|
|
1446
1487
|
req.send_request(options)
|
1447
1488
|
end
|
1448
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
|
+
|
1449
1569
|
# Stops an execution.
|
1450
1570
|
#
|
1451
1571
|
# This API action is not supported by `EXPRESS` state machines.
|
@@ -1589,6 +1709,9 @@ module Aws::States
|
|
1589
1709
|
# The `LoggingConfiguration` data type is used to set CloudWatch Logs
|
1590
1710
|
# options.
|
1591
1711
|
#
|
1712
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
1713
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
1714
|
+
#
|
1592
1715
|
# @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1593
1716
|
#
|
1594
1717
|
# * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
|
@@ -1610,6 +1733,9 @@ module Aws::States
|
|
1610
1733
|
# },
|
1611
1734
|
# ],
|
1612
1735
|
# },
|
1736
|
+
# tracing_configuration: {
|
1737
|
+
# enabled: false,
|
1738
|
+
# },
|
1613
1739
|
# })
|
1614
1740
|
#
|
1615
1741
|
# @example Response structure
|
@@ -1638,7 +1764,7 @@ module Aws::States
|
|
1638
1764
|
params: params,
|
1639
1765
|
config: config)
|
1640
1766
|
context[:gem_name] = 'aws-sdk-states'
|
1641
|
-
context[:gem_version] = '1.
|
1767
|
+
context[:gem_version] = '1.38.0'
|
1642
1768
|
Seahorse::Client::Request.new(handlers, context)
|
1643
1769
|
end
|
1644
1770
|
|
@@ -25,6 +25,10 @@ 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')
|
31
|
+
CloudWatchEventsExecutionDataDetails = Shapes::StructureShape.new(name: 'CloudWatchEventsExecutionDataDetails')
|
28
32
|
CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
|
29
33
|
ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
|
30
34
|
CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
|
@@ -44,6 +48,7 @@ module Aws::States
|
|
44
48
|
DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
|
45
49
|
DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
|
46
50
|
DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
|
51
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
47
52
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
48
53
|
EventId = Shapes::IntegerShape.new(name: 'EventId')
|
49
54
|
ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
|
@@ -62,10 +67,12 @@ module Aws::States
|
|
62
67
|
GetExecutionHistoryInput = Shapes::StructureShape.new(name: 'GetExecutionHistoryInput')
|
63
68
|
GetExecutionHistoryOutput = Shapes::StructureShape.new(name: 'GetExecutionHistoryOutput')
|
64
69
|
HistoryEvent = Shapes::StructureShape.new(name: 'HistoryEvent')
|
70
|
+
HistoryEventExecutionDataDetails = Shapes::StructureShape.new(name: 'HistoryEventExecutionDataDetails')
|
65
71
|
HistoryEventList = Shapes::ListShape.new(name: 'HistoryEventList')
|
66
72
|
HistoryEventType = Shapes::StringShape.new(name: 'HistoryEventType')
|
67
73
|
Identity = Shapes::StringShape.new(name: 'Identity')
|
68
74
|
IncludeExecutionData = Shapes::BooleanShape.new(name: 'IncludeExecutionData')
|
75
|
+
IncludeExecutionDataGetExecutionHistory = Shapes::BooleanShape.new(name: 'IncludeExecutionDataGetExecutionHistory')
|
69
76
|
InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
|
70
77
|
InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
|
71
78
|
InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
|
@@ -73,6 +80,7 @@ module Aws::States
|
|
73
80
|
InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
|
74
81
|
InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
|
75
82
|
InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
|
83
|
+
InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
|
76
84
|
LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
|
77
85
|
LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
|
78
86
|
LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
|
@@ -112,6 +120,8 @@ module Aws::States
|
|
112
120
|
SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
|
113
121
|
StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
|
114
122
|
StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
|
123
|
+
StartSyncExecutionInput = Shapes::StructureShape.new(name: 'StartSyncExecutionInput')
|
124
|
+
StartSyncExecutionOutput = Shapes::StructureShape.new(name: 'StartSyncExecutionOutput')
|
115
125
|
StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
|
116
126
|
StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
|
117
127
|
StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
|
@@ -125,6 +135,7 @@ module Aws::States
|
|
125
135
|
StateMachineTypeNotSupported = Shapes::StructureShape.new(name: 'StateMachineTypeNotSupported')
|
126
136
|
StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
|
127
137
|
StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
|
138
|
+
SyncExecutionStatus = Shapes::StringShape.new(name: 'SyncExecutionStatus')
|
128
139
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
129
140
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
130
141
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -146,11 +157,15 @@ module Aws::States
|
|
146
157
|
TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
|
147
158
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
148
159
|
TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
|
160
|
+
TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
|
161
|
+
TracingConfiguration = Shapes::StructureShape.new(name: 'TracingConfiguration')
|
149
162
|
UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
|
150
163
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
151
164
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
152
165
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
153
166
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
167
|
+
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
168
|
+
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
154
169
|
|
155
170
|
ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
156
171
|
ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
|
@@ -175,6 +190,7 @@ module Aws::States
|
|
175
190
|
|
176
191
|
ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
|
177
192
|
ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
193
|
+
ActivityScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
178
194
|
ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
179
195
|
ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
|
180
196
|
ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
|
@@ -183,6 +199,7 @@ module Aws::States
|
|
183
199
|
ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
|
184
200
|
|
185
201
|
ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
202
|
+
ActivitySucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
186
203
|
ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
|
187
204
|
|
188
205
|
ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -192,6 +209,13 @@ module Aws::States
|
|
192
209
|
ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
193
210
|
ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
|
194
211
|
|
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"))
|
217
|
+
CloudWatchEventsExecutionDataDetails.struct_class = Types::CloudWatchEventsExecutionDataDetails
|
218
|
+
|
195
219
|
CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
196
220
|
CloudWatchLogsLogGroup.struct_class = Types::CloudWatchLogsLogGroup
|
197
221
|
|
@@ -209,6 +233,7 @@ module Aws::States
|
|
209
233
|
CreateStateMachineInput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, location_name: "type"))
|
210
234
|
CreateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
211
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"))
|
212
237
|
CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
|
213
238
|
|
214
239
|
CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -242,8 +267,11 @@ module Aws::States
|
|
242
267
|
DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
|
243
268
|
DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
244
269
|
DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
245
|
-
DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData,
|
270
|
+
DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
271
|
+
DescribeExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
|
246
272
|
DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
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"))
|
247
275
|
DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
|
248
276
|
|
249
277
|
DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
@@ -255,6 +283,7 @@ module Aws::States
|
|
255
283
|
DescribeStateMachineForExecutionOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
|
256
284
|
DescribeStateMachineForExecutionOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
257
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"))
|
258
287
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
259
288
|
|
260
289
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -268,6 +297,7 @@ module Aws::States
|
|
268
297
|
DescribeStateMachineOutput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, required: true, location_name: "type"))
|
269
298
|
DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
270
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"))
|
271
301
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
272
302
|
|
273
303
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -298,10 +328,12 @@ module Aws::States
|
|
298
328
|
ExecutionListItem.struct_class = Types::ExecutionListItem
|
299
329
|
|
300
330
|
ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
331
|
+
ExecutionStartedEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
301
332
|
ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
302
333
|
ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
|
303
334
|
|
304
335
|
ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
336
|
+
ExecutionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
305
337
|
ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
|
306
338
|
|
307
339
|
ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -320,6 +352,7 @@ module Aws::States
|
|
320
352
|
GetExecutionHistoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
321
353
|
GetExecutionHistoryInput.add_member(:reverse_order, Shapes::ShapeRef.new(shape: ReverseOrder, location_name: "reverseOrder"))
|
322
354
|
GetExecutionHistoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
355
|
+
GetExecutionHistoryInput.add_member(:include_execution_data, Shapes::ShapeRef.new(shape: IncludeExecutionDataGetExecutionHistory, location_name: "includeExecutionData"))
|
323
356
|
GetExecutionHistoryInput.struct_class = Types::GetExecutionHistoryInput
|
324
357
|
|
325
358
|
GetExecutionHistoryOutput.add_member(:events, Shapes::ShapeRef.new(shape: HistoryEventList, required: true, location_name: "events"))
|
@@ -364,6 +397,9 @@ module Aws::States
|
|
364
397
|
HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
|
365
398
|
HistoryEvent.struct_class = Types::HistoryEvent
|
366
399
|
|
400
|
+
HistoryEventExecutionDataDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
|
401
|
+
HistoryEventExecutionDataDetails.struct_class = Types::HistoryEventExecutionDataDetails
|
402
|
+
|
367
403
|
HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
|
368
404
|
|
369
405
|
InvalidArn.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -387,6 +423,9 @@ module Aws::States
|
|
387
423
|
InvalidToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
388
424
|
InvalidToken.struct_class = Types::InvalidToken
|
389
425
|
|
426
|
+
InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
427
|
+
InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
|
428
|
+
|
390
429
|
LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
391
430
|
LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
392
431
|
LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
|
@@ -397,6 +436,7 @@ module Aws::States
|
|
397
436
|
|
398
437
|
LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
|
399
438
|
LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
439
|
+
LambdaFunctionScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
400
440
|
LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
401
441
|
LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
|
402
442
|
|
@@ -405,6 +445,7 @@ module Aws::States
|
|
405
445
|
LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
|
406
446
|
|
407
447
|
LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
448
|
+
LambdaFunctionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
408
449
|
LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
|
409
450
|
|
410
451
|
LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -488,18 +529,43 @@ module Aws::States
|
|
488
529
|
StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
489
530
|
StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
490
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"))
|
491
533
|
StartExecutionInput.struct_class = Types::StartExecutionInput
|
492
534
|
|
493
535
|
StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
494
536
|
StartExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
495
537
|
StartExecutionOutput.struct_class = Types::StartExecutionOutput
|
496
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
|
+
|
497
561
|
StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
498
562
|
StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
563
|
+
StateEnteredEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
499
564
|
StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
|
500
565
|
|
501
566
|
StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
502
567
|
StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
568
|
+
StateExitedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
503
569
|
StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
|
504
570
|
|
505
571
|
StateMachineAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -561,6 +627,7 @@ module Aws::States
|
|
561
627
|
TaskScheduledEventDetails.add_member(:region, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "region"))
|
562
628
|
TaskScheduledEventDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: ConnectorParameters, required: true, location_name: "parameters"))
|
563
629
|
TaskScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
630
|
+
TaskScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
|
564
631
|
TaskScheduledEventDetails.struct_class = Types::TaskScheduledEventDetails
|
565
632
|
|
566
633
|
TaskStartFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
@@ -582,11 +649,13 @@ module Aws::States
|
|
582
649
|
TaskSubmittedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
583
650
|
TaskSubmittedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
|
584
651
|
TaskSubmittedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
652
|
+
TaskSubmittedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
585
653
|
TaskSubmittedEventDetails.struct_class = Types::TaskSubmittedEventDetails
|
586
654
|
|
587
655
|
TaskSucceededEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
588
656
|
TaskSucceededEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
|
589
657
|
TaskSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
658
|
+
TaskSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
590
659
|
TaskSucceededEventDetails.struct_class = Types::TaskSucceededEventDetails
|
591
660
|
|
592
661
|
TaskTimedOut.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -602,6 +671,9 @@ module Aws::States
|
|
602
671
|
TooManyTags.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
|
603
672
|
TooManyTags.struct_class = Types::TooManyTags
|
604
673
|
|
674
|
+
TracingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
|
675
|
+
TracingConfiguration.struct_class = Types::TracingConfiguration
|
676
|
+
|
605
677
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
606
678
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
607
679
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
@@ -612,6 +684,7 @@ module Aws::States
|
|
612
684
|
UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
|
613
685
|
UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
614
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"))
|
615
688
|
UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
|
616
689
|
|
617
690
|
UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
@@ -657,6 +730,7 @@ module Aws::States
|
|
657
730
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
658
731
|
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
659
732
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
660
734
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
|
661
735
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
662
736
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
|
@@ -857,6 +931,23 @@ module Aws::States
|
|
857
931
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
858
932
|
end)
|
859
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
|
+
|
860
951
|
api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
|
861
952
|
o.name = "StopExecution"
|
862
953
|
o.http_method = "POST"
|
@@ -897,6 +988,7 @@ module Aws::States
|
|
897
988
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
898
989
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
899
990
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
900
992
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
|
901
993
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
902
994
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|