@aws-sdk/client-lambda-web 3.1146.0 → 3.1147.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 +8 -141
- package/dist-cjs/index.js +4 -1117
- package/dist-es/LambdaWeb.js +1 -61
- package/dist-es/commands/index.js +0 -19
- package/dist-es/index.js +0 -3
- package/dist-es/models/errors.js +0 -64
- package/dist-es/schemas/schemas_0.js +1 -514
- package/dist-types/LambdaWeb.d.ts +2 -195
- package/dist-types/LambdaWebClient.d.ts +3 -22
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +0 -19
- package/dist-types/index.d.ts +1 -4
- package/dist-types/models/errors.d.ts +0 -88
- package/dist-types/models/models_0.d.ts +7 -1503
- package/dist-types/schemas/schemas_0.d.ts +0 -73
- package/dist-types/ts3.4/LambdaWeb.d.ts +0 -395
- package/dist-types/ts3.4/LambdaWebClient.d.ts +2 -112
- package/dist-types/ts3.4/commandBuilder.d.ts +9 -10
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/index.d.ts +0 -19
- package/dist-types/ts3.4/index.d.ts +0 -3
- package/dist-types/ts3.4/models/errors.d.ts +0 -28
- package/dist-types/ts3.4/models/models_0.d.ts +0 -350
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -73
- package/package.json +1 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/ListTagsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionsCommand.js +0 -4
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -4
- package/dist-es/commands/TagResourceCommand.js +0 -4
- package/dist-es/commands/UntagResourceCommand.js +0 -4
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/models/enums.js +0 -48
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionsPaginator.js +0 -4
- package/dist-es/pagination/index.js +0 -4
- package/dist-es/waiters/index.js +0 -6
- package/dist-es/waiters/waitForWebFunctionActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +0 -49
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +0 -49
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +0 -188
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +0 -162
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +0 -162
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +0 -87
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -88
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -87
- package/dist-types/commands/GetWebFunctionCommand.d.ts +0 -91
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +0 -137
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +0 -128
- package/dist-types/commands/ListTagsCommand.d.ts +0 -88
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +0 -128
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +0 -106
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +0 -102
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -95
- package/dist-types/commands/TagResourceCommand.d.ts +0 -93
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -90
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -158
- package/dist-types/models/enums.d.ts +0 -120
- package/dist-types/pagination/Interfaces.d.ts +0 -8
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +0 -7
- package/dist-types/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/models/enums.d.ts +0 -57
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/waiters/index.d.ts +0 -6
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
- package/dist-types/waiters/index.d.ts +0 -6
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./waitForWebFunctionActive";
|
|
2
|
-
export * from "./waitForWebFunctionDeleted";
|
|
3
|
-
export * from "./waitForWebFunctionEndpointActive";
|
|
4
|
-
export * from "./waitForWebFunctionEndpointDeleted";
|
|
5
|
-
export * from "./waitForWebFunctionEndpointUpdated";
|
|
6
|
-
export * from "./waitForWebFunctionRevisionActive";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionCommandInput, type GetWebFunctionCommandOutput } from "../commands/GetWebFunctionCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
5
|
-
/**
|
|
6
|
-
* Waits for the web function's state to be Active. This should be used after new function creation.
|
|
7
|
-
* @deprecated Use waitUntilWebFunctionActive instead. waitForWebFunctionActive does not throw error in non-success cases.
|
|
8
|
-
*/
|
|
9
|
-
export declare const waitForWebFunctionActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionCommandInput) => Promise<WaiterResult<GetWebFunctionCommandOutput | LambdaWebServiceException>>;
|
|
10
|
-
/**
|
|
11
|
-
* Waits for the web function's state to be Active. This should be used after new function creation.
|
|
12
|
-
* @param params - Waiter configuration options.
|
|
13
|
-
* @param input - The input to GetWebFunctionCommand for polling.
|
|
14
|
-
*/
|
|
15
|
-
export declare const waitUntilWebFunctionActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionCommandInput) => Promise<WaiterResult<GetWebFunctionCommandOutput>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionCommandInput, type GetWebFunctionCommandOutput } from "../commands/GetWebFunctionCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { ResourceNotFoundException } from "../models/errors";
|
|
5
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
6
|
-
/**
|
|
7
|
-
* Waits for the web function to be deleted. This should be used after function deletion.
|
|
8
|
-
* @deprecated Use waitUntilWebFunctionDeleted instead. waitForWebFunctionDeleted does not throw error in non-success cases.
|
|
9
|
-
*/
|
|
10
|
-
export declare const waitForWebFunctionDeleted: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionCommandInput) => Promise<WaiterResult<GetWebFunctionCommandOutput | LambdaWebServiceException>>;
|
|
11
|
-
/**
|
|
12
|
-
* Waits for the web function to be deleted. This should be used after function deletion.
|
|
13
|
-
* @param params - Waiter configuration options.
|
|
14
|
-
* @param input - The input to GetWebFunctionCommand for polling.
|
|
15
|
-
*/
|
|
16
|
-
export declare const waitUntilWebFunctionDeleted: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionEndpointCommandInput, type GetWebFunctionEndpointCommandOutput } from "../commands/GetWebFunctionEndpointCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
5
|
-
/**
|
|
6
|
-
* Waits for the web function endpoint's state to be Active. This should be used after new endpoint creation.
|
|
7
|
-
* @deprecated Use waitUntilWebFunctionEndpointActive instead. waitForWebFunctionEndpointActive does not throw error in non-success cases.
|
|
8
|
-
*/
|
|
9
|
-
export declare const waitForWebFunctionEndpointActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<GetWebFunctionEndpointCommandOutput | LambdaWebServiceException>>;
|
|
10
|
-
/**
|
|
11
|
-
* Waits for the web function endpoint's state to be Active. This should be used after new endpoint creation.
|
|
12
|
-
* @param params - Waiter configuration options.
|
|
13
|
-
* @param input - The input to GetWebFunctionEndpointCommand for polling.
|
|
14
|
-
*/
|
|
15
|
-
export declare const waitUntilWebFunctionEndpointActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<GetWebFunctionEndpointCommandOutput>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionEndpointCommandInput, type GetWebFunctionEndpointCommandOutput } from "../commands/GetWebFunctionEndpointCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { ResourceNotFoundException } from "../models/errors";
|
|
5
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
6
|
-
/**
|
|
7
|
-
* Waits for the web function endpoint to be deleted. This should be used after endpoint deletion.
|
|
8
|
-
* @deprecated Use waitUntilWebFunctionEndpointDeleted instead. waitForWebFunctionEndpointDeleted does not throw error in non-success cases.
|
|
9
|
-
*/
|
|
10
|
-
export declare const waitForWebFunctionEndpointDeleted: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<GetWebFunctionEndpointCommandOutput | LambdaWebServiceException>>;
|
|
11
|
-
/**
|
|
12
|
-
* Waits for the web function endpoint to be deleted. This should be used after endpoint deletion.
|
|
13
|
-
* @param params - Waiter configuration options.
|
|
14
|
-
* @param input - The input to GetWebFunctionEndpointCommand for polling.
|
|
15
|
-
*/
|
|
16
|
-
export declare const waitUntilWebFunctionEndpointDeleted: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionEndpointCommandInput, type GetWebFunctionEndpointCommandOutput } from "../commands/GetWebFunctionEndpointCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
5
|
-
/**
|
|
6
|
-
* Waits for the web function endpoint's update status to be Successful. This should be used after endpoint updates.
|
|
7
|
-
* @deprecated Use waitUntilWebFunctionEndpointUpdated instead. waitForWebFunctionEndpointUpdated does not throw error in non-success cases.
|
|
8
|
-
*/
|
|
9
|
-
export declare const waitForWebFunctionEndpointUpdated: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<GetWebFunctionEndpointCommandOutput | LambdaWebServiceException>>;
|
|
10
|
-
/**
|
|
11
|
-
* Waits for the web function endpoint's update status to be Successful. This should be used after endpoint updates.
|
|
12
|
-
* @param params - Waiter configuration options.
|
|
13
|
-
* @param input - The input to GetWebFunctionEndpointCommand for polling.
|
|
14
|
-
*/
|
|
15
|
-
export declare const waitUntilWebFunctionEndpointUpdated: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionEndpointCommandInput) => Promise<WaiterResult<GetWebFunctionEndpointCommandOutput>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import { type GetWebFunctionRevisionCommandInput, type GetWebFunctionRevisionCommandOutput } from "../commands/GetWebFunctionRevisionCommand";
|
|
3
|
-
import type { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
-
import type { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
5
|
-
/**
|
|
6
|
-
* Waits for the web function revision's state to be Active. This should be used after new revision creation.
|
|
7
|
-
* @deprecated Use waitUntilWebFunctionRevisionActive instead. waitForWebFunctionRevisionActive does not throw error in non-success cases.
|
|
8
|
-
*/
|
|
9
|
-
export declare const waitForWebFunctionRevisionActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionRevisionCommandInput) => Promise<WaiterResult<GetWebFunctionRevisionCommandOutput | LambdaWebServiceException>>;
|
|
10
|
-
/**
|
|
11
|
-
* Waits for the web function revision's state to be Active. This should be used after new revision creation.
|
|
12
|
-
* @param params - Waiter configuration options.
|
|
13
|
-
* @param input - The input to GetWebFunctionRevisionCommand for polling.
|
|
14
|
-
*/
|
|
15
|
-
export declare const waitUntilWebFunctionRevisionActive: (params: WaiterConfiguration<LambdaWebClient>, input: GetWebFunctionRevisionCommandInput) => Promise<WaiterResult<GetWebFunctionRevisionCommandOutput>>;
|