@aws-sdk/client-lambda-web 3.1146.0 → 3.1148.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -141
- package/dist-cjs/index.js +4 -1117
- package/dist-es/LambdaWeb.js +1 -61
- package/dist-es/commands/index.js +0 -19
- package/dist-es/index.js +0 -3
- package/dist-es/models/errors.js +0 -64
- package/dist-es/schemas/schemas_0.js +1 -514
- package/dist-types/LambdaWeb.d.ts +2 -195
- package/dist-types/LambdaWebClient.d.ts +3 -22
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +0 -19
- package/dist-types/index.d.ts +1 -4
- package/dist-types/models/errors.d.ts +0 -88
- package/dist-types/models/models_0.d.ts +7 -1503
- package/dist-types/schemas/schemas_0.d.ts +0 -73
- package/dist-types/ts3.4/LambdaWeb.d.ts +0 -395
- package/dist-types/ts3.4/LambdaWebClient.d.ts +2 -112
- package/dist-types/ts3.4/commandBuilder.d.ts +9 -10
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/index.d.ts +0 -19
- package/dist-types/ts3.4/index.d.ts +0 -3
- package/dist-types/ts3.4/models/errors.d.ts +0 -28
- package/dist-types/ts3.4/models/models_0.d.ts +0 -350
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -73
- package/package.json +1 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +0 -4
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +0 -4
- package/dist-es/commands/ListTagsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +0 -4
- package/dist-es/commands/ListWebFunctionsCommand.js +0 -4
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -4
- package/dist-es/commands/TagResourceCommand.js +0 -4
- package/dist-es/commands/UntagResourceCommand.js +0 -4
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +0 -4
- package/dist-es/models/enums.js +0 -48
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +0 -4
- package/dist-es/pagination/ListWebFunctionsPaginator.js +0 -4
- package/dist-es/pagination/index.js +0 -4
- package/dist-es/waiters/index.js +0 -6
- package/dist-es/waiters/waitForWebFunctionActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +0 -58
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +0 -34
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +0 -49
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +0 -49
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +0 -188
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +0 -162
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +0 -162
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +0 -87
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -88
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -88
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -87
- package/dist-types/commands/GetWebFunctionCommand.d.ts +0 -91
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +0 -137
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +0 -128
- package/dist-types/commands/ListTagsCommand.d.ts +0 -88
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +0 -128
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +0 -106
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +0 -102
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -95
- package/dist-types/commands/TagResourceCommand.d.ts +0 -93
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -90
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -158
- package/dist-types/models/enums.d.ts +0 -120
- package/dist-types/pagination/Interfaces.d.ts +0 -8
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -7
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +0 -7
- package/dist-types/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +0 -42
- package/dist-types/ts3.4/models/enums.d.ts +0 -57
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/index.d.ts +0 -4
- package/dist-types/ts3.4/waiters/index.d.ts +0 -6
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
- package/dist-types/waiters/index.d.ts +0 -6
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +0 -16
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +0 -15
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +0 -15
package/dist-cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
|
-
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder,
|
|
2
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
5
5
|
exports.$Command = $Command;
|
|
6
6
|
exports.__Client = Client;
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1147.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -150,22 +150,6 @@ class AccessDeniedException extends LambdaWebServiceException {
|
|
|
150
150
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
class ConflictException extends LambdaWebServiceException {
|
|
154
|
-
name = "ConflictException";
|
|
155
|
-
$fault = "client";
|
|
156
|
-
resourceId;
|
|
157
|
-
resourceType;
|
|
158
|
-
constructor(opts) {
|
|
159
|
-
super({
|
|
160
|
-
name: "ConflictException",
|
|
161
|
-
$fault: "client",
|
|
162
|
-
...opts,
|
|
163
|
-
});
|
|
164
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
165
|
-
this.resourceId = opts.resourceId;
|
|
166
|
-
this.resourceType = opts.resourceType;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
153
|
class InternalServerException extends LambdaWebServiceException {
|
|
170
154
|
name = "InternalServerException";
|
|
171
155
|
$fault = "server";
|
|
@@ -179,42 +163,6 @@ class InternalServerException extends LambdaWebServiceException {
|
|
|
179
163
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
180
164
|
}
|
|
181
165
|
}
|
|
182
|
-
class ResourceNotFoundException extends LambdaWebServiceException {
|
|
183
|
-
name = "ResourceNotFoundException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
resourceId;
|
|
186
|
-
resourceType;
|
|
187
|
-
constructor(opts) {
|
|
188
|
-
super({
|
|
189
|
-
name: "ResourceNotFoundException",
|
|
190
|
-
$fault: "client",
|
|
191
|
-
...opts,
|
|
192
|
-
});
|
|
193
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
194
|
-
this.resourceId = opts.resourceId;
|
|
195
|
-
this.resourceType = opts.resourceType;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
class ServiceQuotaExceededException extends LambdaWebServiceException {
|
|
199
|
-
name = "ServiceQuotaExceededException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
resourceId;
|
|
202
|
-
resourceType;
|
|
203
|
-
serviceCode;
|
|
204
|
-
quotaCode;
|
|
205
|
-
constructor(opts) {
|
|
206
|
-
super({
|
|
207
|
-
name: "ServiceQuotaExceededException",
|
|
208
|
-
$fault: "client",
|
|
209
|
-
...opts,
|
|
210
|
-
});
|
|
211
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
212
|
-
this.resourceId = opts.resourceId;
|
|
213
|
-
this.resourceType = opts.resourceType;
|
|
214
|
-
this.serviceCode = opts.serviceCode;
|
|
215
|
-
this.quotaCode = opts.quotaCode;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
166
|
class ThrottlingException extends LambdaWebServiceException {
|
|
219
167
|
name = "ThrottlingException";
|
|
220
168
|
$fault = "client";
|
|
@@ -236,199 +184,34 @@ class ThrottlingException extends LambdaWebServiceException {
|
|
|
236
184
|
this.quotaCode = opts.quotaCode;
|
|
237
185
|
}
|
|
238
186
|
}
|
|
239
|
-
class ValidationException extends LambdaWebServiceException {
|
|
240
|
-
name = "ValidationException";
|
|
241
|
-
$fault = "client";
|
|
242
|
-
constructor(opts) {
|
|
243
|
-
super({
|
|
244
|
-
name: "ValidationException",
|
|
245
|
-
$fault: "client",
|
|
246
|
-
...opts,
|
|
247
|
-
});
|
|
248
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
187
|
|
|
252
188
|
const _ADE = "AccessDeniedException";
|
|
253
189
|
const _AQ = "AccountQuotas";
|
|
254
190
|
const _AU = "AccountUsage";
|
|
255
|
-
const _BC = "BuildConfig";
|
|
256
|
-
const _CC = "CodeConfig";
|
|
257
|
-
const _CE = "ConflictException";
|
|
258
|
-
const _CWF = "CreateWebFunction";
|
|
259
|
-
const _CWFE = "CreateWebFunctionEndpoint";
|
|
260
|
-
const _CWFER = "CreateWebFunctionEndpointRequest";
|
|
261
|
-
const _CWFERr = "CreateWebFunctionEndpointResponse";
|
|
262
|
-
const _CWFR = "CreateWebFunctionRequest";
|
|
263
|
-
const _CWFRR = "CreateWebFunctionRevisionRequest";
|
|
264
|
-
const _CWFRRr = "CreateWebFunctionRevisionResponse";
|
|
265
|
-
const _CWFRr = "CreateWebFunctionResponse";
|
|
266
|
-
const _CWFRre = "CreateWebFunctionRevision";
|
|
267
|
-
const _DRP = "DeleteResourcePolicy";
|
|
268
|
-
const _DRPR = "DeleteResourcePolicyRequest";
|
|
269
|
-
const _DWF = "DeleteWebFunction";
|
|
270
|
-
const _DWFE = "DeleteWebFunctionEndpoint";
|
|
271
|
-
const _DWFER = "DeleteWebFunctionEndpointRequest";
|
|
272
|
-
const _DWFR = "DeleteWebFunctionRequest";
|
|
273
|
-
const _DWFRR = "DeleteWebFunctionRevisionRequest";
|
|
274
|
-
const _DWFRe = "DeleteWebFunctionRevision";
|
|
275
|
-
const _EC = "EndpointConfig";
|
|
276
|
-
const _EV = "EnvironmentVariables";
|
|
277
|
-
const _F = "Filter";
|
|
278
|
-
const _FES = "FunctionEndpointSummary";
|
|
279
|
-
const _FESL = "FunctionEndpointSummaryList";
|
|
280
|
-
const _FL = "FilterList";
|
|
281
|
-
const _FRS = "FunctionRevisionSummary";
|
|
282
|
-
const _FRSL = "FunctionRevisionSummaryList";
|
|
283
|
-
const _FS = "FunctionSummary";
|
|
284
|
-
const _FSL = "FunctionSummaryList";
|
|
285
|
-
const _GRP = "GetResourcePolicy";
|
|
286
|
-
const _GRPR = "GetResourcePolicyRequest";
|
|
287
|
-
const _GRPRe = "GetResourcePolicyResponse";
|
|
288
191
|
const _GWAS = "GetWebAccountSettings";
|
|
289
192
|
const _GWASR = "GetWebAccountSettingsRequest";
|
|
290
193
|
const _GWASRe = "GetWebAccountSettingsResponse";
|
|
291
|
-
const _GWF = "GetWebFunction";
|
|
292
|
-
const _GWFE = "GetWebFunctionEndpoint";
|
|
293
|
-
const _GWFER = "GetWebFunctionEndpointRequest";
|
|
294
|
-
const _GWFERe = "GetWebFunctionEndpointResponse";
|
|
295
|
-
const _GWFR = "GetWebFunctionRequest";
|
|
296
|
-
const _GWFRR = "GetWebFunctionRevisionRequest";
|
|
297
|
-
const _GWFRRe = "GetWebFunctionRevisionResponse";
|
|
298
|
-
const _GWFRe = "GetWebFunctionResponse";
|
|
299
|
-
const _GWFRet = "GetWebFunctionRevision";
|
|
300
194
|
const _ISE = "InternalServerException";
|
|
301
|
-
const _LC = "LoggingConfig";
|
|
302
|
-
const _LT = "ListTags";
|
|
303
|
-
const _LTR = "ListTagsRequest";
|
|
304
|
-
const _LTRi = "ListTagsResponse";
|
|
305
|
-
const _LWF = "ListWebFunctions";
|
|
306
|
-
const _LWFE = "ListWebFunctionEndpoints";
|
|
307
|
-
const _LWFER = "ListWebFunctionEndpointsRequest";
|
|
308
|
-
const _LWFERi = "ListWebFunctionEndpointsResponse";
|
|
309
|
-
const _LWFR = "ListWebFunctionsRequest";
|
|
310
|
-
const _LWFRR = "ListWebFunctionRevisionsRequest";
|
|
311
|
-
const _LWFRRi = "ListWebFunctionRevisionsResponse";
|
|
312
|
-
const _LWFRi = "ListWebFunctionsResponse";
|
|
313
|
-
const _LWFRis = "ListWebFunctionRevisions";
|
|
314
|
-
const _P = "Policy";
|
|
315
|
-
const _PRP = "PutResourcePolicy";
|
|
316
|
-
const _PRPR = "PutResourcePolicyRequest";
|
|
317
|
-
const _PRPRu = "PutResourcePolicyResponse";
|
|
318
195
|
const _RA = "Retry-After";
|
|
319
|
-
const _RC = "RevisionConfig";
|
|
320
|
-
const _RCu = "RuntimeConfig";
|
|
321
|
-
const _RE = "RegionalEndpoint";
|
|
322
|
-
const _REe = "RevisionError";
|
|
323
|
-
const _REeg = "RegionalEndpoints";
|
|
324
|
-
const _REev = "RevisionErrors";
|
|
325
|
-
const _RI = "RevisionId";
|
|
326
|
-
const _RNFE = "ResourceNotFoundException";
|
|
327
|
-
const _RW = "RevisionWeight";
|
|
328
|
-
const _RWL = "RevisionWeightList";
|
|
329
|
-
const _SC = "ScalingConfig";
|
|
330
|
-
const _SCe = "ServiceConfig";
|
|
331
|
-
const _SO = "S3Object";
|
|
332
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
333
|
-
const _T = "Tags";
|
|
334
|
-
const _TC = "TelemetryConfig";
|
|
335
|
-
const _TCh = "ThrottleConfig";
|
|
336
196
|
const _TE = "ThrottlingException";
|
|
337
|
-
const _TR = "TagResource";
|
|
338
|
-
const _TRR = "TagResourceRequest";
|
|
339
|
-
const _UR = "UntagResource";
|
|
340
|
-
const _URR = "UntagResourceRequest";
|
|
341
|
-
const _UWFE = "UpdateWebFunctionEndpoint";
|
|
342
|
-
const _UWFER = "UpdateWebFunctionEndpointRequest";
|
|
343
|
-
const _UWFERp = "UpdateWebFunctionEndpointResponse";
|
|
344
|
-
const _VE = "ValidationException";
|
|
345
|
-
const _a = "attribute";
|
|
346
|
-
const _aDM = "autoDeploymentMode";
|
|
347
|
-
const _aLL = "applicationLogLevel";
|
|
348
197
|
const _aQ = "accountQuotas";
|
|
349
|
-
const _aT = "authType";
|
|
350
198
|
const _aU = "accountUsage";
|
|
351
|
-
const _b = "bucket";
|
|
352
|
-
const _bC = "buildConfig";
|
|
353
199
|
const _c = "client";
|
|
354
|
-
const _cA = "createdAt";
|
|
355
|
-
const _cC = "codeConfig";
|
|
356
|
-
const _d = "description";
|
|
357
|
-
const _dN = "domainName";
|
|
358
200
|
const _e = "error";
|
|
359
|
-
const _eA = "endpointArn";
|
|
360
|
-
const _eC = "endpointConfig";
|
|
361
|
-
const _eCr = "errorCode";
|
|
362
|
-
const _eM = "errorMessage";
|
|
363
|
-
const _eN = "endpointName";
|
|
364
|
-
const _eRA = "executionRoleArn";
|
|
365
|
-
const _eT = "endpointType";
|
|
366
|
-
const _eV = "environmentVariables";
|
|
367
|
-
const _en = "endpoint";
|
|
368
|
-
const _end = "endpoints";
|
|
369
|
-
const _er = "errors";
|
|
370
|
-
const _f = "filters";
|
|
371
|
-
const _fA = "functionArn";
|
|
372
201
|
const _fC = "functionCount";
|
|
373
|
-
const _fN = "functionName";
|
|
374
|
-
const _fu = "functions";
|
|
375
202
|
const _h = "http";
|
|
376
203
|
const _hE = "httpError";
|
|
377
204
|
const _hH = "httpHeader";
|
|
378
|
-
const _hQ = "httpQuery";
|
|
379
|
-
const _jN = "jsonName";
|
|
380
|
-
const _k = "key";
|
|
381
|
-
const _kKA = "kmsKeyArn";
|
|
382
|
-
const _lC = "loggingConfig";
|
|
383
|
-
const _lG = "logGroup";
|
|
384
205
|
const _m = "message";
|
|
385
|
-
const _mCPE = "maxConcurrencyPerEnvironment";
|
|
386
|
-
const _mE = "maxEnvironments";
|
|
387
206
|
const _mEPF = "maxEndpointsPerFunction";
|
|
388
|
-
const _mR = "maxResults";
|
|
389
207
|
const _mRPF = "maxRevisionsPerFunction";
|
|
390
208
|
const _mTAVC = "maxTotalArmVCpus";
|
|
391
209
|
const _mTRL = "maxTotalRateLimit";
|
|
392
|
-
const _n = "name";
|
|
393
|
-
const _nT = "nextToken";
|
|
394
|
-
const _p = "policy";
|
|
395
210
|
const _qC = "quotaCode";
|
|
396
|
-
const _r = "regions";
|
|
397
|
-
const _rA = "revisionArn";
|
|
398
211
|
const _rAS = "retryAfterSeconds";
|
|
399
|
-
const _rAe = "resourceArn";
|
|
400
|
-
const _rC = "runtimeConfig";
|
|
401
|
-
const _rCe = "revisionConfig";
|
|
402
|
-
const _rE = "regionalEndpoints";
|
|
403
|
-
const _rI = "resourceId";
|
|
404
|
-
const _rIe = "revisionId";
|
|
405
|
-
const _rL = "rateLimit";
|
|
406
|
-
const _rT = "resourceType";
|
|
407
|
-
const _rW = "revisionWeights";
|
|
408
|
-
const _re = "revision";
|
|
409
|
-
const _res = "resource";
|
|
410
|
-
const _rev = "revisions";
|
|
411
|
-
const _ru = "runtime";
|
|
412
212
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lambdaweb";
|
|
413
213
|
const _sC = "serviceCode";
|
|
414
|
-
const _sCc = "scalingConfig";
|
|
415
|
-
const _sCe = "serviceConfig";
|
|
416
|
-
const _sLL = "systemLogLevel";
|
|
417
|
-
const _sO = "s3Object";
|
|
418
|
-
const _sR = "stateReason";
|
|
419
214
|
const _se = "server";
|
|
420
|
-
const _st = "state";
|
|
421
|
-
const _t = "tags";
|
|
422
|
-
const _tC = "throttleConfig";
|
|
423
|
-
const _tCe = "telemetryConfig";
|
|
424
|
-
const _tK = "tagKeys";
|
|
425
|
-
const _tS = "timeoutSeconds";
|
|
426
|
-
const _uA = "updatedAt";
|
|
427
|
-
const _uS = "updateStatus";
|
|
428
|
-
const _uSR = "updateStatusReason";
|
|
429
|
-
const _v = "values";
|
|
430
|
-
const _vI = "versionId";
|
|
431
|
-
const _w = "weight";
|
|
432
215
|
const n0 = "com.amazonaws.lambdaweb";
|
|
433
216
|
const _s_registry = new TypeRegistry(_s);
|
|
434
217
|
var LambdaWebServiceException$ = [-3, _s, "LambdaWebServiceException", 0, [], []];
|
|
@@ -440,42 +223,18 @@ var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
440
223
|
[0], 1
|
|
441
224
|
];
|
|
442
225
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
443
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
444
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
445
|
-
[_m, _rI, _rT],
|
|
446
|
-
[0, 0, 0], 1
|
|
447
|
-
];
|
|
448
|
-
n0_registry.registerError(ConflictException$, ConflictException);
|
|
449
226
|
var InternalServerException$ = [-3, n0, _ISE,
|
|
450
227
|
{ [_e]: _se, [_hE]: 500 },
|
|
451
228
|
[_m],
|
|
452
229
|
[0]
|
|
453
230
|
];
|
|
454
231
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
455
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
456
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
457
|
-
[_m, _rI, _rT],
|
|
458
|
-
[0, 0, 0], 1
|
|
459
|
-
];
|
|
460
|
-
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
461
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
462
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
463
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
464
|
-
[0, 0, 0, 0, 0], 1
|
|
465
|
-
];
|
|
466
|
-
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
467
232
|
var ThrottlingException$ = [-3, n0, _TE,
|
|
468
233
|
{ [_e]: _c, [_hE]: 429 },
|
|
469
234
|
[_m, _rAS, _sC, _qC],
|
|
470
235
|
[0, [1, { [_hH]: _RA }], 0, 0], 1
|
|
471
236
|
];
|
|
472
237
|
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
473
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
474
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
475
|
-
[_m],
|
|
476
|
-
[0], 1
|
|
477
|
-
];
|
|
478
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
479
238
|
const errorTypeRegistries = [
|
|
480
239
|
_s_registry,
|
|
481
240
|
n0_registry,
|
|
@@ -490,101 +249,6 @@ var AccountUsage$ = [3, n0, _AU,
|
|
|
490
249
|
[_fC],
|
|
491
250
|
[1], 1
|
|
492
251
|
];
|
|
493
|
-
var BuildConfig$ = [3, n0, _BC,
|
|
494
|
-
0,
|
|
495
|
-
[_cC, _rC],
|
|
496
|
-
[() => CodeConfig$, () => RuntimeConfig$], 2
|
|
497
|
-
];
|
|
498
|
-
var CodeConfig$ = [3, n0, _CC,
|
|
499
|
-
0,
|
|
500
|
-
[_sO],
|
|
501
|
-
[() => S3Object$], 1
|
|
502
|
-
];
|
|
503
|
-
var CreateWebFunctionEndpointRequest$ = [3, n0, _CWFER,
|
|
504
|
-
0,
|
|
505
|
-
[_fN, _eN, _eT, _aT, _d, _aDM, _rW, _r, _sCc, _tC],
|
|
506
|
-
[[0, 1], 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, () => ScalingConfig$, () => ThrottleConfig$], 4
|
|
507
|
-
];
|
|
508
|
-
var CreateWebFunctionEndpointResponse$ = [3, n0, _CWFERr,
|
|
509
|
-
0,
|
|
510
|
-
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
511
|
-
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
512
|
-
];
|
|
513
|
-
var CreateWebFunctionRequest$ = [3, n0, _CWFR,
|
|
514
|
-
0,
|
|
515
|
-
[_fN, _rCe, _eC, _t],
|
|
516
|
-
[0, [() => RevisionConfig$, 0], () => EndpointConfig$, 128 | 0], 1
|
|
517
|
-
];
|
|
518
|
-
var CreateWebFunctionResponse$ = [3, n0, _CWFRr,
|
|
519
|
-
0,
|
|
520
|
-
[_fN, _fA, _st, _sR, _cA, _uA, _re, _en, _t],
|
|
521
|
-
[0, 0, 0, 0, 5, 5, () => FunctionRevisionSummary$, () => FunctionEndpointSummary$, 128 | 0], 6
|
|
522
|
-
];
|
|
523
|
-
var CreateWebFunctionRevisionRequest$ = [3, n0, _CWFRR,
|
|
524
|
-
0,
|
|
525
|
-
[_fN, _bC, _sCe, _d, _kKA],
|
|
526
|
-
[[0, 1], () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0], 3
|
|
527
|
-
];
|
|
528
|
-
var CreateWebFunctionRevisionResponse$ = [3, n0, _CWFRRr,
|
|
529
|
-
0,
|
|
530
|
-
[_fA, _rA, _rIe, _bC, _sCe, _st, _sR, _cA, _d, _kKA, _er],
|
|
531
|
-
[0, 0, 0, () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0, 5, 0, 0, () => RevisionErrors], 8
|
|
532
|
-
];
|
|
533
|
-
var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
|
|
534
|
-
0,
|
|
535
|
-
[_rAe, _rIe],
|
|
536
|
-
[[0, 1], [0, { [_hQ]: _RI }]], 1
|
|
537
|
-
];
|
|
538
|
-
var DeleteWebFunctionEndpointRequest$ = [3, n0, _DWFER,
|
|
539
|
-
0,
|
|
540
|
-
[_fN, _eN],
|
|
541
|
-
[[0, 1], [0, 1]], 2
|
|
542
|
-
];
|
|
543
|
-
var DeleteWebFunctionRequest$ = [3, n0, _DWFR,
|
|
544
|
-
0,
|
|
545
|
-
[_fN],
|
|
546
|
-
[[0, 1]], 1
|
|
547
|
-
];
|
|
548
|
-
var DeleteWebFunctionRevisionRequest$ = [3, n0, _DWFRR,
|
|
549
|
-
0,
|
|
550
|
-
[_fN, _rIe],
|
|
551
|
-
[[0, 1], [0, 1]], 2
|
|
552
|
-
];
|
|
553
|
-
var EndpointConfig$ = [3, n0, _EC,
|
|
554
|
-
0,
|
|
555
|
-
[_eN, _eT, _aT, _d, _aDM, _r, _sCc, _tC],
|
|
556
|
-
[0, 0, 0, 0, 0, 64 | 0, () => ScalingConfig$, () => ThrottleConfig$], 3
|
|
557
|
-
];
|
|
558
|
-
var Filter$ = [3, n0, _F,
|
|
559
|
-
0,
|
|
560
|
-
[_n, _v],
|
|
561
|
-
[0, 64 | 0], 2
|
|
562
|
-
];
|
|
563
|
-
var FunctionEndpointSummary$ = [3, n0, _FES,
|
|
564
|
-
0,
|
|
565
|
-
[_eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
566
|
-
[0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 12
|
|
567
|
-
];
|
|
568
|
-
var FunctionRevisionSummary$ = [3, n0, _FRS,
|
|
569
|
-
0,
|
|
570
|
-
[_rA, _rIe, _st, _sR, _cA, _d],
|
|
571
|
-
[0, 0, 0, 0, 5, 0], 5
|
|
572
|
-
];
|
|
573
|
-
var FunctionSummary$ = [3, n0, _FS,
|
|
574
|
-
0,
|
|
575
|
-
[_fN, _fA, _st, _sR, _cA, _uA],
|
|
576
|
-
[0, 0, 0, 0, 5, 5], 6
|
|
577
|
-
];
|
|
578
|
-
var GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
579
|
-
0,
|
|
580
|
-
[_rAe],
|
|
581
|
-
[[0, 1]], 1
|
|
582
|
-
];
|
|
583
|
-
var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
584
|
-
0,
|
|
585
|
-
[_p, _rIe],
|
|
586
|
-
[[0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
587
|
-
];
|
|
588
252
|
var GetWebAccountSettingsRequest$ = [3, n0, _GWASR,
|
|
589
253
|
0,
|
|
590
254
|
[],
|
|
@@ -595,246 +259,9 @@ var GetWebAccountSettingsResponse$ = [3, n0, _GWASRe,
|
|
|
595
259
|
[_aQ, _aU],
|
|
596
260
|
[() => AccountQuotas$, () => AccountUsage$], 2
|
|
597
261
|
];
|
|
598
|
-
var GetWebFunctionEndpointRequest$ = [3, n0, _GWFER,
|
|
599
|
-
0,
|
|
600
|
-
[_fN, _eN],
|
|
601
|
-
[[0, 1], [0, 1]], 2
|
|
602
|
-
];
|
|
603
|
-
var GetWebFunctionEndpointResponse$ = [3, n0, _GWFERe,
|
|
604
|
-
0,
|
|
605
|
-
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
606
|
-
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
607
|
-
];
|
|
608
|
-
var GetWebFunctionRequest$ = [3, n0, _GWFR,
|
|
609
|
-
0,
|
|
610
|
-
[_fN],
|
|
611
|
-
[[0, 1]], 1
|
|
612
|
-
];
|
|
613
|
-
var GetWebFunctionResponse$ = [3, n0, _GWFRe,
|
|
614
|
-
0,
|
|
615
|
-
[_fN, _fA, _st, _sR, _cA, _uA],
|
|
616
|
-
[0, 0, 0, 0, 5, 5], 6
|
|
617
|
-
];
|
|
618
|
-
var GetWebFunctionRevisionRequest$ = [3, n0, _GWFRR,
|
|
619
|
-
0,
|
|
620
|
-
[_fN, _rIe],
|
|
621
|
-
[[0, 1], [0, 1]], 2
|
|
622
|
-
];
|
|
623
|
-
var GetWebFunctionRevisionResponse$ = [3, n0, _GWFRRe,
|
|
624
|
-
0,
|
|
625
|
-
[_fA, _rA, _rIe, _bC, _sCe, _st, _sR, _cA, _d, _kKA, _er],
|
|
626
|
-
[0, 0, 0, () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0, 5, 0, 0, () => RevisionErrors], 8
|
|
627
|
-
];
|
|
628
|
-
var ListTagsRequest$ = [3, n0, _LTR,
|
|
629
|
-
0,
|
|
630
|
-
[_res],
|
|
631
|
-
[[0, 1]], 1
|
|
632
|
-
];
|
|
633
|
-
var ListTagsResponse$ = [3, n0, _LTRi,
|
|
634
|
-
0,
|
|
635
|
-
[_t],
|
|
636
|
-
[[128 | 0, { [_jN]: _T }]]
|
|
637
|
-
];
|
|
638
|
-
var ListWebFunctionEndpointsRequest$ = [3, n0, _LWFER,
|
|
639
|
-
0,
|
|
640
|
-
[_fN, _f, _mR, _nT],
|
|
641
|
-
[[0, 1], () => FilterList, 1, 0], 1
|
|
642
|
-
];
|
|
643
|
-
var ListWebFunctionEndpointsResponse$ = [3, n0, _LWFERi,
|
|
644
|
-
0,
|
|
645
|
-
[_end, _nT],
|
|
646
|
-
[() => FunctionEndpointSummaryList, 0], 1
|
|
647
|
-
];
|
|
648
|
-
var ListWebFunctionRevisionsRequest$ = [3, n0, _LWFRR,
|
|
649
|
-
0,
|
|
650
|
-
[_fN, _f, _mR, _nT],
|
|
651
|
-
[[0, 1], () => FilterList, 1, 0], 1
|
|
652
|
-
];
|
|
653
|
-
var ListWebFunctionRevisionsResponse$ = [3, n0, _LWFRRi,
|
|
654
|
-
0,
|
|
655
|
-
[_rev, _nT],
|
|
656
|
-
[() => FunctionRevisionSummaryList, 0], 1
|
|
657
|
-
];
|
|
658
|
-
var ListWebFunctionsRequest$ = [3, n0, _LWFR,
|
|
659
|
-
0,
|
|
660
|
-
[_f, _mR, _nT],
|
|
661
|
-
[() => FilterList, 1, 0]
|
|
662
|
-
];
|
|
663
|
-
var ListWebFunctionsResponse$ = [3, n0, _LWFRi,
|
|
664
|
-
0,
|
|
665
|
-
[_fu, _nT],
|
|
666
|
-
[() => FunctionSummaryList, 0], 1
|
|
667
|
-
];
|
|
668
|
-
var LoggingConfig$ = [3, n0, _LC,
|
|
669
|
-
0,
|
|
670
|
-
[_lG, _aLL, _sLL],
|
|
671
|
-
[0, 0, 0]
|
|
672
|
-
];
|
|
673
|
-
var PutResourcePolicyRequest$ = [3, n0, _PRPR,
|
|
674
|
-
0,
|
|
675
|
-
[_rAe, _p, _rIe],
|
|
676
|
-
[[0, 1], [0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
677
|
-
];
|
|
678
|
-
var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
679
|
-
0,
|
|
680
|
-
[_p, _rIe],
|
|
681
|
-
[[0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
682
|
-
];
|
|
683
|
-
var RegionalEndpoint$ = [3, n0, _RE,
|
|
684
|
-
0,
|
|
685
|
-
[_aT, _rW, _st, _sR, _dN, _sCc, _tC, _uS, _uSR],
|
|
686
|
-
[0, () => RevisionWeightList, 0, 0, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 4
|
|
687
|
-
];
|
|
688
|
-
var RevisionConfig$ = [3, n0, _RC,
|
|
689
|
-
0,
|
|
690
|
-
[_bC, _sCe, _d, _kKA],
|
|
691
|
-
[() => BuildConfig$, [() => ServiceConfig$, 0], 0, 0], 2
|
|
692
|
-
];
|
|
693
|
-
var RevisionError$ = [3, n0, _REe,
|
|
694
|
-
0,
|
|
695
|
-
[_a, _eCr, _eM],
|
|
696
|
-
[0, 0, 0], 3
|
|
697
|
-
];
|
|
698
|
-
var RevisionWeight$ = [3, n0, _RW,
|
|
699
|
-
0,
|
|
700
|
-
[_rIe, _w],
|
|
701
|
-
[0, 1], 2
|
|
702
|
-
];
|
|
703
|
-
var RuntimeConfig$ = [3, n0, _RCu,
|
|
704
|
-
0,
|
|
705
|
-
[_ru],
|
|
706
|
-
[0], 1
|
|
707
|
-
];
|
|
708
|
-
var S3Object$ = [3, n0, _SO,
|
|
709
|
-
0,
|
|
710
|
-
[_b, _k, _vI],
|
|
711
|
-
[0, 0, 0], 2
|
|
712
|
-
];
|
|
713
|
-
var ScalingConfig$ = [3, n0, _SC,
|
|
714
|
-
0,
|
|
715
|
-
[_mE],
|
|
716
|
-
[1]
|
|
717
|
-
];
|
|
718
|
-
var ServiceConfig$ = [3, n0, _SCe,
|
|
719
|
-
0,
|
|
720
|
-
[_eRA, _tS, _mCPE, _eV, _tCe],
|
|
721
|
-
[0, 1, 1, [() => EnvironmentVariables, 0], () => TelemetryConfig$], 1
|
|
722
|
-
];
|
|
723
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
724
|
-
0,
|
|
725
|
-
[_res, _t],
|
|
726
|
-
[[0, 1], [128 | 0, { [_jN]: _T }]], 2
|
|
727
|
-
];
|
|
728
|
-
var TelemetryConfig$ = [3, n0, _TC,
|
|
729
|
-
0,
|
|
730
|
-
[_lC],
|
|
731
|
-
[() => LoggingConfig$]
|
|
732
|
-
];
|
|
733
|
-
var ThrottleConfig$ = [3, n0, _TCh,
|
|
734
|
-
0,
|
|
735
|
-
[_rL],
|
|
736
|
-
[1]
|
|
737
|
-
];
|
|
738
|
-
var UntagResourceRequest$ = [3, n0, _URR,
|
|
739
|
-
0,
|
|
740
|
-
[_res, _tK],
|
|
741
|
-
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
742
|
-
];
|
|
743
|
-
var UpdateWebFunctionEndpointRequest$ = [3, n0, _UWFER,
|
|
744
|
-
0,
|
|
745
|
-
[_fN, _eN, _d, _aT, _aDM, _rW, _sCc, _tC],
|
|
746
|
-
[[0, 1], [0, 1], 0, 0, 0, () => RevisionWeightList, () => ScalingConfig$, () => ThrottleConfig$], 2
|
|
747
|
-
];
|
|
748
|
-
var UpdateWebFunctionEndpointResponse$ = [3, n0, _UWFERp,
|
|
749
|
-
0,
|
|
750
|
-
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
751
|
-
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
752
|
-
];
|
|
753
|
-
var __Unit = "unit";
|
|
754
|
-
var FilterList = [1, n0, _FL,
|
|
755
|
-
0, () => Filter$
|
|
756
|
-
];
|
|
757
|
-
var FunctionEndpointSummaryList = [1, n0, _FESL,
|
|
758
|
-
0, () => FunctionEndpointSummary$
|
|
759
|
-
];
|
|
760
|
-
var FunctionRevisionSummaryList = [1, n0, _FRSL,
|
|
761
|
-
0, () => FunctionRevisionSummary$
|
|
762
|
-
];
|
|
763
|
-
var FunctionSummaryList = [1, n0, _FSL,
|
|
764
|
-
0, () => FunctionSummary$
|
|
765
|
-
];
|
|
766
|
-
var RevisionErrors = [1, n0, _REev,
|
|
767
|
-
0, () => RevisionError$
|
|
768
|
-
];
|
|
769
|
-
var RevisionWeightList = [1, n0, _RWL,
|
|
770
|
-
0, () => RevisionWeight$
|
|
771
|
-
];
|
|
772
|
-
var EnvironmentVariables = [2, n0, _EV,
|
|
773
|
-
8, 0, 0
|
|
774
|
-
];
|
|
775
|
-
var RegionalEndpoints = [2, n0, _REeg,
|
|
776
|
-
0, 0, () => RegionalEndpoint$
|
|
777
|
-
];
|
|
778
|
-
var CreateWebFunction$ = [9, n0, _CWF,
|
|
779
|
-
{ [_h]: ["PUT", "/2025-03-07/web-functions", 202] }, () => CreateWebFunctionRequest$, () => CreateWebFunctionResponse$
|
|
780
|
-
];
|
|
781
|
-
var CreateWebFunctionEndpoint$ = [9, n0, _CWFE,
|
|
782
|
-
{ [_h]: ["PUT", "/2025-03-07/web-functions/{functionName}/endpoints", 202] }, () => CreateWebFunctionEndpointRequest$, () => CreateWebFunctionEndpointResponse$
|
|
783
|
-
];
|
|
784
|
-
var CreateWebFunctionRevision$ = [9, n0, _CWFRre,
|
|
785
|
-
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/revisions", 202] }, () => CreateWebFunctionRevisionRequest$, () => CreateWebFunctionRevisionResponse$
|
|
786
|
-
];
|
|
787
|
-
var DeleteResourcePolicy$ = [9, n0, _DRP,
|
|
788
|
-
{ [_h]: ["DELETE", "/2025-03-07/resource-policy/{resourceArn}", 204] }, () => DeleteResourcePolicyRequest$, () => __Unit
|
|
789
|
-
];
|
|
790
|
-
var DeleteWebFunction$ = [9, n0, _DWF,
|
|
791
|
-
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}", 204] }, () => DeleteWebFunctionRequest$, () => __Unit
|
|
792
|
-
];
|
|
793
|
-
var DeleteWebFunctionEndpoint$ = [9, n0, _DWFE,
|
|
794
|
-
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 204] }, () => DeleteWebFunctionEndpointRequest$, () => __Unit
|
|
795
|
-
];
|
|
796
|
-
var DeleteWebFunctionRevision$ = [9, n0, _DWFRe,
|
|
797
|
-
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}", 204] }, () => DeleteWebFunctionRevisionRequest$, () => __Unit
|
|
798
|
-
];
|
|
799
|
-
var GetResourcePolicy$ = [9, n0, _GRP,
|
|
800
|
-
{ [_h]: ["GET", "/2025-03-07/resource-policy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
801
|
-
];
|
|
802
262
|
var GetWebAccountSettings$ = [9, n0, _GWAS,
|
|
803
263
|
{ [_h]: ["GET", "/2025-03-07/web-account-settings", 200] }, () => GetWebAccountSettingsRequest$, () => GetWebAccountSettingsResponse$
|
|
804
264
|
];
|
|
805
|
-
var GetWebFunction$ = [9, n0, _GWF,
|
|
806
|
-
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}", 200] }, () => GetWebFunctionRequest$, () => GetWebFunctionResponse$
|
|
807
|
-
];
|
|
808
|
-
var GetWebFunctionEndpoint$ = [9, n0, _GWFE,
|
|
809
|
-
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 200] }, () => GetWebFunctionEndpointRequest$, () => GetWebFunctionEndpointResponse$
|
|
810
|
-
];
|
|
811
|
-
var GetWebFunctionRevision$ = [9, n0, _GWFRet,
|
|
812
|
-
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}", 200] }, () => GetWebFunctionRevisionRequest$, () => GetWebFunctionRevisionResponse$
|
|
813
|
-
];
|
|
814
|
-
var ListTags$ = [9, n0, _LT,
|
|
815
|
-
{ [_h]: ["GET", "/2025-03-07/tags/{resource}", 200] }, () => ListTagsRequest$, () => ListTagsResponse$
|
|
816
|
-
];
|
|
817
|
-
var ListWebFunctionEndpoints$ = [9, n0, _LWFE,
|
|
818
|
-
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/list-endpoints", 200] }, () => ListWebFunctionEndpointsRequest$, () => ListWebFunctionEndpointsResponse$
|
|
819
|
-
];
|
|
820
|
-
var ListWebFunctionRevisions$ = [9, n0, _LWFRis,
|
|
821
|
-
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/list-revisions", 200] }, () => ListWebFunctionRevisionsRequest$, () => ListWebFunctionRevisionsResponse$
|
|
822
|
-
];
|
|
823
|
-
var ListWebFunctions$ = [9, n0, _LWF,
|
|
824
|
-
{ [_h]: ["POST", "/2025-03-07/web-functions", 200] }, () => ListWebFunctionsRequest$, () => ListWebFunctionsResponse$
|
|
825
|
-
];
|
|
826
|
-
var PutResourcePolicy$ = [9, n0, _PRP,
|
|
827
|
-
{ [_h]: ["PUT", "/2025-03-07/resource-policy/{resourceArn}", 200] }, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
|
|
828
|
-
];
|
|
829
|
-
var TagResource$ = [9, n0, _TR,
|
|
830
|
-
{ [_h]: ["POST", "/2025-03-07/tags/{resource}", 204] }, () => TagResourceRequest$, () => __Unit
|
|
831
|
-
];
|
|
832
|
-
var UntagResource$ = [9, n0, _UR,
|
|
833
|
-
{ [_h]: ["DELETE", "/2025-03-07/tags/{resource}", 204] }, () => UntagResourceRequest$, () => __Unit
|
|
834
|
-
];
|
|
835
|
-
var UpdateWebFunctionEndpoint$ = [9, n0, _UWFE,
|
|
836
|
-
{ [_h]: ["PATCH", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 202] }, () => UpdateWebFunctionEndpointRequest$, () => UpdateWebFunctionEndpointResponse$
|
|
837
|
-
];
|
|
838
265
|
|
|
839
266
|
const getRuntimeConfig$1 = (config) => {
|
|
840
267
|
return {
|
|
@@ -986,570 +413,30 @@ const command = makeBuilder(commonParams, "LambdaWeb", "LambdaWebClient", getEnd
|
|
|
986
413
|
const _ep0 = {};
|
|
987
414
|
const _mw0 = (Command, cs, config, o) => [];
|
|
988
415
|
|
|
989
|
-
class CreateWebFunctionCommand extends command(_ep0, _mw0, "CreateWebFunction", CreateWebFunction$) {
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
class CreateWebFunctionEndpointCommand extends command(_ep0, _mw0, "CreateWebFunctionEndpoint", CreateWebFunctionEndpoint$) {
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
class CreateWebFunctionRevisionCommand extends command(_ep0, _mw0, "CreateWebFunctionRevision", CreateWebFunctionRevision$) {
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
class DeleteWebFunctionCommand extends command(_ep0, _mw0, "DeleteWebFunction", DeleteWebFunction$) {
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
class DeleteWebFunctionEndpointCommand extends command(_ep0, _mw0, "DeleteWebFunctionEndpoint", DeleteWebFunctionEndpoint$) {
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
class DeleteWebFunctionRevisionCommand extends command(_ep0, _mw0, "DeleteWebFunctionRevision", DeleteWebFunctionRevision$) {
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
416
|
class GetWebAccountSettingsCommand extends command(_ep0, _mw0, "GetWebAccountSettings", GetWebAccountSettings$) {
|
|
1014
417
|
}
|
|
1015
418
|
|
|
1016
|
-
class GetWebFunctionCommand extends command(_ep0, _mw0, "GetWebFunction", GetWebFunction$) {
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
class GetWebFunctionEndpointCommand extends command(_ep0, _mw0, "GetWebFunctionEndpoint", GetWebFunctionEndpoint$) {
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
class GetWebFunctionRevisionCommand extends command(_ep0, _mw0, "GetWebFunctionRevision", GetWebFunctionRevision$) {
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
class ListWebFunctionEndpointsCommand extends command(_ep0, _mw0, "ListWebFunctionEndpoints", ListWebFunctionEndpoints$) {
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
class ListWebFunctionRevisionsCommand extends command(_ep0, _mw0, "ListWebFunctionRevisions", ListWebFunctionRevisions$) {
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
class ListWebFunctionsCommand extends command(_ep0, _mw0, "ListWebFunctions", ListWebFunctions$) {
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
class UpdateWebFunctionEndpointCommand extends command(_ep0, _mw0, "UpdateWebFunctionEndpoint", UpdateWebFunctionEndpoint$) {
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
const paginateListWebFunctionEndpoints = createPaginator(LambdaWebClient, ListWebFunctionEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1050
|
-
|
|
1051
|
-
const paginateListWebFunctionRevisions = createPaginator(LambdaWebClient, ListWebFunctionRevisionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1052
|
-
|
|
1053
|
-
const paginateListWebFunctions = createPaginator(LambdaWebClient, ListWebFunctionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1054
|
-
|
|
1055
|
-
const checkState$5 = async (client, input) => {
|
|
1056
|
-
let reason;
|
|
1057
|
-
try {
|
|
1058
|
-
let result = await client.send(new GetWebFunctionCommand(input));
|
|
1059
|
-
reason = result;
|
|
1060
|
-
try {
|
|
1061
|
-
const returnComparator = () => {
|
|
1062
|
-
return result.state;
|
|
1063
|
-
};
|
|
1064
|
-
if (returnComparator() === "Active") {
|
|
1065
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
catch (e) { }
|
|
1069
|
-
try {
|
|
1070
|
-
const returnComparator = () => {
|
|
1071
|
-
return result.state;
|
|
1072
|
-
};
|
|
1073
|
-
if (returnComparator() === "Failed") {
|
|
1074
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
catch (e) { }
|
|
1078
|
-
try {
|
|
1079
|
-
const returnComparator = () => {
|
|
1080
|
-
return result.state;
|
|
1081
|
-
};
|
|
1082
|
-
if (returnComparator() === "Deleting") {
|
|
1083
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
catch (e) { }
|
|
1087
|
-
try {
|
|
1088
|
-
const returnComparator = () => {
|
|
1089
|
-
return result.state;
|
|
1090
|
-
};
|
|
1091
|
-
if (returnComparator() === "Pending") {
|
|
1092
|
-
return { state: WaiterState.RETRY, reason };
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
catch (e) { }
|
|
1096
|
-
}
|
|
1097
|
-
catch (exception) {
|
|
1098
|
-
reason = exception;
|
|
1099
|
-
}
|
|
1100
|
-
return { state: WaiterState.RETRY, reason };
|
|
1101
|
-
};
|
|
1102
|
-
const waitForWebFunctionActive = async (params, input) => {
|
|
1103
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1104
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1105
|
-
};
|
|
1106
|
-
const waitUntilWebFunctionActive = async (params, input) => {
|
|
1107
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1108
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1109
|
-
return checkExceptions(result);
|
|
1110
|
-
};
|
|
1111
|
-
|
|
1112
|
-
const checkState$4 = async (client, input) => {
|
|
1113
|
-
let reason;
|
|
1114
|
-
try {
|
|
1115
|
-
let result = await client.send(new GetWebFunctionCommand(input));
|
|
1116
|
-
reason = result;
|
|
1117
|
-
try {
|
|
1118
|
-
const returnComparator = () => {
|
|
1119
|
-
return result.state;
|
|
1120
|
-
};
|
|
1121
|
-
if (returnComparator() === "Deleting") {
|
|
1122
|
-
return { state: WaiterState.RETRY, reason };
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
catch (e) { }
|
|
1126
|
-
}
|
|
1127
|
-
catch (exception) {
|
|
1128
|
-
reason = exception;
|
|
1129
|
-
if (exception.name === "ResourceNotFoundException") {
|
|
1130
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
return { state: WaiterState.RETRY, reason };
|
|
1134
|
-
};
|
|
1135
|
-
const waitForWebFunctionDeleted = async (params, input) => {
|
|
1136
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1137
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1138
|
-
};
|
|
1139
|
-
const waitUntilWebFunctionDeleted = async (params, input) => {
|
|
1140
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1141
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1142
|
-
return checkExceptions(result);
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
|
-
const checkState$3 = async (client, input) => {
|
|
1146
|
-
let reason;
|
|
1147
|
-
try {
|
|
1148
|
-
let result = await client.send(new GetWebFunctionEndpointCommand(input));
|
|
1149
|
-
reason = result;
|
|
1150
|
-
try {
|
|
1151
|
-
const returnComparator = () => {
|
|
1152
|
-
return result.state;
|
|
1153
|
-
};
|
|
1154
|
-
if (returnComparator() === "Active") {
|
|
1155
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
catch (e) { }
|
|
1159
|
-
try {
|
|
1160
|
-
const returnComparator = () => {
|
|
1161
|
-
return result.state;
|
|
1162
|
-
};
|
|
1163
|
-
if (returnComparator() === "Failed") {
|
|
1164
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
catch (e) { }
|
|
1168
|
-
try {
|
|
1169
|
-
const returnComparator = () => {
|
|
1170
|
-
return result.state;
|
|
1171
|
-
};
|
|
1172
|
-
if (returnComparator() === "Deleting") {
|
|
1173
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
catch (e) { }
|
|
1177
|
-
try {
|
|
1178
|
-
const returnComparator = () => {
|
|
1179
|
-
return result.state;
|
|
1180
|
-
};
|
|
1181
|
-
if (returnComparator() === "Pending") {
|
|
1182
|
-
return { state: WaiterState.RETRY, reason };
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
catch (e) { }
|
|
1186
|
-
}
|
|
1187
|
-
catch (exception) {
|
|
1188
|
-
reason = exception;
|
|
1189
|
-
}
|
|
1190
|
-
return { state: WaiterState.RETRY, reason };
|
|
1191
|
-
};
|
|
1192
|
-
const waitForWebFunctionEndpointActive = async (params, input) => {
|
|
1193
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1194
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1195
|
-
};
|
|
1196
|
-
const waitUntilWebFunctionEndpointActive = async (params, input) => {
|
|
1197
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1198
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1199
|
-
return checkExceptions(result);
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
const checkState$2 = async (client, input) => {
|
|
1203
|
-
let reason;
|
|
1204
|
-
try {
|
|
1205
|
-
let result = await client.send(new GetWebFunctionEndpointCommand(input));
|
|
1206
|
-
reason = result;
|
|
1207
|
-
try {
|
|
1208
|
-
const returnComparator = () => {
|
|
1209
|
-
return result.state;
|
|
1210
|
-
};
|
|
1211
|
-
if (returnComparator() === "Deleting") {
|
|
1212
|
-
return { state: WaiterState.RETRY, reason };
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
catch (e) { }
|
|
1216
|
-
}
|
|
1217
|
-
catch (exception) {
|
|
1218
|
-
reason = exception;
|
|
1219
|
-
if (exception.name === "ResourceNotFoundException") {
|
|
1220
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
return { state: WaiterState.RETRY, reason };
|
|
1224
|
-
};
|
|
1225
|
-
const waitForWebFunctionEndpointDeleted = async (params, input) => {
|
|
1226
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1227
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1228
|
-
};
|
|
1229
|
-
const waitUntilWebFunctionEndpointDeleted = async (params, input) => {
|
|
1230
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1231
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1232
|
-
return checkExceptions(result);
|
|
1233
|
-
};
|
|
1234
|
-
|
|
1235
|
-
const checkState$1 = async (client, input) => {
|
|
1236
|
-
let reason;
|
|
1237
|
-
try {
|
|
1238
|
-
let result = await client.send(new GetWebFunctionEndpointCommand(input));
|
|
1239
|
-
reason = result;
|
|
1240
|
-
try {
|
|
1241
|
-
const returnComparator = () => {
|
|
1242
|
-
return result.updateStatus;
|
|
1243
|
-
};
|
|
1244
|
-
if (returnComparator() === "Successful") {
|
|
1245
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
catch (e) { }
|
|
1249
|
-
try {
|
|
1250
|
-
const returnComparator = () => {
|
|
1251
|
-
return result.updateStatus;
|
|
1252
|
-
};
|
|
1253
|
-
if (returnComparator() === "Failed") {
|
|
1254
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
catch (e) { }
|
|
1258
|
-
try {
|
|
1259
|
-
const returnComparator = () => {
|
|
1260
|
-
return result.updateStatus;
|
|
1261
|
-
};
|
|
1262
|
-
if (returnComparator() === "InProgress") {
|
|
1263
|
-
return { state: WaiterState.RETRY, reason };
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
catch (e) { }
|
|
1267
|
-
}
|
|
1268
|
-
catch (exception) {
|
|
1269
|
-
reason = exception;
|
|
1270
|
-
}
|
|
1271
|
-
return { state: WaiterState.RETRY, reason };
|
|
1272
|
-
};
|
|
1273
|
-
const waitForWebFunctionEndpointUpdated = async (params, input) => {
|
|
1274
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1275
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1276
|
-
};
|
|
1277
|
-
const waitUntilWebFunctionEndpointUpdated = async (params, input) => {
|
|
1278
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1279
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1280
|
-
return checkExceptions(result);
|
|
1281
|
-
};
|
|
1282
|
-
|
|
1283
|
-
const checkState = async (client, input) => {
|
|
1284
|
-
let reason;
|
|
1285
|
-
try {
|
|
1286
|
-
let result = await client.send(new GetWebFunctionRevisionCommand(input));
|
|
1287
|
-
reason = result;
|
|
1288
|
-
try {
|
|
1289
|
-
const returnComparator = () => {
|
|
1290
|
-
return result.state;
|
|
1291
|
-
};
|
|
1292
|
-
if (returnComparator() === "Active") {
|
|
1293
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
catch (e) { }
|
|
1297
|
-
try {
|
|
1298
|
-
const returnComparator = () => {
|
|
1299
|
-
return result.state;
|
|
1300
|
-
};
|
|
1301
|
-
if (returnComparator() === "Failed") {
|
|
1302
|
-
return { state: WaiterState.FAILURE, reason };
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
catch (e) { }
|
|
1306
|
-
try {
|
|
1307
|
-
const returnComparator = () => {
|
|
1308
|
-
return result.state;
|
|
1309
|
-
};
|
|
1310
|
-
if (returnComparator() === "Pending") {
|
|
1311
|
-
return { state: WaiterState.RETRY, reason };
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
catch (e) { }
|
|
1315
|
-
}
|
|
1316
|
-
catch (exception) {
|
|
1317
|
-
reason = exception;
|
|
1318
|
-
}
|
|
1319
|
-
return { state: WaiterState.RETRY, reason };
|
|
1320
|
-
};
|
|
1321
|
-
const waitForWebFunctionRevisionActive = async (params, input) => {
|
|
1322
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1323
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1324
|
-
};
|
|
1325
|
-
const waitUntilWebFunctionRevisionActive = async (params, input) => {
|
|
1326
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
1327
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1328
|
-
return checkExceptions(result);
|
|
1329
|
-
};
|
|
1330
|
-
|
|
1331
419
|
const commands = {
|
|
1332
|
-
CreateWebFunctionCommand,
|
|
1333
|
-
CreateWebFunctionEndpointCommand,
|
|
1334
|
-
CreateWebFunctionRevisionCommand,
|
|
1335
|
-
DeleteResourcePolicyCommand,
|
|
1336
|
-
DeleteWebFunctionCommand,
|
|
1337
|
-
DeleteWebFunctionEndpointCommand,
|
|
1338
|
-
DeleteWebFunctionRevisionCommand,
|
|
1339
|
-
GetResourcePolicyCommand,
|
|
1340
420
|
GetWebAccountSettingsCommand,
|
|
1341
|
-
GetWebFunctionCommand,
|
|
1342
|
-
GetWebFunctionEndpointCommand,
|
|
1343
|
-
GetWebFunctionRevisionCommand,
|
|
1344
|
-
ListTagsCommand,
|
|
1345
|
-
ListWebFunctionEndpointsCommand,
|
|
1346
|
-
ListWebFunctionRevisionsCommand,
|
|
1347
|
-
ListWebFunctionsCommand,
|
|
1348
|
-
PutResourcePolicyCommand,
|
|
1349
|
-
TagResourceCommand,
|
|
1350
|
-
UntagResourceCommand,
|
|
1351
|
-
UpdateWebFunctionEndpointCommand,
|
|
1352
|
-
};
|
|
1353
|
-
const paginators = {
|
|
1354
|
-
paginateListWebFunctionEndpoints,
|
|
1355
|
-
paginateListWebFunctionRevisions,
|
|
1356
|
-
paginateListWebFunctions,
|
|
1357
|
-
};
|
|
1358
|
-
const waiters = {
|
|
1359
|
-
waitUntilWebFunctionActive,
|
|
1360
|
-
waitUntilWebFunctionDeleted,
|
|
1361
|
-
waitUntilWebFunctionEndpointActive,
|
|
1362
|
-
waitUntilWebFunctionEndpointDeleted,
|
|
1363
|
-
waitUntilWebFunctionEndpointUpdated,
|
|
1364
|
-
waitUntilWebFunctionRevisionActive,
|
|
1365
421
|
};
|
|
1366
422
|
class LambdaWeb extends LambdaWebClient {
|
|
1367
423
|
}
|
|
1368
|
-
createAggregatedClient(commands, LambdaWeb
|
|
1369
|
-
|
|
1370
|
-
const ApplicationLogLevel = {
|
|
1371
|
-
DEBUG: "DEBUG",
|
|
1372
|
-
ERROR: "ERROR",
|
|
1373
|
-
FATAL: "FATAL",
|
|
1374
|
-
INFO: "INFO",
|
|
1375
|
-
TRACE: "TRACE",
|
|
1376
|
-
WARN: "WARN",
|
|
1377
|
-
};
|
|
1378
|
-
const AuthType = {
|
|
1379
|
-
APPLICATION_MANAGED: "ApplicationManaged",
|
|
1380
|
-
IAM_AUTH: "IamAuth",
|
|
1381
|
-
};
|
|
1382
|
-
const AutoDeploymentMode = {
|
|
1383
|
-
DISABLED: "Disabled",
|
|
1384
|
-
LATEST_REVISION: "LatestRevision",
|
|
1385
|
-
};
|
|
1386
|
-
const EndpointType = {
|
|
1387
|
-
HOME_REGION: "HomeRegion",
|
|
1388
|
-
MULTI_REGION: "MultiRegion",
|
|
1389
|
-
PER_REGION: "PerRegion",
|
|
1390
|
-
};
|
|
1391
|
-
const SystemLogLevel = {
|
|
1392
|
-
DEBUG: "DEBUG",
|
|
1393
|
-
INFO: "INFO",
|
|
1394
|
-
WARN: "WARN",
|
|
1395
|
-
};
|
|
1396
|
-
const EndpointState = {
|
|
1397
|
-
ACTIVE: "Active",
|
|
1398
|
-
DELETING: "Deleting",
|
|
1399
|
-
FAILED: "Failed",
|
|
1400
|
-
PENDING: "Pending",
|
|
1401
|
-
};
|
|
1402
|
-
const EndpointUpdateStatus = {
|
|
1403
|
-
FAILED: "Failed",
|
|
1404
|
-
IN_PROGRESS: "InProgress",
|
|
1405
|
-
SUCCESSFUL: "Successful",
|
|
1406
|
-
};
|
|
1407
|
-
const RevisionState = {
|
|
1408
|
-
ACTIVE: "Active",
|
|
1409
|
-
FAILED: "Failed",
|
|
1410
|
-
PENDING: "Pending",
|
|
1411
|
-
};
|
|
1412
|
-
const FunctionState = {
|
|
1413
|
-
ACTIVE: "Active",
|
|
1414
|
-
DELETING: "Deleting",
|
|
1415
|
-
FAILED: "Failed",
|
|
1416
|
-
PENDING: "Pending",
|
|
1417
|
-
};
|
|
424
|
+
createAggregatedClient(commands, LambdaWeb);
|
|
1418
425
|
|
|
1419
426
|
exports.AccessDeniedException = AccessDeniedException;
|
|
1420
427
|
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1421
428
|
exports.AccountQuotas$ = AccountQuotas$;
|
|
1422
429
|
exports.AccountUsage$ = AccountUsage$;
|
|
1423
|
-
exports.ApplicationLogLevel = ApplicationLogLevel;
|
|
1424
|
-
exports.AuthType = AuthType;
|
|
1425
|
-
exports.AutoDeploymentMode = AutoDeploymentMode;
|
|
1426
|
-
exports.BuildConfig$ = BuildConfig$;
|
|
1427
|
-
exports.CodeConfig$ = CodeConfig$;
|
|
1428
|
-
exports.ConflictException = ConflictException;
|
|
1429
|
-
exports.ConflictException$ = ConflictException$;
|
|
1430
|
-
exports.CreateWebFunction$ = CreateWebFunction$;
|
|
1431
|
-
exports.CreateWebFunctionCommand = CreateWebFunctionCommand;
|
|
1432
|
-
exports.CreateWebFunctionEndpoint$ = CreateWebFunctionEndpoint$;
|
|
1433
|
-
exports.CreateWebFunctionEndpointCommand = CreateWebFunctionEndpointCommand;
|
|
1434
|
-
exports.CreateWebFunctionEndpointRequest$ = CreateWebFunctionEndpointRequest$;
|
|
1435
|
-
exports.CreateWebFunctionEndpointResponse$ = CreateWebFunctionEndpointResponse$;
|
|
1436
|
-
exports.CreateWebFunctionRequest$ = CreateWebFunctionRequest$;
|
|
1437
|
-
exports.CreateWebFunctionResponse$ = CreateWebFunctionResponse$;
|
|
1438
|
-
exports.CreateWebFunctionRevision$ = CreateWebFunctionRevision$;
|
|
1439
|
-
exports.CreateWebFunctionRevisionCommand = CreateWebFunctionRevisionCommand;
|
|
1440
|
-
exports.CreateWebFunctionRevisionRequest$ = CreateWebFunctionRevisionRequest$;
|
|
1441
|
-
exports.CreateWebFunctionRevisionResponse$ = CreateWebFunctionRevisionResponse$;
|
|
1442
|
-
exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
|
|
1443
|
-
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
1444
|
-
exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
|
|
1445
|
-
exports.DeleteWebFunction$ = DeleteWebFunction$;
|
|
1446
|
-
exports.DeleteWebFunctionCommand = DeleteWebFunctionCommand;
|
|
1447
|
-
exports.DeleteWebFunctionEndpoint$ = DeleteWebFunctionEndpoint$;
|
|
1448
|
-
exports.DeleteWebFunctionEndpointCommand = DeleteWebFunctionEndpointCommand;
|
|
1449
|
-
exports.DeleteWebFunctionEndpointRequest$ = DeleteWebFunctionEndpointRequest$;
|
|
1450
|
-
exports.DeleteWebFunctionRequest$ = DeleteWebFunctionRequest$;
|
|
1451
|
-
exports.DeleteWebFunctionRevision$ = DeleteWebFunctionRevision$;
|
|
1452
|
-
exports.DeleteWebFunctionRevisionCommand = DeleteWebFunctionRevisionCommand;
|
|
1453
|
-
exports.DeleteWebFunctionRevisionRequest$ = DeleteWebFunctionRevisionRequest$;
|
|
1454
|
-
exports.EndpointConfig$ = EndpointConfig$;
|
|
1455
|
-
exports.EndpointState = EndpointState;
|
|
1456
|
-
exports.EndpointType = EndpointType;
|
|
1457
|
-
exports.EndpointUpdateStatus = EndpointUpdateStatus;
|
|
1458
|
-
exports.Filter$ = Filter$;
|
|
1459
|
-
exports.FunctionEndpointSummary$ = FunctionEndpointSummary$;
|
|
1460
|
-
exports.FunctionRevisionSummary$ = FunctionRevisionSummary$;
|
|
1461
|
-
exports.FunctionState = FunctionState;
|
|
1462
|
-
exports.FunctionSummary$ = FunctionSummary$;
|
|
1463
|
-
exports.GetResourcePolicy$ = GetResourcePolicy$;
|
|
1464
|
-
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
1465
|
-
exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
|
|
1466
|
-
exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
|
|
1467
430
|
exports.GetWebAccountSettings$ = GetWebAccountSettings$;
|
|
1468
431
|
exports.GetWebAccountSettingsCommand = GetWebAccountSettingsCommand;
|
|
1469
432
|
exports.GetWebAccountSettingsRequest$ = GetWebAccountSettingsRequest$;
|
|
1470
433
|
exports.GetWebAccountSettingsResponse$ = GetWebAccountSettingsResponse$;
|
|
1471
|
-
exports.GetWebFunction$ = GetWebFunction$;
|
|
1472
|
-
exports.GetWebFunctionCommand = GetWebFunctionCommand;
|
|
1473
|
-
exports.GetWebFunctionEndpoint$ = GetWebFunctionEndpoint$;
|
|
1474
|
-
exports.GetWebFunctionEndpointCommand = GetWebFunctionEndpointCommand;
|
|
1475
|
-
exports.GetWebFunctionEndpointRequest$ = GetWebFunctionEndpointRequest$;
|
|
1476
|
-
exports.GetWebFunctionEndpointResponse$ = GetWebFunctionEndpointResponse$;
|
|
1477
|
-
exports.GetWebFunctionRequest$ = GetWebFunctionRequest$;
|
|
1478
|
-
exports.GetWebFunctionResponse$ = GetWebFunctionResponse$;
|
|
1479
|
-
exports.GetWebFunctionRevision$ = GetWebFunctionRevision$;
|
|
1480
|
-
exports.GetWebFunctionRevisionCommand = GetWebFunctionRevisionCommand;
|
|
1481
|
-
exports.GetWebFunctionRevisionRequest$ = GetWebFunctionRevisionRequest$;
|
|
1482
|
-
exports.GetWebFunctionRevisionResponse$ = GetWebFunctionRevisionResponse$;
|
|
1483
434
|
exports.InternalServerException = InternalServerException;
|
|
1484
435
|
exports.InternalServerException$ = InternalServerException$;
|
|
1485
436
|
exports.LambdaWeb = LambdaWeb;
|
|
1486
437
|
exports.LambdaWebClient = LambdaWebClient;
|
|
1487
438
|
exports.LambdaWebServiceException = LambdaWebServiceException;
|
|
1488
439
|
exports.LambdaWebServiceException$ = LambdaWebServiceException$;
|
|
1489
|
-
exports.ListTags$ = ListTags$;
|
|
1490
|
-
exports.ListTagsCommand = ListTagsCommand;
|
|
1491
|
-
exports.ListTagsRequest$ = ListTagsRequest$;
|
|
1492
|
-
exports.ListTagsResponse$ = ListTagsResponse$;
|
|
1493
|
-
exports.ListWebFunctionEndpoints$ = ListWebFunctionEndpoints$;
|
|
1494
|
-
exports.ListWebFunctionEndpointsCommand = ListWebFunctionEndpointsCommand;
|
|
1495
|
-
exports.ListWebFunctionEndpointsRequest$ = ListWebFunctionEndpointsRequest$;
|
|
1496
|
-
exports.ListWebFunctionEndpointsResponse$ = ListWebFunctionEndpointsResponse$;
|
|
1497
|
-
exports.ListWebFunctionRevisions$ = ListWebFunctionRevisions$;
|
|
1498
|
-
exports.ListWebFunctionRevisionsCommand = ListWebFunctionRevisionsCommand;
|
|
1499
|
-
exports.ListWebFunctionRevisionsRequest$ = ListWebFunctionRevisionsRequest$;
|
|
1500
|
-
exports.ListWebFunctionRevisionsResponse$ = ListWebFunctionRevisionsResponse$;
|
|
1501
|
-
exports.ListWebFunctions$ = ListWebFunctions$;
|
|
1502
|
-
exports.ListWebFunctionsCommand = ListWebFunctionsCommand;
|
|
1503
|
-
exports.ListWebFunctionsRequest$ = ListWebFunctionsRequest$;
|
|
1504
|
-
exports.ListWebFunctionsResponse$ = ListWebFunctionsResponse$;
|
|
1505
|
-
exports.LoggingConfig$ = LoggingConfig$;
|
|
1506
|
-
exports.PutResourcePolicy$ = PutResourcePolicy$;
|
|
1507
|
-
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
1508
|
-
exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
|
|
1509
|
-
exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
|
|
1510
|
-
exports.RegionalEndpoint$ = RegionalEndpoint$;
|
|
1511
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1512
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1513
|
-
exports.RevisionConfig$ = RevisionConfig$;
|
|
1514
|
-
exports.RevisionError$ = RevisionError$;
|
|
1515
|
-
exports.RevisionState = RevisionState;
|
|
1516
|
-
exports.RevisionWeight$ = RevisionWeight$;
|
|
1517
|
-
exports.RuntimeConfig$ = RuntimeConfig$;
|
|
1518
|
-
exports.S3Object$ = S3Object$;
|
|
1519
|
-
exports.ScalingConfig$ = ScalingConfig$;
|
|
1520
|
-
exports.ServiceConfig$ = ServiceConfig$;
|
|
1521
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1522
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1523
|
-
exports.SystemLogLevel = SystemLogLevel;
|
|
1524
|
-
exports.TagResource$ = TagResource$;
|
|
1525
|
-
exports.TagResourceCommand = TagResourceCommand;
|
|
1526
|
-
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1527
|
-
exports.TelemetryConfig$ = TelemetryConfig$;
|
|
1528
|
-
exports.ThrottleConfig$ = ThrottleConfig$;
|
|
1529
440
|
exports.ThrottlingException = ThrottlingException;
|
|
1530
441
|
exports.ThrottlingException$ = ThrottlingException$;
|
|
1531
|
-
exports.UntagResource$ = UntagResource$;
|
|
1532
|
-
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1533
|
-
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1534
|
-
exports.UpdateWebFunctionEndpoint$ = UpdateWebFunctionEndpoint$;
|
|
1535
|
-
exports.UpdateWebFunctionEndpointCommand = UpdateWebFunctionEndpointCommand;
|
|
1536
|
-
exports.UpdateWebFunctionEndpointRequest$ = UpdateWebFunctionEndpointRequest$;
|
|
1537
|
-
exports.UpdateWebFunctionEndpointResponse$ = UpdateWebFunctionEndpointResponse$;
|
|
1538
|
-
exports.ValidationException = ValidationException;
|
|
1539
|
-
exports.ValidationException$ = ValidationException$;
|
|
1540
442
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
1541
|
-
exports.paginateListWebFunctionEndpoints = paginateListWebFunctionEndpoints;
|
|
1542
|
-
exports.paginateListWebFunctionRevisions = paginateListWebFunctionRevisions;
|
|
1543
|
-
exports.paginateListWebFunctions = paginateListWebFunctions;
|
|
1544
|
-
exports.waitForWebFunctionActive = waitForWebFunctionActive;
|
|
1545
|
-
exports.waitForWebFunctionDeleted = waitForWebFunctionDeleted;
|
|
1546
|
-
exports.waitForWebFunctionEndpointActive = waitForWebFunctionEndpointActive;
|
|
1547
|
-
exports.waitForWebFunctionEndpointDeleted = waitForWebFunctionEndpointDeleted;
|
|
1548
|
-
exports.waitForWebFunctionEndpointUpdated = waitForWebFunctionEndpointUpdated;
|
|
1549
|
-
exports.waitForWebFunctionRevisionActive = waitForWebFunctionRevisionActive;
|
|
1550
|
-
exports.waitUntilWebFunctionActive = waitUntilWebFunctionActive;
|
|
1551
|
-
exports.waitUntilWebFunctionDeleted = waitUntilWebFunctionDeleted;
|
|
1552
|
-
exports.waitUntilWebFunctionEndpointActive = waitUntilWebFunctionEndpointActive;
|
|
1553
|
-
exports.waitUntilWebFunctionEndpointDeleted = waitUntilWebFunctionEndpointDeleted;
|
|
1554
|
-
exports.waitUntilWebFunctionEndpointUpdated = waitUntilWebFunctionEndpointUpdated;
|
|
1555
|
-
exports.waitUntilWebFunctionRevisionActive = waitUntilWebFunctionRevisionActive;
|