@aws-sdk/client-notifications 3.1068.0 → 3.1070.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.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +168 -188
- package/dist-cjs/models/NotificationsServiceException.js +4 -8
- package/dist-cjs/models/errors.js +15 -25
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +325 -212
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultNotificationsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { AssociateChannel$, AssociateManagedNotificationAccountContact$, AssociateManagedNotificationAdditionalChannel$, AssociateOrganizationalUnit$, CreateEventRule$, CreateNotificationConfiguration$, DeleteEventRule$, DeleteNotificationConfiguration$, DeregisterNotificationHub$, DisableNotificationsAccessForOrganization$, DisassociateChannel$, DisassociateManagedNotificationAccountContact$, DisassociateManagedNotificationAdditionalChannel$, DisassociateOrganizationalUnit$, EnableNotificationsAccessForOrganization$, GetEventRule$, GetManagedNotificationChildEvent$, GetManagedNotificationConfiguration$, GetManagedNotificationEvent$, GetNotificationConfiguration$, GetNotificationEvent$, GetNotificationsAccessForOrganization$, ListChannels$, ListEventRules$, ListManagedNotificationChannelAssociations$, ListManagedNotificationChildEvents$, ListManagedNotificationConfigurations$, ListManagedNotificationEvents$, ListMemberAccounts$, ListNotificationConfigurations$, ListNotificationEvents$, ListNotificationHubs$, ListOrganizationalUnits$, ListTagsForResource$, RegisterNotificationHub$, TagResource$, UntagResource$, UpdateEventRule$, UpdateNotificationConfiguration$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { NotificationsServiceException } = require("./models/NotificationsServiceException");
|
|
18
|
+
exports.NotificationsServiceException = NotificationsServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -66,535 +69,535 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
66
69
|
};
|
|
67
70
|
|
|
68
71
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
69
|
-
const extensionConfiguration = Object.assign(
|
|
72
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
70
73
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
71
|
-
return Object.assign(runtimeConfig,
|
|
74
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
72
75
|
};
|
|
73
76
|
|
|
74
|
-
class NotificationsClient extends
|
|
77
|
+
class NotificationsClient extends Client {
|
|
75
78
|
config;
|
|
76
79
|
constructor(...[configuration]) {
|
|
77
|
-
const _config_0 =
|
|
80
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
78
81
|
super(_config_0);
|
|
79
82
|
this.initConfig = _config_0;
|
|
80
83
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
81
|
-
const _config_2 =
|
|
82
|
-
const _config_3 =
|
|
83
|
-
const _config_4 =
|
|
84
|
-
const _config_5 =
|
|
85
|
-
const _config_6 =
|
|
86
|
-
const _config_7 =
|
|
84
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
85
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
86
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
87
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
88
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
89
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
87
90
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
88
91
|
this.config = _config_8;
|
|
89
|
-
this.middlewareStack.use(
|
|
90
|
-
this.middlewareStack.use(
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
httpAuthSchemeParametersProvider:
|
|
98
|
-
identityProviderConfigProvider: async (config) => new
|
|
92
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
100
|
+
httpAuthSchemeParametersProvider: defaultNotificationsHttpAuthSchemeParametersProvider,
|
|
101
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
99
102
|
"aws.auth#sigv4": config.credentials,
|
|
100
103
|
}),
|
|
101
104
|
}));
|
|
102
|
-
this.middlewareStack.use(
|
|
105
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
103
106
|
}
|
|
104
107
|
destroy() {
|
|
105
108
|
super.destroy();
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
|
|
109
|
-
class AssociateChannelCommand extends
|
|
112
|
+
class AssociateChannelCommand extends Command
|
|
110
113
|
.classBuilder()
|
|
111
114
|
.ep(commonParams)
|
|
112
115
|
.m(function (Command, cs, config, o) {
|
|
113
|
-
return [
|
|
116
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
114
117
|
})
|
|
115
118
|
.s("Notifications", "AssociateChannel", {})
|
|
116
119
|
.n("NotificationsClient", "AssociateChannelCommand")
|
|
117
|
-
.sc(
|
|
120
|
+
.sc(AssociateChannel$)
|
|
118
121
|
.build() {
|
|
119
122
|
}
|
|
120
123
|
|
|
121
|
-
class AssociateManagedNotificationAccountContactCommand extends
|
|
124
|
+
class AssociateManagedNotificationAccountContactCommand extends Command
|
|
122
125
|
.classBuilder()
|
|
123
126
|
.ep(commonParams)
|
|
124
127
|
.m(function (Command, cs, config, o) {
|
|
125
|
-
return [
|
|
128
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
126
129
|
})
|
|
127
130
|
.s("Notifications", "AssociateManagedNotificationAccountContact", {})
|
|
128
131
|
.n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")
|
|
129
|
-
.sc(
|
|
132
|
+
.sc(AssociateManagedNotificationAccountContact$)
|
|
130
133
|
.build() {
|
|
131
134
|
}
|
|
132
135
|
|
|
133
|
-
class AssociateManagedNotificationAdditionalChannelCommand extends
|
|
136
|
+
class AssociateManagedNotificationAdditionalChannelCommand extends Command
|
|
134
137
|
.classBuilder()
|
|
135
138
|
.ep(commonParams)
|
|
136
139
|
.m(function (Command, cs, config, o) {
|
|
137
|
-
return [
|
|
140
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
138
141
|
})
|
|
139
142
|
.s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})
|
|
140
143
|
.n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")
|
|
141
|
-
.sc(
|
|
144
|
+
.sc(AssociateManagedNotificationAdditionalChannel$)
|
|
142
145
|
.build() {
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
class AssociateOrganizationalUnitCommand extends
|
|
148
|
+
class AssociateOrganizationalUnitCommand extends Command
|
|
146
149
|
.classBuilder()
|
|
147
150
|
.ep(commonParams)
|
|
148
151
|
.m(function (Command, cs, config, o) {
|
|
149
|
-
return [
|
|
152
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
150
153
|
})
|
|
151
154
|
.s("Notifications", "AssociateOrganizationalUnit", {})
|
|
152
155
|
.n("NotificationsClient", "AssociateOrganizationalUnitCommand")
|
|
153
|
-
.sc(
|
|
156
|
+
.sc(AssociateOrganizationalUnit$)
|
|
154
157
|
.build() {
|
|
155
158
|
}
|
|
156
159
|
|
|
157
|
-
class CreateEventRuleCommand extends
|
|
160
|
+
class CreateEventRuleCommand extends Command
|
|
158
161
|
.classBuilder()
|
|
159
162
|
.ep(commonParams)
|
|
160
163
|
.m(function (Command, cs, config, o) {
|
|
161
|
-
return [
|
|
164
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
162
165
|
})
|
|
163
166
|
.s("Notifications", "CreateEventRule", {})
|
|
164
167
|
.n("NotificationsClient", "CreateEventRuleCommand")
|
|
165
|
-
.sc(
|
|
168
|
+
.sc(CreateEventRule$)
|
|
166
169
|
.build() {
|
|
167
170
|
}
|
|
168
171
|
|
|
169
|
-
class CreateNotificationConfigurationCommand extends
|
|
172
|
+
class CreateNotificationConfigurationCommand extends Command
|
|
170
173
|
.classBuilder()
|
|
171
174
|
.ep(commonParams)
|
|
172
175
|
.m(function (Command, cs, config, o) {
|
|
173
|
-
return [
|
|
176
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
174
177
|
})
|
|
175
178
|
.s("Notifications", "CreateNotificationConfiguration", {})
|
|
176
179
|
.n("NotificationsClient", "CreateNotificationConfigurationCommand")
|
|
177
|
-
.sc(
|
|
180
|
+
.sc(CreateNotificationConfiguration$)
|
|
178
181
|
.build() {
|
|
179
182
|
}
|
|
180
183
|
|
|
181
|
-
class DeleteEventRuleCommand extends
|
|
184
|
+
class DeleteEventRuleCommand extends Command
|
|
182
185
|
.classBuilder()
|
|
183
186
|
.ep(commonParams)
|
|
184
187
|
.m(function (Command, cs, config, o) {
|
|
185
|
-
return [
|
|
188
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
186
189
|
})
|
|
187
190
|
.s("Notifications", "DeleteEventRule", {})
|
|
188
191
|
.n("NotificationsClient", "DeleteEventRuleCommand")
|
|
189
|
-
.sc(
|
|
192
|
+
.sc(DeleteEventRule$)
|
|
190
193
|
.build() {
|
|
191
194
|
}
|
|
192
195
|
|
|
193
|
-
class DeleteNotificationConfigurationCommand extends
|
|
196
|
+
class DeleteNotificationConfigurationCommand extends Command
|
|
194
197
|
.classBuilder()
|
|
195
198
|
.ep(commonParams)
|
|
196
199
|
.m(function (Command, cs, config, o) {
|
|
197
|
-
return [
|
|
200
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
198
201
|
})
|
|
199
202
|
.s("Notifications", "DeleteNotificationConfiguration", {})
|
|
200
203
|
.n("NotificationsClient", "DeleteNotificationConfigurationCommand")
|
|
201
|
-
.sc(
|
|
204
|
+
.sc(DeleteNotificationConfiguration$)
|
|
202
205
|
.build() {
|
|
203
206
|
}
|
|
204
207
|
|
|
205
|
-
class DeregisterNotificationHubCommand extends
|
|
208
|
+
class DeregisterNotificationHubCommand extends Command
|
|
206
209
|
.classBuilder()
|
|
207
210
|
.ep(commonParams)
|
|
208
211
|
.m(function (Command, cs, config, o) {
|
|
209
|
-
return [
|
|
212
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
210
213
|
})
|
|
211
214
|
.s("Notifications", "DeregisterNotificationHub", {})
|
|
212
215
|
.n("NotificationsClient", "DeregisterNotificationHubCommand")
|
|
213
|
-
.sc(
|
|
216
|
+
.sc(DeregisterNotificationHub$)
|
|
214
217
|
.build() {
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
class DisableNotificationsAccessForOrganizationCommand extends
|
|
220
|
+
class DisableNotificationsAccessForOrganizationCommand extends Command
|
|
218
221
|
.classBuilder()
|
|
219
222
|
.ep(commonParams)
|
|
220
223
|
.m(function (Command, cs, config, o) {
|
|
221
|
-
return [
|
|
224
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
222
225
|
})
|
|
223
226
|
.s("Notifications", "DisableNotificationsAccessForOrganization", {})
|
|
224
227
|
.n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand")
|
|
225
|
-
.sc(
|
|
228
|
+
.sc(DisableNotificationsAccessForOrganization$)
|
|
226
229
|
.build() {
|
|
227
230
|
}
|
|
228
231
|
|
|
229
|
-
class DisassociateChannelCommand extends
|
|
232
|
+
class DisassociateChannelCommand extends Command
|
|
230
233
|
.classBuilder()
|
|
231
234
|
.ep(commonParams)
|
|
232
235
|
.m(function (Command, cs, config, o) {
|
|
233
|
-
return [
|
|
236
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
234
237
|
})
|
|
235
238
|
.s("Notifications", "DisassociateChannel", {})
|
|
236
239
|
.n("NotificationsClient", "DisassociateChannelCommand")
|
|
237
|
-
.sc(
|
|
240
|
+
.sc(DisassociateChannel$)
|
|
238
241
|
.build() {
|
|
239
242
|
}
|
|
240
243
|
|
|
241
|
-
class DisassociateManagedNotificationAccountContactCommand extends
|
|
244
|
+
class DisassociateManagedNotificationAccountContactCommand extends Command
|
|
242
245
|
.classBuilder()
|
|
243
246
|
.ep(commonParams)
|
|
244
247
|
.m(function (Command, cs, config, o) {
|
|
245
|
-
return [
|
|
248
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
246
249
|
})
|
|
247
250
|
.s("Notifications", "DisassociateManagedNotificationAccountContact", {})
|
|
248
251
|
.n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand")
|
|
249
|
-
.sc(
|
|
252
|
+
.sc(DisassociateManagedNotificationAccountContact$)
|
|
250
253
|
.build() {
|
|
251
254
|
}
|
|
252
255
|
|
|
253
|
-
class DisassociateManagedNotificationAdditionalChannelCommand extends
|
|
256
|
+
class DisassociateManagedNotificationAdditionalChannelCommand extends Command
|
|
254
257
|
.classBuilder()
|
|
255
258
|
.ep(commonParams)
|
|
256
259
|
.m(function (Command, cs, config, o) {
|
|
257
|
-
return [
|
|
260
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
258
261
|
})
|
|
259
262
|
.s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {})
|
|
260
263
|
.n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand")
|
|
261
|
-
.sc(
|
|
264
|
+
.sc(DisassociateManagedNotificationAdditionalChannel$)
|
|
262
265
|
.build() {
|
|
263
266
|
}
|
|
264
267
|
|
|
265
|
-
class DisassociateOrganizationalUnitCommand extends
|
|
268
|
+
class DisassociateOrganizationalUnitCommand extends Command
|
|
266
269
|
.classBuilder()
|
|
267
270
|
.ep(commonParams)
|
|
268
271
|
.m(function (Command, cs, config, o) {
|
|
269
|
-
return [
|
|
272
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
270
273
|
})
|
|
271
274
|
.s("Notifications", "DisassociateOrganizationalUnit", {})
|
|
272
275
|
.n("NotificationsClient", "DisassociateOrganizationalUnitCommand")
|
|
273
|
-
.sc(
|
|
276
|
+
.sc(DisassociateOrganizationalUnit$)
|
|
274
277
|
.build() {
|
|
275
278
|
}
|
|
276
279
|
|
|
277
|
-
class EnableNotificationsAccessForOrganizationCommand extends
|
|
280
|
+
class EnableNotificationsAccessForOrganizationCommand extends Command
|
|
278
281
|
.classBuilder()
|
|
279
282
|
.ep(commonParams)
|
|
280
283
|
.m(function (Command, cs, config, o) {
|
|
281
|
-
return [
|
|
284
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
282
285
|
})
|
|
283
286
|
.s("Notifications", "EnableNotificationsAccessForOrganization", {})
|
|
284
287
|
.n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand")
|
|
285
|
-
.sc(
|
|
288
|
+
.sc(EnableNotificationsAccessForOrganization$)
|
|
286
289
|
.build() {
|
|
287
290
|
}
|
|
288
291
|
|
|
289
|
-
class GetEventRuleCommand extends
|
|
292
|
+
class GetEventRuleCommand extends Command
|
|
290
293
|
.classBuilder()
|
|
291
294
|
.ep(commonParams)
|
|
292
295
|
.m(function (Command, cs, config, o) {
|
|
293
|
-
return [
|
|
296
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
294
297
|
})
|
|
295
298
|
.s("Notifications", "GetEventRule", {})
|
|
296
299
|
.n("NotificationsClient", "GetEventRuleCommand")
|
|
297
|
-
.sc(
|
|
300
|
+
.sc(GetEventRule$)
|
|
298
301
|
.build() {
|
|
299
302
|
}
|
|
300
303
|
|
|
301
|
-
class GetManagedNotificationChildEventCommand extends
|
|
304
|
+
class GetManagedNotificationChildEventCommand extends Command
|
|
302
305
|
.classBuilder()
|
|
303
306
|
.ep(commonParams)
|
|
304
307
|
.m(function (Command, cs, config, o) {
|
|
305
|
-
return [
|
|
308
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
306
309
|
})
|
|
307
310
|
.s("Notifications", "GetManagedNotificationChildEvent", {})
|
|
308
311
|
.n("NotificationsClient", "GetManagedNotificationChildEventCommand")
|
|
309
|
-
.sc(
|
|
312
|
+
.sc(GetManagedNotificationChildEvent$)
|
|
310
313
|
.build() {
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
class GetManagedNotificationConfigurationCommand extends
|
|
316
|
+
class GetManagedNotificationConfigurationCommand extends Command
|
|
314
317
|
.classBuilder()
|
|
315
318
|
.ep(commonParams)
|
|
316
319
|
.m(function (Command, cs, config, o) {
|
|
317
|
-
return [
|
|
320
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
318
321
|
})
|
|
319
322
|
.s("Notifications", "GetManagedNotificationConfiguration", {})
|
|
320
323
|
.n("NotificationsClient", "GetManagedNotificationConfigurationCommand")
|
|
321
|
-
.sc(
|
|
324
|
+
.sc(GetManagedNotificationConfiguration$)
|
|
322
325
|
.build() {
|
|
323
326
|
}
|
|
324
327
|
|
|
325
|
-
class GetManagedNotificationEventCommand extends
|
|
328
|
+
class GetManagedNotificationEventCommand extends Command
|
|
326
329
|
.classBuilder()
|
|
327
330
|
.ep(commonParams)
|
|
328
331
|
.m(function (Command, cs, config, o) {
|
|
329
|
-
return [
|
|
332
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
330
333
|
})
|
|
331
334
|
.s("Notifications", "GetManagedNotificationEvent", {})
|
|
332
335
|
.n("NotificationsClient", "GetManagedNotificationEventCommand")
|
|
333
|
-
.sc(
|
|
336
|
+
.sc(GetManagedNotificationEvent$)
|
|
334
337
|
.build() {
|
|
335
338
|
}
|
|
336
339
|
|
|
337
|
-
class GetNotificationConfigurationCommand extends
|
|
340
|
+
class GetNotificationConfigurationCommand extends Command
|
|
338
341
|
.classBuilder()
|
|
339
342
|
.ep(commonParams)
|
|
340
343
|
.m(function (Command, cs, config, o) {
|
|
341
|
-
return [
|
|
344
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
342
345
|
})
|
|
343
346
|
.s("Notifications", "GetNotificationConfiguration", {})
|
|
344
347
|
.n("NotificationsClient", "GetNotificationConfigurationCommand")
|
|
345
|
-
.sc(
|
|
348
|
+
.sc(GetNotificationConfiguration$)
|
|
346
349
|
.build() {
|
|
347
350
|
}
|
|
348
351
|
|
|
349
|
-
class GetNotificationEventCommand extends
|
|
352
|
+
class GetNotificationEventCommand extends Command
|
|
350
353
|
.classBuilder()
|
|
351
354
|
.ep(commonParams)
|
|
352
355
|
.m(function (Command, cs, config, o) {
|
|
353
|
-
return [
|
|
356
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
354
357
|
})
|
|
355
358
|
.s("Notifications", "GetNotificationEvent", {})
|
|
356
359
|
.n("NotificationsClient", "GetNotificationEventCommand")
|
|
357
|
-
.sc(
|
|
360
|
+
.sc(GetNotificationEvent$)
|
|
358
361
|
.build() {
|
|
359
362
|
}
|
|
360
363
|
|
|
361
|
-
class GetNotificationsAccessForOrganizationCommand extends
|
|
364
|
+
class GetNotificationsAccessForOrganizationCommand extends Command
|
|
362
365
|
.classBuilder()
|
|
363
366
|
.ep(commonParams)
|
|
364
367
|
.m(function (Command, cs, config, o) {
|
|
365
|
-
return [
|
|
368
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
366
369
|
})
|
|
367
370
|
.s("Notifications", "GetNotificationsAccessForOrganization", {})
|
|
368
371
|
.n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand")
|
|
369
|
-
.sc(
|
|
372
|
+
.sc(GetNotificationsAccessForOrganization$)
|
|
370
373
|
.build() {
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
class ListChannelsCommand extends
|
|
376
|
+
class ListChannelsCommand extends Command
|
|
374
377
|
.classBuilder()
|
|
375
378
|
.ep(commonParams)
|
|
376
379
|
.m(function (Command, cs, config, o) {
|
|
377
|
-
return [
|
|
380
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
378
381
|
})
|
|
379
382
|
.s("Notifications", "ListChannels", {})
|
|
380
383
|
.n("NotificationsClient", "ListChannelsCommand")
|
|
381
|
-
.sc(
|
|
384
|
+
.sc(ListChannels$)
|
|
382
385
|
.build() {
|
|
383
386
|
}
|
|
384
387
|
|
|
385
|
-
class ListEventRulesCommand extends
|
|
388
|
+
class ListEventRulesCommand extends Command
|
|
386
389
|
.classBuilder()
|
|
387
390
|
.ep(commonParams)
|
|
388
391
|
.m(function (Command, cs, config, o) {
|
|
389
|
-
return [
|
|
392
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
390
393
|
})
|
|
391
394
|
.s("Notifications", "ListEventRules", {})
|
|
392
395
|
.n("NotificationsClient", "ListEventRulesCommand")
|
|
393
|
-
.sc(
|
|
396
|
+
.sc(ListEventRules$)
|
|
394
397
|
.build() {
|
|
395
398
|
}
|
|
396
399
|
|
|
397
|
-
class ListManagedNotificationChannelAssociationsCommand extends
|
|
400
|
+
class ListManagedNotificationChannelAssociationsCommand extends Command
|
|
398
401
|
.classBuilder()
|
|
399
402
|
.ep(commonParams)
|
|
400
403
|
.m(function (Command, cs, config, o) {
|
|
401
|
-
return [
|
|
404
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
402
405
|
})
|
|
403
406
|
.s("Notifications", "ListManagedNotificationChannelAssociations", {})
|
|
404
407
|
.n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand")
|
|
405
|
-
.sc(
|
|
408
|
+
.sc(ListManagedNotificationChannelAssociations$)
|
|
406
409
|
.build() {
|
|
407
410
|
}
|
|
408
411
|
|
|
409
|
-
class ListManagedNotificationChildEventsCommand extends
|
|
412
|
+
class ListManagedNotificationChildEventsCommand extends Command
|
|
410
413
|
.classBuilder()
|
|
411
414
|
.ep(commonParams)
|
|
412
415
|
.m(function (Command, cs, config, o) {
|
|
413
|
-
return [
|
|
416
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
414
417
|
})
|
|
415
418
|
.s("Notifications", "ListManagedNotificationChildEvents", {})
|
|
416
419
|
.n("NotificationsClient", "ListManagedNotificationChildEventsCommand")
|
|
417
|
-
.sc(
|
|
420
|
+
.sc(ListManagedNotificationChildEvents$)
|
|
418
421
|
.build() {
|
|
419
422
|
}
|
|
420
423
|
|
|
421
|
-
class ListManagedNotificationConfigurationsCommand extends
|
|
424
|
+
class ListManagedNotificationConfigurationsCommand extends Command
|
|
422
425
|
.classBuilder()
|
|
423
426
|
.ep(commonParams)
|
|
424
427
|
.m(function (Command, cs, config, o) {
|
|
425
|
-
return [
|
|
428
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
426
429
|
})
|
|
427
430
|
.s("Notifications", "ListManagedNotificationConfigurations", {})
|
|
428
431
|
.n("NotificationsClient", "ListManagedNotificationConfigurationsCommand")
|
|
429
|
-
.sc(
|
|
432
|
+
.sc(ListManagedNotificationConfigurations$)
|
|
430
433
|
.build() {
|
|
431
434
|
}
|
|
432
435
|
|
|
433
|
-
class ListManagedNotificationEventsCommand extends
|
|
436
|
+
class ListManagedNotificationEventsCommand extends Command
|
|
434
437
|
.classBuilder()
|
|
435
438
|
.ep(commonParams)
|
|
436
439
|
.m(function (Command, cs, config, o) {
|
|
437
|
-
return [
|
|
440
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
438
441
|
})
|
|
439
442
|
.s("Notifications", "ListManagedNotificationEvents", {})
|
|
440
443
|
.n("NotificationsClient", "ListManagedNotificationEventsCommand")
|
|
441
|
-
.sc(
|
|
444
|
+
.sc(ListManagedNotificationEvents$)
|
|
442
445
|
.build() {
|
|
443
446
|
}
|
|
444
447
|
|
|
445
|
-
class ListMemberAccountsCommand extends
|
|
448
|
+
class ListMemberAccountsCommand extends Command
|
|
446
449
|
.classBuilder()
|
|
447
450
|
.ep(commonParams)
|
|
448
451
|
.m(function (Command, cs, config, o) {
|
|
449
|
-
return [
|
|
452
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
450
453
|
})
|
|
451
454
|
.s("Notifications", "ListMemberAccounts", {})
|
|
452
455
|
.n("NotificationsClient", "ListMemberAccountsCommand")
|
|
453
|
-
.sc(
|
|
456
|
+
.sc(ListMemberAccounts$)
|
|
454
457
|
.build() {
|
|
455
458
|
}
|
|
456
459
|
|
|
457
|
-
class ListNotificationConfigurationsCommand extends
|
|
460
|
+
class ListNotificationConfigurationsCommand extends Command
|
|
458
461
|
.classBuilder()
|
|
459
462
|
.ep(commonParams)
|
|
460
463
|
.m(function (Command, cs, config, o) {
|
|
461
|
-
return [
|
|
464
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
462
465
|
})
|
|
463
466
|
.s("Notifications", "ListNotificationConfigurations", {})
|
|
464
467
|
.n("NotificationsClient", "ListNotificationConfigurationsCommand")
|
|
465
|
-
.sc(
|
|
468
|
+
.sc(ListNotificationConfigurations$)
|
|
466
469
|
.build() {
|
|
467
470
|
}
|
|
468
471
|
|
|
469
|
-
class ListNotificationEventsCommand extends
|
|
472
|
+
class ListNotificationEventsCommand extends Command
|
|
470
473
|
.classBuilder()
|
|
471
474
|
.ep(commonParams)
|
|
472
475
|
.m(function (Command, cs, config, o) {
|
|
473
|
-
return [
|
|
476
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
474
477
|
})
|
|
475
478
|
.s("Notifications", "ListNotificationEvents", {})
|
|
476
479
|
.n("NotificationsClient", "ListNotificationEventsCommand")
|
|
477
|
-
.sc(
|
|
480
|
+
.sc(ListNotificationEvents$)
|
|
478
481
|
.build() {
|
|
479
482
|
}
|
|
480
483
|
|
|
481
|
-
class ListNotificationHubsCommand extends
|
|
484
|
+
class ListNotificationHubsCommand extends Command
|
|
482
485
|
.classBuilder()
|
|
483
486
|
.ep(commonParams)
|
|
484
487
|
.m(function (Command, cs, config, o) {
|
|
485
|
-
return [
|
|
488
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
486
489
|
})
|
|
487
490
|
.s("Notifications", "ListNotificationHubs", {})
|
|
488
491
|
.n("NotificationsClient", "ListNotificationHubsCommand")
|
|
489
|
-
.sc(
|
|
492
|
+
.sc(ListNotificationHubs$)
|
|
490
493
|
.build() {
|
|
491
494
|
}
|
|
492
495
|
|
|
493
|
-
class ListOrganizationalUnitsCommand extends
|
|
496
|
+
class ListOrganizationalUnitsCommand extends Command
|
|
494
497
|
.classBuilder()
|
|
495
498
|
.ep(commonParams)
|
|
496
499
|
.m(function (Command, cs, config, o) {
|
|
497
|
-
return [
|
|
500
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
498
501
|
})
|
|
499
502
|
.s("Notifications", "ListOrganizationalUnits", {})
|
|
500
503
|
.n("NotificationsClient", "ListOrganizationalUnitsCommand")
|
|
501
|
-
.sc(
|
|
504
|
+
.sc(ListOrganizationalUnits$)
|
|
502
505
|
.build() {
|
|
503
506
|
}
|
|
504
507
|
|
|
505
|
-
class ListTagsForResourceCommand extends
|
|
508
|
+
class ListTagsForResourceCommand extends Command
|
|
506
509
|
.classBuilder()
|
|
507
510
|
.ep(commonParams)
|
|
508
511
|
.m(function (Command, cs, config, o) {
|
|
509
|
-
return [
|
|
512
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
510
513
|
})
|
|
511
514
|
.s("Notifications", "ListTagsForResource", {})
|
|
512
515
|
.n("NotificationsClient", "ListTagsForResourceCommand")
|
|
513
|
-
.sc(
|
|
516
|
+
.sc(ListTagsForResource$)
|
|
514
517
|
.build() {
|
|
515
518
|
}
|
|
516
519
|
|
|
517
|
-
class RegisterNotificationHubCommand extends
|
|
520
|
+
class RegisterNotificationHubCommand extends Command
|
|
518
521
|
.classBuilder()
|
|
519
522
|
.ep(commonParams)
|
|
520
523
|
.m(function (Command, cs, config, o) {
|
|
521
|
-
return [
|
|
524
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
522
525
|
})
|
|
523
526
|
.s("Notifications", "RegisterNotificationHub", {})
|
|
524
527
|
.n("NotificationsClient", "RegisterNotificationHubCommand")
|
|
525
|
-
.sc(
|
|
528
|
+
.sc(RegisterNotificationHub$)
|
|
526
529
|
.build() {
|
|
527
530
|
}
|
|
528
531
|
|
|
529
|
-
class TagResourceCommand extends
|
|
532
|
+
class TagResourceCommand extends Command
|
|
530
533
|
.classBuilder()
|
|
531
534
|
.ep(commonParams)
|
|
532
535
|
.m(function (Command, cs, config, o) {
|
|
533
|
-
return [
|
|
536
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
534
537
|
})
|
|
535
538
|
.s("Notifications", "TagResource", {})
|
|
536
539
|
.n("NotificationsClient", "TagResourceCommand")
|
|
537
|
-
.sc(
|
|
540
|
+
.sc(TagResource$)
|
|
538
541
|
.build() {
|
|
539
542
|
}
|
|
540
543
|
|
|
541
|
-
class UntagResourceCommand extends
|
|
544
|
+
class UntagResourceCommand extends Command
|
|
542
545
|
.classBuilder()
|
|
543
546
|
.ep(commonParams)
|
|
544
547
|
.m(function (Command, cs, config, o) {
|
|
545
|
-
return [
|
|
548
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
546
549
|
})
|
|
547
550
|
.s("Notifications", "UntagResource", {})
|
|
548
551
|
.n("NotificationsClient", "UntagResourceCommand")
|
|
549
|
-
.sc(
|
|
552
|
+
.sc(UntagResource$)
|
|
550
553
|
.build() {
|
|
551
554
|
}
|
|
552
555
|
|
|
553
|
-
class UpdateEventRuleCommand extends
|
|
556
|
+
class UpdateEventRuleCommand extends Command
|
|
554
557
|
.classBuilder()
|
|
555
558
|
.ep(commonParams)
|
|
556
559
|
.m(function (Command, cs, config, o) {
|
|
557
|
-
return [
|
|
560
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
558
561
|
})
|
|
559
562
|
.s("Notifications", "UpdateEventRule", {})
|
|
560
563
|
.n("NotificationsClient", "UpdateEventRuleCommand")
|
|
561
|
-
.sc(
|
|
564
|
+
.sc(UpdateEventRule$)
|
|
562
565
|
.build() {
|
|
563
566
|
}
|
|
564
567
|
|
|
565
|
-
class UpdateNotificationConfigurationCommand extends
|
|
568
|
+
class UpdateNotificationConfigurationCommand extends Command
|
|
566
569
|
.classBuilder()
|
|
567
570
|
.ep(commonParams)
|
|
568
571
|
.m(function (Command, cs, config, o) {
|
|
569
|
-
return [
|
|
572
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
570
573
|
})
|
|
571
574
|
.s("Notifications", "UpdateNotificationConfiguration", {})
|
|
572
575
|
.n("NotificationsClient", "UpdateNotificationConfigurationCommand")
|
|
573
|
-
.sc(
|
|
576
|
+
.sc(UpdateNotificationConfiguration$)
|
|
574
577
|
.build() {
|
|
575
578
|
}
|
|
576
579
|
|
|
577
|
-
const paginateListChannels =
|
|
580
|
+
const paginateListChannels = createPaginator(NotificationsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
578
581
|
|
|
579
|
-
const paginateListEventRules =
|
|
582
|
+
const paginateListEventRules = createPaginator(NotificationsClient, ListEventRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
580
583
|
|
|
581
|
-
const paginateListManagedNotificationChannelAssociations =
|
|
584
|
+
const paginateListManagedNotificationChannelAssociations = createPaginator(NotificationsClient, ListManagedNotificationChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
582
585
|
|
|
583
|
-
const paginateListManagedNotificationChildEvents =
|
|
586
|
+
const paginateListManagedNotificationChildEvents = createPaginator(NotificationsClient, ListManagedNotificationChildEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
584
587
|
|
|
585
|
-
const paginateListManagedNotificationConfigurations =
|
|
588
|
+
const paginateListManagedNotificationConfigurations = createPaginator(NotificationsClient, ListManagedNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
586
589
|
|
|
587
|
-
const paginateListManagedNotificationEvents =
|
|
590
|
+
const paginateListManagedNotificationEvents = createPaginator(NotificationsClient, ListManagedNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
588
591
|
|
|
589
|
-
const paginateListMemberAccounts =
|
|
592
|
+
const paginateListMemberAccounts = createPaginator(NotificationsClient, ListMemberAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
590
593
|
|
|
591
|
-
const paginateListNotificationConfigurations =
|
|
594
|
+
const paginateListNotificationConfigurations = createPaginator(NotificationsClient, ListNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
592
595
|
|
|
593
|
-
const paginateListNotificationEvents =
|
|
596
|
+
const paginateListNotificationEvents = createPaginator(NotificationsClient, ListNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
594
597
|
|
|
595
|
-
const paginateListNotificationHubs =
|
|
598
|
+
const paginateListNotificationHubs = createPaginator(NotificationsClient, ListNotificationHubsCommand, "nextToken", "nextToken", "maxResults");
|
|
596
599
|
|
|
597
|
-
const paginateListOrganizationalUnits =
|
|
600
|
+
const paginateListOrganizationalUnits = createPaginator(NotificationsClient, ListOrganizationalUnitsCommand, "nextToken", "nextToken", "maxResults");
|
|
598
601
|
|
|
599
602
|
const commands = {
|
|
600
603
|
AssociateChannelCommand,
|
|
@@ -652,7 +655,7 @@ const paginators = {
|
|
|
652
655
|
};
|
|
653
656
|
class Notifications extends NotificationsClient {
|
|
654
657
|
}
|
|
655
|
-
|
|
658
|
+
createAggregatedClient(commands, Notifications, { paginators });
|
|
656
659
|
|
|
657
660
|
const AccessStatus = {
|
|
658
661
|
DISABLED: "DISABLED",
|
|
@@ -759,9 +762,6 @@ const MemberAccountNotificationConfigurationStatus = {
|
|
|
759
762
|
PENDING: "PENDING",
|
|
760
763
|
};
|
|
761
764
|
|
|
762
|
-
exports.$Command = client.Command;
|
|
763
|
-
exports.__Client = client.Client;
|
|
764
|
-
exports.NotificationsServiceException = NotificationsServiceException.NotificationsServiceException;
|
|
765
765
|
exports.AccessStatus = AccessStatus;
|
|
766
766
|
exports.AccountContactType = AccountContactType;
|
|
767
767
|
exports.AggregationDuration = AggregationDuration;
|
|
@@ -832,23 +832,3 @@ exports.paginateListNotificationConfigurations = paginateListNotificationConfigu
|
|
|
832
832
|
exports.paginateListNotificationEvents = paginateListNotificationEvents;
|
|
833
833
|
exports.paginateListNotificationHubs = paginateListNotificationHubs;
|
|
834
834
|
exports.paginateListOrganizationalUnits = paginateListOrganizationalUnits;
|
|
835
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
836
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
837
|
-
Object.defineProperty(exports, '__proto__', {
|
|
838
|
-
enumerable: true,
|
|
839
|
-
value: schemas_0['__proto__']
|
|
840
|
-
});
|
|
841
|
-
|
|
842
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
843
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
844
|
-
});
|
|
845
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
846
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
847
|
-
Object.defineProperty(exports, '__proto__', {
|
|
848
|
-
enumerable: true,
|
|
849
|
-
value: errors['__proto__']
|
|
850
|
-
});
|
|
851
|
-
|
|
852
|
-
Object.keys(errors).forEach(function (k) {
|
|
853
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
854
|
-
});
|