@aws-sdk/client-lambda-web 3.1149.0 → 3.1150.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 +141 -8
- package/dist-cjs/index.js +1122 -4
- package/dist-es/LambdaWeb.js +61 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/ListTagsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/index.js +3 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +68 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +515 -1
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
- package/dist-types/LambdaWeb.d.ts +195 -2
- package/dist-types/LambdaWebClient.d.ts +22 -3
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
- package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
- package/dist-types/commands/ListTagsCommand.d.ts +88 -0
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +95 -3
- package/dist-types/models/models_0.d.ts +1507 -6
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
- package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
- package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +351 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- 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
|
|
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
|
-
* <
|
|
213
|
+
* <p>With AWS Lambda Web Functions, you can run web applications and APIs as HTTP servers on AWS Lambda (Lambda) without provisioning or managing servers. Use web functions to run REST APIs, server-rendered web applications, and other HTTP workloads while Lambda handles scaling and availability.</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>
|
|
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
|
-
* <
|
|
191
|
+
* <p>With AWS Lambda Web Functions, you can run web applications and APIs as HTTP servers on AWS Lambda (Lambda) without provisioning or managing servers. Use web functions to run REST APIs, server-rendered web applications, and other HTTP workloads while Lambda handles scaling and availability.</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>
|
|
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
|
|
7
|
-
new (input: I): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig,
|
|
8
|
-
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, LambdaWebClientResolvedConfig,
|
|
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
|
/**
|