aws-sdk-states 1.31.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-states.rb +3 -2
- data/lib/aws-sdk-states/client.rb +155 -14
- 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: 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
@@ -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
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-states/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::States
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.37.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::States
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::States
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -431,11 +446,11 @@ module Aws::States
|
|
431
446
|
# <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
|
432
447
|
# create a duplicate resource if it was already created.
|
433
448
|
# `CreateStateMachine`'s idempotency check is based on the state
|
434
|
-
# machine `name`, `definition`, `type`,
|
435
|
-
# following request has a different
|
436
|
-
# will ignore these differences and
|
437
|
-
#
|
438
|
-
# 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.
|
439
454
|
#
|
440
455
|
# </note>
|
441
456
|
#
|
@@ -506,6 +521,9 @@ module Aws::States
|
|
506
521
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
507
522
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
|
508
523
|
#
|
524
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
525
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
526
|
+
#
|
509
527
|
# @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
510
528
|
#
|
511
529
|
# * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
|
@@ -535,6 +553,9 @@ module Aws::States
|
|
535
553
|
# value: "TagValue",
|
536
554
|
# },
|
537
555
|
# ],
|
556
|
+
# tracing_configuration: {
|
557
|
+
# enabled: false,
|
558
|
+
# },
|
538
559
|
# })
|
539
560
|
#
|
540
561
|
# @example Response structure
|
@@ -661,7 +682,10 @@ module Aws::States
|
|
661
682
|
# * {Types::DescribeExecutionOutput#start_date #start_date} => Time
|
662
683
|
# * {Types::DescribeExecutionOutput#stop_date #stop_date} => Time
|
663
684
|
# * {Types::DescribeExecutionOutput#input #input} => String
|
685
|
+
# * {Types::DescribeExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
|
664
686
|
# * {Types::DescribeExecutionOutput#output #output} => String
|
687
|
+
# * {Types::DescribeExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
|
688
|
+
# * {Types::DescribeExecutionOutput#trace_header #trace_header} => String
|
665
689
|
#
|
666
690
|
# @example Request syntax with placeholder values
|
667
691
|
#
|
@@ -678,7 +702,10 @@ module Aws::States
|
|
678
702
|
# resp.start_date #=> Time
|
679
703
|
# resp.stop_date #=> Time
|
680
704
|
# resp.input #=> String
|
705
|
+
# resp.input_details.included #=> Boolean
|
681
706
|
# resp.output #=> String
|
707
|
+
# resp.output_details.included #=> Boolean
|
708
|
+
# resp.trace_header #=> String
|
682
709
|
#
|
683
710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution AWS API Documentation
|
684
711
|
#
|
@@ -709,6 +736,7 @@ module Aws::States
|
|
709
736
|
# * {Types::DescribeStateMachineOutput#type #type} => String
|
710
737
|
# * {Types::DescribeStateMachineOutput#creation_date #creation_date} => Time
|
711
738
|
# * {Types::DescribeStateMachineOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
739
|
+
# * {Types::DescribeStateMachineOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
712
740
|
#
|
713
741
|
# @example Request syntax with placeholder values
|
714
742
|
#
|
@@ -729,6 +757,7 @@ module Aws::States
|
|
729
757
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
730
758
|
# resp.logging_configuration.destinations #=> Array
|
731
759
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
760
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
732
761
|
#
|
733
762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
|
734
763
|
#
|
@@ -760,6 +789,7 @@ module Aws::States
|
|
760
789
|
# * {Types::DescribeStateMachineForExecutionOutput#role_arn #role_arn} => String
|
761
790
|
# * {Types::DescribeStateMachineForExecutionOutput#update_date #update_date} => Time
|
762
791
|
# * {Types::DescribeStateMachineForExecutionOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
|
792
|
+
# * {Types::DescribeStateMachineForExecutionOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
|
763
793
|
#
|
764
794
|
# @example Request syntax with placeholder values
|
765
795
|
#
|
@@ -778,6 +808,7 @@ module Aws::States
|
|
778
808
|
# resp.logging_configuration.include_execution_data #=> Boolean
|
779
809
|
# resp.logging_configuration.destinations #=> Array
|
780
810
|
# resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
|
811
|
+
# resp.tracing_configuration.enabled #=> Boolean
|
781
812
|
#
|
782
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
|
783
814
|
#
|
@@ -880,6 +911,10 @@ module Aws::States
|
|
880
911
|
# after 24 hours. Using an expired pagination token will return an *HTTP
|
881
912
|
# 400 InvalidToken* error.
|
882
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
|
+
#
|
883
918
|
# @return [Types::GetExecutionHistoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
884
919
|
#
|
885
920
|
# * {Types::GetExecutionHistoryOutput#events #events} => Array<Types::HistoryEvent>
|
@@ -894,6 +929,7 @@ module Aws::States
|
|
894
929
|
# max_results: 1,
|
895
930
|
# reverse_order: false,
|
896
931
|
# next_token: "PageToken",
|
932
|
+
# include_execution_data: false,
|
897
933
|
# })
|
898
934
|
#
|
899
935
|
# @example Response structure
|
@@ -909,10 +945,12 @@ module Aws::States
|
|
909
945
|
# resp.events[0].activity_schedule_failed_event_details.cause #=> String
|
910
946
|
# resp.events[0].activity_scheduled_event_details.resource #=> String
|
911
947
|
# resp.events[0].activity_scheduled_event_details.input #=> String
|
948
|
+
# resp.events[0].activity_scheduled_event_details.input_details.truncated #=> Boolean
|
912
949
|
# resp.events[0].activity_scheduled_event_details.timeout_in_seconds #=> Integer
|
913
950
|
# resp.events[0].activity_scheduled_event_details.heartbeat_in_seconds #=> Integer
|
914
951
|
# resp.events[0].activity_started_event_details.worker_name #=> String
|
915
952
|
# resp.events[0].activity_succeeded_event_details.output #=> String
|
953
|
+
# resp.events[0].activity_succeeded_event_details.output_details.truncated #=> Boolean
|
916
954
|
# resp.events[0].activity_timed_out_event_details.error #=> String
|
917
955
|
# resp.events[0].activity_timed_out_event_details.cause #=> String
|
918
956
|
# resp.events[0].task_failed_event_details.resource_type #=> String
|
@@ -924,6 +962,7 @@ module Aws::States
|
|
924
962
|
# resp.events[0].task_scheduled_event_details.region #=> String
|
925
963
|
# resp.events[0].task_scheduled_event_details.parameters #=> String
|
926
964
|
# resp.events[0].task_scheduled_event_details.timeout_in_seconds #=> Integer
|
965
|
+
# resp.events[0].task_scheduled_event_details.heartbeat_in_seconds #=> Integer
|
927
966
|
# resp.events[0].task_start_failed_event_details.resource_type #=> String
|
928
967
|
# resp.events[0].task_start_failed_event_details.resource #=> String
|
929
968
|
# resp.events[0].task_start_failed_event_details.error #=> String
|
@@ -937,9 +976,11 @@ module Aws::States
|
|
937
976
|
# resp.events[0].task_submitted_event_details.resource_type #=> String
|
938
977
|
# resp.events[0].task_submitted_event_details.resource #=> String
|
939
978
|
# resp.events[0].task_submitted_event_details.output #=> String
|
979
|
+
# resp.events[0].task_submitted_event_details.output_details.truncated #=> Boolean
|
940
980
|
# resp.events[0].task_succeeded_event_details.resource_type #=> String
|
941
981
|
# resp.events[0].task_succeeded_event_details.resource #=> String
|
942
982
|
# resp.events[0].task_succeeded_event_details.output #=> String
|
983
|
+
# resp.events[0].task_succeeded_event_details.output_details.truncated #=> Boolean
|
943
984
|
# resp.events[0].task_timed_out_event_details.resource_type #=> String
|
944
985
|
# resp.events[0].task_timed_out_event_details.resource #=> String
|
945
986
|
# resp.events[0].task_timed_out_event_details.error #=> String
|
@@ -947,8 +988,10 @@ module Aws::States
|
|
947
988
|
# resp.events[0].execution_failed_event_details.error #=> String
|
948
989
|
# resp.events[0].execution_failed_event_details.cause #=> String
|
949
990
|
# resp.events[0].execution_started_event_details.input #=> String
|
991
|
+
# resp.events[0].execution_started_event_details.input_details.truncated #=> Boolean
|
950
992
|
# resp.events[0].execution_started_event_details.role_arn #=> String
|
951
993
|
# resp.events[0].execution_succeeded_event_details.output #=> String
|
994
|
+
# resp.events[0].execution_succeeded_event_details.output_details.truncated #=> Boolean
|
952
995
|
# resp.events[0].execution_aborted_event_details.error #=> String
|
953
996
|
# resp.events[0].execution_aborted_event_details.cause #=> String
|
954
997
|
# resp.events[0].execution_timed_out_event_details.error #=> String
|
@@ -968,16 +1011,20 @@ module Aws::States
|
|
968
1011
|
# resp.events[0].lambda_function_schedule_failed_event_details.cause #=> String
|
969
1012
|
# resp.events[0].lambda_function_scheduled_event_details.resource #=> String
|
970
1013
|
# resp.events[0].lambda_function_scheduled_event_details.input #=> String
|
1014
|
+
# resp.events[0].lambda_function_scheduled_event_details.input_details.truncated #=> Boolean
|
971
1015
|
# resp.events[0].lambda_function_scheduled_event_details.timeout_in_seconds #=> Integer
|
972
1016
|
# resp.events[0].lambda_function_start_failed_event_details.error #=> String
|
973
1017
|
# resp.events[0].lambda_function_start_failed_event_details.cause #=> String
|
974
1018
|
# resp.events[0].lambda_function_succeeded_event_details.output #=> String
|
1019
|
+
# resp.events[0].lambda_function_succeeded_event_details.output_details.truncated #=> Boolean
|
975
1020
|
# resp.events[0].lambda_function_timed_out_event_details.error #=> String
|
976
1021
|
# resp.events[0].lambda_function_timed_out_event_details.cause #=> String
|
977
1022
|
# resp.events[0].state_entered_event_details.name #=> String
|
978
1023
|
# resp.events[0].state_entered_event_details.input #=> String
|
1024
|
+
# resp.events[0].state_entered_event_details.input_details.truncated #=> Boolean
|
979
1025
|
# resp.events[0].state_exited_event_details.name #=> String
|
980
1026
|
# resp.events[0].state_exited_event_details.output #=> String
|
1027
|
+
# resp.events[0].state_exited_event_details.output_details.truncated #=> Boolean
|
981
1028
|
# resp.next_token #=> String
|
982
1029
|
#
|
983
1030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory AWS API Documentation
|
@@ -1335,7 +1382,8 @@ module Aws::States
|
|
1335
1382
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
|
1336
1383
|
#
|
1337
1384
|
# @option params [required, String] :output
|
1338
|
-
# 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.
|
1339
1387
|
#
|
1340
1388
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1341
1389
|
#
|
@@ -1404,6 +1452,13 @@ module Aws::States
|
|
1404
1452
|
#
|
1405
1453
|
# </note>
|
1406
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
|
+
#
|
1407
1462
|
# @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1408
1463
|
#
|
1409
1464
|
# * {Types::StartExecutionOutput#execution_arn #execution_arn} => String
|
@@ -1415,6 +1470,7 @@ module Aws::States
|
|
1415
1470
|
# state_machine_arn: "Arn", # required
|
1416
1471
|
# name: "Name",
|
1417
1472
|
# input: "SensitiveData",
|
1473
|
+
# trace_header: "TraceHeader",
|
1418
1474
|
# })
|
1419
1475
|
#
|
1420
1476
|
# @example Response structure
|
@@ -1431,6 +1487,85 @@ module Aws::States
|
|
1431
1487
|
req.send_request(options)
|
1432
1488
|
end
|
1433
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
|
+
|
1434
1569
|
# Stops an execution.
|
1435
1570
|
#
|
1436
1571
|
# This API action is not supported by `EXPRESS` state machines.
|
@@ -1574,6 +1709,9 @@ module Aws::States
|
|
1574
1709
|
# The `LoggingConfiguration` data type is used to set CloudWatch Logs
|
1575
1710
|
# options.
|
1576
1711
|
#
|
1712
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
1713
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
1714
|
+
#
|
1577
1715
|
# @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1578
1716
|
#
|
1579
1717
|
# * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
|
@@ -1595,6 +1733,9 @@ module Aws::States
|
|
1595
1733
|
# },
|
1596
1734
|
# ],
|
1597
1735
|
# },
|
1736
|
+
# tracing_configuration: {
|
1737
|
+
# enabled: false,
|
1738
|
+
# },
|
1598
1739
|
# })
|
1599
1740
|
#
|
1600
1741
|
# @example Response structure
|
@@ -1623,7 +1764,7 @@ module Aws::States
|
|
1623
1764
|
params: params,
|
1624
1765
|
config: config)
|
1625
1766
|
context[:gem_name] = 'aws-sdk-states'
|
1626
|
-
context[:gem_version] = '1.
|
1767
|
+
context[:gem_version] = '1.37.0'
|
1627
1768
|
Seahorse::Client::Request.new(handlers, context)
|
1628
1769
|
end
|
1629
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)
|