@aws-sdk/client-lambda-web 3.1148.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 +1126 -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/LambdaWebServiceException.js +1 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +71 -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/LambdaWebServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +98 -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/LambdaWebServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +35 -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 +4 -4
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { TagResourceRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link TagResourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link TagResourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const TagResourceCommand_base: {
|
|
22
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, TagResourceCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, TagResourceCommand } = 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 = { // TagResourceRequest
|
|
37
|
+
* resource: "STRING_VALUE", // required
|
|
38
|
+
* tags: { // Tags // required
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
42
|
+
* const command = new TagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
49
|
+
* @returns {@link TagResourceCommandOutput}
|
|
50
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link TagResourceCommandOutput} 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 don't have permission to perform this operation. Check the IAM policies for your identity and any resource-based policy on the web function.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request conflicts with the current state of the resource. For example, the resource is being modified by another request, you tried to delete a revision that is serving traffic on an endpoint, or the policy revision ID that you specified doesn't match the current policy. Resolve the conflict and try again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>The request failed because of an internal error in the service. Retry the request. If the error persists, open a support case.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified web function, revision, endpoint, or resource-based policy doesn't exist. Verify the resource identifier and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
67
|
+
* <p>The request would exceed a service quota, such as the maximum number of web functions in your account or the maximum number of revisions or endpoints per web function. Request a quota increase or reduce usage and try again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The request failed validation because a parameter was missing, malformed, or outside the allowed range. Check the request parameters and try again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link LambdaWebServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: TagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: TagResourceCommandInput;
|
|
90
|
+
output: TagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UntagResourceRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UntagResourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UntagResourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UntagResourceCommand_base: {
|
|
22
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes tags 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, UntagResourceCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
|
|
37
|
+
* resource: "STRING_VALUE", // required
|
|
38
|
+
* tagKeys: [ // TagKeyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagResourceCommandOutput} 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 don't have permission to perform this operation. Check the IAM policies for your identity and any resource-based policy on the web function.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request conflicts with the current state of the resource. For example, the resource is being modified by another request, you tried to delete a revision that is serving traffic on an endpoint, or the policy revision ID that you specified doesn't match the current policy. Resolve the conflict and try again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>The request failed because of an internal error in the service. Retry the request. If the error persists, open a support case.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified web function, revision, endpoint, or resource-based policy doesn't exist. Verify the resource identifier and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed validation because a parameter was missing, malformed, or outside the allowed range. Check the request parameters and try again.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LambdaWebServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: UntagResourceRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: UntagResourceCommandInput;
|
|
87
|
+
output: UntagResourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateWebFunctionEndpointRequest, UpdateWebFunctionEndpointResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateWebFunctionEndpointCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateWebFunctionEndpointCommandInput extends UpdateWebFunctionEndpointRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateWebFunctionEndpointCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateWebFunctionEndpointCommandOutput extends UpdateWebFunctionEndpointResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateWebFunctionEndpointCommand_base: {
|
|
22
|
+
new (input: UpdateWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateWebFunctionEndpointCommandInput, UpdateWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateWebFunctionEndpointCommandInput, UpdateWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaWebClient, UpdateWebFunctionEndpointCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
|
|
32
|
+
* // const { LambdaWebClient, UpdateWebFunctionEndpointCommand } = 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 = { // UpdateWebFunctionEndpointRequest
|
|
37
|
+
* functionName: "STRING_VALUE", // required
|
|
38
|
+
* endpointName: "STRING_VALUE", // required
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* authType: "ApplicationManaged" || "IamAuth",
|
|
41
|
+
* autoDeploymentMode: "LatestRevision" || "Disabled",
|
|
42
|
+
* revisionWeights: [ // RevisionWeightList
|
|
43
|
+
* { // RevisionWeight
|
|
44
|
+
* revisionId: "STRING_VALUE", // required
|
|
45
|
+
* weight: Number("int"), // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* scalingConfig: { // ScalingConfig
|
|
49
|
+
* maxEnvironments: Number("int"),
|
|
50
|
+
* },
|
|
51
|
+
* throttleConfig: { // ThrottleConfig
|
|
52
|
+
* rateLimit: Number("int"),
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
55
|
+
* const command = new UpdateWebFunctionEndpointCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // UpdateWebFunctionEndpointResponse
|
|
58
|
+
* // functionArn: "STRING_VALUE", // required
|
|
59
|
+
* // endpointArn: "STRING_VALUE", // required
|
|
60
|
+
* // endpointName: "STRING_VALUE", // required
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // endpointType: "HomeRegion" || "MultiRegion" || "PerRegion", // required
|
|
63
|
+
* // domainName: "STRING_VALUE", // required
|
|
64
|
+
* // authType: "ApplicationManaged" || "IamAuth", // required
|
|
65
|
+
* // autoDeploymentMode: "LatestRevision" || "Disabled", // required
|
|
66
|
+
* // revisionWeights: [ // RevisionWeightList // required
|
|
67
|
+
* // { // RevisionWeight
|
|
68
|
+
* // revisionId: "STRING_VALUE", // required
|
|
69
|
+
* // weight: Number("int"), // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // regions: [ // RegionList // required
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // scalingConfig: { // ScalingConfig
|
|
76
|
+
* // maxEnvironments: Number("int"),
|
|
77
|
+
* // },
|
|
78
|
+
* // throttleConfig: { // ThrottleConfig
|
|
79
|
+
* // rateLimit: Number("int"),
|
|
80
|
+
* // },
|
|
81
|
+
* // state: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
82
|
+
* // stateReason: "STRING_VALUE", // required
|
|
83
|
+
* // updateStatus: "InProgress" || "Successful" || "Failed",
|
|
84
|
+
* // updateStatusReason: "STRING_VALUE",
|
|
85
|
+
* // regionalEndpoints: { // RegionalEndpoints // required
|
|
86
|
+
* // "<keys>": { // RegionalEndpoint
|
|
87
|
+
* // domainName: "STRING_VALUE",
|
|
88
|
+
* // authType: "ApplicationManaged" || "IamAuth", // required
|
|
89
|
+
* // revisionWeights: [ // required
|
|
90
|
+
* // {
|
|
91
|
+
* // revisionId: "STRING_VALUE", // required
|
|
92
|
+
* // weight: Number("int"), // required
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // scalingConfig: {
|
|
96
|
+
* // maxEnvironments: Number("int"),
|
|
97
|
+
* // },
|
|
98
|
+
* // throttleConfig: {
|
|
99
|
+
* // rateLimit: Number("int"),
|
|
100
|
+
* // },
|
|
101
|
+
* // state: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
102
|
+
* // stateReason: "STRING_VALUE", // required
|
|
103
|
+
* // updateStatus: "InProgress" || "Successful" || "Failed",
|
|
104
|
+
* // updateStatusReason: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
108
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param UpdateWebFunctionEndpointCommandInput - {@link UpdateWebFunctionEndpointCommandInput}
|
|
114
|
+
* @returns {@link UpdateWebFunctionEndpointCommandOutput}
|
|
115
|
+
* @see {@link UpdateWebFunctionEndpointCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link UpdateWebFunctionEndpointCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
120
|
+
* <p>You don't have permission to perform this operation. Check the IAM policies for your identity and any resource-based policy on the web function.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ConflictException} (client fault)
|
|
123
|
+
* <p>The request conflicts with the current state of the resource. For example, the resource is being modified by another request, you tried to delete a revision that is serving traffic on an endpoint, or the policy revision ID that you specified doesn't match the current policy. Resolve the conflict and try again.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link InternalServerException} (server fault)
|
|
126
|
+
* <p>The request failed because of an internal error in the service. Retry the request. If the error persists, open a support case.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
129
|
+
* <p>The specified web function, revision, endpoint, or resource-based policy doesn't exist. Verify the resource identifier and try again.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
132
|
+
* <p>The request would exceed a service quota, such as the maximum number of web functions in your account or the maximum number of revisions or endpoints per web function. Request a quota increase or reduce usage and try again.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
135
|
+
* <p>The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.</p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ValidationException} (client fault)
|
|
138
|
+
* <p>The request failed validation because a parameter was missing, malformed, or outside the allowed range. Check the request parameters and try again.</p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link LambdaWebServiceException}
|
|
141
|
+
* <p>Base exception class for all service exceptions from LambdaWeb service.</p>
|
|
142
|
+
*
|
|
143
|
+
*
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class UpdateWebFunctionEndpointCommand extends UpdateWebFunctionEndpointCommand_base {
|
|
147
|
+
/** @internal type navigation helper, not in runtime. */
|
|
148
|
+
protected static __types: {
|
|
149
|
+
api: {
|
|
150
|
+
input: UpdateWebFunctionEndpointRequest;
|
|
151
|
+
output: UpdateWebFunctionEndpointResponse;
|
|
152
|
+
};
|
|
153
|
+
sdk: {
|
|
154
|
+
input: UpdateWebFunctionEndpointCommandInput;
|
|
155
|
+
output: UpdateWebFunctionEndpointCommandOutput;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
@@ -1 +1,20 @@
|
|
|
1
|
+
export * from "./CreateWebFunctionCommand";
|
|
2
|
+
export * from "./CreateWebFunctionEndpointCommand";
|
|
3
|
+
export * from "./CreateWebFunctionRevisionCommand";
|
|
4
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
5
|
+
export * from "./DeleteWebFunctionCommand";
|
|
6
|
+
export * from "./DeleteWebFunctionEndpointCommand";
|
|
7
|
+
export * from "./DeleteWebFunctionRevisionCommand";
|
|
8
|
+
export * from "./GetResourcePolicyCommand";
|
|
1
9
|
export * from "./GetWebAccountSettingsCommand";
|
|
10
|
+
export * from "./GetWebFunctionCommand";
|
|
11
|
+
export * from "./GetWebFunctionEndpointCommand";
|
|
12
|
+
export * from "./GetWebFunctionRevisionCommand";
|
|
13
|
+
export * from "./ListTagsCommand";
|
|
14
|
+
export * from "./ListWebFunctionEndpointsCommand";
|
|
15
|
+
export * from "./ListWebFunctionRevisionsCommand";
|
|
16
|
+
export * from "./ListWebFunctionsCommand";
|
|
17
|
+
export * from "./PutResourcePolicyCommand";
|
|
18
|
+
export * from "./TagResourceCommand";
|
|
19
|
+
export * from "./UntagResourceCommand";
|
|
20
|
+
export * from "./UpdateWebFunctionEndpointCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <
|
|
2
|
+
* <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>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -10,7 +10,10 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { LambdaWebExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./waiters";
|
|
13
15
|
export * from "./schemas/schemas_0";
|
|
16
|
+
export * from "./models/enums";
|
|
14
17
|
export * from "./models/errors";
|
|
15
18
|
export * from "./models/models_0";
|
|
16
19
|
export { LambdaWebServiceException } from "./models/LambdaWebServiceException";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ApplicationLogLevel: {
|
|
6
|
+
readonly DEBUG: "DEBUG";
|
|
7
|
+
readonly ERROR: "ERROR";
|
|
8
|
+
readonly FATAL: "FATAL";
|
|
9
|
+
readonly INFO: "INFO";
|
|
10
|
+
readonly TRACE: "TRACE";
|
|
11
|
+
readonly WARN: "WARN";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ApplicationLogLevel = (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel];
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
* @enum
|
|
20
|
+
*/
|
|
21
|
+
export declare const AuthType: {
|
|
22
|
+
readonly APPLICATION_MANAGED: "ApplicationManaged";
|
|
23
|
+
readonly IAM_AUTH: "IamAuth";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* @enum
|
|
32
|
+
*/
|
|
33
|
+
export declare const AutoDeploymentMode: {
|
|
34
|
+
readonly DISABLED: "Disabled";
|
|
35
|
+
readonly LATEST_REVISION: "LatestRevision";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type AutoDeploymentMode = (typeof AutoDeploymentMode)[keyof typeof AutoDeploymentMode];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const EndpointType: {
|
|
46
|
+
readonly HOME_REGION: "HomeRegion";
|
|
47
|
+
readonly MULTI_REGION: "MultiRegion";
|
|
48
|
+
readonly PER_REGION: "PerRegion";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const SystemLogLevel: {
|
|
59
|
+
readonly DEBUG: "DEBUG";
|
|
60
|
+
readonly INFO: "INFO";
|
|
61
|
+
readonly WARN: "WARN";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const EndpointState: {
|
|
72
|
+
readonly ACTIVE: "Active";
|
|
73
|
+
readonly DELETING: "Deleting";
|
|
74
|
+
readonly FAILED: "Failed";
|
|
75
|
+
readonly PENDING: "Pending";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export type EndpointState = (typeof EndpointState)[keyof typeof EndpointState];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const EndpointUpdateStatus: {
|
|
86
|
+
readonly FAILED: "Failed";
|
|
87
|
+
readonly IN_PROGRESS: "InProgress";
|
|
88
|
+
readonly SUCCESSFUL: "Successful";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type EndpointUpdateStatus = (typeof EndpointUpdateStatus)[keyof typeof EndpointUpdateStatus];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const RevisionState: {
|
|
99
|
+
readonly ACTIVE: "Active";
|
|
100
|
+
readonly FAILED: "Failed";
|
|
101
|
+
readonly PENDING: "Pending";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type RevisionState = (typeof RevisionState)[keyof typeof RevisionState];
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @enum
|
|
110
|
+
*/
|
|
111
|
+
export declare const FunctionState: {
|
|
112
|
+
readonly ACTIVE: "Active";
|
|
113
|
+
readonly DELETING: "Deleting";
|
|
114
|
+
readonly FAILED: "Failed";
|
|
115
|
+
readonly PENDING: "Pending";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type FunctionState = (typeof FunctionState)[keyof typeof FunctionState];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { LambdaWebServiceException as __BaseException } from "./LambdaWebServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>You
|
|
4
|
+
* <p>You don't have permission to perform this operation. Check the IAM policies for your identity and any resource-based policy on the web function.</p>
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -13,10 +14,34 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
|
-
* <p>
|
|
17
|
+
* <p>The request conflicts with the current state of the resource. For example, the resource is being modified by another request, you tried to delete a revision that is serving traffic on an endpoint, or the policy revision ID that you specified doesn't match the current policy. Resolve the conflict and try again.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
static readonly shapeId: string;
|
|
22
|
+
readonly name: "ConflictException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* <p>The identifier of the resource in conflict.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
resourceId?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The type of the resource in conflict.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
resourceType?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The request failed because of an internal error in the service. Retry the request. If the error persists, open a support case.</p>
|
|
17
41
|
* @public
|
|
18
42
|
*/
|
|
19
43
|
export declare class InternalServerException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
20
45
|
readonly name: "InternalServerException";
|
|
21
46
|
readonly $fault: "server";
|
|
22
47
|
$retryable: {};
|
|
@@ -26,10 +51,67 @@ export declare class InternalServerException extends __BaseException {
|
|
|
26
51
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
27
52
|
}
|
|
28
53
|
/**
|
|
29
|
-
* <p>The
|
|
54
|
+
* <p>The specified web function, revision, endpoint, or resource-based policy doesn't exist. Verify the resource identifier and try again.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
|
+
static readonly shapeId: string;
|
|
59
|
+
readonly name: "ResourceNotFoundException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* <p>The identifier of the resource that was not found.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
resourceId?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The type of the resource that was not found.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
resourceType?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <p>The request would exceed a service quota, such as the maximum number of web functions in your account or the maximum number of revisions or endpoints per web function. Request a quota increase or reduce usage and try again.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
81
|
+
static readonly shapeId: string;
|
|
82
|
+
readonly name: "ServiceQuotaExceededException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
/**
|
|
85
|
+
* <p>The identifier of the resource that exceeded the quota.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
resourceId?: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The type of resource that exceeded the quota.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
resourceType?: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The service code of the service that owns the quota.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
serviceCode?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The quota code of the exceeded quota.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
quotaCode?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.</p>
|
|
30
111
|
* @public
|
|
31
112
|
*/
|
|
32
113
|
export declare class ThrottlingException extends __BaseException {
|
|
114
|
+
static readonly shapeId: string;
|
|
33
115
|
readonly name: "ThrottlingException";
|
|
34
116
|
readonly $fault: "client";
|
|
35
117
|
$retryable: {
|
|
@@ -55,3 +137,16 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
55
137
|
*/
|
|
56
138
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
57
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>The request failed validation because a parameter was missing, malformed, or outside the allowed range. Check the request parameters and try again.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class ValidationException extends __BaseException {
|
|
145
|
+
static readonly shapeId: string;
|
|
146
|
+
readonly name: "ValidationException";
|
|
147
|
+
readonly $fault: "client";
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
152
|
+
}
|