@aws-sdk/client-lambda-web 3.1145.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +321 -0
  3. package/dist-cjs/index.js +1555 -0
  4. package/dist-es/LambdaWeb.js +69 -0
  5. package/dist-es/LambdaWebClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
  10. package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
  11. package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
  12. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  13. package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
  14. package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
  15. package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
  16. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  17. package/dist-es/commands/GetWebAccountSettingsCommand.js +4 -0
  18. package/dist-es/commands/GetWebFunctionCommand.js +4 -0
  19. package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
  20. package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
  21. package/dist-es/commands/ListTagsCommand.js +4 -0
  22. package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
  23. package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
  24. package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
  25. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  26. package/dist-es/commands/TagResourceCommand.js +4 -0
  27. package/dist-es/commands/UntagResourceCommand.js +4 -0
  28. package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
  29. package/dist-es/commands/index.js +20 -0
  30. package/dist-es/endpoint/EndpointParameters.js +13 -0
  31. package/dist-es/endpoint/bdd.js +46 -0
  32. package/dist-es/endpoint/endpointResolver.js +14 -0
  33. package/dist-es/extensionConfiguration.js +1 -0
  34. package/dist-es/index.js +11 -0
  35. package/dist-es/models/LambdaWebServiceException.js +8 -0
  36. package/dist-es/models/enums.js +48 -0
  37. package/dist-es/models/errors.js +111 -0
  38. package/dist-es/models/models_0.js +1 -0
  39. package/dist-es/pagination/Interfaces.js +1 -0
  40. package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
  41. package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
  42. package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
  43. package/dist-es/pagination/index.js +4 -0
  44. package/dist-es/runtimeConfig.browser.js +29 -0
  45. package/dist-es/runtimeConfig.js +43 -0
  46. package/dist-es/runtimeConfig.native.js +9 -0
  47. package/dist-es/runtimeConfig.shared.js +40 -0
  48. package/dist-es/runtimeExtensions.js +9 -0
  49. package/dist-es/schemas/schemas_0.js +593 -0
  50. package/dist-es/waiters/index.js +6 -0
  51. package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
  52. package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
  53. package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
  54. package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
  55. package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
  56. package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
  57. package/dist-types/LambdaWeb.d.ts +217 -0
  58. package/dist-types/LambdaWebClient.d.ts +206 -0
  59. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  60. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  61. package/dist-types/commandBuilder.d.ts +18 -0
  62. package/dist-types/commands/CreateWebFunctionCommand.d.ts +188 -0
  63. package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
  64. package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +162 -0
  65. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  66. package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
  67. package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
  68. package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
  69. package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
  70. package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +86 -0
  71. package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
  72. package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
  73. package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +128 -0
  74. package/dist-types/commands/ListTagsCommand.d.ts +88 -0
  75. package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
  76. package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
  77. package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
  78. package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  81. package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
  82. package/dist-types/commands/index.d.ts +20 -0
  83. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  84. package/dist-types/endpoint/bdd.d.ts +2 -0
  85. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  86. package/dist-types/extensionConfiguration.d.ts +9 -0
  87. package/dist-types/index.d.ts +19 -0
  88. package/dist-types/models/LambdaWebServiceException.d.ts +14 -0
  89. package/dist-types/models/enums.d.ts +120 -0
  90. package/dist-types/models/errors.d.ts +145 -0
  91. package/dist-types/models/models_0.d.ts +1554 -0
  92. package/dist-types/pagination/Interfaces.d.ts +8 -0
  93. package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
  94. package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
  96. package/dist-types/pagination/index.d.ts +4 -0
  97. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  98. package/dist-types/runtimeConfig.d.ts +57 -0
  99. package/dist-types/runtimeConfig.native.d.ts +56 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  101. package/dist-types/runtimeExtensions.d.ts +17 -0
  102. package/dist-types/schemas/schemas_0.d.ts +90 -0
  103. package/dist-types/ts3.4/LambdaWeb.d.ts +424 -0
  104. package/dist-types/ts3.4/LambdaWebClient.d.ts +215 -0
  105. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  106. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  107. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  108. package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
  109. package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
  113. package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
  115. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +39 -0
  117. package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  125. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
  128. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  129. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  130. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  133. package/dist-types/ts3.4/index.d.ts +14 -0
  134. package/dist-types/ts3.4/models/LambdaWebServiceException.d.ts +9 -0
  135. package/dist-types/ts3.4/models/enums.d.ts +57 -0
  136. package/dist-types/ts3.4/models/errors.d.ts +52 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +364 -0
  138. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  139. package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
  140. package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  143. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  144. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  145. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  146. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  147. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  148. package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
  149. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  150. package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
  151. package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  152. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  153. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  154. package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  155. package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  156. package/dist-types/waiters/index.d.ts +6 -0
  157. package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
  158. package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
  159. package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
  160. package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
  161. package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
  162. package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
  163. package/package.json +69 -0
@@ -0,0 +1,364 @@
1
+ import {
2
+ ApplicationLogLevel,
3
+ AuthType,
4
+ AutoDeploymentMode,
5
+ EndpointState,
6
+ EndpointType,
7
+ EndpointUpdateStatus,
8
+ FunctionState,
9
+ RevisionState,
10
+ SystemLogLevel,
11
+ } from "./enums";
12
+ export interface AccountQuotas {
13
+ maxTotalArmVCpus: number | undefined;
14
+ maxTotalRateLimit: number | undefined;
15
+ maxRevisionsPerFunction: number | undefined;
16
+ maxEndpointsPerFunction: number | undefined;
17
+ }
18
+ export interface AccountUsage {
19
+ functionCount: number | undefined;
20
+ }
21
+ export interface S3Object {
22
+ bucket: string | undefined;
23
+ key: string | undefined;
24
+ versionId?: string | undefined;
25
+ }
26
+ export interface CodeConfig {
27
+ s3Object: S3Object | undefined;
28
+ }
29
+ export interface RuntimeConfig {
30
+ runtime: string | undefined;
31
+ }
32
+ export interface BuildConfig {
33
+ codeConfig: CodeConfig | undefined;
34
+ runtimeConfig: RuntimeConfig | undefined;
35
+ }
36
+ export interface ScalingConfig {
37
+ maxEnvironments?: number | undefined;
38
+ }
39
+ export interface ThrottleConfig {
40
+ rateLimit?: number | undefined;
41
+ }
42
+ export interface EndpointConfig {
43
+ endpointName: string | undefined;
44
+ description?: string | undefined;
45
+ endpointType: EndpointType | undefined;
46
+ authType: AuthType | undefined;
47
+ autoDeploymentMode?: AutoDeploymentMode | undefined;
48
+ regions?: string[] | undefined;
49
+ scalingConfig?: ScalingConfig | undefined;
50
+ throttleConfig?: ThrottleConfig | undefined;
51
+ }
52
+ export interface LoggingConfig {
53
+ logGroup?: string | undefined;
54
+ applicationLogLevel?: ApplicationLogLevel | undefined;
55
+ systemLogLevel?: SystemLogLevel | undefined;
56
+ }
57
+ export interface TelemetryConfig {
58
+ loggingConfig?: LoggingConfig | undefined;
59
+ }
60
+ export interface ServiceConfig {
61
+ executionRoleArn: string | undefined;
62
+ timeoutSeconds?: number | undefined;
63
+ maxConcurrencyPerEnvironment?: number | undefined;
64
+ environmentVariables?: Record<string, string> | undefined;
65
+ telemetryConfig?: TelemetryConfig | undefined;
66
+ }
67
+ export interface RevisionConfig {
68
+ description?: string | undefined;
69
+ kmsKeyArn?: string | undefined;
70
+ buildConfig: BuildConfig | undefined;
71
+ serviceConfig: ServiceConfig | undefined;
72
+ }
73
+ export interface CreateWebFunctionRequest {
74
+ functionName: string | undefined;
75
+ revisionConfig?: RevisionConfig | undefined;
76
+ endpointConfig?: EndpointConfig | undefined;
77
+ tags?: Record<string, string> | undefined;
78
+ }
79
+ export interface RevisionWeight {
80
+ revisionId: string | undefined;
81
+ weight: number | undefined;
82
+ }
83
+ export interface FunctionEndpointSummary {
84
+ endpointArn: string | undefined;
85
+ endpointName: string | undefined;
86
+ description?: string | undefined;
87
+ endpointType: EndpointType | undefined;
88
+ domainName: string | undefined;
89
+ authType: AuthType | undefined;
90
+ autoDeploymentMode: AutoDeploymentMode | undefined;
91
+ revisionWeights: RevisionWeight[] | undefined;
92
+ regions: string[] | undefined;
93
+ scalingConfig?: ScalingConfig | undefined;
94
+ throttleConfig?: ThrottleConfig | undefined;
95
+ state: EndpointState | undefined;
96
+ stateReason: string | undefined;
97
+ updateStatus?: EndpointUpdateStatus | undefined;
98
+ updateStatusReason?: string | undefined;
99
+ createdAt: Date | undefined;
100
+ updatedAt: Date | undefined;
101
+ }
102
+ export interface FunctionRevisionSummary {
103
+ revisionArn: string | undefined;
104
+ revisionId: string | undefined;
105
+ description?: string | undefined;
106
+ state: RevisionState | undefined;
107
+ stateReason: string | undefined;
108
+ createdAt: Date | undefined;
109
+ }
110
+ export interface CreateWebFunctionResponse {
111
+ functionName: string | undefined;
112
+ functionArn: string | undefined;
113
+ state: FunctionState | undefined;
114
+ stateReason: string | undefined;
115
+ createdAt: Date | undefined;
116
+ updatedAt: Date | undefined;
117
+ revision?: FunctionRevisionSummary | undefined;
118
+ endpoint?: FunctionEndpointSummary | undefined;
119
+ tags?: Record<string, string> | undefined;
120
+ }
121
+ export interface CreateWebFunctionEndpointRequest {
122
+ functionName: string | undefined;
123
+ endpointName: string | undefined;
124
+ description?: string | undefined;
125
+ endpointType: EndpointType | undefined;
126
+ authType: AuthType | undefined;
127
+ autoDeploymentMode?: AutoDeploymentMode | undefined;
128
+ revisionWeights?: RevisionWeight[] | undefined;
129
+ regions?: string[] | undefined;
130
+ scalingConfig?: ScalingConfig | undefined;
131
+ throttleConfig?: ThrottleConfig | undefined;
132
+ }
133
+ export interface RegionalEndpoint {
134
+ domainName?: string | undefined;
135
+ authType: AuthType | undefined;
136
+ revisionWeights: RevisionWeight[] | undefined;
137
+ scalingConfig?: ScalingConfig | undefined;
138
+ throttleConfig?: ThrottleConfig | undefined;
139
+ state: EndpointState | undefined;
140
+ stateReason: string | undefined;
141
+ updateStatus?: EndpointUpdateStatus | undefined;
142
+ updateStatusReason?: string | undefined;
143
+ }
144
+ export interface CreateWebFunctionEndpointResponse {
145
+ functionArn: string | undefined;
146
+ endpointArn: string | undefined;
147
+ endpointName: string | undefined;
148
+ description?: string | undefined;
149
+ endpointType: EndpointType | undefined;
150
+ domainName: string | undefined;
151
+ authType: AuthType | undefined;
152
+ autoDeploymentMode: AutoDeploymentMode | undefined;
153
+ revisionWeights: RevisionWeight[] | undefined;
154
+ regions: string[] | undefined;
155
+ scalingConfig?: ScalingConfig | undefined;
156
+ throttleConfig?: ThrottleConfig | undefined;
157
+ state: EndpointState | undefined;
158
+ stateReason: string | undefined;
159
+ updateStatus?: EndpointUpdateStatus | undefined;
160
+ updateStatusReason?: string | undefined;
161
+ regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
162
+ createdAt: Date | undefined;
163
+ updatedAt: Date | undefined;
164
+ }
165
+ export interface CreateWebFunctionRevisionRequest {
166
+ functionName: string | undefined;
167
+ description?: string | undefined;
168
+ kmsKeyArn?: string | undefined;
169
+ buildConfig: BuildConfig | undefined;
170
+ serviceConfig: ServiceConfig | undefined;
171
+ }
172
+ export interface RevisionError {
173
+ attribute: string | undefined;
174
+ errorCode: string | undefined;
175
+ errorMessage: string | undefined;
176
+ }
177
+ export interface CreateWebFunctionRevisionResponse {
178
+ functionArn: string | undefined;
179
+ revisionArn: string | undefined;
180
+ revisionId: string | undefined;
181
+ description?: string | undefined;
182
+ kmsKeyArn?: string | undefined;
183
+ buildConfig: BuildConfig | undefined;
184
+ serviceConfig: ServiceConfig | undefined;
185
+ state: RevisionState | undefined;
186
+ stateReason: string | undefined;
187
+ errors?: RevisionError[] | undefined;
188
+ createdAt: Date | undefined;
189
+ }
190
+ export interface DeleteResourcePolicyRequest {
191
+ resourceArn: string | undefined;
192
+ revisionId?: string | undefined;
193
+ }
194
+ export interface DeleteWebFunctionRequest {
195
+ functionName: string | undefined;
196
+ }
197
+ export interface DeleteWebFunctionEndpointRequest {
198
+ functionName: string | undefined;
199
+ endpointName: string | undefined;
200
+ }
201
+ export interface DeleteWebFunctionRevisionRequest {
202
+ functionName: string | undefined;
203
+ revisionId: string | undefined;
204
+ }
205
+ export interface Filter {
206
+ name: string | undefined;
207
+ values: string[] | undefined;
208
+ }
209
+ export interface FunctionSummary {
210
+ functionName: string | undefined;
211
+ functionArn: string | undefined;
212
+ state: FunctionState | undefined;
213
+ stateReason: string | undefined;
214
+ createdAt: Date | undefined;
215
+ updatedAt: Date | undefined;
216
+ }
217
+ export interface GetResourcePolicyRequest {
218
+ resourceArn: string | undefined;
219
+ }
220
+ export interface GetResourcePolicyResponse {
221
+ policy: string | undefined;
222
+ revisionId: string | undefined;
223
+ }
224
+ export interface GetWebAccountSettingsRequest {}
225
+ export interface GetWebAccountSettingsResponse {
226
+ accountQuotas: AccountQuotas | undefined;
227
+ accountUsage: AccountUsage | undefined;
228
+ }
229
+ export interface GetWebFunctionRequest {
230
+ functionName: string | undefined;
231
+ }
232
+ export interface GetWebFunctionResponse {
233
+ functionName: string | undefined;
234
+ functionArn: string | undefined;
235
+ state: FunctionState | undefined;
236
+ stateReason: string | undefined;
237
+ createdAt: Date | undefined;
238
+ updatedAt: Date | undefined;
239
+ }
240
+ export interface GetWebFunctionEndpointRequest {
241
+ functionName: string | undefined;
242
+ endpointName: string | undefined;
243
+ }
244
+ export interface GetWebFunctionEndpointResponse {
245
+ functionArn: string | undefined;
246
+ endpointArn: string | undefined;
247
+ endpointName: string | undefined;
248
+ description?: string | undefined;
249
+ endpointType: EndpointType | undefined;
250
+ domainName: string | undefined;
251
+ authType: AuthType | undefined;
252
+ autoDeploymentMode: AutoDeploymentMode | undefined;
253
+ revisionWeights: RevisionWeight[] | undefined;
254
+ regions: string[] | undefined;
255
+ scalingConfig?: ScalingConfig | undefined;
256
+ throttleConfig?: ThrottleConfig | undefined;
257
+ state: EndpointState | undefined;
258
+ stateReason: string | undefined;
259
+ updateStatus?: EndpointUpdateStatus | undefined;
260
+ updateStatusReason?: string | undefined;
261
+ regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
262
+ createdAt: Date | undefined;
263
+ updatedAt: Date | undefined;
264
+ }
265
+ export interface GetWebFunctionRevisionRequest {
266
+ functionName: string | undefined;
267
+ revisionId: string | undefined;
268
+ }
269
+ export interface GetWebFunctionRevisionResponse {
270
+ functionArn: string | undefined;
271
+ revisionArn: string | undefined;
272
+ revisionId: string | undefined;
273
+ description?: string | undefined;
274
+ kmsKeyArn?: string | undefined;
275
+ buildConfig: BuildConfig | undefined;
276
+ serviceConfig: ServiceConfig | undefined;
277
+ state: RevisionState | undefined;
278
+ stateReason: string | undefined;
279
+ errors?: RevisionError[] | undefined;
280
+ createdAt: Date | undefined;
281
+ }
282
+ export interface ListTagsRequest {
283
+ resource: string | undefined;
284
+ }
285
+ export interface ListTagsResponse {
286
+ tags?: Record<string, string> | undefined;
287
+ }
288
+ export interface PutResourcePolicyRequest {
289
+ resourceArn: string | undefined;
290
+ policy: string | undefined;
291
+ revisionId?: string | undefined;
292
+ }
293
+ export interface PutResourcePolicyResponse {
294
+ policy: string | undefined;
295
+ revisionId: string | undefined;
296
+ }
297
+ export interface TagResourceRequest {
298
+ resource: string | undefined;
299
+ tags: Record<string, string> | undefined;
300
+ }
301
+ export interface UntagResourceRequest {
302
+ resource: string | undefined;
303
+ tagKeys: string[] | undefined;
304
+ }
305
+ export interface ListWebFunctionsRequest {
306
+ filters?: Filter[] | undefined;
307
+ maxResults?: number | undefined;
308
+ nextToken?: string | undefined;
309
+ }
310
+ export interface ListWebFunctionsResponse {
311
+ functions: FunctionSummary[] | undefined;
312
+ nextToken?: string | undefined;
313
+ }
314
+ export interface ListWebFunctionEndpointsRequest {
315
+ functionName: string | undefined;
316
+ filters?: Filter[] | undefined;
317
+ maxResults?: number | undefined;
318
+ nextToken?: string | undefined;
319
+ }
320
+ export interface ListWebFunctionEndpointsResponse {
321
+ endpoints: FunctionEndpointSummary[] | undefined;
322
+ nextToken?: string | undefined;
323
+ }
324
+ export interface UpdateWebFunctionEndpointRequest {
325
+ functionName: string | undefined;
326
+ endpointName: string | undefined;
327
+ description?: string | undefined;
328
+ authType?: AuthType | undefined;
329
+ autoDeploymentMode?: AutoDeploymentMode | undefined;
330
+ revisionWeights?: RevisionWeight[] | undefined;
331
+ scalingConfig?: ScalingConfig | undefined;
332
+ throttleConfig?: ThrottleConfig | undefined;
333
+ }
334
+ export interface UpdateWebFunctionEndpointResponse {
335
+ functionArn: string | undefined;
336
+ endpointArn: string | undefined;
337
+ endpointName: string | undefined;
338
+ description?: string | undefined;
339
+ endpointType: EndpointType | undefined;
340
+ domainName: string | undefined;
341
+ authType: AuthType | undefined;
342
+ autoDeploymentMode: AutoDeploymentMode | undefined;
343
+ revisionWeights: RevisionWeight[] | undefined;
344
+ regions: string[] | undefined;
345
+ scalingConfig?: ScalingConfig | undefined;
346
+ throttleConfig?: ThrottleConfig | undefined;
347
+ state: EndpointState | undefined;
348
+ stateReason: string | undefined;
349
+ updateStatus?: EndpointUpdateStatus | undefined;
350
+ updateStatusReason?: string | undefined;
351
+ regionalEndpoints: Record<string, RegionalEndpoint> | undefined;
352
+ createdAt: Date | undefined;
353
+ updatedAt: Date | undefined;
354
+ }
355
+ export interface ListWebFunctionRevisionsRequest {
356
+ functionName: string | undefined;
357
+ filters?: Filter[] | undefined;
358
+ maxResults?: number | undefined;
359
+ nextToken?: string | undefined;
360
+ }
361
+ export interface ListWebFunctionRevisionsResponse {
362
+ revisions: FunctionRevisionSummary[] | undefined;
363
+ nextToken?: string | undefined;
364
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { LambdaWebClient } from "../LambdaWebClient";
3
+ export interface LambdaWebPaginationConfiguration extends PaginationConfiguration {
4
+ client: LambdaWebClient;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWebFunctionEndpointsCommandInput,
4
+ ListWebFunctionEndpointsCommandOutput,
5
+ } from "../commands/ListWebFunctionEndpointsCommand";
6
+ import { LambdaWebPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWebFunctionEndpoints: (
8
+ config: LambdaWebPaginationConfiguration,
9
+ input: ListWebFunctionEndpointsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWebFunctionEndpointsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWebFunctionRevisionsCommandInput,
4
+ ListWebFunctionRevisionsCommandOutput,
5
+ } from "../commands/ListWebFunctionRevisionsCommand";
6
+ import { LambdaWebPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWebFunctionRevisions: (
8
+ config: LambdaWebPaginationConfiguration,
9
+ input: ListWebFunctionRevisionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWebFunctionRevisionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWebFunctionsCommandInput,
4
+ ListWebFunctionsCommandOutput,
5
+ } from "../commands/ListWebFunctionsCommand";
6
+ import { LambdaWebPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWebFunctions: (
8
+ config: LambdaWebPaginationConfiguration,
9
+ input: ListWebFunctionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWebFunctionsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListWebFunctionEndpointsPaginator";
3
+ export * from "./ListWebFunctionRevisionsPaginator";
4
+ export * from "./ListWebFunctionsPaginator";
@@ -0,0 +1,93 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { LambdaWebClientConfig } from "./LambdaWebClient";
3
+ export declare const getRuntimeConfig: (config: LambdaWebClientConfig) => {
4
+ cacheMiddleware?: boolean;
5
+ endpoint?:
6
+ | ((
7
+ | string
8
+ | import("@smithy/types").Endpoint
9
+ | import("@smithy/types").EndpointV2
10
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
11
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
12
+ ) &
13
+ (
14
+ | string
15
+ | import("@smithy/types").Endpoint
16
+ | import("@smithy/types").EndpointV2
17
+ | import("@smithy/types").Provider<string>
18
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
19
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
20
+ ))
21
+ | undefined;
22
+ tls?: boolean;
23
+ ignoreConfiguredEndpointUrls?: boolean;
24
+ serviceConfiguredEndpoint?: never;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent;
26
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
28
+ credentials?:
29
+ | import("@smithy/types").AwsCredentialIdentity
30
+ | import("@smithy/types").AwsCredentialIdentityProvider;
31
+ signer?:
32
+ | import("@smithy/types").RequestSigner
33
+ | ((
34
+ authScheme?: import("@smithy/types").AuthScheme,
35
+ ) => Promise<import("@smithy/types").RequestSigner>);
36
+ signingEscapePath?: boolean;
37
+ systemClockOffset?: number;
38
+ signingRegion?: string;
39
+ signerConstructor?: new (
40
+ options: import("@smithy/signature-v4").SignatureV4Init &
41
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
42
+ ) => import("@smithy/types").RequestSigner;
43
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
44
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
+ apiVersion: string;
46
+ base64Decoder: import("@smithy/types").Decoder;
47
+ base64Encoder: (_input: Uint8Array | string) => string;
48
+ disableHostPrefix: boolean;
49
+ endpointProvider: (
50
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@smithy/types").Logger;
53
+ },
54
+ ) => import("@smithy/types").EndpointV2;
55
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
56
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaWebHttpAuthSchemeProvider;
57
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
58
+ logger: import("@smithy/types").Logger;
59
+ protocol:
60
+ | import("@smithy/types").$ClientProtocol<any, any>
61
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
62
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
63
+ protocolSettings: {
64
+ [setting: string]: unknown;
65
+ defaultNamespace?: string;
66
+ };
67
+ serviceId: string;
68
+ sha256: import("@smithy/types").HashConstructor;
69
+ urlParser: import("@smithy/types").UrlParser;
70
+ utf8Decoder: import("@smithy/types").Decoder;
71
+ utf8Encoder: (input: Uint8Array | string) => string;
72
+ profile?: string;
73
+ runtime: string;
74
+ defaultsMode: import("@smithy/types").Provider<
75
+ import("@smithy/core/client").ResolvedDefaultsMode
76
+ >;
77
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
78
+ credentialDefaultProvider:
79
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
80
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ maxAttempts: number | import("@smithy/types").Provider<number>;
85
+ region: string | import("@smithy/types").Provider<any>;
86
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
87
+ retryMode: string | import("@smithy/types").Provider<string>;
88
+ streamCollector: (
89
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
90
+ ) => Promise<Uint8Array>;
91
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
92
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
93
+ };
@@ -0,0 +1,95 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { LambdaWebClientConfig } from "./LambdaWebClient";
3
+ export declare const getRuntimeConfig: (config: LambdaWebClientConfig) => {
4
+ cacheMiddleware?: boolean;
5
+ endpoint?:
6
+ | ((
7
+ | string
8
+ | import("@smithy/types").Endpoint
9
+ | import("@smithy/types").EndpointV2
10
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
11
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
12
+ ) &
13
+ (
14
+ | string
15
+ | import("@smithy/types").Endpoint
16
+ | import("@smithy/types").EndpointV2
17
+ | import("@smithy/types").Provider<string>
18
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
19
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
20
+ ))
21
+ | undefined;
22
+ tls?: boolean;
23
+ ignoreConfiguredEndpointUrls?: boolean;
24
+ serviceConfiguredEndpoint?: never;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
+ credentials?:
28
+ | import("@smithy/types").AwsCredentialIdentity
29
+ | import("@smithy/types").AwsCredentialIdentityProvider;
30
+ signer?:
31
+ | import("@smithy/types").RequestSigner
32
+ | ((
33
+ authScheme?: import("@smithy/types").AuthScheme,
34
+ ) => Promise<import("@smithy/types").RequestSigner>);
35
+ signingEscapePath?: boolean;
36
+ systemClockOffset?: number;
37
+ signingRegion?: string;
38
+ signerConstructor?: new (
39
+ options: import("@smithy/signature-v4").SignatureV4Init &
40
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
41
+ ) => import("@smithy/types").RequestSigner;
42
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ apiVersion: string;
44
+ base64Decoder: import("@smithy/types").Decoder;
45
+ base64Encoder: (_input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ endpointProvider: (
48
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@smithy/types").Logger;
51
+ },
52
+ ) => import("@smithy/types").EndpointV2;
53
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
54
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaWebHttpAuthSchemeProvider;
55
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
56
+ logger: import("@smithy/types").Logger;
57
+ protocol:
58
+ | import("@smithy/types").$ClientProtocol<any, any>
59
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
60
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
61
+ protocolSettings: {
62
+ [setting: string]: unknown;
63
+ defaultNamespace?: string;
64
+ };
65
+ serviceId: string;
66
+ sha256: import("@smithy/types").HashConstructor;
67
+ urlParser: import("@smithy/types").UrlParser;
68
+ utf8Decoder: import("@smithy/types").Decoder;
69
+ utf8Encoder: (input: Uint8Array | string) => string;
70
+ runtime: string;
71
+ defaultsMode: import("@smithy/types").Provider<
72
+ import("@smithy/core/client").ResolvedDefaultsMode
73
+ >;
74
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((
78
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
79
+ ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
80
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ maxAttempts: number | import("@smithy/types").Provider<number>;
85
+ region: string | import("@smithy/types").Provider<string>;
86
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
87
+ retryMode: string | import("@smithy/types").Provider<string>;
88
+ streamCollector: (
89
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
90
+ ) => Promise<Uint8Array>;
91
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
92
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
93
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
94
+ profile?: string;
95
+ };