@aws-sdk/client-lambda-web 3.1146.0 → 3.1147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -141
- package/dist-cjs/index.js +4 -1117
- package/dist-es/LambdaWeb.js +1 -61
- package/dist-es/commands/index.js +0 -19
- package/dist-es/index.js +0 -3
- package/dist-es/models/errors.js +0 -64
- package/dist-es/schemas/schemas_0.js +1 -514
- package/dist-types/LambdaWeb.d.ts +2 -195
- package/dist-types/LambdaWebClient.d.ts +3 -22
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +0 -19
- package/dist-types/index.d.ts +1 -4
- package/dist-types/models/errors.d.ts +0 -88
- package/dist-types/models/models_0.d.ts +7 -1503
- package/dist-types/schemas/schemas_0.d.ts +0 -73
- package/dist-types/ts3.4/LambdaWeb.d.ts +0 -395
- package/dist-types/ts3.4/LambdaWebClient.d.ts +2 -112
- package/dist-types/ts3.4/commandBuilder.d.ts +9 -10
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/index.d.ts +0 -19
- package/dist-types/ts3.4/index.d.ts +0 -3
- package/dist-types/ts3.4/models/errors.d.ts +0 -28
- package/dist-types/ts3.4/models/models_0.d.ts +0 -350
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -73
- package/package.json +1 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/ListTagsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionsCommand.js +0 -4
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -4
- package/dist-es/commands/TagResourceCommand.js +0 -4
- package/dist-es/commands/UntagResourceCommand.js +0 -4
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/models/enums.js +0 -48
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionsPaginator.js +0 -4
- package/dist-es/pagination/index.js +0 -4
- package/dist-es/waiters/index.js +0 -6
- package/dist-es/waiters/waitForWebFunctionActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +0 -49
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +0 -49
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +0 -188
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +0 -162
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +0 -162
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +0 -87
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -88
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -87
- package/dist-types/commands/GetWebFunctionCommand.d.ts +0 -91
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +0 -137
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +0 -128
- package/dist-types/commands/ListTagsCommand.d.ts +0 -88
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +0 -128
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +0 -106
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +0 -102
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -95
- package/dist-types/commands/TagResourceCommand.d.ts +0 -93
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -90
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -158
- package/dist-types/models/enums.d.ts +0 -120
- package/dist-types/pagination/Interfaces.d.ts +0 -8
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +0 -7
- package/dist-types/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/models/enums.d.ts +0 -57
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/waiters/index.d.ts +0 -6
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
- package/dist-types/waiters/index.d.ts +0 -6
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
package/dist-es/LambdaWeb.js
CHANGED
|
@@ -1,69 +1,9 @@
|
|
|
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";
|
|
10
2
|
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";
|
|
22
3
|
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";
|
|
32
4
|
const commands = {
|
|
33
|
-
CreateWebFunctionCommand,
|
|
34
|
-
CreateWebFunctionEndpointCommand,
|
|
35
|
-
CreateWebFunctionRevisionCommand,
|
|
36
|
-
DeleteResourcePolicyCommand,
|
|
37
|
-
DeleteWebFunctionCommand,
|
|
38
|
-
DeleteWebFunctionEndpointCommand,
|
|
39
|
-
DeleteWebFunctionRevisionCommand,
|
|
40
|
-
GetResourcePolicyCommand,
|
|
41
5
|
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,
|
|
66
6
|
};
|
|
67
7
|
export class LambdaWeb extends LambdaWebClient {
|
|
68
8
|
}
|
|
69
|
-
createAggregatedClient(commands, LambdaWeb
|
|
9
|
+
createAggregatedClient(commands, LambdaWeb);
|
|
@@ -1,20 +1 @@
|
|
|
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";
|
|
9
1
|
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,10 +2,7 @@ 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";
|
|
7
5
|
export * from "./schemas/schemas_0";
|
|
8
|
-
export * from "./models/enums";
|
|
9
6
|
export * from "./models/errors";
|
|
10
7
|
export * from "./models/models_0";
|
|
11
8
|
export { LambdaWebServiceException } from "./models/LambdaWebServiceException";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -11,22 +11,6 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
resourceId;
|
|
18
|
-
resourceType;
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ConflictException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
-
this.resourceId = opts.resourceId;
|
|
27
|
-
this.resourceType = opts.resourceType;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
14
|
export class InternalServerException extends __BaseException {
|
|
31
15
|
name = "InternalServerException";
|
|
32
16
|
$fault = "server";
|
|
@@ -40,42 +24,6 @@ export class InternalServerException extends __BaseException {
|
|
|
40
24
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
25
|
}
|
|
42
26
|
}
|
|
43
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
44
|
-
name = "ResourceNotFoundException";
|
|
45
|
-
$fault = "client";
|
|
46
|
-
resourceId;
|
|
47
|
-
resourceType;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ResourceNotFoundException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
-
this.resourceId = opts.resourceId;
|
|
56
|
-
this.resourceType = opts.resourceType;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
-
name = "ServiceQuotaExceededException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
resourceId;
|
|
63
|
-
resourceType;
|
|
64
|
-
serviceCode;
|
|
65
|
-
quotaCode;
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "ServiceQuotaExceededException",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
73
|
-
this.resourceId = opts.resourceId;
|
|
74
|
-
this.resourceType = opts.resourceType;
|
|
75
|
-
this.serviceCode = opts.serviceCode;
|
|
76
|
-
this.quotaCode = opts.quotaCode;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
27
|
export class ThrottlingException extends __BaseException {
|
|
80
28
|
name = "ThrottlingException";
|
|
81
29
|
$fault = "client";
|
|
@@ -97,15 +45,3 @@ export class ThrottlingException extends __BaseException {
|
|
|
97
45
|
this.quotaCode = opts.quotaCode;
|
|
98
46
|
}
|
|
99
47
|
}
|
|
100
|
-
export class ValidationException extends __BaseException {
|
|
101
|
-
name = "ValidationException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
constructor(opts) {
|
|
104
|
-
super({
|
|
105
|
-
name: "ValidationException",
|
|
106
|
-
$fault: "client",
|
|
107
|
-
...opts,
|
|
108
|
-
});
|
|
109
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
110
|
-
}
|
|
111
|
-
}
|