@aws-sdk/client-sfn 3.450.0 → 3.454.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist-cjs/SFN.js +2 -0
- package/dist-cjs/commands/RedriveExecutionCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +41 -15
- package/dist-cjs/protocols/Aws_json1_0.js +82 -2
- package/dist-es/SFN.js +2 -0
- package/dist-es/commands/RedriveExecutionCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +37 -12
- package/dist-es/protocols/Aws_json1_0.js +79 -1
- package/dist-types/SFN.d.ts +10 -0
- package/dist-types/SFNClient.d.ts +6 -2
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +2 -2
- package/dist-types/commands/DescribeExecutionCommand.d.ts +7 -6
- package/dist-types/commands/DescribeMapRunCommand.d.ts +7 -1
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +8 -1
- package/dist-types/commands/ListExecutionsCommand.d.ts +6 -3
- package/dist-types/commands/RedriveExecutionCommand.d.ts +108 -0
- package/dist-types/commands/SendTaskFailureCommand.d.ts +4 -2
- package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +5 -3
- package/dist-types/commands/SendTaskSuccessCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +238 -14
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/SFN.d.ts +17 -0
- package/dist-types/ts3.4/SFNClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +59 -7
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +38 -36
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ access to Amazon Web Services. You can access and use Step Functions using the c
|
|
|
23
23
|
For more information about Step Functions, see the <i>
|
|
24
24
|
<a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">Step Functions Developer Guide</a>
|
|
25
25
|
</i>.</p>
|
|
26
|
+
<important>
|
|
27
|
+
<p>If you use the Step Functions API actions using Amazon Web Services SDK integrations, make sure the API actions are in camel case and parameter names are in Pascal case. For example, you could use Step Functions API action <code>startSyncExecution</code> and specify its parameter as <code>StateMachineArn</code>.</p>
|
|
28
|
+
</important>
|
|
26
29
|
|
|
27
30
|
## Installing
|
|
28
31
|
|
|
@@ -402,6 +405,14 @@ PublishStateMachineVersion
|
|
|
402
405
|
|
|
403
406
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/publishstatemachineversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/publishstatemachineversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/publishstatemachineversioncommandoutput.html)
|
|
404
407
|
|
|
408
|
+
</details>
|
|
409
|
+
<details>
|
|
410
|
+
<summary>
|
|
411
|
+
RedriveExecution
|
|
412
|
+
</summary>
|
|
413
|
+
|
|
414
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/redriveexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/redriveexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/redriveexecutioncommandoutput.html)
|
|
415
|
+
|
|
405
416
|
</details>
|
|
406
417
|
<details>
|
|
407
418
|
<summary>
|
package/dist-cjs/SFN.js
CHANGED
|
@@ -25,6 +25,7 @@ const ListStateMachinesCommand_1 = require("./commands/ListStateMachinesCommand"
|
|
|
25
25
|
const ListStateMachineVersionsCommand_1 = require("./commands/ListStateMachineVersionsCommand");
|
|
26
26
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
27
27
|
const PublishStateMachineVersionCommand_1 = require("./commands/PublishStateMachineVersionCommand");
|
|
28
|
+
const RedriveExecutionCommand_1 = require("./commands/RedriveExecutionCommand");
|
|
28
29
|
const SendTaskFailureCommand_1 = require("./commands/SendTaskFailureCommand");
|
|
29
30
|
const SendTaskHeartbeatCommand_1 = require("./commands/SendTaskHeartbeatCommand");
|
|
30
31
|
const SendTaskSuccessCommand_1 = require("./commands/SendTaskSuccessCommand");
|
|
@@ -61,6 +62,7 @@ const commands = {
|
|
|
61
62
|
ListStateMachineVersionsCommand: ListStateMachineVersionsCommand_1.ListStateMachineVersionsCommand,
|
|
62
63
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
63
64
|
PublishStateMachineVersionCommand: PublishStateMachineVersionCommand_1.PublishStateMachineVersionCommand,
|
|
65
|
+
RedriveExecutionCommand: RedriveExecutionCommand_1.RedriveExecutionCommand,
|
|
64
66
|
SendTaskFailureCommand: SendTaskFailureCommand_1.SendTaskFailureCommand,
|
|
65
67
|
SendTaskHeartbeatCommand: SendTaskHeartbeatCommand_1.SendTaskHeartbeatCommand,
|
|
66
68
|
SendTaskSuccessCommand: SendTaskSuccessCommand_1.SendTaskSuccessCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedriveExecutionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class RedriveExecutionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RedriveExecutionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SFNClient";
|
|
29
|
+
const commandName = "RedriveExecutionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSStepFunctions",
|
|
38
|
+
operation: "RedriveExecution",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_0_1.se_RedriveExecutionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_0_1.de_RedriveExecutionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.RedriveExecutionCommand = RedriveExecutionCommand;
|
|
@@ -24,6 +24,7 @@ tslib_1.__exportStar(require("./ListStateMachineVersionsCommand"), exports);
|
|
|
24
24
|
tslib_1.__exportStar(require("./ListStateMachinesCommand"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./PublishStateMachineVersionCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./RedriveExecutionCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./SendTaskFailureCommand"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./SendTaskHeartbeatCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./SendTaskSuccessCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateStateMachineAliasInputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = exports.StartExecutionInputFilterSensitiveLog = exports.SendTaskSuccessInputFilterSensitiveLog = exports.SendTaskFailureInputFilterSensitiveLog = exports.PublishStateMachineVersionInputFilterSensitiveLog = exports.GetExecutionHistoryOutputFilterSensitiveLog = exports.HistoryEventFilterSensitiveLog = exports.TaskTimedOutEventDetailsFilterSensitiveLog = exports.TaskSucceededEventDetailsFilterSensitiveLog = exports.TaskSubmittedEventDetailsFilterSensitiveLog = exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = exports.TaskStartFailedEventDetailsFilterSensitiveLog = exports.TaskScheduledEventDetailsFilterSensitiveLog = exports.TaskFailedEventDetailsFilterSensitiveLog = exports.StateExitedEventDetailsFilterSensitiveLog = exports.StateEnteredEventDetailsFilterSensitiveLog = exports.MapRunFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = exports.ExecutionSucceededEventDetailsFilterSensitiveLog = void 0;
|
|
3
|
+
exports.GetActivityTaskOutputFilterSensitiveLog = exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = exports.DescribeStateMachineAliasOutputFilterSensitiveLog = exports.DescribeStateMachineOutputFilterSensitiveLog = exports.DescribeExecutionOutputFilterSensitiveLog = exports.CreateStateMachineAliasInputFilterSensitiveLog = exports.CreateStateMachineInputFilterSensitiveLog = exports.ActivityTimedOutEventDetailsFilterSensitiveLog = exports.ActivitySucceededEventDetailsFilterSensitiveLog = exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = exports.ActivityScheduledEventDetailsFilterSensitiveLog = exports.ActivityFailedEventDetailsFilterSensitiveLog = exports.MissingRequiredParameter = exports.SyncExecutionStatus = exports.InvalidExecutionInput = exports.ExecutionAlreadyExists = exports.InvalidOutput = exports.TaskTimedOut = exports.TaskDoesNotExist = exports.ExecutionNotRedrivable = exports.ExecutionLimitExceeded = exports.ExecutionRedriveFilter = exports.InvalidToken = exports.HistoryEventType = exports.StateMachineDoesNotExist = exports.StateMachineStatus = exports.MapRunStatus = exports.ExecutionDoesNotExist = exports.ExecutionStatus = exports.ExecutionRedriveStatus = exports.ServiceQuotaExceededException = exports.ResourceNotFound = exports.ValidationException = exports.ValidationExceptionReason = exports.StateMachineTypeNotSupported = exports.StateMachineLimitExceeded = exports.StateMachineDeleting = exports.StateMachineAlreadyExists = exports.InvalidTracingConfiguration = exports.InvalidLoggingConfiguration = exports.InvalidDefinition = exports.InvalidArn = exports.StateMachineType = exports.LogLevel = exports.ConflictException = exports.TooManyTags = exports.InvalidName = exports.ActivityWorkerLimitExceeded = exports.ActivityLimitExceeded = exports.ActivityDoesNotExist = void 0;
|
|
4
|
+
exports.UpdateStateMachineAliasInputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = exports.StartExecutionInputFilterSensitiveLog = exports.SendTaskSuccessInputFilterSensitiveLog = exports.SendTaskFailureInputFilterSensitiveLog = exports.PublishStateMachineVersionInputFilterSensitiveLog = exports.GetExecutionHistoryOutputFilterSensitiveLog = exports.HistoryEventFilterSensitiveLog = exports.TaskTimedOutEventDetailsFilterSensitiveLog = exports.TaskSucceededEventDetailsFilterSensitiveLog = exports.TaskSubmittedEventDetailsFilterSensitiveLog = exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = exports.TaskStartFailedEventDetailsFilterSensitiveLog = exports.TaskScheduledEventDetailsFilterSensitiveLog = exports.TaskFailedEventDetailsFilterSensitiveLog = exports.StateExitedEventDetailsFilterSensitiveLog = exports.StateEnteredEventDetailsFilterSensitiveLog = exports.MapRunFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = exports.ExecutionSucceededEventDetailsFilterSensitiveLog = exports.ExecutionStartedEventDetailsFilterSensitiveLog = exports.ExecutionFailedEventDetailsFilterSensitiveLog = exports.ExecutionAbortedEventDetailsFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const SFNServiceException_1 = require("./SFNServiceException");
|
|
7
7
|
class ActivityDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
@@ -244,9 +244,15 @@ class ServiceQuotaExceededException extends SFNServiceException_1.SFNServiceExce
|
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
247
|
+
exports.ExecutionRedriveStatus = {
|
|
248
|
+
NOT_REDRIVABLE: "NOT_REDRIVABLE",
|
|
249
|
+
REDRIVABLE: "REDRIVABLE",
|
|
250
|
+
REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN",
|
|
251
|
+
};
|
|
247
252
|
exports.ExecutionStatus = {
|
|
248
253
|
ABORTED: "ABORTED",
|
|
249
254
|
FAILED: "FAILED",
|
|
255
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
250
256
|
RUNNING: "RUNNING",
|
|
251
257
|
SUCCEEDED: "SUCCEEDED",
|
|
252
258
|
TIMED_OUT: "TIMED_OUT",
|
|
@@ -298,6 +304,7 @@ exports.HistoryEventType = {
|
|
|
298
304
|
ChoiceStateExited: "ChoiceStateExited",
|
|
299
305
|
ExecutionAborted: "ExecutionAborted",
|
|
300
306
|
ExecutionFailed: "ExecutionFailed",
|
|
307
|
+
ExecutionRedriven: "ExecutionRedriven",
|
|
301
308
|
ExecutionStarted: "ExecutionStarted",
|
|
302
309
|
ExecutionSucceeded: "ExecutionSucceeded",
|
|
303
310
|
ExecutionTimedOut: "ExecutionTimedOut",
|
|
@@ -315,6 +322,7 @@ exports.HistoryEventType = {
|
|
|
315
322
|
MapIterationSucceeded: "MapIterationSucceeded",
|
|
316
323
|
MapRunAborted: "MapRunAborted",
|
|
317
324
|
MapRunFailed: "MapRunFailed",
|
|
325
|
+
MapRunRedriven: "MapRunRedriven",
|
|
318
326
|
MapRunStarted: "MapRunStarted",
|
|
319
327
|
MapRunSucceeded: "MapRunSucceeded",
|
|
320
328
|
MapStateAborted: "MapStateAborted",
|
|
@@ -361,6 +369,36 @@ class InvalidToken extends SFNServiceException_1.SFNServiceException {
|
|
|
361
369
|
}
|
|
362
370
|
}
|
|
363
371
|
exports.InvalidToken = InvalidToken;
|
|
372
|
+
exports.ExecutionRedriveFilter = {
|
|
373
|
+
NOT_REDRIVEN: "NOT_REDRIVEN",
|
|
374
|
+
REDRIVEN: "REDRIVEN",
|
|
375
|
+
};
|
|
376
|
+
class ExecutionLimitExceeded extends SFNServiceException_1.SFNServiceException {
|
|
377
|
+
constructor(opts) {
|
|
378
|
+
super({
|
|
379
|
+
name: "ExecutionLimitExceeded",
|
|
380
|
+
$fault: "client",
|
|
381
|
+
...opts,
|
|
382
|
+
});
|
|
383
|
+
this.name = "ExecutionLimitExceeded";
|
|
384
|
+
this.$fault = "client";
|
|
385
|
+
Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
exports.ExecutionLimitExceeded = ExecutionLimitExceeded;
|
|
389
|
+
class ExecutionNotRedrivable extends SFNServiceException_1.SFNServiceException {
|
|
390
|
+
constructor(opts) {
|
|
391
|
+
super({
|
|
392
|
+
name: "ExecutionNotRedrivable",
|
|
393
|
+
$fault: "client",
|
|
394
|
+
...opts,
|
|
395
|
+
});
|
|
396
|
+
this.name = "ExecutionNotRedrivable";
|
|
397
|
+
this.$fault = "client";
|
|
398
|
+
Object.setPrototypeOf(this, ExecutionNotRedrivable.prototype);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
exports.ExecutionNotRedrivable = ExecutionNotRedrivable;
|
|
364
402
|
class TaskDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
365
403
|
constructor(opts) {
|
|
366
404
|
super({
|
|
@@ -413,19 +451,6 @@ class ExecutionAlreadyExists extends SFNServiceException_1.SFNServiceException {
|
|
|
413
451
|
}
|
|
414
452
|
}
|
|
415
453
|
exports.ExecutionAlreadyExists = ExecutionAlreadyExists;
|
|
416
|
-
class ExecutionLimitExceeded extends SFNServiceException_1.SFNServiceException {
|
|
417
|
-
constructor(opts) {
|
|
418
|
-
super({
|
|
419
|
-
name: "ExecutionLimitExceeded",
|
|
420
|
-
$fault: "client",
|
|
421
|
-
...opts,
|
|
422
|
-
});
|
|
423
|
-
this.name = "ExecutionLimitExceeded";
|
|
424
|
-
this.$fault = "client";
|
|
425
|
-
Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
exports.ExecutionLimitExceeded = ExecutionLimitExceeded;
|
|
429
454
|
class InvalidExecutionInput extends SFNServiceException_1.SFNServiceException {
|
|
430
455
|
constructor(opts) {
|
|
431
456
|
super({
|
|
@@ -502,6 +527,7 @@ const DescribeExecutionOutputFilterSensitiveLog = (obj) => ({
|
|
|
502
527
|
...(obj.output && { output: smithy_client_1.SENSITIVE_STRING }),
|
|
503
528
|
...(obj.error && { error: smithy_client_1.SENSITIVE_STRING }),
|
|
504
529
|
...(obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }),
|
|
530
|
+
...(obj.redriveStatusReason && { redriveStatusReason: smithy_client_1.SENSITIVE_STRING }),
|
|
505
531
|
});
|
|
506
532
|
exports.DescribeExecutionOutputFilterSensitiveLog = DescribeExecutionOutputFilterSensitiveLog;
|
|
507
533
|
const DescribeStateMachineOutputFilterSensitiveLog = (obj) => ({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateStateMachineAliasCommand = exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_PublishStateMachineVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachineVersionsCommand = exports.de_ListStateMachinesCommand = exports.de_ListStateMachineAliasesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = void 0;
|
|
3
|
+
exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineAliasCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineVersionCommand = exports.de_DeleteStateMachineAliasCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineAliasCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineAliasCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_RedriveExecutionCommand = exports.se_PublishStateMachineVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachineVersionsCommand = exports.se_ListStateMachinesCommand = exports.se_ListStateMachineAliasesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineAliasCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineVersionCommand = exports.se_DeleteStateMachineAliasCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineAliasCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0;
|
|
4
|
+
exports.de_UpdateStateMachineAliasCommand = exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_RedriveExecutionCommand = exports.de_PublishStateMachineVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachineVersionsCommand = exports.de_ListStateMachinesCommand = exports.de_ListStateMachineAliasesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = exports.de_ListActivitiesCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const uuid_1 = require("uuid");
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const SFNServiceException_1 = require("../models/SFNServiceException");
|
|
9
10
|
const se_CreateActivityCommand = async (input, context) => {
|
|
@@ -167,6 +168,13 @@ const se_PublishStateMachineVersionCommand = async (input, context) => {
|
|
|
167
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
169
|
};
|
|
169
170
|
exports.se_PublishStateMachineVersionCommand = se_PublishStateMachineVersionCommand;
|
|
171
|
+
const se_RedriveExecutionCommand = async (input, context) => {
|
|
172
|
+
const headers = sharedHeaders("RedriveExecution");
|
|
173
|
+
let body;
|
|
174
|
+
body = JSON.stringify(se_RedriveExecutionInput(input, context));
|
|
175
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
|
+
};
|
|
177
|
+
exports.se_RedriveExecutionCommand = se_RedriveExecutionCommand;
|
|
170
178
|
const se_SendTaskFailureCommand = async (input, context) => {
|
|
171
179
|
const headers = sharedHeaders("SendTaskFailure");
|
|
172
180
|
let body;
|
|
@@ -1175,6 +1183,48 @@ const de_PublishStateMachineVersionCommandError = async (output, context) => {
|
|
|
1175
1183
|
});
|
|
1176
1184
|
}
|
|
1177
1185
|
};
|
|
1186
|
+
const de_RedriveExecutionCommand = async (output, context) => {
|
|
1187
|
+
if (output.statusCode >= 300) {
|
|
1188
|
+
return de_RedriveExecutionCommandError(output, context);
|
|
1189
|
+
}
|
|
1190
|
+
const data = await parseBody(output.body, context);
|
|
1191
|
+
let contents = {};
|
|
1192
|
+
contents = de_RedriveExecutionOutput(data, context);
|
|
1193
|
+
const response = {
|
|
1194
|
+
$metadata: deserializeMetadata(output),
|
|
1195
|
+
...contents,
|
|
1196
|
+
};
|
|
1197
|
+
return response;
|
|
1198
|
+
};
|
|
1199
|
+
exports.de_RedriveExecutionCommand = de_RedriveExecutionCommand;
|
|
1200
|
+
const de_RedriveExecutionCommandError = async (output, context) => {
|
|
1201
|
+
const parsedOutput = {
|
|
1202
|
+
...output,
|
|
1203
|
+
body: await parseErrorBody(output.body, context),
|
|
1204
|
+
};
|
|
1205
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1206
|
+
switch (errorCode) {
|
|
1207
|
+
case "ExecutionDoesNotExist":
|
|
1208
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1209
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1210
|
+
case "ExecutionLimitExceeded":
|
|
1211
|
+
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
1212
|
+
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
1213
|
+
case "ExecutionNotRedrivable":
|
|
1214
|
+
case "com.amazonaws.sfn#ExecutionNotRedrivable":
|
|
1215
|
+
throw await de_ExecutionNotRedrivableRes(parsedOutput, context);
|
|
1216
|
+
case "InvalidArn":
|
|
1217
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1218
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1219
|
+
default:
|
|
1220
|
+
const parsedBody = parsedOutput.body;
|
|
1221
|
+
return throwDefaultError({
|
|
1222
|
+
output,
|
|
1223
|
+
parsedBody,
|
|
1224
|
+
errorCode,
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
};
|
|
1178
1228
|
const de_SendTaskFailureCommand = async (output, context) => {
|
|
1179
1229
|
if (output.statusCode >= 300) {
|
|
1180
1230
|
return de_SendTaskFailureCommandError(output, context);
|
|
@@ -1715,6 +1765,15 @@ const de_ExecutionLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1715
1765
|
});
|
|
1716
1766
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1717
1767
|
};
|
|
1768
|
+
const de_ExecutionNotRedrivableRes = async (parsedOutput, context) => {
|
|
1769
|
+
const body = parsedOutput.body;
|
|
1770
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1771
|
+
const exception = new models_0_1.ExecutionNotRedrivable({
|
|
1772
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1773
|
+
...deserialized,
|
|
1774
|
+
});
|
|
1775
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1776
|
+
};
|
|
1718
1777
|
const de_InvalidArnRes = async (parsedOutput, context) => {
|
|
1719
1778
|
const body = parsedOutput.body;
|
|
1720
1779
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
@@ -1895,6 +1954,12 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1895
1954
|
});
|
|
1896
1955
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1897
1956
|
};
|
|
1957
|
+
const se_RedriveExecutionInput = (input, context) => {
|
|
1958
|
+
return (0, smithy_client_1.take)(input, {
|
|
1959
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1960
|
+
executionArn: [],
|
|
1961
|
+
});
|
|
1962
|
+
};
|
|
1898
1963
|
const se_UpdateMapRunInput = (input, context) => {
|
|
1899
1964
|
return (0, smithy_client_1.take)(input, {
|
|
1900
1965
|
mapRunArn: [],
|
|
@@ -1955,6 +2020,10 @@ const de_DescribeExecutionOutput = (output, context) => {
|
|
|
1955
2020
|
name: smithy_client_1.expectString,
|
|
1956
2021
|
output: smithy_client_1.expectString,
|
|
1957
2022
|
outputDetails: smithy_client_1._json,
|
|
2023
|
+
redriveCount: smithy_client_1.expectInt32,
|
|
2024
|
+
redriveDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2025
|
+
redriveStatus: smithy_client_1.expectString,
|
|
2026
|
+
redriveStatusReason: smithy_client_1.expectString,
|
|
1958
2027
|
startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1959
2028
|
stateMachineAliasArn: smithy_client_1.expectString,
|
|
1960
2029
|
stateMachineArn: smithy_client_1.expectString,
|
|
@@ -1971,6 +2040,8 @@ const de_DescribeMapRunOutput = (output, context) => {
|
|
|
1971
2040
|
itemCounts: smithy_client_1._json,
|
|
1972
2041
|
mapRunArn: smithy_client_1.expectString,
|
|
1973
2042
|
maxConcurrency: smithy_client_1.expectInt32,
|
|
2043
|
+
redriveCount: smithy_client_1.expectInt32,
|
|
2044
|
+
redriveDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1974
2045
|
startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1975
2046
|
status: smithy_client_1.expectString,
|
|
1976
2047
|
stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -2032,6 +2103,8 @@ const de_ExecutionListItem = (output, context) => {
|
|
|
2032
2103
|
itemCount: smithy_client_1.expectInt32,
|
|
2033
2104
|
mapRunArn: smithy_client_1.expectString,
|
|
2034
2105
|
name: smithy_client_1.expectString,
|
|
2106
|
+
redriveCount: smithy_client_1.expectInt32,
|
|
2107
|
+
redriveDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2035
2108
|
startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2036
2109
|
stateMachineAliasArn: smithy_client_1.expectString,
|
|
2037
2110
|
stateMachineArn: smithy_client_1.expectString,
|
|
@@ -2056,6 +2129,7 @@ const de_HistoryEvent = (output, context) => {
|
|
|
2056
2129
|
activityTimedOutEventDetails: smithy_client_1._json,
|
|
2057
2130
|
executionAbortedEventDetails: smithy_client_1._json,
|
|
2058
2131
|
executionFailedEventDetails: smithy_client_1._json,
|
|
2132
|
+
executionRedrivenEventDetails: smithy_client_1._json,
|
|
2059
2133
|
executionStartedEventDetails: smithy_client_1._json,
|
|
2060
2134
|
executionSucceededEventDetails: smithy_client_1._json,
|
|
2061
2135
|
executionTimedOutEventDetails: smithy_client_1._json,
|
|
@@ -2071,6 +2145,7 @@ const de_HistoryEvent = (output, context) => {
|
|
|
2071
2145
|
mapIterationStartedEventDetails: smithy_client_1._json,
|
|
2072
2146
|
mapIterationSucceededEventDetails: smithy_client_1._json,
|
|
2073
2147
|
mapRunFailedEventDetails: smithy_client_1._json,
|
|
2148
|
+
mapRunRedrivenEventDetails: smithy_client_1._json,
|
|
2074
2149
|
mapRunStartedEventDetails: smithy_client_1._json,
|
|
2075
2150
|
mapStateStartedEventDetails: smithy_client_1._json,
|
|
2076
2151
|
previousEventId: smithy_client_1.expectLong,
|
|
@@ -2155,6 +2230,11 @@ const de_PublishStateMachineVersionOutput = (output, context) => {
|
|
|
2155
2230
|
stateMachineVersionArn: smithy_client_1.expectString,
|
|
2156
2231
|
});
|
|
2157
2232
|
};
|
|
2233
|
+
const de_RedriveExecutionOutput = (output, context) => {
|
|
2234
|
+
return (0, smithy_client_1.take)(output, {
|
|
2235
|
+
redriveDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2236
|
+
});
|
|
2237
|
+
};
|
|
2158
2238
|
const de_StartExecutionOutput = (output, context) => {
|
|
2159
2239
|
return (0, smithy_client_1.take)(output, {
|
|
2160
2240
|
executionArn: smithy_client_1.expectString,
|
package/dist-es/SFN.js
CHANGED
|
@@ -22,6 +22,7 @@ import { ListStateMachinesCommand, } from "./commands/ListStateMachinesCommand";
|
|
|
22
22
|
import { ListStateMachineVersionsCommand, } from "./commands/ListStateMachineVersionsCommand";
|
|
23
23
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
24
24
|
import { PublishStateMachineVersionCommand, } from "./commands/PublishStateMachineVersionCommand";
|
|
25
|
+
import { RedriveExecutionCommand, } from "./commands/RedriveExecutionCommand";
|
|
25
26
|
import { SendTaskFailureCommand, } from "./commands/SendTaskFailureCommand";
|
|
26
27
|
import { SendTaskHeartbeatCommand, } from "./commands/SendTaskHeartbeatCommand";
|
|
27
28
|
import { SendTaskSuccessCommand, } from "./commands/SendTaskSuccessCommand";
|
|
@@ -58,6 +59,7 @@ const commands = {
|
|
|
58
59
|
ListStateMachineVersionsCommand,
|
|
59
60
|
ListTagsForResourceCommand,
|
|
60
61
|
PublishStateMachineVersionCommand,
|
|
62
|
+
RedriveExecutionCommand,
|
|
61
63
|
SendTaskFailureCommand,
|
|
62
64
|
SendTaskHeartbeatCommand,
|
|
63
65
|
SendTaskSuccessCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_RedriveExecutionCommand, se_RedriveExecutionCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class RedriveExecutionCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RedriveExecutionCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SFNClient";
|
|
26
|
+
const commandName = "RedriveExecutionCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSStepFunctions",
|
|
35
|
+
operation: "RedriveExecution",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_RedriveExecutionCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_RedriveExecutionCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -21,6 +21,7 @@ export * from "./ListStateMachineVersionsCommand";
|
|
|
21
21
|
export * from "./ListStateMachinesCommand";
|
|
22
22
|
export * from "./ListTagsForResourceCommand";
|
|
23
23
|
export * from "./PublishStateMachineVersionCommand";
|
|
24
|
+
export * from "./RedriveExecutionCommand";
|
|
24
25
|
export * from "./SendTaskFailureCommand";
|
|
25
26
|
export * from "./SendTaskHeartbeatCommand";
|
|
26
27
|
export * from "./SendTaskSuccessCommand";
|
|
@@ -223,9 +223,15 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
223
223
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
+
export const ExecutionRedriveStatus = {
|
|
227
|
+
NOT_REDRIVABLE: "NOT_REDRIVABLE",
|
|
228
|
+
REDRIVABLE: "REDRIVABLE",
|
|
229
|
+
REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN",
|
|
230
|
+
};
|
|
226
231
|
export const ExecutionStatus = {
|
|
227
232
|
ABORTED: "ABORTED",
|
|
228
233
|
FAILED: "FAILED",
|
|
234
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
229
235
|
RUNNING: "RUNNING",
|
|
230
236
|
SUCCEEDED: "SUCCEEDED",
|
|
231
237
|
TIMED_OUT: "TIMED_OUT",
|
|
@@ -275,6 +281,7 @@ export const HistoryEventType = {
|
|
|
275
281
|
ChoiceStateExited: "ChoiceStateExited",
|
|
276
282
|
ExecutionAborted: "ExecutionAborted",
|
|
277
283
|
ExecutionFailed: "ExecutionFailed",
|
|
284
|
+
ExecutionRedriven: "ExecutionRedriven",
|
|
278
285
|
ExecutionStarted: "ExecutionStarted",
|
|
279
286
|
ExecutionSucceeded: "ExecutionSucceeded",
|
|
280
287
|
ExecutionTimedOut: "ExecutionTimedOut",
|
|
@@ -292,6 +299,7 @@ export const HistoryEventType = {
|
|
|
292
299
|
MapIterationSucceeded: "MapIterationSucceeded",
|
|
293
300
|
MapRunAborted: "MapRunAborted",
|
|
294
301
|
MapRunFailed: "MapRunFailed",
|
|
302
|
+
MapRunRedriven: "MapRunRedriven",
|
|
295
303
|
MapRunStarted: "MapRunStarted",
|
|
296
304
|
MapRunSucceeded: "MapRunSucceeded",
|
|
297
305
|
MapStateAborted: "MapStateAborted",
|
|
@@ -337,6 +345,34 @@ export class InvalidToken extends __BaseException {
|
|
|
337
345
|
Object.setPrototypeOf(this, InvalidToken.prototype);
|
|
338
346
|
}
|
|
339
347
|
}
|
|
348
|
+
export const ExecutionRedriveFilter = {
|
|
349
|
+
NOT_REDRIVEN: "NOT_REDRIVEN",
|
|
350
|
+
REDRIVEN: "REDRIVEN",
|
|
351
|
+
};
|
|
352
|
+
export class ExecutionLimitExceeded extends __BaseException {
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "ExecutionLimitExceeded",
|
|
356
|
+
$fault: "client",
|
|
357
|
+
...opts,
|
|
358
|
+
});
|
|
359
|
+
this.name = "ExecutionLimitExceeded";
|
|
360
|
+
this.$fault = "client";
|
|
361
|
+
Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
export class ExecutionNotRedrivable extends __BaseException {
|
|
365
|
+
constructor(opts) {
|
|
366
|
+
super({
|
|
367
|
+
name: "ExecutionNotRedrivable",
|
|
368
|
+
$fault: "client",
|
|
369
|
+
...opts,
|
|
370
|
+
});
|
|
371
|
+
this.name = "ExecutionNotRedrivable";
|
|
372
|
+
this.$fault = "client";
|
|
373
|
+
Object.setPrototypeOf(this, ExecutionNotRedrivable.prototype);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
340
376
|
export class TaskDoesNotExist extends __BaseException {
|
|
341
377
|
constructor(opts) {
|
|
342
378
|
super({
|
|
@@ -385,18 +421,6 @@ export class ExecutionAlreadyExists extends __BaseException {
|
|
|
385
421
|
Object.setPrototypeOf(this, ExecutionAlreadyExists.prototype);
|
|
386
422
|
}
|
|
387
423
|
}
|
|
388
|
-
export class ExecutionLimitExceeded extends __BaseException {
|
|
389
|
-
constructor(opts) {
|
|
390
|
-
super({
|
|
391
|
-
name: "ExecutionLimitExceeded",
|
|
392
|
-
$fault: "client",
|
|
393
|
-
...opts,
|
|
394
|
-
});
|
|
395
|
-
this.name = "ExecutionLimitExceeded";
|
|
396
|
-
this.$fault = "client";
|
|
397
|
-
Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
424
|
export class InvalidExecutionInput extends __BaseException {
|
|
401
425
|
constructor(opts) {
|
|
402
426
|
super({
|
|
@@ -464,6 +488,7 @@ export const DescribeExecutionOutputFilterSensitiveLog = (obj) => ({
|
|
|
464
488
|
...(obj.output && { output: SENSITIVE_STRING }),
|
|
465
489
|
...(obj.error && { error: SENSITIVE_STRING }),
|
|
466
490
|
...(obj.cause && { cause: SENSITIVE_STRING }),
|
|
491
|
+
...(obj.redriveStatusReason && { redriveStatusReason: SENSITIVE_STRING }),
|
|
467
492
|
});
|
|
468
493
|
export const DescribeStateMachineOutputFilterSensitiveLog = (obj) => ({
|
|
469
494
|
...obj,
|