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