@aws-sdk/client-fis 3.1077.0 → 3.1078.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 (86) hide show
  1. package/dist-cjs/index.js +34 -263
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateExperimentTemplateCommand.js +2 -14
  4. package/dist-es/commands/CreateTargetAccountConfigurationCommand.js +2 -14
  5. package/dist-es/commands/DeleteExperimentTemplateCommand.js +2 -14
  6. package/dist-es/commands/DeleteTargetAccountConfigurationCommand.js +2 -14
  7. package/dist-es/commands/GetActionCommand.js +2 -14
  8. package/dist-es/commands/GetExperimentCommand.js +2 -14
  9. package/dist-es/commands/GetExperimentTargetAccountConfigurationCommand.js +2 -14
  10. package/dist-es/commands/GetExperimentTemplateCommand.js +2 -14
  11. package/dist-es/commands/GetSafetyLeverCommand.js +2 -14
  12. package/dist-es/commands/GetTargetAccountConfigurationCommand.js +2 -14
  13. package/dist-es/commands/GetTargetResourceTypeCommand.js +2 -14
  14. package/dist-es/commands/ListActionsCommand.js +2 -14
  15. package/dist-es/commands/ListExperimentResolvedTargetsCommand.js +2 -14
  16. package/dist-es/commands/ListExperimentTargetAccountConfigurationsCommand.js +2 -14
  17. package/dist-es/commands/ListExperimentTemplatesCommand.js +2 -14
  18. package/dist-es/commands/ListExperimentsCommand.js +2 -14
  19. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  20. package/dist-es/commands/ListTargetAccountConfigurationsCommand.js +2 -14
  21. package/dist-es/commands/ListTargetResourceTypesCommand.js +2 -14
  22. package/dist-es/commands/StartExperimentCommand.js +2 -14
  23. package/dist-es/commands/StopExperimentCommand.js +2 -14
  24. package/dist-es/commands/TagResourceCommand.js +2 -14
  25. package/dist-es/commands/UntagResourceCommand.js +2 -14
  26. package/dist-es/commands/UpdateExperimentTemplateCommand.js +2 -14
  27. package/dist-es/commands/UpdateSafetyLeverStateCommand.js +2 -14
  28. package/dist-es/commands/UpdateTargetAccountConfigurationCommand.js +2 -14
  29. package/dist-es/index.js +1 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/CreateExperimentTemplateCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateTargetAccountConfigurationCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteExperimentTemplateCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteTargetAccountConfigurationCommand.d.ts +3 -8
  35. package/dist-types/commands/GetActionCommand.d.ts +3 -8
  36. package/dist-types/commands/GetExperimentCommand.d.ts +3 -8
  37. package/dist-types/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +3 -8
  38. package/dist-types/commands/GetExperimentTemplateCommand.d.ts +3 -8
  39. package/dist-types/commands/GetSafetyLeverCommand.d.ts +3 -8
  40. package/dist-types/commands/GetTargetAccountConfigurationCommand.d.ts +3 -8
  41. package/dist-types/commands/GetTargetResourceTypeCommand.d.ts +3 -8
  42. package/dist-types/commands/ListActionsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListExperimentResolvedTargetsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListExperimentTemplatesCommand.d.ts +3 -8
  46. package/dist-types/commands/ListExperimentsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTargetAccountConfigurationsCommand.d.ts +3 -8
  49. package/dist-types/commands/ListTargetResourceTypesCommand.d.ts +3 -8
  50. package/dist-types/commands/StartExperimentCommand.d.ts +3 -8
  51. package/dist-types/commands/StopExperimentCommand.d.ts +3 -8
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateExperimentTemplateCommand.d.ts +3 -8
  55. package/dist-types/commands/UpdateSafetyLeverStateCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateTargetAccountConfigurationCommand.d.ts +3 -8
  57. package/dist-types/index.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/CreateExperimentTemplateCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateTargetAccountConfigurationCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteExperimentTemplateCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteTargetAccountConfigurationCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetActionCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetExperimentCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetExperimentTemplateCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetSafetyLeverCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetTargetAccountConfigurationCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetTargetResourceTypeCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListExperimentResolvedTargetsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListExperimentTemplatesCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListTargetAccountConfigurationsCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListTargetResourceTypesCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/StartExperimentCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/StopExperimentCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateExperimentTemplateCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateSafetyLeverStateCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/UpdateTargetAccountConfigurationCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1418,316 +1419,86 @@ class FisClient extends Client {
1418
1419
  }
1419
1420
  }
1420
1421
 
1421
- class CreateExperimentTemplateCommand extends Command
1422
- .classBuilder()
1423
- .ep(commonParams)
1424
- .m(function (Command, cs, config, o) {
1425
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1426
- })
1427
- .s("FaultInjectionSimulator", "CreateExperimentTemplate", {})
1428
- .n("FisClient", "CreateExperimentTemplateCommand")
1429
- .sc(CreateExperimentTemplate$)
1430
- .build() {
1422
+ const command = makeBuilder(commonParams, "FaultInjectionSimulator", "FisClient", getEndpointPlugin);
1423
+ const _ep0 = {};
1424
+ const _mw0 = (Command, cs, config, o) => [];
1425
+
1426
+ class CreateExperimentTemplateCommand extends command(_ep0, _mw0, "CreateExperimentTemplate", CreateExperimentTemplate$) {
1431
1427
  }
1432
1428
 
1433
- class CreateTargetAccountConfigurationCommand extends Command
1434
- .classBuilder()
1435
- .ep(commonParams)
1436
- .m(function (Command, cs, config, o) {
1437
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1438
- })
1439
- .s("FaultInjectionSimulator", "CreateTargetAccountConfiguration", {})
1440
- .n("FisClient", "CreateTargetAccountConfigurationCommand")
1441
- .sc(CreateTargetAccountConfiguration$)
1442
- .build() {
1429
+ class CreateTargetAccountConfigurationCommand extends command(_ep0, _mw0, "CreateTargetAccountConfiguration", CreateTargetAccountConfiguration$) {
1443
1430
  }
1444
1431
 
1445
- class DeleteExperimentTemplateCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("FaultInjectionSimulator", "DeleteExperimentTemplate", {})
1452
- .n("FisClient", "DeleteExperimentTemplateCommand")
1453
- .sc(DeleteExperimentTemplate$)
1454
- .build() {
1432
+ class DeleteExperimentTemplateCommand extends command(_ep0, _mw0, "DeleteExperimentTemplate", DeleteExperimentTemplate$) {
1455
1433
  }
1456
1434
 
1457
- class DeleteTargetAccountConfigurationCommand extends Command
1458
- .classBuilder()
1459
- .ep(commonParams)
1460
- .m(function (Command, cs, config, o) {
1461
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1462
- })
1463
- .s("FaultInjectionSimulator", "DeleteTargetAccountConfiguration", {})
1464
- .n("FisClient", "DeleteTargetAccountConfigurationCommand")
1465
- .sc(DeleteTargetAccountConfiguration$)
1466
- .build() {
1435
+ class DeleteTargetAccountConfigurationCommand extends command(_ep0, _mw0, "DeleteTargetAccountConfiguration", DeleteTargetAccountConfiguration$) {
1467
1436
  }
1468
1437
 
1469
- class GetActionCommand extends Command
1470
- .classBuilder()
1471
- .ep(commonParams)
1472
- .m(function (Command, cs, config, o) {
1473
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
- })
1475
- .s("FaultInjectionSimulator", "GetAction", {})
1476
- .n("FisClient", "GetActionCommand")
1477
- .sc(GetAction$)
1478
- .build() {
1438
+ class GetActionCommand extends command(_ep0, _mw0, "GetAction", GetAction$) {
1479
1439
  }
1480
1440
 
1481
- class GetExperimentCommand extends Command
1482
- .classBuilder()
1483
- .ep(commonParams)
1484
- .m(function (Command, cs, config, o) {
1485
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
- })
1487
- .s("FaultInjectionSimulator", "GetExperiment", {})
1488
- .n("FisClient", "GetExperimentCommand")
1489
- .sc(GetExperiment$)
1490
- .build() {
1441
+ class GetExperimentCommand extends command(_ep0, _mw0, "GetExperiment", GetExperiment$) {
1491
1442
  }
1492
1443
 
1493
- class GetExperimentTargetAccountConfigurationCommand extends Command
1494
- .classBuilder()
1495
- .ep(commonParams)
1496
- .m(function (Command, cs, config, o) {
1497
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
- })
1499
- .s("FaultInjectionSimulator", "GetExperimentTargetAccountConfiguration", {})
1500
- .n("FisClient", "GetExperimentTargetAccountConfigurationCommand")
1501
- .sc(GetExperimentTargetAccountConfiguration$)
1502
- .build() {
1444
+ class GetExperimentTargetAccountConfigurationCommand extends command(_ep0, _mw0, "GetExperimentTargetAccountConfiguration", GetExperimentTargetAccountConfiguration$) {
1503
1445
  }
1504
1446
 
1505
- class GetExperimentTemplateCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("FaultInjectionSimulator", "GetExperimentTemplate", {})
1512
- .n("FisClient", "GetExperimentTemplateCommand")
1513
- .sc(GetExperimentTemplate$)
1514
- .build() {
1447
+ class GetExperimentTemplateCommand extends command(_ep0, _mw0, "GetExperimentTemplate", GetExperimentTemplate$) {
1515
1448
  }
1516
1449
 
1517
- class GetSafetyLeverCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("FaultInjectionSimulator", "GetSafetyLever", {})
1524
- .n("FisClient", "GetSafetyLeverCommand")
1525
- .sc(GetSafetyLever$)
1526
- .build() {
1450
+ class GetSafetyLeverCommand extends command(_ep0, _mw0, "GetSafetyLever", GetSafetyLever$) {
1527
1451
  }
1528
1452
 
1529
- class GetTargetAccountConfigurationCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("FaultInjectionSimulator", "GetTargetAccountConfiguration", {})
1536
- .n("FisClient", "GetTargetAccountConfigurationCommand")
1537
- .sc(GetTargetAccountConfiguration$)
1538
- .build() {
1453
+ class GetTargetAccountConfigurationCommand extends command(_ep0, _mw0, "GetTargetAccountConfiguration", GetTargetAccountConfiguration$) {
1539
1454
  }
1540
1455
 
1541
- class GetTargetResourceTypeCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("FaultInjectionSimulator", "GetTargetResourceType", {})
1548
- .n("FisClient", "GetTargetResourceTypeCommand")
1549
- .sc(GetTargetResourceType$)
1550
- .build() {
1456
+ class GetTargetResourceTypeCommand extends command(_ep0, _mw0, "GetTargetResourceType", GetTargetResourceType$) {
1551
1457
  }
1552
1458
 
1553
- class ListActionsCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("FaultInjectionSimulator", "ListActions", {})
1560
- .n("FisClient", "ListActionsCommand")
1561
- .sc(ListActions$)
1562
- .build() {
1459
+ class ListActionsCommand extends command(_ep0, _mw0, "ListActions", ListActions$) {
1563
1460
  }
1564
1461
 
1565
- class ListExperimentResolvedTargetsCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("FaultInjectionSimulator", "ListExperimentResolvedTargets", {})
1572
- .n("FisClient", "ListExperimentResolvedTargetsCommand")
1573
- .sc(ListExperimentResolvedTargets$)
1574
- .build() {
1462
+ class ListExperimentResolvedTargetsCommand extends command(_ep0, _mw0, "ListExperimentResolvedTargets", ListExperimentResolvedTargets$) {
1575
1463
  }
1576
1464
 
1577
- class ListExperimentsCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("FaultInjectionSimulator", "ListExperiments", {})
1584
- .n("FisClient", "ListExperimentsCommand")
1585
- .sc(ListExperiments$)
1586
- .build() {
1465
+ class ListExperimentsCommand extends command(_ep0, _mw0, "ListExperiments", ListExperiments$) {
1587
1466
  }
1588
1467
 
1589
- class ListExperimentTargetAccountConfigurationsCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("FaultInjectionSimulator", "ListExperimentTargetAccountConfigurations", {})
1596
- .n("FisClient", "ListExperimentTargetAccountConfigurationsCommand")
1597
- .sc(ListExperimentTargetAccountConfigurations$)
1598
- .build() {
1468
+ class ListExperimentTargetAccountConfigurationsCommand extends command(_ep0, _mw0, "ListExperimentTargetAccountConfigurations", ListExperimentTargetAccountConfigurations$) {
1599
1469
  }
1600
1470
 
1601
- class ListExperimentTemplatesCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("FaultInjectionSimulator", "ListExperimentTemplates", {})
1608
- .n("FisClient", "ListExperimentTemplatesCommand")
1609
- .sc(ListExperimentTemplates$)
1610
- .build() {
1471
+ class ListExperimentTemplatesCommand extends command(_ep0, _mw0, "ListExperimentTemplates", ListExperimentTemplates$) {
1611
1472
  }
1612
1473
 
1613
- class ListTagsForResourceCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("FaultInjectionSimulator", "ListTagsForResource", {})
1620
- .n("FisClient", "ListTagsForResourceCommand")
1621
- .sc(ListTagsForResource$)
1622
- .build() {
1474
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1623
1475
  }
1624
1476
 
1625
- class ListTargetAccountConfigurationsCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("FaultInjectionSimulator", "ListTargetAccountConfigurations", {})
1632
- .n("FisClient", "ListTargetAccountConfigurationsCommand")
1633
- .sc(ListTargetAccountConfigurations$)
1634
- .build() {
1477
+ class ListTargetAccountConfigurationsCommand extends command(_ep0, _mw0, "ListTargetAccountConfigurations", ListTargetAccountConfigurations$) {
1635
1478
  }
1636
1479
 
1637
- class ListTargetResourceTypesCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("FaultInjectionSimulator", "ListTargetResourceTypes", {})
1644
- .n("FisClient", "ListTargetResourceTypesCommand")
1645
- .sc(ListTargetResourceTypes$)
1646
- .build() {
1480
+ class ListTargetResourceTypesCommand extends command(_ep0, _mw0, "ListTargetResourceTypes", ListTargetResourceTypes$) {
1647
1481
  }
1648
1482
 
1649
- class StartExperimentCommand extends Command
1650
- .classBuilder()
1651
- .ep(commonParams)
1652
- .m(function (Command, cs, config, o) {
1653
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1654
- })
1655
- .s("FaultInjectionSimulator", "StartExperiment", {})
1656
- .n("FisClient", "StartExperimentCommand")
1657
- .sc(StartExperiment$)
1658
- .build() {
1483
+ class StartExperimentCommand extends command(_ep0, _mw0, "StartExperiment", StartExperiment$) {
1659
1484
  }
1660
1485
 
1661
- class StopExperimentCommand extends Command
1662
- .classBuilder()
1663
- .ep(commonParams)
1664
- .m(function (Command, cs, config, o) {
1665
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1666
- })
1667
- .s("FaultInjectionSimulator", "StopExperiment", {})
1668
- .n("FisClient", "StopExperimentCommand")
1669
- .sc(StopExperiment$)
1670
- .build() {
1486
+ class StopExperimentCommand extends command(_ep0, _mw0, "StopExperiment", StopExperiment$) {
1671
1487
  }
1672
1488
 
1673
- class TagResourceCommand extends Command
1674
- .classBuilder()
1675
- .ep(commonParams)
1676
- .m(function (Command, cs, config, o) {
1677
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
- })
1679
- .s("FaultInjectionSimulator", "TagResource", {})
1680
- .n("FisClient", "TagResourceCommand")
1681
- .sc(TagResource$)
1682
- .build() {
1489
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1683
1490
  }
1684
1491
 
1685
- class UntagResourceCommand extends Command
1686
- .classBuilder()
1687
- .ep(commonParams)
1688
- .m(function (Command, cs, config, o) {
1689
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1690
- })
1691
- .s("FaultInjectionSimulator", "UntagResource", {})
1692
- .n("FisClient", "UntagResourceCommand")
1693
- .sc(UntagResource$)
1694
- .build() {
1492
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1695
1493
  }
1696
1494
 
1697
- class UpdateExperimentTemplateCommand extends Command
1698
- .classBuilder()
1699
- .ep(commonParams)
1700
- .m(function (Command, cs, config, o) {
1701
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
- })
1703
- .s("FaultInjectionSimulator", "UpdateExperimentTemplate", {})
1704
- .n("FisClient", "UpdateExperimentTemplateCommand")
1705
- .sc(UpdateExperimentTemplate$)
1706
- .build() {
1495
+ class UpdateExperimentTemplateCommand extends command(_ep0, _mw0, "UpdateExperimentTemplate", UpdateExperimentTemplate$) {
1707
1496
  }
1708
1497
 
1709
- class UpdateSafetyLeverStateCommand extends Command
1710
- .classBuilder()
1711
- .ep(commonParams)
1712
- .m(function (Command, cs, config, o) {
1713
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
- })
1715
- .s("FaultInjectionSimulator", "UpdateSafetyLeverState", {})
1716
- .n("FisClient", "UpdateSafetyLeverStateCommand")
1717
- .sc(UpdateSafetyLeverState$)
1718
- .build() {
1498
+ class UpdateSafetyLeverStateCommand extends command(_ep0, _mw0, "UpdateSafetyLeverState", UpdateSafetyLeverState$) {
1719
1499
  }
1720
1500
 
1721
- class UpdateTargetAccountConfigurationCommand extends Command
1722
- .classBuilder()
1723
- .ep(commonParams)
1724
- .m(function (Command, cs, config, o) {
1725
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
- })
1727
- .s("FaultInjectionSimulator", "UpdateTargetAccountConfiguration", {})
1728
- .n("FisClient", "UpdateTargetAccountConfigurationCommand")
1729
- .sc(UpdateTargetAccountConfiguration$)
1730
- .build() {
1501
+ class UpdateTargetAccountConfigurationCommand extends command(_ep0, _mw0, "UpdateTargetAccountConfiguration", UpdateTargetAccountConfiguration$) {
1731
1502
  }
1732
1503
 
1733
1504
  const paginateListActions = createPaginator(FisClient, ListActionsCommand, "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, "FaultInjectionSimulator", "FisClient", 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 { CreateExperimentTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateExperimentTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "CreateExperimentTemplate", {})
13
- .n("FisClient", "CreateExperimentTemplateCommand")
14
- .sc(CreateExperimentTemplate$)
15
- .build() {
3
+ export class CreateExperimentTemplateCommand extends command(_ep0, _mw0, "CreateExperimentTemplate", CreateExperimentTemplate$) {
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 { CreateTargetAccountConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTargetAccountConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "CreateTargetAccountConfiguration", {})
13
- .n("FisClient", "CreateTargetAccountConfigurationCommand")
14
- .sc(CreateTargetAccountConfiguration$)
15
- .build() {
3
+ export class CreateTargetAccountConfigurationCommand extends command(_ep0, _mw0, "CreateTargetAccountConfiguration", CreateTargetAccountConfiguration$) {
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 { DeleteExperimentTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteExperimentTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "DeleteExperimentTemplate", {})
13
- .n("FisClient", "DeleteExperimentTemplateCommand")
14
- .sc(DeleteExperimentTemplate$)
15
- .build() {
3
+ export class DeleteExperimentTemplateCommand extends command(_ep0, _mw0, "DeleteExperimentTemplate", DeleteExperimentTemplate$) {
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 { DeleteTargetAccountConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTargetAccountConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "DeleteTargetAccountConfiguration", {})
13
- .n("FisClient", "DeleteTargetAccountConfigurationCommand")
14
- .sc(DeleteTargetAccountConfiguration$)
15
- .build() {
3
+ export class DeleteTargetAccountConfigurationCommand extends command(_ep0, _mw0, "DeleteTargetAccountConfiguration", DeleteTargetAccountConfiguration$) {
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 { GetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetAction", {})
13
- .n("FisClient", "GetActionCommand")
14
- .sc(GetAction$)
15
- .build() {
3
+ export class GetActionCommand extends command(_ep0, _mw0, "GetAction", GetAction$) {
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 { GetExperiment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetExperimentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetExperiment", {})
13
- .n("FisClient", "GetExperimentCommand")
14
- .sc(GetExperiment$)
15
- .build() {
3
+ export class GetExperimentCommand extends command(_ep0, _mw0, "GetExperiment", GetExperiment$) {
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 { GetExperimentTargetAccountConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetExperimentTargetAccountConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetExperimentTargetAccountConfiguration", {})
13
- .n("FisClient", "GetExperimentTargetAccountConfigurationCommand")
14
- .sc(GetExperimentTargetAccountConfiguration$)
15
- .build() {
3
+ export class GetExperimentTargetAccountConfigurationCommand extends command(_ep0, _mw0, "GetExperimentTargetAccountConfiguration", GetExperimentTargetAccountConfiguration$) {
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 { GetExperimentTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetExperimentTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetExperimentTemplate", {})
13
- .n("FisClient", "GetExperimentTemplateCommand")
14
- .sc(GetExperimentTemplate$)
15
- .build() {
3
+ export class GetExperimentTemplateCommand extends command(_ep0, _mw0, "GetExperimentTemplate", GetExperimentTemplate$) {
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 { GetSafetyLever$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSafetyLeverCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetSafetyLever", {})
13
- .n("FisClient", "GetSafetyLeverCommand")
14
- .sc(GetSafetyLever$)
15
- .build() {
3
+ export class GetSafetyLeverCommand extends command(_ep0, _mw0, "GetSafetyLever", GetSafetyLever$) {
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 { GetTargetAccountConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTargetAccountConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetTargetAccountConfiguration", {})
13
- .n("FisClient", "GetTargetAccountConfigurationCommand")
14
- .sc(GetTargetAccountConfiguration$)
15
- .build() {
3
+ export class GetTargetAccountConfigurationCommand extends command(_ep0, _mw0, "GetTargetAccountConfiguration", GetTargetAccountConfiguration$) {
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 { GetTargetResourceType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTargetResourceTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "GetTargetResourceType", {})
13
- .n("FisClient", "GetTargetResourceTypeCommand")
14
- .sc(GetTargetResourceType$)
15
- .build() {
3
+ export class GetTargetResourceTypeCommand extends command(_ep0, _mw0, "GetTargetResourceType", GetTargetResourceType$) {
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 { ListActions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListActionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "ListActions", {})
13
- .n("FisClient", "ListActionsCommand")
14
- .sc(ListActions$)
15
- .build() {
3
+ export class ListActionsCommand extends command(_ep0, _mw0, "ListActions", ListActions$) {
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 { ListExperimentResolvedTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListExperimentResolvedTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "ListExperimentResolvedTargets", {})
13
- .n("FisClient", "ListExperimentResolvedTargetsCommand")
14
- .sc(ListExperimentResolvedTargets$)
15
- .build() {
3
+ export class ListExperimentResolvedTargetsCommand extends command(_ep0, _mw0, "ListExperimentResolvedTargets", ListExperimentResolvedTargets$) {
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 { ListExperimentTargetAccountConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListExperimentTargetAccountConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("FaultInjectionSimulator", "ListExperimentTargetAccountConfigurations", {})
13
- .n("FisClient", "ListExperimentTargetAccountConfigurationsCommand")
14
- .sc(ListExperimentTargetAccountConfigurations$)
15
- .build() {
3
+ export class ListExperimentTargetAccountConfigurationsCommand extends command(_ep0, _mw0, "ListExperimentTargetAccountConfigurations", ListExperimentTargetAccountConfigurations$) {
16
4
  }