@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.
Files changed (125) hide show
  1. package/README.md +141 -8
  2. package/dist-cjs/index.js +1126 -4
  3. package/dist-es/LambdaWeb.js +61 -1
  4. package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
  5. package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
  6. package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  8. package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
  9. package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
  10. package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
  11. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  12. package/dist-es/commands/GetWebFunctionCommand.js +4 -0
  13. package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
  14. package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
  15. package/dist-es/commands/ListTagsCommand.js +4 -0
  16. package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
  17. package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
  18. package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
  19. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  20. package/dist-es/commands/TagResourceCommand.js +4 -0
  21. package/dist-es/commands/UntagResourceCommand.js +4 -0
  22. package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
  23. package/dist-es/commands/index.js +19 -0
  24. package/dist-es/index.js +3 -0
  25. package/dist-es/models/LambdaWebServiceException.js +1 -0
  26. package/dist-es/models/enums.js +48 -0
  27. package/dist-es/models/errors.js +71 -0
  28. package/dist-es/pagination/Interfaces.js +1 -0
  29. package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
  30. package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
  31. package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
  32. package/dist-es/pagination/index.js +4 -0
  33. package/dist-es/schemas/schemas_0.js +515 -1
  34. package/dist-es/waiters/index.js +6 -0
  35. package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
  36. package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
  37. package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
  38. package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
  39. package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
  40. package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
  41. package/dist-types/LambdaWeb.d.ts +195 -2
  42. package/dist-types/LambdaWebClient.d.ts +22 -3
  43. package/dist-types/commandBuilder.d.ts +4 -4
  44. package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
  45. package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
  46. package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
  47. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  48. package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
  49. package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
  50. package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
  51. package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
  52. package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
  53. package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
  54. package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
  55. package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
  56. package/dist-types/commands/ListTagsCommand.d.ts +88 -0
  57. package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
  58. package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
  59. package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
  60. package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  63. package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
  64. package/dist-types/commands/index.d.ts +19 -0
  65. package/dist-types/index.d.ts +4 -1
  66. package/dist-types/models/LambdaWebServiceException.d.ts +1 -0
  67. package/dist-types/models/enums.d.ts +120 -0
  68. package/dist-types/models/errors.d.ts +98 -3
  69. package/dist-types/models/models_0.d.ts +1507 -6
  70. package/dist-types/pagination/Interfaces.d.ts +8 -0
  71. package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +4 -0
  75. package/dist-types/schemas/schemas_0.d.ts +73 -0
  76. package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
  77. package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
  78. package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
  79. package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
  85. package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
  86. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
  88. package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
  89. package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
  95. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  98. package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  100. package/dist-types/ts3.4/index.d.ts +3 -0
  101. package/dist-types/ts3.4/models/LambdaWebServiceException.d.ts +1 -0
  102. package/dist-types/ts3.4/models/enums.d.ts +57 -0
  103. package/dist-types/ts3.4/models/errors.d.ts +35 -0
  104. package/dist-types/ts3.4/models/models_0.d.ts +351 -0
  105. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  106. package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  110. package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
  111. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  112. package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
  113. package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  114. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  115. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  116. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  117. package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  118. package/dist-types/waiters/index.d.ts +6 -0
  119. package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
  120. package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  121. package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  122. package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  123. package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  124. package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  125. package/package.json +4 -4
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateWebFunction$ } from "../schemas/schemas_0";
3
+ export class CreateWebFunctionCommand extends command(_ep0, _mw0, "CreateWebFunction", CreateWebFunction$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateWebFunctionEndpoint$ } from "../schemas/schemas_0";
3
+ export class CreateWebFunctionEndpointCommand extends command(_ep0, _mw0, "CreateWebFunctionEndpoint", CreateWebFunctionEndpoint$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateWebFunctionRevision$ } from "../schemas/schemas_0";
3
+ export class CreateWebFunctionRevisionCommand extends command(_ep0, _mw0, "CreateWebFunctionRevision", CreateWebFunctionRevision$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteWebFunction$ } from "../schemas/schemas_0";
3
+ export class DeleteWebFunctionCommand extends command(_ep0, _mw0, "DeleteWebFunction", DeleteWebFunction$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteWebFunctionEndpoint$ } from "../schemas/schemas_0";
3
+ export class DeleteWebFunctionEndpointCommand extends command(_ep0, _mw0, "DeleteWebFunctionEndpoint", DeleteWebFunctionEndpoint$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteWebFunctionRevision$ } from "../schemas/schemas_0";
3
+ export class DeleteWebFunctionRevisionCommand extends command(_ep0, _mw0, "DeleteWebFunctionRevision", DeleteWebFunctionRevision$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetWebFunction$ } from "../schemas/schemas_0";
3
+ export class GetWebFunctionCommand extends command(_ep0, _mw0, "GetWebFunction", GetWebFunction$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetWebFunctionEndpoint$ } from "../schemas/schemas_0";
3
+ export class GetWebFunctionEndpointCommand extends command(_ep0, _mw0, "GetWebFunctionEndpoint", GetWebFunctionEndpoint$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetWebFunctionRevision$ } from "../schemas/schemas_0";
3
+ export class GetWebFunctionRevisionCommand extends command(_ep0, _mw0, "GetWebFunctionRevision", GetWebFunctionRevision$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListTags$ } from "../schemas/schemas_0";
3
+ export class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListWebFunctionEndpoints$ } from "../schemas/schemas_0";
3
+ export class ListWebFunctionEndpointsCommand extends command(_ep0, _mw0, "ListWebFunctionEndpoints", ListWebFunctionEndpoints$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListWebFunctionRevisions$ } from "../schemas/schemas_0";
3
+ export class ListWebFunctionRevisionsCommand extends command(_ep0, _mw0, "ListWebFunctionRevisions", ListWebFunctionRevisions$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListWebFunctions$ } from "../schemas/schemas_0";
3
+ export class ListWebFunctionsCommand extends command(_ep0, _mw0, "ListWebFunctions", ListWebFunctions$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { TagResource$ } from "../schemas/schemas_0";
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UntagResource$ } from "../schemas/schemas_0";
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateWebFunctionEndpoint$ } from "../schemas/schemas_0";
3
+ export class UpdateWebFunctionEndpointCommand extends command(_ep0, _mw0, "UpdateWebFunctionEndpoint", UpdateWebFunctionEndpoint$) {
4
+ }
@@ -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";
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class LambdaWebServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.lambdaweb#LambdaWebServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, LambdaWebServiceException.prototype);
@@ -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
+ };
@@ -1,5 +1,6 @@
1
1
  import { LambdaWebServiceException as __BaseException } from "./LambdaWebServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.lambdaweb#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -11,7 +12,25 @@ export class AccessDeniedException extends __BaseException {
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  }
13
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
+ }
14
32
  export class InternalServerException extends __BaseException {
33
+ static shapeId = "com.amazonaws.lambdaweb#InternalServerException";
15
34
  name = "InternalServerException";
16
35
  $fault = "server";
17
36
  $retryable = {};
@@ -24,7 +43,46 @@ export class InternalServerException extends __BaseException {
24
43
  Object.setPrototypeOf(this, InternalServerException.prototype);
25
44
  }
26
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
+ }
27
84
  export class ThrottlingException extends __BaseException {
85
+ static shapeId = "com.amazonaws.lambdaweb#ThrottlingException";
28
86
  name = "ThrottlingException";
29
87
  $fault = "client";
30
88
  $retryable = {
@@ -45,3 +103,16 @@ export class ThrottlingException extends __BaseException {
45
103
  this.quotaCode = opts.quotaCode;
46
104
  }
47
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");
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListWebFunctionEndpointsPaginator";
3
+ export * from "./ListWebFunctionRevisionsPaginator";
4
+ export * from "./ListWebFunctionsPaginator";