@aws-sdk/client-lambda-web 3.1149.0 → 3.1151.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 (122) hide show
  1. package/README.md +141 -8
  2. package/dist-cjs/index.js +1122 -4
  3. package/dist-es/LambdaWeb.js +61 -1
  4. package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
  5. package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
  6. package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  8. package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
  9. package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
  10. package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
  11. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  12. package/dist-es/commands/GetWebFunctionCommand.js +4 -0
  13. package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
  14. package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
  15. package/dist-es/commands/ListTagsCommand.js +4 -0
  16. package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
  17. package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
  18. package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
  19. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  20. package/dist-es/commands/TagResourceCommand.js +4 -0
  21. package/dist-es/commands/UntagResourceCommand.js +4 -0
  22. package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
  23. package/dist-es/commands/index.js +19 -0
  24. package/dist-es/index.js +3 -0
  25. package/dist-es/models/enums.js +48 -0
  26. package/dist-es/models/errors.js +68 -0
  27. package/dist-es/pagination/Interfaces.js +1 -0
  28. package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
  29. package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
  31. package/dist-es/pagination/index.js +4 -0
  32. package/dist-es/schemas/schemas_0.js +515 -1
  33. package/dist-es/waiters/index.js +6 -0
  34. package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
  35. package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
  36. package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
  37. package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
  38. package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
  39. package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
  40. package/dist-types/LambdaWeb.d.ts +195 -2
  41. package/dist-types/LambdaWebClient.d.ts +22 -3
  42. package/dist-types/commandBuilder.d.ts +4 -4
  43. package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
  44. package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
  45. package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
  46. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  47. package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
  48. package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
  49. package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
  50. package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
  51. package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
  52. package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
  53. package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
  54. package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
  55. package/dist-types/commands/ListTagsCommand.d.ts +88 -0
  56. package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
  57. package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
  58. package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
  59. package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  62. package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
  63. package/dist-types/commands/index.d.ts +19 -0
  64. package/dist-types/index.d.ts +4 -1
  65. package/dist-types/models/enums.d.ts +120 -0
  66. package/dist-types/models/errors.d.ts +95 -3
  67. package/dist-types/models/models_0.d.ts +1508 -7
  68. package/dist-types/pagination/Interfaces.d.ts +8 -0
  69. package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
  70. package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
  72. package/dist-types/pagination/index.d.ts +4 -0
  73. package/dist-types/schemas/schemas_0.d.ts +73 -0
  74. package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
  75. package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
  76. package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
  77. package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
  86. package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  96. package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  98. package/dist-types/ts3.4/index.d.ts +3 -0
  99. package/dist-types/ts3.4/models/enums.d.ts +57 -0
  100. package/dist-types/ts3.4/models/errors.d.ts +32 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +351 -0
  102. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  103. package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  107. package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
  108. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  109. package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
  110. package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  111. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  112. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  113. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  114. package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  115. package/dist-types/waiters/index.d.ts +6 -0
  116. package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
  117. package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  118. package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  119. package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  120. package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  121. package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  122. package/package.json +3 -3
@@ -0,0 +1,58 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetWebFunctionEndpointCommand, } from "../commands/GetWebFunctionEndpointCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetWebFunctionEndpointCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.state;
11
+ };
12
+ if (returnComparator() === "Active") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.state;
20
+ };
21
+ if (returnComparator() === "Failed") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.state;
29
+ };
30
+ if (returnComparator() === "Deleting") {
31
+ return { state: WaiterState.FAILURE, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.state;
38
+ };
39
+ if (returnComparator() === "Pending") {
40
+ return { state: WaiterState.RETRY, reason };
41
+ }
42
+ }
43
+ catch (e) { }
44
+ }
45
+ catch (exception) {
46
+ reason = exception;
47
+ }
48
+ return { state: WaiterState.RETRY, reason };
49
+ };
50
+ export const waitForWebFunctionEndpointActive = async (params, input) => {
51
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
52
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
53
+ };
54
+ export const waitUntilWebFunctionEndpointActive = async (params, input) => {
55
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
56
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
57
+ return checkExceptions(result);
58
+ };
@@ -0,0 +1,34 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetWebFunctionEndpointCommand, } from "../commands/GetWebFunctionEndpointCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetWebFunctionEndpointCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.state;
11
+ };
12
+ if (returnComparator() === "Deleting") {
13
+ return { state: WaiterState.RETRY, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ }
18
+ catch (exception) {
19
+ reason = exception;
20
+ if (exception.name === "ResourceNotFoundException") {
21
+ return { state: WaiterState.SUCCESS, reason };
22
+ }
23
+ }
24
+ return { state: WaiterState.RETRY, reason };
25
+ };
26
+ export const waitForWebFunctionEndpointDeleted = async (params, input) => {
27
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
28
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
29
+ };
30
+ export const waitUntilWebFunctionEndpointDeleted = async (params, input) => {
31
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
32
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
33
+ return checkExceptions(result);
34
+ };
@@ -0,0 +1,49 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetWebFunctionEndpointCommand, } from "../commands/GetWebFunctionEndpointCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetWebFunctionEndpointCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.updateStatus;
11
+ };
12
+ if (returnComparator() === "Successful") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.updateStatus;
20
+ };
21
+ if (returnComparator() === "Failed") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.updateStatus;
29
+ };
30
+ if (returnComparator() === "InProgress") {
31
+ return { state: WaiterState.RETRY, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ }
36
+ catch (exception) {
37
+ reason = exception;
38
+ }
39
+ return { state: WaiterState.RETRY, reason };
40
+ };
41
+ export const waitForWebFunctionEndpointUpdated = async (params, input) => {
42
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
43
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
+ };
45
+ export const waitUntilWebFunctionEndpointUpdated = async (params, input) => {
46
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
47
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
48
+ return checkExceptions(result);
49
+ };
@@ -0,0 +1,49 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetWebFunctionRevisionCommand, } from "../commands/GetWebFunctionRevisionCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetWebFunctionRevisionCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.state;
11
+ };
12
+ if (returnComparator() === "Active") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.state;
20
+ };
21
+ if (returnComparator() === "Failed") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.state;
29
+ };
30
+ if (returnComparator() === "Pending") {
31
+ return { state: WaiterState.RETRY, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ }
36
+ catch (exception) {
37
+ reason = exception;
38
+ }
39
+ return { state: WaiterState.RETRY, reason };
40
+ };
41
+ export const waitForWebFunctionRevisionActive = async (params, input) => {
42
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
43
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
+ };
45
+ export const waitUntilWebFunctionRevisionActive = async (params, input) => {
46
+ const serviceDefaults = { minDelay: 1, maxDelay: 300 };
47
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
48
+ return checkExceptions(result);
49
+ };
@@ -1,6 +1,27 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
1
+ import { type WaiterResult } from "@smithy/core/client";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
+ import { type CreateWebFunctionCommandInput, type CreateWebFunctionCommandOutput } from "./commands/CreateWebFunctionCommand";
4
+ import { type CreateWebFunctionEndpointCommandInput, type CreateWebFunctionEndpointCommandOutput } from "./commands/CreateWebFunctionEndpointCommand";
5
+ import { type CreateWebFunctionRevisionCommandInput, type CreateWebFunctionRevisionCommandOutput } from "./commands/CreateWebFunctionRevisionCommand";
6
+ import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
7
+ import { type DeleteWebFunctionCommandInput, type DeleteWebFunctionCommandOutput } from "./commands/DeleteWebFunctionCommand";
8
+ import { type DeleteWebFunctionEndpointCommandInput, type DeleteWebFunctionEndpointCommandOutput } from "./commands/DeleteWebFunctionEndpointCommand";
9
+ import { type DeleteWebFunctionRevisionCommandInput, type DeleteWebFunctionRevisionCommandOutput } from "./commands/DeleteWebFunctionRevisionCommand";
10
+ import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
2
11
  import { type GetWebAccountSettingsCommandInput, type GetWebAccountSettingsCommandOutput } from "./commands/GetWebAccountSettingsCommand";
12
+ import { type GetWebFunctionCommandInput, type GetWebFunctionCommandOutput } from "./commands/GetWebFunctionCommand";
13
+ import { type GetWebFunctionEndpointCommandInput, type GetWebFunctionEndpointCommandOutput } from "./commands/GetWebFunctionEndpointCommand";
14
+ import { type GetWebFunctionRevisionCommandInput, type GetWebFunctionRevisionCommandOutput } from "./commands/GetWebFunctionRevisionCommand";
15
+ import { type ListTagsCommandInput, type ListTagsCommandOutput } from "./commands/ListTagsCommand";
16
+ import { type ListWebFunctionEndpointsCommandInput, type ListWebFunctionEndpointsCommandOutput } from "./commands/ListWebFunctionEndpointsCommand";
17
+ import { type ListWebFunctionRevisionsCommandInput, type ListWebFunctionRevisionsCommandOutput } from "./commands/ListWebFunctionRevisionsCommand";
18
+ import { type ListWebFunctionsCommandInput, type ListWebFunctionsCommandOutput } from "./commands/ListWebFunctionsCommand";
19
+ import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
20
+ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { type UpdateWebFunctionEndpointCommandInput, type UpdateWebFunctionEndpointCommandOutput } from "./commands/UpdateWebFunctionEndpointCommand";
3
23
  import { LambdaWebClient } from "./LambdaWebClient";
24
+ import type { ResourceNotFoundException } from "./models/errors";
4
25
  /**
5
26
  * @public
6
27
  */
@@ -8,6 +29,54 @@ export interface LambdaWebRequestOptions extends __HttpHandlerOptions {
8
29
  metricsRecorder?: __MetricsRecorder<unknown>;
9
30
  }
10
31
  export interface LambdaWeb {
32
+ /**
33
+ * @see {@link CreateWebFunctionCommand}
34
+ */
35
+ createWebFunction(args: CreateWebFunctionCommandInput, options?: LambdaWebRequestOptions): Promise<CreateWebFunctionCommandOutput>;
36
+ createWebFunction(args: CreateWebFunctionCommandInput, cb: (err: any, data?: CreateWebFunctionCommandOutput) => void): void;
37
+ createWebFunction(args: CreateWebFunctionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: CreateWebFunctionCommandOutput) => void): void;
38
+ /**
39
+ * @see {@link CreateWebFunctionEndpointCommand}
40
+ */
41
+ createWebFunctionEndpoint(args: CreateWebFunctionEndpointCommandInput, options?: LambdaWebRequestOptions): Promise<CreateWebFunctionEndpointCommandOutput>;
42
+ createWebFunctionEndpoint(args: CreateWebFunctionEndpointCommandInput, cb: (err: any, data?: CreateWebFunctionEndpointCommandOutput) => void): void;
43
+ createWebFunctionEndpoint(args: CreateWebFunctionEndpointCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: CreateWebFunctionEndpointCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link CreateWebFunctionRevisionCommand}
46
+ */
47
+ createWebFunctionRevision(args: CreateWebFunctionRevisionCommandInput, options?: LambdaWebRequestOptions): Promise<CreateWebFunctionRevisionCommandOutput>;
48
+ createWebFunctionRevision(args: CreateWebFunctionRevisionCommandInput, cb: (err: any, data?: CreateWebFunctionRevisionCommandOutput) => void): void;
49
+ createWebFunctionRevision(args: CreateWebFunctionRevisionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: CreateWebFunctionRevisionCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link DeleteResourcePolicyCommand}
52
+ */
53
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: LambdaWebRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
54
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
55
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link DeleteWebFunctionCommand}
58
+ */
59
+ deleteWebFunction(args: DeleteWebFunctionCommandInput, options?: LambdaWebRequestOptions): Promise<DeleteWebFunctionCommandOutput>;
60
+ deleteWebFunction(args: DeleteWebFunctionCommandInput, cb: (err: any, data?: DeleteWebFunctionCommandOutput) => void): void;
61
+ deleteWebFunction(args: DeleteWebFunctionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: DeleteWebFunctionCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link DeleteWebFunctionEndpointCommand}
64
+ */
65
+ deleteWebFunctionEndpoint(args: DeleteWebFunctionEndpointCommandInput, options?: LambdaWebRequestOptions): Promise<DeleteWebFunctionEndpointCommandOutput>;
66
+ deleteWebFunctionEndpoint(args: DeleteWebFunctionEndpointCommandInput, cb: (err: any, data?: DeleteWebFunctionEndpointCommandOutput) => void): void;
67
+ deleteWebFunctionEndpoint(args: DeleteWebFunctionEndpointCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: DeleteWebFunctionEndpointCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link DeleteWebFunctionRevisionCommand}
70
+ */
71
+ deleteWebFunctionRevision(args: DeleteWebFunctionRevisionCommandInput, options?: LambdaWebRequestOptions): Promise<DeleteWebFunctionRevisionCommandOutput>;
72
+ deleteWebFunctionRevision(args: DeleteWebFunctionRevisionCommandInput, cb: (err: any, data?: DeleteWebFunctionRevisionCommandOutput) => void): void;
73
+ deleteWebFunctionRevision(args: DeleteWebFunctionRevisionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: DeleteWebFunctionRevisionCommandOutput) => void): void;
74
+ /**
75
+ * @see {@link GetResourcePolicyCommand}
76
+ */
77
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: LambdaWebRequestOptions): Promise<GetResourcePolicyCommandOutput>;
78
+ getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
79
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
11
80
  /**
12
81
  * @see {@link GetWebAccountSettingsCommand}
13
82
  */
@@ -15,9 +84,133 @@ export interface LambdaWeb {
15
84
  getWebAccountSettings(args: GetWebAccountSettingsCommandInput, options?: LambdaWebRequestOptions): Promise<GetWebAccountSettingsCommandOutput>;
16
85
  getWebAccountSettings(args: GetWebAccountSettingsCommandInput, cb: (err: any, data?: GetWebAccountSettingsCommandOutput) => void): void;
17
86
  getWebAccountSettings(args: GetWebAccountSettingsCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: GetWebAccountSettingsCommandOutput) => void): void;
87
+ /**
88
+ * @see {@link GetWebFunctionCommand}
89
+ */
90
+ getWebFunction(args: GetWebFunctionCommandInput, options?: LambdaWebRequestOptions): Promise<GetWebFunctionCommandOutput>;
91
+ getWebFunction(args: GetWebFunctionCommandInput, cb: (err: any, data?: GetWebFunctionCommandOutput) => void): void;
92
+ getWebFunction(args: GetWebFunctionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: GetWebFunctionCommandOutput) => void): void;
93
+ /**
94
+ * @see {@link GetWebFunctionEndpointCommand}
95
+ */
96
+ getWebFunctionEndpoint(args: GetWebFunctionEndpointCommandInput, options?: LambdaWebRequestOptions): Promise<GetWebFunctionEndpointCommandOutput>;
97
+ getWebFunctionEndpoint(args: GetWebFunctionEndpointCommandInput, cb: (err: any, data?: GetWebFunctionEndpointCommandOutput) => void): void;
98
+ getWebFunctionEndpoint(args: GetWebFunctionEndpointCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: GetWebFunctionEndpointCommandOutput) => void): void;
99
+ /**
100
+ * @see {@link GetWebFunctionRevisionCommand}
101
+ */
102
+ getWebFunctionRevision(args: GetWebFunctionRevisionCommandInput, options?: LambdaWebRequestOptions): Promise<GetWebFunctionRevisionCommandOutput>;
103
+ getWebFunctionRevision(args: GetWebFunctionRevisionCommandInput, cb: (err: any, data?: GetWebFunctionRevisionCommandOutput) => void): void;
104
+ getWebFunctionRevision(args: GetWebFunctionRevisionCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: GetWebFunctionRevisionCommandOutput) => void): void;
105
+ /**
106
+ * @see {@link ListTagsCommand}
107
+ */
108
+ listTags(args: ListTagsCommandInput, options?: LambdaWebRequestOptions): Promise<ListTagsCommandOutput>;
109
+ listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
110
+ listTags(args: ListTagsCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
111
+ /**
112
+ * @see {@link ListWebFunctionEndpointsCommand}
113
+ */
114
+ listWebFunctionEndpoints(args: ListWebFunctionEndpointsCommandInput, options?: LambdaWebRequestOptions): Promise<ListWebFunctionEndpointsCommandOutput>;
115
+ listWebFunctionEndpoints(args: ListWebFunctionEndpointsCommandInput, cb: (err: any, data?: ListWebFunctionEndpointsCommandOutput) => void): void;
116
+ listWebFunctionEndpoints(args: ListWebFunctionEndpointsCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: ListWebFunctionEndpointsCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link ListWebFunctionRevisionsCommand}
119
+ */
120
+ listWebFunctionRevisions(args: ListWebFunctionRevisionsCommandInput, options?: LambdaWebRequestOptions): Promise<ListWebFunctionRevisionsCommandOutput>;
121
+ listWebFunctionRevisions(args: ListWebFunctionRevisionsCommandInput, cb: (err: any, data?: ListWebFunctionRevisionsCommandOutput) => void): void;
122
+ listWebFunctionRevisions(args: ListWebFunctionRevisionsCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: ListWebFunctionRevisionsCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link ListWebFunctionsCommand}
125
+ */
126
+ listWebFunctions(): Promise<ListWebFunctionsCommandOutput>;
127
+ listWebFunctions(args: ListWebFunctionsCommandInput, options?: LambdaWebRequestOptions): Promise<ListWebFunctionsCommandOutput>;
128
+ listWebFunctions(args: ListWebFunctionsCommandInput, cb: (err: any, data?: ListWebFunctionsCommandOutput) => void): void;
129
+ listWebFunctions(args: ListWebFunctionsCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: ListWebFunctionsCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link PutResourcePolicyCommand}
132
+ */
133
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: LambdaWebRequestOptions): Promise<PutResourcePolicyCommandOutput>;
134
+ putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
135
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
136
+ /**
137
+ * @see {@link TagResourceCommand}
138
+ */
139
+ tagResource(args: TagResourceCommandInput, options?: LambdaWebRequestOptions): Promise<TagResourceCommandOutput>;
140
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
141
+ tagResource(args: TagResourceCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
142
+ /**
143
+ * @see {@link UntagResourceCommand}
144
+ */
145
+ untagResource(args: UntagResourceCommandInput, options?: LambdaWebRequestOptions): Promise<UntagResourceCommandOutput>;
146
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
147
+ untagResource(args: UntagResourceCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
148
+ /**
149
+ * @see {@link UpdateWebFunctionEndpointCommand}
150
+ */
151
+ updateWebFunctionEndpoint(args: UpdateWebFunctionEndpointCommandInput, options?: LambdaWebRequestOptions): Promise<UpdateWebFunctionEndpointCommandOutput>;
152
+ updateWebFunctionEndpoint(args: UpdateWebFunctionEndpointCommandInput, cb: (err: any, data?: UpdateWebFunctionEndpointCommandOutput) => void): void;
153
+ updateWebFunctionEndpoint(args: UpdateWebFunctionEndpointCommandInput, options: LambdaWebRequestOptions, cb: (err: any, data?: UpdateWebFunctionEndpointCommandOutput) => void): void;
154
+ /**
155
+ * @see {@link ListWebFunctionEndpointsCommand}
156
+ * @param args - command input.
157
+ * @param paginationConfig - optional pagination config.
158
+ * @returns AsyncIterable of {@link ListWebFunctionEndpointsCommandOutput}.
159
+ */
160
+ paginateListWebFunctionEndpoints(args: ListWebFunctionEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWebFunctionEndpointsCommandOutput>;
161
+ /**
162
+ * @see {@link ListWebFunctionRevisionsCommand}
163
+ * @param args - command input.
164
+ * @param paginationConfig - optional pagination config.
165
+ * @returns AsyncIterable of {@link ListWebFunctionRevisionsCommandOutput}.
166
+ */
167
+ paginateListWebFunctionRevisions(args: ListWebFunctionRevisionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWebFunctionRevisionsCommandOutput>;
168
+ /**
169
+ * @see {@link ListWebFunctionsCommand}
170
+ * @param args - command input.
171
+ * @param paginationConfig - optional pagination config.
172
+ * @returns AsyncIterable of {@link ListWebFunctionsCommandOutput}.
173
+ */
174
+ paginateListWebFunctions(args?: ListWebFunctionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWebFunctionsCommandOutput>;
175
+ /**
176
+ * @see {@link GetWebFunctionCommand}
177
+ * @param args - command input.
178
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
179
+ */
180
+ waitUntilWebFunctionActive(args: GetWebFunctionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<GetWebFunctionCommandOutput>>;
181
+ /**
182
+ * @see {@link GetWebFunctionCommand}
183
+ * @param args - command input.
184
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
185
+ */
186
+ waitUntilWebFunctionDeleted(args: GetWebFunctionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
187
+ /**
188
+ * @see {@link GetWebFunctionEndpointCommand}
189
+ * @param args - command input.
190
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
191
+ */
192
+ waitUntilWebFunctionEndpointActive(args: GetWebFunctionEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<GetWebFunctionEndpointCommandOutput>>;
193
+ /**
194
+ * @see {@link GetWebFunctionEndpointCommand}
195
+ * @param args - command input.
196
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
197
+ */
198
+ waitUntilWebFunctionEndpointDeleted(args: GetWebFunctionEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
199
+ /**
200
+ * @see {@link GetWebFunctionEndpointCommand}
201
+ * @param args - command input.
202
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
203
+ */
204
+ waitUntilWebFunctionEndpointUpdated(args: GetWebFunctionEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<GetWebFunctionEndpointCommandOutput>>;
205
+ /**
206
+ * @see {@link GetWebFunctionRevisionCommand}
207
+ * @param args - command input.
208
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
209
+ */
210
+ waitUntilWebFunctionRevisionActive(args: GetWebFunctionRevisionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<GetWebFunctionRevisionCommandOutput>>;
18
211
  }
19
212
  /**
20
- * <note> <p>The AWS Lambda Web Functions APIs (<code>LambdaWeb</code> namespace) are experimental and for internal AWS use only. They are not yet available to external customers.</p> </note>
213
+ * <p>AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens on a network port and handles requests directly. You can use familiar Node.js web frameworks such as Express, Hono, or React Router with no Lambda-specific adapters or wrappers. You develop and run your server locally like any other Node.js web app.</p> <p>Lambda creates an HTTPS endpoint, manages the execution environments, and scales your application with traffic, including to zero when it's idle. To reduce latency for globally distributed users, you can deploy across multiple AWS Regions behind a single endpoint.</p> <p>A Web Function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS.</p> <p>Use Web Functions for workloads that receive and respond to HTTP traffic directly. Common use cases include:</p> <ul> <li> <p>Web applications – Deploy full-stack or front-end applications that serve HTML, assets, and API routes from a single deployment.</p> </li> <li> <p>REST and GraphQL APIs – Build API backends that serve high request volumes.</p> </li> <li> <p>Microservices – Run HTTP services that scale independently with traffic, including to zero when idle.</p> </li> <li> <p>Server-side rendering (SSR) – Serve pages that are rendered on the server at request time rather than pre-built. A Web Function runs your framework's production server directly. This suits applications that render personalized or frequently changing content on each request.</p> </li> <li> <p>Streaming responses – Stream output to the client as it is produced, such as responses from a large language model.</p> </li> </ul> <p>For event-driven processing, such as handling queue messages or file uploads, use <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-functions-chapter.html">Lambda Event Functions</a> instead. For more information about Web Functions, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/web-functions.html">Lambda Web Functions</a> in the <i>AWS Lambda Developer Guide</i>.</p>
21
214
  * @public
22
215
  */
23
216
  export declare class LambdaWeb extends LambdaWebClient implements LambdaWeb {
@@ -6,18 +6,37 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
7
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { CreateWebFunctionCommandInput, CreateWebFunctionCommandOutput } from "./commands/CreateWebFunctionCommand";
10
+ import type { CreateWebFunctionEndpointCommandInput, CreateWebFunctionEndpointCommandOutput } from "./commands/CreateWebFunctionEndpointCommand";
11
+ import type { CreateWebFunctionRevisionCommandInput, CreateWebFunctionRevisionCommandOutput } from "./commands/CreateWebFunctionRevisionCommand";
12
+ import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
13
+ import type { DeleteWebFunctionCommandInput, DeleteWebFunctionCommandOutput } from "./commands/DeleteWebFunctionCommand";
14
+ import type { DeleteWebFunctionEndpointCommandInput, DeleteWebFunctionEndpointCommandOutput } from "./commands/DeleteWebFunctionEndpointCommand";
15
+ import type { DeleteWebFunctionRevisionCommandInput, DeleteWebFunctionRevisionCommandOutput } from "./commands/DeleteWebFunctionRevisionCommand";
16
+ import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
9
17
  import type { GetWebAccountSettingsCommandInput, GetWebAccountSettingsCommandOutput } from "./commands/GetWebAccountSettingsCommand";
18
+ import type { GetWebFunctionCommandInput, GetWebFunctionCommandOutput } from "./commands/GetWebFunctionCommand";
19
+ import type { GetWebFunctionEndpointCommandInput, GetWebFunctionEndpointCommandOutput } from "./commands/GetWebFunctionEndpointCommand";
20
+ import type { GetWebFunctionRevisionCommandInput, GetWebFunctionRevisionCommandOutput } from "./commands/GetWebFunctionRevisionCommand";
21
+ import type { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
22
+ import type { ListWebFunctionEndpointsCommandInput, ListWebFunctionEndpointsCommandOutput } from "./commands/ListWebFunctionEndpointsCommand";
23
+ import type { ListWebFunctionRevisionsCommandInput, ListWebFunctionRevisionsCommandOutput } from "./commands/ListWebFunctionRevisionsCommand";
24
+ import type { ListWebFunctionsCommandInput, ListWebFunctionsCommandOutput } from "./commands/ListWebFunctionsCommand";
25
+ import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
26
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
27
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
28
+ import type { UpdateWebFunctionEndpointCommandInput, UpdateWebFunctionEndpointCommandOutput } from "./commands/UpdateWebFunctionEndpointCommand";
10
29
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
11
30
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
12
31
  export { __Client };
13
32
  /**
14
33
  * @public
15
34
  */
16
- export type ServiceInputTypes = GetWebAccountSettingsCommandInput;
35
+ export type ServiceInputTypes = CreateWebFunctionCommandInput | CreateWebFunctionEndpointCommandInput | CreateWebFunctionRevisionCommandInput | DeleteResourcePolicyCommandInput | DeleteWebFunctionCommandInput | DeleteWebFunctionEndpointCommandInput | DeleteWebFunctionRevisionCommandInput | GetResourcePolicyCommandInput | GetWebAccountSettingsCommandInput | GetWebFunctionCommandInput | GetWebFunctionEndpointCommandInput | GetWebFunctionRevisionCommandInput | ListTagsCommandInput | ListWebFunctionEndpointsCommandInput | ListWebFunctionRevisionsCommandInput | ListWebFunctionsCommandInput | PutResourcePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWebFunctionEndpointCommandInput;
17
36
  /**
18
37
  * @public
19
38
  */
20
- export type ServiceOutputTypes = GetWebAccountSettingsCommandOutput;
39
+ export type ServiceOutputTypes = CreateWebFunctionCommandOutput | CreateWebFunctionEndpointCommandOutput | CreateWebFunctionRevisionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteWebFunctionCommandOutput | DeleteWebFunctionEndpointCommandOutput | DeleteWebFunctionRevisionCommandOutput | GetResourcePolicyCommandOutput | GetWebAccountSettingsCommandOutput | GetWebFunctionCommandOutput | GetWebFunctionEndpointCommandOutput | GetWebFunctionRevisionCommandOutput | ListTagsCommandOutput | ListWebFunctionEndpointsCommandOutput | ListWebFunctionRevisionsCommandOutput | ListWebFunctionsCommandOutput | PutResourcePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWebFunctionEndpointCommandOutput;
21
40
  /**
22
41
  * @public
23
42
  */
@@ -169,7 +188,7 @@ export type LambdaWebClientResolvedConfigType = __SmithyResolvedConfiguration<__
169
188
  export interface LambdaWebClientResolvedConfig extends LambdaWebClientResolvedConfigType {
170
189
  }
171
190
  /**
172
- * <note> <p>The AWS Lambda Web Functions APIs (<code>LambdaWeb</code> namespace) are experimental and for internal AWS use only. They are not yet available to external customers.</p> </note>
191
+ * <p>AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens on a network port and handles requests directly. You can use familiar Node.js web frameworks such as Express, Hono, or React Router with no Lambda-specific adapters or wrappers. You develop and run your server locally like any other Node.js web app.</p> <p>Lambda creates an HTTPS endpoint, manages the execution environments, and scales your application with traffic, including to zero when it's idle. To reduce latency for globally distributed users, you can deploy across multiple AWS Regions behind a single endpoint.</p> <p>A Web Function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS.</p> <p>Use Web Functions for workloads that receive and respond to HTTP traffic directly. Common use cases include:</p> <ul> <li> <p>Web applications – Deploy full-stack or front-end applications that serve HTML, assets, and API routes from a single deployment.</p> </li> <li> <p>REST and GraphQL APIs – Build API backends that serve high request volumes.</p> </li> <li> <p>Microservices – Run HTTP services that scale independently with traffic, including to zero when idle.</p> </li> <li> <p>Server-side rendering (SSR) – Serve pages that are rendered on the server at request time rather than pre-built. A Web Function runs your framework's production server directly. This suits applications that render personalized or frequently changing content on each request.</p> </li> <li> <p>Streaming responses – Stream output to the client as it is produced, such as responses from a large language model.</p> </li> </ul> <p>For event-driven processing, such as handling queue messages or file uploads, use <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-functions-chapter.html">Lambda Event Functions</a> instead. For more information about Web Functions, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/web-functions.html">Lambda Web Functions</a> in the <i>AWS Lambda Developer Guide</i>.</p>
173
192
  * @public
174
193
  */
175
194
  export declare class LambdaWebClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaWebClientResolvedConfig> {
@@ -1,11 +1,11 @@
1
1
  import type { EndpointParameterInstructions } from "@smithy/types";
2
- import type { LambdaWebClientResolvedConfig } from "./LambdaWebClient";
2
+ import type { LambdaWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./LambdaWebClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export declare const command: <I extends import("./commands").GetWebAccountSettingsCommandInput, O extends import("./commands").GetWebAccountSettingsCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
- new (input: I): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig, import("./commands").GetWebAccountSettingsCommandInput, import("./commands").GetWebAccountSettingsCommandOutput>;
8
- new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig, import("./commands").GetWebAccountSettingsCommandInput, import("./commands").GetWebAccountSettingsCommandOutput>;
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
9
  getEndpointParameterInstructions(): EndpointParameterInstructions;
10
10
  };
11
11
  /**