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