@aws-sdk/client-ssm-incidents 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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +2 -14
  4. package/dist-es/commands/CreateReplicationSetCommand.js +2 -14
  5. package/dist-es/commands/CreateResponsePlanCommand.js +2 -14
  6. package/dist-es/commands/CreateTimelineEventCommand.js +2 -14
  7. package/dist-es/commands/DeleteIncidentRecordCommand.js +2 -14
  8. package/dist-es/commands/DeleteReplicationSetCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DeleteResponsePlanCommand.js +2 -14
  11. package/dist-es/commands/DeleteTimelineEventCommand.js +2 -14
  12. package/dist-es/commands/GetIncidentRecordCommand.js +2 -14
  13. package/dist-es/commands/GetReplicationSetCommand.js +2 -14
  14. package/dist-es/commands/GetResourcePoliciesCommand.js +2 -14
  15. package/dist-es/commands/GetResponsePlanCommand.js +2 -14
  16. package/dist-es/commands/GetTimelineEventCommand.js +2 -14
  17. package/dist-es/commands/ListIncidentFindingsCommand.js +2 -14
  18. package/dist-es/commands/ListIncidentRecordsCommand.js +2 -14
  19. package/dist-es/commands/ListRelatedItemsCommand.js +2 -14
  20. package/dist-es/commands/ListReplicationSetsCommand.js +2 -14
  21. package/dist-es/commands/ListResponsePlansCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/ListTimelineEventsCommand.js +2 -14
  24. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  25. package/dist-es/commands/StartIncidentCommand.js +2 -14
  26. package/dist-es/commands/TagResourceCommand.js +2 -14
  27. package/dist-es/commands/UntagResourceCommand.js +2 -14
  28. package/dist-es/commands/UpdateDeletionProtectionCommand.js +2 -14
  29. package/dist-es/commands/UpdateIncidentRecordCommand.js +2 -14
  30. package/dist-es/commands/UpdateRelatedItemsCommand.js +2 -14
  31. package/dist-es/commands/UpdateReplicationSetCommand.js +2 -14
  32. package/dist-es/commands/UpdateResponsePlanCommand.js +2 -14
  33. package/dist-es/commands/UpdateTimelineEventCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateReplicationSetCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateResponsePlanCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateTimelineEventCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteReplicationSetCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteResponsePlanCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteTimelineEventCommand.d.ts +3 -8
  45. package/dist-types/commands/GetIncidentRecordCommand.d.ts +3 -8
  46. package/dist-types/commands/GetReplicationSetCommand.d.ts +3 -8
  47. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -8
  48. package/dist-types/commands/GetResponsePlanCommand.d.ts +3 -8
  49. package/dist-types/commands/GetTimelineEventCommand.d.ts +3 -8
  50. package/dist-types/commands/ListIncidentFindingsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListIncidentRecordsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListRelatedItemsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListReplicationSetsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListResponsePlansCommand.d.ts +3 -8
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/ListTimelineEventsCommand.d.ts +3 -8
  57. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  58. package/dist-types/commands/StartIncidentCommand.d.ts +3 -8
  59. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateReplicationSetCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateResponsePlanCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateTimelineEventCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. 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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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
 
@@ -1395,376 +1396,101 @@ class SSMIncidentsClient extends Client {
1395
1396
  }
1396
1397
  }
1397
1398
 
1398
- class BatchGetIncidentFindingsCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("SSMIncidents", "BatchGetIncidentFindings", {})
1405
- .n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
1406
- .sc(BatchGetIncidentFindings$)
1407
- .build() {
1399
+ const command = makeBuilder(commonParams, "SSMIncidents", "SSMIncidentsClient", getEndpointPlugin);
1400
+ const _ep0 = {};
1401
+ const _mw0 = (Command, cs, config, o) => [];
1402
+
1403
+ class BatchGetIncidentFindingsCommand extends command(_ep0, _mw0, "BatchGetIncidentFindings", BatchGetIncidentFindings$) {
1408
1404
  }
1409
1405
 
1410
- class CreateReplicationSetCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("SSMIncidents", "CreateReplicationSet", {})
1417
- .n("SSMIncidentsClient", "CreateReplicationSetCommand")
1418
- .sc(CreateReplicationSet$)
1419
- .build() {
1406
+ class CreateReplicationSetCommand extends command(_ep0, _mw0, "CreateReplicationSet", CreateReplicationSet$) {
1420
1407
  }
1421
1408
 
1422
- class CreateResponsePlanCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("SSMIncidents", "CreateResponsePlan", {})
1429
- .n("SSMIncidentsClient", "CreateResponsePlanCommand")
1430
- .sc(CreateResponsePlan$)
1431
- .build() {
1409
+ class CreateResponsePlanCommand extends command(_ep0, _mw0, "CreateResponsePlan", CreateResponsePlan$) {
1432
1410
  }
1433
1411
 
1434
- class CreateTimelineEventCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("SSMIncidents", "CreateTimelineEvent", {})
1441
- .n("SSMIncidentsClient", "CreateTimelineEventCommand")
1442
- .sc(CreateTimelineEvent$)
1443
- .build() {
1412
+ class CreateTimelineEventCommand extends command(_ep0, _mw0, "CreateTimelineEvent", CreateTimelineEvent$) {
1444
1413
  }
1445
1414
 
1446
- class DeleteIncidentRecordCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("SSMIncidents", "DeleteIncidentRecord", {})
1453
- .n("SSMIncidentsClient", "DeleteIncidentRecordCommand")
1454
- .sc(DeleteIncidentRecord$)
1455
- .build() {
1415
+ class DeleteIncidentRecordCommand extends command(_ep0, _mw0, "DeleteIncidentRecord", DeleteIncidentRecord$) {
1456
1416
  }
1457
1417
 
1458
- class DeleteReplicationSetCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("SSMIncidents", "DeleteReplicationSet", {})
1465
- .n("SSMIncidentsClient", "DeleteReplicationSetCommand")
1466
- .sc(DeleteReplicationSet$)
1467
- .build() {
1418
+ class DeleteReplicationSetCommand extends command(_ep0, _mw0, "DeleteReplicationSet", DeleteReplicationSet$) {
1468
1419
  }
1469
1420
 
1470
- class DeleteResourcePolicyCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("SSMIncidents", "DeleteResourcePolicy", {})
1477
- .n("SSMIncidentsClient", "DeleteResourcePolicyCommand")
1478
- .sc(DeleteResourcePolicy$)
1479
- .build() {
1421
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1480
1422
  }
1481
1423
 
1482
- class DeleteResponsePlanCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("SSMIncidents", "DeleteResponsePlan", {})
1489
- .n("SSMIncidentsClient", "DeleteResponsePlanCommand")
1490
- .sc(DeleteResponsePlan$)
1491
- .build() {
1424
+ class DeleteResponsePlanCommand extends command(_ep0, _mw0, "DeleteResponsePlan", DeleteResponsePlan$) {
1492
1425
  }
1493
1426
 
1494
- class DeleteTimelineEventCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("SSMIncidents", "DeleteTimelineEvent", {})
1501
- .n("SSMIncidentsClient", "DeleteTimelineEventCommand")
1502
- .sc(DeleteTimelineEvent$)
1503
- .build() {
1427
+ class DeleteTimelineEventCommand extends command(_ep0, _mw0, "DeleteTimelineEvent", DeleteTimelineEvent$) {
1504
1428
  }
1505
1429
 
1506
- class GetIncidentRecordCommand extends Command
1507
- .classBuilder()
1508
- .ep(commonParams)
1509
- .m(function (Command, cs, config, o) {
1510
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1511
- })
1512
- .s("SSMIncidents", "GetIncidentRecord", {})
1513
- .n("SSMIncidentsClient", "GetIncidentRecordCommand")
1514
- .sc(GetIncidentRecord$)
1515
- .build() {
1430
+ class GetIncidentRecordCommand extends command(_ep0, _mw0, "GetIncidentRecord", GetIncidentRecord$) {
1516
1431
  }
1517
1432
 
1518
- class GetReplicationSetCommand extends Command
1519
- .classBuilder()
1520
- .ep(commonParams)
1521
- .m(function (Command, cs, config, o) {
1522
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1523
- })
1524
- .s("SSMIncidents", "GetReplicationSet", {})
1525
- .n("SSMIncidentsClient", "GetReplicationSetCommand")
1526
- .sc(GetReplicationSet$)
1527
- .build() {
1433
+ class GetReplicationSetCommand extends command(_ep0, _mw0, "GetReplicationSet", GetReplicationSet$) {
1528
1434
  }
1529
1435
 
1530
- class GetResourcePoliciesCommand extends Command
1531
- .classBuilder()
1532
- .ep(commonParams)
1533
- .m(function (Command, cs, config, o) {
1534
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1535
- })
1536
- .s("SSMIncidents", "GetResourcePolicies", {})
1537
- .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
1538
- .sc(GetResourcePolicies$)
1539
- .build() {
1436
+ class GetResourcePoliciesCommand extends command(_ep0, _mw0, "GetResourcePolicies", GetResourcePolicies$) {
1540
1437
  }
1541
1438
 
1542
- class GetResponsePlanCommand extends Command
1543
- .classBuilder()
1544
- .ep(commonParams)
1545
- .m(function (Command, cs, config, o) {
1546
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1547
- })
1548
- .s("SSMIncidents", "GetResponsePlan", {})
1549
- .n("SSMIncidentsClient", "GetResponsePlanCommand")
1550
- .sc(GetResponsePlan$)
1551
- .build() {
1439
+ class GetResponsePlanCommand extends command(_ep0, _mw0, "GetResponsePlan", GetResponsePlan$) {
1552
1440
  }
1553
1441
 
1554
- class GetTimelineEventCommand extends Command
1555
- .classBuilder()
1556
- .ep(commonParams)
1557
- .m(function (Command, cs, config, o) {
1558
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
- })
1560
- .s("SSMIncidents", "GetTimelineEvent", {})
1561
- .n("SSMIncidentsClient", "GetTimelineEventCommand")
1562
- .sc(GetTimelineEvent$)
1563
- .build() {
1442
+ class GetTimelineEventCommand extends command(_ep0, _mw0, "GetTimelineEvent", GetTimelineEvent$) {
1564
1443
  }
1565
1444
 
1566
- class ListIncidentFindingsCommand extends Command
1567
- .classBuilder()
1568
- .ep(commonParams)
1569
- .m(function (Command, cs, config, o) {
1570
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
- })
1572
- .s("SSMIncidents", "ListIncidentFindings", {})
1573
- .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
1574
- .sc(ListIncidentFindings$)
1575
- .build() {
1445
+ class ListIncidentFindingsCommand extends command(_ep0, _mw0, "ListIncidentFindings", ListIncidentFindings$) {
1576
1446
  }
1577
1447
 
1578
- class ListIncidentRecordsCommand extends Command
1579
- .classBuilder()
1580
- .ep(commonParams)
1581
- .m(function (Command, cs, config, o) {
1582
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
- })
1584
- .s("SSMIncidents", "ListIncidentRecords", {})
1585
- .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
1586
- .sc(ListIncidentRecords$)
1587
- .build() {
1448
+ class ListIncidentRecordsCommand extends command(_ep0, _mw0, "ListIncidentRecords", ListIncidentRecords$) {
1588
1449
  }
1589
1450
 
1590
- class ListRelatedItemsCommand extends Command
1591
- .classBuilder()
1592
- .ep(commonParams)
1593
- .m(function (Command, cs, config, o) {
1594
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
- })
1596
- .s("SSMIncidents", "ListRelatedItems", {})
1597
- .n("SSMIncidentsClient", "ListRelatedItemsCommand")
1598
- .sc(ListRelatedItems$)
1599
- .build() {
1451
+ class ListRelatedItemsCommand extends command(_ep0, _mw0, "ListRelatedItems", ListRelatedItems$) {
1600
1452
  }
1601
1453
 
1602
- class ListReplicationSetsCommand extends Command
1603
- .classBuilder()
1604
- .ep(commonParams)
1605
- .m(function (Command, cs, config, o) {
1606
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1607
- })
1608
- .s("SSMIncidents", "ListReplicationSets", {})
1609
- .n("SSMIncidentsClient", "ListReplicationSetsCommand")
1610
- .sc(ListReplicationSets$)
1611
- .build() {
1454
+ class ListReplicationSetsCommand extends command(_ep0, _mw0, "ListReplicationSets", ListReplicationSets$) {
1612
1455
  }
1613
1456
 
1614
- class ListResponsePlansCommand extends Command
1615
- .classBuilder()
1616
- .ep(commonParams)
1617
- .m(function (Command, cs, config, o) {
1618
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1619
- })
1620
- .s("SSMIncidents", "ListResponsePlans", {})
1621
- .n("SSMIncidentsClient", "ListResponsePlansCommand")
1622
- .sc(ListResponsePlans$)
1623
- .build() {
1457
+ class ListResponsePlansCommand extends command(_ep0, _mw0, "ListResponsePlans", ListResponsePlans$) {
1624
1458
  }
1625
1459
 
1626
- class ListTagsForResourceCommand extends Command
1627
- .classBuilder()
1628
- .ep(commonParams)
1629
- .m(function (Command, cs, config, o) {
1630
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1631
- })
1632
- .s("SSMIncidents", "ListTagsForResource", {})
1633
- .n("SSMIncidentsClient", "ListTagsForResourceCommand")
1634
- .sc(ListTagsForResource$)
1635
- .build() {
1460
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1636
1461
  }
1637
1462
 
1638
- class ListTimelineEventsCommand extends Command
1639
- .classBuilder()
1640
- .ep(commonParams)
1641
- .m(function (Command, cs, config, o) {
1642
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1643
- })
1644
- .s("SSMIncidents", "ListTimelineEvents", {})
1645
- .n("SSMIncidentsClient", "ListTimelineEventsCommand")
1646
- .sc(ListTimelineEvents$)
1647
- .build() {
1463
+ class ListTimelineEventsCommand extends command(_ep0, _mw0, "ListTimelineEvents", ListTimelineEvents$) {
1648
1464
  }
1649
1465
 
1650
- class PutResourcePolicyCommand extends Command
1651
- .classBuilder()
1652
- .ep(commonParams)
1653
- .m(function (Command, cs, config, o) {
1654
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1655
- })
1656
- .s("SSMIncidents", "PutResourcePolicy", {})
1657
- .n("SSMIncidentsClient", "PutResourcePolicyCommand")
1658
- .sc(PutResourcePolicy$)
1659
- .build() {
1466
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1660
1467
  }
1661
1468
 
1662
- class StartIncidentCommand extends Command
1663
- .classBuilder()
1664
- .ep(commonParams)
1665
- .m(function (Command, cs, config, o) {
1666
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1667
- })
1668
- .s("SSMIncidents", "StartIncident", {})
1669
- .n("SSMIncidentsClient", "StartIncidentCommand")
1670
- .sc(StartIncident$)
1671
- .build() {
1469
+ class StartIncidentCommand extends command(_ep0, _mw0, "StartIncident", StartIncident$) {
1672
1470
  }
1673
1471
 
1674
- class TagResourceCommand extends Command
1675
- .classBuilder()
1676
- .ep(commonParams)
1677
- .m(function (Command, cs, config, o) {
1678
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1679
- })
1680
- .s("SSMIncidents", "TagResource", {})
1681
- .n("SSMIncidentsClient", "TagResourceCommand")
1682
- .sc(TagResource$)
1683
- .build() {
1472
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1684
1473
  }
1685
1474
 
1686
- class UntagResourceCommand extends Command
1687
- .classBuilder()
1688
- .ep(commonParams)
1689
- .m(function (Command, cs, config, o) {
1690
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1691
- })
1692
- .s("SSMIncidents", "UntagResource", {})
1693
- .n("SSMIncidentsClient", "UntagResourceCommand")
1694
- .sc(UntagResource$)
1695
- .build() {
1475
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1696
1476
  }
1697
1477
 
1698
- class UpdateDeletionProtectionCommand extends Command
1699
- .classBuilder()
1700
- .ep(commonParams)
1701
- .m(function (Command, cs, config, o) {
1702
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1703
- })
1704
- .s("SSMIncidents", "UpdateDeletionProtection", {})
1705
- .n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
1706
- .sc(UpdateDeletionProtection$)
1707
- .build() {
1478
+ class UpdateDeletionProtectionCommand extends command(_ep0, _mw0, "UpdateDeletionProtection", UpdateDeletionProtection$) {
1708
1479
  }
1709
1480
 
1710
- class UpdateIncidentRecordCommand extends Command
1711
- .classBuilder()
1712
- .ep(commonParams)
1713
- .m(function (Command, cs, config, o) {
1714
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1715
- })
1716
- .s("SSMIncidents", "UpdateIncidentRecord", {})
1717
- .n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
1718
- .sc(UpdateIncidentRecord$)
1719
- .build() {
1481
+ class UpdateIncidentRecordCommand extends command(_ep0, _mw0, "UpdateIncidentRecord", UpdateIncidentRecord$) {
1720
1482
  }
1721
1483
 
1722
- class UpdateRelatedItemsCommand extends Command
1723
- .classBuilder()
1724
- .ep(commonParams)
1725
- .m(function (Command, cs, config, o) {
1726
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1727
- })
1728
- .s("SSMIncidents", "UpdateRelatedItems", {})
1729
- .n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
1730
- .sc(UpdateRelatedItems$)
1731
- .build() {
1484
+ class UpdateRelatedItemsCommand extends command(_ep0, _mw0, "UpdateRelatedItems", UpdateRelatedItems$) {
1732
1485
  }
1733
1486
 
1734
- class UpdateReplicationSetCommand extends Command
1735
- .classBuilder()
1736
- .ep(commonParams)
1737
- .m(function (Command, cs, config, o) {
1738
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1739
- })
1740
- .s("SSMIncidents", "UpdateReplicationSet", {})
1741
- .n("SSMIncidentsClient", "UpdateReplicationSetCommand")
1742
- .sc(UpdateReplicationSet$)
1743
- .build() {
1487
+ class UpdateReplicationSetCommand extends command(_ep0, _mw0, "UpdateReplicationSet", UpdateReplicationSet$) {
1744
1488
  }
1745
1489
 
1746
- class UpdateResponsePlanCommand extends Command
1747
- .classBuilder()
1748
- .ep(commonParams)
1749
- .m(function (Command, cs, config, o) {
1750
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1751
- })
1752
- .s("SSMIncidents", "UpdateResponsePlan", {})
1753
- .n("SSMIncidentsClient", "UpdateResponsePlanCommand")
1754
- .sc(UpdateResponsePlan$)
1755
- .build() {
1490
+ class UpdateResponsePlanCommand extends command(_ep0, _mw0, "UpdateResponsePlan", UpdateResponsePlan$) {
1756
1491
  }
1757
1492
 
1758
- class UpdateTimelineEventCommand extends Command
1759
- .classBuilder()
1760
- .ep(commonParams)
1761
- .m(function (Command, cs, config, o) {
1762
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
- })
1764
- .s("SSMIncidents", "UpdateTimelineEvent", {})
1765
- .n("SSMIncidentsClient", "UpdateTimelineEventCommand")
1766
- .sc(UpdateTimelineEvent$)
1767
- .build() {
1493
+ class UpdateTimelineEventCommand extends command(_ep0, _mw0, "UpdateTimelineEvent", UpdateTimelineEvent$) {
1768
1494
  }
1769
1495
 
1770
1496
  const paginateGetResourcePolicies = createPaginator(SSMIncidentsClient, GetResourcePoliciesCommand, "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, "SSMIncidents", "SSMIncidentsClient", 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 { BatchGetIncidentFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetIncidentFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "BatchGetIncidentFindings", {})
13
- .n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
14
- .sc(BatchGetIncidentFindings$)
15
- .build() {
3
+ export class BatchGetIncidentFindingsCommand extends command(_ep0, _mw0, "BatchGetIncidentFindings", BatchGetIncidentFindings$) {
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 { CreateReplicationSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateReplicationSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "CreateReplicationSet", {})
13
- .n("SSMIncidentsClient", "CreateReplicationSetCommand")
14
- .sc(CreateReplicationSet$)
15
- .build() {
3
+ export class CreateReplicationSetCommand extends command(_ep0, _mw0, "CreateReplicationSet", CreateReplicationSet$) {
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 { CreateResponsePlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateResponsePlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "CreateResponsePlan", {})
13
- .n("SSMIncidentsClient", "CreateResponsePlanCommand")
14
- .sc(CreateResponsePlan$)
15
- .build() {
3
+ export class CreateResponsePlanCommand extends command(_ep0, _mw0, "CreateResponsePlan", CreateResponsePlan$) {
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 { CreateTimelineEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTimelineEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "CreateTimelineEvent", {})
13
- .n("SSMIncidentsClient", "CreateTimelineEventCommand")
14
- .sc(CreateTimelineEvent$)
15
- .build() {
3
+ export class CreateTimelineEventCommand extends command(_ep0, _mw0, "CreateTimelineEvent", CreateTimelineEvent$) {
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 { DeleteIncidentRecord$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIncidentRecordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "DeleteIncidentRecord", {})
13
- .n("SSMIncidentsClient", "DeleteIncidentRecordCommand")
14
- .sc(DeleteIncidentRecord$)
15
- .build() {
3
+ export class DeleteIncidentRecordCommand extends command(_ep0, _mw0, "DeleteIncidentRecord", DeleteIncidentRecord$) {
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 { DeleteReplicationSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteReplicationSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "DeleteReplicationSet", {})
13
- .n("SSMIncidentsClient", "DeleteReplicationSetCommand")
14
- .sc(DeleteReplicationSet$)
15
- .build() {
3
+ export class DeleteReplicationSetCommand extends command(_ep0, _mw0, "DeleteReplicationSet", DeleteReplicationSet$) {
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "DeleteResourcePolicy", {})
13
- .n("SSMIncidentsClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DeleteResponsePlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResponsePlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "DeleteResponsePlan", {})
13
- .n("SSMIncidentsClient", "DeleteResponsePlanCommand")
14
- .sc(DeleteResponsePlan$)
15
- .build() {
3
+ export class DeleteResponsePlanCommand extends command(_ep0, _mw0, "DeleteResponsePlan", DeleteResponsePlan$) {
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 { DeleteTimelineEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTimelineEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "DeleteTimelineEvent", {})
13
- .n("SSMIncidentsClient", "DeleteTimelineEventCommand")
14
- .sc(DeleteTimelineEvent$)
15
- .build() {
3
+ export class DeleteTimelineEventCommand extends command(_ep0, _mw0, "DeleteTimelineEvent", DeleteTimelineEvent$) {
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 { GetIncidentRecord$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIncidentRecordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetIncidentRecord", {})
13
- .n("SSMIncidentsClient", "GetIncidentRecordCommand")
14
- .sc(GetIncidentRecord$)
15
- .build() {
3
+ export class GetIncidentRecordCommand extends command(_ep0, _mw0, "GetIncidentRecord", GetIncidentRecord$) {
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 { GetReplicationSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetReplicationSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetReplicationSet", {})
13
- .n("SSMIncidentsClient", "GetReplicationSetCommand")
14
- .sc(GetReplicationSet$)
15
- .build() {
3
+ export class GetReplicationSetCommand extends command(_ep0, _mw0, "GetReplicationSet", GetReplicationSet$) {
16
4
  }