@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
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ CheckpointDurableExecutionRequest,
10
+ CheckpointDurableExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CheckpointDurableExecutionCommandInput
15
+ extends CheckpointDurableExecutionRequest {}
16
+ export interface CheckpointDurableExecutionCommandOutput
17
+ extends CheckpointDurableExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const CheckpointDurableExecutionCommand_base: {
20
+ new (
21
+ input: CheckpointDurableExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CheckpointDurableExecutionCommandInput,
24
+ CheckpointDurableExecutionCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CheckpointDurableExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CheckpointDurableExecutionCommandInput,
33
+ CheckpointDurableExecutionCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CheckpointDurableExecutionCommand extends CheckpointDurableExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CheckpointDurableExecutionRequest;
44
+ output: CheckpointDurableExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: CheckpointDurableExecutionCommandInput;
48
+ output: CheckpointDurableExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ GetDurableExecutionRequest,
10
+ GetDurableExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetDurableExecutionCommandInput
15
+ extends GetDurableExecutionRequest {}
16
+ export interface GetDurableExecutionCommandOutput
17
+ extends GetDurableExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const GetDurableExecutionCommand_base: {
20
+ new (
21
+ input: GetDurableExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetDurableExecutionCommandInput,
24
+ GetDurableExecutionCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetDurableExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetDurableExecutionCommandInput,
33
+ GetDurableExecutionCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetDurableExecutionCommand extends GetDurableExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetDurableExecutionRequest;
44
+ output: GetDurableExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: GetDurableExecutionCommandInput;
48
+ output: GetDurableExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ GetDurableExecutionHistoryRequest,
10
+ GetDurableExecutionHistoryResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetDurableExecutionHistoryCommandInput
15
+ extends GetDurableExecutionHistoryRequest {}
16
+ export interface GetDurableExecutionHistoryCommandOutput
17
+ extends GetDurableExecutionHistoryResponse,
18
+ __MetadataBearer {}
19
+ declare const GetDurableExecutionHistoryCommand_base: {
20
+ new (
21
+ input: GetDurableExecutionHistoryCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetDurableExecutionHistoryCommandInput,
24
+ GetDurableExecutionHistoryCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetDurableExecutionHistoryCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetDurableExecutionHistoryCommandInput,
33
+ GetDurableExecutionHistoryCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetDurableExecutionHistoryCommand extends GetDurableExecutionHistoryCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetDurableExecutionHistoryRequest;
44
+ output: GetDurableExecutionHistoryResponse;
45
+ };
46
+ sdk: {
47
+ input: GetDurableExecutionHistoryCommandInput;
48
+ output: GetDurableExecutionHistoryCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ GetDurableExecutionStateRequest,
10
+ GetDurableExecutionStateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetDurableExecutionStateCommandInput
15
+ extends GetDurableExecutionStateRequest {}
16
+ export interface GetDurableExecutionStateCommandOutput
17
+ extends GetDurableExecutionStateResponse,
18
+ __MetadataBearer {}
19
+ declare const GetDurableExecutionStateCommand_base: {
20
+ new (
21
+ input: GetDurableExecutionStateCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetDurableExecutionStateCommandInput,
24
+ GetDurableExecutionStateCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetDurableExecutionStateCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetDurableExecutionStateCommandInput,
33
+ GetDurableExecutionStateCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetDurableExecutionStateCommand extends GetDurableExecutionStateCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetDurableExecutionStateRequest;
44
+ output: GetDurableExecutionStateResponse;
45
+ };
46
+ sdk: {
47
+ input: GetDurableExecutionStateCommandInput;
48
+ output: GetDurableExecutionStateCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ ListDurableExecutionsByFunctionRequest,
10
+ ListDurableExecutionsByFunctionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListDurableExecutionsByFunctionCommandInput
15
+ extends ListDurableExecutionsByFunctionRequest {}
16
+ export interface ListDurableExecutionsByFunctionCommandOutput
17
+ extends ListDurableExecutionsByFunctionResponse,
18
+ __MetadataBearer {}
19
+ declare const ListDurableExecutionsByFunctionCommand_base: {
20
+ new (
21
+ input: ListDurableExecutionsByFunctionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListDurableExecutionsByFunctionCommandInput,
24
+ ListDurableExecutionsByFunctionCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListDurableExecutionsByFunctionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListDurableExecutionsByFunctionCommandInput,
33
+ ListDurableExecutionsByFunctionCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListDurableExecutionsByFunctionCommand extends ListDurableExecutionsByFunctionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListDurableExecutionsByFunctionRequest;
44
+ output: ListDurableExecutionsByFunctionResponse;
45
+ };
46
+ sdk: {
47
+ input: ListDurableExecutionsByFunctionCommandInput;
48
+ output: ListDurableExecutionsByFunctionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ SendDurableExecutionCallbackFailureRequest,
10
+ SendDurableExecutionCallbackFailureResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface SendDurableExecutionCallbackFailureCommandInput
15
+ extends SendDurableExecutionCallbackFailureRequest {}
16
+ export interface SendDurableExecutionCallbackFailureCommandOutput
17
+ extends SendDurableExecutionCallbackFailureResponse,
18
+ __MetadataBearer {}
19
+ declare const SendDurableExecutionCallbackFailureCommand_base: {
20
+ new (
21
+ input: SendDurableExecutionCallbackFailureCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ SendDurableExecutionCallbackFailureCommandInput,
24
+ SendDurableExecutionCallbackFailureCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: SendDurableExecutionCallbackFailureCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ SendDurableExecutionCallbackFailureCommandInput,
33
+ SendDurableExecutionCallbackFailureCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class SendDurableExecutionCallbackFailureCommand extends SendDurableExecutionCallbackFailureCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: SendDurableExecutionCallbackFailureRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: SendDurableExecutionCallbackFailureCommandInput;
48
+ output: SendDurableExecutionCallbackFailureCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ SendDurableExecutionCallbackHeartbeatRequest,
10
+ SendDurableExecutionCallbackHeartbeatResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface SendDurableExecutionCallbackHeartbeatCommandInput
15
+ extends SendDurableExecutionCallbackHeartbeatRequest {}
16
+ export interface SendDurableExecutionCallbackHeartbeatCommandOutput
17
+ extends SendDurableExecutionCallbackHeartbeatResponse,
18
+ __MetadataBearer {}
19
+ declare const SendDurableExecutionCallbackHeartbeatCommand_base: {
20
+ new (
21
+ input: SendDurableExecutionCallbackHeartbeatCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ SendDurableExecutionCallbackHeartbeatCommandInput,
24
+ SendDurableExecutionCallbackHeartbeatCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: SendDurableExecutionCallbackHeartbeatCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ SendDurableExecutionCallbackHeartbeatCommandInput,
33
+ SendDurableExecutionCallbackHeartbeatCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class SendDurableExecutionCallbackHeartbeatCommand extends SendDurableExecutionCallbackHeartbeatCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: SendDurableExecutionCallbackHeartbeatRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: SendDurableExecutionCallbackHeartbeatCommandInput;
48
+ output: SendDurableExecutionCallbackHeartbeatCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,60 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import {
3
+ BlobPayloadInputTypes,
4
+ MetadataBearer as __MetadataBearer,
5
+ } from "@smithy/types";
6
+ import {
7
+ LambdaClientResolvedConfig,
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ } from "../LambdaClient";
11
+ import {
12
+ SendDurableExecutionCallbackSuccessRequest,
13
+ SendDurableExecutionCallbackSuccessResponse,
14
+ } from "../models/models_0";
15
+ export { __MetadataBearer };
16
+ export { $Command };
17
+ export type SendDurableExecutionCallbackSuccessCommandInputType = Pick<
18
+ SendDurableExecutionCallbackSuccessRequest,
19
+ Exclude<keyof SendDurableExecutionCallbackSuccessRequest, "Result">
20
+ > & {
21
+ Result?: BlobPayloadInputTypes;
22
+ };
23
+ export interface SendDurableExecutionCallbackSuccessCommandInput
24
+ extends SendDurableExecutionCallbackSuccessCommandInputType {}
25
+ export interface SendDurableExecutionCallbackSuccessCommandOutput
26
+ extends SendDurableExecutionCallbackSuccessResponse,
27
+ __MetadataBearer {}
28
+ declare const SendDurableExecutionCallbackSuccessCommand_base: {
29
+ new (
30
+ input: SendDurableExecutionCallbackSuccessCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ SendDurableExecutionCallbackSuccessCommandInput,
33
+ SendDurableExecutionCallbackSuccessCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ new (
39
+ input: SendDurableExecutionCallbackSuccessCommandInput
40
+ ): import("@smithy/smithy-client").CommandImpl<
41
+ SendDurableExecutionCallbackSuccessCommandInput,
42
+ SendDurableExecutionCallbackSuccessCommandOutput,
43
+ LambdaClientResolvedConfig,
44
+ ServiceInputTypes,
45
+ ServiceOutputTypes
46
+ >;
47
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
48
+ };
49
+ export declare class SendDurableExecutionCallbackSuccessCommand extends SendDurableExecutionCallbackSuccessCommand_base {
50
+ protected static __types: {
51
+ api: {
52
+ input: SendDurableExecutionCallbackSuccessRequest;
53
+ output: {};
54
+ };
55
+ sdk: {
56
+ input: SendDurableExecutionCallbackSuccessCommandInput;
57
+ output: SendDurableExecutionCallbackSuccessCommandOutput;
58
+ };
59
+ };
60
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LambdaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LambdaClient";
8
+ import {
9
+ StopDurableExecutionRequest,
10
+ StopDurableExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopDurableExecutionCommandInput
15
+ extends StopDurableExecutionRequest {}
16
+ export interface StopDurableExecutionCommandOutput
17
+ extends StopDurableExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const StopDurableExecutionCommand_base: {
20
+ new (
21
+ input: StopDurableExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StopDurableExecutionCommandInput,
24
+ StopDurableExecutionCommandOutput,
25
+ LambdaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StopDurableExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StopDurableExecutionCommandInput,
33
+ StopDurableExecutionCommandOutput,
34
+ LambdaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StopDurableExecutionCommand extends StopDurableExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StopDurableExecutionRequest;
44
+ output: StopDurableExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: StopDurableExecutionCommandInput;
48
+ output: StopDurableExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -78,6 +78,36 @@ export declare const State: {
78
78
  readonly Pending: "Pending";
79
79
  };
80
80
  export type State = (typeof State)[keyof typeof State];
81
+ export declare const OperationAction: {
82
+ readonly CANCEL: "CANCEL";
83
+ readonly FAIL: "FAIL";
84
+ readonly RETRY: "RETRY";
85
+ readonly START: "START";
86
+ readonly SUCCEED: "SUCCEED";
87
+ };
88
+ export type OperationAction =
89
+ (typeof OperationAction)[keyof typeof OperationAction];
90
+ export declare const OperationType: {
91
+ readonly CALLBACK: "CALLBACK";
92
+ readonly CHAINED_INVOKE: "CHAINED_INVOKE";
93
+ readonly CONTEXT: "CONTEXT";
94
+ readonly EXECUTION: "EXECUTION";
95
+ readonly STEP: "STEP";
96
+ readonly WAIT: "WAIT";
97
+ };
98
+ export type OperationType = (typeof OperationType)[keyof typeof OperationType];
99
+ export declare const OperationStatus: {
100
+ readonly CANCELLED: "CANCELLED";
101
+ readonly FAILED: "FAILED";
102
+ readonly PENDING: "PENDING";
103
+ readonly READY: "READY";
104
+ readonly STARTED: "STARTED";
105
+ readonly STOPPED: "STOPPED";
106
+ readonly SUCCEEDED: "SUCCEEDED";
107
+ readonly TIMED_OUT: "TIMED_OUT";
108
+ };
109
+ export type OperationStatus =
110
+ (typeof OperationStatus)[keyof typeof OperationStatus];
81
111
  export declare const CodeSigningPolicy: {
82
112
  readonly Enforce: "Enforce";
83
113
  readonly Warn: "Warn";
@@ -217,6 +247,7 @@ export type LastUpdateStatus =
217
247
  export declare const LastUpdateStatusReasonCode: {
218
248
  readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
219
249
  readonly DisabledKMSKey: "DisabledKMSKey";
250
+ readonly DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl";
220
251
  readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
221
252
  readonly EFSIOError: "EFSIOError";
222
253
  readonly EFSMountConnectivityError: "EFSMountConnectivityError";
@@ -261,6 +292,8 @@ export declare const StateReasonCode: {
261
292
  readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
262
293
  readonly Creating: "Creating";
263
294
  readonly DisabledKMSKey: "DisabledKMSKey";
295
+ readonly DisallowedByVpcEncryptionControl: "DisallowedByVpcEncryptionControl";
296
+ readonly DrainingDurableExecutions: "DrainingDurableExecutions";
264
297
  readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
265
298
  readonly EFSIOError: "EFSIOError";
266
299
  readonly EFSMountConnectivityError: "EFSMountConnectivityError";
@@ -344,3 +377,39 @@ export declare const ProvisionedConcurrencyStatusEnum: {
344
377
  };
345
378
  export type ProvisionedConcurrencyStatusEnum =
346
379
  (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
380
+ export declare const ExecutionStatus: {
381
+ readonly FAILED: "FAILED";
382
+ readonly RUNNING: "RUNNING";
383
+ readonly STOPPED: "STOPPED";
384
+ readonly SUCCEEDED: "SUCCEEDED";
385
+ readonly TIMED_OUT: "TIMED_OUT";
386
+ };
387
+ export type ExecutionStatus =
388
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
389
+ export declare const EventType: {
390
+ readonly CallbackFailed: "CallbackFailed";
391
+ readonly CallbackStarted: "CallbackStarted";
392
+ readonly CallbackSucceeded: "CallbackSucceeded";
393
+ readonly CallbackTimedOut: "CallbackTimedOut";
394
+ readonly ChainedInvokeFailed: "ChainedInvokeFailed";
395
+ readonly ChainedInvokeStarted: "ChainedInvokeStarted";
396
+ readonly ChainedInvokeStopped: "ChainedInvokeStopped";
397
+ readonly ChainedInvokeSucceeded: "ChainedInvokeSucceeded";
398
+ readonly ChainedInvokeTimedOut: "ChainedInvokeTimedOut";
399
+ readonly ContextFailed: "ContextFailed";
400
+ readonly ContextStarted: "ContextStarted";
401
+ readonly ContextSucceeded: "ContextSucceeded";
402
+ readonly ExecutionFailed: "ExecutionFailed";
403
+ readonly ExecutionStarted: "ExecutionStarted";
404
+ readonly ExecutionStopped: "ExecutionStopped";
405
+ readonly ExecutionSucceeded: "ExecutionSucceeded";
406
+ readonly ExecutionTimedOut: "ExecutionTimedOut";
407
+ readonly InvocationCompleted: "InvocationCompleted";
408
+ readonly StepFailed: "StepFailed";
409
+ readonly StepStarted: "StepStarted";
410
+ readonly StepSucceeded: "StepSucceeded";
411
+ readonly WaitCancelled: "WaitCancelled";
412
+ readonly WaitStarted: "WaitStarted";
413
+ readonly WaitSucceeded: "WaitSucceeded";
414
+ };
415
+ export type EventType = (typeof EventType)[keyof typeof EventType];
@@ -131,6 +131,18 @@ export declare class InvalidCodeSignatureException extends __BaseException {
131
131
  opts: __ExceptionOptionType<InvalidCodeSignatureException, __BaseException>
132
132
  );
133
133
  }
134
+ export declare class DurableExecutionAlreadyStartedException extends __BaseException {
135
+ readonly name: "DurableExecutionAlreadyStartedException";
136
+ readonly $fault: "client";
137
+ Type?: string | undefined;
138
+ Message?: string | undefined;
139
+ constructor(
140
+ opts: __ExceptionOptionType<
141
+ DurableExecutionAlreadyStartedException,
142
+ __BaseException
143
+ >
144
+ );
145
+ }
134
146
  export declare class EC2AccessDeniedException extends __BaseException {
135
147
  readonly name: "EC2AccessDeniedException";
136
148
  readonly $fault: "server";
@@ -386,3 +398,12 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
386
398
  >
387
399
  );
388
400
  }
401
+ export declare class CallbackTimeoutException extends __BaseException {
402
+ readonly name: "CallbackTimeoutException";
403
+ readonly $fault: "client";
404
+ Type?: string | undefined;
405
+ Message?: string | undefined;
406
+ constructor(
407
+ opts: __ExceptionOptionType<CallbackTimeoutException, __BaseException>
408
+ );
409
+ }