@aws-sdk/client-notifications 3.698.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 (191) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +380 -0
  3. package/dist-cjs/Notifications.js +53 -0
  4. package/dist-cjs/NotificationsClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateChannelCommand.js +26 -0
  8. package/dist-cjs/commands/CreateEventRuleCommand.js +26 -0
  9. package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteEventRuleCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +26 -0
  12. package/dist-cjs/commands/DeregisterNotificationHubCommand.js +26 -0
  13. package/dist-cjs/commands/DisassociateChannelCommand.js +26 -0
  14. package/dist-cjs/commands/GetEventRuleCommand.js +26 -0
  15. package/dist-cjs/commands/GetNotificationConfigurationCommand.js +26 -0
  16. package/dist-cjs/commands/GetNotificationEventCommand.js +26 -0
  17. package/dist-cjs/commands/ListChannelsCommand.js +26 -0
  18. package/dist-cjs/commands/ListEventRulesCommand.js +26 -0
  19. package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +26 -0
  20. package/dist-cjs/commands/ListNotificationEventsCommand.js +26 -0
  21. package/dist-cjs/commands/ListNotificationHubsCommand.js +26 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  23. package/dist-cjs/commands/RegisterNotificationHubCommand.js +26 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  26. package/dist-cjs/commands/UpdateEventRuleCommand.js +26 -0
  27. package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +26 -0
  28. package/dist-cjs/commands/index.js +24 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  30. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  31. package/dist-cjs/endpoint/ruleset.js +7 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +11 -0
  34. package/dist-cjs/models/NotificationsServiceException.js +12 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +181 -0
  37. package/dist-cjs/pagination/Interfaces.js +2 -0
  38. package/dist-cjs/pagination/ListChannelsPaginator.js +7 -0
  39. package/dist-cjs/pagination/ListEventRulesPaginator.js +7 -0
  40. package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListNotificationEventsPaginator.js +7 -0
  42. package/dist-cjs/pagination/ListNotificationHubsPaginator.js +7 -0
  43. package/dist-cjs/pagination/index.js +9 -0
  44. package/dist-cjs/protocols/Aws_restJson1.js +885 -0
  45. package/dist-cjs/runtimeConfig.browser.js +39 -0
  46. package/dist-cjs/runtimeConfig.js +50 -0
  47. package/dist-cjs/runtimeConfig.native.js +15 -0
  48. package/dist-cjs/runtimeConfig.shared.js +34 -0
  49. package/dist-cjs/runtimeExtensions.js +25 -0
  50. package/dist-es/Notifications.js +49 -0
  51. package/dist-es/NotificationsClient.js +46 -0
  52. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  53. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  54. package/dist-es/commands/AssociateChannelCommand.js +22 -0
  55. package/dist-es/commands/CreateEventRuleCommand.js +22 -0
  56. package/dist-es/commands/CreateNotificationConfigurationCommand.js +22 -0
  57. package/dist-es/commands/DeleteEventRuleCommand.js +22 -0
  58. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -0
  59. package/dist-es/commands/DeregisterNotificationHubCommand.js +22 -0
  60. package/dist-es/commands/DisassociateChannelCommand.js +22 -0
  61. package/dist-es/commands/GetEventRuleCommand.js +22 -0
  62. package/dist-es/commands/GetNotificationConfigurationCommand.js +22 -0
  63. package/dist-es/commands/GetNotificationEventCommand.js +22 -0
  64. package/dist-es/commands/ListChannelsCommand.js +22 -0
  65. package/dist-es/commands/ListEventRulesCommand.js +22 -0
  66. package/dist-es/commands/ListNotificationConfigurationsCommand.js +22 -0
  67. package/dist-es/commands/ListNotificationEventsCommand.js +22 -0
  68. package/dist-es/commands/ListNotificationHubsCommand.js +22 -0
  69. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  70. package/dist-es/commands/RegisterNotificationHubCommand.js +22 -0
  71. package/dist-es/commands/TagResourceCommand.js +22 -0
  72. package/dist-es/commands/UntagResourceCommand.js +22 -0
  73. package/dist-es/commands/UpdateEventRuleCommand.js +22 -0
  74. package/dist-es/commands/UpdateNotificationConfigurationCommand.js +22 -0
  75. package/dist-es/commands/index.js +21 -0
  76. package/dist-es/endpoint/EndpointParameters.js +12 -0
  77. package/dist-es/endpoint/endpointResolver.js +14 -0
  78. package/dist-es/endpoint/ruleset.js +4 -0
  79. package/dist-es/extensionConfiguration.js +1 -0
  80. package/dist-es/index.js +6 -0
  81. package/dist-es/models/NotificationsServiceException.js +8 -0
  82. package/dist-es/models/index.js +1 -0
  83. package/dist-es/models/models_0.js +171 -0
  84. package/dist-es/pagination/Interfaces.js +1 -0
  85. package/dist-es/pagination/ListChannelsPaginator.js +4 -0
  86. package/dist-es/pagination/ListEventRulesPaginator.js +4 -0
  87. package/dist-es/pagination/ListNotificationConfigurationsPaginator.js +4 -0
  88. package/dist-es/pagination/ListNotificationEventsPaginator.js +4 -0
  89. package/dist-es/pagination/ListNotificationHubsPaginator.js +4 -0
  90. package/dist-es/pagination/index.js +6 -0
  91. package/dist-es/protocols/Aws_restJson1.js +840 -0
  92. package/dist-es/runtimeConfig.browser.js +34 -0
  93. package/dist-es/runtimeConfig.js +45 -0
  94. package/dist-es/runtimeConfig.native.js +11 -0
  95. package/dist-es/runtimeConfig.shared.js +30 -0
  96. package/dist-es/runtimeExtensions.js +21 -0
  97. package/dist-types/Notifications.d.ts +167 -0
  98. package/dist-types/NotificationsClient.d.ts +197 -0
  99. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  100. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  101. package/dist-types/commands/AssociateChannelCommand.d.ts +92 -0
  102. package/dist-types/commands/CreateEventRuleCommand.d.ts +105 -0
  103. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +95 -0
  104. package/dist-types/commands/DeleteEventRuleCommand.d.ts +87 -0
  105. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +87 -0
  106. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +96 -0
  107. package/dist-types/commands/DisassociateChannelCommand.d.ts +85 -0
  108. package/dist-types/commands/GetEventRuleCommand.d.ts +103 -0
  109. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +91 -0
  110. package/dist-types/commands/GetNotificationEventCommand.d.ts +154 -0
  111. package/dist-types/commands/ListChannelsCommand.d.ts +91 -0
  112. package/dist-types/commands/ListEventRulesCommand.d.ts +110 -0
  113. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +97 -0
  114. package/dist-types/commands/ListNotificationEventsCommand.d.ts +118 -0
  115. package/dist-types/commands/ListNotificationHubsCommand.d.ts +95 -0
  116. package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
  117. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +96 -0
  118. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  119. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  120. package/dist-types/commands/UpdateEventRuleCommand.d.ts +100 -0
  121. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +92 -0
  122. package/dist-types/commands/index.d.ts +21 -0
  123. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  124. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  125. package/dist-types/endpoint/ruleset.d.ts +2 -0
  126. package/dist-types/extensionConfiguration.d.ts +9 -0
  127. package/dist-types/index.d.ts +21 -0
  128. package/dist-types/models/NotificationsServiceException.d.ts +14 -0
  129. package/dist-types/models/index.d.ts +1 -0
  130. package/dist-types/models/models_0.d.ts +2354 -0
  131. package/dist-types/pagination/Interfaces.d.ts +8 -0
  132. package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
  133. package/dist-types/pagination/ListEventRulesPaginator.d.ts +7 -0
  134. package/dist-types/pagination/ListNotificationConfigurationsPaginator.d.ts +7 -0
  135. package/dist-types/pagination/ListNotificationEventsPaginator.d.ts +7 -0
  136. package/dist-types/pagination/ListNotificationHubsPaginator.d.ts +7 -0
  137. package/dist-types/pagination/index.d.ts +6 -0
  138. package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
  139. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  140. package/dist-types/runtimeConfig.d.ts +48 -0
  141. package/dist-types/runtimeConfig.native.d.ts +47 -0
  142. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  143. package/dist-types/runtimeExtensions.d.ts +17 -0
  144. package/dist-types/ts3.4/Notifications.d.ts +367 -0
  145. package/dist-types/ts3.4/NotificationsClient.d.ts +245 -0
  146. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  147. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  148. package/dist-types/ts3.4/commands/AssociateChannelCommand.d.ts +50 -0
  149. package/dist-types/ts3.4/commands/CreateEventRuleCommand.d.ts +50 -0
  150. package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +51 -0
  151. package/dist-types/ts3.4/commands/DeleteEventRuleCommand.d.ts +50 -0
  152. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/DeregisterNotificationHubCommand.d.ts +51 -0
  154. package/dist-types/ts3.4/commands/DisassociateChannelCommand.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/GetEventRuleCommand.d.ts +47 -0
  156. package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +51 -0
  157. package/dist-types/ts3.4/commands/GetNotificationEventCommand.d.ts +51 -0
  158. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
  159. package/dist-types/ts3.4/commands/ListEventRulesCommand.d.ts +50 -0
  160. package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +51 -0
  161. package/dist-types/ts3.4/commands/ListNotificationEventsCommand.d.ts +51 -0
  162. package/dist-types/ts3.4/commands/ListNotificationHubsCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  164. package/dist-types/ts3.4/commands/RegisterNotificationHubCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  166. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  167. package/dist-types/ts3.4/commands/UpdateEventRuleCommand.d.ts +50 -0
  168. package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +51 -0
  169. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  170. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  171. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  172. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  173. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  174. package/dist-types/ts3.4/index.d.ts +9 -0
  175. package/dist-types/ts3.4/models/NotificationsServiceException.d.ts +9 -0
  176. package/dist-types/ts3.4/models/index.d.ts +1 -0
  177. package/dist-types/ts3.4/models/models_0.d.ts +447 -0
  178. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  179. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
  180. package/dist-types/ts3.4/pagination/ListEventRulesPaginator.d.ts +11 -0
  181. package/dist-types/ts3.4/pagination/ListNotificationConfigurationsPaginator.d.ts +11 -0
  182. package/dist-types/ts3.4/pagination/ListNotificationEventsPaginator.d.ts +11 -0
  183. package/dist-types/ts3.4/pagination/ListNotificationHubsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  185. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
  186. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  187. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  188. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  189. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  190. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  191. package/package.json +101 -0
@@ -0,0 +1,367 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ AssociateChannelCommandInput,
4
+ AssociateChannelCommandOutput,
5
+ } from "./commands/AssociateChannelCommand";
6
+ import {
7
+ CreateEventRuleCommandInput,
8
+ CreateEventRuleCommandOutput,
9
+ } from "./commands/CreateEventRuleCommand";
10
+ import {
11
+ CreateNotificationConfigurationCommandInput,
12
+ CreateNotificationConfigurationCommandOutput,
13
+ } from "./commands/CreateNotificationConfigurationCommand";
14
+ import {
15
+ DeleteEventRuleCommandInput,
16
+ DeleteEventRuleCommandOutput,
17
+ } from "./commands/DeleteEventRuleCommand";
18
+ import {
19
+ DeleteNotificationConfigurationCommandInput,
20
+ DeleteNotificationConfigurationCommandOutput,
21
+ } from "./commands/DeleteNotificationConfigurationCommand";
22
+ import {
23
+ DeregisterNotificationHubCommandInput,
24
+ DeregisterNotificationHubCommandOutput,
25
+ } from "./commands/DeregisterNotificationHubCommand";
26
+ import {
27
+ DisassociateChannelCommandInput,
28
+ DisassociateChannelCommandOutput,
29
+ } from "./commands/DisassociateChannelCommand";
30
+ import {
31
+ GetEventRuleCommandInput,
32
+ GetEventRuleCommandOutput,
33
+ } from "./commands/GetEventRuleCommand";
34
+ import {
35
+ GetNotificationConfigurationCommandInput,
36
+ GetNotificationConfigurationCommandOutput,
37
+ } from "./commands/GetNotificationConfigurationCommand";
38
+ import {
39
+ GetNotificationEventCommandInput,
40
+ GetNotificationEventCommandOutput,
41
+ } from "./commands/GetNotificationEventCommand";
42
+ import {
43
+ ListChannelsCommandInput,
44
+ ListChannelsCommandOutput,
45
+ } from "./commands/ListChannelsCommand";
46
+ import {
47
+ ListEventRulesCommandInput,
48
+ ListEventRulesCommandOutput,
49
+ } from "./commands/ListEventRulesCommand";
50
+ import {
51
+ ListNotificationConfigurationsCommandInput,
52
+ ListNotificationConfigurationsCommandOutput,
53
+ } from "./commands/ListNotificationConfigurationsCommand";
54
+ import {
55
+ ListNotificationEventsCommandInput,
56
+ ListNotificationEventsCommandOutput,
57
+ } from "./commands/ListNotificationEventsCommand";
58
+ import {
59
+ ListNotificationHubsCommandInput,
60
+ ListNotificationHubsCommandOutput,
61
+ } from "./commands/ListNotificationHubsCommand";
62
+ import {
63
+ ListTagsForResourceCommandInput,
64
+ ListTagsForResourceCommandOutput,
65
+ } from "./commands/ListTagsForResourceCommand";
66
+ import {
67
+ RegisterNotificationHubCommandInput,
68
+ RegisterNotificationHubCommandOutput,
69
+ } from "./commands/RegisterNotificationHubCommand";
70
+ import {
71
+ TagResourceCommandInput,
72
+ TagResourceCommandOutput,
73
+ } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
78
+ import {
79
+ UpdateEventRuleCommandInput,
80
+ UpdateEventRuleCommandOutput,
81
+ } from "./commands/UpdateEventRuleCommand";
82
+ import {
83
+ UpdateNotificationConfigurationCommandInput,
84
+ UpdateNotificationConfigurationCommandOutput,
85
+ } from "./commands/UpdateNotificationConfigurationCommand";
86
+ import { NotificationsClient } from "./NotificationsClient";
87
+ export interface Notifications {
88
+ associateChannel(
89
+ args: AssociateChannelCommandInput,
90
+ options?: __HttpHandlerOptions
91
+ ): Promise<AssociateChannelCommandOutput>;
92
+ associateChannel(
93
+ args: AssociateChannelCommandInput,
94
+ cb: (err: any, data?: AssociateChannelCommandOutput) => void
95
+ ): void;
96
+ associateChannel(
97
+ args: AssociateChannelCommandInput,
98
+ options: __HttpHandlerOptions,
99
+ cb: (err: any, data?: AssociateChannelCommandOutput) => void
100
+ ): void;
101
+ createEventRule(
102
+ args: CreateEventRuleCommandInput,
103
+ options?: __HttpHandlerOptions
104
+ ): Promise<CreateEventRuleCommandOutput>;
105
+ createEventRule(
106
+ args: CreateEventRuleCommandInput,
107
+ cb: (err: any, data?: CreateEventRuleCommandOutput) => void
108
+ ): void;
109
+ createEventRule(
110
+ args: CreateEventRuleCommandInput,
111
+ options: __HttpHandlerOptions,
112
+ cb: (err: any, data?: CreateEventRuleCommandOutput) => void
113
+ ): void;
114
+ createNotificationConfiguration(
115
+ args: CreateNotificationConfigurationCommandInput,
116
+ options?: __HttpHandlerOptions
117
+ ): Promise<CreateNotificationConfigurationCommandOutput>;
118
+ createNotificationConfiguration(
119
+ args: CreateNotificationConfigurationCommandInput,
120
+ cb: (err: any, data?: CreateNotificationConfigurationCommandOutput) => void
121
+ ): void;
122
+ createNotificationConfiguration(
123
+ args: CreateNotificationConfigurationCommandInput,
124
+ options: __HttpHandlerOptions,
125
+ cb: (err: any, data?: CreateNotificationConfigurationCommandOutput) => void
126
+ ): void;
127
+ deleteEventRule(
128
+ args: DeleteEventRuleCommandInput,
129
+ options?: __HttpHandlerOptions
130
+ ): Promise<DeleteEventRuleCommandOutput>;
131
+ deleteEventRule(
132
+ args: DeleteEventRuleCommandInput,
133
+ cb: (err: any, data?: DeleteEventRuleCommandOutput) => void
134
+ ): void;
135
+ deleteEventRule(
136
+ args: DeleteEventRuleCommandInput,
137
+ options: __HttpHandlerOptions,
138
+ cb: (err: any, data?: DeleteEventRuleCommandOutput) => void
139
+ ): void;
140
+ deleteNotificationConfiguration(
141
+ args: DeleteNotificationConfigurationCommandInput,
142
+ options?: __HttpHandlerOptions
143
+ ): Promise<DeleteNotificationConfigurationCommandOutput>;
144
+ deleteNotificationConfiguration(
145
+ args: DeleteNotificationConfigurationCommandInput,
146
+ cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
147
+ ): void;
148
+ deleteNotificationConfiguration(
149
+ args: DeleteNotificationConfigurationCommandInput,
150
+ options: __HttpHandlerOptions,
151
+ cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
152
+ ): void;
153
+ deregisterNotificationHub(
154
+ args: DeregisterNotificationHubCommandInput,
155
+ options?: __HttpHandlerOptions
156
+ ): Promise<DeregisterNotificationHubCommandOutput>;
157
+ deregisterNotificationHub(
158
+ args: DeregisterNotificationHubCommandInput,
159
+ cb: (err: any, data?: DeregisterNotificationHubCommandOutput) => void
160
+ ): void;
161
+ deregisterNotificationHub(
162
+ args: DeregisterNotificationHubCommandInput,
163
+ options: __HttpHandlerOptions,
164
+ cb: (err: any, data?: DeregisterNotificationHubCommandOutput) => void
165
+ ): void;
166
+ disassociateChannel(
167
+ args: DisassociateChannelCommandInput,
168
+ options?: __HttpHandlerOptions
169
+ ): Promise<DisassociateChannelCommandOutput>;
170
+ disassociateChannel(
171
+ args: DisassociateChannelCommandInput,
172
+ cb: (err: any, data?: DisassociateChannelCommandOutput) => void
173
+ ): void;
174
+ disassociateChannel(
175
+ args: DisassociateChannelCommandInput,
176
+ options: __HttpHandlerOptions,
177
+ cb: (err: any, data?: DisassociateChannelCommandOutput) => void
178
+ ): void;
179
+ getEventRule(
180
+ args: GetEventRuleCommandInput,
181
+ options?: __HttpHandlerOptions
182
+ ): Promise<GetEventRuleCommandOutput>;
183
+ getEventRule(
184
+ args: GetEventRuleCommandInput,
185
+ cb: (err: any, data?: GetEventRuleCommandOutput) => void
186
+ ): void;
187
+ getEventRule(
188
+ args: GetEventRuleCommandInput,
189
+ options: __HttpHandlerOptions,
190
+ cb: (err: any, data?: GetEventRuleCommandOutput) => void
191
+ ): void;
192
+ getNotificationConfiguration(
193
+ args: GetNotificationConfigurationCommandInput,
194
+ options?: __HttpHandlerOptions
195
+ ): Promise<GetNotificationConfigurationCommandOutput>;
196
+ getNotificationConfiguration(
197
+ args: GetNotificationConfigurationCommandInput,
198
+ cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void
199
+ ): void;
200
+ getNotificationConfiguration(
201
+ args: GetNotificationConfigurationCommandInput,
202
+ options: __HttpHandlerOptions,
203
+ cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void
204
+ ): void;
205
+ getNotificationEvent(
206
+ args: GetNotificationEventCommandInput,
207
+ options?: __HttpHandlerOptions
208
+ ): Promise<GetNotificationEventCommandOutput>;
209
+ getNotificationEvent(
210
+ args: GetNotificationEventCommandInput,
211
+ cb: (err: any, data?: GetNotificationEventCommandOutput) => void
212
+ ): void;
213
+ getNotificationEvent(
214
+ args: GetNotificationEventCommandInput,
215
+ options: __HttpHandlerOptions,
216
+ cb: (err: any, data?: GetNotificationEventCommandOutput) => void
217
+ ): void;
218
+ listChannels(
219
+ args: ListChannelsCommandInput,
220
+ options?: __HttpHandlerOptions
221
+ ): Promise<ListChannelsCommandOutput>;
222
+ listChannels(
223
+ args: ListChannelsCommandInput,
224
+ cb: (err: any, data?: ListChannelsCommandOutput) => void
225
+ ): void;
226
+ listChannels(
227
+ args: ListChannelsCommandInput,
228
+ options: __HttpHandlerOptions,
229
+ cb: (err: any, data?: ListChannelsCommandOutput) => void
230
+ ): void;
231
+ listEventRules(
232
+ args: ListEventRulesCommandInput,
233
+ options?: __HttpHandlerOptions
234
+ ): Promise<ListEventRulesCommandOutput>;
235
+ listEventRules(
236
+ args: ListEventRulesCommandInput,
237
+ cb: (err: any, data?: ListEventRulesCommandOutput) => void
238
+ ): void;
239
+ listEventRules(
240
+ args: ListEventRulesCommandInput,
241
+ options: __HttpHandlerOptions,
242
+ cb: (err: any, data?: ListEventRulesCommandOutput) => void
243
+ ): void;
244
+ listNotificationConfigurations(): Promise<ListNotificationConfigurationsCommandOutput>;
245
+ listNotificationConfigurations(
246
+ args: ListNotificationConfigurationsCommandInput,
247
+ options?: __HttpHandlerOptions
248
+ ): Promise<ListNotificationConfigurationsCommandOutput>;
249
+ listNotificationConfigurations(
250
+ args: ListNotificationConfigurationsCommandInput,
251
+ cb: (err: any, data?: ListNotificationConfigurationsCommandOutput) => void
252
+ ): void;
253
+ listNotificationConfigurations(
254
+ args: ListNotificationConfigurationsCommandInput,
255
+ options: __HttpHandlerOptions,
256
+ cb: (err: any, data?: ListNotificationConfigurationsCommandOutput) => void
257
+ ): void;
258
+ listNotificationEvents(): Promise<ListNotificationEventsCommandOutput>;
259
+ listNotificationEvents(
260
+ args: ListNotificationEventsCommandInput,
261
+ options?: __HttpHandlerOptions
262
+ ): Promise<ListNotificationEventsCommandOutput>;
263
+ listNotificationEvents(
264
+ args: ListNotificationEventsCommandInput,
265
+ cb: (err: any, data?: ListNotificationEventsCommandOutput) => void
266
+ ): void;
267
+ listNotificationEvents(
268
+ args: ListNotificationEventsCommandInput,
269
+ options: __HttpHandlerOptions,
270
+ cb: (err: any, data?: ListNotificationEventsCommandOutput) => void
271
+ ): void;
272
+ listNotificationHubs(): Promise<ListNotificationHubsCommandOutput>;
273
+ listNotificationHubs(
274
+ args: ListNotificationHubsCommandInput,
275
+ options?: __HttpHandlerOptions
276
+ ): Promise<ListNotificationHubsCommandOutput>;
277
+ listNotificationHubs(
278
+ args: ListNotificationHubsCommandInput,
279
+ cb: (err: any, data?: ListNotificationHubsCommandOutput) => void
280
+ ): void;
281
+ listNotificationHubs(
282
+ args: ListNotificationHubsCommandInput,
283
+ options: __HttpHandlerOptions,
284
+ cb: (err: any, data?: ListNotificationHubsCommandOutput) => void
285
+ ): void;
286
+ listTagsForResource(
287
+ args: ListTagsForResourceCommandInput,
288
+ options?: __HttpHandlerOptions
289
+ ): Promise<ListTagsForResourceCommandOutput>;
290
+ listTagsForResource(
291
+ args: ListTagsForResourceCommandInput,
292
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
293
+ ): void;
294
+ listTagsForResource(
295
+ args: ListTagsForResourceCommandInput,
296
+ options: __HttpHandlerOptions,
297
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
298
+ ): void;
299
+ registerNotificationHub(
300
+ args: RegisterNotificationHubCommandInput,
301
+ options?: __HttpHandlerOptions
302
+ ): Promise<RegisterNotificationHubCommandOutput>;
303
+ registerNotificationHub(
304
+ args: RegisterNotificationHubCommandInput,
305
+ cb: (err: any, data?: RegisterNotificationHubCommandOutput) => void
306
+ ): void;
307
+ registerNotificationHub(
308
+ args: RegisterNotificationHubCommandInput,
309
+ options: __HttpHandlerOptions,
310
+ cb: (err: any, data?: RegisterNotificationHubCommandOutput) => void
311
+ ): void;
312
+ tagResource(
313
+ args: TagResourceCommandInput,
314
+ options?: __HttpHandlerOptions
315
+ ): Promise<TagResourceCommandOutput>;
316
+ tagResource(
317
+ args: TagResourceCommandInput,
318
+ cb: (err: any, data?: TagResourceCommandOutput) => void
319
+ ): void;
320
+ tagResource(
321
+ args: TagResourceCommandInput,
322
+ options: __HttpHandlerOptions,
323
+ cb: (err: any, data?: TagResourceCommandOutput) => void
324
+ ): void;
325
+ untagResource(
326
+ args: UntagResourceCommandInput,
327
+ options?: __HttpHandlerOptions
328
+ ): Promise<UntagResourceCommandOutput>;
329
+ untagResource(
330
+ args: UntagResourceCommandInput,
331
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
332
+ ): void;
333
+ untagResource(
334
+ args: UntagResourceCommandInput,
335
+ options: __HttpHandlerOptions,
336
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
337
+ ): void;
338
+ updateEventRule(
339
+ args: UpdateEventRuleCommandInput,
340
+ options?: __HttpHandlerOptions
341
+ ): Promise<UpdateEventRuleCommandOutput>;
342
+ updateEventRule(
343
+ args: UpdateEventRuleCommandInput,
344
+ cb: (err: any, data?: UpdateEventRuleCommandOutput) => void
345
+ ): void;
346
+ updateEventRule(
347
+ args: UpdateEventRuleCommandInput,
348
+ options: __HttpHandlerOptions,
349
+ cb: (err: any, data?: UpdateEventRuleCommandOutput) => void
350
+ ): void;
351
+ updateNotificationConfiguration(
352
+ args: UpdateNotificationConfigurationCommandInput,
353
+ options?: __HttpHandlerOptions
354
+ ): Promise<UpdateNotificationConfigurationCommandOutput>;
355
+ updateNotificationConfiguration(
356
+ args: UpdateNotificationConfigurationCommandInput,
357
+ cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void
358
+ ): void;
359
+ updateNotificationConfiguration(
360
+ args: UpdateNotificationConfigurationCommandInput,
361
+ options: __HttpHandlerOptions,
362
+ cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void
363
+ ): void;
364
+ }
365
+ export declare class Notifications
366
+ extends NotificationsClient
367
+ implements Notifications {}
@@ -0,0 +1,245 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssociateChannelCommandInput,
50
+ AssociateChannelCommandOutput,
51
+ } from "./commands/AssociateChannelCommand";
52
+ import {
53
+ CreateEventRuleCommandInput,
54
+ CreateEventRuleCommandOutput,
55
+ } from "./commands/CreateEventRuleCommand";
56
+ import {
57
+ CreateNotificationConfigurationCommandInput,
58
+ CreateNotificationConfigurationCommandOutput,
59
+ } from "./commands/CreateNotificationConfigurationCommand";
60
+ import {
61
+ DeleteEventRuleCommandInput,
62
+ DeleteEventRuleCommandOutput,
63
+ } from "./commands/DeleteEventRuleCommand";
64
+ import {
65
+ DeleteNotificationConfigurationCommandInput,
66
+ DeleteNotificationConfigurationCommandOutput,
67
+ } from "./commands/DeleteNotificationConfigurationCommand";
68
+ import {
69
+ DeregisterNotificationHubCommandInput,
70
+ DeregisterNotificationHubCommandOutput,
71
+ } from "./commands/DeregisterNotificationHubCommand";
72
+ import {
73
+ DisassociateChannelCommandInput,
74
+ DisassociateChannelCommandOutput,
75
+ } from "./commands/DisassociateChannelCommand";
76
+ import {
77
+ GetEventRuleCommandInput,
78
+ GetEventRuleCommandOutput,
79
+ } from "./commands/GetEventRuleCommand";
80
+ import {
81
+ GetNotificationConfigurationCommandInput,
82
+ GetNotificationConfigurationCommandOutput,
83
+ } from "./commands/GetNotificationConfigurationCommand";
84
+ import {
85
+ GetNotificationEventCommandInput,
86
+ GetNotificationEventCommandOutput,
87
+ } from "./commands/GetNotificationEventCommand";
88
+ import {
89
+ ListChannelsCommandInput,
90
+ ListChannelsCommandOutput,
91
+ } from "./commands/ListChannelsCommand";
92
+ import {
93
+ ListEventRulesCommandInput,
94
+ ListEventRulesCommandOutput,
95
+ } from "./commands/ListEventRulesCommand";
96
+ import {
97
+ ListNotificationConfigurationsCommandInput,
98
+ ListNotificationConfigurationsCommandOutput,
99
+ } from "./commands/ListNotificationConfigurationsCommand";
100
+ import {
101
+ ListNotificationEventsCommandInput,
102
+ ListNotificationEventsCommandOutput,
103
+ } from "./commands/ListNotificationEventsCommand";
104
+ import {
105
+ ListNotificationHubsCommandInput,
106
+ ListNotificationHubsCommandOutput,
107
+ } from "./commands/ListNotificationHubsCommand";
108
+ import {
109
+ ListTagsForResourceCommandInput,
110
+ ListTagsForResourceCommandOutput,
111
+ } from "./commands/ListTagsForResourceCommand";
112
+ import {
113
+ RegisterNotificationHubCommandInput,
114
+ RegisterNotificationHubCommandOutput,
115
+ } from "./commands/RegisterNotificationHubCommand";
116
+ import {
117
+ TagResourceCommandInput,
118
+ TagResourceCommandOutput,
119
+ } from "./commands/TagResourceCommand";
120
+ import {
121
+ UntagResourceCommandInput,
122
+ UntagResourceCommandOutput,
123
+ } from "./commands/UntagResourceCommand";
124
+ import {
125
+ UpdateEventRuleCommandInput,
126
+ UpdateEventRuleCommandOutput,
127
+ } from "./commands/UpdateEventRuleCommand";
128
+ import {
129
+ UpdateNotificationConfigurationCommandInput,
130
+ UpdateNotificationConfigurationCommandOutput,
131
+ } from "./commands/UpdateNotificationConfigurationCommand";
132
+ import {
133
+ ClientInputEndpointParameters,
134
+ ClientResolvedEndpointParameters,
135
+ EndpointParameters,
136
+ } from "./endpoint/EndpointParameters";
137
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
138
+ export { __Client };
139
+ export type ServiceInputTypes =
140
+ | AssociateChannelCommandInput
141
+ | CreateEventRuleCommandInput
142
+ | CreateNotificationConfigurationCommandInput
143
+ | DeleteEventRuleCommandInput
144
+ | DeleteNotificationConfigurationCommandInput
145
+ | DeregisterNotificationHubCommandInput
146
+ | DisassociateChannelCommandInput
147
+ | GetEventRuleCommandInput
148
+ | GetNotificationConfigurationCommandInput
149
+ | GetNotificationEventCommandInput
150
+ | ListChannelsCommandInput
151
+ | ListEventRulesCommandInput
152
+ | ListNotificationConfigurationsCommandInput
153
+ | ListNotificationEventsCommandInput
154
+ | ListNotificationHubsCommandInput
155
+ | ListTagsForResourceCommandInput
156
+ | RegisterNotificationHubCommandInput
157
+ | TagResourceCommandInput
158
+ | UntagResourceCommandInput
159
+ | UpdateEventRuleCommandInput
160
+ | UpdateNotificationConfigurationCommandInput;
161
+ export type ServiceOutputTypes =
162
+ | AssociateChannelCommandOutput
163
+ | CreateEventRuleCommandOutput
164
+ | CreateNotificationConfigurationCommandOutput
165
+ | DeleteEventRuleCommandOutput
166
+ | DeleteNotificationConfigurationCommandOutput
167
+ | DeregisterNotificationHubCommandOutput
168
+ | DisassociateChannelCommandOutput
169
+ | GetEventRuleCommandOutput
170
+ | GetNotificationConfigurationCommandOutput
171
+ | GetNotificationEventCommandOutput
172
+ | ListChannelsCommandOutput
173
+ | ListEventRulesCommandOutput
174
+ | ListNotificationConfigurationsCommandOutput
175
+ | ListNotificationEventsCommandOutput
176
+ | ListNotificationHubsCommandOutput
177
+ | ListTagsForResourceCommandOutput
178
+ | RegisterNotificationHubCommandOutput
179
+ | TagResourceCommandOutput
180
+ | UntagResourceCommandOutput
181
+ | UpdateEventRuleCommandOutput
182
+ | UpdateNotificationConfigurationCommandOutput;
183
+ export interface ClientDefaults
184
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
185
+ requestHandler?: __HttpHandlerUserInput;
186
+ sha256?: __ChecksumConstructor | __HashConstructor;
187
+ urlParser?: __UrlParser;
188
+ bodyLengthChecker?: __BodyLengthCalculator;
189
+ streamCollector?: __StreamCollector;
190
+ base64Decoder?: __Decoder;
191
+ base64Encoder?: __Encoder;
192
+ utf8Decoder?: __Decoder;
193
+ utf8Encoder?: __Encoder;
194
+ runtime?: string;
195
+ disableHostPrefix?: boolean;
196
+ serviceId?: string;
197
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
198
+ useFipsEndpoint?: boolean | __Provider<boolean>;
199
+ region?: string | __Provider<string>;
200
+ defaultUserAgentProvider?: Provider<__UserAgent>;
201
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
202
+ maxAttempts?: number | __Provider<number>;
203
+ retryMode?: string | __Provider<string>;
204
+ logger?: __Logger;
205
+ extensions?: RuntimeExtension[];
206
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
207
+ }
208
+ export type NotificationsClientConfigType = Partial<
209
+ __SmithyConfiguration<__HttpHandlerOptions>
210
+ > &
211
+ ClientDefaults &
212
+ UserAgentInputConfig &
213
+ RetryInputConfig &
214
+ RegionInputConfig &
215
+ HostHeaderInputConfig &
216
+ EndpointInputConfig<EndpointParameters> &
217
+ HttpAuthSchemeInputConfig &
218
+ ClientInputEndpointParameters;
219
+ export interface NotificationsClientConfig
220
+ extends NotificationsClientConfigType {}
221
+ export type NotificationsClientResolvedConfigType =
222
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
223
+ Required<ClientDefaults> &
224
+ RuntimeExtensionsConfig &
225
+ UserAgentResolvedConfig &
226
+ RetryResolvedConfig &
227
+ RegionResolvedConfig &
228
+ HostHeaderResolvedConfig &
229
+ EndpointResolvedConfig<EndpointParameters> &
230
+ HttpAuthSchemeResolvedConfig &
231
+ ClientResolvedEndpointParameters;
232
+ export interface NotificationsClientResolvedConfig
233
+ extends NotificationsClientResolvedConfigType {}
234
+ export declare class NotificationsClient extends __Client<
235
+ __HttpHandlerOptions,
236
+ ServiceInputTypes,
237
+ ServiceOutputTypes,
238
+ NotificationsClientResolvedConfig
239
+ > {
240
+ readonly config: NotificationsClientResolvedConfig;
241
+ constructor(
242
+ ...[configuration]: __CheckOptionalClientConfig<NotificationsClientConfig>
243
+ );
244
+ destroy(): void;
245
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { NotificationsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: NotificationsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): NotificationsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: NotificationsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { NotificationsClientResolvedConfig } from "../NotificationsClient";
14
+ export interface NotificationsHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface NotificationsHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ NotificationsClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ NotificationsHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultNotificationsHttpAuthSchemeParametersProvider: (
26
+ config: NotificationsClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<NotificationsHttpAuthSchemeParameters>;
30
+ export interface NotificationsHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<NotificationsHttpAuthSchemeParameters> {}
32
+ export declare const defaultNotificationsHttpAuthSchemeProvider: NotificationsHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: NotificationsHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: NotificationsHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;