aws-sdk-states 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-states.rb +1 -1
- data/lib/aws-sdk-states/client.rb +162 -90
- data/lib/aws-sdk-states/client_api.rb +102 -40
- data/lib/aws-sdk-states/types.rb +358 -120
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6064af56a74cb1323dc0fa7bf8837008534c2c0a
|
4
|
+
data.tar.gz: 7e420f4adf382039002ef471da37b00766178d62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3183ae40988defd73d0b58297b17178e8d18d26cb6198dc862deaceab206716f214f3f6db900a8e969e53fea603db5572d089ea922eabff9bc2f90c53968e8ed
|
7
|
+
data.tar.gz: 27783874779ca9ba4a882f7ea7386d2e0d62a74ea04c263901669c13fd7475d220b5b4ff6cb81a73f9eaf0c6961ddf33d9bbdea707f486f456a9a5b1b245a567
|
data/lib/aws-sdk-states.rb
CHANGED
@@ -215,8 +215,8 @@ module Aws::States
|
|
215
215
|
|
216
216
|
# @!group API Operations
|
217
217
|
|
218
|
-
# Creates an activity. An activity is a task
|
219
|
-
# programming language and host on any machine
|
218
|
+
# Creates an activity. An activity is a task that you write in any
|
219
|
+
# programming language and host on any machine that has access to AWS
|
220
220
|
# Step Functions. Activities must poll Step Functions using the
|
221
221
|
# `GetActivityTask` API action and respond using `SendTask*` API
|
222
222
|
# actions. This function lets Step Functions know the existence of your
|
@@ -277,10 +277,7 @@ module Aws::States
|
|
277
277
|
# JSON-based, structured language.
|
278
278
|
#
|
279
279
|
# @option params [required, String] :name
|
280
|
-
# The name of the state machine.
|
281
|
-
# account and region for 90 days. For more information, see [ Limits
|
282
|
-
# Related to State Machine Executions][1] in the *AWS Step Functions
|
283
|
-
# Developer Guide*.
|
280
|
+
# The name of the state machine.
|
284
281
|
#
|
285
282
|
# A name must *not* contain:
|
286
283
|
#
|
@@ -294,12 +291,13 @@ module Aws::States
|
|
294
291
|
#
|
295
292
|
# * control characters (`U+0000-001F`, `U+007F-009F`)
|
296
293
|
#
|
294
|
+
# @option params [required, String] :definition
|
295
|
+
# The Amazon States Language definition of the state machine. See
|
296
|
+
# [Amazon States Language][1].
|
297
297
|
#
|
298
298
|
#
|
299
|
-
# [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
|
300
299
|
#
|
301
|
-
#
|
302
|
-
# The Amazon States Language definition of the state machine.
|
300
|
+
# [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
303
301
|
#
|
304
302
|
# @option params [required, String] :role_arn
|
305
303
|
# The Amazon Resource Name (ARN) of the IAM role to use for this state
|
@@ -386,6 +384,11 @@ module Aws::States
|
|
386
384
|
|
387
385
|
# Describes an activity.
|
388
386
|
#
|
387
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
388
|
+
# and may not reflect very recent updates and changes.
|
389
|
+
#
|
390
|
+
# </note>
|
391
|
+
#
|
389
392
|
# @option params [required, String] :activity_arn
|
390
393
|
# The Amazon Resource Name (ARN) of the activity to describe.
|
391
394
|
#
|
@@ -418,6 +421,11 @@ module Aws::States
|
|
418
421
|
|
419
422
|
# Describes an execution.
|
420
423
|
#
|
424
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
425
|
+
# and may not reflect very recent updates and changes.
|
426
|
+
#
|
427
|
+
# </note>
|
428
|
+
#
|
421
429
|
# @option params [required, String] :execution_arn
|
422
430
|
# The Amazon Resource Name (ARN) of the execution to describe.
|
423
431
|
#
|
@@ -460,6 +468,11 @@ module Aws::States
|
|
460
468
|
|
461
469
|
# Describes a state machine.
|
462
470
|
#
|
471
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
472
|
+
# and may not reflect very recent updates and changes.
|
473
|
+
#
|
474
|
+
# </note>
|
475
|
+
#
|
463
476
|
# @option params [required, String] :state_machine_arn
|
464
477
|
# The Amazon Resource Name (ARN) of the state machine to describe.
|
465
478
|
#
|
@@ -498,6 +511,11 @@ module Aws::States
|
|
498
511
|
|
499
512
|
# Describes the state machine associated with a specific execution.
|
500
513
|
#
|
514
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
515
|
+
# and may not reflect very recent updates and changes.
|
516
|
+
#
|
517
|
+
# </note>
|
518
|
+
#
|
501
519
|
# @option params [required, String] :execution_arn
|
502
520
|
# The Amazon Resource Name (ARN) of the execution you want state machine
|
503
521
|
# information for.
|
@@ -546,6 +564,14 @@ module Aws::States
|
|
546
564
|
# seconds (5 seconds higher than the maximum time the service may hold
|
547
565
|
# the poll request).
|
548
566
|
#
|
567
|
+
# Polling with `GetActivityTask` can cause latency in some
|
568
|
+
# implementations. See [Avoid Latency When Polling for Activity
|
569
|
+
# Tasks][1] in the Step Functions Developer Guide.
|
570
|
+
#
|
571
|
+
#
|
572
|
+
#
|
573
|
+
# [1]: http://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html
|
574
|
+
#
|
549
575
|
# @option params [required, String] :activity_arn
|
550
576
|
# The Amazon Resource Name (ARN) of the activity to retrieve tasks from
|
551
577
|
# (assigned when you create the task using CreateActivity.)
|
@@ -586,10 +612,12 @@ module Aws::States
|
|
586
612
|
# `timeStamp` of the events. Use the `reverseOrder` parameter to get the
|
587
613
|
# latest events first.
|
588
614
|
#
|
589
|
-
# If
|
590
|
-
#
|
591
|
-
# again using the returned token
|
592
|
-
# arguments unchanged.
|
615
|
+
# If `nextToken` is returned, there are more results available. The
|
616
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
617
|
+
# the call again using the returned token to retrieve the next page.
|
618
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
619
|
+
# after 60 seconds. Using an expired pagination token will return an
|
620
|
+
# *HTTP 400 InvalidToken* error.
|
593
621
|
#
|
594
622
|
# @option params [required, String] :execution_arn
|
595
623
|
# The Amazon Resource Name (ARN) of the execution.
|
@@ -597,7 +625,7 @@ module Aws::States
|
|
597
625
|
# @option params [Integer] :max_results
|
598
626
|
# The maximum number of results that are returned per call. You can use
|
599
627
|
# `nextToken` to obtain further pages of results. The default is 100 and
|
600
|
-
# the maximum allowed page size is
|
628
|
+
# the maximum allowed page size is 1000. A value of 0 uses the default.
|
601
629
|
#
|
602
630
|
# This is only an upper limit. The actual number of results returned per
|
603
631
|
# call might be fewer than the specified maximum.
|
@@ -606,13 +634,12 @@ module Aws::States
|
|
606
634
|
# Lists events in descending order of their `timeStamp`.
|
607
635
|
#
|
608
636
|
# @option params [String] :next_token
|
609
|
-
# If
|
610
|
-
#
|
611
|
-
# again using the returned token
|
612
|
-
# arguments unchanged.
|
613
|
-
#
|
614
|
-
#
|
615
|
-
# returned in a single call.
|
637
|
+
# If `nextToken` is returned, there are more results available. The
|
638
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
639
|
+
# the call again using the returned token to retrieve the next page.
|
640
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
641
|
+
# after 60 seconds. Using an expired pagination token will return an
|
642
|
+
# *HTTP 400 InvalidToken* error.
|
616
643
|
#
|
617
644
|
# @return [Types::GetExecutionHistoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
618
645
|
#
|
@@ -632,7 +659,7 @@ module Aws::States
|
|
632
659
|
#
|
633
660
|
# resp.events #=> Array
|
634
661
|
# resp.events[0].timestamp #=> Time
|
635
|
-
# resp.events[0].type #=> String, one of "ActivityFailed", "ActivityScheduleFailed", "ActivityScheduled", "ActivityStarted", "ActivitySucceeded", "ActivityTimedOut", "ChoiceStateEntered", "ChoiceStateExited", "ExecutionFailed", "ExecutionStarted", "ExecutionSucceeded", "ExecutionAborted", "ExecutionTimedOut", "FailStateEntered", "LambdaFunctionFailed", "LambdaFunctionScheduleFailed", "LambdaFunctionScheduled", "LambdaFunctionStartFailed", "LambdaFunctionStarted", "LambdaFunctionSucceeded", "LambdaFunctionTimedOut", "SucceedStateEntered", "SucceedStateExited", "TaskStateAborted", "TaskStateEntered", "TaskStateExited", "PassStateEntered", "PassStateExited", "ParallelStateAborted", "ParallelStateEntered", "ParallelStateExited", "ParallelStateFailed", "ParallelStateStarted", "ParallelStateSucceeded", "WaitStateAborted", "WaitStateEntered", "WaitStateExited"
|
662
|
+
# resp.events[0].type #=> String, one of "ActivityFailed", "ActivityScheduleFailed", "ActivityScheduled", "ActivityStarted", "ActivitySucceeded", "ActivityTimedOut", "ChoiceStateEntered", "ChoiceStateExited", "TaskFailed", "TaskScheduled", "TaskStartFailed", "TaskStarted", "TaskSubmitFailed", "TaskSubmitted", "TaskSucceeded", "TaskTimedOut", "ExecutionFailed", "ExecutionStarted", "ExecutionSucceeded", "ExecutionAborted", "ExecutionTimedOut", "FailStateEntered", "LambdaFunctionFailed", "LambdaFunctionScheduleFailed", "LambdaFunctionScheduled", "LambdaFunctionStartFailed", "LambdaFunctionStarted", "LambdaFunctionSucceeded", "LambdaFunctionTimedOut", "SucceedStateEntered", "SucceedStateExited", "TaskStateAborted", "TaskStateEntered", "TaskStateExited", "PassStateEntered", "PassStateExited", "ParallelStateAborted", "ParallelStateEntered", "ParallelStateExited", "ParallelStateFailed", "ParallelStateStarted", "ParallelStateSucceeded", "WaitStateAborted", "WaitStateEntered", "WaitStateExited"
|
636
663
|
# resp.events[0].id #=> Integer
|
637
664
|
# resp.events[0].previous_event_id #=> Integer
|
638
665
|
# resp.events[0].activity_failed_event_details.error #=> String
|
@@ -647,6 +674,35 @@ module Aws::States
|
|
647
674
|
# resp.events[0].activity_succeeded_event_details.output #=> String
|
648
675
|
# resp.events[0].activity_timed_out_event_details.error #=> String
|
649
676
|
# resp.events[0].activity_timed_out_event_details.cause #=> String
|
677
|
+
# resp.events[0].task_failed_event_details.resource_type #=> String
|
678
|
+
# resp.events[0].task_failed_event_details.resource #=> String
|
679
|
+
# resp.events[0].task_failed_event_details.error #=> String
|
680
|
+
# resp.events[0].task_failed_event_details.cause #=> String
|
681
|
+
# resp.events[0].task_scheduled_event_details.resource_type #=> String
|
682
|
+
# resp.events[0].task_scheduled_event_details.resource #=> String
|
683
|
+
# resp.events[0].task_scheduled_event_details.region #=> String
|
684
|
+
# resp.events[0].task_scheduled_event_details.parameters #=> String
|
685
|
+
# resp.events[0].task_scheduled_event_details.timeout_in_seconds #=> Integer
|
686
|
+
# resp.events[0].task_start_failed_event_details.resource_type #=> String
|
687
|
+
# resp.events[0].task_start_failed_event_details.resource #=> String
|
688
|
+
# resp.events[0].task_start_failed_event_details.error #=> String
|
689
|
+
# resp.events[0].task_start_failed_event_details.cause #=> String
|
690
|
+
# resp.events[0].task_started_event_details.resource_type #=> String
|
691
|
+
# resp.events[0].task_started_event_details.resource #=> String
|
692
|
+
# resp.events[0].task_submit_failed_event_details.resource_type #=> String
|
693
|
+
# resp.events[0].task_submit_failed_event_details.resource #=> String
|
694
|
+
# resp.events[0].task_submit_failed_event_details.error #=> String
|
695
|
+
# resp.events[0].task_submit_failed_event_details.cause #=> String
|
696
|
+
# resp.events[0].task_submitted_event_details.resource_type #=> String
|
697
|
+
# resp.events[0].task_submitted_event_details.resource #=> String
|
698
|
+
# resp.events[0].task_submitted_event_details.output #=> String
|
699
|
+
# resp.events[0].task_succeeded_event_details.resource_type #=> String
|
700
|
+
# resp.events[0].task_succeeded_event_details.resource #=> String
|
701
|
+
# resp.events[0].task_succeeded_event_details.output #=> String
|
702
|
+
# resp.events[0].task_timed_out_event_details.resource_type #=> String
|
703
|
+
# resp.events[0].task_timed_out_event_details.resource #=> String
|
704
|
+
# resp.events[0].task_timed_out_event_details.error #=> String
|
705
|
+
# resp.events[0].task_timed_out_event_details.cause #=> String
|
650
706
|
# resp.events[0].execution_failed_event_details.error #=> String
|
651
707
|
# resp.events[0].execution_failed_event_details.cause #=> String
|
652
708
|
# resp.events[0].execution_started_event_details.input #=> String
|
@@ -685,27 +741,33 @@ module Aws::States
|
|
685
741
|
|
686
742
|
# Lists the existing activities.
|
687
743
|
#
|
688
|
-
# If
|
689
|
-
#
|
690
|
-
# again using the returned token
|
691
|
-
# arguments unchanged.
|
744
|
+
# If `nextToken` is returned, there are more results available. The
|
745
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
746
|
+
# the call again using the returned token to retrieve the next page.
|
747
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
748
|
+
# after 60 seconds. Using an expired pagination token will return an
|
749
|
+
# *HTTP 400 InvalidToken* error.
|
750
|
+
#
|
751
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
752
|
+
# and may not reflect very recent updates and changes.
|
753
|
+
#
|
754
|
+
# </note>
|
692
755
|
#
|
693
756
|
# @option params [Integer] :max_results
|
694
757
|
# The maximum number of results that are returned per call. You can use
|
695
758
|
# `nextToken` to obtain further pages of results. The default is 100 and
|
696
|
-
# the maximum allowed page size is
|
759
|
+
# the maximum allowed page size is 1000. A value of 0 uses the default.
|
697
760
|
#
|
698
761
|
# This is only an upper limit. The actual number of results returned per
|
699
762
|
# call might be fewer than the specified maximum.
|
700
763
|
#
|
701
764
|
# @option params [String] :next_token
|
702
|
-
# If
|
703
|
-
#
|
704
|
-
# again using the returned token
|
705
|
-
# arguments unchanged.
|
706
|
-
#
|
707
|
-
#
|
708
|
-
# returned in a single call.
|
765
|
+
# If `nextToken` is returned, there are more results available. The
|
766
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
767
|
+
# the call again using the returned token to retrieve the next page.
|
768
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
769
|
+
# after 60 seconds. Using an expired pagination token will return an
|
770
|
+
# *HTTP 400 InvalidToken* error.
|
709
771
|
#
|
710
772
|
# @return [Types::ListActivitiesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
711
773
|
#
|
@@ -737,12 +799,20 @@ module Aws::States
|
|
737
799
|
end
|
738
800
|
|
739
801
|
# Lists the executions of a state machine that meet the filtering
|
740
|
-
# criteria.
|
802
|
+
# criteria. Results are sorted by time, with the most recent execution
|
803
|
+
# first.
|
804
|
+
#
|
805
|
+
# If `nextToken` is returned, there are more results available. The
|
806
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
807
|
+
# the call again using the returned token to retrieve the next page.
|
808
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
809
|
+
# after 60 seconds. Using an expired pagination token will return an
|
810
|
+
# *HTTP 400 InvalidToken* error.
|
741
811
|
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
812
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
813
|
+
# and may not reflect very recent updates and changes.
|
814
|
+
#
|
815
|
+
# </note>
|
746
816
|
#
|
747
817
|
# @option params [required, String] :state_machine_arn
|
748
818
|
# The Amazon Resource Name (ARN) of the state machine whose executions
|
@@ -755,19 +825,18 @@ module Aws::States
|
|
755
825
|
# @option params [Integer] :max_results
|
756
826
|
# The maximum number of results that are returned per call. You can use
|
757
827
|
# `nextToken` to obtain further pages of results. The default is 100 and
|
758
|
-
# the maximum allowed page size is
|
828
|
+
# the maximum allowed page size is 1000. A value of 0 uses the default.
|
759
829
|
#
|
760
830
|
# This is only an upper limit. The actual number of results returned per
|
761
831
|
# call might be fewer than the specified maximum.
|
762
832
|
#
|
763
833
|
# @option params [String] :next_token
|
764
|
-
# If
|
765
|
-
#
|
766
|
-
# again using the returned token
|
767
|
-
# arguments unchanged.
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# returned in a single call.
|
834
|
+
# If `nextToken` is returned, there are more results available. The
|
835
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
836
|
+
# the call again using the returned token to retrieve the next page.
|
837
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
838
|
+
# after 60 seconds. Using an expired pagination token will return an
|
839
|
+
# *HTTP 400 InvalidToken* error.
|
771
840
|
#
|
772
841
|
# @return [Types::ListExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
773
842
|
#
|
@@ -805,27 +874,33 @@ module Aws::States
|
|
805
874
|
|
806
875
|
# Lists the existing state machines.
|
807
876
|
#
|
808
|
-
# If
|
809
|
-
#
|
810
|
-
# again using the returned token
|
811
|
-
# arguments unchanged.
|
877
|
+
# If `nextToken` is returned, there are more results available. The
|
878
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
879
|
+
# the call again using the returned token to retrieve the next page.
|
880
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
881
|
+
# after 60 seconds. Using an expired pagination token will return an
|
882
|
+
# *HTTP 400 InvalidToken* error.
|
883
|
+
#
|
884
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
885
|
+
# and may not reflect very recent updates and changes.
|
886
|
+
#
|
887
|
+
# </note>
|
812
888
|
#
|
813
889
|
# @option params [Integer] :max_results
|
814
890
|
# The maximum number of results that are returned per call. You can use
|
815
891
|
# `nextToken` to obtain further pages of results. The default is 100 and
|
816
|
-
# the maximum allowed page size is
|
892
|
+
# the maximum allowed page size is 1000. A value of 0 uses the default.
|
817
893
|
#
|
818
894
|
# This is only an upper limit. The actual number of results returned per
|
819
895
|
# call might be fewer than the specified maximum.
|
820
896
|
#
|
821
897
|
# @option params [String] :next_token
|
822
|
-
# If
|
823
|
-
#
|
824
|
-
# again using the returned token
|
825
|
-
# arguments unchanged.
|
826
|
-
#
|
827
|
-
#
|
828
|
-
# returned in a single call.
|
898
|
+
# If `nextToken` is returned, there are more results available. The
|
899
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
900
|
+
# the call again using the returned token to retrieve the next page.
|
901
|
+
# Keep all other arguments unchanged. Each pagination token expires
|
902
|
+
# after 60 seconds. Using an expired pagination token will return an
|
903
|
+
# *HTTP 400 InvalidToken* error.
|
829
904
|
#
|
830
905
|
# @return [Types::ListStateMachinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
831
906
|
#
|
@@ -865,7 +940,7 @@ module Aws::States
|
|
865
940
|
# GetActivityTask::taskToken).
|
866
941
|
#
|
867
942
|
# @option params [String] :error
|
868
|
-
#
|
943
|
+
# The error code of the failure.
|
869
944
|
#
|
870
945
|
# @option params [String] :cause
|
871
946
|
# A more detailed explanation of the cause of the failure.
|
@@ -876,8 +951,8 @@ module Aws::States
|
|
876
951
|
#
|
877
952
|
# resp = client.send_task_failure({
|
878
953
|
# task_token: "TaskToken", # required
|
879
|
-
# error: "
|
880
|
-
# cause: "
|
954
|
+
# error: "SensitiveError",
|
955
|
+
# cause: "SensitiveCause",
|
881
956
|
# })
|
882
957
|
#
|
883
958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure AWS API Documentation
|
@@ -947,7 +1022,7 @@ module Aws::States
|
|
947
1022
|
#
|
948
1023
|
# resp = client.send_task_success({
|
949
1024
|
# task_token: "TaskToken", # required
|
950
|
-
# output: "
|
1025
|
+
# output: "SensitiveData", # required
|
951
1026
|
# })
|
952
1027
|
#
|
953
1028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess AWS API Documentation
|
@@ -961,6 +1036,14 @@ module Aws::States
|
|
961
1036
|
|
962
1037
|
# Starts a state machine execution.
|
963
1038
|
#
|
1039
|
+
# <note markdown="1"> `StartExecution` is idempotent. If `StartExecution` is called with the
|
1040
|
+
# same name and input as a running execution, the call will succeed and
|
1041
|
+
# return the same response as the original request. If the execution is
|
1042
|
+
# closed or if the input is different, it will return a 400
|
1043
|
+
# `ExecutionAlreadyExists` error. Names can be reused after 90 days.
|
1044
|
+
#
|
1045
|
+
# </note>
|
1046
|
+
#
|
964
1047
|
# @option params [required, String] :state_machine_arn
|
965
1048
|
# The Amazon Resource Name (ARN) of the state machine to execute.
|
966
1049
|
#
|
@@ -970,22 +1053,6 @@ module Aws::States
|
|
970
1053
|
# Related to State Machine Executions][1] in the *AWS Step Functions
|
971
1054
|
# Developer Guide*.
|
972
1055
|
#
|
973
|
-
# An execution can't use the name of another execution for 90 days.
|
974
|
-
#
|
975
|
-
# When you make multiple `StartExecution` calls with the same name, the
|
976
|
-
# new execution doesn't run and the following rules apply:
|
977
|
-
#
|
978
|
-
# * When the original execution is open and the execution input from
|
979
|
-
# the
|
980
|
-
# new call is *different*, the `ExecutionAlreadyExists` message is
|
981
|
-
# returned.
|
982
|
-
#
|
983
|
-
# * When the original execution is open and the execution input from the
|
984
|
-
# new call is *identical*, the `Success` message is returned.
|
985
|
-
#
|
986
|
-
# * When the original execution is closed, the `ExecutionAlreadyExists`
|
987
|
-
# message is returned regardless of input.
|
988
|
-
#
|
989
1056
|
# A name must *not* contain:
|
990
1057
|
#
|
991
1058
|
# * whitespace
|
@@ -1023,7 +1090,7 @@ module Aws::States
|
|
1023
1090
|
# resp = client.start_execution({
|
1024
1091
|
# state_machine_arn: "Arn", # required
|
1025
1092
|
# name: "Name",
|
1026
|
-
# input: "
|
1093
|
+
# input: "SensitiveData",
|
1027
1094
|
# })
|
1028
1095
|
#
|
1029
1096
|
# @example Response structure
|
@@ -1046,10 +1113,10 @@ module Aws::States
|
|
1046
1113
|
# The Amazon Resource Name (ARN) of the execution to stop.
|
1047
1114
|
#
|
1048
1115
|
# @option params [String] :error
|
1049
|
-
#
|
1116
|
+
# The error code of the failure.
|
1050
1117
|
#
|
1051
1118
|
# @option params [String] :cause
|
1052
|
-
# A more detailed explanation of the cause of the
|
1119
|
+
# A more detailed explanation of the cause of the failure.
|
1053
1120
|
#
|
1054
1121
|
# @return [Types::StopExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1055
1122
|
#
|
@@ -1059,8 +1126,8 @@ module Aws::States
|
|
1059
1126
|
#
|
1060
1127
|
# resp = client.stop_execution({
|
1061
1128
|
# execution_arn: "Arn", # required
|
1062
|
-
# error: "
|
1063
|
-
# cause: "
|
1129
|
+
# error: "SensitiveError",
|
1130
|
+
# cause: "SensitiveCause",
|
1064
1131
|
# })
|
1065
1132
|
#
|
1066
1133
|
# @example Response structure
|
@@ -1078,14 +1145,14 @@ module Aws::States
|
|
1078
1145
|
|
1079
1146
|
# Updates an existing state machine by modifying its `definition` and/or
|
1080
1147
|
# `roleArn`. Running executions will continue to use the previous
|
1081
|
-
# `definition` and `roleArn`.
|
1148
|
+
# `definition` and `roleArn`. You must include at least one of
|
1149
|
+
# `definition` or `roleArn` or you will receive a
|
1150
|
+
# `MissingRequiredParameter` error.
|
1082
1151
|
#
|
1083
1152
|
# <note markdown="1"> All `StartExecution` calls within a few seconds will use the updated
|
1084
1153
|
# `definition` and `roleArn`. Executions started immediately after
|
1085
1154
|
# calling `UpdateStateMachine` may use the previous state machine
|
1086
|
-
# `definition` and `roleArn`.
|
1087
|
-
# `definition` or `roleArn` or you will receive a
|
1088
|
-
# `MissingRequiredParameter` error.
|
1155
|
+
# `definition` and `roleArn`.
|
1089
1156
|
#
|
1090
1157
|
# </note>
|
1091
1158
|
#
|
@@ -1093,7 +1160,12 @@ module Aws::States
|
|
1093
1160
|
# The Amazon Resource Name (ARN) of the state machine.
|
1094
1161
|
#
|
1095
1162
|
# @option params [String] :definition
|
1096
|
-
# The Amazon States Language definition of the state machine.
|
1163
|
+
# The Amazon States Language definition of the state machine. See
|
1164
|
+
# [Amazon States Language][1].
|
1165
|
+
#
|
1166
|
+
#
|
1167
|
+
#
|
1168
|
+
# [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
1097
1169
|
#
|
1098
1170
|
# @option params [String] :role_arn
|
1099
1171
|
# The Amazon Resource Name (ARN) of the IAM role of the state machine.
|
@@ -1136,7 +1208,7 @@ module Aws::States
|
|
1136
1208
|
params: params,
|
1137
1209
|
config: config)
|
1138
1210
|
context[:gem_name] = 'aws-sdk-states'
|
1139
|
-
context[:gem_version] = '1.
|
1211
|
+
context[:gem_version] = '1.9.0'
|
1140
1212
|
Seahorse::Client::Request.new(handlers, context)
|
1141
1213
|
end
|
1142
1214
|
|