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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- 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 +38 -100
- 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?
|
@@ -9,108 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::States
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
|
43
|
-
UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0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ml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
|
106
|
-
cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
|
107
|
-
dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
|
108
|
-
b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
|
109
|
-
ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc3RhdGVz
|
110
|
-
LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3Bl
|
111
|
-
cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1d
|
112
|
-
fQ==
|
113
|
-
|
114
|
-
JSON
|
115
53
|
end
|
116
54
|
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
|