@aws-sdk/client-notifications 3.726.1 → 3.731.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 (118) hide show
  1. package/README.md +115 -3
  2. package/dist-cjs/Notifications.js +28 -0
  3. package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +26 -0
  4. package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +26 -0
  5. package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +26 -0
  6. package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +26 -0
  7. package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +26 -0
  8. package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +26 -0
  10. package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +26 -0
  11. package/dist-cjs/commands/GetManagedNotificationEventCommand.js +26 -0
  12. package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +26 -0
  13. package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +26 -0
  14. package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +26 -0
  15. package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +26 -0
  16. package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +25 -4
  19. package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +7 -0
  21. package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +7 -0
  22. package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +475 -5
  25. package/dist-es/Notifications.js +28 -0
  26. package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +22 -0
  27. package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +22 -0
  28. package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +22 -0
  29. package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +22 -0
  30. package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +22 -0
  31. package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +22 -0
  32. package/dist-es/commands/GetManagedNotificationChildEventCommand.js +22 -0
  33. package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +22 -0
  34. package/dist-es/commands/GetManagedNotificationEventCommand.js +22 -0
  35. package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +22 -0
  36. package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +22 -0
  37. package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +22 -0
  38. package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +22 -0
  39. package/dist-es/commands/ListManagedNotificationEventsCommand.js +22 -0
  40. package/dist-es/commands/index.js +14 -0
  41. package/dist-es/models/models_0.js +24 -3
  42. package/dist-es/pagination/ListManagedNotificationChannelAssociationsPaginator.js +4 -0
  43. package/dist-es/pagination/ListManagedNotificationChildEventsPaginator.js +4 -0
  44. package/dist-es/pagination/ListManagedNotificationConfigurationsPaginator.js +4 -0
  45. package/dist-es/pagination/ListManagedNotificationEventsPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +445 -4
  48. package/dist-types/Notifications.d.ts +106 -3
  49. package/dist-types/NotificationsClient.d.ts +19 -5
  50. package/dist-types/commands/AssociateChannelCommand.d.ts +2 -2
  51. package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +91 -0
  52. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +92 -0
  53. package/dist-types/commands/CreateEventRuleCommand.d.ts +4 -1
  54. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteEventRuleCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  57. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +5 -2
  58. package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  59. package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
  60. package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +88 -0
  61. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +86 -0
  62. package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  63. package/dist-types/commands/GetEventRuleCommand.d.ts +1 -1
  64. package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +130 -0
  65. package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +90 -0
  66. package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +161 -0
  67. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
  68. package/dist-types/commands/GetNotificationEventCommand.d.ts +42 -3
  69. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +83 -0
  70. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  71. package/dist-types/commands/ListEventRulesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +95 -0
  73. package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +121 -0
  74. package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +92 -0
  75. package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +155 -0
  76. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -1
  77. package/dist-types/commands/ListNotificationEventsCommand.d.ts +41 -2
  78. package/dist-types/commands/ListNotificationHubsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  80. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -2
  81. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  82. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateEventRuleCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +14 -0
  86. package/dist-types/index.d.ts +3 -3
  87. package/dist-types/models/models_0.d.ts +1830 -578
  88. package/dist-types/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListManagedNotificationChildEventsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListManagedNotificationEventsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +4 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  94. package/dist-types/ts3.4/Notifications.d.ts +309 -0
  95. package/dist-types/ts3.4/NotificationsClient.d.ts +84 -0
  96. package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +288 -38
  112. package/dist-types/ts3.4/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/ListManagedNotificationChildEventsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListManagedNotificationEventsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  117. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  118. package/package.json +12 -14
@@ -2,17 +2,31 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateChannelCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociateManagedNotificationAccountContactCommand"), exports);
6
+ tslib_1.__exportStar(require("./AssociateManagedNotificationAdditionalChannelCommand"), exports);
5
7
  tslib_1.__exportStar(require("./CreateEventRuleCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateNotificationConfigurationCommand"), exports);
7
9
  tslib_1.__exportStar(require("./DeleteEventRuleCommand"), exports);
8
10
  tslib_1.__exportStar(require("./DeleteNotificationConfigurationCommand"), exports);
9
11
  tslib_1.__exportStar(require("./DeregisterNotificationHubCommand"), exports);
12
+ tslib_1.__exportStar(require("./DisableNotificationsAccessForOrganizationCommand"), exports);
10
13
  tslib_1.__exportStar(require("./DisassociateChannelCommand"), exports);
14
+ tslib_1.__exportStar(require("./DisassociateManagedNotificationAccountContactCommand"), exports);
15
+ tslib_1.__exportStar(require("./DisassociateManagedNotificationAdditionalChannelCommand"), exports);
16
+ tslib_1.__exportStar(require("./EnableNotificationsAccessForOrganizationCommand"), exports);
11
17
  tslib_1.__exportStar(require("./GetEventRuleCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetManagedNotificationChildEventCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetManagedNotificationConfigurationCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetManagedNotificationEventCommand"), exports);
12
21
  tslib_1.__exportStar(require("./GetNotificationConfigurationCommand"), exports);
13
22
  tslib_1.__exportStar(require("./GetNotificationEventCommand"), exports);
23
+ tslib_1.__exportStar(require("./GetNotificationsAccessForOrganizationCommand"), exports);
14
24
  tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
15
25
  tslib_1.__exportStar(require("./ListEventRulesCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListManagedNotificationChannelAssociationsCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListManagedNotificationChildEventsCommand"), exports);
28
+ tslib_1.__exportStar(require("./ListManagedNotificationConfigurationsCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListManagedNotificationEventsCommand"), exports);
16
30
  tslib_1.__exportStar(require("./ListNotificationConfigurationsCommand"), exports);
17
31
  tslib_1.__exportStar(require("./ListNotificationEventsCommand"), exports);
18
32
  tslib_1.__exportStar(require("./ListNotificationHubsCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextPartType = exports.SchemaVersion = exports.NotificationType = exports.MediaElementType = exports.LocaleCode = exports.EventStatus = exports.NotificationHubStatus = exports.NotificationConfigurationStatus = exports.EventRuleStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AggregationEventType = exports.AggregationDuration = exports.AccessDeniedException = void 0;
3
+ exports.MediaElementType = exports.TextPartType = exports.SchemaVersion = exports.NotificationType = exports.LocaleCode = exports.EventStatus = exports.NotificationHubStatus = exports.NotificationConfigurationStatus = exports.EventRuleStatus = exports.ChannelType = exports.ChannelAssociationOverrideOption = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AggregationEventType = exports.AggregationDuration = exports.AccountContactType = exports.AccessStatus = exports.AccessDeniedException = void 0;
4
4
  const NotificationsServiceException_1 = require("./NotificationsServiceException");
5
5
  class AccessDeniedException extends NotificationsServiceException_1.NotificationsServiceException {
6
6
  name = "AccessDeniedException";
@@ -15,6 +15,17 @@ class AccessDeniedException extends NotificationsServiceException_1.Notification
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
+ exports.AccessStatus = {
19
+ DISABLED: "DISABLED",
20
+ ENABLED: "ENABLED",
21
+ PENDING: "PENDING",
22
+ };
23
+ exports.AccountContactType = {
24
+ ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",
25
+ ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",
26
+ ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY",
27
+ ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY",
28
+ };
18
29
  exports.AggregationDuration = {
19
30
  LONG: "LONG",
20
31
  NONE: "NONE",
@@ -133,6 +144,16 @@ class ValidationException extends NotificationsServiceException_1.NotificationsS
133
144
  }
134
145
  }
135
146
  exports.ValidationException = ValidationException;
147
+ exports.ChannelAssociationOverrideOption = {
148
+ DISABLED: "DISABLED",
149
+ ENABLED: "ENABLED",
150
+ };
151
+ exports.ChannelType = {
152
+ ACCOUNT_CONTACT: "ACCOUNT_CONTACT",
153
+ CHATBOT: "CHATBOT",
154
+ EMAIL: "EMAIL",
155
+ MOBILE: "MOBILE",
156
+ };
136
157
  exports.EventRuleStatus = {
137
158
  ACTIVE: "ACTIVE",
138
159
  CREATING: "CREATING",
@@ -173,9 +194,6 @@ exports.LocaleCode = {
173
194
  zh_CN: "zh_CN",
174
195
  zh_TW: "zh_TW",
175
196
  };
176
- exports.MediaElementType = {
177
- IMAGE: "IMAGE",
178
- };
179
197
  exports.NotificationType = {
180
198
  ALERT: "ALERT",
181
199
  ANNOUNCEMENT: "ANNOUNCEMENT",
@@ -190,3 +208,6 @@ exports.TextPartType = {
190
208
  PLAIN_TEXT: "PLAIN_TEXT",
191
209
  URL: "URL",
192
210
  };
211
+ exports.MediaElementType = {
212
+ IMAGE: "IMAGE",
213
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListManagedNotificationChannelAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListManagedNotificationChannelAssociationsCommand_1 = require("../commands/ListManagedNotificationChannelAssociationsCommand");
6
+ const NotificationsClient_1 = require("../NotificationsClient");
7
+ exports.paginateListManagedNotificationChannelAssociations = (0, core_1.createPaginator)(NotificationsClient_1.NotificationsClient, ListManagedNotificationChannelAssociationsCommand_1.ListManagedNotificationChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListManagedNotificationChildEvents = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListManagedNotificationChildEventsCommand_1 = require("../commands/ListManagedNotificationChildEventsCommand");
6
+ const NotificationsClient_1 = require("../NotificationsClient");
7
+ exports.paginateListManagedNotificationChildEvents = (0, core_1.createPaginator)(NotificationsClient_1.NotificationsClient, ListManagedNotificationChildEventsCommand_1.ListManagedNotificationChildEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListManagedNotificationConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListManagedNotificationConfigurationsCommand_1 = require("../commands/ListManagedNotificationConfigurationsCommand");
6
+ const NotificationsClient_1 = require("../NotificationsClient");
7
+ exports.paginateListManagedNotificationConfigurations = (0, core_1.createPaginator)(NotificationsClient_1.NotificationsClient, ListManagedNotificationConfigurationsCommand_1.ListManagedNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListManagedNotificationEvents = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListManagedNotificationEventsCommand_1 = require("../commands/ListManagedNotificationEventsCommand");
6
+ const NotificationsClient_1 = require("../NotificationsClient");
7
+ exports.paginateListManagedNotificationEvents = (0, core_1.createPaginator)(NotificationsClient_1.NotificationsClient, ListManagedNotificationEventsCommand_1.ListManagedNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,6 +4,10 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
5
  tslib_1.__exportStar(require("./ListChannelsPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./ListEventRulesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListManagedNotificationChannelAssociationsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListManagedNotificationChildEventsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListManagedNotificationConfigurationsPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListManagedNotificationEventsPaginator"), exports);
7
11
  tslib_1.__exportStar(require("./ListNotificationConfigurationsPaginator"), exports);
8
12
  tslib_1.__exportStar(require("./ListNotificationEventsPaginator"), exports);
9
13
  tslib_1.__exportStar(require("./ListNotificationHubsPaginator"), exports);