@aws-sdk/client-lambda-web 3.1150.0 → 3.1152.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
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript LambdaWeb Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
9
|
+
<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>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -210,7 +210,7 @@ export interface LambdaWeb {
|
|
|
210
210
|
waitUntilWebFunctionRevisionActive(args: GetWebFunctionRevisionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaWeb>, "client">): Promise<WaiterResult<GetWebFunctionRevisionCommandOutput>>;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* <p>
|
|
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>
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
216
|
export declare class LambdaWeb extends LambdaWebClient implements LambdaWeb {
|
|
@@ -188,7 +188,7 @@ export type LambdaWebClientResolvedConfigType = __SmithyResolvedConfiguration<__
|
|
|
188
188
|
export interface LambdaWebClientResolvedConfig extends LambdaWebClientResolvedConfigType {
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* <p>
|
|
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>
|
|
192
192
|
* @public
|
|
193
193
|
*/
|
|
194
194
|
export declare class LambdaWebClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaWebClientResolvedConfig> {
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>
|
|
2
|
+
* <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>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -31,7 +31,7 @@ export interface AccountQuotas {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface AccountUsage {
|
|
33
33
|
/**
|
|
34
|
-
* <p>The number of web functions in your account in the current AWS Region.</p>
|
|
34
|
+
* <p>The number of web functions in your account in the current AWS Region. This count includes web functions in all states, not only functions in the <code>Active</code> state.</p>
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
37
|
functionCount: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda-web",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1152.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Lambda Web Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda-web",
|
|
6
6
|
"license": "Apache-2.0",
|