@aws-sdk/client-ssm-contacts 3.1077.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist-cjs/index.js +47 -393
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptPageCommand.js +2 -14
  4. package/dist-es/commands/ActivateContactChannelCommand.js +2 -14
  5. package/dist-es/commands/CreateContactChannelCommand.js +2 -14
  6. package/dist-es/commands/CreateContactCommand.js +2 -14
  7. package/dist-es/commands/CreateRotationCommand.js +2 -14
  8. package/dist-es/commands/CreateRotationOverrideCommand.js +2 -14
  9. package/dist-es/commands/DeactivateContactChannelCommand.js +2 -14
  10. package/dist-es/commands/DeleteContactChannelCommand.js +2 -14
  11. package/dist-es/commands/DeleteContactCommand.js +2 -14
  12. package/dist-es/commands/DeleteRotationCommand.js +2 -14
  13. package/dist-es/commands/DeleteRotationOverrideCommand.js +2 -14
  14. package/dist-es/commands/DescribeEngagementCommand.js +2 -14
  15. package/dist-es/commands/DescribePageCommand.js +2 -14
  16. package/dist-es/commands/GetContactChannelCommand.js +2 -14
  17. package/dist-es/commands/GetContactCommand.js +2 -14
  18. package/dist-es/commands/GetContactPolicyCommand.js +2 -14
  19. package/dist-es/commands/GetRotationCommand.js +2 -14
  20. package/dist-es/commands/GetRotationOverrideCommand.js +2 -14
  21. package/dist-es/commands/ListContactChannelsCommand.js +2 -14
  22. package/dist-es/commands/ListContactsCommand.js +2 -14
  23. package/dist-es/commands/ListEngagementsCommand.js +2 -14
  24. package/dist-es/commands/ListPageReceiptsCommand.js +2 -14
  25. package/dist-es/commands/ListPageResolutionsCommand.js +2 -14
  26. package/dist-es/commands/ListPagesByContactCommand.js +2 -14
  27. package/dist-es/commands/ListPagesByEngagementCommand.js +2 -14
  28. package/dist-es/commands/ListPreviewRotationShiftsCommand.js +2 -14
  29. package/dist-es/commands/ListRotationOverridesCommand.js +2 -14
  30. package/dist-es/commands/ListRotationShiftsCommand.js +2 -14
  31. package/dist-es/commands/ListRotationsCommand.js +2 -14
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  33. package/dist-es/commands/PutContactPolicyCommand.js +2 -14
  34. package/dist-es/commands/SendActivationCodeCommand.js +2 -14
  35. package/dist-es/commands/StartEngagementCommand.js +2 -14
  36. package/dist-es/commands/StopEngagementCommand.js +2 -14
  37. package/dist-es/commands/TagResourceCommand.js +2 -14
  38. package/dist-es/commands/UntagResourceCommand.js +2 -14
  39. package/dist-es/commands/UpdateContactChannelCommand.js +2 -14
  40. package/dist-es/commands/UpdateContactCommand.js +2 -14
  41. package/dist-es/commands/UpdateRotationCommand.js +2 -14
  42. package/dist-es/index.js +1 -0
  43. package/dist-types/commandBuilder.d.ts +18 -0
  44. package/dist-types/commands/AcceptPageCommand.d.ts +3 -8
  45. package/dist-types/commands/ActivateContactChannelCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateContactChannelCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateContactCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateRotationCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateRotationOverrideCommand.d.ts +3 -8
  50. package/dist-types/commands/DeactivateContactChannelCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteContactChannelCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteContactCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteRotationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteRotationOverrideCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeEngagementCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribePageCommand.d.ts +3 -8
  57. package/dist-types/commands/GetContactChannelCommand.d.ts +3 -8
  58. package/dist-types/commands/GetContactCommand.d.ts +3 -8
  59. package/dist-types/commands/GetContactPolicyCommand.d.ts +3 -8
  60. package/dist-types/commands/GetRotationCommand.d.ts +3 -8
  61. package/dist-types/commands/GetRotationOverrideCommand.d.ts +3 -8
  62. package/dist-types/commands/ListContactChannelsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListContactsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListEngagementsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListPageReceiptsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListPageResolutionsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListPagesByContactCommand.d.ts +3 -8
  68. package/dist-types/commands/ListPagesByEngagementCommand.d.ts +3 -8
  69. package/dist-types/commands/ListPreviewRotationShiftsCommand.d.ts +3 -8
  70. package/dist-types/commands/ListRotationOverridesCommand.d.ts +3 -8
  71. package/dist-types/commands/ListRotationShiftsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListRotationsCommand.d.ts +3 -8
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/PutContactPolicyCommand.d.ts +3 -8
  75. package/dist-types/commands/SendActivationCodeCommand.d.ts +3 -8
  76. package/dist-types/commands/StartEngagementCommand.d.ts +3 -8
  77. package/dist-types/commands/StopEngagementCommand.d.ts +3 -8
  78. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  79. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  80. package/dist-types/commands/UpdateContactChannelCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateContactCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateRotationCommand.d.ts +3 -8
  83. package/dist-types/index.d.ts +1 -0
  84. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  85. package/dist-types/ts3.4/commands/AcceptPageCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ActivateContactChannelCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CreateContactChannelCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CreateRotationCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/CreateRotationOverrideCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeactivateContactChannelCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteContactChannelCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteRotationCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteRotationOverrideCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeEngagementCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DescribePageCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetContactChannelCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetContactCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetContactPolicyCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetRotationCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetRotationOverrideCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListContactChannelsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListPageReceiptsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListPageResolutionsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListPagesByContactCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListPagesByEngagementCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListPreviewRotationShiftsCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListRotationOverridesCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListRotationShiftsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListRotationsCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/PutContactPolicyCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/StartEngagementCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/StopEngagementCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/UpdateContactChannelCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/UpdateRotationCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/index.d.ts +1 -0
  125. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1453,472 +1454,125 @@ class SSMContactsClient extends Client {
1453
1454
  }
1454
1455
  }
1455
1456
 
1456
- class AcceptPageCommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("SSMContacts", "AcceptPage", {})
1463
- .n("SSMContactsClient", "AcceptPageCommand")
1464
- .sc(AcceptPage$)
1465
- .build() {
1457
+ const command = makeBuilder(commonParams, "SSMContacts", "SSMContactsClient", getEndpointPlugin);
1458
+ const _ep0 = {};
1459
+ const _mw0 = (Command, cs, config, o) => [];
1460
+
1461
+ class AcceptPageCommand extends command(_ep0, _mw0, "AcceptPage", AcceptPage$) {
1466
1462
  }
1467
1463
 
1468
- class ActivateContactChannelCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("SSMContacts", "ActivateContactChannel", {})
1475
- .n("SSMContactsClient", "ActivateContactChannelCommand")
1476
- .sc(ActivateContactChannel$)
1477
- .build() {
1464
+ class ActivateContactChannelCommand extends command(_ep0, _mw0, "ActivateContactChannel", ActivateContactChannel$) {
1478
1465
  }
1479
1466
 
1480
- class CreateContactChannelCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("SSMContacts", "CreateContactChannel", {})
1487
- .n("SSMContactsClient", "CreateContactChannelCommand")
1488
- .sc(CreateContactChannel$)
1489
- .build() {
1467
+ class CreateContactChannelCommand extends command(_ep0, _mw0, "CreateContactChannel", CreateContactChannel$) {
1490
1468
  }
1491
1469
 
1492
- class CreateContactCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("SSMContacts", "CreateContact", {})
1499
- .n("SSMContactsClient", "CreateContactCommand")
1500
- .sc(CreateContact$)
1501
- .build() {
1470
+ class CreateContactCommand extends command(_ep0, _mw0, "CreateContact", CreateContact$) {
1502
1471
  }
1503
1472
 
1504
- class CreateRotationCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("SSMContacts", "CreateRotation", {})
1511
- .n("SSMContactsClient", "CreateRotationCommand")
1512
- .sc(CreateRotation$)
1513
- .build() {
1473
+ class CreateRotationCommand extends command(_ep0, _mw0, "CreateRotation", CreateRotation$) {
1514
1474
  }
1515
1475
 
1516
- class CreateRotationOverrideCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("SSMContacts", "CreateRotationOverride", {})
1523
- .n("SSMContactsClient", "CreateRotationOverrideCommand")
1524
- .sc(CreateRotationOverride$)
1525
- .build() {
1476
+ class CreateRotationOverrideCommand extends command(_ep0, _mw0, "CreateRotationOverride", CreateRotationOverride$) {
1526
1477
  }
1527
1478
 
1528
- class DeactivateContactChannelCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("SSMContacts", "DeactivateContactChannel", {})
1535
- .n("SSMContactsClient", "DeactivateContactChannelCommand")
1536
- .sc(DeactivateContactChannel$)
1537
- .build() {
1479
+ class DeactivateContactChannelCommand extends command(_ep0, _mw0, "DeactivateContactChannel", DeactivateContactChannel$) {
1538
1480
  }
1539
1481
 
1540
- class DeleteContactChannelCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("SSMContacts", "DeleteContactChannel", {})
1547
- .n("SSMContactsClient", "DeleteContactChannelCommand")
1548
- .sc(DeleteContactChannel$)
1549
- .build() {
1482
+ class DeleteContactChannelCommand extends command(_ep0, _mw0, "DeleteContactChannel", DeleteContactChannel$) {
1550
1483
  }
1551
1484
 
1552
- class DeleteContactCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("SSMContacts", "DeleteContact", {})
1559
- .n("SSMContactsClient", "DeleteContactCommand")
1560
- .sc(DeleteContact$)
1561
- .build() {
1485
+ class DeleteContactCommand extends command(_ep0, _mw0, "DeleteContact", DeleteContact$) {
1562
1486
  }
1563
1487
 
1564
- class DeleteRotationCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("SSMContacts", "DeleteRotation", {})
1571
- .n("SSMContactsClient", "DeleteRotationCommand")
1572
- .sc(DeleteRotation$)
1573
- .build() {
1488
+ class DeleteRotationCommand extends command(_ep0, _mw0, "DeleteRotation", DeleteRotation$) {
1574
1489
  }
1575
1490
 
1576
- class DeleteRotationOverrideCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("SSMContacts", "DeleteRotationOverride", {})
1583
- .n("SSMContactsClient", "DeleteRotationOverrideCommand")
1584
- .sc(DeleteRotationOverride$)
1585
- .build() {
1491
+ class DeleteRotationOverrideCommand extends command(_ep0, _mw0, "DeleteRotationOverride", DeleteRotationOverride$) {
1586
1492
  }
1587
1493
 
1588
- class DescribeEngagementCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("SSMContacts", "DescribeEngagement", {})
1595
- .n("SSMContactsClient", "DescribeEngagementCommand")
1596
- .sc(DescribeEngagement$)
1597
- .build() {
1494
+ class DescribeEngagementCommand extends command(_ep0, _mw0, "DescribeEngagement", DescribeEngagement$) {
1598
1495
  }
1599
1496
 
1600
- class DescribePageCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("SSMContacts", "DescribePage", {})
1607
- .n("SSMContactsClient", "DescribePageCommand")
1608
- .sc(DescribePage$)
1609
- .build() {
1497
+ class DescribePageCommand extends command(_ep0, _mw0, "DescribePage", DescribePage$) {
1610
1498
  }
1611
1499
 
1612
- class GetContactChannelCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("SSMContacts", "GetContactChannel", {})
1619
- .n("SSMContactsClient", "GetContactChannelCommand")
1620
- .sc(GetContactChannel$)
1621
- .build() {
1500
+ class GetContactChannelCommand extends command(_ep0, _mw0, "GetContactChannel", GetContactChannel$) {
1622
1501
  }
1623
1502
 
1624
- class GetContactCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("SSMContacts", "GetContact", {})
1631
- .n("SSMContactsClient", "GetContactCommand")
1632
- .sc(GetContact$)
1633
- .build() {
1503
+ class GetContactCommand extends command(_ep0, _mw0, "GetContact", GetContact$) {
1634
1504
  }
1635
1505
 
1636
- class GetContactPolicyCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("SSMContacts", "GetContactPolicy", {})
1643
- .n("SSMContactsClient", "GetContactPolicyCommand")
1644
- .sc(GetContactPolicy$)
1645
- .build() {
1506
+ class GetContactPolicyCommand extends command(_ep0, _mw0, "GetContactPolicy", GetContactPolicy$) {
1646
1507
  }
1647
1508
 
1648
- class GetRotationCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("SSMContacts", "GetRotation", {})
1655
- .n("SSMContactsClient", "GetRotationCommand")
1656
- .sc(GetRotation$)
1657
- .build() {
1509
+ class GetRotationCommand extends command(_ep0, _mw0, "GetRotation", GetRotation$) {
1658
1510
  }
1659
1511
 
1660
- class GetRotationOverrideCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("SSMContacts", "GetRotationOverride", {})
1667
- .n("SSMContactsClient", "GetRotationOverrideCommand")
1668
- .sc(GetRotationOverride$)
1669
- .build() {
1512
+ class GetRotationOverrideCommand extends command(_ep0, _mw0, "GetRotationOverride", GetRotationOverride$) {
1670
1513
  }
1671
1514
 
1672
- class ListContactChannelsCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("SSMContacts", "ListContactChannels", {})
1679
- .n("SSMContactsClient", "ListContactChannelsCommand")
1680
- .sc(ListContactChannels$)
1681
- .build() {
1515
+ class ListContactChannelsCommand extends command(_ep0, _mw0, "ListContactChannels", ListContactChannels$) {
1682
1516
  }
1683
1517
 
1684
- class ListContactsCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("SSMContacts", "ListContacts", {})
1691
- .n("SSMContactsClient", "ListContactsCommand")
1692
- .sc(ListContacts$)
1693
- .build() {
1518
+ class ListContactsCommand extends command(_ep0, _mw0, "ListContacts", ListContacts$) {
1694
1519
  }
1695
1520
 
1696
- class ListEngagementsCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("SSMContacts", "ListEngagements", {})
1703
- .n("SSMContactsClient", "ListEngagementsCommand")
1704
- .sc(ListEngagements$)
1705
- .build() {
1521
+ class ListEngagementsCommand extends command(_ep0, _mw0, "ListEngagements", ListEngagements$) {
1706
1522
  }
1707
1523
 
1708
- class ListPageReceiptsCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("SSMContacts", "ListPageReceipts", {})
1715
- .n("SSMContactsClient", "ListPageReceiptsCommand")
1716
- .sc(ListPageReceipts$)
1717
- .build() {
1524
+ class ListPageReceiptsCommand extends command(_ep0, _mw0, "ListPageReceipts", ListPageReceipts$) {
1718
1525
  }
1719
1526
 
1720
- class ListPageResolutionsCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("SSMContacts", "ListPageResolutions", {})
1727
- .n("SSMContactsClient", "ListPageResolutionsCommand")
1728
- .sc(ListPageResolutions$)
1729
- .build() {
1527
+ class ListPageResolutionsCommand extends command(_ep0, _mw0, "ListPageResolutions", ListPageResolutions$) {
1730
1528
  }
1731
1529
 
1732
- class ListPagesByContactCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("SSMContacts", "ListPagesByContact", {})
1739
- .n("SSMContactsClient", "ListPagesByContactCommand")
1740
- .sc(ListPagesByContact$)
1741
- .build() {
1530
+ class ListPagesByContactCommand extends command(_ep0, _mw0, "ListPagesByContact", ListPagesByContact$) {
1742
1531
  }
1743
1532
 
1744
- class ListPagesByEngagementCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("SSMContacts", "ListPagesByEngagement", {})
1751
- .n("SSMContactsClient", "ListPagesByEngagementCommand")
1752
- .sc(ListPagesByEngagement$)
1753
- .build() {
1533
+ class ListPagesByEngagementCommand extends command(_ep0, _mw0, "ListPagesByEngagement", ListPagesByEngagement$) {
1754
1534
  }
1755
1535
 
1756
- class ListPreviewRotationShiftsCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("SSMContacts", "ListPreviewRotationShifts", {})
1763
- .n("SSMContactsClient", "ListPreviewRotationShiftsCommand")
1764
- .sc(ListPreviewRotationShifts$)
1765
- .build() {
1536
+ class ListPreviewRotationShiftsCommand extends command(_ep0, _mw0, "ListPreviewRotationShifts", ListPreviewRotationShifts$) {
1766
1537
  }
1767
1538
 
1768
- class ListRotationOverridesCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("SSMContacts", "ListRotationOverrides", {})
1775
- .n("SSMContactsClient", "ListRotationOverridesCommand")
1776
- .sc(ListRotationOverrides$)
1777
- .build() {
1539
+ class ListRotationOverridesCommand extends command(_ep0, _mw0, "ListRotationOverrides", ListRotationOverrides$) {
1778
1540
  }
1779
1541
 
1780
- class ListRotationsCommand extends Command
1781
- .classBuilder()
1782
- .ep(commonParams)
1783
- .m(function (Command, cs, config, o) {
1784
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1785
- })
1786
- .s("SSMContacts", "ListRotations", {})
1787
- .n("SSMContactsClient", "ListRotationsCommand")
1788
- .sc(ListRotations$)
1789
- .build() {
1542
+ class ListRotationsCommand extends command(_ep0, _mw0, "ListRotations", ListRotations$) {
1790
1543
  }
1791
1544
 
1792
- class ListRotationShiftsCommand extends Command
1793
- .classBuilder()
1794
- .ep(commonParams)
1795
- .m(function (Command, cs, config, o) {
1796
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
- })
1798
- .s("SSMContacts", "ListRotationShifts", {})
1799
- .n("SSMContactsClient", "ListRotationShiftsCommand")
1800
- .sc(ListRotationShifts$)
1801
- .build() {
1545
+ class ListRotationShiftsCommand extends command(_ep0, _mw0, "ListRotationShifts", ListRotationShifts$) {
1802
1546
  }
1803
1547
 
1804
- class ListTagsForResourceCommand extends Command
1805
- .classBuilder()
1806
- .ep(commonParams)
1807
- .m(function (Command, cs, config, o) {
1808
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1809
- })
1810
- .s("SSMContacts", "ListTagsForResource", {})
1811
- .n("SSMContactsClient", "ListTagsForResourceCommand")
1812
- .sc(ListTagsForResource$)
1813
- .build() {
1548
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1814
1549
  }
1815
1550
 
1816
- class PutContactPolicyCommand extends Command
1817
- .classBuilder()
1818
- .ep(commonParams)
1819
- .m(function (Command, cs, config, o) {
1820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
- })
1822
- .s("SSMContacts", "PutContactPolicy", {})
1823
- .n("SSMContactsClient", "PutContactPolicyCommand")
1824
- .sc(PutContactPolicy$)
1825
- .build() {
1551
+ class PutContactPolicyCommand extends command(_ep0, _mw0, "PutContactPolicy", PutContactPolicy$) {
1826
1552
  }
1827
1553
 
1828
- class SendActivationCodeCommand extends Command
1829
- .classBuilder()
1830
- .ep(commonParams)
1831
- .m(function (Command, cs, config, o) {
1832
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
- })
1834
- .s("SSMContacts", "SendActivationCode", {})
1835
- .n("SSMContactsClient", "SendActivationCodeCommand")
1836
- .sc(SendActivationCode$)
1837
- .build() {
1554
+ class SendActivationCodeCommand extends command(_ep0, _mw0, "SendActivationCode", SendActivationCode$) {
1838
1555
  }
1839
1556
 
1840
- class StartEngagementCommand extends Command
1841
- .classBuilder()
1842
- .ep(commonParams)
1843
- .m(function (Command, cs, config, o) {
1844
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
- })
1846
- .s("SSMContacts", "StartEngagement", {})
1847
- .n("SSMContactsClient", "StartEngagementCommand")
1848
- .sc(StartEngagement$)
1849
- .build() {
1557
+ class StartEngagementCommand extends command(_ep0, _mw0, "StartEngagement", StartEngagement$) {
1850
1558
  }
1851
1559
 
1852
- class StopEngagementCommand extends Command
1853
- .classBuilder()
1854
- .ep(commonParams)
1855
- .m(function (Command, cs, config, o) {
1856
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1857
- })
1858
- .s("SSMContacts", "StopEngagement", {})
1859
- .n("SSMContactsClient", "StopEngagementCommand")
1860
- .sc(StopEngagement$)
1861
- .build() {
1560
+ class StopEngagementCommand extends command(_ep0, _mw0, "StopEngagement", StopEngagement$) {
1862
1561
  }
1863
1562
 
1864
- class TagResourceCommand extends Command
1865
- .classBuilder()
1866
- .ep(commonParams)
1867
- .m(function (Command, cs, config, o) {
1868
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1869
- })
1870
- .s("SSMContacts", "TagResource", {})
1871
- .n("SSMContactsClient", "TagResourceCommand")
1872
- .sc(TagResource$)
1873
- .build() {
1563
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1874
1564
  }
1875
1565
 
1876
- class UntagResourceCommand extends Command
1877
- .classBuilder()
1878
- .ep(commonParams)
1879
- .m(function (Command, cs, config, o) {
1880
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
- })
1882
- .s("SSMContacts", "UntagResource", {})
1883
- .n("SSMContactsClient", "UntagResourceCommand")
1884
- .sc(UntagResource$)
1885
- .build() {
1566
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1886
1567
  }
1887
1568
 
1888
- class UpdateContactChannelCommand extends Command
1889
- .classBuilder()
1890
- .ep(commonParams)
1891
- .m(function (Command, cs, config, o) {
1892
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1893
- })
1894
- .s("SSMContacts", "UpdateContactChannel", {})
1895
- .n("SSMContactsClient", "UpdateContactChannelCommand")
1896
- .sc(UpdateContactChannel$)
1897
- .build() {
1569
+ class UpdateContactChannelCommand extends command(_ep0, _mw0, "UpdateContactChannel", UpdateContactChannel$) {
1898
1570
  }
1899
1571
 
1900
- class UpdateContactCommand extends Command
1901
- .classBuilder()
1902
- .ep(commonParams)
1903
- .m(function (Command, cs, config, o) {
1904
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1905
- })
1906
- .s("SSMContacts", "UpdateContact", {})
1907
- .n("SSMContactsClient", "UpdateContactCommand")
1908
- .sc(UpdateContact$)
1909
- .build() {
1572
+ class UpdateContactCommand extends command(_ep0, _mw0, "UpdateContact", UpdateContact$) {
1910
1573
  }
1911
1574
 
1912
- class UpdateRotationCommand extends Command
1913
- .classBuilder()
1914
- .ep(commonParams)
1915
- .m(function (Command, cs, config, o) {
1916
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1917
- })
1918
- .s("SSMContacts", "UpdateRotation", {})
1919
- .n("SSMContactsClient", "UpdateRotationCommand")
1920
- .sc(UpdateRotation$)
1921
- .build() {
1575
+ class UpdateRotationCommand extends command(_ep0, _mw0, "UpdateRotation", UpdateRotation$) {
1922
1576
  }
1923
1577
 
1924
1578
  const paginateListContactChannels = createPaginator(SSMContactsClient, ListContactChannelsCommand, "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, "SSMContacts", "SSMContactsClient", 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 { AcceptPage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptPageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "AcceptPage", {})
13
- .n("SSMContactsClient", "AcceptPageCommand")
14
- .sc(AcceptPage$)
15
- .build() {
3
+ export class AcceptPageCommand extends command(_ep0, _mw0, "AcceptPage", AcceptPage$) {
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 { ActivateContactChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ActivateContactChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "ActivateContactChannel", {})
13
- .n("SSMContactsClient", "ActivateContactChannelCommand")
14
- .sc(ActivateContactChannel$)
15
- .build() {
3
+ export class ActivateContactChannelCommand extends command(_ep0, _mw0, "ActivateContactChannel", ActivateContactChannel$) {
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 { CreateContactChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateContactChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "CreateContactChannel", {})
13
- .n("SSMContactsClient", "CreateContactChannelCommand")
14
- .sc(CreateContactChannel$)
15
- .build() {
3
+ export class CreateContactChannelCommand extends command(_ep0, _mw0, "CreateContactChannel", CreateContactChannel$) {
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 { CreateContact$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateContactCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "CreateContact", {})
13
- .n("SSMContactsClient", "CreateContactCommand")
14
- .sc(CreateContact$)
15
- .build() {
3
+ export class CreateContactCommand extends command(_ep0, _mw0, "CreateContact", CreateContact$) {
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 { CreateRotation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRotationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "CreateRotation", {})
13
- .n("SSMContactsClient", "CreateRotationCommand")
14
- .sc(CreateRotation$)
15
- .build() {
3
+ export class CreateRotationCommand extends command(_ep0, _mw0, "CreateRotation", CreateRotation$) {
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 { CreateRotationOverride$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRotationOverrideCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMContacts", "CreateRotationOverride", {})
13
- .n("SSMContactsClient", "CreateRotationOverrideCommand")
14
- .sc(CreateRotationOverride$)
15
- .build() {
3
+ export class CreateRotationOverrideCommand extends command(_ep0, _mw0, "CreateRotationOverride", CreateRotationOverride$) {
16
4
  }