aws-sdk-states 1.50.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +257 -12
- data/lib/aws-sdk-states/client_api.rb +148 -1
- data/lib/aws-sdk-states/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-states/endpoint_provider.rb +80 -81
- data/lib/aws-sdk-states/endpoints.rb +42 -0
- data/lib/aws-sdk-states/errors.rb +21 -0
- data/lib/aws-sdk-states/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-states/types.rb +479 -288
- data/lib/aws-sdk-states.rb +1 -1
- metadata +2 -2
@@ -44,6 +44,8 @@ module Aws::States
|
|
44
44
|
DescribeActivityOutput = Shapes::StructureShape.new(name: 'DescribeActivityOutput')
|
45
45
|
DescribeExecutionInput = Shapes::StructureShape.new(name: 'DescribeExecutionInput')
|
46
46
|
DescribeExecutionOutput = Shapes::StructureShape.new(name: 'DescribeExecutionOutput')
|
47
|
+
DescribeMapRunInput = Shapes::StructureShape.new(name: 'DescribeMapRunInput')
|
48
|
+
DescribeMapRunOutput = Shapes::StructureShape.new(name: 'DescribeMapRunOutput')
|
47
49
|
DescribeStateMachineForExecutionInput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionInput')
|
48
50
|
DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
|
49
51
|
DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
|
@@ -92,6 +94,8 @@ module Aws::States
|
|
92
94
|
ListExecutionsInput = Shapes::StructureShape.new(name: 'ListExecutionsInput')
|
93
95
|
ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
|
94
96
|
ListExecutionsPageToken = Shapes::StringShape.new(name: 'ListExecutionsPageToken')
|
97
|
+
ListMapRunsInput = Shapes::StructureShape.new(name: 'ListMapRunsInput')
|
98
|
+
ListMapRunsOutput = Shapes::StructureShape.new(name: 'ListMapRunsOutput')
|
95
99
|
ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
|
96
100
|
ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
|
97
101
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
@@ -102,7 +106,16 @@ module Aws::States
|
|
102
106
|
LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
|
103
107
|
LongArn = Shapes::StringShape.new(name: 'LongArn')
|
104
108
|
MapIterationEventDetails = Shapes::StructureShape.new(name: 'MapIterationEventDetails')
|
109
|
+
MapRunExecutionCounts = Shapes::StructureShape.new(name: 'MapRunExecutionCounts')
|
110
|
+
MapRunFailedEventDetails = Shapes::StructureShape.new(name: 'MapRunFailedEventDetails')
|
111
|
+
MapRunItemCounts = Shapes::StructureShape.new(name: 'MapRunItemCounts')
|
112
|
+
MapRunLabel = Shapes::StringShape.new(name: 'MapRunLabel')
|
113
|
+
MapRunList = Shapes::ListShape.new(name: 'MapRunList')
|
114
|
+
MapRunListItem = Shapes::StructureShape.new(name: 'MapRunListItem')
|
115
|
+
MapRunStartedEventDetails = Shapes::StructureShape.new(name: 'MapRunStartedEventDetails')
|
116
|
+
MapRunStatus = Shapes::StringShape.new(name: 'MapRunStatus')
|
105
117
|
MapStateStartedEventDetails = Shapes::StructureShape.new(name: 'MapStateStartedEventDetails')
|
118
|
+
MaxConcurrency = Shapes::IntegerShape.new(name: 'MaxConcurrency')
|
106
119
|
MissingRequiredParameter = Shapes::StructureShape.new(name: 'MissingRequiredParameter')
|
107
120
|
Name = Shapes::StringShape.new(name: 'Name')
|
108
121
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
@@ -158,14 +171,21 @@ module Aws::States
|
|
158
171
|
TaskToken = Shapes::StringShape.new(name: 'TaskToken')
|
159
172
|
TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
|
160
173
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
174
|
+
ToleratedFailureCount = Shapes::IntegerShape.new(name: 'ToleratedFailureCount')
|
175
|
+
ToleratedFailurePercentage = Shapes::FloatShape.new(name: 'ToleratedFailurePercentage')
|
161
176
|
TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
|
162
177
|
TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
|
163
178
|
TracingConfiguration = Shapes::StructureShape.new(name: 'TracingConfiguration')
|
164
179
|
UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
|
180
|
+
UnsignedLong = Shapes::IntegerShape.new(name: 'UnsignedLong')
|
165
181
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
166
182
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
183
|
+
UpdateMapRunInput = Shapes::StructureShape.new(name: 'UpdateMapRunInput')
|
184
|
+
UpdateMapRunOutput = Shapes::StructureShape.new(name: 'UpdateMapRunOutput')
|
167
185
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
168
186
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
187
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
188
|
+
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
169
189
|
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
170
190
|
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
171
191
|
|
@@ -274,8 +294,26 @@ module Aws::States
|
|
274
294
|
DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
275
295
|
DescribeExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
|
276
296
|
DescribeExecutionOutput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
|
297
|
+
DescribeExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
298
|
+
DescribeExecutionOutput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
299
|
+
DescribeExecutionOutput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
277
300
|
DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
|
278
301
|
|
302
|
+
DescribeMapRunInput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "mapRunArn"))
|
303
|
+
DescribeMapRunInput.struct_class = Types::DescribeMapRunInput
|
304
|
+
|
305
|
+
DescribeMapRunOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "mapRunArn"))
|
306
|
+
DescribeMapRunOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
307
|
+
DescribeMapRunOutput.add_member(:status, Shapes::ShapeRef.new(shape: MapRunStatus, required: true, location_name: "status"))
|
308
|
+
DescribeMapRunOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
309
|
+
DescribeMapRunOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
310
|
+
DescribeMapRunOutput.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, required: true, location_name: "maxConcurrency"))
|
311
|
+
DescribeMapRunOutput.add_member(:tolerated_failure_percentage, Shapes::ShapeRef.new(shape: ToleratedFailurePercentage, required: true, location_name: "toleratedFailurePercentage"))
|
312
|
+
DescribeMapRunOutput.add_member(:tolerated_failure_count, Shapes::ShapeRef.new(shape: ToleratedFailureCount, required: true, location_name: "toleratedFailureCount"))
|
313
|
+
DescribeMapRunOutput.add_member(:item_counts, Shapes::ShapeRef.new(shape: MapRunItemCounts, required: true, location_name: "itemCounts"))
|
314
|
+
DescribeMapRunOutput.add_member(:execution_counts, Shapes::ShapeRef.new(shape: MapRunExecutionCounts, required: true, location_name: "executionCounts"))
|
315
|
+
DescribeMapRunOutput.struct_class = Types::DescribeMapRunOutput
|
316
|
+
|
279
317
|
DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
280
318
|
DescribeStateMachineForExecutionInput.struct_class = Types::DescribeStateMachineForExecutionInput
|
281
319
|
|
@@ -286,6 +324,8 @@ module Aws::States
|
|
286
324
|
DescribeStateMachineForExecutionOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
287
325
|
DescribeStateMachineForExecutionOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
288
326
|
DescribeStateMachineForExecutionOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
327
|
+
DescribeStateMachineForExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
328
|
+
DescribeStateMachineForExecutionOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
|
289
329
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
290
330
|
|
291
331
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -300,6 +340,7 @@ module Aws::States
|
|
300
340
|
DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
301
341
|
DescribeStateMachineOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
302
342
|
DescribeStateMachineOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
343
|
+
DescribeStateMachineOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
|
303
344
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
304
345
|
|
305
346
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -327,6 +368,8 @@ module Aws::States
|
|
327
368
|
ExecutionListItem.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
|
328
369
|
ExecutionListItem.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
329
370
|
ExecutionListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
371
|
+
ExecutionListItem.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
372
|
+
ExecutionListItem.add_member(:item_count, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "itemCount", metadata: {"box"=>true}))
|
330
373
|
ExecutionListItem.struct_class = Types::ExecutionListItem
|
331
374
|
|
332
375
|
ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
@@ -397,6 +440,8 @@ module Aws::States
|
|
397
440
|
HistoryEvent.add_member(:lambda_function_timed_out_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionTimedOutEventDetails, location_name: "lambdaFunctionTimedOutEventDetails"))
|
398
441
|
HistoryEvent.add_member(:state_entered_event_details, Shapes::ShapeRef.new(shape: StateEnteredEventDetails, location_name: "stateEnteredEventDetails"))
|
399
442
|
HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
|
443
|
+
HistoryEvent.add_member(:map_run_started_event_details, Shapes::ShapeRef.new(shape: MapRunStartedEventDetails, location_name: "mapRunStartedEventDetails"))
|
444
|
+
HistoryEvent.add_member(:map_run_failed_event_details, Shapes::ShapeRef.new(shape: MapRunFailedEventDetails, location_name: "mapRunFailedEventDetails"))
|
400
445
|
HistoryEvent.struct_class = Types::HistoryEvent
|
401
446
|
|
402
447
|
HistoryEventExecutionDataDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
|
@@ -463,16 +508,26 @@ module Aws::States
|
|
463
508
|
ListActivitiesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
464
509
|
ListActivitiesOutput.struct_class = Types::ListActivitiesOutput
|
465
510
|
|
466
|
-
ListExecutionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn,
|
511
|
+
ListExecutionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineArn"))
|
467
512
|
ListExecutionsInput.add_member(:status_filter, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "statusFilter"))
|
468
513
|
ListExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
469
514
|
ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListExecutionsPageToken, location_name: "nextToken"))
|
515
|
+
ListExecutionsInput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
470
516
|
ListExecutionsInput.struct_class = Types::ListExecutionsInput
|
471
517
|
|
472
518
|
ListExecutionsOutput.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionList, required: true, location_name: "executions"))
|
473
519
|
ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListExecutionsPageToken, location_name: "nextToken"))
|
474
520
|
ListExecutionsOutput.struct_class = Types::ListExecutionsOutput
|
475
521
|
|
522
|
+
ListMapRunsInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
523
|
+
ListMapRunsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
524
|
+
ListMapRunsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
525
|
+
ListMapRunsInput.struct_class = Types::ListMapRunsInput
|
526
|
+
|
527
|
+
ListMapRunsOutput.add_member(:map_runs, Shapes::ShapeRef.new(shape: MapRunList, required: true, location_name: "mapRuns"))
|
528
|
+
ListMapRunsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
529
|
+
ListMapRunsOutput.struct_class = Types::ListMapRunsOutput
|
530
|
+
|
476
531
|
ListStateMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
477
532
|
ListStateMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
478
533
|
ListStateMachinesInput.struct_class = Types::ListStateMachinesInput
|
@@ -501,6 +556,42 @@ module Aws::States
|
|
501
556
|
MapIterationEventDetails.add_member(:index, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "index"))
|
502
557
|
MapIterationEventDetails.struct_class = Types::MapIterationEventDetails
|
503
558
|
|
559
|
+
MapRunExecutionCounts.add_member(:pending, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "pending"))
|
560
|
+
MapRunExecutionCounts.add_member(:running, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "running"))
|
561
|
+
MapRunExecutionCounts.add_member(:succeeded, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "succeeded"))
|
562
|
+
MapRunExecutionCounts.add_member(:failed, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "failed"))
|
563
|
+
MapRunExecutionCounts.add_member(:timed_out, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "timedOut"))
|
564
|
+
MapRunExecutionCounts.add_member(:aborted, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "aborted"))
|
565
|
+
MapRunExecutionCounts.add_member(:total, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "total"))
|
566
|
+
MapRunExecutionCounts.add_member(:results_written, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "resultsWritten"))
|
567
|
+
MapRunExecutionCounts.struct_class = Types::MapRunExecutionCounts
|
568
|
+
|
569
|
+
MapRunFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
570
|
+
MapRunFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
571
|
+
MapRunFailedEventDetails.struct_class = Types::MapRunFailedEventDetails
|
572
|
+
|
573
|
+
MapRunItemCounts.add_member(:pending, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "pending"))
|
574
|
+
MapRunItemCounts.add_member(:running, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "running"))
|
575
|
+
MapRunItemCounts.add_member(:succeeded, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "succeeded"))
|
576
|
+
MapRunItemCounts.add_member(:failed, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "failed"))
|
577
|
+
MapRunItemCounts.add_member(:timed_out, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "timedOut"))
|
578
|
+
MapRunItemCounts.add_member(:aborted, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "aborted"))
|
579
|
+
MapRunItemCounts.add_member(:total, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "total"))
|
580
|
+
MapRunItemCounts.add_member(:results_written, Shapes::ShapeRef.new(shape: UnsignedLong, required: true, location_name: "resultsWritten"))
|
581
|
+
MapRunItemCounts.struct_class = Types::MapRunItemCounts
|
582
|
+
|
583
|
+
MapRunList.member = Shapes::ShapeRef.new(shape: MapRunListItem)
|
584
|
+
|
585
|
+
MapRunListItem.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
586
|
+
MapRunListItem.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "mapRunArn"))
|
587
|
+
MapRunListItem.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
588
|
+
MapRunListItem.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
589
|
+
MapRunListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
590
|
+
MapRunListItem.struct_class = Types::MapRunListItem
|
591
|
+
|
592
|
+
MapRunStartedEventDetails.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
593
|
+
MapRunStartedEventDetails.struct_class = Types::MapRunStartedEventDetails
|
594
|
+
|
504
595
|
MapStateStartedEventDetails.add_member(:length, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "length"))
|
505
596
|
MapStateStartedEventDetails.struct_class = Types::MapStateStartedEventDetails
|
506
597
|
|
@@ -687,6 +778,14 @@ module Aws::States
|
|
687
778
|
|
688
779
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
689
780
|
|
781
|
+
UpdateMapRunInput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "mapRunArn"))
|
782
|
+
UpdateMapRunInput.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "maxConcurrency", metadata: {"box"=>true}))
|
783
|
+
UpdateMapRunInput.add_member(:tolerated_failure_percentage, Shapes::ShapeRef.new(shape: ToleratedFailurePercentage, location_name: "toleratedFailurePercentage", metadata: {"box"=>true}))
|
784
|
+
UpdateMapRunInput.add_member(:tolerated_failure_count, Shapes::ShapeRef.new(shape: ToleratedFailureCount, location_name: "toleratedFailureCount", metadata: {"box"=>true}))
|
785
|
+
UpdateMapRunInput.struct_class = Types::UpdateMapRunInput
|
786
|
+
|
787
|
+
UpdateMapRunOutput.struct_class = Types::UpdateMapRunOutput
|
788
|
+
|
690
789
|
UpdateStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
691
790
|
UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
|
692
791
|
UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
@@ -697,6 +796,10 @@ module Aws::States
|
|
697
796
|
UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
698
797
|
UpdateStateMachineOutput.struct_class = Types::UpdateStateMachineOutput
|
699
798
|
|
799
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
800
|
+
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
801
|
+
ValidationException.struct_class = Types::ValidationException
|
802
|
+
|
700
803
|
|
701
804
|
# @api private
|
702
805
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -761,6 +864,7 @@ module Aws::States
|
|
761
864
|
o.input = Shapes::ShapeRef.new(shape: DeleteStateMachineInput)
|
762
865
|
o.output = Shapes::ShapeRef.new(shape: DeleteStateMachineOutput)
|
763
866
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
764
868
|
end)
|
765
869
|
|
766
870
|
api.add_operation(:describe_activity, Seahorse::Model::Operation.new.tap do |o|
|
@@ -783,6 +887,16 @@ module Aws::States
|
|
783
887
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
784
888
|
end)
|
785
889
|
|
890
|
+
api.add_operation(:describe_map_run, Seahorse::Model::Operation.new.tap do |o|
|
891
|
+
o.name = "DescribeMapRun"
|
892
|
+
o.http_method = "POST"
|
893
|
+
o.http_request_uri = "/"
|
894
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMapRunInput)
|
895
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMapRunOutput)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
898
|
+
end)
|
899
|
+
|
786
900
|
api.add_operation(:describe_state_machine, Seahorse::Model::Operation.new.tap do |o|
|
787
901
|
o.name = "DescribeStateMachine"
|
788
902
|
o.http_method = "POST"
|
@@ -856,6 +970,25 @@ module Aws::States
|
|
856
970
|
o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
|
857
971
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
858
972
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineTypeNotSupported)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
975
|
+
o[:pager] = Aws::Pager.new(
|
976
|
+
limit_key: "max_results",
|
977
|
+
tokens: {
|
978
|
+
"next_token" => "next_token"
|
979
|
+
}
|
980
|
+
)
|
981
|
+
end)
|
982
|
+
|
983
|
+
api.add_operation(:list_map_runs, Seahorse::Model::Operation.new.tap do |o|
|
984
|
+
o.name = "ListMapRuns"
|
985
|
+
o.http_method = "POST"
|
986
|
+
o.http_request_uri = "/"
|
987
|
+
o.input = Shapes::ShapeRef.new(shape: ListMapRunsInput)
|
988
|
+
o.output = Shapes::ShapeRef.new(shape: ListMapRunsOutput)
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
|
859
992
|
o[:pager] = Aws::Pager.new(
|
860
993
|
limit_key: "max_results",
|
861
994
|
tokens: {
|
@@ -936,6 +1069,7 @@ module Aws::States
|
|
936
1069
|
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
937
1070
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
938
1071
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
939
1073
|
end)
|
940
1074
|
|
941
1075
|
api.add_operation(:start_sync_execution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -963,6 +1097,7 @@ module Aws::States
|
|
963
1097
|
o.output = Shapes::ShapeRef.new(shape: StopExecutionOutput)
|
964
1098
|
o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
|
965
1099
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
966
1101
|
end)
|
967
1102
|
|
968
1103
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -986,6 +1121,17 @@ module Aws::States
|
|
986
1121
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
987
1122
|
end)
|
988
1123
|
|
1124
|
+
api.add_operation(:update_map_run, Seahorse::Model::Operation.new.tap do |o|
|
1125
|
+
o.name = "UpdateMapRun"
|
1126
|
+
o.http_method = "POST"
|
1127
|
+
o.http_request_uri = "/"
|
1128
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMapRunInput)
|
1129
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateMapRunOutput)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1133
|
+
end)
|
1134
|
+
|
989
1135
|
api.add_operation(:update_state_machine, Seahorse::Model::Operation.new.tap do |o|
|
990
1136
|
o.name = "UpdateStateMachine"
|
991
1137
|
o.http_method = "POST"
|
@@ -999,6 +1145,7 @@ module Aws::States
|
|
999
1145
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
|
1000
1146
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
1001
1147
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
1148
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1002
1149
|
end)
|
1003
1150
|
end
|
1004
1151
|
|
@@ -50,6 +50,9 @@ module Aws::States
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,87 +29,86 @@ module Aws::States
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
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w
|
106
|
+
ZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1
|
107
|
+
YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5v
|
108
|
+
dCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25k
|
109
|
+
aXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zdGF0ZXMu
|
110
|
+
e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
|
111
|
+
dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
113
112
|
|
114
113
|
JSON
|
115
114
|
end
|
@@ -95,6 +95,20 @@ module Aws::States
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
class DescribeMapRun
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::States::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
98
112
|
class DescribeStateMachine
|
99
113
|
def self.build(context)
|
100
114
|
unless context.config.regional_endpoint
|
@@ -179,6 +193,20 @@ module Aws::States
|
|
179
193
|
end
|
180
194
|
end
|
181
195
|
|
196
|
+
class ListMapRuns
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::States::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
182
210
|
class ListStateMachines
|
183
211
|
def self.build(context)
|
184
212
|
unless context.config.regional_endpoint
|
@@ -319,6 +347,20 @@ module Aws::States
|
|
319
347
|
end
|
320
348
|
end
|
321
349
|
|
350
|
+
class UpdateMapRun
|
351
|
+
def self.build(context)
|
352
|
+
unless context.config.regional_endpoint
|
353
|
+
endpoint = context.config.endpoint.to_s
|
354
|
+
end
|
355
|
+
Aws::States::EndpointParameters.new(
|
356
|
+
region: context.config.region,
|
357
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
358
|
+
use_fips: context.config.use_fips_endpoint,
|
359
|
+
endpoint: endpoint,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
322
364
|
class UpdateStateMachine
|
323
365
|
def self.build(context)
|
324
366
|
unless context.config.regional_endpoint
|
@@ -51,6 +51,7 @@ module Aws::States
|
|
51
51
|
# * {TaskDoesNotExist}
|
52
52
|
# * {TaskTimedOut}
|
53
53
|
# * {TooManyTags}
|
54
|
+
# * {ValidationException}
|
54
55
|
#
|
55
56
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
56
57
|
# if they are not defined above.
|
@@ -428,5 +429,25 @@ module Aws::States
|
|
428
429
|
end
|
429
430
|
end
|
430
431
|
|
432
|
+
class ValidationException < ServiceError
|
433
|
+
|
434
|
+
# @param [Seahorse::Client::RequestContext] context
|
435
|
+
# @param [String] message
|
436
|
+
# @param [Aws::States::Types::ValidationException] data
|
437
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
438
|
+
super(context, message, data)
|
439
|
+
end
|
440
|
+
|
441
|
+
# @return [String]
|
442
|
+
def message
|
443
|
+
@message || @data[:message]
|
444
|
+
end
|
445
|
+
|
446
|
+
# @return [String]
|
447
|
+
def reason
|
448
|
+
@data[:reason]
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
431
452
|
end
|
432
453
|
end
|
@@ -68,6 +68,8 @@ module Aws::States
|
|
68
68
|
Aws::States::Endpoints::DescribeActivity.build(context)
|
69
69
|
when :describe_execution
|
70
70
|
Aws::States::Endpoints::DescribeExecution.build(context)
|
71
|
+
when :describe_map_run
|
72
|
+
Aws::States::Endpoints::DescribeMapRun.build(context)
|
71
73
|
when :describe_state_machine
|
72
74
|
Aws::States::Endpoints::DescribeStateMachine.build(context)
|
73
75
|
when :describe_state_machine_for_execution
|
@@ -80,6 +82,8 @@ module Aws::States
|
|
80
82
|
Aws::States::Endpoints::ListActivities.build(context)
|
81
83
|
when :list_executions
|
82
84
|
Aws::States::Endpoints::ListExecutions.build(context)
|
85
|
+
when :list_map_runs
|
86
|
+
Aws::States::Endpoints::ListMapRuns.build(context)
|
83
87
|
when :list_state_machines
|
84
88
|
Aws::States::Endpoints::ListStateMachines.build(context)
|
85
89
|
when :list_tags_for_resource
|
@@ -100,6 +104,8 @@ module Aws::States
|
|
100
104
|
Aws::States::Endpoints::TagResource.build(context)
|
101
105
|
when :untag_resource
|
102
106
|
Aws::States::Endpoints::UntagResource.build(context)
|
107
|
+
when :update_map_run
|
108
|
+
Aws::States::Endpoints::UpdateMapRun.build(context)
|
103
109
|
when :update_state_machine
|
104
110
|
Aws::States::Endpoints::UpdateStateMachine.build(context)
|
105
111
|
end
|