@aws-sdk/client-synthetics 3.716.0 → 3.723.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/dist-cjs/index.js +171 -123
- package/dist-es/SyntheticsClient.js +1 -0
- package/dist-es/models/models_0.js +30 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -169,7 +169,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
169
169
|
}, "resolveRuntimeExtensions");
|
|
170
170
|
|
|
171
171
|
// src/SyntheticsClient.ts
|
|
172
|
-
var
|
|
172
|
+
var SyntheticsClient = class extends import_smithy_client.Client {
|
|
173
|
+
static {
|
|
174
|
+
__name(this, "SyntheticsClient");
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* The resolved configuration of SyntheticsClient class. This is resolved and normalized from the {@link SyntheticsClientConfig | constructor configuration interface}.
|
|
178
|
+
*/
|
|
179
|
+
config;
|
|
173
180
|
constructor(...[configuration]) {
|
|
174
181
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
175
182
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -179,7 +186,7 @@ var _SyntheticsClient = class _SyntheticsClient extends import_smithy_client.Cli
|
|
|
179
186
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
180
187
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
181
188
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
182
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
189
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
183
190
|
super(_config_8);
|
|
184
191
|
this.config = _config_8;
|
|
185
192
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -207,8 +214,6 @@ var _SyntheticsClient = class _SyntheticsClient extends import_smithy_client.Cli
|
|
|
207
214
|
super.destroy();
|
|
208
215
|
}
|
|
209
216
|
};
|
|
210
|
-
__name(_SyntheticsClient, "SyntheticsClient");
|
|
211
|
-
var SyntheticsClient = _SyntheticsClient;
|
|
212
217
|
|
|
213
218
|
// src/Synthetics.ts
|
|
214
219
|
|
|
@@ -225,7 +230,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
225
230
|
|
|
226
231
|
// src/models/SyntheticsServiceException.ts
|
|
227
232
|
|
|
228
|
-
var
|
|
233
|
+
var SyntheticsServiceException = class _SyntheticsServiceException extends import_smithy_client.ServiceException {
|
|
234
|
+
static {
|
|
235
|
+
__name(this, "SyntheticsServiceException");
|
|
236
|
+
}
|
|
229
237
|
/**
|
|
230
238
|
* @internal
|
|
231
239
|
*/
|
|
@@ -234,15 +242,19 @@ var _SyntheticsServiceException = class _SyntheticsServiceException extends impo
|
|
|
234
242
|
Object.setPrototypeOf(this, _SyntheticsServiceException.prototype);
|
|
235
243
|
}
|
|
236
244
|
};
|
|
237
|
-
__name(_SyntheticsServiceException, "SyntheticsServiceException");
|
|
238
|
-
var SyntheticsServiceException = _SyntheticsServiceException;
|
|
239
245
|
|
|
240
246
|
// src/models/models_0.ts
|
|
241
247
|
var EncryptionMode = {
|
|
242
248
|
SSE_KMS: "SSE_KMS",
|
|
243
249
|
SSE_S3: "SSE_S3"
|
|
244
250
|
};
|
|
245
|
-
var
|
|
251
|
+
var ConflictException = class _ConflictException extends SyntheticsServiceException {
|
|
252
|
+
static {
|
|
253
|
+
__name(this, "ConflictException");
|
|
254
|
+
}
|
|
255
|
+
name = "ConflictException";
|
|
256
|
+
$fault = "client";
|
|
257
|
+
Message;
|
|
246
258
|
/**
|
|
247
259
|
* @internal
|
|
248
260
|
*/
|
|
@@ -252,15 +264,17 @@ var _ConflictException = class _ConflictException extends SyntheticsServiceExcep
|
|
|
252
264
|
$fault: "client",
|
|
253
265
|
...opts
|
|
254
266
|
});
|
|
255
|
-
this.name = "ConflictException";
|
|
256
|
-
this.$fault = "client";
|
|
257
267
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
258
268
|
this.Message = opts.Message;
|
|
259
269
|
}
|
|
260
270
|
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
271
|
+
var InternalServerException = class _InternalServerException extends SyntheticsServiceException {
|
|
272
|
+
static {
|
|
273
|
+
__name(this, "InternalServerException");
|
|
274
|
+
}
|
|
275
|
+
name = "InternalServerException";
|
|
276
|
+
$fault = "server";
|
|
277
|
+
Message;
|
|
264
278
|
/**
|
|
265
279
|
* @internal
|
|
266
280
|
*/
|
|
@@ -270,15 +284,17 @@ var _InternalServerException = class _InternalServerException extends Synthetics
|
|
|
270
284
|
$fault: "server",
|
|
271
285
|
...opts
|
|
272
286
|
});
|
|
273
|
-
this.name = "InternalServerException";
|
|
274
|
-
this.$fault = "server";
|
|
275
287
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
276
288
|
this.Message = opts.Message;
|
|
277
289
|
}
|
|
278
290
|
};
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
291
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends SyntheticsServiceException {
|
|
292
|
+
static {
|
|
293
|
+
__name(this, "ResourceNotFoundException");
|
|
294
|
+
}
|
|
295
|
+
name = "ResourceNotFoundException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
Message;
|
|
282
298
|
/**
|
|
283
299
|
* @internal
|
|
284
300
|
*/
|
|
@@ -288,15 +304,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Synthe
|
|
|
288
304
|
$fault: "client",
|
|
289
305
|
...opts
|
|
290
306
|
});
|
|
291
|
-
this.name = "ResourceNotFoundException";
|
|
292
|
-
this.$fault = "client";
|
|
293
307
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
294
308
|
this.Message = opts.Message;
|
|
295
309
|
}
|
|
296
310
|
};
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
311
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SyntheticsServiceException {
|
|
312
|
+
static {
|
|
313
|
+
__name(this, "ServiceQuotaExceededException");
|
|
314
|
+
}
|
|
315
|
+
name = "ServiceQuotaExceededException";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
Message;
|
|
300
318
|
/**
|
|
301
319
|
* @internal
|
|
302
320
|
*/
|
|
@@ -306,15 +324,17 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
306
324
|
$fault: "client",
|
|
307
325
|
...opts
|
|
308
326
|
});
|
|
309
|
-
this.name = "ServiceQuotaExceededException";
|
|
310
|
-
this.$fault = "client";
|
|
311
327
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
312
328
|
this.Message = opts.Message;
|
|
313
329
|
}
|
|
314
330
|
};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
331
|
+
var ValidationException = class _ValidationException extends SyntheticsServiceException {
|
|
332
|
+
static {
|
|
333
|
+
__name(this, "ValidationException");
|
|
334
|
+
}
|
|
335
|
+
name = "ValidationException";
|
|
336
|
+
$fault = "client";
|
|
337
|
+
Message;
|
|
318
338
|
/**
|
|
319
339
|
* @internal
|
|
320
340
|
*/
|
|
@@ -324,15 +344,17 @@ var _ValidationException = class _ValidationException extends SyntheticsServiceE
|
|
|
324
344
|
$fault: "client",
|
|
325
345
|
...opts
|
|
326
346
|
});
|
|
327
|
-
this.name = "ValidationException";
|
|
328
|
-
this.$fault = "client";
|
|
329
347
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
330
348
|
this.Message = opts.Message;
|
|
331
349
|
}
|
|
332
350
|
};
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
351
|
+
var BadRequestException = class _BadRequestException extends SyntheticsServiceException {
|
|
352
|
+
static {
|
|
353
|
+
__name(this, "BadRequestException");
|
|
354
|
+
}
|
|
355
|
+
name = "BadRequestException";
|
|
356
|
+
$fault = "client";
|
|
357
|
+
Message;
|
|
336
358
|
/**
|
|
337
359
|
* @internal
|
|
338
360
|
*/
|
|
@@ -342,14 +364,10 @@ var _BadRequestException = class _BadRequestException extends SyntheticsServiceE
|
|
|
342
364
|
$fault: "client",
|
|
343
365
|
...opts
|
|
344
366
|
});
|
|
345
|
-
this.name = "BadRequestException";
|
|
346
|
-
this.$fault = "client";
|
|
347
367
|
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
348
368
|
this.Message = opts.Message;
|
|
349
369
|
}
|
|
350
370
|
};
|
|
351
|
-
__name(_BadRequestException, "BadRequestException");
|
|
352
|
-
var BadRequestException = _BadRequestException;
|
|
353
371
|
var ProvisionedResourceCleanupSetting = {
|
|
354
372
|
AUTOMATIC: "AUTOMATIC",
|
|
355
373
|
OFF: "OFF"
|
|
@@ -391,7 +409,13 @@ var CanaryRunStateReasonCode = {
|
|
|
391
409
|
var ResourceToTag = {
|
|
392
410
|
LAMBDA_FUNCTION: "lambda-function"
|
|
393
411
|
};
|
|
394
|
-
var
|
|
412
|
+
var RequestEntityTooLargeException = class _RequestEntityTooLargeException extends SyntheticsServiceException {
|
|
413
|
+
static {
|
|
414
|
+
__name(this, "RequestEntityTooLargeException");
|
|
415
|
+
}
|
|
416
|
+
name = "RequestEntityTooLargeException";
|
|
417
|
+
$fault = "client";
|
|
418
|
+
Message;
|
|
395
419
|
/**
|
|
396
420
|
* @internal
|
|
397
421
|
*/
|
|
@@ -401,15 +425,17 @@ var _RequestEntityTooLargeException = class _RequestEntityTooLargeException exte
|
|
|
401
425
|
$fault: "client",
|
|
402
426
|
...opts
|
|
403
427
|
});
|
|
404
|
-
this.name = "RequestEntityTooLargeException";
|
|
405
|
-
this.$fault = "client";
|
|
406
428
|
Object.setPrototypeOf(this, _RequestEntityTooLargeException.prototype);
|
|
407
429
|
this.Message = opts.Message;
|
|
408
430
|
}
|
|
409
431
|
};
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
432
|
+
var InternalFailureException = class _InternalFailureException extends SyntheticsServiceException {
|
|
433
|
+
static {
|
|
434
|
+
__name(this, "InternalFailureException");
|
|
435
|
+
}
|
|
436
|
+
name = "InternalFailureException";
|
|
437
|
+
$fault = "server";
|
|
438
|
+
Message;
|
|
413
439
|
/**
|
|
414
440
|
* @internal
|
|
415
441
|
*/
|
|
@@ -419,15 +445,17 @@ var _InternalFailureException = class _InternalFailureException extends Syntheti
|
|
|
419
445
|
$fault: "server",
|
|
420
446
|
...opts
|
|
421
447
|
});
|
|
422
|
-
this.name = "InternalFailureException";
|
|
423
|
-
this.$fault = "server";
|
|
424
448
|
Object.setPrototypeOf(this, _InternalFailureException.prototype);
|
|
425
449
|
this.Message = opts.Message;
|
|
426
450
|
}
|
|
427
451
|
};
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
452
|
+
var NotFoundException = class _NotFoundException extends SyntheticsServiceException {
|
|
453
|
+
static {
|
|
454
|
+
__name(this, "NotFoundException");
|
|
455
|
+
}
|
|
456
|
+
name = "NotFoundException";
|
|
457
|
+
$fault = "client";
|
|
458
|
+
Message;
|
|
431
459
|
/**
|
|
432
460
|
* @internal
|
|
433
461
|
*/
|
|
@@ -437,15 +465,17 @@ var _NotFoundException = class _NotFoundException extends SyntheticsServiceExcep
|
|
|
437
465
|
$fault: "client",
|
|
438
466
|
...opts
|
|
439
467
|
});
|
|
440
|
-
this.name = "NotFoundException";
|
|
441
|
-
this.$fault = "client";
|
|
442
468
|
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
443
469
|
this.Message = opts.Message;
|
|
444
470
|
}
|
|
445
471
|
};
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
472
|
+
var TooManyRequestsException = class _TooManyRequestsException extends SyntheticsServiceException {
|
|
473
|
+
static {
|
|
474
|
+
__name(this, "TooManyRequestsException");
|
|
475
|
+
}
|
|
476
|
+
name = "TooManyRequestsException";
|
|
477
|
+
$fault = "client";
|
|
478
|
+
Message;
|
|
449
479
|
/**
|
|
450
480
|
* @internal
|
|
451
481
|
*/
|
|
@@ -455,14 +485,10 @@ var _TooManyRequestsException = class _TooManyRequestsException extends Syntheti
|
|
|
455
485
|
$fault: "client",
|
|
456
486
|
...opts
|
|
457
487
|
});
|
|
458
|
-
this.name = "TooManyRequestsException";
|
|
459
|
-
this.$fault = "client";
|
|
460
488
|
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
461
489
|
this.Message = opts.Message;
|
|
462
490
|
}
|
|
463
491
|
};
|
|
464
|
-
__name(_TooManyRequestsException, "TooManyRequestsException");
|
|
465
|
-
var TooManyRequestsException = _TooManyRequestsException;
|
|
466
492
|
|
|
467
493
|
// src/protocols/Aws_restJson1.ts
|
|
468
494
|
var se_AssociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1335,295 +1361,316 @@ var _dL = "deleteLambda";
|
|
|
1335
1361
|
var _tK = "tagKeys";
|
|
1336
1362
|
|
|
1337
1363
|
// src/commands/AssociateResourceCommand.ts
|
|
1338
|
-
var
|
|
1364
|
+
var AssociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1339
1365
|
return [
|
|
1340
1366
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1341
1367
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1342
1368
|
];
|
|
1343
1369
|
}).s("Synthetics", "AssociateResource", {}).n("SyntheticsClient", "AssociateResourceCommand").f(void 0, void 0).ser(se_AssociateResourceCommand).de(de_AssociateResourceCommand).build() {
|
|
1370
|
+
static {
|
|
1371
|
+
__name(this, "AssociateResourceCommand");
|
|
1372
|
+
}
|
|
1344
1373
|
};
|
|
1345
|
-
__name(_AssociateResourceCommand, "AssociateResourceCommand");
|
|
1346
|
-
var AssociateResourceCommand = _AssociateResourceCommand;
|
|
1347
1374
|
|
|
1348
1375
|
// src/commands/CreateCanaryCommand.ts
|
|
1349
1376
|
|
|
1350
1377
|
|
|
1351
1378
|
|
|
1352
|
-
var
|
|
1379
|
+
var CreateCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1353
1380
|
return [
|
|
1354
1381
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1355
1382
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1356
1383
|
];
|
|
1357
1384
|
}).s("Synthetics", "CreateCanary", {}).n("SyntheticsClient", "CreateCanaryCommand").f(void 0, void 0).ser(se_CreateCanaryCommand).de(de_CreateCanaryCommand).build() {
|
|
1385
|
+
static {
|
|
1386
|
+
__name(this, "CreateCanaryCommand");
|
|
1387
|
+
}
|
|
1358
1388
|
};
|
|
1359
|
-
__name(_CreateCanaryCommand, "CreateCanaryCommand");
|
|
1360
|
-
var CreateCanaryCommand = _CreateCanaryCommand;
|
|
1361
1389
|
|
|
1362
1390
|
// src/commands/CreateGroupCommand.ts
|
|
1363
1391
|
|
|
1364
1392
|
|
|
1365
1393
|
|
|
1366
|
-
var
|
|
1394
|
+
var CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1367
1395
|
return [
|
|
1368
1396
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1369
1397
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1370
1398
|
];
|
|
1371
1399
|
}).s("Synthetics", "CreateGroup", {}).n("SyntheticsClient", "CreateGroupCommand").f(void 0, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() {
|
|
1400
|
+
static {
|
|
1401
|
+
__name(this, "CreateGroupCommand");
|
|
1402
|
+
}
|
|
1372
1403
|
};
|
|
1373
|
-
__name(_CreateGroupCommand, "CreateGroupCommand");
|
|
1374
|
-
var CreateGroupCommand = _CreateGroupCommand;
|
|
1375
1404
|
|
|
1376
1405
|
// src/commands/DeleteCanaryCommand.ts
|
|
1377
1406
|
|
|
1378
1407
|
|
|
1379
1408
|
|
|
1380
|
-
var
|
|
1409
|
+
var DeleteCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1381
1410
|
return [
|
|
1382
1411
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1383
1412
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1384
1413
|
];
|
|
1385
1414
|
}).s("Synthetics", "DeleteCanary", {}).n("SyntheticsClient", "DeleteCanaryCommand").f(void 0, void 0).ser(se_DeleteCanaryCommand).de(de_DeleteCanaryCommand).build() {
|
|
1415
|
+
static {
|
|
1416
|
+
__name(this, "DeleteCanaryCommand");
|
|
1417
|
+
}
|
|
1386
1418
|
};
|
|
1387
|
-
__name(_DeleteCanaryCommand, "DeleteCanaryCommand");
|
|
1388
|
-
var DeleteCanaryCommand = _DeleteCanaryCommand;
|
|
1389
1419
|
|
|
1390
1420
|
// src/commands/DeleteGroupCommand.ts
|
|
1391
1421
|
|
|
1392
1422
|
|
|
1393
1423
|
|
|
1394
|
-
var
|
|
1424
|
+
var DeleteGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1395
1425
|
return [
|
|
1396
1426
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1397
1427
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1398
1428
|
];
|
|
1399
1429
|
}).s("Synthetics", "DeleteGroup", {}).n("SyntheticsClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() {
|
|
1430
|
+
static {
|
|
1431
|
+
__name(this, "DeleteGroupCommand");
|
|
1432
|
+
}
|
|
1400
1433
|
};
|
|
1401
|
-
__name(_DeleteGroupCommand, "DeleteGroupCommand");
|
|
1402
|
-
var DeleteGroupCommand = _DeleteGroupCommand;
|
|
1403
1434
|
|
|
1404
1435
|
// src/commands/DescribeCanariesCommand.ts
|
|
1405
1436
|
|
|
1406
1437
|
|
|
1407
1438
|
|
|
1408
|
-
var
|
|
1439
|
+
var DescribeCanariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1409
1440
|
return [
|
|
1410
1441
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1411
1442
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1412
1443
|
];
|
|
1413
1444
|
}).s("Synthetics", "DescribeCanaries", {}).n("SyntheticsClient", "DescribeCanariesCommand").f(void 0, void 0).ser(se_DescribeCanariesCommand).de(de_DescribeCanariesCommand).build() {
|
|
1445
|
+
static {
|
|
1446
|
+
__name(this, "DescribeCanariesCommand");
|
|
1447
|
+
}
|
|
1414
1448
|
};
|
|
1415
|
-
__name(_DescribeCanariesCommand, "DescribeCanariesCommand");
|
|
1416
|
-
var DescribeCanariesCommand = _DescribeCanariesCommand;
|
|
1417
1449
|
|
|
1418
1450
|
// src/commands/DescribeCanariesLastRunCommand.ts
|
|
1419
1451
|
|
|
1420
1452
|
|
|
1421
1453
|
|
|
1422
|
-
var
|
|
1454
|
+
var DescribeCanariesLastRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1423
1455
|
return [
|
|
1424
1456
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1425
1457
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1426
1458
|
];
|
|
1427
1459
|
}).s("Synthetics", "DescribeCanariesLastRun", {}).n("SyntheticsClient", "DescribeCanariesLastRunCommand").f(void 0, void 0).ser(se_DescribeCanariesLastRunCommand).de(de_DescribeCanariesLastRunCommand).build() {
|
|
1460
|
+
static {
|
|
1461
|
+
__name(this, "DescribeCanariesLastRunCommand");
|
|
1462
|
+
}
|
|
1428
1463
|
};
|
|
1429
|
-
__name(_DescribeCanariesLastRunCommand, "DescribeCanariesLastRunCommand");
|
|
1430
|
-
var DescribeCanariesLastRunCommand = _DescribeCanariesLastRunCommand;
|
|
1431
1464
|
|
|
1432
1465
|
// src/commands/DescribeRuntimeVersionsCommand.ts
|
|
1433
1466
|
|
|
1434
1467
|
|
|
1435
1468
|
|
|
1436
|
-
var
|
|
1469
|
+
var DescribeRuntimeVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1437
1470
|
return [
|
|
1438
1471
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1439
1472
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1440
1473
|
];
|
|
1441
1474
|
}).s("Synthetics", "DescribeRuntimeVersions", {}).n("SyntheticsClient", "DescribeRuntimeVersionsCommand").f(void 0, void 0).ser(se_DescribeRuntimeVersionsCommand).de(de_DescribeRuntimeVersionsCommand).build() {
|
|
1475
|
+
static {
|
|
1476
|
+
__name(this, "DescribeRuntimeVersionsCommand");
|
|
1477
|
+
}
|
|
1442
1478
|
};
|
|
1443
|
-
__name(_DescribeRuntimeVersionsCommand, "DescribeRuntimeVersionsCommand");
|
|
1444
|
-
var DescribeRuntimeVersionsCommand = _DescribeRuntimeVersionsCommand;
|
|
1445
1479
|
|
|
1446
1480
|
// src/commands/DisassociateResourceCommand.ts
|
|
1447
1481
|
|
|
1448
1482
|
|
|
1449
1483
|
|
|
1450
|
-
var
|
|
1484
|
+
var DisassociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1451
1485
|
return [
|
|
1452
1486
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1453
1487
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1454
1488
|
];
|
|
1455
1489
|
}).s("Synthetics", "DisassociateResource", {}).n("SyntheticsClient", "DisassociateResourceCommand").f(void 0, void 0).ser(se_DisassociateResourceCommand).de(de_DisassociateResourceCommand).build() {
|
|
1490
|
+
static {
|
|
1491
|
+
__name(this, "DisassociateResourceCommand");
|
|
1492
|
+
}
|
|
1456
1493
|
};
|
|
1457
|
-
__name(_DisassociateResourceCommand, "DisassociateResourceCommand");
|
|
1458
|
-
var DisassociateResourceCommand = _DisassociateResourceCommand;
|
|
1459
1494
|
|
|
1460
1495
|
// src/commands/GetCanaryCommand.ts
|
|
1461
1496
|
|
|
1462
1497
|
|
|
1463
1498
|
|
|
1464
|
-
var
|
|
1499
|
+
var GetCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1465
1500
|
return [
|
|
1466
1501
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1467
1502
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1468
1503
|
];
|
|
1469
1504
|
}).s("Synthetics", "GetCanary", {}).n("SyntheticsClient", "GetCanaryCommand").f(void 0, void 0).ser(se_GetCanaryCommand).de(de_GetCanaryCommand).build() {
|
|
1505
|
+
static {
|
|
1506
|
+
__name(this, "GetCanaryCommand");
|
|
1507
|
+
}
|
|
1470
1508
|
};
|
|
1471
|
-
__name(_GetCanaryCommand, "GetCanaryCommand");
|
|
1472
|
-
var GetCanaryCommand = _GetCanaryCommand;
|
|
1473
1509
|
|
|
1474
1510
|
// src/commands/GetCanaryRunsCommand.ts
|
|
1475
1511
|
|
|
1476
1512
|
|
|
1477
1513
|
|
|
1478
|
-
var
|
|
1514
|
+
var GetCanaryRunsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1479
1515
|
return [
|
|
1480
1516
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1481
1517
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1482
1518
|
];
|
|
1483
1519
|
}).s("Synthetics", "GetCanaryRuns", {}).n("SyntheticsClient", "GetCanaryRunsCommand").f(void 0, void 0).ser(se_GetCanaryRunsCommand).de(de_GetCanaryRunsCommand).build() {
|
|
1520
|
+
static {
|
|
1521
|
+
__name(this, "GetCanaryRunsCommand");
|
|
1522
|
+
}
|
|
1484
1523
|
};
|
|
1485
|
-
__name(_GetCanaryRunsCommand, "GetCanaryRunsCommand");
|
|
1486
|
-
var GetCanaryRunsCommand = _GetCanaryRunsCommand;
|
|
1487
1524
|
|
|
1488
1525
|
// src/commands/GetGroupCommand.ts
|
|
1489
1526
|
|
|
1490
1527
|
|
|
1491
1528
|
|
|
1492
|
-
var
|
|
1529
|
+
var GetGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1493
1530
|
return [
|
|
1494
1531
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1495
1532
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1496
1533
|
];
|
|
1497
1534
|
}).s("Synthetics", "GetGroup", {}).n("SyntheticsClient", "GetGroupCommand").f(void 0, void 0).ser(se_GetGroupCommand).de(de_GetGroupCommand).build() {
|
|
1535
|
+
static {
|
|
1536
|
+
__name(this, "GetGroupCommand");
|
|
1537
|
+
}
|
|
1498
1538
|
};
|
|
1499
|
-
__name(_GetGroupCommand, "GetGroupCommand");
|
|
1500
|
-
var GetGroupCommand = _GetGroupCommand;
|
|
1501
1539
|
|
|
1502
1540
|
// src/commands/ListAssociatedGroupsCommand.ts
|
|
1503
1541
|
|
|
1504
1542
|
|
|
1505
1543
|
|
|
1506
|
-
var
|
|
1544
|
+
var ListAssociatedGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1507
1545
|
return [
|
|
1508
1546
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1509
1547
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1510
1548
|
];
|
|
1511
1549
|
}).s("Synthetics", "ListAssociatedGroups", {}).n("SyntheticsClient", "ListAssociatedGroupsCommand").f(void 0, void 0).ser(se_ListAssociatedGroupsCommand).de(de_ListAssociatedGroupsCommand).build() {
|
|
1550
|
+
static {
|
|
1551
|
+
__name(this, "ListAssociatedGroupsCommand");
|
|
1552
|
+
}
|
|
1512
1553
|
};
|
|
1513
|
-
__name(_ListAssociatedGroupsCommand, "ListAssociatedGroupsCommand");
|
|
1514
|
-
var ListAssociatedGroupsCommand = _ListAssociatedGroupsCommand;
|
|
1515
1554
|
|
|
1516
1555
|
// src/commands/ListGroupResourcesCommand.ts
|
|
1517
1556
|
|
|
1518
1557
|
|
|
1519
1558
|
|
|
1520
|
-
var
|
|
1559
|
+
var ListGroupResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1521
1560
|
return [
|
|
1522
1561
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1523
1562
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1524
1563
|
];
|
|
1525
1564
|
}).s("Synthetics", "ListGroupResources", {}).n("SyntheticsClient", "ListGroupResourcesCommand").f(void 0, void 0).ser(se_ListGroupResourcesCommand).de(de_ListGroupResourcesCommand).build() {
|
|
1565
|
+
static {
|
|
1566
|
+
__name(this, "ListGroupResourcesCommand");
|
|
1567
|
+
}
|
|
1526
1568
|
};
|
|
1527
|
-
__name(_ListGroupResourcesCommand, "ListGroupResourcesCommand");
|
|
1528
|
-
var ListGroupResourcesCommand = _ListGroupResourcesCommand;
|
|
1529
1569
|
|
|
1530
1570
|
// src/commands/ListGroupsCommand.ts
|
|
1531
1571
|
|
|
1532
1572
|
|
|
1533
1573
|
|
|
1534
|
-
var
|
|
1574
|
+
var ListGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1535
1575
|
return [
|
|
1536
1576
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1537
1577
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1538
1578
|
];
|
|
1539
1579
|
}).s("Synthetics", "ListGroups", {}).n("SyntheticsClient", "ListGroupsCommand").f(void 0, void 0).ser(se_ListGroupsCommand).de(de_ListGroupsCommand).build() {
|
|
1580
|
+
static {
|
|
1581
|
+
__name(this, "ListGroupsCommand");
|
|
1582
|
+
}
|
|
1540
1583
|
};
|
|
1541
|
-
__name(_ListGroupsCommand, "ListGroupsCommand");
|
|
1542
|
-
var ListGroupsCommand = _ListGroupsCommand;
|
|
1543
1584
|
|
|
1544
1585
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1545
1586
|
|
|
1546
1587
|
|
|
1547
1588
|
|
|
1548
|
-
var
|
|
1589
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1549
1590
|
return [
|
|
1550
1591
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1551
1592
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1552
1593
|
];
|
|
1553
1594
|
}).s("Synthetics", "ListTagsForResource", {}).n("SyntheticsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1595
|
+
static {
|
|
1596
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1597
|
+
}
|
|
1554
1598
|
};
|
|
1555
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1556
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1557
1599
|
|
|
1558
1600
|
// src/commands/StartCanaryCommand.ts
|
|
1559
1601
|
|
|
1560
1602
|
|
|
1561
1603
|
|
|
1562
|
-
var
|
|
1604
|
+
var StartCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1563
1605
|
return [
|
|
1564
1606
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1565
1607
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1566
1608
|
];
|
|
1567
1609
|
}).s("Synthetics", "StartCanary", {}).n("SyntheticsClient", "StartCanaryCommand").f(void 0, void 0).ser(se_StartCanaryCommand).de(de_StartCanaryCommand).build() {
|
|
1610
|
+
static {
|
|
1611
|
+
__name(this, "StartCanaryCommand");
|
|
1612
|
+
}
|
|
1568
1613
|
};
|
|
1569
|
-
__name(_StartCanaryCommand, "StartCanaryCommand");
|
|
1570
|
-
var StartCanaryCommand = _StartCanaryCommand;
|
|
1571
1614
|
|
|
1572
1615
|
// src/commands/StopCanaryCommand.ts
|
|
1573
1616
|
|
|
1574
1617
|
|
|
1575
1618
|
|
|
1576
|
-
var
|
|
1619
|
+
var StopCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1577
1620
|
return [
|
|
1578
1621
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1579
1622
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1580
1623
|
];
|
|
1581
1624
|
}).s("Synthetics", "StopCanary", {}).n("SyntheticsClient", "StopCanaryCommand").f(void 0, void 0).ser(se_StopCanaryCommand).de(de_StopCanaryCommand).build() {
|
|
1625
|
+
static {
|
|
1626
|
+
__name(this, "StopCanaryCommand");
|
|
1627
|
+
}
|
|
1582
1628
|
};
|
|
1583
|
-
__name(_StopCanaryCommand, "StopCanaryCommand");
|
|
1584
|
-
var StopCanaryCommand = _StopCanaryCommand;
|
|
1585
1629
|
|
|
1586
1630
|
// src/commands/TagResourceCommand.ts
|
|
1587
1631
|
|
|
1588
1632
|
|
|
1589
1633
|
|
|
1590
|
-
var
|
|
1634
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1591
1635
|
return [
|
|
1592
1636
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1593
1637
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1594
1638
|
];
|
|
1595
1639
|
}).s("Synthetics", "TagResource", {}).n("SyntheticsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1640
|
+
static {
|
|
1641
|
+
__name(this, "TagResourceCommand");
|
|
1642
|
+
}
|
|
1596
1643
|
};
|
|
1597
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1598
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1599
1644
|
|
|
1600
1645
|
// src/commands/UntagResourceCommand.ts
|
|
1601
1646
|
|
|
1602
1647
|
|
|
1603
1648
|
|
|
1604
|
-
var
|
|
1649
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1605
1650
|
return [
|
|
1606
1651
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1607
1652
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1608
1653
|
];
|
|
1609
1654
|
}).s("Synthetics", "UntagResource", {}).n("SyntheticsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1655
|
+
static {
|
|
1656
|
+
__name(this, "UntagResourceCommand");
|
|
1657
|
+
}
|
|
1610
1658
|
};
|
|
1611
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1612
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1613
1659
|
|
|
1614
1660
|
// src/commands/UpdateCanaryCommand.ts
|
|
1615
1661
|
|
|
1616
1662
|
|
|
1617
1663
|
|
|
1618
|
-
var
|
|
1664
|
+
var UpdateCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1619
1665
|
return [
|
|
1620
1666
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1621
1667
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1622
1668
|
];
|
|
1623
1669
|
}).s("Synthetics", "UpdateCanary", {}).n("SyntheticsClient", "UpdateCanaryCommand").f(void 0, void 0).ser(se_UpdateCanaryCommand).de(de_UpdateCanaryCommand).build() {
|
|
1670
|
+
static {
|
|
1671
|
+
__name(this, "UpdateCanaryCommand");
|
|
1672
|
+
}
|
|
1624
1673
|
};
|
|
1625
|
-
__name(_UpdateCanaryCommand, "UpdateCanaryCommand");
|
|
1626
|
-
var UpdateCanaryCommand = _UpdateCanaryCommand;
|
|
1627
1674
|
|
|
1628
1675
|
// src/Synthetics.ts
|
|
1629
1676
|
var commands = {
|
|
@@ -1649,10 +1696,11 @@ var commands = {
|
|
|
1649
1696
|
UntagResourceCommand,
|
|
1650
1697
|
UpdateCanaryCommand
|
|
1651
1698
|
};
|
|
1652
|
-
var
|
|
1699
|
+
var Synthetics = class extends SyntheticsClient {
|
|
1700
|
+
static {
|
|
1701
|
+
__name(this, "Synthetics");
|
|
1702
|
+
}
|
|
1653
1703
|
};
|
|
1654
|
-
__name(_Synthetics, "Synthetics");
|
|
1655
|
-
var Synthetics = _Synthetics;
|
|
1656
1704
|
(0, import_smithy_client.createAggregatedClient)(commands, Synthetics);
|
|
1657
1705
|
|
|
1658
1706
|
// src/pagination/DescribeCanariesLastRunPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class SyntheticsClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -4,79 +4,85 @@ export const EncryptionMode = {
|
|
|
4
4
|
SSE_S3: "SSE_S3",
|
|
5
5
|
};
|
|
6
6
|
export class ConflictException extends __BaseException {
|
|
7
|
+
name = "ConflictException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
Message;
|
|
7
10
|
constructor(opts) {
|
|
8
11
|
super({
|
|
9
12
|
name: "ConflictException",
|
|
10
13
|
$fault: "client",
|
|
11
14
|
...opts,
|
|
12
15
|
});
|
|
13
|
-
this.name = "ConflictException";
|
|
14
|
-
this.$fault = "client";
|
|
15
16
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
16
17
|
this.Message = opts.Message;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
export class InternalServerException extends __BaseException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
20
24
|
constructor(opts) {
|
|
21
25
|
super({
|
|
22
26
|
name: "InternalServerException",
|
|
23
27
|
$fault: "server",
|
|
24
28
|
...opts,
|
|
25
29
|
});
|
|
26
|
-
this.name = "InternalServerException";
|
|
27
|
-
this.$fault = "server";
|
|
28
30
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
31
|
this.Message = opts.Message;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
export class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
name = "ResourceNotFoundException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Message;
|
|
33
38
|
constructor(opts) {
|
|
34
39
|
super({
|
|
35
40
|
name: "ResourceNotFoundException",
|
|
36
41
|
$fault: "client",
|
|
37
42
|
...opts,
|
|
38
43
|
});
|
|
39
|
-
this.name = "ResourceNotFoundException";
|
|
40
|
-
this.$fault = "client";
|
|
41
44
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
42
45
|
this.Message = opts.Message;
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
49
|
+
name = "ServiceQuotaExceededException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
Message;
|
|
46
52
|
constructor(opts) {
|
|
47
53
|
super({
|
|
48
54
|
name: "ServiceQuotaExceededException",
|
|
49
55
|
$fault: "client",
|
|
50
56
|
...opts,
|
|
51
57
|
});
|
|
52
|
-
this.name = "ServiceQuotaExceededException";
|
|
53
|
-
this.$fault = "client";
|
|
54
58
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
55
59
|
this.Message = opts.Message;
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ValidationException extends __BaseException {
|
|
63
|
+
name = "ValidationException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
Message;
|
|
59
66
|
constructor(opts) {
|
|
60
67
|
super({
|
|
61
68
|
name: "ValidationException",
|
|
62
69
|
$fault: "client",
|
|
63
70
|
...opts,
|
|
64
71
|
});
|
|
65
|
-
this.name = "ValidationException";
|
|
66
|
-
this.$fault = "client";
|
|
67
72
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
68
73
|
this.Message = opts.Message;
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
76
|
export class BadRequestException extends __BaseException {
|
|
77
|
+
name = "BadRequestException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
Message;
|
|
72
80
|
constructor(opts) {
|
|
73
81
|
super({
|
|
74
82
|
name: "BadRequestException",
|
|
75
83
|
$fault: "client",
|
|
76
84
|
...opts,
|
|
77
85
|
});
|
|
78
|
-
this.name = "BadRequestException";
|
|
79
|
-
this.$fault = "client";
|
|
80
86
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
81
87
|
this.Message = opts.Message;
|
|
82
88
|
}
|
|
@@ -123,53 +129,57 @@ export const ResourceToTag = {
|
|
|
123
129
|
LAMBDA_FUNCTION: "lambda-function",
|
|
124
130
|
};
|
|
125
131
|
export class RequestEntityTooLargeException extends __BaseException {
|
|
132
|
+
name = "RequestEntityTooLargeException";
|
|
133
|
+
$fault = "client";
|
|
134
|
+
Message;
|
|
126
135
|
constructor(opts) {
|
|
127
136
|
super({
|
|
128
137
|
name: "RequestEntityTooLargeException",
|
|
129
138
|
$fault: "client",
|
|
130
139
|
...opts,
|
|
131
140
|
});
|
|
132
|
-
this.name = "RequestEntityTooLargeException";
|
|
133
|
-
this.$fault = "client";
|
|
134
141
|
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
135
142
|
this.Message = opts.Message;
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
145
|
export class InternalFailureException extends __BaseException {
|
|
146
|
+
name = "InternalFailureException";
|
|
147
|
+
$fault = "server";
|
|
148
|
+
Message;
|
|
139
149
|
constructor(opts) {
|
|
140
150
|
super({
|
|
141
151
|
name: "InternalFailureException",
|
|
142
152
|
$fault: "server",
|
|
143
153
|
...opts,
|
|
144
154
|
});
|
|
145
|
-
this.name = "InternalFailureException";
|
|
146
|
-
this.$fault = "server";
|
|
147
155
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
148
156
|
this.Message = opts.Message;
|
|
149
157
|
}
|
|
150
158
|
}
|
|
151
159
|
export class NotFoundException extends __BaseException {
|
|
160
|
+
name = "NotFoundException";
|
|
161
|
+
$fault = "client";
|
|
162
|
+
Message;
|
|
152
163
|
constructor(opts) {
|
|
153
164
|
super({
|
|
154
165
|
name: "NotFoundException",
|
|
155
166
|
$fault: "client",
|
|
156
167
|
...opts,
|
|
157
168
|
});
|
|
158
|
-
this.name = "NotFoundException";
|
|
159
|
-
this.$fault = "client";
|
|
160
169
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
161
170
|
this.Message = opts.Message;
|
|
162
171
|
}
|
|
163
172
|
}
|
|
164
173
|
export class TooManyRequestsException extends __BaseException {
|
|
174
|
+
name = "TooManyRequestsException";
|
|
175
|
+
$fault = "client";
|
|
176
|
+
Message;
|
|
165
177
|
constructor(opts) {
|
|
166
178
|
super({
|
|
167
179
|
name: "TooManyRequestsException",
|
|
168
180
|
$fault: "client",
|
|
169
181
|
...opts,
|
|
170
182
|
});
|
|
171
|
-
this.name = "TooManyRequestsException";
|
|
172
|
-
this.$fault = "client";
|
|
173
183
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
174
184
|
this.Message = opts.Message;
|
|
175
185
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-synthetics",
|
|
3
3
|
"description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-synthetics",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|