aws-sdk-states 1.50.0 → 1.52.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,19 +268,6 @@ 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
273
  # your Amazon Web Services account and region for 90 days. For more
@@ -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
  #
@@ -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]
@@ -679,6 +601,19 @@ module Aws::States
679
601
  # The X-Ray trace header that was passed to the execution.
680
602
  # @return [String]
681
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.
615
+ # @return [String]
616
+ #
682
617
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
683
618
  #
684
619
  class DescribeExecutionOutput < Struct.new(
@@ -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]
635
+ include Aws::Structure
636
+ end
637
+
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 = []
697
647
  include Aws::Structure
698
648
  end
699
649
 
700
- # @note When making an API call, you may pass DescribeStateMachineForExecutionInput
701
- # data as a hash:
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]
702
658
  #
703
- # {
704
- # execution_arn: "Arn", # required
705
- # }
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]
706
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]
698
+ #
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeMapRunOutput AWS API Documentation
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.
@@ -755,6 +764,19 @@ module Aws::States
755
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]
@@ -847,6 +864,12 @@ module Aws::States
847
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
@@ -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]
@@ -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]
@@ -1650,14 +1683,6 @@ module Aws::States
1650
1683
  include Aws::Structure
1651
1684
  end
1652
1685
 
1653
- # @note When making an API call, you may pass ListActivitiesInput
1654
- # data as a hash:
1655
- #
1656
- # {
1657
- # max_results: 1,
1658
- # next_token: "PageToken",
1659
- # }
1660
- #
1661
1686
  # @!attribute [rw] max_results
1662
1687
  # The maximum number of results that are returned per call. You can
1663
1688
  # use `nextToken` to obtain further pages of results. The default is
@@ -1708,19 +1733,12 @@ module Aws::States
1708
1733
  include Aws::Structure
1709
1734
  end
1710
1735
 
1711
- # @note When making an API call, you may pass ListExecutionsInput
1712
- # data as a hash:
1713
- #
1714
- # {
1715
- # state_machine_arn: "Arn", # required
1716
- # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
1717
- # max_results: 1,
1718
- # next_token: "ListExecutionsPageToken",
1719
- # }
1720
- #
1721
1736
  # @!attribute [rw] state_machine_arn
1722
1737
  # The Amazon Resource Name (ARN) of the state machine whose executions
1723
1738
  # is listed.
1739
+ #
1740
+ # You can specify either a `mapRunArn` or a `stateMachineArn`, but not
1741
+ # both.
1724
1742
  # @return [String]
1725
1743
  #
1726
1744
  # @!attribute [rw] status_filter
@@ -1747,13 +1765,29 @@ module Aws::States
1747
1765
  # return an *HTTP 400 InvalidToken* error.
1748
1766
  # @return [String]
1749
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
+ #
1750
1783
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput AWS API Documentation
1751
1784
  #
1752
1785
  class ListExecutionsInput < Struct.new(
1753
1786
  :state_machine_arn,
1754
1787
  :status_filter,
1755
1788
  :max_results,
1756
- :next_token)
1789
+ :next_token,
1790
+ :map_run_arn)
1757
1791
  SENSITIVE = []
1758
1792
  include Aws::Structure
1759
1793
  end
@@ -1780,14 +1814,64 @@ module Aws::States
1780
1814
  include Aws::Structure
1781
1815
  end
1782
1816
 
1783
- # @note When making an API call, you may pass ListStateMachinesInput
1784
- # 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]
1785
1865
  #
1786
- # {
1787
- # max_results: 1,
1788
- # next_token: "PageToken",
1789
- # }
1866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListMapRunsOutput AWS API Documentation
1790
1867
  #
1868
+ class ListMapRunsOutput < Struct.new(
1869
+ :map_runs,
1870
+ :next_token)
1871
+ SENSITIVE = []
1872
+ include Aws::Structure
1873
+ end
1874
+
1791
1875
  # @!attribute [rw] max_results
1792
1876
  # The maximum number of results that are returned per call. You can
1793
1877
  # use `nextToken` to obtain further pages of results. The default is
@@ -1837,13 +1921,6 @@ module Aws::States
1837
1921
  include Aws::Structure
1838
1922
  end
1839
1923
 
1840
- # @note When making an API call, you may pass ListTagsForResourceInput
1841
- # data as a hash:
1842
- #
1843
- # {
1844
- # resource_arn: "Arn", # required
1845
- # }
1846
- #
1847
1924
  # @!attribute [rw] resource_arn
1848
1925
  # The Amazon Resource Name (ARN) for the Step Functions state machine
1849
1926
  # or activity.
@@ -1869,15 +1946,6 @@ module Aws::States
1869
1946
  include Aws::Structure
1870
1947
  end
1871
1948
 
1872
- # @note When making an API call, you may pass LogDestination
1873
- # data as a hash:
1874
- #
1875
- # {
1876
- # cloud_watch_logs_log_group: {
1877
- # log_group_arn: "Arn",
1878
- # },
1879
- # }
1880
- #
1881
1949
  # @!attribute [rw] cloud_watch_logs_log_group
1882
1950
  # An object describing a CloudWatch log group. For more information,
1883
1951
  # see [AWS::Logs::LogGroup][1] in the CloudFormation User Guide.
@@ -1898,21 +1966,6 @@ module Aws::States
1898
1966
  # The `LoggingConfiguration` data type is used to set CloudWatch Logs
1899
1967
  # options.
1900
1968
  #
1901
- # @note When making an API call, you may pass LoggingConfiguration
1902
- # data as a hash:
1903
- #
1904
- # {
1905
- # level: "ALL", # accepts ALL, ERROR, FATAL, OFF
1906
- # include_execution_data: false,
1907
- # destinations: [
1908
- # {
1909
- # cloud_watch_logs_log_group: {
1910
- # log_group_arn: "Arn",
1911
- # },
1912
- # },
1913
- # ],
1914
- # }
1915
- #
1916
1969
  # @!attribute [rw] level
1917
1970
  # Defines which category of execution history events are logged.
1918
1971
  # @return [String]
@@ -1957,6 +2010,204 @@ module Aws::States
1957
2010
  include Aws::Structure
1958
2011
  end
1959
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
+
1960
2211
  # Details about a Map state that was started.
1961
2212
  #
1962
2213
  # @!attribute [rw] length
@@ -2003,15 +2254,6 @@ module Aws::States
2003
2254
  include Aws::Structure
2004
2255
  end
2005
2256
 
2006
- # @note When making an API call, you may pass SendTaskFailureInput
2007
- # data as a hash:
2008
- #
2009
- # {
2010
- # task_token: "TaskToken", # required
2011
- # error: "SensitiveError",
2012
- # cause: "SensitiveCause",
2013
- # }
2014
- #
2015
2257
  # @!attribute [rw] task_token
2016
2258
  # The token that represents this task. Task tokens are generated by
2017
2259
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2045,13 +2287,6 @@ module Aws::States
2045
2287
  #
2046
2288
  class SendTaskFailureOutput < Aws::EmptyStructure; end
2047
2289
 
2048
- # @note When making an API call, you may pass SendTaskHeartbeatInput
2049
- # data as a hash:
2050
- #
2051
- # {
2052
- # task_token: "TaskToken", # required
2053
- # }
2054
- #
2055
2290
  # @!attribute [rw] task_token
2056
2291
  # The token that represents this task. Task tokens are generated by
2057
2292
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2075,14 +2310,6 @@ module Aws::States
2075
2310
  #
2076
2311
  class SendTaskHeartbeatOutput < Aws::EmptyStructure; end
2077
2312
 
2078
- # @note When making an API call, you may pass SendTaskSuccessInput
2079
- # data as a hash:
2080
- #
2081
- # {
2082
- # task_token: "TaskToken", # required
2083
- # output: "SensitiveData", # required
2084
- # }
2085
- #
2086
2313
  # @!attribute [rw] task_token
2087
2314
  # The token that represents this task. Task tokens are generated by
2088
2315
  # Step Functions when tasks are assigned to a worker, or in the
@@ -2112,16 +2339,6 @@ module Aws::States
2112
2339
  #
2113
2340
  class SendTaskSuccessOutput < Aws::EmptyStructure; end
2114
2341
 
2115
- # @note When making an API call, you may pass StartExecutionInput
2116
- # data as a hash:
2117
- #
2118
- # {
2119
- # state_machine_arn: "Arn", # required
2120
- # name: "Name",
2121
- # input: "SensitiveData",
2122
- # trace_header: "TraceHeader",
2123
- # }
2124
- #
2125
2342
  # @!attribute [rw] state_machine_arn
2126
2343
  # The Amazon Resource Name (ARN) of the state machine to execute.
2127
2344
  # @return [String]
@@ -2200,16 +2417,6 @@ module Aws::States
2200
2417
  include Aws::Structure
2201
2418
  end
2202
2419
 
2203
- # @note When making an API call, you may pass StartSyncExecutionInput
2204
- # data as a hash:
2205
- #
2206
- # {
2207
- # state_machine_arn: "Arn", # required
2208
- # name: "Name",
2209
- # input: "SensitiveData",
2210
- # trace_header: "TraceHeader",
2211
- # }
2212
- #
2213
2420
  # @!attribute [rw] state_machine_arn
2214
2421
  # The Amazon Resource Name (ARN) of the state machine to execute.
2215
2422
  # @return [String]
@@ -2509,15 +2716,6 @@ module Aws::States
2509
2716
  include Aws::Structure
2510
2717
  end
2511
2718
 
2512
- # @note When making an API call, you may pass StopExecutionInput
2513
- # data as a hash:
2514
- #
2515
- # {
2516
- # execution_arn: "Arn", # required
2517
- # error: "SensitiveError",
2518
- # cause: "SensitiveCause",
2519
- # }
2520
- #
2521
2719
  # @!attribute [rw] execution_arn
2522
2720
  # The Amazon Resource Name (ARN) of the execution to stop.
2523
2721
  # @return [String]
@@ -2567,14 +2765,6 @@ module Aws::States
2567
2765
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
2568
2766
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
2569
2767
  #
2570
- # @note When making an API call, you may pass Tag
2571
- # data as a hash:
2572
- #
2573
- # {
2574
- # key: "TagKey",
2575
- # value: "TagValue",
2576
- # }
2577
- #
2578
2768
  # @!attribute [rw] key
2579
2769
  # The key of a tag.
2580
2770
  # @return [String]
@@ -2592,19 +2782,6 @@ module Aws::States
2592
2782
  include Aws::Structure
2593
2783
  end
2594
2784
 
2595
- # @note When making an API call, you may pass TagResourceInput
2596
- # data as a hash:
2597
- #
2598
- # {
2599
- # resource_arn: "Arn", # required
2600
- # tags: [ # required
2601
- # {
2602
- # key: "TagKey",
2603
- # value: "TagValue",
2604
- # },
2605
- # ],
2606
- # }
2607
- #
2608
2785
  # @!attribute [rw] resource_arn
2609
2786
  # The Amazon Resource Name (ARN) for the Step Functions state machine
2610
2787
  # or activity.
@@ -2940,13 +3117,6 @@ module Aws::States
2940
3117
  # Selects whether or not the state machine's X-Ray tracing is enabled.
2941
3118
  # Default is `false`
2942
3119
  #
2943
- # @note When making an API call, you may pass TracingConfiguration
2944
- # data as a hash:
2945
- #
2946
- # {
2947
- # enabled: false,
2948
- # }
2949
- #
2950
3120
  # @!attribute [rw] enabled
2951
3121
  # When set to `true`, X-Ray tracing is enabled.
2952
3122
  # @return [Boolean]
@@ -2959,14 +3129,6 @@ module Aws::States
2959
3129
  include Aws::Structure
2960
3130
  end
2961
3131
 
2962
- # @note When making an API call, you may pass UntagResourceInput
2963
- # data as a hash:
2964
- #
2965
- # {
2966
- # resource_arn: "Arn", # required
2967
- # tag_keys: ["TagKey"], # required
2968
- # }
2969
- #
2970
3132
  # @!attribute [rw] resource_arn
2971
3133
  # The Amazon Resource Name (ARN) for the Step Functions state machine
2972
3134
  # or activity.
@@ -2989,29 +3151,38 @@ module Aws::States
2989
3151
  #
2990
3152
  class UntagResourceOutput < Aws::EmptyStructure; end
2991
3153
 
2992
- # @note When making an API call, you may pass UpdateStateMachineInput
2993
- # data as a hash:
2994
- #
2995
- # {
2996
- # state_machine_arn: "Arn", # required
2997
- # definition: "Definition",
2998
- # role_arn: "Arn",
2999
- # logging_configuration: {
3000
- # level: "ALL", # accepts ALL, ERROR, FATAL, OFF
3001
- # include_execution_data: false,
3002
- # destinations: [
3003
- # {
3004
- # cloud_watch_logs_log_group: {
3005
- # log_group_arn: "Arn",
3006
- # },
3007
- # },
3008
- # ],
3009
- # },
3010
- # tracing_configuration: {
3011
- # enabled: false,
3012
- # },
3013
- # }
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]
3162
+ #
3163
+ # @!attribute [rw] tolerated_failure_percentage
3164
+ # The maximum percentage of failed items before the Map Run fails.
3165
+ # @return [Float]
3014
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
+
3015
3186
  # @!attribute [rw] state_machine_arn
3016
3187
  # The Amazon Resource Name (ARN) of the state machine.
3017
3188
  # @return [String]
@@ -3062,5 +3233,25 @@ module Aws::States
3062
3233
  include Aws::Structure
3063
3234
  end
3064
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
+
3065
3256
  end
3066
3257
  end