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