aws-sdk-states 1.30.0 → 1.36.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 +3 -2
- data/lib/aws-sdk-states/client.rb +76 -14
- data/lib/aws-sdk-states/client_api.rb +44 -1
- data/lib/aws-sdk-states/errors.rb +16 -0
- data/lib/aws-sdk-states/types.rb +230 -29
- 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: f44facf5dc4280d1307201cf5ce373d73be3c9e87fcb73a8f48ecdc832e1cf2f
|
4
|
+
data.tar.gz: 9f471ffc54b3b80cc8ff65a9aefb5f125f20e4979992b885a48c8166c36d9710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bb83f1ac3ac77bf892b792198779daf4bf7d1c49acfb037afab6c78be159a4ae46adc6309df2f6f3306dd3fb2bcf59eaebe27cc09cfcde29de0f8271a0d33a9
|
7
|
+
data.tar.gz: 2deba9bfdd07118e2388b78b3b4567cb39e199d2060b4f6262624018710b4a0bd5e24946289902bde8c386c7f90ff751499327d989e5fc9c88f98d5b9f3aebe1
|
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.36.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
|
@@ -1574,6 +1630,9 @@ module Aws::States
|
|
1574
1630
|
# The `LoggingConfiguration` data type is used to set CloudWatch Logs
|
1575
1631
|
# options.
|
1576
1632
|
#
|
1633
|
+
# @option params [Types::TracingConfiguration] :tracing_configuration
|
1634
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
1635
|
+
#
|
1577
1636
|
# @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1578
1637
|
#
|
1579
1638
|
# * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
|
@@ -1595,6 +1654,9 @@ module Aws::States
|
|
1595
1654
|
# },
|
1596
1655
|
# ],
|
1597
1656
|
# },
|
1657
|
+
# tracing_configuration: {
|
1658
|
+
# enabled: false,
|
1659
|
+
# },
|
1598
1660
|
# })
|
1599
1661
|
#
|
1600
1662
|
# @example Response structure
|
@@ -1623,7 +1685,7 @@ module Aws::States
|
|
1623
1685
|
params: params,
|
1624
1686
|
config: config)
|
1625
1687
|
context[:gem_name] = 'aws-sdk-states'
|
1626
|
-
context[:gem_version] = '1.
|
1688
|
+
context[:gem_version] = '1.36.0'
|
1627
1689
|
Seahorse::Client::Request.new(handlers, context)
|
1628
1690
|
end
|
1629
1691
|
|
@@ -25,6 +25,7 @@ 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
|
+
CloudWatchEventsExecutionDataDetails = Shapes::StructureShape.new(name: 'CloudWatchEventsExecutionDataDetails')
|
28
29
|
CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
|
29
30
|
ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
|
30
31
|
CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
|
@@ -44,6 +45,7 @@ module Aws::States
|
|
44
45
|
DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
|
45
46
|
DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
|
46
47
|
DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
|
48
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
47
49
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
48
50
|
EventId = Shapes::IntegerShape.new(name: 'EventId')
|
49
51
|
ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
|
@@ -62,10 +64,12 @@ module Aws::States
|
|
62
64
|
GetExecutionHistoryInput = Shapes::StructureShape.new(name: 'GetExecutionHistoryInput')
|
63
65
|
GetExecutionHistoryOutput = Shapes::StructureShape.new(name: 'GetExecutionHistoryOutput')
|
64
66
|
HistoryEvent = Shapes::StructureShape.new(name: 'HistoryEvent')
|
67
|
+
HistoryEventExecutionDataDetails = Shapes::StructureShape.new(name: 'HistoryEventExecutionDataDetails')
|
65
68
|
HistoryEventList = Shapes::ListShape.new(name: 'HistoryEventList')
|
66
69
|
HistoryEventType = Shapes::StringShape.new(name: 'HistoryEventType')
|
67
70
|
Identity = Shapes::StringShape.new(name: 'Identity')
|
68
71
|
IncludeExecutionData = Shapes::BooleanShape.new(name: 'IncludeExecutionData')
|
72
|
+
IncludeExecutionDataGetExecutionHistory = Shapes::BooleanShape.new(name: 'IncludeExecutionDataGetExecutionHistory')
|
69
73
|
InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
|
70
74
|
InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
|
71
75
|
InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
|
@@ -73,6 +77,7 @@ module Aws::States
|
|
73
77
|
InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
|
74
78
|
InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
|
75
79
|
InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
|
80
|
+
InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
|
76
81
|
LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
|
77
82
|
LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
|
78
83
|
LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
|
@@ -146,11 +151,15 @@ module Aws::States
|
|
146
151
|
TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
|
147
152
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
148
153
|
TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
|
154
|
+
TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
|
155
|
+
TracingConfiguration = Shapes::StructureShape.new(name: 'TracingConfiguration')
|
149
156
|
UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
|
150
157
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
151
158
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
152
159
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
153
160
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
161
|
+
included = Shapes::BooleanShape.new(name: 'included')
|
162
|
+
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
154
163
|
|
155
164
|
ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
156
165
|
ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
|
@@ -175,6 +184,7 @@ module Aws::States
|
|
175
184
|
|
176
185
|
ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
|
177
186
|
ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
187
|
+
ActivityScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
178
188
|
ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
179
189
|
ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
|
180
190
|
ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
|
@@ -183,6 +193,7 @@ module Aws::States
|
|
183
193
|
ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
|
184
194
|
|
185
195
|
ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
196
|
+
ActivitySucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
186
197
|
ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
|
187
198
|
|
188
199
|
ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -192,6 +203,9 @@ module Aws::States
|
|
192
203
|
ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
193
204
|
ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
|
194
205
|
|
206
|
+
CloudWatchEventsExecutionDataDetails.add_member(:included, Shapes::ShapeRef.new(shape: included, location_name: "included"))
|
207
|
+
CloudWatchEventsExecutionDataDetails.struct_class = Types::CloudWatchEventsExecutionDataDetails
|
208
|
+
|
195
209
|
CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
196
210
|
CloudWatchLogsLogGroup.struct_class = Types::CloudWatchLogsLogGroup
|
197
211
|
|
@@ -209,6 +223,7 @@ module Aws::States
|
|
209
223
|
CreateStateMachineInput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, location_name: "type"))
|
210
224
|
CreateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
211
225
|
CreateStateMachineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
226
|
+
CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
212
227
|
CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
|
213
228
|
|
214
229
|
CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -242,8 +257,11 @@ module Aws::States
|
|
242
257
|
DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
|
243
258
|
DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
244
259
|
DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
245
|
-
DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData,
|
260
|
+
DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
261
|
+
DescribeExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
|
246
262
|
DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
263
|
+
DescribeExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
|
264
|
+
DescribeExecutionOutput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
247
265
|
DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
|
248
266
|
|
249
267
|
DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
@@ -255,6 +273,7 @@ module Aws::States
|
|
255
273
|
DescribeStateMachineForExecutionOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
|
256
274
|
DescribeStateMachineForExecutionOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
257
275
|
DescribeStateMachineForExecutionOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
276
|
+
DescribeStateMachineForExecutionOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
258
277
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
259
278
|
|
260
279
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -268,6 +287,7 @@ module Aws::States
|
|
268
287
|
DescribeStateMachineOutput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, required: true, location_name: "type"))
|
269
288
|
DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
270
289
|
DescribeStateMachineOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
290
|
+
DescribeStateMachineOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
271
291
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
272
292
|
|
273
293
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -298,10 +318,12 @@ module Aws::States
|
|
298
318
|
ExecutionListItem.struct_class = Types::ExecutionListItem
|
299
319
|
|
300
320
|
ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
321
|
+
ExecutionStartedEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
301
322
|
ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
302
323
|
ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
|
303
324
|
|
304
325
|
ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
326
|
+
ExecutionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
305
327
|
ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
|
306
328
|
|
307
329
|
ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -320,6 +342,7 @@ module Aws::States
|
|
320
342
|
GetExecutionHistoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
321
343
|
GetExecutionHistoryInput.add_member(:reverse_order, Shapes::ShapeRef.new(shape: ReverseOrder, location_name: "reverseOrder"))
|
322
344
|
GetExecutionHistoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
345
|
+
GetExecutionHistoryInput.add_member(:include_execution_data, Shapes::ShapeRef.new(shape: IncludeExecutionDataGetExecutionHistory, location_name: "includeExecutionData"))
|
323
346
|
GetExecutionHistoryInput.struct_class = Types::GetExecutionHistoryInput
|
324
347
|
|
325
348
|
GetExecutionHistoryOutput.add_member(:events, Shapes::ShapeRef.new(shape: HistoryEventList, required: true, location_name: "events"))
|
@@ -364,6 +387,9 @@ module Aws::States
|
|
364
387
|
HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
|
365
388
|
HistoryEvent.struct_class = Types::HistoryEvent
|
366
389
|
|
390
|
+
HistoryEventExecutionDataDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
|
391
|
+
HistoryEventExecutionDataDetails.struct_class = Types::HistoryEventExecutionDataDetails
|
392
|
+
|
367
393
|
HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
|
368
394
|
|
369
395
|
InvalidArn.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -387,6 +413,9 @@ module Aws::States
|
|
387
413
|
InvalidToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
388
414
|
InvalidToken.struct_class = Types::InvalidToken
|
389
415
|
|
416
|
+
InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
417
|
+
InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
|
418
|
+
|
390
419
|
LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
391
420
|
LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
392
421
|
LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
|
@@ -397,6 +426,7 @@ module Aws::States
|
|
397
426
|
|
398
427
|
LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
|
399
428
|
LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
429
|
+
LambdaFunctionScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
400
430
|
LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
401
431
|
LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
|
402
432
|
|
@@ -405,6 +435,7 @@ module Aws::States
|
|
405
435
|
LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
|
406
436
|
|
407
437
|
LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
438
|
+
LambdaFunctionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
408
439
|
LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
|
409
440
|
|
410
441
|
LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -488,6 +519,7 @@ module Aws::States
|
|
488
519
|
StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
489
520
|
StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
490
521
|
StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
522
|
+
StartExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
491
523
|
StartExecutionInput.struct_class = Types::StartExecutionInput
|
492
524
|
|
493
525
|
StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
@@ -496,10 +528,12 @@ module Aws::States
|
|
496
528
|
|
497
529
|
StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
498
530
|
StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
531
|
+
StateEnteredEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
499
532
|
StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
|
500
533
|
|
501
534
|
StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
502
535
|
StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
536
|
+
StateExitedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
503
537
|
StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
|
504
538
|
|
505
539
|
StateMachineAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -561,6 +595,7 @@ module Aws::States
|
|
561
595
|
TaskScheduledEventDetails.add_member(:region, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "region"))
|
562
596
|
TaskScheduledEventDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: ConnectorParameters, required: true, location_name: "parameters"))
|
563
597
|
TaskScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
|
598
|
+
TaskScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
|
564
599
|
TaskScheduledEventDetails.struct_class = Types::TaskScheduledEventDetails
|
565
600
|
|
566
601
|
TaskStartFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
@@ -582,11 +617,13 @@ module Aws::States
|
|
582
617
|
TaskSubmittedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
583
618
|
TaskSubmittedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
|
584
619
|
TaskSubmittedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
620
|
+
TaskSubmittedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
585
621
|
TaskSubmittedEventDetails.struct_class = Types::TaskSubmittedEventDetails
|
586
622
|
|
587
623
|
TaskSucceededEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
|
588
624
|
TaskSucceededEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
|
589
625
|
TaskSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
626
|
+
TaskSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
590
627
|
TaskSucceededEventDetails.struct_class = Types::TaskSucceededEventDetails
|
591
628
|
|
592
629
|
TaskTimedOut.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -602,6 +639,9 @@ module Aws::States
|
|
602
639
|
TooManyTags.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
|
603
640
|
TooManyTags.struct_class = Types::TooManyTags
|
604
641
|
|
642
|
+
TracingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
|
643
|
+
TracingConfiguration.struct_class = Types::TracingConfiguration
|
644
|
+
|
605
645
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
606
646
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
607
647
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
@@ -612,6 +652,7 @@ module Aws::States
|
|
612
652
|
UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
|
613
653
|
UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
614
654
|
UpdateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
655
|
+
UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
615
656
|
UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
|
616
657
|
|
617
658
|
UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
@@ -657,6 +698,7 @@ module Aws::States
|
|
657
698
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
658
699
|
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
659
700
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
660
702
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
|
661
703
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
662
704
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
|
@@ -897,6 +939,7 @@ module Aws::States
|
|
897
939
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
898
940
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
|
899
941
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
|
900
943
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
|
901
944
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
902
945
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
@@ -40,6 +40,7 @@ module Aws::States
|
|
40
40
|
# * {InvalidName}
|
41
41
|
# * {InvalidOutput}
|
42
42
|
# * {InvalidToken}
|
43
|
+
# * {InvalidTracingConfiguration}
|
43
44
|
# * {MissingRequiredParameter}
|
44
45
|
# * {ResourceNotFound}
|
45
46
|
# * {StateMachineAlreadyExists}
|
@@ -252,6 +253,21 @@ module Aws::States
|
|
252
253
|
end
|
253
254
|
end
|
254
255
|
|
256
|
+
class InvalidTracingConfiguration < ServiceError
|
257
|
+
|
258
|
+
# @param [Seahorse::Client::RequestContext] context
|
259
|
+
# @param [String] message
|
260
|
+
# @param [Aws::States::Types::InvalidTracingConfiguration] data
|
261
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
262
|
+
super(context, message, data)
|
263
|
+
end
|
264
|
+
|
265
|
+
# @return [String]
|
266
|
+
def message
|
267
|
+
@message || @data[:message]
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
255
271
|
class MissingRequiredParameter < ServiceError
|
256
272
|
|
257
273
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-states/types.rb
CHANGED
@@ -122,9 +122,14 @@ module Aws::States
|
|
122
122
|
# @return [String]
|
123
123
|
#
|
124
124
|
# @!attribute [rw] input
|
125
|
-
# The JSON data input to the activity task.
|
125
|
+
# The JSON data input to the activity task. Length constraints apply
|
126
|
+
# to the payload size, and are expressed as bytes in UTF-8 encoding.
|
126
127
|
# @return [String]
|
127
128
|
#
|
129
|
+
# @!attribute [rw] input_details
|
130
|
+
# Contains details about the input for an execution history event.
|
131
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
132
|
+
#
|
128
133
|
# @!attribute [rw] timeout_in_seconds
|
129
134
|
# The maximum allowed duration of the activity task.
|
130
135
|
# @return [Integer]
|
@@ -139,6 +144,7 @@ module Aws::States
|
|
139
144
|
class ActivityScheduledEventDetails < Struct.new(
|
140
145
|
:resource,
|
141
146
|
:input,
|
147
|
+
:input_details,
|
142
148
|
:timeout_in_seconds,
|
143
149
|
:heartbeat_in_seconds)
|
144
150
|
SENSITIVE = [:input]
|
@@ -164,13 +170,19 @@ module Aws::States
|
|
164
170
|
# an execution.
|
165
171
|
#
|
166
172
|
# @!attribute [rw] output
|
167
|
-
# The JSON data output by the activity task.
|
173
|
+
# The JSON data output by the activity task. Length constraints apply
|
174
|
+
# to the payload size, and are expressed as bytes in UTF-8 encoding.
|
168
175
|
# @return [String]
|
169
176
|
#
|
177
|
+
# @!attribute [rw] output_details
|
178
|
+
# Contains details about the output of an execution history event.
|
179
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
180
|
+
#
|
170
181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails AWS API Documentation
|
171
182
|
#
|
172
183
|
class ActivitySucceededEventDetails < Struct.new(
|
173
|
-
:output
|
184
|
+
:output,
|
185
|
+
:output_details)
|
174
186
|
SENSITIVE = [:output]
|
175
187
|
include Aws::Structure
|
176
188
|
end
|
@@ -209,6 +221,21 @@ module Aws::States
|
|
209
221
|
include Aws::Structure
|
210
222
|
end
|
211
223
|
|
224
|
+
# Provides details about execution input or output.
|
225
|
+
#
|
226
|
+
# @!attribute [rw] included
|
227
|
+
# Indicates whether input or output was included in the response.
|
228
|
+
# Always `true` for API calls.
|
229
|
+
# @return [Boolean]
|
230
|
+
#
|
231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CloudWatchEventsExecutionDataDetails AWS API Documentation
|
232
|
+
#
|
233
|
+
class CloudWatchEventsExecutionDataDetails < Struct.new(
|
234
|
+
:included)
|
235
|
+
SENSITIVE = []
|
236
|
+
include Aws::Structure
|
237
|
+
end
|
238
|
+
|
212
239
|
# @note When making an API call, you may pass CloudWatchLogsLogGroup
|
213
240
|
# data as a hash:
|
214
241
|
#
|
@@ -335,6 +362,9 @@ module Aws::States
|
|
335
362
|
# value: "TagValue",
|
336
363
|
# },
|
337
364
|
# ],
|
365
|
+
# tracing_configuration: {
|
366
|
+
# enabled: false,
|
367
|
+
# },
|
338
368
|
# }
|
339
369
|
#
|
340
370
|
# @!attribute [rw] name
|
@@ -406,6 +436,10 @@ module Aws::States
|
|
406
436
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
|
407
437
|
# @return [Array<Types::Tag>]
|
408
438
|
#
|
439
|
+
# @!attribute [rw] tracing_configuration
|
440
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
441
|
+
# @return [Types::TracingConfiguration]
|
442
|
+
#
|
409
443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
|
410
444
|
#
|
411
445
|
class CreateStateMachineInput < Struct.new(
|
@@ -414,7 +448,8 @@ module Aws::States
|
|
414
448
|
:role_arn,
|
415
449
|
:type,
|
416
450
|
:logging_configuration,
|
417
|
-
:tags
|
451
|
+
:tags,
|
452
|
+
:tracing_configuration)
|
418
453
|
SENSITIVE = [:definition]
|
419
454
|
include Aws::Structure
|
420
455
|
end
|
@@ -599,10 +634,17 @@ module Aws::States
|
|
599
634
|
#
|
600
635
|
# @!attribute [rw] input
|
601
636
|
# The string that contains the JSON input data of the execution.
|
637
|
+
# Length constraints apply to the payload size, and are expressed as
|
638
|
+
# bytes in UTF-8 encoding.
|
602
639
|
# @return [String]
|
603
640
|
#
|
641
|
+
# @!attribute [rw] input_details
|
642
|
+
# Provides details about execution input or output.
|
643
|
+
# @return [Types::CloudWatchEventsExecutionDataDetails]
|
644
|
+
#
|
604
645
|
# @!attribute [rw] output
|
605
|
-
# The JSON output data of the execution.
|
646
|
+
# The JSON output data of the execution. Length constraints apply to
|
647
|
+
# the payload size, and are expressed as bytes in UTF-8 encoding.
|
606
648
|
#
|
607
649
|
# <note markdown="1"> This field is set only if the execution succeeds. If the execution
|
608
650
|
# fails, this field is null.
|
@@ -610,6 +652,14 @@ module Aws::States
|
|
610
652
|
# </note>
|
611
653
|
# @return [String]
|
612
654
|
#
|
655
|
+
# @!attribute [rw] output_details
|
656
|
+
# Provides details about execution input or output.
|
657
|
+
# @return [Types::CloudWatchEventsExecutionDataDetails]
|
658
|
+
#
|
659
|
+
# @!attribute [rw] trace_header
|
660
|
+
# The AWS X-Ray trace header which was passed to the execution.
|
661
|
+
# @return [String]
|
662
|
+
#
|
613
663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
|
614
664
|
#
|
615
665
|
class DescribeExecutionOutput < Struct.new(
|
@@ -620,7 +670,10 @@ module Aws::States
|
|
620
670
|
:start_date,
|
621
671
|
:stop_date,
|
622
672
|
:input,
|
623
|
-
:
|
673
|
+
:input_details,
|
674
|
+
:output,
|
675
|
+
:output_details,
|
676
|
+
:trace_header)
|
624
677
|
SENSITIVE = [:input, :output]
|
625
678
|
include Aws::Structure
|
626
679
|
end
|
@@ -679,6 +732,10 @@ module Aws::States
|
|
679
732
|
# options.
|
680
733
|
# @return [Types::LoggingConfiguration]
|
681
734
|
#
|
735
|
+
# @!attribute [rw] tracing_configuration
|
736
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
737
|
+
# @return [Types::TracingConfiguration]
|
738
|
+
#
|
682
739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
|
683
740
|
#
|
684
741
|
class DescribeStateMachineForExecutionOutput < Struct.new(
|
@@ -687,7 +744,8 @@ module Aws::States
|
|
687
744
|
:definition,
|
688
745
|
:role_arn,
|
689
746
|
:update_date,
|
690
|
-
:logging_configuration
|
747
|
+
:logging_configuration,
|
748
|
+
:tracing_configuration)
|
691
749
|
SENSITIVE = [:definition]
|
692
750
|
include Aws::Structure
|
693
751
|
end
|
@@ -766,6 +824,10 @@ module Aws::States
|
|
766
824
|
# options.
|
767
825
|
# @return [Types::LoggingConfiguration]
|
768
826
|
#
|
827
|
+
# @!attribute [rw] tracing_configuration
|
828
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
829
|
+
# @return [Types::TracingConfiguration]
|
830
|
+
#
|
769
831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
|
770
832
|
#
|
771
833
|
class DescribeStateMachineOutput < Struct.new(
|
@@ -776,7 +838,8 @@ module Aws::States
|
|
776
838
|
:role_arn,
|
777
839
|
:type,
|
778
840
|
:creation_date,
|
779
|
-
:logging_configuration
|
841
|
+
:logging_configuration,
|
842
|
+
:tracing_configuration)
|
780
843
|
SENSITIVE = [:definition]
|
781
844
|
include Aws::Structure
|
782
845
|
end
|
@@ -922,9 +985,14 @@ module Aws::States
|
|
922
985
|
# Contains details about the start of the execution.
|
923
986
|
#
|
924
987
|
# @!attribute [rw] input
|
925
|
-
# The JSON data input to the execution.
|
988
|
+
# The JSON data input to the execution. Length constraints apply to
|
989
|
+
# the payload size, and are expressed as bytes in UTF-8 encoding.
|
926
990
|
# @return [String]
|
927
991
|
#
|
992
|
+
# @!attribute [rw] input_details
|
993
|
+
# Contains details about the input for an execution history event.
|
994
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
995
|
+
#
|
928
996
|
# @!attribute [rw] role_arn
|
929
997
|
# The Amazon Resource Name (ARN) of the IAM role used for executing
|
930
998
|
# AWS Lambda tasks.
|
@@ -934,6 +1002,7 @@ module Aws::States
|
|
934
1002
|
#
|
935
1003
|
class ExecutionStartedEventDetails < Struct.new(
|
936
1004
|
:input,
|
1005
|
+
:input_details,
|
937
1006
|
:role_arn)
|
938
1007
|
SENSITIVE = [:input]
|
939
1008
|
include Aws::Structure
|
@@ -942,13 +1011,19 @@ module Aws::States
|
|
942
1011
|
# Contains details about the successful termination of the execution.
|
943
1012
|
#
|
944
1013
|
# @!attribute [rw] output
|
945
|
-
# The JSON data output by the execution.
|
1014
|
+
# The JSON data output by the execution. Length constraints apply to
|
1015
|
+
# the payload size, and are expressed as bytes in UTF-8 encoding.
|
946
1016
|
# @return [String]
|
947
1017
|
#
|
1018
|
+
# @!attribute [rw] output_details
|
1019
|
+
# Contains details about the output of an execution history event.
|
1020
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
1021
|
+
#
|
948
1022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails AWS API Documentation
|
949
1023
|
#
|
950
1024
|
class ExecutionSucceededEventDetails < Struct.new(
|
951
|
-
:output
|
1025
|
+
:output,
|
1026
|
+
:output_details)
|
952
1027
|
SENSITIVE = [:output]
|
953
1028
|
include Aws::Structure
|
954
1029
|
end
|
@@ -1009,7 +1084,9 @@ module Aws::States
|
|
1009
1084
|
# @return [String]
|
1010
1085
|
#
|
1011
1086
|
# @!attribute [rw] input
|
1012
|
-
# The string that contains the JSON input data for the task.
|
1087
|
+
# The string that contains the JSON input data for the task. Length
|
1088
|
+
# constraints apply to the payload size, and are expressed as bytes in
|
1089
|
+
# UTF-8 encoding.
|
1013
1090
|
# @return [String]
|
1014
1091
|
#
|
1015
1092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput AWS API Documentation
|
@@ -1029,6 +1106,7 @@ module Aws::States
|
|
1029
1106
|
# max_results: 1,
|
1030
1107
|
# reverse_order: false,
|
1031
1108
|
# next_token: "PageToken",
|
1109
|
+
# include_execution_data: false,
|
1032
1110
|
# }
|
1033
1111
|
#
|
1034
1112
|
# @!attribute [rw] execution_arn
|
@@ -1058,13 +1136,19 @@ module Aws::States
|
|
1058
1136
|
# return an *HTTP 400 InvalidToken* error.
|
1059
1137
|
# @return [String]
|
1060
1138
|
#
|
1139
|
+
# @!attribute [rw] include_execution_data
|
1140
|
+
# You can select whether execution data (input or output of a history
|
1141
|
+
# event) is returned. The default is `true`.
|
1142
|
+
# @return [Boolean]
|
1143
|
+
#
|
1061
1144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput AWS API Documentation
|
1062
1145
|
#
|
1063
1146
|
class GetExecutionHistoryInput < Struct.new(
|
1064
1147
|
:execution_arn,
|
1065
1148
|
:max_results,
|
1066
1149
|
:reverse_order,
|
1067
|
-
:next_token
|
1150
|
+
:next_token,
|
1151
|
+
:include_execution_data)
|
1068
1152
|
SENSITIVE = []
|
1069
1153
|
include Aws::Structure
|
1070
1154
|
end
|
@@ -1291,6 +1375,21 @@ module Aws::States
|
|
1291
1375
|
include Aws::Structure
|
1292
1376
|
end
|
1293
1377
|
|
1378
|
+
# Provides details about input or output in an execution history event.
|
1379
|
+
#
|
1380
|
+
# @!attribute [rw] truncated
|
1381
|
+
# Indicates whether input or output was truncated in the response.
|
1382
|
+
# Always `false` for API calls.
|
1383
|
+
# @return [Boolean]
|
1384
|
+
#
|
1385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEventExecutionDataDetails AWS API Documentation
|
1386
|
+
#
|
1387
|
+
class HistoryEventExecutionDataDetails < Struct.new(
|
1388
|
+
:truncated)
|
1389
|
+
SENSITIVE = []
|
1390
|
+
include Aws::Structure
|
1391
|
+
end
|
1392
|
+
|
1294
1393
|
# The provided Amazon Resource Name (ARN) is invalid.
|
1295
1394
|
#
|
1296
1395
|
# @!attribute [rw] message
|
@@ -1380,6 +1479,20 @@ module Aws::States
|
|
1380
1479
|
include Aws::Structure
|
1381
1480
|
end
|
1382
1481
|
|
1482
|
+
# Your `tracingConfiguration` key does not match, or `enabled` has not
|
1483
|
+
# been set to `true` or `false`.
|
1484
|
+
#
|
1485
|
+
# @!attribute [rw] message
|
1486
|
+
# @return [String]
|
1487
|
+
#
|
1488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidTracingConfiguration AWS API Documentation
|
1489
|
+
#
|
1490
|
+
class InvalidTracingConfiguration < Struct.new(
|
1491
|
+
:message)
|
1492
|
+
SENSITIVE = []
|
1493
|
+
include Aws::Structure
|
1494
|
+
end
|
1495
|
+
|
1383
1496
|
# Contains details about a lambda function that failed during an
|
1384
1497
|
# execution.
|
1385
1498
|
#
|
@@ -1428,9 +1541,14 @@ module Aws::States
|
|
1428
1541
|
# @return [String]
|
1429
1542
|
#
|
1430
1543
|
# @!attribute [rw] input
|
1431
|
-
# The JSON data input to the lambda function.
|
1544
|
+
# The JSON data input to the lambda function. Length constraints apply
|
1545
|
+
# to the payload size, and are expressed as bytes in UTF-8 encoding.
|
1432
1546
|
# @return [String]
|
1433
1547
|
#
|
1548
|
+
# @!attribute [rw] input_details
|
1549
|
+
# Contains details about input for an execution history event.
|
1550
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
1551
|
+
#
|
1434
1552
|
# @!attribute [rw] timeout_in_seconds
|
1435
1553
|
# The maximum allowed duration of the lambda function.
|
1436
1554
|
# @return [Integer]
|
@@ -1440,6 +1558,7 @@ module Aws::States
|
|
1440
1558
|
class LambdaFunctionScheduledEventDetails < Struct.new(
|
1441
1559
|
:resource,
|
1442
1560
|
:input,
|
1561
|
+
:input_details,
|
1443
1562
|
:timeout_in_seconds)
|
1444
1563
|
SENSITIVE = [:input]
|
1445
1564
|
include Aws::Structure
|
@@ -1469,13 +1588,20 @@ module Aws::States
|
|
1469
1588
|
# during an execution.
|
1470
1589
|
#
|
1471
1590
|
# @!attribute [rw] output
|
1472
|
-
# The JSON data output by the lambda function.
|
1591
|
+
# The JSON data output by the lambda function. Length constraints
|
1592
|
+
# apply to the payload size, and are expressed as bytes in UTF-8
|
1593
|
+
# encoding.
|
1473
1594
|
# @return [String]
|
1474
1595
|
#
|
1596
|
+
# @!attribute [rw] output_details
|
1597
|
+
# Contains details about the output of an execution history event.
|
1598
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
1599
|
+
#
|
1475
1600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails AWS API Documentation
|
1476
1601
|
#
|
1477
1602
|
class LambdaFunctionSucceededEventDetails < Struct.new(
|
1478
|
-
:output
|
1603
|
+
:output,
|
1604
|
+
:output_details)
|
1479
1605
|
SENSITIVE = [:output]
|
1480
1606
|
include Aws::Structure
|
1481
1607
|
end
|
@@ -1769,7 +1895,7 @@ module Aws::States
|
|
1769
1895
|
#
|
1770
1896
|
# @!attribute [rw] include_execution_data
|
1771
1897
|
# Determines whether execution data is included in your log. When set
|
1772
|
-
# to `
|
1898
|
+
# to `false`, data is excluded.
|
1773
1899
|
# @return [Boolean]
|
1774
1900
|
#
|
1775
1901
|
# @!attribute [rw] destinations
|
@@ -1945,7 +2071,8 @@ module Aws::States
|
|
1945
2071
|
# @return [String]
|
1946
2072
|
#
|
1947
2073
|
# @!attribute [rw] output
|
1948
|
-
# The JSON output of the task.
|
2074
|
+
# The JSON output of the task. Length constraints apply to the payload
|
2075
|
+
# size, and are expressed as bytes in UTF-8 encoding.
|
1949
2076
|
# @return [String]
|
1950
2077
|
#
|
1951
2078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput AWS API Documentation
|
@@ -1968,6 +2095,7 @@ module Aws::States
|
|
1968
2095
|
# state_machine_arn: "Arn", # required
|
1969
2096
|
# name: "Name",
|
1970
2097
|
# input: "SensitiveData",
|
2098
|
+
# trace_header: "TraceHeader",
|
1971
2099
|
# }
|
1972
2100
|
#
|
1973
2101
|
# @!attribute [rw] state_machine_arn
|
@@ -2010,6 +2138,14 @@ module Aws::States
|
|
2010
2138
|
# the two braces, for example: `"input": "\{\}"`
|
2011
2139
|
#
|
2012
2140
|
# </note>
|
2141
|
+
#
|
2142
|
+
# Length constraints apply to the payload size, and are expressed as
|
2143
|
+
# bytes in UTF-8 encoding.
|
2144
|
+
# @return [String]
|
2145
|
+
#
|
2146
|
+
# @!attribute [rw] trace_header
|
2147
|
+
# Passes the AWS X-Ray trace header. The trace header can also be
|
2148
|
+
# passed in the request payload.
|
2013
2149
|
# @return [String]
|
2014
2150
|
#
|
2015
2151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
|
@@ -2017,7 +2153,8 @@ module Aws::States
|
|
2017
2153
|
class StartExecutionInput < Struct.new(
|
2018
2154
|
:state_machine_arn,
|
2019
2155
|
:name,
|
2020
|
-
:input
|
2156
|
+
:input,
|
2157
|
+
:trace_header)
|
2021
2158
|
SENSITIVE = [:input]
|
2022
2159
|
include Aws::Structure
|
2023
2160
|
end
|
@@ -2046,14 +2183,21 @@ module Aws::States
|
|
2046
2183
|
# @return [String]
|
2047
2184
|
#
|
2048
2185
|
# @!attribute [rw] input
|
2049
|
-
# The string that contains the JSON input data for the state.
|
2186
|
+
# The string that contains the JSON input data for the state. Length
|
2187
|
+
# constraints apply to the payload size, and are expressed as bytes in
|
2188
|
+
# UTF-8 encoding.
|
2050
2189
|
# @return [String]
|
2051
2190
|
#
|
2191
|
+
# @!attribute [rw] input_details
|
2192
|
+
# Contains details about the input for an execution history event.
|
2193
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
2194
|
+
#
|
2052
2195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails AWS API Documentation
|
2053
2196
|
#
|
2054
2197
|
class StateEnteredEventDetails < Struct.new(
|
2055
2198
|
:name,
|
2056
|
-
:input
|
2199
|
+
:input,
|
2200
|
+
:input_details)
|
2057
2201
|
SENSITIVE = [:input]
|
2058
2202
|
include Aws::Structure
|
2059
2203
|
end
|
@@ -2080,14 +2224,20 @@ module Aws::States
|
|
2080
2224
|
# @return [String]
|
2081
2225
|
#
|
2082
2226
|
# @!attribute [rw] output
|
2083
|
-
# The JSON output data of the state.
|
2227
|
+
# The JSON output data of the state. Length constraints apply to the
|
2228
|
+
# payload size, and are expressed as bytes in UTF-8 encoding.
|
2084
2229
|
# @return [String]
|
2085
2230
|
#
|
2231
|
+
# @!attribute [rw] output_details
|
2232
|
+
# Contains details about the output of an execution history event.
|
2233
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
2234
|
+
#
|
2086
2235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails AWS API Documentation
|
2087
2236
|
#
|
2088
2237
|
class StateExitedEventDetails < Struct.new(
|
2089
2238
|
:name,
|
2090
|
-
:output
|
2239
|
+
:output,
|
2240
|
+
:output_details)
|
2091
2241
|
SENSITIVE = [:output]
|
2092
2242
|
include Aws::Structure
|
2093
2243
|
end
|
@@ -2377,12 +2527,18 @@ module Aws::States
|
|
2377
2527
|
#
|
2378
2528
|
# @!attribute [rw] parameters
|
2379
2529
|
# The JSON data passed to the resource referenced in a task state.
|
2530
|
+
# Length constraints apply to the payload size, and are expressed as
|
2531
|
+
# bytes in UTF-8 encoding.
|
2380
2532
|
# @return [String]
|
2381
2533
|
#
|
2382
2534
|
# @!attribute [rw] timeout_in_seconds
|
2383
2535
|
# The maximum allowed duration of the task.
|
2384
2536
|
# @return [Integer]
|
2385
2537
|
#
|
2538
|
+
# @!attribute [rw] heartbeat_in_seconds
|
2539
|
+
# The maximum allowed duration between two heartbeats for the task.
|
2540
|
+
# @return [Integer]
|
2541
|
+
#
|
2386
2542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
|
2387
2543
|
#
|
2388
2544
|
class TaskScheduledEventDetails < Struct.new(
|
@@ -2390,7 +2546,8 @@ module Aws::States
|
|
2390
2546
|
:resource,
|
2391
2547
|
:region,
|
2392
2548
|
:parameters,
|
2393
|
-
:timeout_in_seconds
|
2549
|
+
:timeout_in_seconds,
|
2550
|
+
:heartbeat_in_seconds)
|
2394
2551
|
SENSITIVE = [:parameters]
|
2395
2552
|
include Aws::Structure
|
2396
2553
|
end
|
@@ -2485,15 +2642,22 @@ module Aws::States
|
|
2485
2642
|
# @return [String]
|
2486
2643
|
#
|
2487
2644
|
# @!attribute [rw] output
|
2488
|
-
# The response from a resource when a task has started.
|
2645
|
+
# The response from a resource when a task has started. Length
|
2646
|
+
# constraints apply to the payload size, and are expressed as bytes in
|
2647
|
+
# UTF-8 encoding.
|
2489
2648
|
# @return [String]
|
2490
2649
|
#
|
2650
|
+
# @!attribute [rw] output_details
|
2651
|
+
# Contains details about the output of an execution history event.
|
2652
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
2653
|
+
#
|
2491
2654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails AWS API Documentation
|
2492
2655
|
#
|
2493
2656
|
class TaskSubmittedEventDetails < Struct.new(
|
2494
2657
|
:resource_type,
|
2495
2658
|
:resource,
|
2496
|
-
:output
|
2659
|
+
:output,
|
2660
|
+
:output_details)
|
2497
2661
|
SENSITIVE = [:output]
|
2498
2662
|
include Aws::Structure
|
2499
2663
|
end
|
@@ -2510,15 +2674,22 @@ module Aws::States
|
|
2510
2674
|
#
|
2511
2675
|
# @!attribute [rw] output
|
2512
2676
|
# The full JSON response from a resource when a task has succeeded.
|
2513
|
-
# This response becomes the output of the related task.
|
2677
|
+
# This response becomes the output of the related task. Length
|
2678
|
+
# constraints apply to the payload size, and are expressed as bytes in
|
2679
|
+
# UTF-8 encoding.
|
2514
2680
|
# @return [String]
|
2515
2681
|
#
|
2682
|
+
# @!attribute [rw] output_details
|
2683
|
+
# Contains details about the output of an execution history event.
|
2684
|
+
# @return [Types::HistoryEventExecutionDataDetails]
|
2685
|
+
#
|
2516
2686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSucceededEventDetails AWS API Documentation
|
2517
2687
|
#
|
2518
2688
|
class TaskSucceededEventDetails < Struct.new(
|
2519
2689
|
:resource_type,
|
2520
2690
|
:resource,
|
2521
|
-
:output
|
2691
|
+
:output,
|
2692
|
+
:output_details)
|
2522
2693
|
SENSITIVE = [:output]
|
2523
2694
|
include Aws::Structure
|
2524
2695
|
end
|
@@ -2586,6 +2757,28 @@ module Aws::States
|
|
2586
2757
|
include Aws::Structure
|
2587
2758
|
end
|
2588
2759
|
|
2760
|
+
# Selects whether or not the state machine's AWS X-Ray tracing is
|
2761
|
+
# enabled. Default is `false`
|
2762
|
+
#
|
2763
|
+
# @note When making an API call, you may pass TracingConfiguration
|
2764
|
+
# data as a hash:
|
2765
|
+
#
|
2766
|
+
# {
|
2767
|
+
# enabled: false,
|
2768
|
+
# }
|
2769
|
+
#
|
2770
|
+
# @!attribute [rw] enabled
|
2771
|
+
# When set to `true`, AWS X-Ray tracing is enabled.
|
2772
|
+
# @return [Boolean]
|
2773
|
+
#
|
2774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TracingConfiguration AWS API Documentation
|
2775
|
+
#
|
2776
|
+
class TracingConfiguration < Struct.new(
|
2777
|
+
:enabled)
|
2778
|
+
SENSITIVE = []
|
2779
|
+
include Aws::Structure
|
2780
|
+
end
|
2781
|
+
|
2589
2782
|
# @note When making an API call, you may pass UntagResourceInput
|
2590
2783
|
# data as a hash:
|
2591
2784
|
#
|
@@ -2634,6 +2827,9 @@ module Aws::States
|
|
2634
2827
|
# },
|
2635
2828
|
# ],
|
2636
2829
|
# },
|
2830
|
+
# tracing_configuration: {
|
2831
|
+
# enabled: false,
|
2832
|
+
# },
|
2637
2833
|
# }
|
2638
2834
|
#
|
2639
2835
|
# @!attribute [rw] state_machine_arn
|
@@ -2658,13 +2854,18 @@ module Aws::States
|
|
2658
2854
|
# options.
|
2659
2855
|
# @return [Types::LoggingConfiguration]
|
2660
2856
|
#
|
2857
|
+
# @!attribute [rw] tracing_configuration
|
2858
|
+
# Selects whether AWS X-Ray tracing is enabled.
|
2859
|
+
# @return [Types::TracingConfiguration]
|
2860
|
+
#
|
2661
2861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
|
2662
2862
|
#
|
2663
2863
|
class UpdateStateMachineInput < Struct.new(
|
2664
2864
|
:state_machine_arn,
|
2665
2865
|
:definition,
|
2666
2866
|
:role_arn,
|
2667
|
-
:logging_configuration
|
2867
|
+
:logging_configuration,
|
2868
|
+
:tracing_configuration)
|
2668
2869
|
SENSITIVE = [:definition]
|
2669
2870
|
include Aws::Structure
|
2670
2871
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-states
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|