@aws-sdk/client-lambda-web 3.1149.0 → 3.1151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -8
- package/dist-cjs/index.js +1122 -4
- package/dist-es/LambdaWeb.js +61 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/ListTagsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/index.js +3 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +68 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +515 -1
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
- package/dist-types/LambdaWeb.d.ts +195 -2
- package/dist-types/LambdaWebClient.d.ts +22 -3
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
- package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
- package/dist-types/commands/ListTagsCommand.d.ts +88 -0
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +95 -3
- package/dist-types/models/models_0.d.ts +1508 -7
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
- package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
- package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +351 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/package.json +3 -3
package/dist-es/LambdaWeb.js
CHANGED
|
@@ -1,9 +1,69 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { CreateWebFunctionCommand, } from "./commands/CreateWebFunctionCommand";
|
|
3
|
+
import { CreateWebFunctionEndpointCommand, } from "./commands/CreateWebFunctionEndpointCommand";
|
|
4
|
+
import { CreateWebFunctionRevisionCommand, } from "./commands/CreateWebFunctionRevisionCommand";
|
|
5
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
6
|
+
import { DeleteWebFunctionCommand, } from "./commands/DeleteWebFunctionCommand";
|
|
7
|
+
import { DeleteWebFunctionEndpointCommand, } from "./commands/DeleteWebFunctionEndpointCommand";
|
|
8
|
+
import { DeleteWebFunctionRevisionCommand, } from "./commands/DeleteWebFunctionRevisionCommand";
|
|
9
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
2
10
|
import { GetWebAccountSettingsCommand, } from "./commands/GetWebAccountSettingsCommand";
|
|
11
|
+
import { GetWebFunctionCommand, } from "./commands/GetWebFunctionCommand";
|
|
12
|
+
import { GetWebFunctionEndpointCommand, } from "./commands/GetWebFunctionEndpointCommand";
|
|
13
|
+
import { GetWebFunctionRevisionCommand, } from "./commands/GetWebFunctionRevisionCommand";
|
|
14
|
+
import { ListTagsCommand } from "./commands/ListTagsCommand";
|
|
15
|
+
import { ListWebFunctionEndpointsCommand, } from "./commands/ListWebFunctionEndpointsCommand";
|
|
16
|
+
import { ListWebFunctionRevisionsCommand, } from "./commands/ListWebFunctionRevisionsCommand";
|
|
17
|
+
import { ListWebFunctionsCommand, } from "./commands/ListWebFunctionsCommand";
|
|
18
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
19
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
20
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
21
|
+
import { UpdateWebFunctionEndpointCommand, } from "./commands/UpdateWebFunctionEndpointCommand";
|
|
3
22
|
import { LambdaWebClient } from "./LambdaWebClient";
|
|
23
|
+
import { paginateListWebFunctionEndpoints } from "./pagination/ListWebFunctionEndpointsPaginator";
|
|
24
|
+
import { paginateListWebFunctionRevisions } from "./pagination/ListWebFunctionRevisionsPaginator";
|
|
25
|
+
import { paginateListWebFunctions } from "./pagination/ListWebFunctionsPaginator";
|
|
26
|
+
import { waitUntilWebFunctionActive } from "./waiters/waitForWebFunctionActive";
|
|
27
|
+
import { waitUntilWebFunctionDeleted } from "./waiters/waitForWebFunctionDeleted";
|
|
28
|
+
import { waitUntilWebFunctionEndpointActive } from "./waiters/waitForWebFunctionEndpointActive";
|
|
29
|
+
import { waitUntilWebFunctionEndpointDeleted } from "./waiters/waitForWebFunctionEndpointDeleted";
|
|
30
|
+
import { waitUntilWebFunctionEndpointUpdated } from "./waiters/waitForWebFunctionEndpointUpdated";
|
|
31
|
+
import { waitUntilWebFunctionRevisionActive } from "./waiters/waitForWebFunctionRevisionActive";
|
|
4
32
|
const commands = {
|
|
33
|
+
CreateWebFunctionCommand,
|
|
34
|
+
CreateWebFunctionEndpointCommand,
|
|
35
|
+
CreateWebFunctionRevisionCommand,
|
|
36
|
+
DeleteResourcePolicyCommand,
|
|
37
|
+
DeleteWebFunctionCommand,
|
|
38
|
+
DeleteWebFunctionEndpointCommand,
|
|
39
|
+
DeleteWebFunctionRevisionCommand,
|
|
40
|
+
GetResourcePolicyCommand,
|
|
5
41
|
GetWebAccountSettingsCommand,
|
|
42
|
+
GetWebFunctionCommand,
|
|
43
|
+
GetWebFunctionEndpointCommand,
|
|
44
|
+
GetWebFunctionRevisionCommand,
|
|
45
|
+
ListTagsCommand,
|
|
46
|
+
ListWebFunctionEndpointsCommand,
|
|
47
|
+
ListWebFunctionRevisionsCommand,
|
|
48
|
+
ListWebFunctionsCommand,
|
|
49
|
+
PutResourcePolicyCommand,
|
|
50
|
+
TagResourceCommand,
|
|
51
|
+
UntagResourceCommand,
|
|
52
|
+
UpdateWebFunctionEndpointCommand,
|
|
53
|
+
};
|
|
54
|
+
const paginators = {
|
|
55
|
+
paginateListWebFunctionEndpoints,
|
|
56
|
+
paginateListWebFunctionRevisions,
|
|
57
|
+
paginateListWebFunctions,
|
|
58
|
+
};
|
|
59
|
+
const waiters = {
|
|
60
|
+
waitUntilWebFunctionActive,
|
|
61
|
+
waitUntilWebFunctionDeleted,
|
|
62
|
+
waitUntilWebFunctionEndpointActive,
|
|
63
|
+
waitUntilWebFunctionEndpointDeleted,
|
|
64
|
+
waitUntilWebFunctionEndpointUpdated,
|
|
65
|
+
waitUntilWebFunctionRevisionActive,
|
|
6
66
|
};
|
|
7
67
|
export class LambdaWeb extends LambdaWebClient {
|
|
8
68
|
}
|
|
9
|
-
createAggregatedClient(commands, LambdaWeb);
|
|
69
|
+
createAggregatedClient(commands, LambdaWeb, { paginators, waiters });
|
|
@@ -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-es/index.js
CHANGED
|
@@ -2,7 +2,10 @@ export * from "./LambdaWebClient";
|
|
|
2
2
|
export * from "./LambdaWeb";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export { Command as $Command } from "@smithy/core/client";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|
|
5
7
|
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./models/enums";
|
|
6
9
|
export * from "./models/errors";
|
|
7
10
|
export * from "./models/models_0";
|
|
8
11
|
export { LambdaWebServiceException } from "./models/LambdaWebServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const ApplicationLogLevel = {
|
|
2
|
+
DEBUG: "DEBUG",
|
|
3
|
+
ERROR: "ERROR",
|
|
4
|
+
FATAL: "FATAL",
|
|
5
|
+
INFO: "INFO",
|
|
6
|
+
TRACE: "TRACE",
|
|
7
|
+
WARN: "WARN",
|
|
8
|
+
};
|
|
9
|
+
export const AuthType = {
|
|
10
|
+
APPLICATION_MANAGED: "ApplicationManaged",
|
|
11
|
+
IAM_AUTH: "IamAuth",
|
|
12
|
+
};
|
|
13
|
+
export const AutoDeploymentMode = {
|
|
14
|
+
DISABLED: "Disabled",
|
|
15
|
+
LATEST_REVISION: "LatestRevision",
|
|
16
|
+
};
|
|
17
|
+
export const EndpointType = {
|
|
18
|
+
HOME_REGION: "HomeRegion",
|
|
19
|
+
MULTI_REGION: "MultiRegion",
|
|
20
|
+
PER_REGION: "PerRegion",
|
|
21
|
+
};
|
|
22
|
+
export const SystemLogLevel = {
|
|
23
|
+
DEBUG: "DEBUG",
|
|
24
|
+
INFO: "INFO",
|
|
25
|
+
WARN: "WARN",
|
|
26
|
+
};
|
|
27
|
+
export const EndpointState = {
|
|
28
|
+
ACTIVE: "Active",
|
|
29
|
+
DELETING: "Deleting",
|
|
30
|
+
FAILED: "Failed",
|
|
31
|
+
PENDING: "Pending",
|
|
32
|
+
};
|
|
33
|
+
export const EndpointUpdateStatus = {
|
|
34
|
+
FAILED: "Failed",
|
|
35
|
+
IN_PROGRESS: "InProgress",
|
|
36
|
+
SUCCESSFUL: "Successful",
|
|
37
|
+
};
|
|
38
|
+
export const RevisionState = {
|
|
39
|
+
ACTIVE: "Active",
|
|
40
|
+
FAILED: "Failed",
|
|
41
|
+
PENDING: "Pending",
|
|
42
|
+
};
|
|
43
|
+
export const FunctionState = {
|
|
44
|
+
ACTIVE: "Active",
|
|
45
|
+
DELETING: "Deleting",
|
|
46
|
+
FAILED: "Failed",
|
|
47
|
+
PENDING: "Pending",
|
|
48
|
+
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -12,6 +12,23 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export class ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.lambdaweb#ConflictException";
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
resourceId;
|
|
20
|
+
resourceType;
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
28
|
+
this.resourceId = opts.resourceId;
|
|
29
|
+
this.resourceType = opts.resourceType;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
15
32
|
export class InternalServerException extends __BaseException {
|
|
16
33
|
static shapeId = "com.amazonaws.lambdaweb#InternalServerException";
|
|
17
34
|
name = "InternalServerException";
|
|
@@ -26,6 +43,44 @@ export class InternalServerException extends __BaseException {
|
|
|
26
43
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
44
|
}
|
|
28
45
|
}
|
|
46
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
static shapeId = "com.amazonaws.lambdaweb#ResourceNotFoundException";
|
|
48
|
+
name = "ResourceNotFoundException";
|
|
49
|
+
$fault = "client";
|
|
50
|
+
resourceId;
|
|
51
|
+
resourceType;
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "ResourceNotFoundException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
59
|
+
this.resourceId = opts.resourceId;
|
|
60
|
+
this.resourceType = opts.resourceType;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
64
|
+
static shapeId = "com.amazonaws.lambdaweb#ServiceQuotaExceededException";
|
|
65
|
+
name = "ServiceQuotaExceededException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
resourceId;
|
|
68
|
+
resourceType;
|
|
69
|
+
serviceCode;
|
|
70
|
+
quotaCode;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceQuotaExceededException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
78
|
+
this.resourceId = opts.resourceId;
|
|
79
|
+
this.resourceType = opts.resourceType;
|
|
80
|
+
this.serviceCode = opts.serviceCode;
|
|
81
|
+
this.quotaCode = opts.quotaCode;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
29
84
|
export class ThrottlingException extends __BaseException {
|
|
30
85
|
static shapeId = "com.amazonaws.lambdaweb#ThrottlingException";
|
|
31
86
|
name = "ThrottlingException";
|
|
@@ -48,3 +103,16 @@ export class ThrottlingException extends __BaseException {
|
|
|
48
103
|
this.quotaCode = opts.quotaCode;
|
|
49
104
|
}
|
|
50
105
|
}
|
|
106
|
+
export class ValidationException extends __BaseException {
|
|
107
|
+
static shapeId = "com.amazonaws.lambdaweb#ValidationException";
|
|
108
|
+
name = "ValidationException";
|
|
109
|
+
$fault = "client";
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "ValidationException",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListWebFunctionEndpointsCommand, } from "../commands/ListWebFunctionEndpointsCommand";
|
|
3
|
+
import { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
+
export const paginateListWebFunctionEndpoints = createPaginator(LambdaWebClient, ListWebFunctionEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListWebFunctionRevisionsCommand, } from "../commands/ListWebFunctionRevisionsCommand";
|
|
3
|
+
import { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
+
export const paginateListWebFunctionRevisions = createPaginator(LambdaWebClient, ListWebFunctionRevisionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListWebFunctionsCommand, } from "../commands/ListWebFunctionsCommand";
|
|
3
|
+
import { LambdaWebClient } from "../LambdaWebClient";
|
|
4
|
+
export const paginateListWebFunctions = createPaginator(LambdaWebClient, ListWebFunctionsCommand, "nextToken", "nextToken", "maxResults");
|