aws-sdk-states 1.54.0 → 1.55.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 +834 -59
- data/lib/aws-sdk-states/client_api.rb +238 -0
- data/lib/aws-sdk-states/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-states/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-states/endpoints.rb +112 -0
- data/lib/aws-sdk-states/errors.rb +32 -0
- data/lib/aws-sdk-states/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-states/types.rb +654 -21
- data/lib/aws-sdk-states.rb +1 -1
- metadata +2 -2
@@ -24,28 +24,39 @@ module Aws::States
|
|
24
24
|
ActivitySucceededEventDetails = Shapes::StructureShape.new(name: 'ActivitySucceededEventDetails')
|
25
25
|
ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
|
26
26
|
ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
|
27
|
+
AliasDescription = Shapes::StringShape.new(name: 'AliasDescription')
|
27
28
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
28
29
|
BilledDuration = Shapes::IntegerShape.new(name: 'BilledDuration')
|
29
30
|
BilledMemoryUsed = Shapes::IntegerShape.new(name: 'BilledMemoryUsed')
|
30
31
|
BillingDetails = Shapes::StructureShape.new(name: 'BillingDetails')
|
32
|
+
CharacterRestrictedName = Shapes::StringShape.new(name: 'CharacterRestrictedName')
|
31
33
|
CloudWatchEventsExecutionDataDetails = Shapes::StructureShape.new(name: 'CloudWatchEventsExecutionDataDetails')
|
32
34
|
CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
|
35
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
33
36
|
ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
|
34
37
|
CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
|
35
38
|
CreateActivityOutput = Shapes::StructureShape.new(name: 'CreateActivityOutput')
|
39
|
+
CreateStateMachineAliasInput = Shapes::StructureShape.new(name: 'CreateStateMachineAliasInput')
|
40
|
+
CreateStateMachineAliasOutput = Shapes::StructureShape.new(name: 'CreateStateMachineAliasOutput')
|
36
41
|
CreateStateMachineInput = Shapes::StructureShape.new(name: 'CreateStateMachineInput')
|
37
42
|
CreateStateMachineOutput = Shapes::StructureShape.new(name: 'CreateStateMachineOutput')
|
38
43
|
Definition = Shapes::StringShape.new(name: 'Definition')
|
39
44
|
DeleteActivityInput = Shapes::StructureShape.new(name: 'DeleteActivityInput')
|
40
45
|
DeleteActivityOutput = Shapes::StructureShape.new(name: 'DeleteActivityOutput')
|
46
|
+
DeleteStateMachineAliasInput = Shapes::StructureShape.new(name: 'DeleteStateMachineAliasInput')
|
47
|
+
DeleteStateMachineAliasOutput = Shapes::StructureShape.new(name: 'DeleteStateMachineAliasOutput')
|
41
48
|
DeleteStateMachineInput = Shapes::StructureShape.new(name: 'DeleteStateMachineInput')
|
42
49
|
DeleteStateMachineOutput = Shapes::StructureShape.new(name: 'DeleteStateMachineOutput')
|
50
|
+
DeleteStateMachineVersionInput = Shapes::StructureShape.new(name: 'DeleteStateMachineVersionInput')
|
51
|
+
DeleteStateMachineVersionOutput = Shapes::StructureShape.new(name: 'DeleteStateMachineVersionOutput')
|
43
52
|
DescribeActivityInput = Shapes::StructureShape.new(name: 'DescribeActivityInput')
|
44
53
|
DescribeActivityOutput = Shapes::StructureShape.new(name: 'DescribeActivityOutput')
|
45
54
|
DescribeExecutionInput = Shapes::StructureShape.new(name: 'DescribeExecutionInput')
|
46
55
|
DescribeExecutionOutput = Shapes::StructureShape.new(name: 'DescribeExecutionOutput')
|
47
56
|
DescribeMapRunInput = Shapes::StructureShape.new(name: 'DescribeMapRunInput')
|
48
57
|
DescribeMapRunOutput = Shapes::StructureShape.new(name: 'DescribeMapRunOutput')
|
58
|
+
DescribeStateMachineAliasInput = Shapes::StructureShape.new(name: 'DescribeStateMachineAliasInput')
|
59
|
+
DescribeStateMachineAliasOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineAliasOutput')
|
49
60
|
DescribeStateMachineForExecutionInput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionInput')
|
50
61
|
DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
|
51
62
|
DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
|
@@ -96,6 +107,10 @@ module Aws::States
|
|
96
107
|
ListExecutionsPageToken = Shapes::StringShape.new(name: 'ListExecutionsPageToken')
|
97
108
|
ListMapRunsInput = Shapes::StructureShape.new(name: 'ListMapRunsInput')
|
98
109
|
ListMapRunsOutput = Shapes::StructureShape.new(name: 'ListMapRunsOutput')
|
110
|
+
ListStateMachineAliasesInput = Shapes::StructureShape.new(name: 'ListStateMachineAliasesInput')
|
111
|
+
ListStateMachineAliasesOutput = Shapes::StructureShape.new(name: 'ListStateMachineAliasesOutput')
|
112
|
+
ListStateMachineVersionsInput = Shapes::StructureShape.new(name: 'ListStateMachineVersionsInput')
|
113
|
+
ListStateMachineVersionsOutput = Shapes::StructureShape.new(name: 'ListStateMachineVersionsOutput')
|
99
114
|
ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
|
100
115
|
ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
|
101
116
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
@@ -120,8 +135,14 @@ module Aws::States
|
|
120
135
|
Name = Shapes::StringShape.new(name: 'Name')
|
121
136
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
122
137
|
PageToken = Shapes::StringShape.new(name: 'PageToken')
|
138
|
+
Publish = Shapes::BooleanShape.new(name: 'Publish')
|
139
|
+
PublishStateMachineVersionInput = Shapes::StructureShape.new(name: 'PublishStateMachineVersionInput')
|
140
|
+
PublishStateMachineVersionOutput = Shapes::StructureShape.new(name: 'PublishStateMachineVersionOutput')
|
123
141
|
ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
|
124
142
|
ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
|
143
|
+
RevisionId = Shapes::StringShape.new(name: 'RevisionId')
|
144
|
+
RoutingConfigurationList = Shapes::ListShape.new(name: 'RoutingConfigurationList')
|
145
|
+
RoutingConfigurationListItem = Shapes::StructureShape.new(name: 'RoutingConfigurationListItem')
|
125
146
|
SendTaskFailureInput = Shapes::StructureShape.new(name: 'SendTaskFailureInput')
|
126
147
|
SendTaskFailureOutput = Shapes::StructureShape.new(name: 'SendTaskFailureOutput')
|
127
148
|
SendTaskHeartbeatInput = Shapes::StructureShape.new(name: 'SendTaskHeartbeatInput')
|
@@ -132,12 +153,15 @@ module Aws::States
|
|
132
153
|
SensitiveData = Shapes::StringShape.new(name: 'SensitiveData')
|
133
154
|
SensitiveDataJobInput = Shapes::StringShape.new(name: 'SensitiveDataJobInput')
|
134
155
|
SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
|
156
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
135
157
|
StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
|
136
158
|
StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
|
137
159
|
StartSyncExecutionInput = Shapes::StructureShape.new(name: 'StartSyncExecutionInput')
|
138
160
|
StartSyncExecutionOutput = Shapes::StructureShape.new(name: 'StartSyncExecutionOutput')
|
139
161
|
StateEnteredEventDetails = Shapes::StructureShape.new(name: 'StateEnteredEventDetails')
|
140
162
|
StateExitedEventDetails = Shapes::StructureShape.new(name: 'StateExitedEventDetails')
|
163
|
+
StateMachineAliasList = Shapes::ListShape.new(name: 'StateMachineAliasList')
|
164
|
+
StateMachineAliasListItem = Shapes::StructureShape.new(name: 'StateMachineAliasListItem')
|
141
165
|
StateMachineAlreadyExists = Shapes::StructureShape.new(name: 'StateMachineAlreadyExists')
|
142
166
|
StateMachineDeleting = Shapes::StructureShape.new(name: 'StateMachineDeleting')
|
143
167
|
StateMachineDoesNotExist = Shapes::StructureShape.new(name: 'StateMachineDoesNotExist')
|
@@ -147,6 +171,8 @@ module Aws::States
|
|
147
171
|
StateMachineStatus = Shapes::StringShape.new(name: 'StateMachineStatus')
|
148
172
|
StateMachineType = Shapes::StringShape.new(name: 'StateMachineType')
|
149
173
|
StateMachineTypeNotSupported = Shapes::StructureShape.new(name: 'StateMachineTypeNotSupported')
|
174
|
+
StateMachineVersionList = Shapes::ListShape.new(name: 'StateMachineVersionList')
|
175
|
+
StateMachineVersionListItem = Shapes::StructureShape.new(name: 'StateMachineVersionListItem')
|
150
176
|
StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
|
151
177
|
StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
|
152
178
|
SyncExecutionStatus = Shapes::StringShape.new(name: 'SyncExecutionStatus')
|
@@ -182,10 +208,14 @@ module Aws::States
|
|
182
208
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
183
209
|
UpdateMapRunInput = Shapes::StructureShape.new(name: 'UpdateMapRunInput')
|
184
210
|
UpdateMapRunOutput = Shapes::StructureShape.new(name: 'UpdateMapRunOutput')
|
211
|
+
UpdateStateMachineAliasInput = Shapes::StructureShape.new(name: 'UpdateStateMachineAliasInput')
|
212
|
+
UpdateStateMachineAliasOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineAliasOutput')
|
185
213
|
UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
|
186
214
|
UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
|
187
215
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
188
216
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
217
|
+
VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
|
218
|
+
VersionWeight = Shapes::IntegerShape.new(name: 'VersionWeight')
|
189
219
|
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
190
220
|
truncated = Shapes::BooleanShape.new(name: 'truncated')
|
191
221
|
|
@@ -241,6 +271,9 @@ module Aws::States
|
|
241
271
|
CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
242
272
|
CloudWatchLogsLogGroup.struct_class = Types::CloudWatchLogsLogGroup
|
243
273
|
|
274
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
275
|
+
ConflictException.struct_class = Types::ConflictException
|
276
|
+
|
244
277
|
CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
245
278
|
CreateActivityInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
246
279
|
CreateActivityInput.struct_class = Types::CreateActivityInput
|
@@ -249,6 +282,15 @@ module Aws::States
|
|
249
282
|
CreateActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
250
283
|
CreateActivityOutput.struct_class = Types::CreateActivityOutput
|
251
284
|
|
285
|
+
CreateStateMachineAliasInput.add_member(:description, Shapes::ShapeRef.new(shape: AliasDescription, location_name: "description"))
|
286
|
+
CreateStateMachineAliasInput.add_member(:name, Shapes::ShapeRef.new(shape: CharacterRestrictedName, required: true, location_name: "name"))
|
287
|
+
CreateStateMachineAliasInput.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: RoutingConfigurationList, required: true, location_name: "routingConfiguration"))
|
288
|
+
CreateStateMachineAliasInput.struct_class = Types::CreateStateMachineAliasInput
|
289
|
+
|
290
|
+
CreateStateMachineAliasOutput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineAliasArn"))
|
291
|
+
CreateStateMachineAliasOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
292
|
+
CreateStateMachineAliasOutput.struct_class = Types::CreateStateMachineAliasOutput
|
293
|
+
|
252
294
|
CreateStateMachineInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
253
295
|
CreateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
|
254
296
|
CreateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
|
@@ -256,10 +298,13 @@ module Aws::States
|
|
256
298
|
CreateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
257
299
|
CreateStateMachineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
258
300
|
CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
301
|
+
CreateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
|
302
|
+
CreateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
|
259
303
|
CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
|
260
304
|
|
261
305
|
CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
262
306
|
CreateStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
307
|
+
CreateStateMachineOutput.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineVersionArn"))
|
263
308
|
CreateStateMachineOutput.struct_class = Types::CreateStateMachineOutput
|
264
309
|
|
265
310
|
DeleteActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
|
@@ -267,11 +312,21 @@ module Aws::States
|
|
267
312
|
|
268
313
|
DeleteActivityOutput.struct_class = Types::DeleteActivityOutput
|
269
314
|
|
315
|
+
DeleteStateMachineAliasInput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineAliasArn"))
|
316
|
+
DeleteStateMachineAliasInput.struct_class = Types::DeleteStateMachineAliasInput
|
317
|
+
|
318
|
+
DeleteStateMachineAliasOutput.struct_class = Types::DeleteStateMachineAliasOutput
|
319
|
+
|
270
320
|
DeleteStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
271
321
|
DeleteStateMachineInput.struct_class = Types::DeleteStateMachineInput
|
272
322
|
|
273
323
|
DeleteStateMachineOutput.struct_class = Types::DeleteStateMachineOutput
|
274
324
|
|
325
|
+
DeleteStateMachineVersionInput.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "stateMachineVersionArn"))
|
326
|
+
DeleteStateMachineVersionInput.struct_class = Types::DeleteStateMachineVersionInput
|
327
|
+
|
328
|
+
DeleteStateMachineVersionOutput.struct_class = Types::DeleteStateMachineVersionOutput
|
329
|
+
|
275
330
|
DescribeActivityInput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
|
276
331
|
DescribeActivityInput.struct_class = Types::DescribeActivityInput
|
277
332
|
|
@@ -297,6 +352,8 @@ module Aws::States
|
|
297
352
|
DescribeExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
298
353
|
DescribeExecutionOutput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
299
354
|
DescribeExecutionOutput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
355
|
+
DescribeExecutionOutput.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineVersionArn"))
|
356
|
+
DescribeExecutionOutput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineAliasArn"))
|
300
357
|
DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
|
301
358
|
|
302
359
|
DescribeMapRunInput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "mapRunArn"))
|
@@ -314,6 +371,17 @@ module Aws::States
|
|
314
371
|
DescribeMapRunOutput.add_member(:execution_counts, Shapes::ShapeRef.new(shape: MapRunExecutionCounts, required: true, location_name: "executionCounts"))
|
315
372
|
DescribeMapRunOutput.struct_class = Types::DescribeMapRunOutput
|
316
373
|
|
374
|
+
DescribeStateMachineAliasInput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineAliasArn"))
|
375
|
+
DescribeStateMachineAliasInput.struct_class = Types::DescribeStateMachineAliasInput
|
376
|
+
|
377
|
+
DescribeStateMachineAliasOutput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineAliasArn"))
|
378
|
+
DescribeStateMachineAliasOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
379
|
+
DescribeStateMachineAliasOutput.add_member(:description, Shapes::ShapeRef.new(shape: AliasDescription, location_name: "description"))
|
380
|
+
DescribeStateMachineAliasOutput.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: RoutingConfigurationList, location_name: "routingConfiguration"))
|
381
|
+
DescribeStateMachineAliasOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
|
382
|
+
DescribeStateMachineAliasOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updateDate"))
|
383
|
+
DescribeStateMachineAliasOutput.struct_class = Types::DescribeStateMachineAliasOutput
|
384
|
+
|
317
385
|
DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
318
386
|
DescribeStateMachineForExecutionInput.struct_class = Types::DescribeStateMachineForExecutionInput
|
319
387
|
|
@@ -326,6 +394,7 @@ module Aws::States
|
|
326
394
|
DescribeStateMachineForExecutionOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
327
395
|
DescribeStateMachineForExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
328
396
|
DescribeStateMachineForExecutionOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
|
397
|
+
DescribeStateMachineForExecutionOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
329
398
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
330
399
|
|
331
400
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -341,6 +410,8 @@ module Aws::States
|
|
341
410
|
DescribeStateMachineOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
342
411
|
DescribeStateMachineOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
343
412
|
DescribeStateMachineOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
|
413
|
+
DescribeStateMachineOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
414
|
+
DescribeStateMachineOutput.add_member(:description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "description"))
|
344
415
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
345
416
|
|
346
417
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
@@ -370,11 +441,15 @@ module Aws::States
|
|
370
441
|
ExecutionListItem.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
|
371
442
|
ExecutionListItem.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
|
372
443
|
ExecutionListItem.add_member(:item_count, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "itemCount", metadata: {"box"=>true}))
|
444
|
+
ExecutionListItem.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineVersionArn"))
|
445
|
+
ExecutionListItem.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineAliasArn"))
|
373
446
|
ExecutionListItem.struct_class = Types::ExecutionListItem
|
374
447
|
|
375
448
|
ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
376
449
|
ExecutionStartedEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
|
377
450
|
ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
451
|
+
ExecutionStartedEventDetails.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineAliasArn"))
|
452
|
+
ExecutionStartedEventDetails.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineVersionArn"))
|
378
453
|
ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
|
379
454
|
|
380
455
|
ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
@@ -528,6 +603,24 @@ module Aws::States
|
|
528
603
|
ListMapRunsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
529
604
|
ListMapRunsOutput.struct_class = Types::ListMapRunsOutput
|
530
605
|
|
606
|
+
ListStateMachineAliasesInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
607
|
+
ListStateMachineAliasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
608
|
+
ListStateMachineAliasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
609
|
+
ListStateMachineAliasesInput.struct_class = Types::ListStateMachineAliasesInput
|
610
|
+
|
611
|
+
ListStateMachineAliasesOutput.add_member(:state_machine_aliases, Shapes::ShapeRef.new(shape: StateMachineAliasList, required: true, location_name: "stateMachineAliases"))
|
612
|
+
ListStateMachineAliasesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
613
|
+
ListStateMachineAliasesOutput.struct_class = Types::ListStateMachineAliasesOutput
|
614
|
+
|
615
|
+
ListStateMachineVersionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
616
|
+
ListStateMachineVersionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
617
|
+
ListStateMachineVersionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
618
|
+
ListStateMachineVersionsInput.struct_class = Types::ListStateMachineVersionsInput
|
619
|
+
|
620
|
+
ListStateMachineVersionsOutput.add_member(:state_machine_versions, Shapes::ShapeRef.new(shape: StateMachineVersionList, required: true, location_name: "stateMachineVersions"))
|
621
|
+
ListStateMachineVersionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
622
|
+
ListStateMachineVersionsOutput.struct_class = Types::ListStateMachineVersionsOutput
|
623
|
+
|
531
624
|
ListStateMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
532
625
|
ListStateMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
533
626
|
ListStateMachinesInput.struct_class = Types::ListStateMachinesInput
|
@@ -598,10 +691,25 @@ module Aws::States
|
|
598
691
|
MissingRequiredParameter.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
599
692
|
MissingRequiredParameter.struct_class = Types::MissingRequiredParameter
|
600
693
|
|
694
|
+
PublishStateMachineVersionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
695
|
+
PublishStateMachineVersionInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
696
|
+
PublishStateMachineVersionInput.add_member(:description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "description"))
|
697
|
+
PublishStateMachineVersionInput.struct_class = Types::PublishStateMachineVersionInput
|
698
|
+
|
699
|
+
PublishStateMachineVersionOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
700
|
+
PublishStateMachineVersionOutput.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineVersionArn"))
|
701
|
+
PublishStateMachineVersionOutput.struct_class = Types::PublishStateMachineVersionOutput
|
702
|
+
|
601
703
|
ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
602
704
|
ResourceNotFound.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
|
603
705
|
ResourceNotFound.struct_class = Types::ResourceNotFound
|
604
706
|
|
707
|
+
RoutingConfigurationList.member = Shapes::ShapeRef.new(shape: RoutingConfigurationListItem)
|
708
|
+
|
709
|
+
RoutingConfigurationListItem.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineVersionArn"))
|
710
|
+
RoutingConfigurationListItem.add_member(:weight, Shapes::ShapeRef.new(shape: VersionWeight, required: true, location_name: "weight"))
|
711
|
+
RoutingConfigurationListItem.struct_class = Types::RoutingConfigurationListItem
|
712
|
+
|
605
713
|
SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
|
606
714
|
SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
607
715
|
SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
@@ -620,6 +728,9 @@ module Aws::States
|
|
620
728
|
|
621
729
|
SendTaskSuccessOutput.struct_class = Types::SendTaskSuccessOutput
|
622
730
|
|
731
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
732
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
733
|
+
|
623
734
|
StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
624
735
|
StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
625
736
|
StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
@@ -662,6 +773,12 @@ module Aws::States
|
|
662
773
|
StateExitedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
663
774
|
StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
|
664
775
|
|
776
|
+
StateMachineAliasList.member = Shapes::ShapeRef.new(shape: StateMachineAliasListItem)
|
777
|
+
|
778
|
+
StateMachineAliasListItem.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "stateMachineAliasArn"))
|
779
|
+
StateMachineAliasListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
780
|
+
StateMachineAliasListItem.struct_class = Types::StateMachineAliasListItem
|
781
|
+
|
665
782
|
StateMachineAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
666
783
|
StateMachineAlreadyExists.struct_class = Types::StateMachineAlreadyExists
|
667
784
|
|
@@ -685,6 +802,12 @@ module Aws::States
|
|
685
802
|
StateMachineTypeNotSupported.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
686
803
|
StateMachineTypeNotSupported.struct_class = Types::StateMachineTypeNotSupported
|
687
804
|
|
805
|
+
StateMachineVersionList.member = Shapes::ShapeRef.new(shape: StateMachineVersionListItem)
|
806
|
+
|
807
|
+
StateMachineVersionListItem.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: LongArn, required: true, location_name: "stateMachineVersionArn"))
|
808
|
+
StateMachineVersionListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
809
|
+
StateMachineVersionListItem.struct_class = Types::StateMachineVersionListItem
|
810
|
+
|
688
811
|
StopExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
|
689
812
|
StopExecutionInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
690
813
|
StopExecutionInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
@@ -786,14 +909,26 @@ module Aws::States
|
|
786
909
|
|
787
910
|
UpdateMapRunOutput.struct_class = Types::UpdateMapRunOutput
|
788
911
|
|
912
|
+
UpdateStateMachineAliasInput.add_member(:state_machine_alias_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineAliasArn"))
|
913
|
+
UpdateStateMachineAliasInput.add_member(:description, Shapes::ShapeRef.new(shape: AliasDescription, location_name: "description"))
|
914
|
+
UpdateStateMachineAliasInput.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: RoutingConfigurationList, location_name: "routingConfiguration"))
|
915
|
+
UpdateStateMachineAliasInput.struct_class = Types::UpdateStateMachineAliasInput
|
916
|
+
|
917
|
+
UpdateStateMachineAliasOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
918
|
+
UpdateStateMachineAliasOutput.struct_class = Types::UpdateStateMachineAliasOutput
|
919
|
+
|
789
920
|
UpdateStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
790
921
|
UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
|
791
922
|
UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
792
923
|
UpdateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
|
793
924
|
UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
|
925
|
+
UpdateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
|
926
|
+
UpdateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
|
794
927
|
UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
|
795
928
|
|
796
929
|
UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
|
930
|
+
UpdateStateMachineOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
931
|
+
UpdateStateMachineOutput.add_member(:state_machine_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "stateMachineVersionArn"))
|
797
932
|
UpdateStateMachineOutput.struct_class = Types::UpdateStateMachineOutput
|
798
933
|
|
799
934
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -846,6 +981,23 @@ module Aws::States
|
|
846
981
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
|
847
982
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineTypeNotSupported)
|
848
983
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
|
984
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
985
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
986
|
+
end)
|
987
|
+
|
988
|
+
api.add_operation(:create_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
|
989
|
+
o.name = "CreateStateMachineAlias"
|
990
|
+
o.http_method = "POST"
|
991
|
+
o.http_request_uri = "/"
|
992
|
+
o.input = Shapes::ShapeRef.new(shape: CreateStateMachineAliasInput)
|
993
|
+
o.output = Shapes::ShapeRef.new(shape: CreateStateMachineAliasOutput)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidName)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
997
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
998
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
999
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1000
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
849
1001
|
end)
|
850
1002
|
|
851
1003
|
api.add_operation(:delete_activity, Seahorse::Model::Operation.new.tap do |o|
|
@@ -867,6 +1019,29 @@ module Aws::States
|
|
867
1019
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
868
1020
|
end)
|
869
1021
|
|
1022
|
+
api.add_operation(:delete_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
|
1023
|
+
o.name = "DeleteStateMachineAlias"
|
1024
|
+
o.http_method = "POST"
|
1025
|
+
o.http_request_uri = "/"
|
1026
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteStateMachineAliasInput)
|
1027
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteStateMachineAliasOutput)
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1032
|
+
end)
|
1033
|
+
|
1034
|
+
api.add_operation(:delete_state_machine_version, Seahorse::Model::Operation.new.tap do |o|
|
1035
|
+
o.name = "DeleteStateMachineVersion"
|
1036
|
+
o.http_method = "POST"
|
1037
|
+
o.http_request_uri = "/"
|
1038
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteStateMachineVersionInput)
|
1039
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteStateMachineVersionOutput)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1042
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1043
|
+
end)
|
1044
|
+
|
870
1045
|
api.add_operation(:describe_activity, Seahorse::Model::Operation.new.tap do |o|
|
871
1046
|
o.name = "DescribeActivity"
|
872
1047
|
o.http_method = "POST"
|
@@ -907,6 +1082,17 @@ module Aws::States
|
|
907
1082
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
908
1083
|
end)
|
909
1084
|
|
1085
|
+
api.add_operation(:describe_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
|
1086
|
+
o.name = "DescribeStateMachineAlias"
|
1087
|
+
o.http_method = "POST"
|
1088
|
+
o.http_request_uri = "/"
|
1089
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeStateMachineAliasInput)
|
1090
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineAliasOutput)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1094
|
+
end)
|
1095
|
+
|
910
1096
|
api.add_operation(:describe_state_machine_for_execution, Seahorse::Model::Operation.new.tap do |o|
|
911
1097
|
o.name = "DescribeStateMachineForExecution"
|
912
1098
|
o.http_method = "POST"
|
@@ -997,6 +1183,30 @@ module Aws::States
|
|
997
1183
|
)
|
998
1184
|
end)
|
999
1185
|
|
1186
|
+
api.add_operation(:list_state_machine_aliases, Seahorse::Model::Operation.new.tap do |o|
|
1187
|
+
o.name = "ListStateMachineAliases"
|
1188
|
+
o.http_method = "POST"
|
1189
|
+
o.http_request_uri = "/"
|
1190
|
+
o.input = Shapes::ShapeRef.new(shape: ListStateMachineAliasesInput)
|
1191
|
+
o.output = Shapes::ShapeRef.new(shape: ListStateMachineAliasesOutput)
|
1192
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1195
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
1196
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
1197
|
+
end)
|
1198
|
+
|
1199
|
+
api.add_operation(:list_state_machine_versions, Seahorse::Model::Operation.new.tap do |o|
|
1200
|
+
o.name = "ListStateMachineVersions"
|
1201
|
+
o.http_method = "POST"
|
1202
|
+
o.http_request_uri = "/"
|
1203
|
+
o.input = Shapes::ShapeRef.new(shape: ListStateMachineVersionsInput)
|
1204
|
+
o.output = Shapes::ShapeRef.new(shape: ListStateMachineVersionsOutput)
|
1205
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1206
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1207
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
|
1208
|
+
end)
|
1209
|
+
|
1000
1210
|
api.add_operation(:list_state_machines, Seahorse::Model::Operation.new.tap do |o|
|
1001
1211
|
o.name = "ListStateMachines"
|
1002
1212
|
o.http_method = "POST"
|
@@ -1022,6 +1232,20 @@ module Aws::States
|
|
1022
1232
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1023
1233
|
end)
|
1024
1234
|
|
1235
|
+
api.add_operation(:publish_state_machine_version, Seahorse::Model::Operation.new.tap do |o|
|
1236
|
+
o.name = "PublishStateMachineVersion"
|
1237
|
+
o.http_method = "POST"
|
1238
|
+
o.http_request_uri = "/"
|
1239
|
+
o.input = Shapes::ShapeRef.new(shape: PublishStateMachineVersionInput)
|
1240
|
+
o.output = Shapes::ShapeRef.new(shape: PublishStateMachineVersionOutput)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1245
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1246
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1247
|
+
end)
|
1248
|
+
|
1025
1249
|
api.add_operation(:send_task_failure, Seahorse::Model::Operation.new.tap do |o|
|
1026
1250
|
o.name = "SendTaskFailure"
|
1027
1251
|
o.http_method = "POST"
|
@@ -1145,7 +1369,21 @@ module Aws::States
|
|
1145
1369
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
|
1146
1370
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
|
1147
1371
|
o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
|
1372
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1374
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1375
|
+
end)
|
1376
|
+
|
1377
|
+
api.add_operation(:update_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
|
1378
|
+
o.name = "UpdateStateMachineAlias"
|
1379
|
+
o.http_method = "POST"
|
1380
|
+
o.http_request_uri = "/"
|
1381
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateStateMachineAliasInput)
|
1382
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateStateMachineAliasOutput)
|
1148
1383
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1149
1387
|
end)
|
1150
1388
|
end
|
1151
1389
|
|
@@ -50,9 +50,6 @@ 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
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,39 +14,42 @@ module Aws::States
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
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: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
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"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
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"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://states.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://states.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|