@aws-sdk/client-notifications 3.1077.0 → 3.1079.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist-cjs/index.js +47 -393
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateChannelCommand.js +2 -14
  4. package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +2 -14
  5. package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +2 -14
  6. package/dist-es/commands/AssociateOrganizationalUnitCommand.js +2 -14
  7. package/dist-es/commands/CreateEventRuleCommand.js +2 -14
  8. package/dist-es/commands/CreateNotificationConfigurationCommand.js +2 -14
  9. package/dist-es/commands/DeleteEventRuleCommand.js +2 -14
  10. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +2 -14
  11. package/dist-es/commands/DeregisterNotificationHubCommand.js +2 -14
  12. package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +2 -14
  13. package/dist-es/commands/DisassociateChannelCommand.js +2 -14
  14. package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +2 -14
  15. package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +2 -14
  16. package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +2 -14
  17. package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +2 -14
  18. package/dist-es/commands/GetEventRuleCommand.js +2 -14
  19. package/dist-es/commands/GetManagedNotificationChildEventCommand.js +2 -14
  20. package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +2 -14
  21. package/dist-es/commands/GetManagedNotificationEventCommand.js +2 -14
  22. package/dist-es/commands/GetNotificationConfigurationCommand.js +2 -14
  23. package/dist-es/commands/GetNotificationEventCommand.js +2 -14
  24. package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +2 -14
  25. package/dist-es/commands/ListChannelsCommand.js +2 -14
  26. package/dist-es/commands/ListEventRulesCommand.js +2 -14
  27. package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +2 -14
  28. package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +2 -14
  29. package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +2 -14
  30. package/dist-es/commands/ListManagedNotificationEventsCommand.js +2 -14
  31. package/dist-es/commands/ListMemberAccountsCommand.js +2 -14
  32. package/dist-es/commands/ListNotificationConfigurationsCommand.js +2 -14
  33. package/dist-es/commands/ListNotificationEventsCommand.js +2 -14
  34. package/dist-es/commands/ListNotificationHubsCommand.js +2 -14
  35. package/dist-es/commands/ListOrganizationalUnitsCommand.js +2 -14
  36. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  37. package/dist-es/commands/RegisterNotificationHubCommand.js +2 -14
  38. package/dist-es/commands/TagResourceCommand.js +2 -14
  39. package/dist-es/commands/UntagResourceCommand.js +2 -14
  40. package/dist-es/commands/UpdateEventRuleCommand.js +2 -14
  41. package/dist-es/commands/UpdateNotificationConfigurationCommand.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/AssociateChannelCommand.d.ts +3 -8
  45. package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +3 -8
  46. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +3 -8
  47. package/dist-types/commands/AssociateOrganizationalUnitCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateEventRuleCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteEventRuleCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +3 -8
  53. package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +3 -8
  54. package/dist-types/commands/DisassociateChannelCommand.d.ts +3 -8
  55. package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +3 -8
  56. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +3 -8
  57. package/dist-types/commands/DisassociateOrganizationalUnitCommand.d.ts +3 -8
  58. package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +3 -8
  59. package/dist-types/commands/GetEventRuleCommand.d.ts +3 -8
  60. package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +3 -8
  61. package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +3 -8
  62. package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +3 -8
  63. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +3 -8
  64. package/dist-types/commands/GetNotificationEventCommand.d.ts +3 -8
  65. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +3 -8
  66. package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListEventRulesCommand.d.ts +3 -8
  68. package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +3 -8
  70. package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +3 -8
  71. package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListMemberAccountsCommand.d.ts +3 -8
  73. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +3 -8
  74. package/dist-types/commands/ListNotificationEventsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListNotificationHubsCommand.d.ts +3 -8
  76. package/dist-types/commands/ListOrganizationalUnitsCommand.d.ts +3 -8
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  78. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -8
  79. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  80. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateEventRuleCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateNotificationConfigurationCommand.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/AssociateChannelCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/AssociateOrganizationalUnitCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CreateEventRuleCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteEventRuleCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeregisterNotificationHubCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DisassociateChannelCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DisassociateOrganizationalUnitCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetEventRuleCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetNotificationEventCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListEventRulesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListMemberAccountsCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListNotificationEventsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListNotificationHubsCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListOrganizationalUnitsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/RegisterNotificationHubCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/UpdateEventRuleCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.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");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1078.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -1442,472 +1443,125 @@ class NotificationsClient extends Client {
1442
1443
  }
1443
1444
  }
1444
1445
 
1445
- class AssociateChannelCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("Notifications", "AssociateChannel", {})
1452
- .n("NotificationsClient", "AssociateChannelCommand")
1453
- .sc(AssociateChannel$)
1454
- .build() {
1446
+ const command = makeBuilder(commonParams, "Notifications", "NotificationsClient", getEndpointPlugin);
1447
+ const _ep0 = {};
1448
+ const _mw0 = (Command, cs, config, o) => [];
1449
+
1450
+ class AssociateChannelCommand extends command(_ep0, _mw0, "AssociateChannel", AssociateChannel$) {
1455
1451
  }
1456
1452
 
1457
- class AssociateManagedNotificationAccountContactCommand extends Command
1458
- .classBuilder()
1459
- .ep(commonParams)
1460
- .m(function (Command, cs, config, o) {
1461
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1462
- })
1463
- .s("Notifications", "AssociateManagedNotificationAccountContact", {})
1464
- .n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")
1465
- .sc(AssociateManagedNotificationAccountContact$)
1466
- .build() {
1453
+ class AssociateManagedNotificationAccountContactCommand extends command(_ep0, _mw0, "AssociateManagedNotificationAccountContact", AssociateManagedNotificationAccountContact$) {
1467
1454
  }
1468
1455
 
1469
- class AssociateManagedNotificationAdditionalChannelCommand extends Command
1470
- .classBuilder()
1471
- .ep(commonParams)
1472
- .m(function (Command, cs, config, o) {
1473
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
- })
1475
- .s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})
1476
- .n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")
1477
- .sc(AssociateManagedNotificationAdditionalChannel$)
1478
- .build() {
1456
+ class AssociateManagedNotificationAdditionalChannelCommand extends command(_ep0, _mw0, "AssociateManagedNotificationAdditionalChannel", AssociateManagedNotificationAdditionalChannel$) {
1479
1457
  }
1480
1458
 
1481
- class AssociateOrganizationalUnitCommand extends Command
1482
- .classBuilder()
1483
- .ep(commonParams)
1484
- .m(function (Command, cs, config, o) {
1485
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
- })
1487
- .s("Notifications", "AssociateOrganizationalUnit", {})
1488
- .n("NotificationsClient", "AssociateOrganizationalUnitCommand")
1489
- .sc(AssociateOrganizationalUnit$)
1490
- .build() {
1459
+ class AssociateOrganizationalUnitCommand extends command(_ep0, _mw0, "AssociateOrganizationalUnit", AssociateOrganizationalUnit$) {
1491
1460
  }
1492
1461
 
1493
- class CreateEventRuleCommand extends Command
1494
- .classBuilder()
1495
- .ep(commonParams)
1496
- .m(function (Command, cs, config, o) {
1497
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
- })
1499
- .s("Notifications", "CreateEventRule", {})
1500
- .n("NotificationsClient", "CreateEventRuleCommand")
1501
- .sc(CreateEventRule$)
1502
- .build() {
1462
+ class CreateEventRuleCommand extends command(_ep0, _mw0, "CreateEventRule", CreateEventRule$) {
1503
1463
  }
1504
1464
 
1505
- class CreateNotificationConfigurationCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("Notifications", "CreateNotificationConfiguration", {})
1512
- .n("NotificationsClient", "CreateNotificationConfigurationCommand")
1513
- .sc(CreateNotificationConfiguration$)
1514
- .build() {
1465
+ class CreateNotificationConfigurationCommand extends command(_ep0, _mw0, "CreateNotificationConfiguration", CreateNotificationConfiguration$) {
1515
1466
  }
1516
1467
 
1517
- class DeleteEventRuleCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("Notifications", "DeleteEventRule", {})
1524
- .n("NotificationsClient", "DeleteEventRuleCommand")
1525
- .sc(DeleteEventRule$)
1526
- .build() {
1468
+ class DeleteEventRuleCommand extends command(_ep0, _mw0, "DeleteEventRule", DeleteEventRule$) {
1527
1469
  }
1528
1470
 
1529
- class DeleteNotificationConfigurationCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("Notifications", "DeleteNotificationConfiguration", {})
1536
- .n("NotificationsClient", "DeleteNotificationConfigurationCommand")
1537
- .sc(DeleteNotificationConfiguration$)
1538
- .build() {
1471
+ class DeleteNotificationConfigurationCommand extends command(_ep0, _mw0, "DeleteNotificationConfiguration", DeleteNotificationConfiguration$) {
1539
1472
  }
1540
1473
 
1541
- class DeregisterNotificationHubCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("Notifications", "DeregisterNotificationHub", {})
1548
- .n("NotificationsClient", "DeregisterNotificationHubCommand")
1549
- .sc(DeregisterNotificationHub$)
1550
- .build() {
1474
+ class DeregisterNotificationHubCommand extends command(_ep0, _mw0, "DeregisterNotificationHub", DeregisterNotificationHub$) {
1551
1475
  }
1552
1476
 
1553
- class DisableNotificationsAccessForOrganizationCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("Notifications", "DisableNotificationsAccessForOrganization", {})
1560
- .n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand")
1561
- .sc(DisableNotificationsAccessForOrganization$)
1562
- .build() {
1477
+ class DisableNotificationsAccessForOrganizationCommand extends command(_ep0, _mw0, "DisableNotificationsAccessForOrganization", DisableNotificationsAccessForOrganization$) {
1563
1478
  }
1564
1479
 
1565
- class DisassociateChannelCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("Notifications", "DisassociateChannel", {})
1572
- .n("NotificationsClient", "DisassociateChannelCommand")
1573
- .sc(DisassociateChannel$)
1574
- .build() {
1480
+ class DisassociateChannelCommand extends command(_ep0, _mw0, "DisassociateChannel", DisassociateChannel$) {
1575
1481
  }
1576
1482
 
1577
- class DisassociateManagedNotificationAccountContactCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("Notifications", "DisassociateManagedNotificationAccountContact", {})
1584
- .n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand")
1585
- .sc(DisassociateManagedNotificationAccountContact$)
1586
- .build() {
1483
+ class DisassociateManagedNotificationAccountContactCommand extends command(_ep0, _mw0, "DisassociateManagedNotificationAccountContact", DisassociateManagedNotificationAccountContact$) {
1587
1484
  }
1588
1485
 
1589
- class DisassociateManagedNotificationAdditionalChannelCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {})
1596
- .n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand")
1597
- .sc(DisassociateManagedNotificationAdditionalChannel$)
1598
- .build() {
1486
+ class DisassociateManagedNotificationAdditionalChannelCommand extends command(_ep0, _mw0, "DisassociateManagedNotificationAdditionalChannel", DisassociateManagedNotificationAdditionalChannel$) {
1599
1487
  }
1600
1488
 
1601
- class DisassociateOrganizationalUnitCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("Notifications", "DisassociateOrganizationalUnit", {})
1608
- .n("NotificationsClient", "DisassociateOrganizationalUnitCommand")
1609
- .sc(DisassociateOrganizationalUnit$)
1610
- .build() {
1489
+ class DisassociateOrganizationalUnitCommand extends command(_ep0, _mw0, "DisassociateOrganizationalUnit", DisassociateOrganizationalUnit$) {
1611
1490
  }
1612
1491
 
1613
- class EnableNotificationsAccessForOrganizationCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("Notifications", "EnableNotificationsAccessForOrganization", {})
1620
- .n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand")
1621
- .sc(EnableNotificationsAccessForOrganization$)
1622
- .build() {
1492
+ class EnableNotificationsAccessForOrganizationCommand extends command(_ep0, _mw0, "EnableNotificationsAccessForOrganization", EnableNotificationsAccessForOrganization$) {
1623
1493
  }
1624
1494
 
1625
- class GetEventRuleCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("Notifications", "GetEventRule", {})
1632
- .n("NotificationsClient", "GetEventRuleCommand")
1633
- .sc(GetEventRule$)
1634
- .build() {
1495
+ class GetEventRuleCommand extends command(_ep0, _mw0, "GetEventRule", GetEventRule$) {
1635
1496
  }
1636
1497
 
1637
- class GetManagedNotificationChildEventCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("Notifications", "GetManagedNotificationChildEvent", {})
1644
- .n("NotificationsClient", "GetManagedNotificationChildEventCommand")
1645
- .sc(GetManagedNotificationChildEvent$)
1646
- .build() {
1498
+ class GetManagedNotificationChildEventCommand extends command(_ep0, _mw0, "GetManagedNotificationChildEvent", GetManagedNotificationChildEvent$) {
1647
1499
  }
1648
1500
 
1649
- class GetManagedNotificationConfigurationCommand extends Command
1650
- .classBuilder()
1651
- .ep(commonParams)
1652
- .m(function (Command, cs, config, o) {
1653
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1654
- })
1655
- .s("Notifications", "GetManagedNotificationConfiguration", {})
1656
- .n("NotificationsClient", "GetManagedNotificationConfigurationCommand")
1657
- .sc(GetManagedNotificationConfiguration$)
1658
- .build() {
1501
+ class GetManagedNotificationConfigurationCommand extends command(_ep0, _mw0, "GetManagedNotificationConfiguration", GetManagedNotificationConfiguration$) {
1659
1502
  }
1660
1503
 
1661
- class GetManagedNotificationEventCommand extends Command
1662
- .classBuilder()
1663
- .ep(commonParams)
1664
- .m(function (Command, cs, config, o) {
1665
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1666
- })
1667
- .s("Notifications", "GetManagedNotificationEvent", {})
1668
- .n("NotificationsClient", "GetManagedNotificationEventCommand")
1669
- .sc(GetManagedNotificationEvent$)
1670
- .build() {
1504
+ class GetManagedNotificationEventCommand extends command(_ep0, _mw0, "GetManagedNotificationEvent", GetManagedNotificationEvent$) {
1671
1505
  }
1672
1506
 
1673
- class GetNotificationConfigurationCommand extends Command
1674
- .classBuilder()
1675
- .ep(commonParams)
1676
- .m(function (Command, cs, config, o) {
1677
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
- })
1679
- .s("Notifications", "GetNotificationConfiguration", {})
1680
- .n("NotificationsClient", "GetNotificationConfigurationCommand")
1681
- .sc(GetNotificationConfiguration$)
1682
- .build() {
1507
+ class GetNotificationConfigurationCommand extends command(_ep0, _mw0, "GetNotificationConfiguration", GetNotificationConfiguration$) {
1683
1508
  }
1684
1509
 
1685
- class GetNotificationEventCommand extends Command
1686
- .classBuilder()
1687
- .ep(commonParams)
1688
- .m(function (Command, cs, config, o) {
1689
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1690
- })
1691
- .s("Notifications", "GetNotificationEvent", {})
1692
- .n("NotificationsClient", "GetNotificationEventCommand")
1693
- .sc(GetNotificationEvent$)
1694
- .build() {
1510
+ class GetNotificationEventCommand extends command(_ep0, _mw0, "GetNotificationEvent", GetNotificationEvent$) {
1695
1511
  }
1696
1512
 
1697
- class GetNotificationsAccessForOrganizationCommand extends Command
1698
- .classBuilder()
1699
- .ep(commonParams)
1700
- .m(function (Command, cs, config, o) {
1701
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
- })
1703
- .s("Notifications", "GetNotificationsAccessForOrganization", {})
1704
- .n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand")
1705
- .sc(GetNotificationsAccessForOrganization$)
1706
- .build() {
1513
+ class GetNotificationsAccessForOrganizationCommand extends command(_ep0, _mw0, "GetNotificationsAccessForOrganization", GetNotificationsAccessForOrganization$) {
1707
1514
  }
1708
1515
 
1709
- class ListChannelsCommand extends Command
1710
- .classBuilder()
1711
- .ep(commonParams)
1712
- .m(function (Command, cs, config, o) {
1713
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
- })
1715
- .s("Notifications", "ListChannels", {})
1716
- .n("NotificationsClient", "ListChannelsCommand")
1717
- .sc(ListChannels$)
1718
- .build() {
1516
+ class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
1719
1517
  }
1720
1518
 
1721
- class ListEventRulesCommand extends Command
1722
- .classBuilder()
1723
- .ep(commonParams)
1724
- .m(function (Command, cs, config, o) {
1725
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
- })
1727
- .s("Notifications", "ListEventRules", {})
1728
- .n("NotificationsClient", "ListEventRulesCommand")
1729
- .sc(ListEventRules$)
1730
- .build() {
1519
+ class ListEventRulesCommand extends command(_ep0, _mw0, "ListEventRules", ListEventRules$) {
1731
1520
  }
1732
1521
 
1733
- class ListManagedNotificationChannelAssociationsCommand extends Command
1734
- .classBuilder()
1735
- .ep(commonParams)
1736
- .m(function (Command, cs, config, o) {
1737
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1738
- })
1739
- .s("Notifications", "ListManagedNotificationChannelAssociations", {})
1740
- .n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand")
1741
- .sc(ListManagedNotificationChannelAssociations$)
1742
- .build() {
1522
+ class ListManagedNotificationChannelAssociationsCommand extends command(_ep0, _mw0, "ListManagedNotificationChannelAssociations", ListManagedNotificationChannelAssociations$) {
1743
1523
  }
1744
1524
 
1745
- class ListManagedNotificationChildEventsCommand extends Command
1746
- .classBuilder()
1747
- .ep(commonParams)
1748
- .m(function (Command, cs, config, o) {
1749
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1750
- })
1751
- .s("Notifications", "ListManagedNotificationChildEvents", {})
1752
- .n("NotificationsClient", "ListManagedNotificationChildEventsCommand")
1753
- .sc(ListManagedNotificationChildEvents$)
1754
- .build() {
1525
+ class ListManagedNotificationChildEventsCommand extends command(_ep0, _mw0, "ListManagedNotificationChildEvents", ListManagedNotificationChildEvents$) {
1755
1526
  }
1756
1527
 
1757
- class ListManagedNotificationConfigurationsCommand extends Command
1758
- .classBuilder()
1759
- .ep(commonParams)
1760
- .m(function (Command, cs, config, o) {
1761
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1762
- })
1763
- .s("Notifications", "ListManagedNotificationConfigurations", {})
1764
- .n("NotificationsClient", "ListManagedNotificationConfigurationsCommand")
1765
- .sc(ListManagedNotificationConfigurations$)
1766
- .build() {
1528
+ class ListManagedNotificationConfigurationsCommand extends command(_ep0, _mw0, "ListManagedNotificationConfigurations", ListManagedNotificationConfigurations$) {
1767
1529
  }
1768
1530
 
1769
- class ListManagedNotificationEventsCommand extends Command
1770
- .classBuilder()
1771
- .ep(commonParams)
1772
- .m(function (Command, cs, config, o) {
1773
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1774
- })
1775
- .s("Notifications", "ListManagedNotificationEvents", {})
1776
- .n("NotificationsClient", "ListManagedNotificationEventsCommand")
1777
- .sc(ListManagedNotificationEvents$)
1778
- .build() {
1531
+ class ListManagedNotificationEventsCommand extends command(_ep0, _mw0, "ListManagedNotificationEvents", ListManagedNotificationEvents$) {
1779
1532
  }
1780
1533
 
1781
- class ListMemberAccountsCommand extends Command
1782
- .classBuilder()
1783
- .ep(commonParams)
1784
- .m(function (Command, cs, config, o) {
1785
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1786
- })
1787
- .s("Notifications", "ListMemberAccounts", {})
1788
- .n("NotificationsClient", "ListMemberAccountsCommand")
1789
- .sc(ListMemberAccounts$)
1790
- .build() {
1534
+ class ListMemberAccountsCommand extends command(_ep0, _mw0, "ListMemberAccounts", ListMemberAccounts$) {
1791
1535
  }
1792
1536
 
1793
- class ListNotificationConfigurationsCommand extends Command
1794
- .classBuilder()
1795
- .ep(commonParams)
1796
- .m(function (Command, cs, config, o) {
1797
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1798
- })
1799
- .s("Notifications", "ListNotificationConfigurations", {})
1800
- .n("NotificationsClient", "ListNotificationConfigurationsCommand")
1801
- .sc(ListNotificationConfigurations$)
1802
- .build() {
1537
+ class ListNotificationConfigurationsCommand extends command(_ep0, _mw0, "ListNotificationConfigurations", ListNotificationConfigurations$) {
1803
1538
  }
1804
1539
 
1805
- class ListNotificationEventsCommand extends Command
1806
- .classBuilder()
1807
- .ep(commonParams)
1808
- .m(function (Command, cs, config, o) {
1809
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1810
- })
1811
- .s("Notifications", "ListNotificationEvents", {})
1812
- .n("NotificationsClient", "ListNotificationEventsCommand")
1813
- .sc(ListNotificationEvents$)
1814
- .build() {
1540
+ class ListNotificationEventsCommand extends command(_ep0, _mw0, "ListNotificationEvents", ListNotificationEvents$) {
1815
1541
  }
1816
1542
 
1817
- class ListNotificationHubsCommand extends Command
1818
- .classBuilder()
1819
- .ep(commonParams)
1820
- .m(function (Command, cs, config, o) {
1821
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1822
- })
1823
- .s("Notifications", "ListNotificationHubs", {})
1824
- .n("NotificationsClient", "ListNotificationHubsCommand")
1825
- .sc(ListNotificationHubs$)
1826
- .build() {
1543
+ class ListNotificationHubsCommand extends command(_ep0, _mw0, "ListNotificationHubs", ListNotificationHubs$) {
1827
1544
  }
1828
1545
 
1829
- class ListOrganizationalUnitsCommand extends Command
1830
- .classBuilder()
1831
- .ep(commonParams)
1832
- .m(function (Command, cs, config, o) {
1833
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1834
- })
1835
- .s("Notifications", "ListOrganizationalUnits", {})
1836
- .n("NotificationsClient", "ListOrganizationalUnitsCommand")
1837
- .sc(ListOrganizationalUnits$)
1838
- .build() {
1546
+ class ListOrganizationalUnitsCommand extends command(_ep0, _mw0, "ListOrganizationalUnits", ListOrganizationalUnits$) {
1839
1547
  }
1840
1548
 
1841
- class ListTagsForResourceCommand extends Command
1842
- .classBuilder()
1843
- .ep(commonParams)
1844
- .m(function (Command, cs, config, o) {
1845
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1846
- })
1847
- .s("Notifications", "ListTagsForResource", {})
1848
- .n("NotificationsClient", "ListTagsForResourceCommand")
1849
- .sc(ListTagsForResource$)
1850
- .build() {
1549
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1851
1550
  }
1852
1551
 
1853
- class RegisterNotificationHubCommand extends Command
1854
- .classBuilder()
1855
- .ep(commonParams)
1856
- .m(function (Command, cs, config, o) {
1857
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1858
- })
1859
- .s("Notifications", "RegisterNotificationHub", {})
1860
- .n("NotificationsClient", "RegisterNotificationHubCommand")
1861
- .sc(RegisterNotificationHub$)
1862
- .build() {
1552
+ class RegisterNotificationHubCommand extends command(_ep0, _mw0, "RegisterNotificationHub", RegisterNotificationHub$) {
1863
1553
  }
1864
1554
 
1865
- class TagResourceCommand extends Command
1866
- .classBuilder()
1867
- .ep(commonParams)
1868
- .m(function (Command, cs, config, o) {
1869
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1870
- })
1871
- .s("Notifications", "TagResource", {})
1872
- .n("NotificationsClient", "TagResourceCommand")
1873
- .sc(TagResource$)
1874
- .build() {
1555
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1875
1556
  }
1876
1557
 
1877
- class UntagResourceCommand extends Command
1878
- .classBuilder()
1879
- .ep(commonParams)
1880
- .m(function (Command, cs, config, o) {
1881
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1882
- })
1883
- .s("Notifications", "UntagResource", {})
1884
- .n("NotificationsClient", "UntagResourceCommand")
1885
- .sc(UntagResource$)
1886
- .build() {
1558
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1887
1559
  }
1888
1560
 
1889
- class UpdateEventRuleCommand extends Command
1890
- .classBuilder()
1891
- .ep(commonParams)
1892
- .m(function (Command, cs, config, o) {
1893
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1894
- })
1895
- .s("Notifications", "UpdateEventRule", {})
1896
- .n("NotificationsClient", "UpdateEventRuleCommand")
1897
- .sc(UpdateEventRule$)
1898
- .build() {
1561
+ class UpdateEventRuleCommand extends command(_ep0, _mw0, "UpdateEventRule", UpdateEventRule$) {
1899
1562
  }
1900
1563
 
1901
- class UpdateNotificationConfigurationCommand extends Command
1902
- .classBuilder()
1903
- .ep(commonParams)
1904
- .m(function (Command, cs, config, o) {
1905
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1906
- })
1907
- .s("Notifications", "UpdateNotificationConfiguration", {})
1908
- .n("NotificationsClient", "UpdateNotificationConfigurationCommand")
1909
- .sc(UpdateNotificationConfiguration$)
1910
- .build() {
1564
+ class UpdateNotificationConfigurationCommand extends command(_ep0, _mw0, "UpdateNotificationConfiguration", UpdateNotificationConfiguration$) {
1911
1565
  }
1912
1566
 
1913
1567
  const paginateListChannels = createPaginator(NotificationsClient, ListChannelsCommand, "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, "Notifications", "NotificationsClient", 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 { AssociateChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "AssociateChannel", {})
13
- .n("NotificationsClient", "AssociateChannelCommand")
14
- .sc(AssociateChannel$)
15
- .build() {
3
+ export class AssociateChannelCommand extends command(_ep0, _mw0, "AssociateChannel", AssociateChannel$) {
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 { AssociateManagedNotificationAccountContact$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateManagedNotificationAccountContactCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "AssociateManagedNotificationAccountContact", {})
13
- .n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")
14
- .sc(AssociateManagedNotificationAccountContact$)
15
- .build() {
3
+ export class AssociateManagedNotificationAccountContactCommand extends command(_ep0, _mw0, "AssociateManagedNotificationAccountContact", AssociateManagedNotificationAccountContact$) {
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 { AssociateManagedNotificationAdditionalChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateManagedNotificationAdditionalChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})
13
- .n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")
14
- .sc(AssociateManagedNotificationAdditionalChannel$)
15
- .build() {
3
+ export class AssociateManagedNotificationAdditionalChannelCommand extends command(_ep0, _mw0, "AssociateManagedNotificationAdditionalChannel", AssociateManagedNotificationAdditionalChannel$) {
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 { AssociateOrganizationalUnit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateOrganizationalUnitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "AssociateOrganizationalUnit", {})
13
- .n("NotificationsClient", "AssociateOrganizationalUnitCommand")
14
- .sc(AssociateOrganizationalUnit$)
15
- .build() {
3
+ export class AssociateOrganizationalUnitCommand extends command(_ep0, _mw0, "AssociateOrganizationalUnit", AssociateOrganizationalUnit$) {
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 { CreateEventRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEventRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "CreateEventRule", {})
13
- .n("NotificationsClient", "CreateEventRuleCommand")
14
- .sc(CreateEventRule$)
15
- .build() {
3
+ export class CreateEventRuleCommand extends command(_ep0, _mw0, "CreateEventRule", CreateEventRule$) {
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 { CreateNotificationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateNotificationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Notifications", "CreateNotificationConfiguration", {})
13
- .n("NotificationsClient", "CreateNotificationConfigurationCommand")
14
- .sc(CreateNotificationConfiguration$)
15
- .build() {
3
+ export class CreateNotificationConfigurationCommand extends command(_ep0, _mw0, "CreateNotificationConfiguration", CreateNotificationConfiguration$) {
16
4
  }