@aws-sdk/client-synthetics 3.1077.0 → 3.1079.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist-cjs/index.js +30 -223
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateResourceCommand.js +2 -14
  4. package/dist-es/commands/CreateCanaryCommand.js +2 -14
  5. package/dist-es/commands/CreateGroupCommand.js +2 -14
  6. package/dist-es/commands/DeleteCanaryCommand.js +2 -14
  7. package/dist-es/commands/DeleteGroupCommand.js +2 -14
  8. package/dist-es/commands/DescribeCanariesCommand.js +2 -14
  9. package/dist-es/commands/DescribeCanariesLastRunCommand.js +2 -14
  10. package/dist-es/commands/DescribeRuntimeVersionsCommand.js +2 -14
  11. package/dist-es/commands/DisassociateResourceCommand.js +2 -14
  12. package/dist-es/commands/GetCanaryCommand.js +2 -14
  13. package/dist-es/commands/GetCanaryRunsCommand.js +2 -14
  14. package/dist-es/commands/GetGroupCommand.js +2 -14
  15. package/dist-es/commands/ListAssociatedGroupsCommand.js +2 -14
  16. package/dist-es/commands/ListGroupResourcesCommand.js +2 -14
  17. package/dist-es/commands/ListGroupsCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/StartCanaryCommand.js +2 -14
  20. package/dist-es/commands/StartCanaryDryRunCommand.js +2 -14
  21. package/dist-es/commands/StopCanaryCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateCanaryCommand.js +2 -14
  25. package/dist-es/index.js +1 -0
  26. package/dist-types/commandBuilder.d.ts +18 -0
  27. package/dist-types/commands/AssociateResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateCanaryCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateGroupCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteCanaryCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -8
  32. package/dist-types/commands/DescribeCanariesCommand.d.ts +3 -8
  33. package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeRuntimeVersionsCommand.d.ts +3 -8
  35. package/dist-types/commands/DisassociateResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/GetCanaryCommand.d.ts +3 -8
  37. package/dist-types/commands/GetCanaryRunsCommand.d.ts +3 -8
  38. package/dist-types/commands/GetGroupCommand.d.ts +3 -8
  39. package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListGroupResourcesCommand.d.ts +3 -8
  41. package/dist-types/commands/ListGroupsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  43. package/dist-types/commands/StartCanaryCommand.d.ts +3 -8
  44. package/dist-types/commands/StartCanaryDryRunCommand.d.ts +3 -8
  45. package/dist-types/commands/StopCanaryCommand.d.ts +3 -8
  46. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateCanaryCommand.d.ts +3 -8
  49. package/dist-types/index.d.ts +1 -0
  50. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  51. package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/CreateCanaryCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DeleteCanaryCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DescribeCanariesCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DescribeCanariesLastRunCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DescribeRuntimeVersionsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetCanaryCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetCanaryRunsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/StartCanaryCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/StartCanaryDryRunCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/StopCanaryCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/UpdateCanaryCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/index.d.ts +1 -0
  74. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
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
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1239,268 +1240,74 @@ class SyntheticsClient extends Client {
1239
1240
  }
1240
1241
  }
1241
1242
 
1242
- class AssociateResourceCommand extends Command
1243
- .classBuilder()
1244
- .ep(commonParams)
1245
- .m(function (Command, cs, config, o) {
1246
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1247
- })
1248
- .s("Synthetics", "AssociateResource", {})
1249
- .n("SyntheticsClient", "AssociateResourceCommand")
1250
- .sc(AssociateResource$)
1251
- .build() {
1243
+ const command = makeBuilder(commonParams, "Synthetics", "SyntheticsClient", getEndpointPlugin);
1244
+ const _ep0 = {};
1245
+ const _mw0 = (Command, cs, config, o) => [];
1246
+
1247
+ class AssociateResourceCommand extends command(_ep0, _mw0, "AssociateResource", AssociateResource$) {
1252
1248
  }
1253
1249
 
1254
- class CreateCanaryCommand extends Command
1255
- .classBuilder()
1256
- .ep(commonParams)
1257
- .m(function (Command, cs, config, o) {
1258
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1259
- })
1260
- .s("Synthetics", "CreateCanary", {})
1261
- .n("SyntheticsClient", "CreateCanaryCommand")
1262
- .sc(CreateCanary$)
1263
- .build() {
1250
+ class CreateCanaryCommand extends command(_ep0, _mw0, "CreateCanary", CreateCanary$) {
1264
1251
  }
1265
1252
 
1266
- class CreateGroupCommand extends Command
1267
- .classBuilder()
1268
- .ep(commonParams)
1269
- .m(function (Command, cs, config, o) {
1270
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1271
- })
1272
- .s("Synthetics", "CreateGroup", {})
1273
- .n("SyntheticsClient", "CreateGroupCommand")
1274
- .sc(CreateGroup$)
1275
- .build() {
1253
+ class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
1276
1254
  }
1277
1255
 
1278
- class DeleteCanaryCommand extends Command
1279
- .classBuilder()
1280
- .ep(commonParams)
1281
- .m(function (Command, cs, config, o) {
1282
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1283
- })
1284
- .s("Synthetics", "DeleteCanary", {})
1285
- .n("SyntheticsClient", "DeleteCanaryCommand")
1286
- .sc(DeleteCanary$)
1287
- .build() {
1256
+ class DeleteCanaryCommand extends command(_ep0, _mw0, "DeleteCanary", DeleteCanary$) {
1288
1257
  }
1289
1258
 
1290
- class DeleteGroupCommand extends Command
1291
- .classBuilder()
1292
- .ep(commonParams)
1293
- .m(function (Command, cs, config, o) {
1294
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1295
- })
1296
- .s("Synthetics", "DeleteGroup", {})
1297
- .n("SyntheticsClient", "DeleteGroupCommand")
1298
- .sc(DeleteGroup$)
1299
- .build() {
1259
+ class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
1300
1260
  }
1301
1261
 
1302
- class DescribeCanariesCommand extends Command
1303
- .classBuilder()
1304
- .ep(commonParams)
1305
- .m(function (Command, cs, config, o) {
1306
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1307
- })
1308
- .s("Synthetics", "DescribeCanaries", {})
1309
- .n("SyntheticsClient", "DescribeCanariesCommand")
1310
- .sc(DescribeCanaries$)
1311
- .build() {
1262
+ class DescribeCanariesCommand extends command(_ep0, _mw0, "DescribeCanaries", DescribeCanaries$) {
1312
1263
  }
1313
1264
 
1314
- class DescribeCanariesLastRunCommand extends Command
1315
- .classBuilder()
1316
- .ep(commonParams)
1317
- .m(function (Command, cs, config, o) {
1318
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1319
- })
1320
- .s("Synthetics", "DescribeCanariesLastRun", {})
1321
- .n("SyntheticsClient", "DescribeCanariesLastRunCommand")
1322
- .sc(DescribeCanariesLastRun$)
1323
- .build() {
1265
+ class DescribeCanariesLastRunCommand extends command(_ep0, _mw0, "DescribeCanariesLastRun", DescribeCanariesLastRun$) {
1324
1266
  }
1325
1267
 
1326
- class DescribeRuntimeVersionsCommand extends Command
1327
- .classBuilder()
1328
- .ep(commonParams)
1329
- .m(function (Command, cs, config, o) {
1330
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
- })
1332
- .s("Synthetics", "DescribeRuntimeVersions", {})
1333
- .n("SyntheticsClient", "DescribeRuntimeVersionsCommand")
1334
- .sc(DescribeRuntimeVersions$)
1335
- .build() {
1268
+ class DescribeRuntimeVersionsCommand extends command(_ep0, _mw0, "DescribeRuntimeVersions", DescribeRuntimeVersions$) {
1336
1269
  }
1337
1270
 
1338
- class DisassociateResourceCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("Synthetics", "DisassociateResource", {})
1345
- .n("SyntheticsClient", "DisassociateResourceCommand")
1346
- .sc(DisassociateResource$)
1347
- .build() {
1271
+ class DisassociateResourceCommand extends command(_ep0, _mw0, "DisassociateResource", DisassociateResource$) {
1348
1272
  }
1349
1273
 
1350
- class GetCanaryCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("Synthetics", "GetCanary", {})
1357
- .n("SyntheticsClient", "GetCanaryCommand")
1358
- .sc(GetCanary$)
1359
- .build() {
1274
+ class GetCanaryCommand extends command(_ep0, _mw0, "GetCanary", GetCanary$) {
1360
1275
  }
1361
1276
 
1362
- class GetCanaryRunsCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("Synthetics", "GetCanaryRuns", {})
1369
- .n("SyntheticsClient", "GetCanaryRunsCommand")
1370
- .sc(GetCanaryRuns$)
1371
- .build() {
1277
+ class GetCanaryRunsCommand extends command(_ep0, _mw0, "GetCanaryRuns", GetCanaryRuns$) {
1372
1278
  }
1373
1279
 
1374
- class GetGroupCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("Synthetics", "GetGroup", {})
1381
- .n("SyntheticsClient", "GetGroupCommand")
1382
- .sc(GetGroup$)
1383
- .build() {
1280
+ class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {
1384
1281
  }
1385
1282
 
1386
- class ListAssociatedGroupsCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("Synthetics", "ListAssociatedGroups", {})
1393
- .n("SyntheticsClient", "ListAssociatedGroupsCommand")
1394
- .sc(ListAssociatedGroups$)
1395
- .build() {
1283
+ class ListAssociatedGroupsCommand extends command(_ep0, _mw0, "ListAssociatedGroups", ListAssociatedGroups$) {
1396
1284
  }
1397
1285
 
1398
- class ListGroupResourcesCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("Synthetics", "ListGroupResources", {})
1405
- .n("SyntheticsClient", "ListGroupResourcesCommand")
1406
- .sc(ListGroupResources$)
1407
- .build() {
1286
+ class ListGroupResourcesCommand extends command(_ep0, _mw0, "ListGroupResources", ListGroupResources$) {
1408
1287
  }
1409
1288
 
1410
- class ListGroupsCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("Synthetics", "ListGroups", {})
1417
- .n("SyntheticsClient", "ListGroupsCommand")
1418
- .sc(ListGroups$)
1419
- .build() {
1289
+ class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
1420
1290
  }
1421
1291
 
1422
- class ListTagsForResourceCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("Synthetics", "ListTagsForResource", {})
1429
- .n("SyntheticsClient", "ListTagsForResourceCommand")
1430
- .sc(ListTagsForResource$)
1431
- .build() {
1292
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1432
1293
  }
1433
1294
 
1434
- class StartCanaryCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("Synthetics", "StartCanary", {})
1441
- .n("SyntheticsClient", "StartCanaryCommand")
1442
- .sc(StartCanary$)
1443
- .build() {
1295
+ class StartCanaryCommand extends command(_ep0, _mw0, "StartCanary", StartCanary$) {
1444
1296
  }
1445
1297
 
1446
- class StartCanaryDryRunCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("Synthetics", "StartCanaryDryRun", {})
1453
- .n("SyntheticsClient", "StartCanaryDryRunCommand")
1454
- .sc(StartCanaryDryRun$)
1455
- .build() {
1298
+ class StartCanaryDryRunCommand extends command(_ep0, _mw0, "StartCanaryDryRun", StartCanaryDryRun$) {
1456
1299
  }
1457
1300
 
1458
- class StopCanaryCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("Synthetics", "StopCanary", {})
1465
- .n("SyntheticsClient", "StopCanaryCommand")
1466
- .sc(StopCanary$)
1467
- .build() {
1301
+ class StopCanaryCommand extends command(_ep0, _mw0, "StopCanary", StopCanary$) {
1468
1302
  }
1469
1303
 
1470
- class TagResourceCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("Synthetics", "TagResource", {})
1477
- .n("SyntheticsClient", "TagResourceCommand")
1478
- .sc(TagResource$)
1479
- .build() {
1304
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1480
1305
  }
1481
1306
 
1482
- class UntagResourceCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("Synthetics", "UntagResource", {})
1489
- .n("SyntheticsClient", "UntagResourceCommand")
1490
- .sc(UntagResource$)
1491
- .build() {
1307
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1492
1308
  }
1493
1309
 
1494
- class UpdateCanaryCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("Synthetics", "UpdateCanary", {})
1501
- .n("SyntheticsClient", "UpdateCanaryCommand")
1502
- .sc(UpdateCanary$)
1503
- .build() {
1310
+ class UpdateCanaryCommand extends command(_ep0, _mw0, "UpdateCanary", UpdateCanary$) {
1504
1311
  }
1505
1312
 
1506
1313
  const paginateDescribeCanariesLastRun = createPaginator(SyntheticsClient, DescribeCanariesLastRunCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "Synthetics", "SyntheticsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "AssociateResource", {})
13
- .n("SyntheticsClient", "AssociateResourceCommand")
14
- .sc(AssociateResource$)
15
- .build() {
3
+ export class AssociateResourceCommand extends command(_ep0, _mw0, "AssociateResource", AssociateResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCanary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCanaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "CreateCanary", {})
13
- .n("SyntheticsClient", "CreateCanaryCommand")
14
- .sc(CreateCanary$)
15
- .build() {
3
+ export class CreateCanaryCommand extends command(_ep0, _mw0, "CreateCanary", CreateCanary$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "CreateGroup", {})
13
- .n("SyntheticsClient", "CreateGroupCommand")
14
- .sc(CreateGroup$)
15
- .build() {
3
+ export class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteCanary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCanaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DeleteCanary", {})
13
- .n("SyntheticsClient", "DeleteCanaryCommand")
14
- .sc(DeleteCanary$)
15
- .build() {
3
+ export class DeleteCanaryCommand extends command(_ep0, _mw0, "DeleteCanary", DeleteCanary$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DeleteGroup", {})
13
- .n("SyntheticsClient", "DeleteGroupCommand")
14
- .sc(DeleteGroup$)
15
- .build() {
3
+ export class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCanaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCanariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DescribeCanaries", {})
13
- .n("SyntheticsClient", "DescribeCanariesCommand")
14
- .sc(DescribeCanaries$)
15
- .build() {
3
+ export class DescribeCanariesCommand extends command(_ep0, _mw0, "DescribeCanaries", DescribeCanaries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCanariesLastRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCanariesLastRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DescribeCanariesLastRun", {})
13
- .n("SyntheticsClient", "DescribeCanariesLastRunCommand")
14
- .sc(DescribeCanariesLastRun$)
15
- .build() {
3
+ export class DescribeCanariesLastRunCommand extends command(_ep0, _mw0, "DescribeCanariesLastRun", DescribeCanariesLastRun$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeRuntimeVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRuntimeVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DescribeRuntimeVersions", {})
13
- .n("SyntheticsClient", "DescribeRuntimeVersionsCommand")
14
- .sc(DescribeRuntimeVersions$)
15
- .build() {
3
+ export class DescribeRuntimeVersionsCommand extends command(_ep0, _mw0, "DescribeRuntimeVersions", DescribeRuntimeVersions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "DisassociateResource", {})
13
- .n("SyntheticsClient", "DisassociateResourceCommand")
14
- .sc(DisassociateResource$)
15
- .build() {
3
+ export class DisassociateResourceCommand extends command(_ep0, _mw0, "DisassociateResource", DisassociateResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCanary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCanaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "GetCanary", {})
13
- .n("SyntheticsClient", "GetCanaryCommand")
14
- .sc(GetCanary$)
15
- .build() {
3
+ export class GetCanaryCommand extends command(_ep0, _mw0, "GetCanary", GetCanary$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCanaryRuns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCanaryRunsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "GetCanaryRuns", {})
13
- .n("SyntheticsClient", "GetCanaryRunsCommand")
14
- .sc(GetCanaryRuns$)
15
- .build() {
3
+ export class GetCanaryRunsCommand extends command(_ep0, _mw0, "GetCanaryRuns", GetCanaryRuns$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "GetGroup", {})
13
- .n("SyntheticsClient", "GetGroupCommand")
14
- .sc(GetGroup$)
15
- .build() {
3
+ export class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAssociatedGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssociatedGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "ListAssociatedGroups", {})
13
- .n("SyntheticsClient", "ListAssociatedGroupsCommand")
14
- .sc(ListAssociatedGroups$)
15
- .build() {
3
+ export class ListAssociatedGroupsCommand extends command(_ep0, _mw0, "ListAssociatedGroups", ListAssociatedGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListGroupResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGroupResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "ListGroupResources", {})
13
- .n("SyntheticsClient", "ListGroupResourcesCommand")
14
- .sc(ListGroupResources$)
15
- .build() {
3
+ export class ListGroupResourcesCommand extends command(_ep0, _mw0, "ListGroupResources", ListGroupResources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "ListGroups", {})
13
- .n("SyntheticsClient", "ListGroupsCommand")
14
- .sc(ListGroups$)
15
- .build() {
3
+ export class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Synthetics", "ListTagsForResource", {})
13
- .n("SyntheticsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }