@aws-sdk/client-lambda 3.942.0 → 3.943.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 +72 -0
- package/dist-cjs/index.js +1037 -83
- package/dist-es/Lambda.js +18 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +59 -0
- package/dist-es/models/errors.js +32 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +806 -84
- package/dist-types/Lambda.d.ts +63 -0
- package/dist-types/LambdaClient.d.ts +11 -2
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +17 -1
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +9 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +9 -1
- package/dist-types/commands/InvokeCommand.d.ts +7 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +9 -1
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +13 -1
- package/dist-types/commands/PublishVersionCommand.d.ts +5 -1
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +5 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +17 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +1510 -173
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +90 -0
- package/dist-types/ts3.4/Lambda.d.ts +171 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
- package/package.json +5 -5
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
3
3
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
4
|
+
import { CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput } from "./commands/CheckpointDurableExecutionCommand";
|
|
4
5
|
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
5
6
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
6
7
|
import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand";
|
|
@@ -22,6 +23,9 @@ import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from
|
|
|
22
23
|
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
23
24
|
import { GetCapacityProviderCommandInput, GetCapacityProviderCommandOutput } from "./commands/GetCapacityProviderCommand";
|
|
24
25
|
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
|
|
26
|
+
import { GetDurableExecutionCommandInput, GetDurableExecutionCommandOutput } from "./commands/GetDurableExecutionCommand";
|
|
27
|
+
import { GetDurableExecutionHistoryCommandInput, GetDurableExecutionHistoryCommandOutput } from "./commands/GetDurableExecutionHistoryCommand";
|
|
28
|
+
import { GetDurableExecutionStateCommandInput, GetDurableExecutionStateCommandOutput } from "./commands/GetDurableExecutionStateCommand";
|
|
25
29
|
import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand";
|
|
26
30
|
import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand";
|
|
27
31
|
import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
@@ -43,6 +47,7 @@ import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOu
|
|
|
43
47
|
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
|
|
44
48
|
import { ListCapacityProvidersCommandInput, ListCapacityProvidersCommandOutput } from "./commands/ListCapacityProvidersCommand";
|
|
45
49
|
import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand";
|
|
50
|
+
import { ListDurableExecutionsByFunctionCommandInput, ListDurableExecutionsByFunctionCommandOutput } from "./commands/ListDurableExecutionsByFunctionCommand";
|
|
46
51
|
import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand";
|
|
47
52
|
import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand";
|
|
48
53
|
import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand";
|
|
@@ -65,6 +70,10 @@ import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyC
|
|
|
65
70
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
66
71
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
67
72
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
73
|
+
import { SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput } from "./commands/SendDurableExecutionCallbackFailureCommand";
|
|
74
|
+
import { SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput } from "./commands/SendDurableExecutionCallbackHeartbeatCommand";
|
|
75
|
+
import { SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput } from "./commands/SendDurableExecutionCallbackSuccessCommand";
|
|
76
|
+
import { StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput } from "./commands/StopDurableExecutionCommand";
|
|
68
77
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
69
78
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
70
79
|
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
@@ -89,6 +98,12 @@ export interface Lambda {
|
|
|
89
98
|
addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
|
|
90
99
|
addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
91
100
|
addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link CheckpointDurableExecutionCommand}
|
|
103
|
+
*/
|
|
104
|
+
checkpointDurableExecution(args: CheckpointDurableExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CheckpointDurableExecutionCommandOutput>;
|
|
105
|
+
checkpointDurableExecution(args: CheckpointDurableExecutionCommandInput, cb: (err: any, data?: CheckpointDurableExecutionCommandOutput) => void): void;
|
|
106
|
+
checkpointDurableExecution(args: CheckpointDurableExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckpointDurableExecutionCommandOutput) => void): void;
|
|
92
107
|
/**
|
|
93
108
|
* @see {@link CreateAliasCommand}
|
|
94
109
|
*/
|
|
@@ -216,6 +231,24 @@ export interface Lambda {
|
|
|
216
231
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSigningConfigCommandOutput>;
|
|
217
232
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
|
|
218
233
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
|
|
234
|
+
/**
|
|
235
|
+
* @see {@link GetDurableExecutionCommand}
|
|
236
|
+
*/
|
|
237
|
+
getDurableExecution(args: GetDurableExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetDurableExecutionCommandOutput>;
|
|
238
|
+
getDurableExecution(args: GetDurableExecutionCommandInput, cb: (err: any, data?: GetDurableExecutionCommandOutput) => void): void;
|
|
239
|
+
getDurableExecution(args: GetDurableExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDurableExecutionCommandOutput) => void): void;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link GetDurableExecutionHistoryCommand}
|
|
242
|
+
*/
|
|
243
|
+
getDurableExecutionHistory(args: GetDurableExecutionHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetDurableExecutionHistoryCommandOutput>;
|
|
244
|
+
getDurableExecutionHistory(args: GetDurableExecutionHistoryCommandInput, cb: (err: any, data?: GetDurableExecutionHistoryCommandOutput) => void): void;
|
|
245
|
+
getDurableExecutionHistory(args: GetDurableExecutionHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDurableExecutionHistoryCommandOutput) => void): void;
|
|
246
|
+
/**
|
|
247
|
+
* @see {@link GetDurableExecutionStateCommand}
|
|
248
|
+
*/
|
|
249
|
+
getDurableExecutionState(args: GetDurableExecutionStateCommandInput, options?: __HttpHandlerOptions): Promise<GetDurableExecutionStateCommandOutput>;
|
|
250
|
+
getDurableExecutionState(args: GetDurableExecutionStateCommandInput, cb: (err: any, data?: GetDurableExecutionStateCommandOutput) => void): void;
|
|
251
|
+
getDurableExecutionState(args: GetDurableExecutionStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDurableExecutionStateCommandOutput) => void): void;
|
|
219
252
|
/**
|
|
220
253
|
* @see {@link GetEventSourceMappingCommand}
|
|
221
254
|
*/
|
|
@@ -344,6 +377,12 @@ export interface Lambda {
|
|
|
344
377
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSigningConfigsCommandOutput>;
|
|
345
378
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
|
|
346
379
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
|
|
380
|
+
/**
|
|
381
|
+
* @see {@link ListDurableExecutionsByFunctionCommand}
|
|
382
|
+
*/
|
|
383
|
+
listDurableExecutionsByFunction(args: ListDurableExecutionsByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListDurableExecutionsByFunctionCommandOutput>;
|
|
384
|
+
listDurableExecutionsByFunction(args: ListDurableExecutionsByFunctionCommandInput, cb: (err: any, data?: ListDurableExecutionsByFunctionCommandOutput) => void): void;
|
|
385
|
+
listDurableExecutionsByFunction(args: ListDurableExecutionsByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDurableExecutionsByFunctionCommandOutput) => void): void;
|
|
347
386
|
/**
|
|
348
387
|
* @see {@link ListEventSourceMappingsCommand}
|
|
349
388
|
*/
|
|
@@ -479,6 +518,30 @@ export interface Lambda {
|
|
|
479
518
|
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
|
|
480
519
|
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
481
520
|
removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
521
|
+
/**
|
|
522
|
+
* @see {@link SendDurableExecutionCallbackFailureCommand}
|
|
523
|
+
*/
|
|
524
|
+
sendDurableExecutionCallbackFailure(args: SendDurableExecutionCallbackFailureCommandInput, options?: __HttpHandlerOptions): Promise<SendDurableExecutionCallbackFailureCommandOutput>;
|
|
525
|
+
sendDurableExecutionCallbackFailure(args: SendDurableExecutionCallbackFailureCommandInput, cb: (err: any, data?: SendDurableExecutionCallbackFailureCommandOutput) => void): void;
|
|
526
|
+
sendDurableExecutionCallbackFailure(args: SendDurableExecutionCallbackFailureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendDurableExecutionCallbackFailureCommandOutput) => void): void;
|
|
527
|
+
/**
|
|
528
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommand}
|
|
529
|
+
*/
|
|
530
|
+
sendDurableExecutionCallbackHeartbeat(args: SendDurableExecutionCallbackHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<SendDurableExecutionCallbackHeartbeatCommandOutput>;
|
|
531
|
+
sendDurableExecutionCallbackHeartbeat(args: SendDurableExecutionCallbackHeartbeatCommandInput, cb: (err: any, data?: SendDurableExecutionCallbackHeartbeatCommandOutput) => void): void;
|
|
532
|
+
sendDurableExecutionCallbackHeartbeat(args: SendDurableExecutionCallbackHeartbeatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendDurableExecutionCallbackHeartbeatCommandOutput) => void): void;
|
|
533
|
+
/**
|
|
534
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommand}
|
|
535
|
+
*/
|
|
536
|
+
sendDurableExecutionCallbackSuccess(args: SendDurableExecutionCallbackSuccessCommandInput, options?: __HttpHandlerOptions): Promise<SendDurableExecutionCallbackSuccessCommandOutput>;
|
|
537
|
+
sendDurableExecutionCallbackSuccess(args: SendDurableExecutionCallbackSuccessCommandInput, cb: (err: any, data?: SendDurableExecutionCallbackSuccessCommandOutput) => void): void;
|
|
538
|
+
sendDurableExecutionCallbackSuccess(args: SendDurableExecutionCallbackSuccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendDurableExecutionCallbackSuccessCommandOutput) => void): void;
|
|
539
|
+
/**
|
|
540
|
+
* @see {@link StopDurableExecutionCommand}
|
|
541
|
+
*/
|
|
542
|
+
stopDurableExecution(args: StopDurableExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopDurableExecutionCommandOutput>;
|
|
543
|
+
stopDurableExecution(args: StopDurableExecutionCommandInput, cb: (err: any, data?: StopDurableExecutionCommandOutput) => void): void;
|
|
544
|
+
stopDurableExecution(args: StopDurableExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDurableExecutionCommandOutput) => void): void;
|
|
482
545
|
/**
|
|
483
546
|
* @see {@link TagResourceCommand}
|
|
484
547
|
*/
|
|
@@ -10,6 +10,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
10
10
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
11
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
12
12
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
13
|
+
import { CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput } from "./commands/CheckpointDurableExecutionCommand";
|
|
13
14
|
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
14
15
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
15
16
|
import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand";
|
|
@@ -31,6 +32,9 @@ import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from
|
|
|
31
32
|
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
32
33
|
import { GetCapacityProviderCommandInput, GetCapacityProviderCommandOutput } from "./commands/GetCapacityProviderCommand";
|
|
33
34
|
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
|
|
35
|
+
import { GetDurableExecutionCommandInput, GetDurableExecutionCommandOutput } from "./commands/GetDurableExecutionCommand";
|
|
36
|
+
import { GetDurableExecutionHistoryCommandInput, GetDurableExecutionHistoryCommandOutput } from "./commands/GetDurableExecutionHistoryCommand";
|
|
37
|
+
import { GetDurableExecutionStateCommandInput, GetDurableExecutionStateCommandOutput } from "./commands/GetDurableExecutionStateCommand";
|
|
34
38
|
import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand";
|
|
35
39
|
import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand";
|
|
36
40
|
import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
@@ -52,6 +56,7 @@ import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOu
|
|
|
52
56
|
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
|
|
53
57
|
import { ListCapacityProvidersCommandInput, ListCapacityProvidersCommandOutput } from "./commands/ListCapacityProvidersCommand";
|
|
54
58
|
import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand";
|
|
59
|
+
import { ListDurableExecutionsByFunctionCommandInput, ListDurableExecutionsByFunctionCommandOutput } from "./commands/ListDurableExecutionsByFunctionCommand";
|
|
55
60
|
import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand";
|
|
56
61
|
import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand";
|
|
57
62
|
import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand";
|
|
@@ -74,6 +79,10 @@ import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyC
|
|
|
74
79
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
75
80
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
76
81
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
82
|
+
import { SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput } from "./commands/SendDurableExecutionCallbackFailureCommand";
|
|
83
|
+
import { SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput } from "./commands/SendDurableExecutionCallbackHeartbeatCommand";
|
|
84
|
+
import { SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput } from "./commands/SendDurableExecutionCallbackSuccessCommand";
|
|
85
|
+
import { StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput } from "./commands/StopDurableExecutionCommand";
|
|
77
86
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
78
87
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
79
88
|
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
@@ -90,11 +99,11 @@ export { __Client };
|
|
|
90
99
|
/**
|
|
91
100
|
* @public
|
|
92
101
|
*/
|
|
93
|
-
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCapacityProviderCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCapacityProviderCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCapacityProviderCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionScalingConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCapacityProvidersCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionVersionsByCapacityProviderCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutFunctionScalingConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCapacityProviderCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
|
|
102
|
+
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CheckpointDurableExecutionCommandInput | CreateAliasCommandInput | CreateCapacityProviderCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCapacityProviderCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCapacityProviderCommandInput | GetCodeSigningConfigCommandInput | GetDurableExecutionCommandInput | GetDurableExecutionHistoryCommandInput | GetDurableExecutionStateCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionScalingConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCapacityProvidersCommandInput | ListCodeSigningConfigsCommandInput | ListDurableExecutionsByFunctionCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionVersionsByCapacityProviderCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutFunctionScalingConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | SendDurableExecutionCallbackFailureCommandInput | SendDurableExecutionCallbackHeartbeatCommandInput | SendDurableExecutionCallbackSuccessCommandInput | StopDurableExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCapacityProviderCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
|
|
94
103
|
/**
|
|
95
104
|
* @public
|
|
96
105
|
*/
|
|
97
|
-
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCapacityProviderCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCapacityProviderCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCapacityProviderCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionScalingConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCapacityProvidersCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionVersionsByCapacityProviderCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutFunctionScalingConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCapacityProviderCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
|
|
106
|
+
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CheckpointDurableExecutionCommandOutput | CreateAliasCommandOutput | CreateCapacityProviderCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCapacityProviderCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCapacityProviderCommandOutput | GetCodeSigningConfigCommandOutput | GetDurableExecutionCommandOutput | GetDurableExecutionHistoryCommandOutput | GetDurableExecutionStateCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionScalingConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCapacityProvidersCommandOutput | ListCodeSigningConfigsCommandOutput | ListDurableExecutionsByFunctionCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionVersionsByCapacityProviderCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutFunctionScalingConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | SendDurableExecutionCallbackFailureCommandOutput | SendDurableExecutionCallbackHeartbeatCommandOutput | SendDurableExecutionCallbackSuccessCommandOutput | StopDurableExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCapacityProviderCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
|
|
98
107
|
/**
|
|
99
108
|
* @public
|
|
100
109
|
*/
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { CheckpointDurableExecutionRequest, CheckpointDurableExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CheckpointDurableExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CheckpointDurableExecutionCommandInput extends CheckpointDurableExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CheckpointDurableExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CheckpointDurableExecutionCommandOutput extends CheckpointDurableExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CheckpointDurableExecutionCommand_base: {
|
|
25
|
+
new (input: CheckpointDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CheckpointDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Saves the progress of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable function</a> execution during runtime. This API is used by the Lambda durable functions SDK to checkpoint completed steps and schedule asynchronous operations. You typically don't need to call this API directly as the SDK handles checkpointing automatically.</p> <p>Each checkpoint operation consumes the current checkpoint token and returns a new one for the next checkpoint. This ensures that checkpoints are applied in the correct order and prevents duplicate or out-of-order state updates.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CheckpointDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CheckpointDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CheckpointDurableExecutionRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* CheckpointToken: "STRING_VALUE", // required
|
|
42
|
+
* Updates: [ // OperationUpdates
|
|
43
|
+
* { // OperationUpdate
|
|
44
|
+
* Id: "STRING_VALUE", // required
|
|
45
|
+
* ParentId: "STRING_VALUE",
|
|
46
|
+
* Name: "STRING_VALUE",
|
|
47
|
+
* Type: "EXECUTION" || "CONTEXT" || "STEP" || "WAIT" || "CALLBACK" || "CHAINED_INVOKE", // required
|
|
48
|
+
* SubType: "STRING_VALUE",
|
|
49
|
+
* Action: "START" || "SUCCEED" || "FAIL" || "RETRY" || "CANCEL", // required
|
|
50
|
+
* Payload: "STRING_VALUE",
|
|
51
|
+
* Error: { // ErrorObject
|
|
52
|
+
* ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* ErrorType: "STRING_VALUE",
|
|
54
|
+
* ErrorData: "STRING_VALUE",
|
|
55
|
+
* StackTrace: [ // StackTraceEntries
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* ContextOptions: { // ContextOptions
|
|
60
|
+
* ReplayChildren: true || false,
|
|
61
|
+
* },
|
|
62
|
+
* StepOptions: { // StepOptions
|
|
63
|
+
* NextAttemptDelaySeconds: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* WaitOptions: { // WaitOptions
|
|
66
|
+
* WaitSeconds: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* CallbackOptions: { // CallbackOptions
|
|
69
|
+
* TimeoutSeconds: Number("int"),
|
|
70
|
+
* HeartbeatTimeoutSeconds: Number("int"),
|
|
71
|
+
* },
|
|
72
|
+
* ChainedInvokeOptions: { // ChainedInvokeOptions
|
|
73
|
+
* FunctionName: "STRING_VALUE", // required
|
|
74
|
+
* TenantId: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* ClientToken: "STRING_VALUE",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CheckpointDurableExecutionCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CheckpointDurableExecutionResponse
|
|
83
|
+
* // CheckpointToken: "STRING_VALUE",
|
|
84
|
+
* // NewExecutionState: { // CheckpointUpdatedExecutionState
|
|
85
|
+
* // Operations: [ // Operations
|
|
86
|
+
* // { // Operation
|
|
87
|
+
* // Id: "STRING_VALUE", // required
|
|
88
|
+
* // ParentId: "STRING_VALUE",
|
|
89
|
+
* // Name: "STRING_VALUE",
|
|
90
|
+
* // Type: "EXECUTION" || "CONTEXT" || "STEP" || "WAIT" || "CALLBACK" || "CHAINED_INVOKE", // required
|
|
91
|
+
* // SubType: "STRING_VALUE",
|
|
92
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
93
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
94
|
+
* // Status: "STARTED" || "PENDING" || "READY" || "SUCCEEDED" || "FAILED" || "CANCELLED" || "TIMED_OUT" || "STOPPED", // required
|
|
95
|
+
* // ExecutionDetails: { // ExecutionDetails
|
|
96
|
+
* // InputPayload: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ContextDetails: { // ContextDetails
|
|
99
|
+
* // ReplayChildren: true || false,
|
|
100
|
+
* // Result: "STRING_VALUE",
|
|
101
|
+
* // Error: { // ErrorObject
|
|
102
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
103
|
+
* // ErrorType: "STRING_VALUE",
|
|
104
|
+
* // ErrorData: "STRING_VALUE",
|
|
105
|
+
* // StackTrace: [ // StackTraceEntries
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // StepDetails: { // StepDetails
|
|
111
|
+
* // Attempt: Number("int"),
|
|
112
|
+
* // NextAttemptTimestamp: new Date("TIMESTAMP"),
|
|
113
|
+
* // Result: "STRING_VALUE",
|
|
114
|
+
* // Error: {
|
|
115
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
116
|
+
* // ErrorType: "STRING_VALUE",
|
|
117
|
+
* // ErrorData: "STRING_VALUE",
|
|
118
|
+
* // StackTrace: [
|
|
119
|
+
* // "STRING_VALUE",
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // WaitDetails: { // WaitDetails
|
|
124
|
+
* // ScheduledEndTimestamp: new Date("TIMESTAMP"),
|
|
125
|
+
* // },
|
|
126
|
+
* // CallbackDetails: { // CallbackDetails
|
|
127
|
+
* // CallbackId: "STRING_VALUE",
|
|
128
|
+
* // Result: "STRING_VALUE",
|
|
129
|
+
* // Error: {
|
|
130
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
131
|
+
* // ErrorType: "STRING_VALUE",
|
|
132
|
+
* // ErrorData: "STRING_VALUE",
|
|
133
|
+
* // StackTrace: [
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // ChainedInvokeDetails: { // ChainedInvokeDetails
|
|
139
|
+
* // Result: "STRING_VALUE",
|
|
140
|
+
* // Error: {
|
|
141
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
142
|
+
* // ErrorType: "STRING_VALUE",
|
|
143
|
+
* // ErrorData: "STRING_VALUE",
|
|
144
|
+
* // StackTrace: [
|
|
145
|
+
* // "STRING_VALUE",
|
|
146
|
+
* // ],
|
|
147
|
+
* // },
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // NextMarker: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // };
|
|
154
|
+
*
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* @param CheckpointDurableExecutionCommandInput - {@link CheckpointDurableExecutionCommandInput}
|
|
158
|
+
* @returns {@link CheckpointDurableExecutionCommandOutput}
|
|
159
|
+
* @see {@link CheckpointDurableExecutionCommandInput} for command's `input` shape.
|
|
160
|
+
* @see {@link CheckpointDurableExecutionCommandOutput} for command's `response` shape.
|
|
161
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
164
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link ServiceException} (server fault)
|
|
167
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
170
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link LambdaServiceException}
|
|
173
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export declare class CheckpointDurableExecutionCommand extends CheckpointDurableExecutionCommand_base {
|
|
179
|
+
/** @internal type navigation helper, not in runtime. */
|
|
180
|
+
protected static __types: {
|
|
181
|
+
api: {
|
|
182
|
+
input: CheckpointDurableExecutionRequest;
|
|
183
|
+
output: CheckpointDurableExecutionResponse;
|
|
184
|
+
};
|
|
185
|
+
sdk: {
|
|
186
|
+
input: CheckpointDurableExecutionCommandInput;
|
|
187
|
+
output: CheckpointDurableExecutionCommandOutput;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
}
|
|
@@ -120,6 +120,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
120
120
|
* },
|
|
121
121
|
* },
|
|
122
122
|
* PublishTo: "LATEST_PUBLISHED",
|
|
123
|
+
* DurableConfig: { // DurableConfig
|
|
124
|
+
* RetentionPeriodInDays: Number("int"),
|
|
125
|
+
* ExecutionTimeout: Number("int"),
|
|
126
|
+
* },
|
|
123
127
|
* TenancyConfig: { // TenancyConfig
|
|
124
128
|
* TenantIsolationMode: "PER_TENANT", // required
|
|
125
129
|
* },
|
|
@@ -177,7 +181,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
177
181
|
* // ],
|
|
178
182
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
179
183
|
* // StateReason: "STRING_VALUE",
|
|
180
|
-
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
184
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "DrainingDurableExecutions" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
181
185
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
182
186
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
183
187
|
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
@@ -236,6 +240,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
236
240
|
* // },
|
|
237
241
|
* // },
|
|
238
242
|
* // ConfigSha256: "STRING_VALUE",
|
|
243
|
+
* // DurableConfig: { // DurableConfig
|
|
244
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
245
|
+
* // ExecutionTimeout: Number("int"),
|
|
246
|
+
* // },
|
|
239
247
|
* // TenancyConfig: { // TenancyConfig
|
|
240
248
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
241
249
|
* // },
|
|
@@ -292,6 +300,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
292
300
|
* S3Key: "function.zip"
|
|
293
301
|
* },
|
|
294
302
|
* Description: "Process image objects from Amazon S3.",
|
|
303
|
+
* DurableConfig: {
|
|
304
|
+
* ExecutionTimeout: 31622400,
|
|
305
|
+
* RetentionPeriodInDays: 30
|
|
306
|
+
* },
|
|
295
307
|
* Environment: {
|
|
296
308
|
* Variables: {
|
|
297
309
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -320,6 +332,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
320
332
|
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
321
333
|
* CodeSize: 5797206,
|
|
322
334
|
* Description: "Process image objects from Amazon S3.",
|
|
335
|
+
* DurableConfig: {
|
|
336
|
+
* ExecutionTimeout: 31622400,
|
|
337
|
+
* RetentionPeriodInDays: 30
|
|
338
|
+
* },
|
|
323
339
|
* Environment: {
|
|
324
340
|
* Variables: {
|
|
325
341
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { GetDurableExecutionRequest, GetDurableExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDurableExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDurableExecutionCommandInput extends GetDurableExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDurableExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDurableExecutionCommandOutput extends GetDurableExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDurableExecutionCommand_base: {
|
|
25
|
+
new (input: GetDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionCommandInput, GetDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionCommandInput, GetDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>, including its current status, input payload, result or error information, and execution metadata such as start time and usage statistics.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // GetDurableExecutionRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetDurableExecutionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetDurableExecutionResponse
|
|
45
|
+
* // DurableExecutionArn: "STRING_VALUE", // required
|
|
46
|
+
* // DurableExecutionName: "STRING_VALUE", // required
|
|
47
|
+
* // FunctionArn: "STRING_VALUE", // required
|
|
48
|
+
* // InputPayload: "STRING_VALUE",
|
|
49
|
+
* // Result: "STRING_VALUE",
|
|
50
|
+
* // Error: { // ErrorObject
|
|
51
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
52
|
+
* // ErrorType: "STRING_VALUE",
|
|
53
|
+
* // ErrorData: "STRING_VALUE",
|
|
54
|
+
* // StackTrace: [ // StackTraceEntries
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED", // required
|
|
60
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
61
|
+
* // Version: "STRING_VALUE",
|
|
62
|
+
* // TraceHeader: { // TraceHeader
|
|
63
|
+
* // XAmznTraceId: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetDurableExecutionCommandInput - {@link GetDurableExecutionCommandInput}
|
|
70
|
+
* @returns {@link GetDurableExecutionCommandOutput}
|
|
71
|
+
* @see {@link GetDurableExecutionCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetDurableExecutionCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
76
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceException} (server fault)
|
|
82
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
85
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link LambdaServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class GetDurableExecutionCommand extends GetDurableExecutionCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: GetDurableExecutionRequest;
|
|
98
|
+
output: GetDurableExecutionResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: GetDurableExecutionCommandInput;
|
|
102
|
+
output: GetDurableExecutionCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|