aws-sdk-states 1.49.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d201771bc0e7a23a040c916cd278ac9366af29afebde619c28e32f437c5840a
4
- data.tar.gz: d964c23d28490381eb2157fb9ac88a5fad99b74666f4e27a5da6414070df5944
3
+ metadata.gz: f8a4391c3c1388779afc11712f7082efc08dee8d3c0ce3a3f7d971f849c56e6b
4
+ data.tar.gz: 41c13bf8db8a02f7d66b69e2095ea73588ddc0c920232f72eb62cd30673e38d7
5
5
  SHA512:
6
- metadata.gz: 326d59dfcd58969a8478002ae4cab401cb135af8e7075f11f682eda0ab4de9c9acb7e69d2b7965c183ec36d93e19745a24ee277e4db897e372a177a874ef4416
7
- data.tar.gz: 25abca8c2ac2018d50db16c78c2e8d499caaaf8f8d656882e0e17b55d8554995825c125a807734d5868b30efd74d56d1fc34d71582f02dc0b09d85da376459bc
6
+ metadata.gz: 2884d9201413a2723096e9fc42899297dac3dd623b10913bc38b90ca63ae1cc7b11049015a60e39902c98b5a6d59c8d9e8356d6f64cfce3cf4a789adcd4cd98c
7
+ data.tar.gz: e16841af64a6a0fe88b7fd6265ecf6e6015a3df6da8bdbfc769f9b7bb28c66880c4e0e4f6bd4a10ef279a41549e0a9c615e7c928899e28db095c9bbeace6bc99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-11-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for using Step Functions service integrations to invoke any cross-account AWS resource, even if that service doesn't support resource-based policies or cross-account calls. See https://docs.aws.amazon.com/step-functions/latest/dg/concepts-access-cross-acct-resources.html
8
+
4
9
  1.49.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -379,8 +379,8 @@ module Aws::States
379
379
  # @!group API Operations
380
380
 
381
381
  # Creates an activity. An activity is a task that you write in any
382
- # programming language and host on any machine that has access to AWS
383
- # Step Functions. Activities must poll Step Functions using the
382
+ # programming language and host on any machine that has access to Step
383
+ # Functions. Activities must poll Step Functions using the
384
384
  # `GetActivityTask` API action and respond using `SendTask*` API
385
385
  # actions. This function lets Step Functions know the existence of your
386
386
  # activity and returns an identifier for use in a state machine and when
@@ -403,9 +403,9 @@ module Aws::States
403
403
  #
404
404
  # @option params [required, String] :name
405
405
  # The name of the activity to create. This name must be unique for your
406
- # AWS account and region for 90 days. For more information, see [ Limits
407
- # Related to State Machine Executions][1] in the *AWS Step Functions
408
- # Developer Guide*.
406
+ # Amazon Web Services account and region for 90 days. For more
407
+ # information, see [ Limits Related to State Machine Executions][1] in
408
+ # the *Step Functions Developer Guide*.
409
409
  #
410
410
  # A name must *not* contain:
411
411
  #
@@ -430,8 +430,8 @@ module Aws::States
430
430
  # The list of tags to add to a resource.
431
431
  #
432
432
  # An array of key-value pairs. For more information, see [Using Cost
433
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
434
- # Guide*, and [Controlling Access Using IAM Tags][2].
433
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
434
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
435
435
  #
436
436
  # Tags may only contain Unicode letters, digits, white space, or these
437
437
  # symbols: `_ . : / = + - @`.
@@ -477,7 +477,7 @@ module Aws::States
477
477
  # transition next (`Choice` states), stop an execution with an error
478
478
  # (`Fail` states), and so on. State machines are specified using a
479
479
  # JSON-based, structured language. For more information, see [Amazon
480
- # States Language][1] in the AWS Step Functions User Guide.
480
+ # States Language][1] in the Step Functions User Guide.
481
481
  #
482
482
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
483
483
  # and may not reflect very recent updates and changes.
@@ -539,7 +539,7 @@ module Aws::States
539
539
  # logged.
540
540
  #
541
541
  # <note markdown="1"> By default, the `level` is set to `OFF`. For more information see [Log
542
- # Levels][1] in the AWS Step Functions User Guide.
542
+ # Levels][1] in the Step Functions User Guide.
543
543
  #
544
544
  # </note>
545
545
  #
@@ -551,8 +551,8 @@ module Aws::States
551
551
  # Tags to be added when creating a state machine.
552
552
  #
553
553
  # An array of key-value pairs. For more information, see [Using Cost
554
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
555
- # Guide*, and [Controlling Access Using IAM Tags][2].
554
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
555
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
556
556
  #
557
557
  # Tags may only contain Unicode letters, digits, white space, or these
558
558
  # symbols: `_ . : / = + - @`.
@@ -563,7 +563,7 @@ module Aws::States
563
563
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
564
564
  #
565
565
  # @option params [Types::TracingConfiguration] :tracing_configuration
566
- # Selects whether AWS X-Ray tracing is enabled.
566
+ # Selects whether X-Ray tracing is enabled.
567
567
  #
568
568
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
569
569
  #
@@ -639,7 +639,7 @@ module Aws::States
639
639
  # the state machine's status to `DELETING` and begins the deletion
640
640
  # process.
641
641
  #
642
- # <note markdown="1"> For `EXPRESS`state machines, the deletion will happen eventually
642
+ # <note markdown="1"> For `EXPRESS` state machines, the deletion will happen eventually
643
643
  # (usually less than a minute). Running executions may emit logs after
644
644
  # `DeleteStateMachine` API is called.
645
645
  #
@@ -869,6 +869,10 @@ module Aws::States
869
869
  # task is available within 60 seconds, the poll returns a `taskToken`
870
870
  # with a null string.
871
871
  #
872
+ # <note markdown="1"> This API action isn't logged in CloudTrail.
873
+ #
874
+ # </note>
875
+ #
872
876
  # Workers should set their client side socket timeout to at least 65
873
877
  # seconds (5 seconds higher than the maximum time the service may hold
874
878
  # the poll request).
@@ -1004,6 +1008,7 @@ module Aws::States
1004
1008
  # resp.events[0].task_scheduled_event_details.parameters #=> String
1005
1009
  # resp.events[0].task_scheduled_event_details.timeout_in_seconds #=> Integer
1006
1010
  # resp.events[0].task_scheduled_event_details.heartbeat_in_seconds #=> Integer
1011
+ # resp.events[0].task_scheduled_event_details.task_credentials.role_arn #=> String
1007
1012
  # resp.events[0].task_start_failed_event_details.resource_type #=> String
1008
1013
  # resp.events[0].task_start_failed_event_details.resource #=> String
1009
1014
  # resp.events[0].task_start_failed_event_details.error #=> String
@@ -1054,6 +1059,7 @@ module Aws::States
1054
1059
  # resp.events[0].lambda_function_scheduled_event_details.input #=> String
1055
1060
  # resp.events[0].lambda_function_scheduled_event_details.input_details.truncated #=> Boolean
1056
1061
  # resp.events[0].lambda_function_scheduled_event_details.timeout_in_seconds #=> Integer
1062
+ # resp.events[0].lambda_function_scheduled_event_details.task_credentials.role_arn #=> String
1057
1063
  # resp.events[0].lambda_function_start_failed_event_details.error #=> String
1058
1064
  # resp.events[0].lambda_function_start_failed_event_details.cause #=> String
1059
1065
  # resp.events[0].lambda_function_succeeded_event_details.output #=> String
@@ -1446,11 +1452,14 @@ module Aws::States
1446
1452
 
1447
1453
  # Starts a state machine execution.
1448
1454
  #
1449
- # <note markdown="1"> `StartExecution` is idempotent. If `StartExecution` is called with the
1450
- # same name and input as a running execution, the call will succeed and
1451
- # return the same response as the original request. If the execution is
1452
- # closed or if the input is different, it will return a 400
1453
- # `ExecutionAlreadyExists` error. Names can be reused after 90 days.
1455
+ # <note markdown="1"> `StartExecution` is idempotent for `STANDARD` workflows. For a
1456
+ # `STANDARD` workflow, if `StartExecution` is called with the same name
1457
+ # and input as a running execution, the call will succeed and return the
1458
+ # same response as the original request. If the execution is closed or
1459
+ # if the input is different, it will return a `400
1460
+ # ExecutionAlreadyExists` error. Names can be reused after 90 days.
1461
+ #
1462
+ # `StartExecution` is not idempotent for `EXPRESS` workflows.
1454
1463
  #
1455
1464
  # </note>
1456
1465
  #
@@ -1458,10 +1467,10 @@ module Aws::States
1458
1467
  # The Amazon Resource Name (ARN) of the state machine to execute.
1459
1468
  #
1460
1469
  # @option params [String] :name
1461
- # The name of the execution. This name must be unique for your AWS
1462
- # account, region, and state machine for 90 days. For more information,
1463
- # see [ Limits Related to State Machine Executions][1] in the *AWS Step
1464
- # Functions Developer Guide*.
1470
+ # The name of the execution. This name must be unique for your Amazon
1471
+ # Web Services account, region, and state machine for 90 days. For more
1472
+ # information, see [ Limits Related to State Machine Executions][1] in
1473
+ # the *Step Functions Developer Guide*.
1465
1474
  #
1466
1475
  # A name must *not* contain:
1467
1476
  #
@@ -1497,8 +1506,8 @@ module Aws::States
1497
1506
  # bytes in UTF-8 encoding.
1498
1507
  #
1499
1508
  # @option params [String] :trace_header
1500
- # Passes the AWS X-Ray trace header. The trace header can also be passed
1501
- # in the request payload.
1509
+ # Passes the X-Ray trace header. The trace header can also be passed in
1510
+ # the request payload.
1502
1511
  #
1503
1512
  # @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1504
1513
  #
@@ -1529,6 +1538,19 @@ module Aws::States
1529
1538
  end
1530
1539
 
1531
1540
  # Starts a Synchronous Express state machine execution.
1541
+ # `StartSyncExecution` is not available for `STANDARD` workflows.
1542
+ #
1543
+ # <note markdown="1"> `StartSyncExecution` will return a `200 OK` response, even if your
1544
+ # execution fails, because the status code in the API response doesn't
1545
+ # reflect function errors. Error codes are reserved for errors that
1546
+ # prevent your execution from running, such as permissions errors, limit
1547
+ # errors, or issues with your state machine code and configuration.
1548
+ #
1549
+ # </note>
1550
+ #
1551
+ # <note markdown="1"> This API action isn't logged in CloudTrail.
1552
+ #
1553
+ # </note>
1532
1554
  #
1533
1555
  # @option params [required, String] :state_machine_arn
1534
1556
  # The Amazon Resource Name (ARN) of the state machine to execute.
@@ -1551,8 +1573,8 @@ module Aws::States
1551
1573
  # bytes in UTF-8 encoding.
1552
1574
  #
1553
1575
  # @option params [String] :trace_header
1554
- # Passes the AWS X-Ray trace header. The trace header can also be passed
1555
- # in the request payload.
1576
+ # Passes the X-Ray trace header. The trace header can also be passed in
1577
+ # the request payload.
1556
1578
  #
1557
1579
  # @return [Types::StartSyncExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1558
1580
  #
@@ -1648,8 +1670,8 @@ module Aws::States
1648
1670
  # Add a tag to a Step Functions resource.
1649
1671
  #
1650
1672
  # An array of key-value pairs. For more information, see [Using Cost
1651
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
1652
- # Guide*, and [Controlling Access Using IAM Tags][2].
1673
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
1674
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
1653
1675
  #
1654
1676
  # Tags may only contain Unicode letters, digits, white space, or these
1655
1677
  # symbols: `_ . : / = + - @`.
@@ -1751,7 +1773,7 @@ module Aws::States
1751
1773
  # options.
1752
1774
  #
1753
1775
  # @option params [Types::TracingConfiguration] :tracing_configuration
1754
- # Selects whether AWS X-Ray tracing is enabled.
1776
+ # Selects whether X-Ray tracing is enabled.
1755
1777
  #
1756
1778
  # @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1757
1779
  #
@@ -1805,7 +1827,7 @@ module Aws::States
1805
1827
  params: params,
1806
1828
  config: config)
1807
1829
  context[:gem_name] = 'aws-sdk-states'
1808
- context[:gem_version] = '1.49.0'
1830
+ context[:gem_version] = '1.50.0'
1809
1831
  Seahorse::Client::Request.new(handlers, context)
1810
1832
  end
1811
1833
 
@@ -100,6 +100,7 @@ module Aws::States
100
100
  LogDestinationList = Shapes::ListShape.new(name: 'LogDestinationList')
101
101
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
102
102
  LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
103
+ LongArn = Shapes::StringShape.new(name: 'LongArn')
103
104
  MapIterationEventDetails = Shapes::StructureShape.new(name: 'MapIterationEventDetails')
104
105
  MapStateStartedEventDetails = Shapes::StructureShape.new(name: 'MapStateStartedEventDetails')
105
106
  MissingRequiredParameter = Shapes::StructureShape.new(name: 'MissingRequiredParameter')
@@ -143,6 +144,7 @@ module Aws::States
143
144
  TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
144
145
  TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
145
146
  TagValue = Shapes::StringShape.new(name: 'TagValue')
147
+ TaskCredentials = Shapes::StructureShape.new(name: 'TaskCredentials')
146
148
  TaskDoesNotExist = Shapes::StructureShape.new(name: 'TaskDoesNotExist')
147
149
  TaskFailedEventDetails = Shapes::StructureShape.new(name: 'TaskFailedEventDetails')
148
150
  TaskScheduledEventDetails = Shapes::StructureShape.new(name: 'TaskScheduledEventDetails')
@@ -438,6 +440,7 @@ module Aws::States
438
440
  LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
439
441
  LambdaFunctionScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
440
442
  LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
443
+ LambdaFunctionScheduledEventDetails.add_member(:task_credentials, Shapes::ShapeRef.new(shape: TaskCredentials, location_name: "taskCredentials"))
441
444
  LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
442
445
 
443
446
  LambdaFunctionStartFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -613,6 +616,9 @@ module Aws::States
613
616
 
614
617
  TagResourceOutput.struct_class = Types::TagResourceOutput
615
618
 
619
+ TaskCredentials.add_member(:role_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "roleArn"))
620
+ TaskCredentials.struct_class = Types::TaskCredentials
621
+
616
622
  TaskDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
617
623
  TaskDoesNotExist.struct_class = Types::TaskDoesNotExist
618
624
 
@@ -628,6 +634,7 @@ module Aws::States
628
634
  TaskScheduledEventDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: ConnectorParameters, required: true, location_name: "parameters"))
629
635
  TaskScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
630
636
  TaskScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
637
+ TaskScheduledEventDetails.add_member(:task_credentials, Shapes::ShapeRef.new(shape: TaskCredentials, location_name: "taskCredentials"))
631
638
  TaskScheduledEventDetails.struct_class = Types::TaskScheduledEventDetails
632
639
 
633
640
  TaskStartFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
@@ -290,9 +290,9 @@ module Aws::States
290
290
  #
291
291
  # @!attribute [rw] name
292
292
  # The name of the activity to create. This name must be unique for
293
- # your AWS account and region for 90 days. For more information, see [
294
- # Limits Related to State Machine Executions][1] in the *AWS Step
295
- # Functions Developer Guide*.
293
+ # your Amazon Web Services account and region for 90 days. For more
294
+ # information, see [ Limits Related to State Machine Executions][1] in
295
+ # the *Step Functions Developer Guide*.
296
296
  #
297
297
  # A name must *not* contain:
298
298
  #
@@ -318,8 +318,8 @@ module Aws::States
318
318
  # The list of tags to add to a resource.
319
319
  #
320
320
  # An array of key-value pairs. For more information, see [Using Cost
321
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
322
- # Guide*, and [Controlling Access Using IAM Tags][2].
321
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
322
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
323
323
  #
324
324
  # Tags may only contain Unicode letters, digits, white space, or these
325
325
  # symbols: `_ . : / = + - @`.
@@ -430,7 +430,7 @@ module Aws::States
430
430
  # logged.
431
431
  #
432
432
  # <note markdown="1"> By default, the `level` is set to `OFF`. For more information see
433
- # [Log Levels][1] in the AWS Step Functions User Guide.
433
+ # [Log Levels][1] in the Step Functions User Guide.
434
434
  #
435
435
  # </note>
436
436
  #
@@ -443,8 +443,8 @@ module Aws::States
443
443
  # Tags to be added when creating a state machine.
444
444
  #
445
445
  # An array of key-value pairs. For more information, see [Using Cost
446
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
447
- # Guide*, and [Controlling Access Using IAM Tags][2].
446
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
447
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
448
448
  #
449
449
  # Tags may only contain Unicode letters, digits, white space, or these
450
450
  # symbols: `_ . : / = + - @`.
@@ -456,7 +456,7 @@ module Aws::States
456
456
  # @return [Array<Types::Tag>]
457
457
  #
458
458
  # @!attribute [rw] tracing_configuration
459
- # Selects whether AWS X-Ray tracing is enabled.
459
+ # Selects whether X-Ray tracing is enabled.
460
460
  # @return [Types::TracingConfiguration]
461
461
  #
462
462
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
@@ -676,7 +676,7 @@ module Aws::States
676
676
  # @return [Types::CloudWatchEventsExecutionDataDetails]
677
677
  #
678
678
  # @!attribute [rw] trace_header
679
- # The AWS X-Ray trace header that was passed to the execution.
679
+ # The X-Ray trace header that was passed to the execution.
680
680
  # @return [String]
681
681
  #
682
682
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
@@ -752,7 +752,7 @@ module Aws::States
752
752
  # @return [Types::LoggingConfiguration]
753
753
  #
754
754
  # @!attribute [rw] tracing_configuration
755
- # Selects whether AWS X-Ray tracing is enabled.
755
+ # Selects whether X-Ray tracing is enabled.
756
756
  # @return [Types::TracingConfiguration]
757
757
  #
758
758
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
@@ -827,7 +827,7 @@ module Aws::States
827
827
  # @!attribute [rw] role_arn
828
828
  # The Amazon Resource Name (ARN) of the IAM role used when creating
829
829
  # this state machine. (The IAM role maintains security by granting
830
- # Step Functions access to AWS resources.)
830
+ # Step Functions access to Amazon Web Services resources.)
831
831
  # @return [String]
832
832
  #
833
833
  # @!attribute [rw] type
@@ -844,7 +844,7 @@ module Aws::States
844
844
  # @return [Types::LoggingConfiguration]
845
845
  #
846
846
  # @!attribute [rw] tracing_configuration
847
- # Selects whether AWS X-Ray tracing is enabled.
847
+ # Selects whether X-Ray tracing is enabled.
848
848
  # @return [Types::TracingConfiguration]
849
849
  #
850
850
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
@@ -1014,7 +1014,7 @@ module Aws::States
1014
1014
  #
1015
1015
  # @!attribute [rw] role_arn
1016
1016
  # The Amazon Resource Name (ARN) of the IAM role used for executing
1017
- # AWS Lambda tasks.
1017
+ # Lambda tasks.
1018
1018
  # @return [String]
1019
1019
  #
1020
1020
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails AWS API Documentation
@@ -1314,17 +1314,17 @@ module Aws::States
1314
1314
  # @return [Types::MapIterationEventDetails]
1315
1315
  #
1316
1316
  # @!attribute [rw] lambda_function_failed_event_details
1317
- # Contains details about a lambda function that failed during an
1317
+ # Contains details about a Lambda function that failed during an
1318
1318
  # execution.
1319
1319
  # @return [Types::LambdaFunctionFailedEventDetails]
1320
1320
  #
1321
1321
  # @!attribute [rw] lambda_function_schedule_failed_event_details
1322
- # Contains details about a failed lambda function schedule event that
1322
+ # Contains details about a failed Lambda function schedule event that
1323
1323
  # occurred during an execution.
1324
1324
  # @return [Types::LambdaFunctionScheduleFailedEventDetails]
1325
1325
  #
1326
1326
  # @!attribute [rw] lambda_function_scheduled_event_details
1327
- # Contains details about a lambda function scheduled during an
1327
+ # Contains details about a Lambda function scheduled during an
1328
1328
  # execution.
1329
1329
  # @return [Types::LambdaFunctionScheduledEventDetails]
1330
1330
  #
@@ -1334,12 +1334,12 @@ module Aws::States
1334
1334
  # @return [Types::LambdaFunctionStartFailedEventDetails]
1335
1335
  #
1336
1336
  # @!attribute [rw] lambda_function_succeeded_event_details
1337
- # Contains details about a lambda function that terminated
1337
+ # Contains details about a Lambda function that terminated
1338
1338
  # successfully during an execution.
1339
1339
  # @return [Types::LambdaFunctionSucceededEventDetails]
1340
1340
  #
1341
1341
  # @!attribute [rw] lambda_function_timed_out_event_details
1342
- # Contains details about a lambda function timeout that occurred
1342
+ # Contains details about a Lambda function timeout that occurred
1343
1343
  # during an execution.
1344
1344
  # @return [Types::LambdaFunctionTimedOutEventDetails]
1345
1345
  #
@@ -1512,7 +1512,7 @@ module Aws::States
1512
1512
  include Aws::Structure
1513
1513
  end
1514
1514
 
1515
- # Contains details about a lambda function that failed during an
1515
+ # Contains details about a Lambda function that failed during an
1516
1516
  # execution.
1517
1517
  #
1518
1518
  # @!attribute [rw] error
@@ -1532,7 +1532,7 @@ module Aws::States
1532
1532
  include Aws::Structure
1533
1533
  end
1534
1534
 
1535
- # Contains details about a failed lambda function schedule event that
1535
+ # Contains details about a failed Lambda function schedule event that
1536
1536
  # occurred during an execution.
1537
1537
  #
1538
1538
  # @!attribute [rw] error
@@ -1552,15 +1552,15 @@ module Aws::States
1552
1552
  include Aws::Structure
1553
1553
  end
1554
1554
 
1555
- # Contains details about a lambda function scheduled during an
1555
+ # Contains details about a Lambda function scheduled during an
1556
1556
  # execution.
1557
1557
  #
1558
1558
  # @!attribute [rw] resource
1559
- # The Amazon Resource Name (ARN) of the scheduled lambda function.
1559
+ # The Amazon Resource Name (ARN) of the scheduled Lambda function.
1560
1560
  # @return [String]
1561
1561
  #
1562
1562
  # @!attribute [rw] input
1563
- # The JSON data input to the lambda function. Length constraints apply
1563
+ # The JSON data input to the Lambda function. Length constraints apply
1564
1564
  # to the payload size, and are expressed as bytes in UTF-8 encoding.
1565
1565
  # @return [String]
1566
1566
  #
@@ -1569,16 +1569,21 @@ module Aws::States
1569
1569
  # @return [Types::HistoryEventExecutionDataDetails]
1570
1570
  #
1571
1571
  # @!attribute [rw] timeout_in_seconds
1572
- # The maximum allowed duration of the lambda function.
1572
+ # The maximum allowed duration of the Lambda function.
1573
1573
  # @return [Integer]
1574
1574
  #
1575
+ # @!attribute [rw] task_credentials
1576
+ # The credentials that Step Functions uses for the task.
1577
+ # @return [Types::TaskCredentials]
1578
+ #
1575
1579
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails AWS API Documentation
1576
1580
  #
1577
1581
  class LambdaFunctionScheduledEventDetails < Struct.new(
1578
1582
  :resource,
1579
1583
  :input,
1580
1584
  :input_details,
1581
- :timeout_in_seconds)
1585
+ :timeout_in_seconds,
1586
+ :task_credentials)
1582
1587
  SENSITIVE = [:input]
1583
1588
  include Aws::Structure
1584
1589
  end
@@ -1603,11 +1608,11 @@ module Aws::States
1603
1608
  include Aws::Structure
1604
1609
  end
1605
1610
 
1606
- # Contains details about a lambda function that successfully terminated
1611
+ # Contains details about a Lambda function that successfully terminated
1607
1612
  # during an execution.
1608
1613
  #
1609
1614
  # @!attribute [rw] output
1610
- # The JSON data output by the lambda function. Length constraints
1615
+ # The JSON data output by the Lambda function. Length constraints
1611
1616
  # apply to the payload size, and are expressed as bytes in UTF-8
1612
1617
  # encoding.
1613
1618
  # @return [String]
@@ -1625,7 +1630,7 @@ module Aws::States
1625
1630
  include Aws::Structure
1626
1631
  end
1627
1632
 
1628
- # Contains details about a lambda function timeout that occurred during
1633
+ # Contains details about a Lambda function timeout that occurred during
1629
1634
  # an execution.
1630
1635
  #
1631
1636
  # @!attribute [rw] error
@@ -1875,7 +1880,7 @@ module Aws::States
1875
1880
  #
1876
1881
  # @!attribute [rw] cloud_watch_logs_log_group
1877
1882
  # An object describing a CloudWatch log group. For more information,
1878
- # see [AWS::Logs::LogGroup][1] in the AWS CloudFormation User Guide.
1883
+ # see [AWS::Logs::LogGroup][1] in the CloudFormation User Guide.
1879
1884
  #
1880
1885
  #
1881
1886
  #
@@ -2122,10 +2127,10 @@ module Aws::States
2122
2127
  # @return [String]
2123
2128
  #
2124
2129
  # @!attribute [rw] name
2125
- # The name of the execution. This name must be unique for your AWS
2126
- # account, region, and state machine for 90 days. For more
2127
- # information, see [ Limits Related to State Machine Executions][1] in
2128
- # the *AWS Step Functions Developer Guide*.
2130
+ # The name of the execution. This name must be unique for your Amazon
2131
+ # Web Services account, region, and state machine for 90 days. For
2132
+ # more information, see [ Limits Related to State Machine
2133
+ # Executions][1] in the *Step Functions Developer Guide*.
2129
2134
  #
2130
2135
  # A name must *not* contain:
2131
2136
  #
@@ -2163,8 +2168,8 @@ module Aws::States
2163
2168
  # @return [String]
2164
2169
  #
2165
2170
  # @!attribute [rw] trace_header
2166
- # Passes the AWS X-Ray trace header. The trace header can also be
2167
- # passed in the request payload.
2171
+ # Passes the X-Ray trace header. The trace header can also be passed
2172
+ # in the request payload.
2168
2173
  # @return [String]
2169
2174
  #
2170
2175
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
@@ -2229,8 +2234,8 @@ module Aws::States
2229
2234
  # @return [String]
2230
2235
  #
2231
2236
  # @!attribute [rw] trace_header
2232
- # Passes the AWS X-Ray trace header. The trace header can also be
2233
- # passed in the request payload.
2237
+ # Passes the X-Ray trace header. The trace header can also be passed
2238
+ # in the request payload.
2234
2239
  # @return [String]
2235
2240
  #
2236
2241
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecutionInput AWS API Documentation
@@ -2301,7 +2306,7 @@ module Aws::States
2301
2306
  # @return [Types::CloudWatchEventsExecutionDataDetails]
2302
2307
  #
2303
2308
  # @!attribute [rw] trace_header
2304
- # The AWS X-Ray trace header that was passed to the execution.
2309
+ # The X-Ray trace header that was passed to the execution.
2305
2310
  # @return [String]
2306
2311
  #
2307
2312
  # @!attribute [rw] billing_details
@@ -2551,8 +2556,8 @@ module Aws::States
2551
2556
  # state machines and activities.
2552
2557
  #
2553
2558
  # An array of key-value pairs. For more information, see [Using Cost
2554
- # Allocation Tags][1] in the *AWS Billing and Cost Management User
2555
- # Guide*, and [Controlling Access Using IAM Tags][2].
2559
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
2560
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
2556
2561
  #
2557
2562
  # Tags may only contain Unicode letters, digits, white space, or these
2558
2563
  # symbols: `_ . : / = + - @`.
@@ -2625,6 +2630,22 @@ module Aws::States
2625
2630
  #
2626
2631
  class TagResourceOutput < Aws::EmptyStructure; end
2627
2632
 
2633
+ # Contains details about the credentials that Step Functions uses for a
2634
+ # task.
2635
+ #
2636
+ # @!attribute [rw] role_arn
2637
+ # The ARN of an IAM role that Step Functions assumes for the task. The
2638
+ # role can allow cross-account access to resources.
2639
+ # @return [String]
2640
+ #
2641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskCredentials AWS API Documentation
2642
+ #
2643
+ class TaskCredentials < Struct.new(
2644
+ :role_arn)
2645
+ SENSITIVE = []
2646
+ include Aws::Structure
2647
+ end
2648
+
2628
2649
  # @!attribute [rw] message
2629
2650
  # @return [String]
2630
2651
  #
@@ -2639,11 +2660,11 @@ module Aws::States
2639
2660
  # Contains details about a task failure event.
2640
2661
  #
2641
2662
  # @!attribute [rw] resource_type
2642
- # The action of the resource called by a task state.
2663
+ # The service name of the resource in a task state.
2643
2664
  # @return [String]
2644
2665
  #
2645
2666
  # @!attribute [rw] resource
2646
- # The service name of the resource in a task state.
2667
+ # The action of the resource called by a task state.
2647
2668
  # @return [String]
2648
2669
  #
2649
2670
  # @!attribute [rw] error
@@ -2668,11 +2689,11 @@ module Aws::States
2668
2689
  # Contains details about a task scheduled during an execution.
2669
2690
  #
2670
2691
  # @!attribute [rw] resource_type
2671
- # The action of the resource called by a task state.
2692
+ # The service name of the resource in a task state.
2672
2693
  # @return [String]
2673
2694
  #
2674
2695
  # @!attribute [rw] resource
2675
- # The service name of the resource in a task state.
2696
+ # The action of the resource called by a task state.
2676
2697
  # @return [String]
2677
2698
  #
2678
2699
  # @!attribute [rw] region
@@ -2693,6 +2714,10 @@ module Aws::States
2693
2714
  # The maximum allowed duration between two heartbeats for the task.
2694
2715
  # @return [Integer]
2695
2716
  #
2717
+ # @!attribute [rw] task_credentials
2718
+ # The credentials that Step Functions uses for the task.
2719
+ # @return [Types::TaskCredentials]
2720
+ #
2696
2721
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
2697
2722
  #
2698
2723
  class TaskScheduledEventDetails < Struct.new(
@@ -2701,7 +2726,8 @@ module Aws::States
2701
2726
  :region,
2702
2727
  :parameters,
2703
2728
  :timeout_in_seconds,
2704
- :heartbeat_in_seconds)
2729
+ :heartbeat_in_seconds,
2730
+ :task_credentials)
2705
2731
  SENSITIVE = [:parameters]
2706
2732
  include Aws::Structure
2707
2733
  end
@@ -2710,11 +2736,11 @@ module Aws::States
2710
2736
  # execution.
2711
2737
  #
2712
2738
  # @!attribute [rw] resource_type
2713
- # The action of the resource called by a task state.
2739
+ # The service name of the resource in a task state.
2714
2740
  # @return [String]
2715
2741
  #
2716
2742
  # @!attribute [rw] resource
2717
- # The service name of the resource in a task state.
2743
+ # The action of the resource called by a task state.
2718
2744
  # @return [String]
2719
2745
  #
2720
2746
  # @!attribute [rw] error
@@ -2739,11 +2765,11 @@ module Aws::States
2739
2765
  # Contains details about the start of a task during an execution.
2740
2766
  #
2741
2767
  # @!attribute [rw] resource_type
2742
- # The action of the resource called by a task state.
2768
+ # The service name of the resource in a task state.
2743
2769
  # @return [String]
2744
2770
  #
2745
2771
  # @!attribute [rw] resource
2746
- # The service name of the resource in a task state.
2772
+ # The action of the resource called by a task state.
2747
2773
  # @return [String]
2748
2774
  #
2749
2775
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskStartedEventDetails AWS API Documentation
@@ -2759,11 +2785,11 @@ module Aws::States
2759
2785
  # execution.
2760
2786
  #
2761
2787
  # @!attribute [rw] resource_type
2762
- # The action of the resource called by a task state.
2788
+ # The service name of the resource in a task state.
2763
2789
  # @return [String]
2764
2790
  #
2765
2791
  # @!attribute [rw] resource
2766
- # The service name of the resource in a task state.
2792
+ # The action of the resource called by a task state.
2767
2793
  # @return [String]
2768
2794
  #
2769
2795
  # @!attribute [rw] error
@@ -2788,11 +2814,11 @@ module Aws::States
2788
2814
  # Contains details about a task submitted to a resource .
2789
2815
  #
2790
2816
  # @!attribute [rw] resource_type
2791
- # The action of the resource called by a task state.
2817
+ # The service name of the resource in a task state.
2792
2818
  # @return [String]
2793
2819
  #
2794
2820
  # @!attribute [rw] resource
2795
- # The service name of the resource in a task state.
2821
+ # The action of the resource called by a task state.
2796
2822
  # @return [String]
2797
2823
  #
2798
2824
  # @!attribute [rw] output
@@ -2819,11 +2845,11 @@ module Aws::States
2819
2845
  # Contains details about the successful completion of a task state.
2820
2846
  #
2821
2847
  # @!attribute [rw] resource_type
2822
- # The action of the resource called by a task state.
2848
+ # The service name of the resource in a task state.
2823
2849
  # @return [String]
2824
2850
  #
2825
2851
  # @!attribute [rw] resource
2826
- # The service name of the resource in a task state.
2852
+ # The action of the resource called by a task state.
2827
2853
  # @return [String]
2828
2854
  #
2829
2855
  # @!attribute [rw] output
@@ -2863,11 +2889,11 @@ module Aws::States
2863
2889
  # execution.
2864
2890
  #
2865
2891
  # @!attribute [rw] resource_type
2866
- # The action of the resource called by a task state.
2892
+ # The service name of the resource in a task state.
2867
2893
  # @return [String]
2868
2894
  #
2869
2895
  # @!attribute [rw] resource
2870
- # The service name of the resource in a task state.
2896
+ # The action of the resource called by a task state.
2871
2897
  # @return [String]
2872
2898
  #
2873
2899
  # @!attribute [rw] error
@@ -2890,7 +2916,7 @@ module Aws::States
2890
2916
  end
2891
2917
 
2892
2918
  # You've exceeded the number of tags allowed for a resource. See the [
2893
- # Limits Topic][1] in the AWS Step Functions Developer Guide.
2919
+ # Limits Topic][1] in the Step Functions Developer Guide.
2894
2920
  #
2895
2921
  #
2896
2922
  #
@@ -2911,8 +2937,8 @@ module Aws::States
2911
2937
  include Aws::Structure
2912
2938
  end
2913
2939
 
2914
- # Selects whether or not the state machine's AWS X-Ray tracing is
2915
- # enabled. Default is `false`
2940
+ # Selects whether or not the state machine's X-Ray tracing is enabled.
2941
+ # Default is `false`
2916
2942
  #
2917
2943
  # @note When making an API call, you may pass TracingConfiguration
2918
2944
  # data as a hash:
@@ -2922,7 +2948,7 @@ module Aws::States
2922
2948
  # }
2923
2949
  #
2924
2950
  # @!attribute [rw] enabled
2925
- # When set to `true`, AWS X-Ray tracing is enabled.
2951
+ # When set to `true`, X-Ray tracing is enabled.
2926
2952
  # @return [Boolean]
2927
2953
  #
2928
2954
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TracingConfiguration AWS API Documentation
@@ -3009,7 +3035,7 @@ module Aws::States
3009
3035
  # @return [Types::LoggingConfiguration]
3010
3036
  #
3011
3037
  # @!attribute [rw] tracing_configuration
3012
- # Selects whether AWS X-Ray tracing is enabled.
3038
+ # Selects whether X-Ray tracing is enabled.
3013
3039
  # @return [Types::TracingConfiguration]
3014
3040
  #
3015
3041
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-states/customizations'
52
52
  # @!group service
53
53
  module Aws::States
54
54
 
55
- GEM_VERSION = '1.49.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  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.49.0
4
+ version: 1.50.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core