@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.
Files changed (122) hide show
  1. package/README.md +8 -141
  2. package/dist-cjs/index.js +4 -1117
  3. package/dist-es/LambdaWeb.js +1 -61
  4. package/dist-es/commands/index.js +0 -19
  5. package/dist-es/index.js +0 -3
  6. package/dist-es/models/errors.js +0 -64
  7. package/dist-es/schemas/schemas_0.js +1 -514
  8. package/dist-types/LambdaWeb.d.ts +2 -195
  9. package/dist-types/LambdaWebClient.d.ts +3 -22
  10. package/dist-types/commandBuilder.d.ts +4 -4
  11. package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +2 -2
  12. package/dist-types/commands/index.d.ts +0 -19
  13. package/dist-types/index.d.ts +1 -4
  14. package/dist-types/models/errors.d.ts +0 -88
  15. package/dist-types/models/models_0.d.ts +7 -1503
  16. package/dist-types/schemas/schemas_0.d.ts +0 -73
  17. package/dist-types/ts3.4/LambdaWeb.d.ts +0 -395
  18. package/dist-types/ts3.4/LambdaWebClient.d.ts +2 -112
  19. package/dist-types/ts3.4/commandBuilder.d.ts +9 -10
  20. package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
  21. package/dist-types/ts3.4/commands/index.d.ts +0 -19
  22. package/dist-types/ts3.4/index.d.ts +0 -3
  23. package/dist-types/ts3.4/models/errors.d.ts +0 -28
  24. package/dist-types/ts3.4/models/models_0.d.ts +0 -350
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -73
  26. package/package.json +1 -1
  27. package/dist-es/commands/CreateWebFunctionCommand.js +0 -4
  28. package/dist-es/commands/CreateWebFunctionEndpointCommand.js +0 -4
  29. package/dist-es/commands/CreateWebFunctionRevisionCommand.js +0 -4
  30. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -4
  31. package/dist-es/commands/DeleteWebFunctionCommand.js +0 -4
  32. package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +0 -4
  33. package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +0 -4
  34. package/dist-es/commands/GetResourcePolicyCommand.js +0 -4
  35. package/dist-es/commands/GetWebFunctionCommand.js +0 -4
  36. package/dist-es/commands/GetWebFunctionEndpointCommand.js +0 -4
  37. package/dist-es/commands/GetWebFunctionRevisionCommand.js +0 -4
  38. package/dist-es/commands/ListTagsCommand.js +0 -4
  39. package/dist-es/commands/ListWebFunctionEndpointsCommand.js +0 -4
  40. package/dist-es/commands/ListWebFunctionRevisionsCommand.js +0 -4
  41. package/dist-es/commands/ListWebFunctionsCommand.js +0 -4
  42. package/dist-es/commands/PutResourcePolicyCommand.js +0 -4
  43. package/dist-es/commands/TagResourceCommand.js +0 -4
  44. package/dist-es/commands/UntagResourceCommand.js +0 -4
  45. package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +0 -4
  46. package/dist-es/models/enums.js +0 -48
  47. package/dist-es/pagination/Interfaces.js +0 -1
  48. package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +0 -4
  49. package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +0 -4
  50. package/dist-es/pagination/ListWebFunctionsPaginator.js +0 -4
  51. package/dist-es/pagination/index.js +0 -4
  52. package/dist-es/waiters/index.js +0 -6
  53. package/dist-es/waiters/waitForWebFunctionActive.js +0 -58
  54. package/dist-es/waiters/waitForWebFunctionDeleted.js +0 -34
  55. package/dist-es/waiters/waitForWebFunctionEndpointActive.js +0 -58
  56. package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +0 -34
  57. package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +0 -49
  58. package/dist-es/waiters/waitForWebFunctionRevisionActive.js +0 -49
  59. package/dist-types/commands/CreateWebFunctionCommand.d.ts +0 -188
  60. package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +0 -162
  61. package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +0 -162
  62. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -88
  63. package/dist-types/commands/DeleteWebFunctionCommand.d.ts +0 -87
  64. package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -88
  65. package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -88
  66. package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -87
  67. package/dist-types/commands/GetWebFunctionCommand.d.ts +0 -91
  68. package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +0 -137
  69. package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +0 -128
  70. package/dist-types/commands/ListTagsCommand.d.ts +0 -88
  71. package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +0 -128
  72. package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +0 -106
  73. package/dist-types/commands/ListWebFunctionsCommand.d.ts +0 -102
  74. package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -95
  75. package/dist-types/commands/TagResourceCommand.d.ts +0 -93
  76. package/dist-types/commands/UntagResourceCommand.d.ts +0 -90
  77. package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -158
  78. package/dist-types/models/enums.d.ts +0 -120
  79. package/dist-types/pagination/Interfaces.d.ts +0 -8
  80. package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -7
  81. package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -7
  82. package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +0 -7
  83. package/dist-types/pagination/index.d.ts +0 -4
  84. package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +0 -39
  85. package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +0 -42
  86. package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +0 -42
  87. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -38
  88. package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +0 -38
  89. package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -38
  90. package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -38
  91. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -39
  92. package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +0 -38
  93. package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +0 -39
  94. package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +0 -39
  95. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +0 -38
  96. package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +0 -42
  97. package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +0 -42
  98. package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +0 -38
  99. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -39
  100. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
  101. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
  102. package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -42
  103. package/dist-types/ts3.4/models/enums.d.ts +0 -57
  104. package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  105. package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -11
  106. package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -11
  107. package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +0 -11
  108. package/dist-types/ts3.4/pagination/index.d.ts +0 -4
  109. package/dist-types/ts3.4/waiters/index.d.ts +0 -6
  110. package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +0 -15
  111. package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +0 -16
  112. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
  113. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
  114. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
  115. package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
  116. package/dist-types/waiters/index.d.ts +0 -6
  117. package/dist-types/waiters/waitForWebFunctionActive.d.ts +0 -15
  118. package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +0 -16
  119. package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
  120. package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
  121. package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
  122. package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
@@ -1,88 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteWebFunctionRevisionRequest } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link DeleteWebFunctionRevisionCommand}.
11
- */
12
- export interface DeleteWebFunctionRevisionCommandInput extends DeleteWebFunctionRevisionRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link DeleteWebFunctionRevisionCommand}.
18
- */
19
- export interface DeleteWebFunctionRevisionCommandOutput extends __MetadataBearer {
20
- }
21
- declare const DeleteWebFunctionRevisionCommand_base: {
22
- new (input: DeleteWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionRevisionCommandInput, DeleteWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: DeleteWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<DeleteWebFunctionRevisionCommandInput, DeleteWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, DeleteWebFunctionRevisionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, DeleteWebFunctionRevisionCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
33
- * // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
34
- * const config = {}; // type is LambdaWebClientConfig
35
- * const client = new LambdaWebClient(config);
36
- * const input = { // DeleteWebFunctionRevisionRequest
37
- * functionName: "STRING_VALUE", // required
38
- * revisionId: "STRING_VALUE", // required
39
- * };
40
- * const command = new DeleteWebFunctionRevisionCommand(input);
41
- * const response = await client.send(command);
42
- * // {};
43
- *
44
- * ```
45
- *
46
- * @param DeleteWebFunctionRevisionCommandInput - {@link DeleteWebFunctionRevisionCommandInput}
47
- * @returns {@link DeleteWebFunctionRevisionCommandOutput}
48
- * @see {@link DeleteWebFunctionRevisionCommandInput} for command's `input` shape.
49
- * @see {@link DeleteWebFunctionRevisionCommandOutput} for command's `response` shape.
50
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
51
- *
52
- * @throws {@link AccessDeniedException} (client fault)
53
- * <p>You do not have sufficient permissions to perform this operation.</p>
54
- *
55
- * @throws {@link ConflictException} (client fault)
56
- * <p>The request conflicts with the current state of the resource. Resolve the conflict and try again.</p>
57
- *
58
- * @throws {@link InternalServerException} (server fault)
59
- * <p>An internal server error occurred. Try again later.</p>
60
- *
61
- * @throws {@link ResourceNotFoundException} (client fault)
62
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
63
- *
64
- * @throws {@link ThrottlingException} (client fault)
65
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
66
- *
67
- * @throws {@link ValidationException} (client fault)
68
- * <p>The request failed validation. Check the request parameters and try again.</p>
69
- *
70
- * @throws {@link LambdaWebServiceException}
71
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
72
- *
73
- *
74
- * @public
75
- */
76
- export declare class DeleteWebFunctionRevisionCommand extends DeleteWebFunctionRevisionCommand_base {
77
- /** @internal type navigation helper, not in runtime. */
78
- protected static __types: {
79
- api: {
80
- input: DeleteWebFunctionRevisionRequest;
81
- output: {};
82
- };
83
- sdk: {
84
- input: DeleteWebFunctionRevisionCommandInput;
85
- output: DeleteWebFunctionRevisionCommandOutput;
86
- };
87
- };
88
- }
@@ -1,87 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link GetResourcePolicyCommand}.
11
- */
12
- export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link GetResourcePolicyCommand}.
18
- */
19
- export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
20
- }
21
- declare const GetResourcePolicyCommand_base: {
22
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Retrieves the resource-based policy attached to a web function.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, GetResourcePolicyCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, GetResourcePolicyCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
33
- * // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
34
- * const config = {}; // type is LambdaWebClientConfig
35
- * const client = new LambdaWebClient(config);
36
- * const input = { // GetResourcePolicyRequest
37
- * resourceArn: "STRING_VALUE", // required
38
- * };
39
- * const command = new GetResourcePolicyCommand(input);
40
- * const response = await client.send(command);
41
- * // { // GetResourcePolicyResponse
42
- * // policy: "STRING_VALUE", // required
43
- * // revisionId: "STRING_VALUE", // required
44
- * // };
45
- *
46
- * ```
47
- *
48
- * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
49
- * @returns {@link GetResourcePolicyCommandOutput}
50
- * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
51
- * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
52
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
53
- *
54
- * @throws {@link AccessDeniedException} (client fault)
55
- * <p>You do not have sufficient permissions to perform this operation.</p>
56
- *
57
- * @throws {@link InternalServerException} (server fault)
58
- * <p>An internal server error occurred. Try again later.</p>
59
- *
60
- * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
62
- *
63
- * @throws {@link ThrottlingException} (client fault)
64
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
65
- *
66
- * @throws {@link ValidationException} (client fault)
67
- * <p>The request failed validation. Check the request parameters and try again.</p>
68
- *
69
- * @throws {@link LambdaWebServiceException}
70
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
71
- *
72
- *
73
- * @public
74
- */
75
- export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
76
- /** @internal type navigation helper, not in runtime. */
77
- protected static __types: {
78
- api: {
79
- input: GetResourcePolicyRequest;
80
- output: GetResourcePolicyResponse;
81
- };
82
- sdk: {
83
- input: GetResourcePolicyCommandInput;
84
- output: GetResourcePolicyCommandOutput;
85
- };
86
- };
87
- }
@@ -1,91 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetWebFunctionRequest, GetWebFunctionResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link GetWebFunctionCommand}.
11
- */
12
- export interface GetWebFunctionCommandInput extends GetWebFunctionRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link GetWebFunctionCommand}.
18
- */
19
- export interface GetWebFunctionCommandOutput extends GetWebFunctionResponse, __MetadataBearer {
20
- }
21
- declare const GetWebFunctionCommand_base: {
22
- new (input: GetWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionCommandInput, GetWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: GetWebFunctionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionCommandInput, GetWebFunctionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Retrieves details about a web function, including its current state and configuration.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, GetWebFunctionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, GetWebFunctionCommand } = require("@aws-sdk/client-lambda-web"); // CommonJS import
33
- * // import type { LambdaWebClientConfig } from "@aws-sdk/client-lambda-web";
34
- * const config = {}; // type is LambdaWebClientConfig
35
- * const client = new LambdaWebClient(config);
36
- * const input = { // GetWebFunctionRequest
37
- * functionName: "STRING_VALUE", // required
38
- * };
39
- * const command = new GetWebFunctionCommand(input);
40
- * const response = await client.send(command);
41
- * // { // GetWebFunctionResponse
42
- * // functionName: "STRING_VALUE", // required
43
- * // functionArn: "STRING_VALUE", // required
44
- * // state: "Pending" || "Active" || "Failed" || "Deleting", // required
45
- * // stateReason: "STRING_VALUE", // required
46
- * // createdAt: new Date("TIMESTAMP"), // required
47
- * // updatedAt: new Date("TIMESTAMP"), // required
48
- * // };
49
- *
50
- * ```
51
- *
52
- * @param GetWebFunctionCommandInput - {@link GetWebFunctionCommandInput}
53
- * @returns {@link GetWebFunctionCommandOutput}
54
- * @see {@link GetWebFunctionCommandInput} for command's `input` shape.
55
- * @see {@link GetWebFunctionCommandOutput} for command's `response` shape.
56
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
57
- *
58
- * @throws {@link AccessDeniedException} (client fault)
59
- * <p>You do not have sufficient permissions to perform this operation.</p>
60
- *
61
- * @throws {@link InternalServerException} (server fault)
62
- * <p>An internal server error occurred. Try again later.</p>
63
- *
64
- * @throws {@link ResourceNotFoundException} (client fault)
65
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
66
- *
67
- * @throws {@link ThrottlingException} (client fault)
68
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
69
- *
70
- * @throws {@link ValidationException} (client fault)
71
- * <p>The request failed validation. Check the request parameters and try again.</p>
72
- *
73
- * @throws {@link LambdaWebServiceException}
74
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
75
- *
76
- *
77
- * @public
78
- */
79
- export declare class GetWebFunctionCommand extends GetWebFunctionCommand_base {
80
- /** @internal type navigation helper, not in runtime. */
81
- protected static __types: {
82
- api: {
83
- input: GetWebFunctionRequest;
84
- output: GetWebFunctionResponse;
85
- };
86
- sdk: {
87
- input: GetWebFunctionCommandInput;
88
- output: GetWebFunctionCommandOutput;
89
- };
90
- };
91
- }
@@ -1,137 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetWebFunctionEndpointRequest, GetWebFunctionEndpointResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link GetWebFunctionEndpointCommand}.
11
- */
12
- export interface GetWebFunctionEndpointCommandInput extends GetWebFunctionEndpointRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link GetWebFunctionEndpointCommand}.
18
- */
19
- export interface GetWebFunctionEndpointCommandOutput extends GetWebFunctionEndpointResponse, __MetadataBearer {
20
- }
21
- declare const GetWebFunctionEndpointCommand_base: {
22
- new (input: GetWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionEndpointCommandInput, GetWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: GetWebFunctionEndpointCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionEndpointCommandInput, GetWebFunctionEndpointCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Retrieves details about a web function endpoint, including its current state, configuration, and domain name.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, GetWebFunctionEndpointCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, GetWebFunctionEndpointCommand } = 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 = { // GetWebFunctionEndpointRequest
37
- * functionName: "STRING_VALUE", // required
38
- * endpointName: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetWebFunctionEndpointCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetWebFunctionEndpointResponse
43
- * // functionArn: "STRING_VALUE", // required
44
- * // endpointArn: "STRING_VALUE", // required
45
- * // endpointName: "STRING_VALUE", // required
46
- * // description: "STRING_VALUE",
47
- * // endpointType: "HomeRegion" || "MultiRegion" || "PerRegion", // required
48
- * // domainName: "STRING_VALUE", // required
49
- * // authType: "ApplicationManaged" || "IamAuth", // required
50
- * // autoDeploymentMode: "LatestRevision" || "Disabled", // required
51
- * // revisionWeights: [ // RevisionWeightList // required
52
- * // { // RevisionWeight
53
- * // revisionId: "STRING_VALUE", // required
54
- * // weight: Number("int"), // required
55
- * // },
56
- * // ],
57
- * // regions: [ // RegionList // required
58
- * // "STRING_VALUE",
59
- * // ],
60
- * // scalingConfig: { // ScalingConfig
61
- * // maxEnvironments: Number("int"),
62
- * // },
63
- * // throttleConfig: { // ThrottleConfig
64
- * // rateLimit: Number("int"),
65
- * // },
66
- * // state: "Pending" || "Active" || "Failed" || "Deleting", // required
67
- * // stateReason: "STRING_VALUE", // required
68
- * // updateStatus: "InProgress" || "Successful" || "Failed",
69
- * // updateStatusReason: "STRING_VALUE",
70
- * // regionalEndpoints: { // RegionalEndpoints // required
71
- * // "<keys>": { // RegionalEndpoint
72
- * // domainName: "STRING_VALUE",
73
- * // authType: "ApplicationManaged" || "IamAuth", // required
74
- * // revisionWeights: [ // required
75
- * // {
76
- * // revisionId: "STRING_VALUE", // required
77
- * // weight: Number("int"), // required
78
- * // },
79
- * // ],
80
- * // scalingConfig: {
81
- * // maxEnvironments: Number("int"),
82
- * // },
83
- * // throttleConfig: {
84
- * // rateLimit: Number("int"),
85
- * // },
86
- * // state: "Pending" || "Active" || "Failed" || "Deleting", // required
87
- * // stateReason: "STRING_VALUE", // required
88
- * // updateStatus: "InProgress" || "Successful" || "Failed",
89
- * // updateStatusReason: "STRING_VALUE",
90
- * // },
91
- * // },
92
- * // createdAt: new Date("TIMESTAMP"), // required
93
- * // updatedAt: new Date("TIMESTAMP"), // required
94
- * // };
95
- *
96
- * ```
97
- *
98
- * @param GetWebFunctionEndpointCommandInput - {@link GetWebFunctionEndpointCommandInput}
99
- * @returns {@link GetWebFunctionEndpointCommandOutput}
100
- * @see {@link GetWebFunctionEndpointCommandInput} for command's `input` shape.
101
- * @see {@link GetWebFunctionEndpointCommandOutput} for command's `response` shape.
102
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
103
- *
104
- * @throws {@link AccessDeniedException} (client fault)
105
- * <p>You do not have sufficient permissions to perform this operation.</p>
106
- *
107
- * @throws {@link InternalServerException} (server fault)
108
- * <p>An internal server error occurred. Try again later.</p>
109
- *
110
- * @throws {@link ResourceNotFoundException} (client fault)
111
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
112
- *
113
- * @throws {@link ThrottlingException} (client fault)
114
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
115
- *
116
- * @throws {@link ValidationException} (client fault)
117
- * <p>The request failed validation. Check the request parameters and try again.</p>
118
- *
119
- * @throws {@link LambdaWebServiceException}
120
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
121
- *
122
- *
123
- * @public
124
- */
125
- export declare class GetWebFunctionEndpointCommand extends GetWebFunctionEndpointCommand_base {
126
- /** @internal type navigation helper, not in runtime. */
127
- protected static __types: {
128
- api: {
129
- input: GetWebFunctionEndpointRequest;
130
- output: GetWebFunctionEndpointResponse;
131
- };
132
- sdk: {
133
- input: GetWebFunctionEndpointCommandInput;
134
- output: GetWebFunctionEndpointCommandOutput;
135
- };
136
- };
137
- }
@@ -1,128 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetWebFunctionRevisionRequest, GetWebFunctionRevisionResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link GetWebFunctionRevisionCommand}.
11
- */
12
- export interface GetWebFunctionRevisionCommandInput extends GetWebFunctionRevisionRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link GetWebFunctionRevisionCommand}.
18
- */
19
- export interface GetWebFunctionRevisionCommandOutput extends GetWebFunctionRevisionResponse, __MetadataBearer {
20
- }
21
- declare const GetWebFunctionRevisionCommand_base: {
22
- new (input: GetWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionRevisionCommandInput, GetWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: GetWebFunctionRevisionCommandInput): import("@smithy/core/client").CommandImpl<GetWebFunctionRevisionCommandInput, GetWebFunctionRevisionCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Retrieves details about a web function revision, including its state and configuration.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, GetWebFunctionRevisionCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, GetWebFunctionRevisionCommand } = 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 = { // GetWebFunctionRevisionRequest
37
- * functionName: "STRING_VALUE", // required
38
- * revisionId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetWebFunctionRevisionCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetWebFunctionRevisionResponse
43
- * // functionArn: "STRING_VALUE", // required
44
- * // revisionArn: "STRING_VALUE", // required
45
- * // revisionId: "STRING_VALUE", // required
46
- * // description: "STRING_VALUE",
47
- * // kmsKeyArn: "STRING_VALUE",
48
- * // buildConfig: { // BuildConfig
49
- * // codeConfig: { // CodeConfig
50
- * // s3Object: { // S3Object
51
- * // bucket: "STRING_VALUE", // required
52
- * // key: "STRING_VALUE", // required
53
- * // versionId: "STRING_VALUE",
54
- * // },
55
- * // },
56
- * // runtimeConfig: { // RuntimeConfig
57
- * // runtime: "STRING_VALUE", // required
58
- * // },
59
- * // },
60
- * // serviceConfig: { // ServiceConfig
61
- * // executionRoleArn: "STRING_VALUE", // required
62
- * // timeoutSeconds: Number("int"),
63
- * // maxConcurrencyPerEnvironment: Number("int"),
64
- * // environmentVariables: { // EnvironmentVariables
65
- * // "<keys>": "STRING_VALUE",
66
- * // },
67
- * // telemetryConfig: { // TelemetryConfig
68
- * // loggingConfig: { // LoggingConfig
69
- * // logGroup: "STRING_VALUE",
70
- * // applicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
71
- * // systemLogLevel: "DEBUG" || "INFO" || "WARN",
72
- * // },
73
- * // },
74
- * // },
75
- * // state: "Pending" || "Active" || "Failed", // required
76
- * // stateReason: "STRING_VALUE", // required
77
- * // errors: [ // RevisionErrors
78
- * // { // RevisionError
79
- * // attribute: "STRING_VALUE", // required
80
- * // errorCode: "STRING_VALUE", // required
81
- * // errorMessage: "STRING_VALUE", // required
82
- * // },
83
- * // ],
84
- * // createdAt: new Date("TIMESTAMP"), // required
85
- * // };
86
- *
87
- * ```
88
- *
89
- * @param GetWebFunctionRevisionCommandInput - {@link GetWebFunctionRevisionCommandInput}
90
- * @returns {@link GetWebFunctionRevisionCommandOutput}
91
- * @see {@link GetWebFunctionRevisionCommandInput} for command's `input` shape.
92
- * @see {@link GetWebFunctionRevisionCommandOutput} for command's `response` shape.
93
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
94
- *
95
- * @throws {@link AccessDeniedException} (client fault)
96
- * <p>You do not have sufficient permissions to perform this operation.</p>
97
- *
98
- * @throws {@link InternalServerException} (server fault)
99
- * <p>An internal server error occurred. Try again later.</p>
100
- *
101
- * @throws {@link ResourceNotFoundException} (client fault)
102
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
103
- *
104
- * @throws {@link ThrottlingException} (client fault)
105
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
106
- *
107
- * @throws {@link ValidationException} (client fault)
108
- * <p>The request failed validation. Check the request parameters and try again.</p>
109
- *
110
- * @throws {@link LambdaWebServiceException}
111
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
112
- *
113
- *
114
- * @public
115
- */
116
- export declare class GetWebFunctionRevisionCommand extends GetWebFunctionRevisionCommand_base {
117
- /** @internal type navigation helper, not in runtime. */
118
- protected static __types: {
119
- api: {
120
- input: GetWebFunctionRevisionRequest;
121
- output: GetWebFunctionRevisionResponse;
122
- };
123
- sdk: {
124
- input: GetWebFunctionRevisionCommandInput;
125
- output: GetWebFunctionRevisionCommandOutput;
126
- };
127
- };
128
- }
@@ -1,88 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListTagsRequest, ListTagsResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link ListTagsCommand}.
11
- */
12
- export interface ListTagsCommandInput extends ListTagsRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link ListTagsCommand}.
18
- */
19
- export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {
20
- }
21
- declare const ListTagsCommand_base: {
22
- new (input: ListTagsCommandInput): import("@smithy/core/client").CommandImpl<ListTagsCommandInput, ListTagsCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: ListTagsCommandInput): import("@smithy/core/client").CommandImpl<ListTagsCommandInput, ListTagsCommandOutput, import("..").LambdaWebClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Returns a list of tags applied to a web function.</p> <note> <p>This API is experimental and for internal AWS use only. It is not yet available to external customers.</p> </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaWebClient, ListTagsCommand } from "@aws-sdk/client-lambda-web"; // ES Modules import
32
- * // const { LambdaWebClient, ListTagsCommand } = 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 = { // ListTagsRequest
37
- * resource: "STRING_VALUE", // required
38
- * };
39
- * const command = new ListTagsCommand(input);
40
- * const response = await client.send(command);
41
- * // { // ListTagsResponse
42
- * // tags: { // Tags
43
- * // "<keys>": "STRING_VALUE",
44
- * // },
45
- * // };
46
- *
47
- * ```
48
- *
49
- * @param ListTagsCommandInput - {@link ListTagsCommandInput}
50
- * @returns {@link ListTagsCommandOutput}
51
- * @see {@link ListTagsCommandInput} for command's `input` shape.
52
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
53
- * @see {@link LambdaWebClientResolvedConfig | config} for LambdaWebClient's `config` shape.
54
- *
55
- * @throws {@link AccessDeniedException} (client fault)
56
- * <p>You do not have sufficient permissions to perform this operation.</p>
57
- *
58
- * @throws {@link InternalServerException} (server fault)
59
- * <p>An internal server error occurred. Try again later.</p>
60
- *
61
- * @throws {@link ResourceNotFoundException} (client fault)
62
- * <p>The specified resource was not found. Verify the resource identifier and try again.</p>
63
- *
64
- * @throws {@link ThrottlingException} (client fault)
65
- * <p>The request was throttled. Reduce the frequency of requests and try again.</p>
66
- *
67
- * @throws {@link ValidationException} (client fault)
68
- * <p>The request failed validation. Check the request parameters and try again.</p>
69
- *
70
- * @throws {@link LambdaWebServiceException}
71
- * <p>Base exception class for all service exceptions from LambdaWeb service.</p>
72
- *
73
- *
74
- * @public
75
- */
76
- export declare class ListTagsCommand extends ListTagsCommand_base {
77
- /** @internal type navigation helper, not in runtime. */
78
- protected static __types: {
79
- api: {
80
- input: ListTagsRequest;
81
- output: ListTagsResponse;
82
- };
83
- sdk: {
84
- input: ListTagsCommandInput;
85
- output: ListTagsCommandOutput;
86
- };
87
- };
88
- }