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