@aws-sdk/client-lambda 3.942.0 → 3.945.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.
Files changed (71) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +1039 -83
  3. package/dist-es/Lambda.js +18 -0
  4. package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
  5. package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
  6. package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
  7. package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
  8. package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
  9. package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
  10. package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
  11. package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
  12. package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/enums.js +61 -0
  15. package/dist-es/models/errors.js +32 -0
  16. package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
  17. package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
  18. package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +3 -0
  20. package/dist-es/schemas/schemas_0.js +806 -84
  21. package/dist-types/Lambda.d.ts +63 -0
  22. package/dist-types/LambdaClient.d.ts +11 -2
  23. package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
  24. package/dist-types/commands/CreateFunctionCommand.d.ts +18 -2
  25. package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
  26. package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
  27. package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
  28. package/dist-types/commands/GetFunctionCommand.d.ts +10 -2
  29. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +10 -2
  30. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  31. package/dist-types/commands/InvokeCommand.d.ts +7 -0
  32. package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
  33. package/dist-types/commands/ListFunctionsCommand.d.ts +10 -2
  34. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +14 -2
  35. package/dist-types/commands/PublishVersionCommand.d.ts +6 -2
  36. package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
  37. package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
  38. package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
  39. package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
  40. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +6 -2
  41. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -2
  42. package/dist-types/commands/index.d.ts +9 -0
  43. package/dist-types/models/enums.d.ts +101 -0
  44. package/dist-types/models/errors.d.ts +36 -0
  45. package/dist-types/models/models_0.d.ts +1510 -173
  46. package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
  47. package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +3 -0
  50. package/dist-types/schemas/schemas_0.d.ts +90 -0
  51. package/dist-types/ts3.4/Lambda.d.ts +171 -0
  52. package/dist-types/ts3.4/LambdaClient.d.ts +54 -0
  53. package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
  61. package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  63. package/dist-types/ts3.4/models/enums.d.ts +69 -0
  64. package/dist-types/ts3.4/models/errors.d.ts +21 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +322 -0
  66. package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
  71. package/package.json +5 -5
package/dist-es/Lambda.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AddLayerVersionPermissionCommand, } from "./commands/AddLayerVersionPermissionCommand";
3
3
  import { AddPermissionCommand, } from "./commands/AddPermissionCommand";
4
+ import { CheckpointDurableExecutionCommand, } from "./commands/CheckpointDurableExecutionCommand";
4
5
  import { CreateAliasCommand } from "./commands/CreateAliasCommand";
5
6
  import { CreateCapacityProviderCommand, } from "./commands/CreateCapacityProviderCommand";
6
7
  import { CreateCodeSigningConfigCommand, } from "./commands/CreateCodeSigningConfigCommand";
@@ -22,6 +23,9 @@ import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand
22
23
  import { GetAliasCommand } from "./commands/GetAliasCommand";
23
24
  import { GetCapacityProviderCommand, } from "./commands/GetCapacityProviderCommand";
24
25
  import { GetCodeSigningConfigCommand, } from "./commands/GetCodeSigningConfigCommand";
26
+ import { GetDurableExecutionCommand, } from "./commands/GetDurableExecutionCommand";
27
+ import { GetDurableExecutionHistoryCommand, } from "./commands/GetDurableExecutionHistoryCommand";
28
+ import { GetDurableExecutionStateCommand, } from "./commands/GetDurableExecutionStateCommand";
25
29
  import { GetEventSourceMappingCommand, } from "./commands/GetEventSourceMappingCommand";
26
30
  import { GetFunctionCodeSigningConfigCommand, } from "./commands/GetFunctionCodeSigningConfigCommand";
27
31
  import { GetFunctionCommand } from "./commands/GetFunctionCommand";
@@ -43,6 +47,7 @@ import { InvokeWithResponseStreamCommand, } from "./commands/InvokeWithResponseS
43
47
  import { ListAliasesCommand } from "./commands/ListAliasesCommand";
44
48
  import { ListCapacityProvidersCommand, } from "./commands/ListCapacityProvidersCommand";
45
49
  import { ListCodeSigningConfigsCommand, } from "./commands/ListCodeSigningConfigsCommand";
50
+ import { ListDurableExecutionsByFunctionCommand, } from "./commands/ListDurableExecutionsByFunctionCommand";
46
51
  import { ListEventSourceMappingsCommand, } from "./commands/ListEventSourceMappingsCommand";
47
52
  import { ListFunctionEventInvokeConfigsCommand, } from "./commands/ListFunctionEventInvokeConfigsCommand";
48
53
  import { ListFunctionsByCodeSigningConfigCommand, } from "./commands/ListFunctionsByCodeSigningConfigCommand";
@@ -65,6 +70,10 @@ import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvision
65
70
  import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand";
66
71
  import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand";
67
72
  import { RemovePermissionCommand, } from "./commands/RemovePermissionCommand";
73
+ import { SendDurableExecutionCallbackFailureCommand, } from "./commands/SendDurableExecutionCallbackFailureCommand";
74
+ import { SendDurableExecutionCallbackHeartbeatCommand, } from "./commands/SendDurableExecutionCallbackHeartbeatCommand";
75
+ import { SendDurableExecutionCallbackSuccessCommand, } from "./commands/SendDurableExecutionCallbackSuccessCommand";
76
+ import { StopDurableExecutionCommand, } from "./commands/StopDurableExecutionCommand";
68
77
  import { TagResourceCommand } from "./commands/TagResourceCommand";
69
78
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
70
79
  import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
@@ -79,6 +88,7 @@ import { LambdaClient } from "./LambdaClient";
79
88
  const commands = {
80
89
  AddLayerVersionPermissionCommand,
81
90
  AddPermissionCommand,
91
+ CheckpointDurableExecutionCommand,
82
92
  CreateAliasCommand,
83
93
  CreateCapacityProviderCommand,
84
94
  CreateCodeSigningConfigCommand,
@@ -100,6 +110,9 @@ const commands = {
100
110
  GetAliasCommand,
101
111
  GetCapacityProviderCommand,
102
112
  GetCodeSigningConfigCommand,
113
+ GetDurableExecutionCommand,
114
+ GetDurableExecutionHistoryCommand,
115
+ GetDurableExecutionStateCommand,
103
116
  GetEventSourceMappingCommand,
104
117
  GetFunctionCommand,
105
118
  GetFunctionCodeSigningConfigCommand,
@@ -121,6 +134,7 @@ const commands = {
121
134
  ListAliasesCommand,
122
135
  ListCapacityProvidersCommand,
123
136
  ListCodeSigningConfigsCommand,
137
+ ListDurableExecutionsByFunctionCommand,
124
138
  ListEventSourceMappingsCommand,
125
139
  ListFunctionEventInvokeConfigsCommand,
126
140
  ListFunctionsCommand,
@@ -143,6 +157,10 @@ const commands = {
143
157
  PutRuntimeManagementConfigCommand,
144
158
  RemoveLayerVersionPermissionCommand,
145
159
  RemovePermissionCommand,
160
+ SendDurableExecutionCallbackFailureCommand,
161
+ SendDurableExecutionCallbackHeartbeatCommand,
162
+ SendDurableExecutionCallbackSuccessCommand,
163
+ StopDurableExecutionCommand,
146
164
  TagResourceCommand,
147
165
  UntagResourceCommand,
148
166
  UpdateAliasCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CheckpointDurableExecution } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CheckpointDurableExecutionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "CheckpointDurableExecution", {})
13
+ .n("LambdaClient", "CheckpointDurableExecutionCommand")
14
+ .sc(CheckpointDurableExecution)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetDurableExecution } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetDurableExecutionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "GetDurableExecution", {})
13
+ .n("LambdaClient", "GetDurableExecutionCommand")
14
+ .sc(GetDurableExecution)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetDurableExecutionHistory } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetDurableExecutionHistoryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "GetDurableExecutionHistory", {})
13
+ .n("LambdaClient", "GetDurableExecutionHistoryCommand")
14
+ .sc(GetDurableExecutionHistory)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetDurableExecutionState } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetDurableExecutionStateCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "GetDurableExecutionState", {})
13
+ .n("LambdaClient", "GetDurableExecutionStateCommand")
14
+ .sc(GetDurableExecutionState)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDurableExecutionsByFunction } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDurableExecutionsByFunctionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "ListDurableExecutionsByFunction", {})
13
+ .n("LambdaClient", "ListDurableExecutionsByFunctionCommand")
14
+ .sc(ListDurableExecutionsByFunction)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SendDurableExecutionCallbackFailure } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SendDurableExecutionCallbackFailureCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "SendDurableExecutionCallbackFailure", {})
13
+ .n("LambdaClient", "SendDurableExecutionCallbackFailureCommand")
14
+ .sc(SendDurableExecutionCallbackFailure)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SendDurableExecutionCallbackHeartbeat } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SendDurableExecutionCallbackHeartbeatCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "SendDurableExecutionCallbackHeartbeat", {})
13
+ .n("LambdaClient", "SendDurableExecutionCallbackHeartbeatCommand")
14
+ .sc(SendDurableExecutionCallbackHeartbeat)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SendDurableExecutionCallbackSuccess } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SendDurableExecutionCallbackSuccessCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "SendDurableExecutionCallbackSuccess", {})
13
+ .n("LambdaClient", "SendDurableExecutionCallbackSuccessCommand")
14
+ .sc(SendDurableExecutionCallbackSuccess)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StopDurableExecution } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StopDurableExecutionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSGirApiService", "StopDurableExecution", {})
13
+ .n("LambdaClient", "StopDurableExecutionCommand")
14
+ .sc(StopDurableExecution)
15
+ .build() {
16
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./AddLayerVersionPermissionCommand";
2
2
  export * from "./AddPermissionCommand";
3
+ export * from "./CheckpointDurableExecutionCommand";
3
4
  export * from "./CreateAliasCommand";
4
5
  export * from "./CreateCapacityProviderCommand";
5
6
  export * from "./CreateCodeSigningConfigCommand";
@@ -21,6 +22,9 @@ export * from "./GetAccountSettingsCommand";
21
22
  export * from "./GetAliasCommand";
22
23
  export * from "./GetCapacityProviderCommand";
23
24
  export * from "./GetCodeSigningConfigCommand";
25
+ export * from "./GetDurableExecutionCommand";
26
+ export * from "./GetDurableExecutionHistoryCommand";
27
+ export * from "./GetDurableExecutionStateCommand";
24
28
  export * from "./GetEventSourceMappingCommand";
25
29
  export * from "./GetFunctionCodeSigningConfigCommand";
26
30
  export * from "./GetFunctionCommand";
@@ -42,6 +46,7 @@ export * from "./InvokeWithResponseStreamCommand";
42
46
  export * from "./ListAliasesCommand";
43
47
  export * from "./ListCapacityProvidersCommand";
44
48
  export * from "./ListCodeSigningConfigsCommand";
49
+ export * from "./ListDurableExecutionsByFunctionCommand";
45
50
  export * from "./ListEventSourceMappingsCommand";
46
51
  export * from "./ListFunctionEventInvokeConfigsCommand";
47
52
  export * from "./ListFunctionUrlConfigsCommand";
@@ -64,6 +69,10 @@ export * from "./PutProvisionedConcurrencyConfigCommand";
64
69
  export * from "./PutRuntimeManagementConfigCommand";
65
70
  export * from "./RemoveLayerVersionPermissionCommand";
66
71
  export * from "./RemovePermissionCommand";
72
+ export * from "./SendDurableExecutionCallbackFailureCommand";
73
+ export * from "./SendDurableExecutionCallbackHeartbeatCommand";
74
+ export * from "./SendDurableExecutionCallbackSuccessCommand";
75
+ export * from "./StopDurableExecutionCommand";
67
76
  export * from "./TagResourceCommand";
68
77
  export * from "./UntagResourceCommand";
69
78
  export * from "./UpdateAliasCommand";
@@ -58,6 +58,31 @@ export const State = {
58
58
  Inactive: "Inactive",
59
59
  Pending: "Pending",
60
60
  };
61
+ export const OperationAction = {
62
+ CANCEL: "CANCEL",
63
+ FAIL: "FAIL",
64
+ RETRY: "RETRY",
65
+ START: "START",
66
+ SUCCEED: "SUCCEED",
67
+ };
68
+ export const OperationType = {
69
+ CALLBACK: "CALLBACK",
70
+ CHAINED_INVOKE: "CHAINED_INVOKE",
71
+ CONTEXT: "CONTEXT",
72
+ EXECUTION: "EXECUTION",
73
+ STEP: "STEP",
74
+ WAIT: "WAIT",
75
+ };
76
+ export const OperationStatus = {
77
+ CANCELLED: "CANCELLED",
78
+ FAILED: "FAILED",
79
+ PENDING: "PENDING",
80
+ READY: "READY",
81
+ STARTED: "STARTED",
82
+ STOPPED: "STOPPED",
83
+ SUCCEEDED: "SUCCEEDED",
84
+ TIMED_OUT: "TIMED_OUT",
85
+ };
61
86
  export const CodeSigningPolicy = {
62
87
  Enforce: "Enforce",
63
88
  Warn: "Warn",
@@ -171,6 +196,7 @@ export const LastUpdateStatus = {
171
196
  export const LastUpdateStatusReasonCode = {
172
197
  CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded",
173
198
  DisabledKMSKey: "DisabledKMSKey",
199
+ DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl",
174
200
  EC2RequestLimitExceeded: "EC2RequestLimitExceeded",
175
201
  EFSIOError: "EFSIOError",
176
202
  EFSMountConnectivityError: "EFSMountConnectivityError",
@@ -211,6 +237,8 @@ export const StateReasonCode = {
211
237
  CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded",
212
238
  Creating: "Creating",
213
239
  DisabledKMSKey: "DisabledKMSKey",
240
+ DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl",
241
+ DrainingDurableExecutions: "DrainingDurableExecutions",
214
242
  EC2RequestLimitExceeded: "EC2RequestLimitExceeded",
215
243
  EFSIOError: "EFSIOError",
216
244
  EFSMountConnectivityError: "EFSMountConnectivityError",
@@ -279,3 +307,36 @@ export const ProvisionedConcurrencyStatusEnum = {
279
307
  IN_PROGRESS: "IN_PROGRESS",
280
308
  READY: "READY",
281
309
  };
310
+ export const ExecutionStatus = {
311
+ FAILED: "FAILED",
312
+ RUNNING: "RUNNING",
313
+ STOPPED: "STOPPED",
314
+ SUCCEEDED: "SUCCEEDED",
315
+ TIMED_OUT: "TIMED_OUT",
316
+ };
317
+ export const EventType = {
318
+ CallbackFailed: "CallbackFailed",
319
+ CallbackStarted: "CallbackStarted",
320
+ CallbackSucceeded: "CallbackSucceeded",
321
+ CallbackTimedOut: "CallbackTimedOut",
322
+ ChainedInvokeFailed: "ChainedInvokeFailed",
323
+ ChainedInvokeStarted: "ChainedInvokeStarted",
324
+ ChainedInvokeStopped: "ChainedInvokeStopped",
325
+ ChainedInvokeSucceeded: "ChainedInvokeSucceeded",
326
+ ChainedInvokeTimedOut: "ChainedInvokeTimedOut",
327
+ ContextFailed: "ContextFailed",
328
+ ContextStarted: "ContextStarted",
329
+ ContextSucceeded: "ContextSucceeded",
330
+ ExecutionFailed: "ExecutionFailed",
331
+ ExecutionStarted: "ExecutionStarted",
332
+ ExecutionStopped: "ExecutionStopped",
333
+ ExecutionSucceeded: "ExecutionSucceeded",
334
+ ExecutionTimedOut: "ExecutionTimedOut",
335
+ InvocationCompleted: "InvocationCompleted",
336
+ StepFailed: "StepFailed",
337
+ StepStarted: "StepStarted",
338
+ StepSucceeded: "StepSucceeded",
339
+ WaitCancelled: "WaitCancelled",
340
+ WaitStarted: "WaitStarted",
341
+ WaitSucceeded: "WaitSucceeded",
342
+ };
@@ -211,6 +211,22 @@ export class InvalidCodeSignatureException extends __BaseException {
211
211
  this.Message = opts.Message;
212
212
  }
213
213
  }
214
+ export class DurableExecutionAlreadyStartedException extends __BaseException {
215
+ name = "DurableExecutionAlreadyStartedException";
216
+ $fault = "client";
217
+ Type;
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "DurableExecutionAlreadyStartedException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, DurableExecutionAlreadyStartedException.prototype);
226
+ this.Type = opts.Type;
227
+ this.Message = opts.Message;
228
+ }
229
+ }
214
230
  export class EC2AccessDeniedException extends __BaseException {
215
231
  name = "EC2AccessDeniedException";
216
232
  $fault = "server";
@@ -649,3 +665,19 @@ export class ProvisionedConcurrencyConfigNotFoundException extends __BaseExcepti
649
665
  this.Type = opts.Type;
650
666
  }
651
667
  }
668
+ export class CallbackTimeoutException extends __BaseException {
669
+ name = "CallbackTimeoutException";
670
+ $fault = "client";
671
+ Type;
672
+ Message;
673
+ constructor(opts) {
674
+ super({
675
+ name: "CallbackTimeoutException",
676
+ $fault: "client",
677
+ ...opts,
678
+ });
679
+ Object.setPrototypeOf(this, CallbackTimeoutException.prototype);
680
+ this.Type = opts.Type;
681
+ this.Message = opts.Message;
682
+ }
683
+ }
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetDurableExecutionHistoryCommand, } from "../commands/GetDurableExecutionHistoryCommand";
3
+ import { LambdaClient } from "../LambdaClient";
4
+ export const paginateGetDurableExecutionHistory = createPaginator(LambdaClient, GetDurableExecutionHistoryCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetDurableExecutionStateCommand, } from "../commands/GetDurableExecutionStateCommand";
3
+ import { LambdaClient } from "../LambdaClient";
4
+ export const paginateGetDurableExecutionState = createPaginator(LambdaClient, GetDurableExecutionStateCommand, "Marker", "NextMarker", "MaxItems");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDurableExecutionsByFunctionCommand, } from "../commands/ListDurableExecutionsByFunctionCommand";
3
+ import { LambdaClient } from "../LambdaClient";
4
+ export const paginateListDurableExecutionsByFunction = createPaginator(LambdaClient, ListDurableExecutionsByFunctionCommand, "Marker", "NextMarker", "MaxItems");
@@ -1,7 +1,10 @@
1
+ export * from "./GetDurableExecutionHistoryPaginator";
2
+ export * from "./GetDurableExecutionStatePaginator";
1
3
  export * from "./Interfaces";
2
4
  export * from "./ListAliasesPaginator";
3
5
  export * from "./ListCapacityProvidersPaginator";
4
6
  export * from "./ListCodeSigningConfigsPaginator";
7
+ export * from "./ListDurableExecutionsByFunctionPaginator";
5
8
  export * from "./ListEventSourceMappingsPaginator";
6
9
  export * from "./ListFunctionEventInvokeConfigsPaginator";
7
10
  export * from "./ListFunctionUrlConfigsPaginator";