@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
|
@@ -146,6 +146,55 @@ export declare const State: {
|
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
148
|
export type State = (typeof State)[keyof typeof State];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const OperationAction: {
|
|
154
|
+
readonly CANCEL: "CANCEL";
|
|
155
|
+
readonly FAIL: "FAIL";
|
|
156
|
+
readonly RETRY: "RETRY";
|
|
157
|
+
readonly START: "START";
|
|
158
|
+
readonly SUCCEED: "SUCCEED";
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export type OperationAction = (typeof OperationAction)[keyof typeof OperationAction];
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @enum
|
|
167
|
+
*/
|
|
168
|
+
export declare const OperationType: {
|
|
169
|
+
readonly CALLBACK: "CALLBACK";
|
|
170
|
+
readonly CHAINED_INVOKE: "CHAINED_INVOKE";
|
|
171
|
+
readonly CONTEXT: "CONTEXT";
|
|
172
|
+
readonly EXECUTION: "EXECUTION";
|
|
173
|
+
readonly STEP: "STEP";
|
|
174
|
+
readonly WAIT: "WAIT";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const OperationStatus: {
|
|
185
|
+
readonly CANCELLED: "CANCELLED";
|
|
186
|
+
readonly FAILED: "FAILED";
|
|
187
|
+
readonly PENDING: "PENDING";
|
|
188
|
+
readonly READY: "READY";
|
|
189
|
+
readonly STARTED: "STARTED";
|
|
190
|
+
readonly STOPPED: "STOPPED";
|
|
191
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
192
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
|
|
149
198
|
/**
|
|
150
199
|
* @public
|
|
151
200
|
* @enum
|
|
@@ -447,6 +496,7 @@ export declare const StateReasonCode: {
|
|
|
447
496
|
readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
|
|
448
497
|
readonly Creating: "Creating";
|
|
449
498
|
readonly DisabledKMSKey: "DisabledKMSKey";
|
|
499
|
+
readonly DrainingDurableExecutions: "DrainingDurableExecutions";
|
|
450
500
|
readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
|
|
451
501
|
readonly EFSIOError: "EFSIOError";
|
|
452
502
|
readonly EFSMountConnectivityError: "EFSMountConnectivityError";
|
|
@@ -583,3 +633,52 @@ export declare const ProvisionedConcurrencyStatusEnum: {
|
|
|
583
633
|
* @public
|
|
584
634
|
*/
|
|
585
635
|
export type ProvisionedConcurrencyStatusEnum = (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* @enum
|
|
639
|
+
*/
|
|
640
|
+
export declare const ExecutionStatus: {
|
|
641
|
+
readonly FAILED: "FAILED";
|
|
642
|
+
readonly RUNNING: "RUNNING";
|
|
643
|
+
readonly STOPPED: "STOPPED";
|
|
644
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
645
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
651
|
+
/**
|
|
652
|
+
* @public
|
|
653
|
+
* @enum
|
|
654
|
+
*/
|
|
655
|
+
export declare const EventType: {
|
|
656
|
+
readonly CallbackFailed: "CallbackFailed";
|
|
657
|
+
readonly CallbackStarted: "CallbackStarted";
|
|
658
|
+
readonly CallbackSucceeded: "CallbackSucceeded";
|
|
659
|
+
readonly CallbackTimedOut: "CallbackTimedOut";
|
|
660
|
+
readonly ChainedInvokeFailed: "ChainedInvokeFailed";
|
|
661
|
+
readonly ChainedInvokeStarted: "ChainedInvokeStarted";
|
|
662
|
+
readonly ChainedInvokeStopped: "ChainedInvokeStopped";
|
|
663
|
+
readonly ChainedInvokeSucceeded: "ChainedInvokeSucceeded";
|
|
664
|
+
readonly ChainedInvokeTimedOut: "ChainedInvokeTimedOut";
|
|
665
|
+
readonly ContextFailed: "ContextFailed";
|
|
666
|
+
readonly ContextStarted: "ContextStarted";
|
|
667
|
+
readonly ContextSucceeded: "ContextSucceeded";
|
|
668
|
+
readonly ExecutionFailed: "ExecutionFailed";
|
|
669
|
+
readonly ExecutionStarted: "ExecutionStarted";
|
|
670
|
+
readonly ExecutionStopped: "ExecutionStopped";
|
|
671
|
+
readonly ExecutionSucceeded: "ExecutionSucceeded";
|
|
672
|
+
readonly ExecutionTimedOut: "ExecutionTimedOut";
|
|
673
|
+
readonly InvocationCompleted: "InvocationCompleted";
|
|
674
|
+
readonly StepFailed: "StepFailed";
|
|
675
|
+
readonly StepStarted: "StepStarted";
|
|
676
|
+
readonly StepSucceeded: "StepSucceeded";
|
|
677
|
+
readonly WaitCancelled: "WaitCancelled";
|
|
678
|
+
readonly WaitStarted: "WaitStarted";
|
|
679
|
+
readonly WaitSucceeded: "WaitSucceeded";
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
@@ -219,6 +219,24 @@ export declare class InvalidCodeSignatureException extends __BaseException {
|
|
|
219
219
|
*/
|
|
220
220
|
constructor(opts: __ExceptionOptionType<InvalidCodeSignatureException, __BaseException>);
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export declare class DurableExecutionAlreadyStartedException extends __BaseException {
|
|
227
|
+
readonly name: "DurableExecutionAlreadyStartedException";
|
|
228
|
+
readonly $fault: "client";
|
|
229
|
+
/**
|
|
230
|
+
* <p>The exception type.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
Type?: string | undefined;
|
|
234
|
+
Message?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
constructor(opts: __ExceptionOptionType<DurableExecutionAlreadyStartedException, __BaseException>);
|
|
239
|
+
}
|
|
222
240
|
/**
|
|
223
241
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
224
242
|
* @public
|
|
@@ -630,3 +648,21 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
630
648
|
*/
|
|
631
649
|
constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
|
|
632
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
export declare class CallbackTimeoutException extends __BaseException {
|
|
656
|
+
readonly name: "CallbackTimeoutException";
|
|
657
|
+
readonly $fault: "client";
|
|
658
|
+
/**
|
|
659
|
+
* <p>The exception type.</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
Type?: string | undefined;
|
|
663
|
+
Message?: string | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* @internal
|
|
666
|
+
*/
|
|
667
|
+
constructor(opts: __ExceptionOptionType<CallbackTimeoutException, __BaseException>);
|
|
668
|
+
}
|