@aws-sdk/client-lambda-web 3.1145.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/LICENSE +201 -0
- package/README.md +321 -0
- package/dist-cjs/index.js +1555 -0
- package/dist-es/LambdaWeb.js +69 -0
- package/dist-es/LambdaWebClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- 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/GetWebAccountSettingsCommand.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 +20 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/LambdaWebServiceException.js +8 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +111 -0
- package/dist-es/models/models_0.js +1 -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/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +593 -0
- 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 +217 -0
- package/dist-types/LambdaWebClient.d.ts +206 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +188 -0
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +162 -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 +86 -0
- 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 +128 -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 +20 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/LambdaWebServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +145 -0
- package/dist-types/models/models_0.d.ts +1554 -0
- 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/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +90 -0
- package/dist-types/ts3.4/LambdaWeb.d.ts +424 -0
- package/dist-types/ts3.4/LambdaWebClient.d.ts +215 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- 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 +39 -0
- 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 +20 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/LambdaWebServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +364 -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/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -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 +69 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteResourcePolicyRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteResourcePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteResourcePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
22
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes the resource-based policy from a web function.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* revisionId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteResourcePolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
|
|
47
|
+
* @returns {@link DeleteResourcePolicyCommandOutput}
|
|
48
|
+
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request conflicts with the current state of the resource. Resolve the conflict and try again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link LambdaWebServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteResourcePolicyRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteResourcePolicyCommandInput;
|
|
85
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteWebFunctionRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteWebFunctionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteWebFunctionCommandInput extends DeleteWebFunctionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteWebFunctionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteWebFunctionCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteWebFunctionCommand_base: {
|
|
22
|
+
new (input: DeleteWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionCommandInput, DeleteWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionCommandInput, DeleteWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a web function and all of its associated revisions and endpoints.</p> <p>To use this operation, you must have the <code>DeleteWebFunction</code> permission on the web function. You don't need the <code>DeleteWebFunctionRevision</code> or <code>DeleteWebFunctionEndpoint</code> permission.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, DeleteWebFunctionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, DeleteWebFunctionCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // DeleteWebFunctionRequest
|
|
37
|
+
* functionName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteWebFunctionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteWebFunctionCommandInput - {@link DeleteWebFunctionCommandInput}
|
|
46
|
+
* @returns {@link DeleteWebFunctionCommandOutput}
|
|
47
|
+
* @see {@link DeleteWebFunctionCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteWebFunctionCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The request conflicts with the current state of the resource. Resolve the conflict and try again.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link LambdaWebServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteWebFunctionCommand extends DeleteWebFunctionCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteWebFunctionRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteWebFunctionCommandInput;
|
|
84
|
+
output: DeleteWebFunctionCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteWebFunctionEndpointRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteWebFunctionEndpointCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteWebFunctionEndpointCommandInput extends DeleteWebFunctionEndpointRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteWebFunctionEndpointCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteWebFunctionEndpointCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteWebFunctionEndpointCommand_base: {
|
|
22
|
+
new (input: DeleteWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionEndpointCommandInput, DeleteWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionEndpointCommandInput, DeleteWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a web function endpoint.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, DeleteWebFunctionEndpointCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, DeleteWebFunctionEndpointCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // DeleteWebFunctionEndpointRequest
|
|
37
|
+
* functionName: "STRING_VALUE", // required
|
|
38
|
+
* endpointName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteWebFunctionEndpointCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteWebFunctionEndpointCommandInput - {@link DeleteWebFunctionEndpointCommandInput}
|
|
47
|
+
* @returns {@link DeleteWebFunctionEndpointCommandOutput}
|
|
48
|
+
* @see {@link DeleteWebFunctionEndpointCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteWebFunctionEndpointCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request conflicts with the current state of the resource. Resolve the conflict and try again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link LambdaWebServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteWebFunctionEndpointCommand extends DeleteWebFunctionEndpointCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteWebFunctionEndpointRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteWebFunctionEndpointCommandInput;
|
|
85
|
+
output: DeleteWebFunctionEndpointCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteWebFunctionRevisionRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteWebFunctionRevisionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteWebFunctionRevisionCommandInput extends DeleteWebFunctionRevisionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteWebFunctionRevisionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteWebFunctionRevisionCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteWebFunctionRevisionCommand_base: {
|
|
22
|
+
new (input: DeleteWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionRevisionCommandInput, DeleteWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionRevisionCommandInput, DeleteWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, DeleteWebFunctionRevisionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, DeleteWebFunctionRevisionCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // DeleteWebFunctionRevisionRequest
|
|
37
|
+
* functionName: "STRING_VALUE", // required
|
|
38
|
+
* revisionId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteWebFunctionRevisionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteWebFunctionRevisionCommandInput - {@link DeleteWebFunctionRevisionCommandInput}
|
|
47
|
+
* @returns {@link DeleteWebFunctionRevisionCommandOutput}
|
|
48
|
+
* @see {@link DeleteWebFunctionRevisionCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteWebFunctionRevisionCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request conflicts with the current state of the resource. Resolve the conflict and try again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link LambdaWebServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteWebFunctionRevisionCommand extends DeleteWebFunctionRevisionCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteWebFunctionRevisionRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteWebFunctionRevisionCommandInput;
|
|
85
|
+
output: DeleteWebFunctionRevisionCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetResourcePolicyCommand_base: {
|
|
22
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the resource-based policy attached to a web function.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, GetResourcePolicyCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, GetResourcePolicyCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // GetResourcePolicyRequest
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetResourcePolicyResponse
|
|
42
|
+
* // policy: "STRING_VALUE", // required
|
|
43
|
+
* // revisionId: "STRING_VALUE", // required
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
49
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
50
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link LambdaWebServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: GetResourcePolicyRequest;
|
|
80
|
+
output: GetResourcePolicyResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetResourcePolicyCommandInput;
|
|
84
|
+
output: GetResourcePolicyCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetWebAccountSettingsRequest, GetWebAccountSettingsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetWebAccountSettingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetWebAccountSettingsCommandInput extends GetWebAccountSettingsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetWebAccountSettingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetWebAccountSettingsCommandOutput extends GetWebAccountSettingsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetWebAccountSettingsCommand_base: {
|
|
22
|
+
new (input: GetWebAccountSettingsCommandInput): import("@smithy/core/client").CommandImpl<GetWebAccountSettingsCommandInput, GetWebAccountSettingsCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetWebAccountSettingsCommandInput]): import("@smithy/core/client").CommandImpl<GetWebAccountSettingsCommandInput, GetWebAccountSettingsCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, GetWebAccountSettingsCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, GetWebAccountSettingsCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetWebAccountSettingsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetWebAccountSettingsResponse
|
|
40
|
+
* // accountQuotas: { // AccountQuotas
|
|
41
|
+
* // maxTotalArmVCpus: Number("int"), // required
|
|
42
|
+
* // maxTotalRateLimit: Number("int"), // required
|
|
43
|
+
* // maxRevisionsPerFunction: Number("int"), // required
|
|
44
|
+
* // maxEndpointsPerFunction: Number("int"), // required
|
|
45
|
+
* // },
|
|
46
|
+
* // accountUsage: { // AccountUsage
|
|
47
|
+
* // functionCount: Number("int"), // required
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetWebAccountSettingsCommandInput - {@link GetWebAccountSettingsCommandInput}
|
|
54
|
+
* @returns {@link GetWebAccountSettingsCommandOutput}
|
|
55
|
+
* @see {@link GetWebAccountSettingsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetWebAccountSettingsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link LambdaWebServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class GetWebAccountSettingsCommand extends GetWebAccountSettingsCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: {};
|
|
79
|
+
output: GetWebAccountSettingsResponse;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: GetWebAccountSettingsCommandInput;
|
|
83
|
+
output: GetWebAccountSettingsCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetWebFunctionRequest, GetWebFunctionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetWebFunctionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetWebFunctionCommandInput extends GetWebFunctionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetWebFunctionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetWebFunctionCommandOutput extends GetWebFunctionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetWebFunctionCommand_base: {
|
|
22
|
+
new (input: GetWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionCommandInput, GetWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionCommandInput, GetWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves details about a web function, including its current state and configuration.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, GetWebFunctionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, GetWebFunctionCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
|
|
33
|
+
* // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
|
|
34
|
+
* const config = {}; // type is LambdaWebClientConfig
|
|
35
|
+
* const client = new LambdaWebClient(config);
|
|
36
|
+
* const input = { // GetWebFunctionRequest
|
|
37
|
+
* functionName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetWebFunctionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetWebFunctionResponse
|
|
42
|
+
* // functionName: "STRING_VALUE", // required
|
|
43
|
+
* // functionArn: "STRING_VALUE", // required
|
|
44
|
+
* // state: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
45
|
+
* // stateReason: "STRING_VALUE", // required
|
|
46
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetWebFunctionCommandInput - {@link GetWebFunctionCommandInput}
|
|
53
|
+
* @returns {@link GetWebFunctionCommandOutput}
|
|
54
|
+
* @see {@link GetWebFunctionCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetWebFunctionCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient permissions to perform this operation.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The specified resource was not found. Verify the resource identifier and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was throttled. Reduce the frequency of requests and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request failed validation. Check the request parameters and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LambdaWebServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetWebFunctionCommand extends GetWebFunctionCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: GetWebFunctionRequest;
|
|
84
|
+
output: GetWebFunctionResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: GetWebFunctionCommandInput;
|
|
88
|
+
output: GetWebFunctionCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|