aws-sdk-states 1.49.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -255,13 +255,6 @@ module Aws::States
255
255
  include Aws::Structure
256
256
  end
257
257
 
258
- # @note When making an API call, you may pass CloudWatchLogsLogGroup
259
- # data as a hash:
260
- #
261
- # {
262
- # log_group_arn: "Arn",
263
- # }
264
- #
265
258
  # @!attribute [rw] log_group_arn
266
259
  # The ARN of the the CloudWatch log group to which you want your logs
267
260
  # emitted to. The ARN must end with `:*`
@@ -275,24 +268,11 @@ module Aws::States
275
268
  include Aws::Structure
276
269
  end
277
270
 
278
- # @note When making an API call, you may pass CreateActivityInput
279
- # data as a hash:
280
- #
281
- # {
282
- # name: "Name", # required
283
- # tags: [
284
- # {
285
- # key: "TagKey",
286
- # value: "TagValue",
287
- # },
288
- # ],
289
- # }
290
- #
291
271
  # @!attribute [rw] name
292
272
  # 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*.
273
+ # your Amazon Web Services account and region for 90 days. For more
274
+ # information, see [ Limits Related to State Machine Executions][1] in
275
+ # the *Step Functions Developer Guide*.
296
276
  #
297
277
  # A name must *not* contain:
298
278
  #
@@ -318,8 +298,8 @@ module Aws::States
318
298
  # The list of tags to add to a resource.
319
299
  #
320
300
  # 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].
301
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
302
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
323
303
  #
324
304
  # Tags may only contain Unicode letters, digits, white space, or these
325
305
  # symbols: `_ . : / = + - @`.
@@ -356,36 +336,6 @@ module Aws::States
356
336
  include Aws::Structure
357
337
  end
358
338
 
359
- # @note When making an API call, you may pass CreateStateMachineInput
360
- # data as a hash:
361
- #
362
- # {
363
- # name: "Name", # required
364
- # definition: "Definition", # required
365
- # role_arn: "Arn", # required
366
- # type: "STANDARD", # accepts STANDARD, EXPRESS
367
- # logging_configuration: {
368
- # level: "ALL", # accepts ALL, ERROR, FATAL, OFF
369
- # include_execution_data: false,
370
- # destinations: [
371
- # {
372
- # cloud_watch_logs_log_group: {
373
- # log_group_arn: "Arn",
374
- # },
375
- # },
376
- # ],
377
- # },
378
- # tags: [
379
- # {
380
- # key: "TagKey",
381
- # value: "TagValue",
382
- # },
383
- # ],
384
- # tracing_configuration: {
385
- # enabled: false,
386
- # },
387
- # }
388
- #
389
339
  # @!attribute [rw] name
390
340
  # The name of the state machine.
391
341
  #
@@ -430,7 +380,7 @@ module Aws::States
430
380
  # logged.
431
381
  #
432
382
  # <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.
383
+ # [Log Levels][1] in the Step Functions User Guide.
434
384
  #
435
385
  # </note>
436
386
  #
@@ -443,8 +393,8 @@ module Aws::States
443
393
  # Tags to be added when creating a state machine.
444
394
  #
445
395
  # 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].
396
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
397
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
448
398
  #
449
399
  # Tags may only contain Unicode letters, digits, white space, or these
450
400
  # symbols: `_ . : / = + - @`.
@@ -456,7 +406,7 @@ module Aws::States
456
406
  # @return [Array<Types::Tag>]
457
407
  #
458
408
  # @!attribute [rw] tracing_configuration
459
- # Selects whether AWS X-Ray tracing is enabled.
409
+ # Selects whether X-Ray tracing is enabled.
460
410
  # @return [Types::TracingConfiguration]
461
411
  #
462
412
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
@@ -491,13 +441,6 @@ module Aws::States
491
441
  include Aws::Structure
492
442
  end
493
443
 
494
- # @note When making an API call, you may pass DeleteActivityInput
495
- # data as a hash:
496
- #
497
- # {
498
- # activity_arn: "Arn", # required
499
- # }
500
- #
501
444
  # @!attribute [rw] activity_arn
502
445
  # The Amazon Resource Name (ARN) of the activity to delete.
503
446
  # @return [String]
@@ -514,13 +457,6 @@ module Aws::States
514
457
  #
515
458
  class DeleteActivityOutput < Aws::EmptyStructure; end
516
459
 
517
- # @note When making an API call, you may pass DeleteStateMachineInput
518
- # data as a hash:
519
- #
520
- # {
521
- # state_machine_arn: "Arn", # required
522
- # }
523
- #
524
460
  # @!attribute [rw] state_machine_arn
525
461
  # The Amazon Resource Name (ARN) of the state machine to delete.
526
462
  # @return [String]
@@ -537,13 +473,6 @@ module Aws::States
537
473
  #
538
474
  class DeleteStateMachineOutput < Aws::EmptyStructure; end
539
475
 
540
- # @note When making an API call, you may pass DescribeActivityInput
541
- # data as a hash:
542
- #
543
- # {
544
- # activity_arn: "Arn", # required
545
- # }
546
- #
547
476
  # @!attribute [rw] activity_arn
548
477
  # The Amazon Resource Name (ARN) of the activity to describe.
549
478
  # @return [String]
@@ -593,13 +522,6 @@ module Aws::States
593
522
  include Aws::Structure
594
523
  end
595
524
 
596
- # @note When making an API call, you may pass DescribeExecutionInput
597
- # data as a hash:
598
- #
599
- # {
600
- # execution_arn: "Arn", # required
601
- # }
602
- #
603
525
  # @!attribute [rw] execution_arn
604
526
  # The Amazon Resource Name (ARN) of the execution to describe.
605
527
  # @return [String]
@@ -676,7 +598,20 @@ module Aws::States
676
598
  # @return [Types::CloudWatchEventsExecutionDataDetails]
677
599
  #
678
600
  # @!attribute [rw] trace_header
679
- # The AWS X-Ray trace header that was passed to the execution.
601
+ # The X-Ray trace header that was passed to the execution.
602
+ # @return [String]
603
+ #
604
+ # @!attribute [rw] map_run_arn
605
+ # The Amazon Resource Name (ARN) that identifies a Map Run, which
606
+ # dispatched this execution.
607
+ # @return [String]
608
+ #
609
+ # @!attribute [rw] error
610
+ # The error string if the state machine execution failed.
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] cause
614
+ # The cause string if the state machine execution failed.
680
615
  # @return [String]
681
616
  #
682
617
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
@@ -692,18 +627,92 @@ module Aws::States
692
627
  :input_details,
693
628
  :output,
694
629
  :output_details,
695
- :trace_header)
696
- SENSITIVE = [:input, :output]
630
+ :trace_header,
631
+ :map_run_arn,
632
+ :error,
633
+ :cause)
634
+ SENSITIVE = [:input, :output, :error, :cause]
697
635
  include Aws::Structure
698
636
  end
699
637
 
700
- # @note When making an API call, you may pass DescribeStateMachineForExecutionInput
701
- # data as a hash:
638
+ # @!attribute [rw] map_run_arn
639
+ # The Amazon Resource Name (ARN) that identifies a Map Run.
640
+ # @return [String]
641
+ #
642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeMapRunInput AWS API Documentation
643
+ #
644
+ class DescribeMapRunInput < Struct.new(
645
+ :map_run_arn)
646
+ SENSITIVE = []
647
+ include Aws::Structure
648
+ end
649
+
650
+ # @!attribute [rw] map_run_arn
651
+ # The Amazon Resource Name (ARN) that identifies a Map Run.
652
+ # @return [String]
653
+ #
654
+ # @!attribute [rw] execution_arn
655
+ # The Amazon Resource Name (ARN) that identifies the execution in
656
+ # which the Map Run was started.
657
+ # @return [String]
658
+ #
659
+ # @!attribute [rw] status
660
+ # The current status of the Map Run.
661
+ # @return [String]
662
+ #
663
+ # @!attribute [rw] start_date
664
+ # The date when the Map Run was started.
665
+ # @return [Time]
666
+ #
667
+ # @!attribute [rw] stop_date
668
+ # The date when the Map Run was stopped.
669
+ # @return [Time]
670
+ #
671
+ # @!attribute [rw] max_concurrency
672
+ # The maximum number of child workflow executions configured to run in
673
+ # parallel for the Map Run at the same time.
674
+ # @return [Integer]
675
+ #
676
+ # @!attribute [rw] tolerated_failure_percentage
677
+ # The maximum percentage of failed child workflow executions before
678
+ # the Map Run fails.
679
+ # @return [Float]
680
+ #
681
+ # @!attribute [rw] tolerated_failure_count
682
+ # The maximum number of failed child workflow executions before the
683
+ # Map Run fails.
684
+ # @return [Integer]
685
+ #
686
+ # @!attribute [rw] item_counts
687
+ # A JSON object that contains information about the total number of
688
+ # items, and the item count for each processing status, such as
689
+ # `pending` and `failed`.
690
+ # @return [Types::MapRunItemCounts]
691
+ #
692
+ # @!attribute [rw] execution_counts
693
+ # A JSON object that contains information about the total number of
694
+ # child workflow executions for the Map Run, and the count of child
695
+ # workflow executions for each status, such as `failed` and
696
+ # `succeeded`.
697
+ # @return [Types::MapRunExecutionCounts]
702
698
  #
703
- # {
704
- # execution_arn: "Arn", # required
705
- # }
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeMapRunOutput AWS API Documentation
706
700
  #
701
+ class DescribeMapRunOutput < Struct.new(
702
+ :map_run_arn,
703
+ :execution_arn,
704
+ :status,
705
+ :start_date,
706
+ :stop_date,
707
+ :max_concurrency,
708
+ :tolerated_failure_percentage,
709
+ :tolerated_failure_count,
710
+ :item_counts,
711
+ :execution_counts)
712
+ SENSITIVE = []
713
+ include Aws::Structure
714
+ end
715
+
707
716
  # @!attribute [rw] execution_arn
708
717
  # The Amazon Resource Name (ARN) of the execution you want state
709
718
  # machine information for.
@@ -752,9 +761,22 @@ module Aws::States
752
761
  # @return [Types::LoggingConfiguration]
753
762
  #
754
763
  # @!attribute [rw] tracing_configuration
755
- # Selects whether AWS X-Ray tracing is enabled.
764
+ # Selects whether X-Ray tracing is enabled.
756
765
  # @return [Types::TracingConfiguration]
757
766
  #
767
+ # @!attribute [rw] map_run_arn
768
+ # The Amazon Resource Name (ARN) of the Map Run that started the child
769
+ # workflow execution. This field is returned only if the
770
+ # `executionArn` is a child workflow execution that was started by a
771
+ # Distributed Map state.
772
+ # @return [String]
773
+ #
774
+ # @!attribute [rw] label
775
+ # A user-defined or an auto-generated string that identifies a `Map`
776
+ # state. This field is returned only if the `executionArn` is a child
777
+ # workflow execution that was started by a Distributed Map state.
778
+ # @return [String]
779
+ #
758
780
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
759
781
  #
760
782
  class DescribeStateMachineForExecutionOutput < Struct.new(
@@ -764,18 +786,13 @@ module Aws::States
764
786
  :role_arn,
765
787
  :update_date,
766
788
  :logging_configuration,
767
- :tracing_configuration)
789
+ :tracing_configuration,
790
+ :map_run_arn,
791
+ :label)
768
792
  SENSITIVE = [:definition]
769
793
  include Aws::Structure
770
794
  end
771
795
 
772
- # @note When making an API call, you may pass DescribeStateMachineInput
773
- # data as a hash:
774
- #
775
- # {
776
- # state_machine_arn: "Arn", # required
777
- # }
778
- #
779
796
  # @!attribute [rw] state_machine_arn
780
797
  # The Amazon Resource Name (ARN) of the state machine to describe.
781
798
  # @return [String]
@@ -827,7 +844,7 @@ module Aws::States
827
844
  # @!attribute [rw] role_arn
828
845
  # The Amazon Resource Name (ARN) of the IAM role used when creating
829
846
  # this state machine. (The IAM role maintains security by granting
830
- # Step Functions access to AWS resources.)
847
+ # Step Functions access to Amazon Web Services resources.)
831
848
  # @return [String]
832
849
  #
833
850
  # @!attribute [rw] type
@@ -844,9 +861,15 @@ module Aws::States
844
861
  # @return [Types::LoggingConfiguration]
845
862
  #
846
863
  # @!attribute [rw] tracing_configuration
847
- # Selects whether AWS X-Ray tracing is enabled.
864
+ # Selects whether X-Ray tracing is enabled.
848
865
  # @return [Types::TracingConfiguration]
849
866
  #
867
+ # @!attribute [rw] label
868
+ # A user-defined or an auto-generated string that identifies a `Map`
869
+ # state. This parameter is present only if the `stateMachineArn`
870
+ # specified in input is a qualified state machine ARN.
871
+ # @return [String]
872
+ #
850
873
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
851
874
  #
852
875
  class DescribeStateMachineOutput < Struct.new(
@@ -858,7 +881,8 @@ module Aws::States
858
881
  :type,
859
882
  :creation_date,
860
883
  :logging_configuration,
861
- :tracing_configuration)
884
+ :tracing_configuration,
885
+ :label)
862
886
  SENSITIVE = [:definition]
863
887
  include Aws::Structure
864
888
  end
@@ -988,6 +1012,20 @@ module Aws::States
988
1012
  # If the execution already ended, the date the execution stopped.
989
1013
  # @return [Time]
990
1014
  #
1015
+ # @!attribute [rw] map_run_arn
1016
+ # The Amazon Resource Name (ARN) of a Map Run. This field is returned
1017
+ # only if `mapRunArn` was specified in the `ListExecutions` API
1018
+ # action. If `stateMachineArn` was specified in `ListExecutions`, the
1019
+ # `mapRunArn` isn't returned.
1020
+ # @return [String]
1021
+ #
1022
+ # @!attribute [rw] item_count
1023
+ # The total number of items processed in a child workflow execution.
1024
+ # This field is returned only if `mapRunArn` was specified in the
1025
+ # `ListExecutions` API action. If `stateMachineArn` was specified in
1026
+ # `ListExecutions`, the `itemCount` field isn't returned.
1027
+ # @return [Integer]
1028
+ #
991
1029
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionListItem AWS API Documentation
992
1030
  #
993
1031
  class ExecutionListItem < Struct.new(
@@ -996,7 +1034,9 @@ module Aws::States
996
1034
  :name,
997
1035
  :status,
998
1036
  :start_date,
999
- :stop_date)
1037
+ :stop_date,
1038
+ :map_run_arn,
1039
+ :item_count)
1000
1040
  SENSITIVE = []
1001
1041
  include Aws::Structure
1002
1042
  end
@@ -1014,7 +1054,7 @@ module Aws::States
1014
1054
  #
1015
1055
  # @!attribute [rw] role_arn
1016
1056
  # The Amazon Resource Name (ARN) of the IAM role used for executing
1017
- # AWS Lambda tasks.
1057
+ # Lambda tasks.
1018
1058
  # @return [String]
1019
1059
  #
1020
1060
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails AWS API Documentation
@@ -1067,14 +1107,6 @@ module Aws::States
1067
1107
  include Aws::Structure
1068
1108
  end
1069
1109
 
1070
- # @note When making an API call, you may pass GetActivityTaskInput
1071
- # data as a hash:
1072
- #
1073
- # {
1074
- # activity_arn: "Arn", # required
1075
- # worker_name: "Name",
1076
- # }
1077
- #
1078
1110
  # @!attribute [rw] activity_arn
1079
1111
  # The Amazon Resource Name (ARN) of the activity to retrieve tasks
1080
1112
  # from (assigned when you create the task using CreateActivity.)
@@ -1117,17 +1149,6 @@ module Aws::States
1117
1149
  include Aws::Structure
1118
1150
  end
1119
1151
 
1120
- # @note When making an API call, you may pass GetExecutionHistoryInput
1121
- # data as a hash:
1122
- #
1123
- # {
1124
- # execution_arn: "Arn", # required
1125
- # max_results: 1,
1126
- # reverse_order: false,
1127
- # next_token: "PageToken",
1128
- # include_execution_data: false,
1129
- # }
1130
- #
1131
1152
  # @!attribute [rw] execution_arn
1132
1153
  # The Amazon Resource Name (ARN) of the execution.
1133
1154
  # @return [String]
@@ -1314,17 +1335,17 @@ module Aws::States
1314
1335
  # @return [Types::MapIterationEventDetails]
1315
1336
  #
1316
1337
  # @!attribute [rw] lambda_function_failed_event_details
1317
- # Contains details about a lambda function that failed during an
1338
+ # Contains details about a Lambda function that failed during an
1318
1339
  # execution.
1319
1340
  # @return [Types::LambdaFunctionFailedEventDetails]
1320
1341
  #
1321
1342
  # @!attribute [rw] lambda_function_schedule_failed_event_details
1322
- # Contains details about a failed lambda function schedule event that
1343
+ # Contains details about a failed Lambda function schedule event that
1323
1344
  # occurred during an execution.
1324
1345
  # @return [Types::LambdaFunctionScheduleFailedEventDetails]
1325
1346
  #
1326
1347
  # @!attribute [rw] lambda_function_scheduled_event_details
1327
- # Contains details about a lambda function scheduled during an
1348
+ # Contains details about a Lambda function scheduled during an
1328
1349
  # execution.
1329
1350
  # @return [Types::LambdaFunctionScheduledEventDetails]
1330
1351
  #
@@ -1334,12 +1355,12 @@ module Aws::States
1334
1355
  # @return [Types::LambdaFunctionStartFailedEventDetails]
1335
1356
  #
1336
1357
  # @!attribute [rw] lambda_function_succeeded_event_details
1337
- # Contains details about a lambda function that terminated
1358
+ # Contains details about a Lambda function that terminated
1338
1359
  # successfully during an execution.
1339
1360
  # @return [Types::LambdaFunctionSucceededEventDetails]
1340
1361
  #
1341
1362
  # @!attribute [rw] lambda_function_timed_out_event_details
1342
- # Contains details about a lambda function timeout that occurred
1363
+ # Contains details about a Lambda function timeout that occurred
1343
1364
  # during an execution.
1344
1365
  # @return [Types::LambdaFunctionTimedOutEventDetails]
1345
1366
  #
@@ -1351,6 +1372,16 @@ module Aws::States
1351
1372
  # Contains details about an exit from a state during an execution.
1352
1373
  # @return [Types::StateExitedEventDetails]
1353
1374
  #
1375
+ # @!attribute [rw] map_run_started_event_details
1376
+ # Contains details, such as `mapRunArn`, and the start date and time
1377
+ # of a Map Run. `mapRunArn` is the Amazon Resource Name (ARN) of the
1378
+ # Map Run that was started.
1379
+ # @return [Types::MapRunStartedEventDetails]
1380
+ #
1381
+ # @!attribute [rw] map_run_failed_event_details
1382
+ # Contains error and cause details about a Map Run that failed.
1383
+ # @return [Types::MapRunFailedEventDetails]
1384
+ #
1354
1385
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent AWS API Documentation
1355
1386
  #
1356
1387
  class HistoryEvent < Struct.new(
@@ -1389,7 +1420,9 @@ module Aws::States
1389
1420
  :lambda_function_succeeded_event_details,
1390
1421
  :lambda_function_timed_out_event_details,
1391
1422
  :state_entered_event_details,
1392
- :state_exited_event_details)
1423
+ :state_exited_event_details,
1424
+ :map_run_started_event_details,
1425
+ :map_run_failed_event_details)
1393
1426
  SENSITIVE = []
1394
1427
  include Aws::Structure
1395
1428
  end
@@ -1409,7 +1442,7 @@ module Aws::States
1409
1442
  include Aws::Structure
1410
1443
  end
1411
1444
 
1412
- # The provided Amazon Resource Name (ARN) is invalid.
1445
+ # The provided Amazon Resource Name (ARN) is not valid.
1413
1446
  #
1414
1447
  # @!attribute [rw] message
1415
1448
  # @return [String]
@@ -1422,7 +1455,7 @@ module Aws::States
1422
1455
  include Aws::Structure
1423
1456
  end
1424
1457
 
1425
- # The provided Amazon States Language definition is invalid.
1458
+ # The provided Amazon States Language definition is not valid.
1426
1459
  #
1427
1460
  # @!attribute [rw] message
1428
1461
  # @return [String]
@@ -1435,7 +1468,7 @@ module Aws::States
1435
1468
  include Aws::Structure
1436
1469
  end
1437
1470
 
1438
- # The provided JSON input data is invalid.
1471
+ # The provided JSON input data is not valid.
1439
1472
  #
1440
1473
  # @!attribute [rw] message
1441
1474
  # @return [String]
@@ -1459,7 +1492,7 @@ module Aws::States
1459
1492
  include Aws::Structure
1460
1493
  end
1461
1494
 
1462
- # The provided name is invalid.
1495
+ # The provided name is not valid.
1463
1496
  #
1464
1497
  # @!attribute [rw] message
1465
1498
  # @return [String]
@@ -1472,7 +1505,7 @@ module Aws::States
1472
1505
  include Aws::Structure
1473
1506
  end
1474
1507
 
1475
- # The provided JSON output data is invalid.
1508
+ # The provided JSON output data is not valid.
1476
1509
  #
1477
1510
  # @!attribute [rw] message
1478
1511
  # @return [String]
@@ -1485,7 +1518,7 @@ module Aws::States
1485
1518
  include Aws::Structure
1486
1519
  end
1487
1520
 
1488
- # The provided token is invalid.
1521
+ # The provided token is not valid.
1489
1522
  #
1490
1523
  # @!attribute [rw] message
1491
1524
  # @return [String]
@@ -1512,7 +1545,7 @@ module Aws::States
1512
1545
  include Aws::Structure
1513
1546
  end
1514
1547
 
1515
- # Contains details about a lambda function that failed during an
1548
+ # Contains details about a Lambda function that failed during an
1516
1549
  # execution.
1517
1550
  #
1518
1551
  # @!attribute [rw] error
@@ -1532,7 +1565,7 @@ module Aws::States
1532
1565
  include Aws::Structure
1533
1566
  end
1534
1567
 
1535
- # Contains details about a failed lambda function schedule event that
1568
+ # Contains details about a failed Lambda function schedule event that
1536
1569
  # occurred during an execution.
1537
1570
  #
1538
1571
  # @!attribute [rw] error
@@ -1552,15 +1585,15 @@ module Aws::States
1552
1585
  include Aws::Structure
1553
1586
  end
1554
1587
 
1555
- # Contains details about a lambda function scheduled during an
1588
+ # Contains details about a Lambda function scheduled during an
1556
1589
  # execution.
1557
1590
  #
1558
1591
  # @!attribute [rw] resource
1559
- # The Amazon Resource Name (ARN) of the scheduled lambda function.
1592
+ # The Amazon Resource Name (ARN) of the scheduled Lambda function.
1560
1593
  # @return [String]
1561
1594
  #
1562
1595
  # @!attribute [rw] input
1563
- # The JSON data input to the lambda function. Length constraints apply
1596
+ # The JSON data input to the Lambda function. Length constraints apply
1564
1597
  # to the payload size, and are expressed as bytes in UTF-8 encoding.
1565
1598
  # @return [String]
1566
1599
  #
@@ -1569,16 +1602,21 @@ module Aws::States
1569
1602
  # @return [Types::HistoryEventExecutionDataDetails]
1570
1603
  #
1571
1604
  # @!attribute [rw] timeout_in_seconds
1572
- # The maximum allowed duration of the lambda function.
1605
+ # The maximum allowed duration of the Lambda function.
1573
1606
  # @return [Integer]
1574
1607
  #
1608
+ # @!attribute [rw] task_credentials
1609
+ # The credentials that Step Functions uses for the task.
1610
+ # @return [Types::TaskCredentials]
1611
+ #
1575
1612
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails AWS API Documentation
1576
1613
  #
1577
1614
  class LambdaFunctionScheduledEventDetails < Struct.new(
1578
1615
  :resource,
1579
1616
  :input,
1580
1617
  :input_details,
1581
- :timeout_in_seconds)
1618
+ :timeout_in_seconds,
1619
+ :task_credentials)
1582
1620
  SENSITIVE = [:input]
1583
1621
  include Aws::Structure
1584
1622
  end
@@ -1603,11 +1641,11 @@ module Aws::States
1603
1641
  include Aws::Structure
1604
1642
  end
1605
1643
 
1606
- # Contains details about a lambda function that successfully terminated
1644
+ # Contains details about a Lambda function that successfully terminated
1607
1645
  # during an execution.
1608
1646
  #
1609
1647
  # @!attribute [rw] output
1610
- # The JSON data output by the lambda function. Length constraints
1648
+ # The JSON data output by the Lambda function. Length constraints
1611
1649
  # apply to the payload size, and are expressed as bytes in UTF-8
1612
1650
  # encoding.
1613
1651
  # @return [String]
@@ -1625,7 +1663,7 @@ module Aws::States
1625
1663
  include Aws::Structure
1626
1664
  end
1627
1665
 
1628
- # Contains details about a lambda function timeout that occurred during
1666
+ # Contains details about a Lambda function timeout that occurred during
1629
1667
  # an execution.
1630
1668
  #
1631
1669
  # @!attribute [rw] error
@@ -1645,14 +1683,6 @@ module Aws::States
1645
1683
  include Aws::Structure
1646
1684
  end
1647
1685
 
1648
- # @note When making an API call, you may pass ListActivitiesInput
1649
- # data as a hash:
1650
- #
1651
- # {
1652
- # max_results: 1,
1653
- # next_token: "PageToken",
1654
- # }
1655
- #
1656
1686
  # @!attribute [rw] max_results
1657
1687
  # The maximum number of results that are returned per call. You can
1658
1688
  # use `nextToken` to obtain further pages of results. The default is
@@ -1703,19 +1733,12 @@ module Aws::States
1703
1733
  include Aws::Structure
1704
1734
  end
1705
1735
 
1706
- # @note When making an API call, you may pass ListExecutionsInput
1707
- # data as a hash:
1708
- #
1709
- # {
1710
- # state_machine_arn: "Arn", # required
1711
- # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
1712
- # max_results: 1,
1713
- # next_token: "ListExecutionsPageToken",
1714
- # }
1715
- #
1716
1736
  # @!attribute [rw] state_machine_arn
1717
1737
  # The Amazon Resource Name (ARN) of the state machine whose executions
1718
1738
  # is listed.
1739
+ #
1740
+ # You can specify either a `mapRunArn` or a `stateMachineArn`, but not
1741
+ # both.
1719
1742
  # @return [String]
1720
1743
  #
1721
1744
  # @!attribute [rw] status_filter
@@ -1742,13 +1765,29 @@ module Aws::States
1742
1765
  # return an *HTTP 400 InvalidToken* error.
1743
1766
  # @return [String]
1744
1767
  #
1768
+ # @!attribute [rw] map_run_arn
1769
+ # The Amazon Resource Name (ARN) of the Map Run that started the child
1770
+ # workflow executions. If the `mapRunArn` field is specified, a list
1771
+ # of all of the child workflow executions started by a Map Run is
1772
+ # returned. For more information, see [Examining Map Run][1] in the
1773
+ # *Step Functions Developer Guide*.
1774
+ #
1775
+ # You can specify either a `mapRunArn` or a `stateMachineArn`, but not
1776
+ # both.
1777
+ #
1778
+ #
1779
+ #
1780
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-examine-map-run.html
1781
+ # @return [String]
1782
+ #
1745
1783
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput AWS API Documentation
1746
1784
  #
1747
1785
  class ListExecutionsInput < Struct.new(
1748
1786
  :state_machine_arn,
1749
1787
  :status_filter,
1750
1788
  :max_results,
1751
- :next_token)
1789
+ :next_token,
1790
+ :map_run_arn)
1752
1791
  SENSITIVE = []
1753
1792
  include Aws::Structure
1754
1793
  end
@@ -1775,14 +1814,64 @@ module Aws::States
1775
1814
  include Aws::Structure
1776
1815
  end
1777
1816
 
1778
- # @note When making an API call, you may pass ListStateMachinesInput
1779
- # data as a hash:
1817
+ # @!attribute [rw] execution_arn
1818
+ # The Amazon Resource Name (ARN) of the execution for which the Map
1819
+ # Runs must be listed.
1820
+ # @return [String]
1821
+ #
1822
+ # @!attribute [rw] max_results
1823
+ # The maximum number of results that are returned per call. You can
1824
+ # use `nextToken` to obtain further pages of results. The default is
1825
+ # 100 and the maximum allowed page size is 1000. A value of 0 uses the
1826
+ # default.
1827
+ #
1828
+ # This is only an upper limit. The actual number of results returned
1829
+ # per call might be fewer than the specified maximum.
1830
+ # @return [Integer]
1831
+ #
1832
+ # @!attribute [rw] next_token
1833
+ # If `nextToken` is returned, there are more results available. The
1834
+ # value of `nextToken` is a unique pagination token for each page.
1835
+ # Make the call again using the returned token to retrieve the next
1836
+ # page. Keep all other arguments unchanged. Each pagination token
1837
+ # expires after 24 hours. Using an expired pagination token will
1838
+ # return an *HTTP 400 InvalidToken* error.
1839
+ # @return [String]
1840
+ #
1841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListMapRunsInput AWS API Documentation
1842
+ #
1843
+ class ListMapRunsInput < Struct.new(
1844
+ :execution_arn,
1845
+ :max_results,
1846
+ :next_token)
1847
+ SENSITIVE = []
1848
+ include Aws::Structure
1849
+ end
1850
+
1851
+ # @!attribute [rw] map_runs
1852
+ # An array that lists information related to a Map Run, such as the
1853
+ # Amazon Resource Name (ARN) of the Map Run and the ARN of the state
1854
+ # machine that started the Map Run.
1855
+ # @return [Array<Types::MapRunListItem>]
1856
+ #
1857
+ # @!attribute [rw] next_token
1858
+ # If `nextToken` is returned, there are more results available. The
1859
+ # value of `nextToken` is a unique pagination token for each page.
1860
+ # Make the call again using the returned token to retrieve the next
1861
+ # page. Keep all other arguments unchanged. Each pagination token
1862
+ # expires after 24 hours. Using an expired pagination token will
1863
+ # return an *HTTP 400 InvalidToken* error.
1864
+ # @return [String]
1780
1865
  #
1781
- # {
1782
- # max_results: 1,
1783
- # next_token: "PageToken",
1784
- # }
1866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListMapRunsOutput AWS API Documentation
1785
1867
  #
1868
+ class ListMapRunsOutput < Struct.new(
1869
+ :map_runs,
1870
+ :next_token)
1871
+ SENSITIVE = []
1872
+ include Aws::Structure
1873
+ end
1874
+
1786
1875
  # @!attribute [rw] max_results
1787
1876
  # The maximum number of results that are returned per call. You can
1788
1877
  # use `nextToken` to obtain further pages of results. The default is
@@ -1832,13 +1921,6 @@ module Aws::States
1832
1921
  include Aws::Structure
1833
1922
  end
1834
1923
 
1835
- # @note When making an API call, you may pass ListTagsForResourceInput
1836
- # data as a hash:
1837
- #
1838
- # {
1839
- # resource_arn: "Arn", # required
1840
- # }
1841
- #
1842
1924
  # @!attribute [rw] resource_arn
1843
1925
  # The Amazon Resource Name (ARN) for the Step Functions state machine
1844
1926
  # or activity.
@@ -1864,18 +1946,9 @@ module Aws::States
1864
1946
  include Aws::Structure
1865
1947
  end
1866
1948
 
1867
- # @note When making an API call, you may pass LogDestination
1868
- # data as a hash:
1869
- #
1870
- # {
1871
- # cloud_watch_logs_log_group: {
1872
- # log_group_arn: "Arn",
1873
- # },
1874
- # }
1875
- #
1876
1949
  # @!attribute [rw] cloud_watch_logs_log_group
1877
1950
  # An object describing a CloudWatch log group. For more information,
1878
- # see [AWS::Logs::LogGroup][1] in the AWS CloudFormation User Guide.
1951
+ # see [AWS::Logs::LogGroup][1] in the CloudFormation User Guide.
1879
1952
  #
1880
1953
  #
1881
1954
  #
@@ -1893,21 +1966,6 @@ module Aws::States
1893
1966
  # The `LoggingConfiguration` data type is used to set CloudWatch Logs
1894
1967
  # options.
1895
1968
  #
1896
- # @note When making an API call, you may pass LoggingConfiguration
1897
- # data as a hash:
1898
- #
1899
- # {
1900
- # level: "ALL", # accepts ALL, ERROR, FATAL, OFF
1901
- # include_execution_data: false,
1902
- # destinations: [
1903
- # {
1904
- # cloud_watch_logs_log_group: {
1905
- # log_group_arn: "Arn",
1906
- # },
1907
- # },
1908
- # ],
1909
- # }
1910
- #
1911
1969
  # @!attribute [rw] level
1912
1970
  # Defines which category of execution history events are logged.
1913
1971
  # @return [String]
@@ -1952,6 +2010,204 @@ module Aws::States
1952
2010
  include Aws::Structure
1953
2011
  end
1954
2012
 
2013
+ # Contains details about all of the child workflow executions started by
2014
+ # a Map Run.
2015
+ #
2016
+ # @!attribute [rw] pending
2017
+ # The total number of child workflow executions that were started by a
2018
+ # Map Run, but haven't started executing yet.
2019
+ # @return [Integer]
2020
+ #
2021
+ # @!attribute [rw] running
2022
+ # The total number of child workflow executions that were started by a
2023
+ # Map Run and are currently in-progress.
2024
+ # @return [Integer]
2025
+ #
2026
+ # @!attribute [rw] succeeded
2027
+ # The total number of child workflow executions that were started by a
2028
+ # Map Run and have completed successfully.
2029
+ # @return [Integer]
2030
+ #
2031
+ # @!attribute [rw] failed
2032
+ # The total number of child workflow executions that were started by a
2033
+ # Map Run, but have failed.
2034
+ # @return [Integer]
2035
+ #
2036
+ # @!attribute [rw] timed_out
2037
+ # The total number of child workflow executions that were started by a
2038
+ # Map Run and have timed out.
2039
+ # @return [Integer]
2040
+ #
2041
+ # @!attribute [rw] aborted
2042
+ # The total number of child workflow executions that were started by a
2043
+ # Map Run and were running, but were either stopped by the user or by
2044
+ # Step Functions because the Map Run failed.
2045
+ # @return [Integer]
2046
+ #
2047
+ # @!attribute [rw] total
2048
+ # The total number of child workflow executions that were started by a
2049
+ # Map Run.
2050
+ # @return [Integer]
2051
+ #
2052
+ # @!attribute [rw] results_written
2053
+ # Returns the count of child workflow executions whose results were
2054
+ # written by `ResultWriter`. For more information, see
2055
+ # [ResultWriter][1] in the *Step Functions Developer Guide*.
2056
+ #
2057
+ #
2058
+ #
2059
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultwriter.html
2060
+ # @return [Integer]
2061
+ #
2062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapRunExecutionCounts AWS API Documentation
2063
+ #
2064
+ class MapRunExecutionCounts < Struct.new(
2065
+ :pending,
2066
+ :running,
2067
+ :succeeded,
2068
+ :failed,
2069
+ :timed_out,
2070
+ :aborted,
2071
+ :total,
2072
+ :results_written)
2073
+ SENSITIVE = []
2074
+ include Aws::Structure
2075
+ end
2076
+
2077
+ # Contains details about a Map Run failure event that occurred during a
2078
+ # state machine execution.
2079
+ #
2080
+ # @!attribute [rw] error
2081
+ # The error code of the Map Run failure.
2082
+ # @return [String]
2083
+ #
2084
+ # @!attribute [rw] cause
2085
+ # A more detailed explanation of the cause of the failure.
2086
+ # @return [String]
2087
+ #
2088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapRunFailedEventDetails AWS API Documentation
2089
+ #
2090
+ class MapRunFailedEventDetails < Struct.new(
2091
+ :error,
2092
+ :cause)
2093
+ SENSITIVE = [:error, :cause]
2094
+ include Aws::Structure
2095
+ end
2096
+
2097
+ # Contains details about items that were processed in all of the child
2098
+ # workflow executions that were started by a Map Run.
2099
+ #
2100
+ # @!attribute [rw] pending
2101
+ # The total number of items to process in child workflow executions
2102
+ # that haven't started running yet.
2103
+ # @return [Integer]
2104
+ #
2105
+ # @!attribute [rw] running
2106
+ # The total number of items being processed in child workflow
2107
+ # executions that are currently in-progress.
2108
+ # @return [Integer]
2109
+ #
2110
+ # @!attribute [rw] succeeded
2111
+ # The total number of items processed in child workflow executions
2112
+ # that have completed successfully.
2113
+ # @return [Integer]
2114
+ #
2115
+ # @!attribute [rw] failed
2116
+ # The total number of items processed in child workflow executions
2117
+ # that have failed.
2118
+ # @return [Integer]
2119
+ #
2120
+ # @!attribute [rw] timed_out
2121
+ # The total number of items processed in child workflow executions
2122
+ # that have timed out.
2123
+ # @return [Integer]
2124
+ #
2125
+ # @!attribute [rw] aborted
2126
+ # The total number of items processed in child workflow executions
2127
+ # that were either stopped by the user or by Step Functions, because
2128
+ # the Map Run failed.
2129
+ # @return [Integer]
2130
+ #
2131
+ # @!attribute [rw] total
2132
+ # The total number of items processed in all the child workflow
2133
+ # executions started by a Map Run.
2134
+ # @return [Integer]
2135
+ #
2136
+ # @!attribute [rw] results_written
2137
+ # Returns the count of items whose results were written by
2138
+ # `ResultWriter`. For more information, see [ResultWriter][1] in the
2139
+ # *Step Functions Developer Guide*.
2140
+ #
2141
+ #
2142
+ #
2143
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultwriter.html
2144
+ # @return [Integer]
2145
+ #
2146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapRunItemCounts AWS API Documentation
2147
+ #
2148
+ class MapRunItemCounts < Struct.new(
2149
+ :pending,
2150
+ :running,
2151
+ :succeeded,
2152
+ :failed,
2153
+ :timed_out,
2154
+ :aborted,
2155
+ :total,
2156
+ :results_written)
2157
+ SENSITIVE = []
2158
+ include Aws::Structure
2159
+ end
2160
+
2161
+ # Contains details about a specific Map Run.
2162
+ #
2163
+ # @!attribute [rw] execution_arn
2164
+ # The `executionArn` of the execution from which the Map Run was
2165
+ # started.
2166
+ # @return [String]
2167
+ #
2168
+ # @!attribute [rw] map_run_arn
2169
+ # The Amazon Resource Name (ARN) of the Map Run.
2170
+ # @return [String]
2171
+ #
2172
+ # @!attribute [rw] state_machine_arn
2173
+ # The Amazon Resource Name (ARN) of the executed state machine.
2174
+ # @return [String]
2175
+ #
2176
+ # @!attribute [rw] start_date
2177
+ # The date on which the Map Run started.
2178
+ # @return [Time]
2179
+ #
2180
+ # @!attribute [rw] stop_date
2181
+ # The date on which the Map Run stopped.
2182
+ # @return [Time]
2183
+ #
2184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapRunListItem AWS API Documentation
2185
+ #
2186
+ class MapRunListItem < Struct.new(
2187
+ :execution_arn,
2188
+ :map_run_arn,
2189
+ :state_machine_arn,
2190
+ :start_date,
2191
+ :stop_date)
2192
+ SENSITIVE = []
2193
+ include Aws::Structure
2194
+ end
2195
+
2196
+ # Contains details about a Map Run that was started during a state
2197
+ # machine execution.
2198
+ #
2199
+ # @!attribute [rw] map_run_arn
2200
+ # The Amazon Resource Name (ARN) of a Map Run that was started.
2201
+ # @return [String]
2202
+ #
2203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapRunStartedEventDetails AWS API Documentation
2204
+ #
2205
+ class MapRunStartedEventDetails < Struct.new(
2206
+ :map_run_arn)
2207
+ SENSITIVE = []
2208
+ include Aws::Structure
2209
+ end
2210
+
1955
2211
  # Details about a Map state that was started.
1956
2212
  #
1957
2213
  # @!attribute [rw] length
@@ -1998,15 +2254,6 @@ module Aws::States
1998
2254
  include Aws::Structure
1999
2255
  end
2000
2256
 
2001
- # @note When making an API call, you may pass SendTaskFailureInput
2002
- # data as a hash:
2003
- #
2004
- # {
2005
- # task_token: "TaskToken", # required
2006
- # error: "SensitiveError",
2007
- # cause: "SensitiveCause",
2008
- # }
2009
- #
2010
2257
  # @!attribute [rw] task_token
2011
2258
  # The token that represents this task. Task tokens are generated by
2012
2259
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2040,13 +2287,6 @@ module Aws::States
2040
2287
  #
2041
2288
  class SendTaskFailureOutput < Aws::EmptyStructure; end
2042
2289
 
2043
- # @note When making an API call, you may pass SendTaskHeartbeatInput
2044
- # data as a hash:
2045
- #
2046
- # {
2047
- # task_token: "TaskToken", # required
2048
- # }
2049
- #
2050
2290
  # @!attribute [rw] task_token
2051
2291
  # The token that represents this task. Task tokens are generated by
2052
2292
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2070,14 +2310,6 @@ module Aws::States
2070
2310
  #
2071
2311
  class SendTaskHeartbeatOutput < Aws::EmptyStructure; end
2072
2312
 
2073
- # @note When making an API call, you may pass SendTaskSuccessInput
2074
- # data as a hash:
2075
- #
2076
- # {
2077
- # task_token: "TaskToken", # required
2078
- # output: "SensitiveData", # required
2079
- # }
2080
- #
2081
2313
  # @!attribute [rw] task_token
2082
2314
  # The token that represents this task. Task tokens are generated by
2083
2315
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2107,25 +2339,15 @@ module Aws::States
2107
2339
  #
2108
2340
  class SendTaskSuccessOutput < Aws::EmptyStructure; end
2109
2341
 
2110
- # @note When making an API call, you may pass StartExecutionInput
2111
- # data as a hash:
2112
- #
2113
- # {
2114
- # state_machine_arn: "Arn", # required
2115
- # name: "Name",
2116
- # input: "SensitiveData",
2117
- # trace_header: "TraceHeader",
2118
- # }
2119
- #
2120
2342
  # @!attribute [rw] state_machine_arn
2121
2343
  # The Amazon Resource Name (ARN) of the state machine to execute.
2122
2344
  # @return [String]
2123
2345
  #
2124
2346
  # @!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*.
2347
+ # The name of the execution. This name must be unique for your Amazon
2348
+ # Web Services account, region, and state machine for 90 days. For
2349
+ # more information, see [ Limits Related to State Machine
2350
+ # Executions][1] in the *Step Functions Developer Guide*.
2129
2351
  #
2130
2352
  # A name must *not* contain:
2131
2353
  #
@@ -2163,8 +2385,8 @@ module Aws::States
2163
2385
  # @return [String]
2164
2386
  #
2165
2387
  # @!attribute [rw] trace_header
2166
- # Passes the AWS X-Ray trace header. The trace header can also be
2167
- # passed in the request payload.
2388
+ # Passes the X-Ray trace header. The trace header can also be passed
2389
+ # in the request payload.
2168
2390
  # @return [String]
2169
2391
  #
2170
2392
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
@@ -2195,16 +2417,6 @@ module Aws::States
2195
2417
  include Aws::Structure
2196
2418
  end
2197
2419
 
2198
- # @note When making an API call, you may pass StartSyncExecutionInput
2199
- # data as a hash:
2200
- #
2201
- # {
2202
- # state_machine_arn: "Arn", # required
2203
- # name: "Name",
2204
- # input: "SensitiveData",
2205
- # trace_header: "TraceHeader",
2206
- # }
2207
- #
2208
2420
  # @!attribute [rw] state_machine_arn
2209
2421
  # The Amazon Resource Name (ARN) of the state machine to execute.
2210
2422
  # @return [String]
@@ -2229,8 +2441,8 @@ module Aws::States
2229
2441
  # @return [String]
2230
2442
  #
2231
2443
  # @!attribute [rw] trace_header
2232
- # Passes the AWS X-Ray trace header. The trace header can also be
2233
- # passed in the request payload.
2444
+ # Passes the X-Ray trace header. The trace header can also be passed
2445
+ # in the request payload.
2234
2446
  # @return [String]
2235
2447
  #
2236
2448
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecutionInput AWS API Documentation
@@ -2301,7 +2513,7 @@ module Aws::States
2301
2513
  # @return [Types::CloudWatchEventsExecutionDataDetails]
2302
2514
  #
2303
2515
  # @!attribute [rw] trace_header
2304
- # The AWS X-Ray trace header that was passed to the execution.
2516
+ # The X-Ray trace header that was passed to the execution.
2305
2517
  # @return [String]
2306
2518
  #
2307
2519
  # @!attribute [rw] billing_details
@@ -2504,15 +2716,6 @@ module Aws::States
2504
2716
  include Aws::Structure
2505
2717
  end
2506
2718
 
2507
- # @note When making an API call, you may pass StopExecutionInput
2508
- # data as a hash:
2509
- #
2510
- # {
2511
- # execution_arn: "Arn", # required
2512
- # error: "SensitiveError",
2513
- # cause: "SensitiveCause",
2514
- # }
2515
- #
2516
2719
  # @!attribute [rw] execution_arn
2517
2720
  # The Amazon Resource Name (ARN) of the execution to stop.
2518
2721
  # @return [String]
@@ -2551,8 +2754,8 @@ module Aws::States
2551
2754
  # state machines and activities.
2552
2755
  #
2553
2756
  # 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].
2757
+ # Allocation Tags][1] in the *Amazon Web Services Billing and Cost
2758
+ # Management User Guide*, and [Controlling Access Using IAM Tags][2].
2556
2759
  #
2557
2760
  # Tags may only contain Unicode letters, digits, white space, or these
2558
2761
  # symbols: `_ . : / = + - @`.
@@ -2562,14 +2765,6 @@ module Aws::States
2562
2765
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
2563
2766
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
2564
2767
  #
2565
- # @note When making an API call, you may pass Tag
2566
- # data as a hash:
2567
- #
2568
- # {
2569
- # key: "TagKey",
2570
- # value: "TagValue",
2571
- # }
2572
- #
2573
2768
  # @!attribute [rw] key
2574
2769
  # The key of a tag.
2575
2770
  # @return [String]
@@ -2587,19 +2782,6 @@ module Aws::States
2587
2782
  include Aws::Structure
2588
2783
  end
2589
2784
 
2590
- # @note When making an API call, you may pass TagResourceInput
2591
- # data as a hash:
2592
- #
2593
- # {
2594
- # resource_arn: "Arn", # required
2595
- # tags: [ # required
2596
- # {
2597
- # key: "TagKey",
2598
- # value: "TagValue",
2599
- # },
2600
- # ],
2601
- # }
2602
- #
2603
2785
  # @!attribute [rw] resource_arn
2604
2786
  # The Amazon Resource Name (ARN) for the Step Functions state machine
2605
2787
  # or activity.
@@ -2625,6 +2807,22 @@ module Aws::States
2625
2807
  #
2626
2808
  class TagResourceOutput < Aws::EmptyStructure; end
2627
2809
 
2810
+ # Contains details about the credentials that Step Functions uses for a
2811
+ # task.
2812
+ #
2813
+ # @!attribute [rw] role_arn
2814
+ # The ARN of an IAM role that Step Functions assumes for the task. The
2815
+ # role can allow cross-account access to resources.
2816
+ # @return [String]
2817
+ #
2818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskCredentials AWS API Documentation
2819
+ #
2820
+ class TaskCredentials < Struct.new(
2821
+ :role_arn)
2822
+ SENSITIVE = []
2823
+ include Aws::Structure
2824
+ end
2825
+
2628
2826
  # @!attribute [rw] message
2629
2827
  # @return [String]
2630
2828
  #
@@ -2639,11 +2837,11 @@ module Aws::States
2639
2837
  # Contains details about a task failure event.
2640
2838
  #
2641
2839
  # @!attribute [rw] resource_type
2642
- # The action of the resource called by a task state.
2840
+ # The service name of the resource in a task state.
2643
2841
  # @return [String]
2644
2842
  #
2645
2843
  # @!attribute [rw] resource
2646
- # The service name of the resource in a task state.
2844
+ # The action of the resource called by a task state.
2647
2845
  # @return [String]
2648
2846
  #
2649
2847
  # @!attribute [rw] error
@@ -2668,11 +2866,11 @@ module Aws::States
2668
2866
  # Contains details about a task scheduled during an execution.
2669
2867
  #
2670
2868
  # @!attribute [rw] resource_type
2671
- # The action of the resource called by a task state.
2869
+ # The service name of the resource in a task state.
2672
2870
  # @return [String]
2673
2871
  #
2674
2872
  # @!attribute [rw] resource
2675
- # The service name of the resource in a task state.
2873
+ # The action of the resource called by a task state.
2676
2874
  # @return [String]
2677
2875
  #
2678
2876
  # @!attribute [rw] region
@@ -2693,6 +2891,10 @@ module Aws::States
2693
2891
  # The maximum allowed duration between two heartbeats for the task.
2694
2892
  # @return [Integer]
2695
2893
  #
2894
+ # @!attribute [rw] task_credentials
2895
+ # The credentials that Step Functions uses for the task.
2896
+ # @return [Types::TaskCredentials]
2897
+ #
2696
2898
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
2697
2899
  #
2698
2900
  class TaskScheduledEventDetails < Struct.new(
@@ -2701,7 +2903,8 @@ module Aws::States
2701
2903
  :region,
2702
2904
  :parameters,
2703
2905
  :timeout_in_seconds,
2704
- :heartbeat_in_seconds)
2906
+ :heartbeat_in_seconds,
2907
+ :task_credentials)
2705
2908
  SENSITIVE = [:parameters]
2706
2909
  include Aws::Structure
2707
2910
  end
@@ -2710,11 +2913,11 @@ module Aws::States
2710
2913
  # execution.
2711
2914
  #
2712
2915
  # @!attribute [rw] resource_type
2713
- # The action of the resource called by a task state.
2916
+ # The service name of the resource in a task state.
2714
2917
  # @return [String]
2715
2918
  #
2716
2919
  # @!attribute [rw] resource
2717
- # The service name of the resource in a task state.
2920
+ # The action of the resource called by a task state.
2718
2921
  # @return [String]
2719
2922
  #
2720
2923
  # @!attribute [rw] error
@@ -2739,11 +2942,11 @@ module Aws::States
2739
2942
  # Contains details about the start of a task during an execution.
2740
2943
  #
2741
2944
  # @!attribute [rw] resource_type
2742
- # The action of the resource called by a task state.
2945
+ # The service name of the resource in a task state.
2743
2946
  # @return [String]
2744
2947
  #
2745
2948
  # @!attribute [rw] resource
2746
- # The service name of the resource in a task state.
2949
+ # The action of the resource called by a task state.
2747
2950
  # @return [String]
2748
2951
  #
2749
2952
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskStartedEventDetails AWS API Documentation
@@ -2759,11 +2962,11 @@ module Aws::States
2759
2962
  # execution.
2760
2963
  #
2761
2964
  # @!attribute [rw] resource_type
2762
- # The action of the resource called by a task state.
2965
+ # The service name of the resource in a task state.
2763
2966
  # @return [String]
2764
2967
  #
2765
2968
  # @!attribute [rw] resource
2766
- # The service name of the resource in a task state.
2969
+ # The action of the resource called by a task state.
2767
2970
  # @return [String]
2768
2971
  #
2769
2972
  # @!attribute [rw] error
@@ -2788,11 +2991,11 @@ module Aws::States
2788
2991
  # Contains details about a task submitted to a resource .
2789
2992
  #
2790
2993
  # @!attribute [rw] resource_type
2791
- # The action of the resource called by a task state.
2994
+ # The service name of the resource in a task state.
2792
2995
  # @return [String]
2793
2996
  #
2794
2997
  # @!attribute [rw] resource
2795
- # The service name of the resource in a task state.
2998
+ # The action of the resource called by a task state.
2796
2999
  # @return [String]
2797
3000
  #
2798
3001
  # @!attribute [rw] output
@@ -2819,11 +3022,11 @@ module Aws::States
2819
3022
  # Contains details about the successful completion of a task state.
2820
3023
  #
2821
3024
  # @!attribute [rw] resource_type
2822
- # The action of the resource called by a task state.
3025
+ # The service name of the resource in a task state.
2823
3026
  # @return [String]
2824
3027
  #
2825
3028
  # @!attribute [rw] resource
2826
- # The service name of the resource in a task state.
3029
+ # The action of the resource called by a task state.
2827
3030
  # @return [String]
2828
3031
  #
2829
3032
  # @!attribute [rw] output
@@ -2863,11 +3066,11 @@ module Aws::States
2863
3066
  # execution.
2864
3067
  #
2865
3068
  # @!attribute [rw] resource_type
2866
- # The action of the resource called by a task state.
3069
+ # The service name of the resource in a task state.
2867
3070
  # @return [String]
2868
3071
  #
2869
3072
  # @!attribute [rw] resource
2870
- # The service name of the resource in a task state.
3073
+ # The action of the resource called by a task state.
2871
3074
  # @return [String]
2872
3075
  #
2873
3076
  # @!attribute [rw] error
@@ -2890,7 +3093,7 @@ module Aws::States
2890
3093
  end
2891
3094
 
2892
3095
  # You've exceeded the number of tags allowed for a resource. See the [
2893
- # Limits Topic][1] in the AWS Step Functions Developer Guide.
3096
+ # Limits Topic][1] in the Step Functions Developer Guide.
2894
3097
  #
2895
3098
  #
2896
3099
  #
@@ -2911,18 +3114,11 @@ module Aws::States
2911
3114
  include Aws::Structure
2912
3115
  end
2913
3116
 
2914
- # Selects whether or not the state machine's AWS X-Ray tracing is
2915
- # enabled. Default is `false`
2916
- #
2917
- # @note When making an API call, you may pass TracingConfiguration
2918
- # data as a hash:
2919
- #
2920
- # {
2921
- # enabled: false,
2922
- # }
3117
+ # Selects whether or not the state machine's X-Ray tracing is enabled.
3118
+ # Default is `false`
2923
3119
  #
2924
3120
  # @!attribute [rw] enabled
2925
- # When set to `true`, AWS X-Ray tracing is enabled.
3121
+ # When set to `true`, X-Ray tracing is enabled.
2926
3122
  # @return [Boolean]
2927
3123
  #
2928
3124
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TracingConfiguration AWS API Documentation
@@ -2933,14 +3129,6 @@ module Aws::States
2933
3129
  include Aws::Structure
2934
3130
  end
2935
3131
 
2936
- # @note When making an API call, you may pass UntagResourceInput
2937
- # data as a hash:
2938
- #
2939
- # {
2940
- # resource_arn: "Arn", # required
2941
- # tag_keys: ["TagKey"], # required
2942
- # }
2943
- #
2944
3132
  # @!attribute [rw] resource_arn
2945
3133
  # The Amazon Resource Name (ARN) for the Step Functions state machine
2946
3134
  # or activity.
@@ -2963,29 +3151,38 @@ module Aws::States
2963
3151
  #
2964
3152
  class UntagResourceOutput < Aws::EmptyStructure; end
2965
3153
 
2966
- # @note When making an API call, you may pass UpdateStateMachineInput
2967
- # data as a hash:
2968
- #
2969
- # {
2970
- # state_machine_arn: "Arn", # required
2971
- # definition: "Definition",
2972
- # role_arn: "Arn",
2973
- # logging_configuration: {
2974
- # level: "ALL", # accepts ALL, ERROR, FATAL, OFF
2975
- # include_execution_data: false,
2976
- # destinations: [
2977
- # {
2978
- # cloud_watch_logs_log_group: {
2979
- # log_group_arn: "Arn",
2980
- # },
2981
- # },
2982
- # ],
2983
- # },
2984
- # tracing_configuration: {
2985
- # enabled: false,
2986
- # },
2987
- # }
3154
+ # @!attribute [rw] map_run_arn
3155
+ # The Amazon Resource Name (ARN) of a Map Run.
3156
+ # @return [String]
3157
+ #
3158
+ # @!attribute [rw] max_concurrency
3159
+ # The maximum number of child workflow executions that can be
3160
+ # specified to run in parallel for the Map Run at the same time.
3161
+ # @return [Integer]
2988
3162
  #
3163
+ # @!attribute [rw] tolerated_failure_percentage
3164
+ # The maximum percentage of failed items before the Map Run fails.
3165
+ # @return [Float]
3166
+ #
3167
+ # @!attribute [rw] tolerated_failure_count
3168
+ # The maximum number of failed items before the Map Run fails.
3169
+ # @return [Integer]
3170
+ #
3171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateMapRunInput AWS API Documentation
3172
+ #
3173
+ class UpdateMapRunInput < Struct.new(
3174
+ :map_run_arn,
3175
+ :max_concurrency,
3176
+ :tolerated_failure_percentage,
3177
+ :tolerated_failure_count)
3178
+ SENSITIVE = []
3179
+ include Aws::Structure
3180
+ end
3181
+
3182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateMapRunOutput AWS API Documentation
3183
+ #
3184
+ class UpdateMapRunOutput < Aws::EmptyStructure; end
3185
+
2989
3186
  # @!attribute [rw] state_machine_arn
2990
3187
  # The Amazon Resource Name (ARN) of the state machine.
2991
3188
  # @return [String]
@@ -3009,7 +3206,7 @@ module Aws::States
3009
3206
  # @return [Types::LoggingConfiguration]
3010
3207
  #
3011
3208
  # @!attribute [rw] tracing_configuration
3012
- # Selects whether AWS X-Ray tracing is enabled.
3209
+ # Selects whether X-Ray tracing is enabled.
3013
3210
  # @return [Types::TracingConfiguration]
3014
3211
  #
3015
3212
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
@@ -3036,5 +3233,25 @@ module Aws::States
3036
3233
  include Aws::Structure
3037
3234
  end
3038
3235
 
3236
+ # The input does not satisfy the constraints specified by an Amazon Web
3237
+ # Services service.
3238
+ #
3239
+ # @!attribute [rw] message
3240
+ # @return [String]
3241
+ #
3242
+ # @!attribute [rw] reason
3243
+ # The input does not satisfy the constraints specified by an Amazon
3244
+ # Web Services service.
3245
+ # @return [String]
3246
+ #
3247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ValidationException AWS API Documentation
3248
+ #
3249
+ class ValidationException < Struct.new(
3250
+ :message,
3251
+ :reason)
3252
+ SENSITIVE = []
3253
+ include Aws::Structure
3254
+ end
3255
+
3039
3256
  end
3040
3257
  end