@aws-sdk/client-notifications 3.1075.0 → 3.1076.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/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  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;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultNotificationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "notifications",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultNotificationsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -29,6 +65,1302 @@ const commonParams = {
29
65
  Region: { type: "builtInParams", name: "region" },
30
66
  };
31
67
 
68
+ var version = "3.1075.0";
69
+ var packageInfo = {
70
+ version: version};
71
+
72
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
73
+ const _data = {
74
+ conditions: [
75
+ [a, [b]],
76
+ [a, c],
77
+ ["aws.partition", c, "PartitionResult"],
78
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
79
+ ],
80
+ results: [
81
+ [-1],
82
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
83
+ [b, {}],
84
+ ["https://notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
85
+ ["https://notifications.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
86
+ [-1, "Invalid Configuration: Missing Region"]
87
+ ]
88
+ };
89
+ const root = 2;
90
+ const r = 100_000_000;
91
+ const nodes = new Int32Array([
92
+ -1, 1, -1,
93
+ 0, 6, 3,
94
+ 1, 4, r + 5,
95
+ 2, 5, r + 5,
96
+ 3, r + 3, r + 4,
97
+ 3, r + 1, r + 2,
98
+ ]);
99
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
100
+
101
+ const cache = new EndpointCache({
102
+ size: 50,
103
+ params: ["Endpoint", "Region", "UseFIPS"],
104
+ });
105
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
106
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
107
+ endpointParams: endpointParams,
108
+ logger: context.logger,
109
+ }));
110
+ };
111
+ customEndpointFunctions.aws = awsEndpointFunctions;
112
+
113
+ class NotificationsServiceException extends ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, NotificationsServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class AccessDeniedException extends NotificationsServiceException {
121
+ name = "AccessDeniedException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "AccessDeniedException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
+ }
131
+ }
132
+ class ConflictException extends NotificationsServiceException {
133
+ name = "ConflictException";
134
+ $fault = "client";
135
+ resourceId;
136
+ constructor(opts) {
137
+ super({
138
+ name: "ConflictException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, ConflictException.prototype);
143
+ this.resourceId = opts.resourceId;
144
+ }
145
+ }
146
+ class InternalServerException extends NotificationsServiceException {
147
+ name = "InternalServerException";
148
+ $fault = "server";
149
+ $retryable = {};
150
+ constructor(opts) {
151
+ super({
152
+ name: "InternalServerException",
153
+ $fault: "server",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, InternalServerException.prototype);
157
+ }
158
+ }
159
+ class ResourceNotFoundException extends NotificationsServiceException {
160
+ name = "ResourceNotFoundException";
161
+ $fault = "client";
162
+ resourceId;
163
+ constructor(opts) {
164
+ super({
165
+ name: "ResourceNotFoundException",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
170
+ this.resourceId = opts.resourceId;
171
+ }
172
+ }
173
+ class ServiceQuotaExceededException extends NotificationsServiceException {
174
+ name = "ServiceQuotaExceededException";
175
+ $fault = "client";
176
+ resourceType;
177
+ resourceId;
178
+ serviceCode;
179
+ quotaCode;
180
+ constructor(opts) {
181
+ super({
182
+ name: "ServiceQuotaExceededException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
187
+ this.resourceType = opts.resourceType;
188
+ this.resourceId = opts.resourceId;
189
+ this.serviceCode = opts.serviceCode;
190
+ this.quotaCode = opts.quotaCode;
191
+ }
192
+ }
193
+ class ThrottlingException extends NotificationsServiceException {
194
+ name = "ThrottlingException";
195
+ $fault = "client";
196
+ $retryable = {
197
+ throttling: true,
198
+ };
199
+ serviceCode;
200
+ quotaCode;
201
+ retryAfterSeconds;
202
+ constructor(opts) {
203
+ super({
204
+ name: "ThrottlingException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
209
+ this.serviceCode = opts.serviceCode;
210
+ this.quotaCode = opts.quotaCode;
211
+ this.retryAfterSeconds = opts.retryAfterSeconds;
212
+ }
213
+ }
214
+ class ValidationException extends NotificationsServiceException {
215
+ name = "ValidationException";
216
+ $fault = "client";
217
+ reason;
218
+ fieldList;
219
+ constructor(opts) {
220
+ super({
221
+ name: "ValidationException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, ValidationException.prototype);
226
+ this.reason = opts.reason;
227
+ this.fieldList = opts.fieldList;
228
+ }
229
+ }
230
+
231
+ const _AC = "AssociateChannel";
232
+ const _ACR = "AssociateChannelRequest";
233
+ const _ACRs = "AssociateChannelResponse";
234
+ const _AD = "AggregationDetail";
235
+ const _ADE = "AccessDeniedException";
236
+ const _AK = "AggregationKey";
237
+ const _AKg = "AggregationKeys";
238
+ const _AMNAC = "AssociateManagedNotificationAccountContact";
239
+ const _AMNACR = "AssociateManagedNotificationAccountContactRequest";
240
+ const _AMNACRs = "AssociateManagedNotificationAccountContactResponse";
241
+ const _AMNACRss = "AssociateManagedNotificationAdditionalChannelRequest";
242
+ const _AMNACRsso = "AssociateManagedNotificationAdditionalChannelResponse";
243
+ const _AMNACs = "AssociateManagedNotificationAdditionalChannel";
244
+ const _AOU = "AssociateOrganizationalUnit";
245
+ const _AOUR = "AssociateOrganizationalUnitRequest";
246
+ const _AOURs = "AssociateOrganizationalUnitResponse";
247
+ const _AS = "AggregationSummary";
248
+ const _CE = "ConflictException";
249
+ const _CER = "CreateEventRule";
250
+ const _CERR = "CreateEventRuleRequest";
251
+ const _CERRr = "CreateEventRuleResponse";
252
+ const _CNC = "CreateNotificationConfiguration";
253
+ const _CNCR = "CreateNotificationConfigurationRequest";
254
+ const _CNCRr = "CreateNotificationConfigurationResponse";
255
+ const _D = "Dimension";
256
+ const _DC = "DisassociateChannel";
257
+ const _DCR = "DisassociateChannelRequest";
258
+ const _DCRi = "DisassociateChannelResponse";
259
+ const _DER = "DeleteEventRule";
260
+ const _DERR = "DeleteEventRuleRequest";
261
+ const _DERRe = "DeleteEventRuleResponse";
262
+ const _DMNAC = "DisassociateManagedNotificationAccountContact";
263
+ const _DMNACR = "DisassociateManagedNotificationAccountContactRequest";
264
+ const _DMNACRi = "DisassociateManagedNotificationAccountContactResponse";
265
+ const _DMNACRis = "DisassociateManagedNotificationAdditionalChannelRequest";
266
+ const _DMNACRisa = "DisassociateManagedNotificationAdditionalChannelResponse";
267
+ const _DMNACi = "DisassociateManagedNotificationAdditionalChannel";
268
+ const _DNAFO = "DisableNotificationsAccessForOrganization";
269
+ const _DNAFOR = "DisableNotificationsAccessForOrganizationRequest";
270
+ const _DNAFORi = "DisableNotificationsAccessForOrganizationResponse";
271
+ const _DNC = "DeleteNotificationConfiguration";
272
+ const _DNCR = "DeleteNotificationConfigurationRequest";
273
+ const _DNCRe = "DeleteNotificationConfigurationResponse";
274
+ const _DNH = "DeregisterNotificationHub";
275
+ const _DNHR = "DeregisterNotificationHubRequest";
276
+ const _DNHRe = "DeregisterNotificationHubResponse";
277
+ const _DOU = "DisassociateOrganizationalUnit";
278
+ const _DOUR = "DisassociateOrganizationalUnitRequest";
279
+ const _DOURi = "DisassociateOrganizationalUnitResponse";
280
+ const _Di = "Dimensions";
281
+ const _ENAFO = "EnableNotificationsAccessForOrganization";
282
+ const _ENAFOR = "EnableNotificationsAccessForOrganizationRequest";
283
+ const _ENAFORn = "EnableNotificationsAccessForOrganizationResponse";
284
+ const _ER = "EventRules";
285
+ const _ERS = "EventRuleStructure";
286
+ const _ERSS = "EventRuleStatusSummary";
287
+ const _GER = "GetEventRule";
288
+ const _GERR = "GetEventRuleRequest";
289
+ const _GERRe = "GetEventRuleResponse";
290
+ const _GMNC = "GetManagedNotificationConfiguration";
291
+ const _GMNCE = "GetManagedNotificationChildEvent";
292
+ const _GMNCER = "GetManagedNotificationChildEventRequest";
293
+ const _GMNCERe = "GetManagedNotificationChildEventResponse";
294
+ const _GMNCR = "GetManagedNotificationConfigurationRequest";
295
+ const _GMNCRe = "GetManagedNotificationConfigurationResponse";
296
+ const _GMNE = "GetManagedNotificationEvent";
297
+ const _GMNER = "GetManagedNotificationEventRequest";
298
+ const _GMNERe = "GetManagedNotificationEventResponse";
299
+ const _GNAFO = "GetNotificationsAccessForOrganization";
300
+ const _GNAFOR = "GetNotificationsAccessForOrganizationRequest";
301
+ const _GNAFORe = "GetNotificationsAccessForOrganizationResponse";
302
+ const _GNC = "GetNotificationConfiguration";
303
+ const _GNCR = "GetNotificationConfigurationRequest";
304
+ const _GNCRe = "GetNotificationConfigurationResponse";
305
+ const _GNE = "GetNotificationEvent";
306
+ const _GNER = "GetNotificationEventRequest";
307
+ const _GNERe = "GetNotificationEventResponse";
308
+ const _ISE = "InternalServerException";
309
+ const _LC = "ListChannels";
310
+ const _LCR = "ListChannelsRequest";
311
+ const _LCRi = "ListChannelsResponse";
312
+ const _LER = "ListEventRules";
313
+ const _LERR = "ListEventRulesRequest";
314
+ const _LERRi = "ListEventRulesResponse";
315
+ const _LMA = "ListMemberAccounts";
316
+ const _LMAR = "ListMemberAccountsRequest";
317
+ const _LMARi = "ListMemberAccountsResponse";
318
+ const _LMNC = "ListManagedNotificationConfigurations";
319
+ const _LMNCA = "ListManagedNotificationChannelAssociations";
320
+ const _LMNCAR = "ListManagedNotificationChannelAssociationsRequest";
321
+ const _LMNCARi = "ListManagedNotificationChannelAssociationsResponse";
322
+ const _LMNCE = "ListManagedNotificationChildEvents";
323
+ const _LMNCER = "ListManagedNotificationChildEventsRequest";
324
+ const _LMNCERi = "ListManagedNotificationChildEventsResponse";
325
+ const _LMNCR = "ListManagedNotificationConfigurationsRequest";
326
+ const _LMNCRi = "ListManagedNotificationConfigurationsResponse";
327
+ const _LMNE = "ListManagedNotificationEvents";
328
+ const _LMNER = "ListManagedNotificationEventsRequest";
329
+ const _LMNERi = "ListManagedNotificationEventsResponse";
330
+ const _LNC = "ListNotificationConfigurations";
331
+ const _LNCR = "ListNotificationConfigurationsRequest";
332
+ const _LNCRi = "ListNotificationConfigurationsResponse";
333
+ const _LNE = "ListNotificationEvents";
334
+ const _LNER = "ListNotificationEventsRequest";
335
+ const _LNERi = "ListNotificationEventsResponse";
336
+ const _LNH = "ListNotificationHubs";
337
+ const _LNHR = "ListNotificationHubsRequest";
338
+ const _LNHRi = "ListNotificationHubsResponse";
339
+ const _LOU = "ListOrganizationalUnits";
340
+ const _LOUR = "ListOrganizationalUnitsRequest";
341
+ const _LOURi = "ListOrganizationalUnitsResponse";
342
+ const _LTFR = "ListTagsForResource";
343
+ const _LTFRR = "ListTagsForResourceRequest";
344
+ const _LTFRRi = "ListTagsForResourceResponse";
345
+ const _M = "Media";
346
+ const _MA = "MemberAccount";
347
+ const _MAe = "MemberAccounts";
348
+ const _MC = "MessageComponents";
349
+ const _MCS = "MessageComponentsSummary";
350
+ const _ME = "MediaElement";
351
+ const _MNC = "ManagedNotificationConfigurations";
352
+ const _MNCA = "ManagedNotificationChannelAssociations";
353
+ const _MNCAS = "ManagedNotificationChannelAssociationSummary";
354
+ const _MNCE = "ManagedNotificationChildEvent";
355
+ const _MNCEO = "ManagedNotificationChildEventOverview";
356
+ const _MNCES = "ManagedNotificationChildEventSummary";
357
+ const _MNCEa = "ManagedNotificationChildEvents";
358
+ const _MNCS = "ManagedNotificationConfigurationStructure";
359
+ const _MNE = "ManagedNotificationEvent";
360
+ const _MNEO = "ManagedNotificationEventOverview";
361
+ const _MNES = "ManagedNotificationEventSummary";
362
+ const _MNEa = "ManagedNotificationEvents";
363
+ const _MSEMS = "ManagedSourceEventMetadataSummary";
364
+ const _NAFO = "NotificationsAccessForOrganization";
365
+ const _NC = "NotificationConfigurations";
366
+ const _NCS = "NotificationConfigurationStructure";
367
+ const _NE = "NotificationEvents";
368
+ const _NEO = "NotificationEventOverview";
369
+ const _NES = "NotificationEventSchema";
370
+ const _NESo = "NotificationEventSummary";
371
+ const _NH = "NotificationHubs";
372
+ const _NHO = "NotificationHubOverview";
373
+ const _NHSS = "NotificationHubStatusSummary";
374
+ const _R = "Resource";
375
+ const _RA = "Retry-After";
376
+ const _RNFE = "ResourceNotFoundException";
377
+ const _RNH = "RegisterNotificationHub";
378
+ const _RNHR = "RegisterNotificationHubRequest";
379
+ const _RNHRe = "RegisterNotificationHubResponse";
380
+ const _Re = "Resources";
381
+ const _SDD = "SummarizationDimensionDetail";
382
+ const _SDDu = "SummarizationDimensionDetails";
383
+ const _SDO = "SummarizationDimensionOverview";
384
+ const _SDOu = "SummarizationDimensionOverviews";
385
+ const _SEM = "SourceEventMetadata";
386
+ const _SEMS = "SourceEventMetadataSummary";
387
+ const _SQEE = "ServiceQuotaExceededException";
388
+ const _SSBR = "StatusSummaryByRegion";
389
+ const _TE = "ThrottlingException";
390
+ const _TP = "TextParts";
391
+ const _TPV = "TextPartValue";
392
+ const _TR = "TagResource";
393
+ const _TRR = "TagResourceRequest";
394
+ const _TRRa = "TagResourceResponse";
395
+ const _UER = "UpdateEventRule";
396
+ const _UERR = "UpdateEventRuleRequest";
397
+ const _UERRp = "UpdateEventRuleResponse";
398
+ const _UNC = "UpdateNotificationConfiguration";
399
+ const _UNCR = "UpdateNotificationConfigurationRequest";
400
+ const _UNCRp = "UpdateNotificationConfigurationResponse";
401
+ const _UR = "UntagResource";
402
+ const _URR = "UntagResourceRequest";
403
+ const _URRn = "UntagResourceResponse";
404
+ const _VE = "ValidationException";
405
+ const _VEF = "ValidationExceptionField";
406
+ const _VEFL = "ValidationExceptionFieldList";
407
+ const _a = "arn";
408
+ const _aA = "aggregatedAccounts";
409
+ const _aB = "aggregatedBy";
410
+ const _aD = "aggregationDuration";
411
+ const _aDg = "aggregationDetail";
412
+ const _aET = "aggregationEventType";
413
+ const _aI = "accountId";
414
+ const _aMNEA = "aggregateManagedNotificationEventArn";
415
+ const _aNEA = "aggregateNotificationEventArn";
416
+ const _aNR = "aggregatedNotificationRegions";
417
+ const _aOU = "aggregatedOrganizationalUnits";
418
+ const _aR = "aggregatedRegions";
419
+ const _aS = "aggregationSummary";
420
+ const _aSD = "additionalSummarizationDimensions";
421
+ const _aSc = "accessStatus";
422
+ const _c = "client";
423
+ const _cA = "channelArn";
424
+ const _cAh = "channelAssociations";
425
+ const _cD = "completeDescription";
426
+ const _cE = "childEvent";
427
+ const _cI = "contactIdentifier";
428
+ const _cIh = "channelIdentifier";
429
+ const _cT = "creationTime";
430
+ const _cTh = "channelType";
431
+ const _ca = "category";
432
+ const _cap = "caption";
433
+ const _ch = "channels";
434
+ const _co = "content";
435
+ const _cou = "count";
436
+ const _d = "description";
437
+ const _dT = "displayText";
438
+ const _dU = "detailUrl";
439
+ const _di = "dimensions";
440
+ const _e = "error";
441
+ const _eC = "eventCount";
442
+ const _eOR = "eventOriginRegion";
443
+ const _eOT = "eventOccurrenceTime";
444
+ const _eP = "eventPattern";
445
+ const _eR = "eventRules";
446
+ const _eRS = "eventRuleSource";
447
+ const _eS = "eventStatus";
448
+ const _eT = "eventType";
449
+ const _eTV = "eventTypeVersion";
450
+ const _eTn = "endTime";
451
+ const _fL = "fieldList";
452
+ const _h = "headline";
453
+ const _hE = "httpError";
454
+ const _hH = "httpHeader";
455
+ const _hQ = "httpQuery";
456
+ const _ht = "http";
457
+ const _i = "id";
458
+ const _iCE = "includeChildEvents";
459
+ const _l = "locale";
460
+ const _lAT = "lastActivationTime";
461
+ const _m = "message";
462
+ const _mA = "memberAccount";
463
+ const _mAe = "memberAccounts";
464
+ const _mC = "messageComponents";
465
+ const _mI = "mediaId";
466
+ const _mNC = "managedNotificationConfigurations";
467
+ const _mNCA = "managedNotificationConfigurationArn";
468
+ const _mNCE = "managedNotificationChildEvents";
469
+ const _mNE = "managedNotificationEvents";
470
+ const _mR = "managedRules";
471
+ const _mRa = "maxResults";
472
+ const _me = "media";
473
+ const _n = "name";
474
+ const _nAFO = "notificationsAccessForOrganization";
475
+ const _nC = "notificationConfigurations";
476
+ const _nCA = "notificationConfigurationArn";
477
+ const _nE = "notificationEvents";
478
+ const _nEo = "notificationEvent";
479
+ const _nH = "notificationHubs";
480
+ const _nHR = "notificationHubRegion";
481
+ const _nT = "nextToken";
482
+ const _nTo = "notificationType";
483
+ const _oO = "overrideOption";
484
+ const _oU = "organizationalUnits";
485
+ const _oUI = "organizationalUnitId";
486
+ const _pS = "paragraphSummary";
487
+ const _qC = "quotaCode";
488
+ const _r = "reason";
489
+ const _rA = "relatedAccount";
490
+ const _rAS = "retryAfterSeconds";
491
+ const _rI = "resourceId";
492
+ const _rR = "relatedResources";
493
+ const _rT = "resourceType";
494
+ const _re = "regions";
495
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.notifications";
496
+ const _sC = "serviceCode";
497
+ const _sCu = "subCategory";
498
+ const _sD = "summarizationDimensions";
499
+ const _sEDU = "sourceEventDetailUrl";
500
+ const _sEDUDT = "sourceEventDetailUrlDisplayText";
501
+ const _sEI = "sourceEventId";
502
+ const _sEM = "sourceEventMetadata";
503
+ const _sR = "statusReason";
504
+ const _sS = "statusSummary";
505
+ const _sSBR = "statusSummaryByRegion";
506
+ const _sT = "startTime";
507
+ const _sV = "schemaVersion";
508
+ const _sVa = "sampleValues";
509
+ const _se = "server";
510
+ const _so = "source";
511
+ const _st = "status";
512
+ const _su = "subtype";
513
+ const _t = "tags";
514
+ const _tBL = "textByLocale";
515
+ const _tK = "tagKeys";
516
+ const _tP = "textParts";
517
+ const _ty = "type";
518
+ const _u = "url";
519
+ const _v = "value";
520
+ const n0 = "com.amazonaws.notifications";
521
+ const _s_registry = TypeRegistry.for(_s);
522
+ var NotificationsServiceException$ = [-3, _s, "NotificationsServiceException", 0, [], []];
523
+ _s_registry.registerError(NotificationsServiceException$, NotificationsServiceException);
524
+ const n0_registry = TypeRegistry.for(n0);
525
+ var AccessDeniedException$ = [-3, n0, _ADE,
526
+ { [_e]: _c, [_hE]: 403 },
527
+ [_m],
528
+ [0], 1
529
+ ];
530
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
531
+ var ConflictException$ = [-3, n0, _CE,
532
+ { [_e]: _c, [_hE]: 409 },
533
+ [_m, _rI],
534
+ [0, 0], 2
535
+ ];
536
+ n0_registry.registerError(ConflictException$, ConflictException);
537
+ var InternalServerException$ = [-3, n0, _ISE,
538
+ { [_e]: _se, [_hE]: 500 },
539
+ [_m],
540
+ [0], 1
541
+ ];
542
+ n0_registry.registerError(InternalServerException$, InternalServerException);
543
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
544
+ { [_e]: _c, [_hE]: 404 },
545
+ [_m, _rI],
546
+ [0, 0], 2
547
+ ];
548
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
549
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
550
+ { [_e]: _c, [_hE]: 402 },
551
+ [_m, _rT, _rI, _sC, _qC],
552
+ [0, 0, 0, 0, 0], 2
553
+ ];
554
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
555
+ var ThrottlingException$ = [-3, n0, _TE,
556
+ { [_e]: _c, [_hE]: 429 },
557
+ [_m, _sC, _qC, _rAS],
558
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
559
+ ];
560
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
561
+ var ValidationException$ = [-3, n0, _VE,
562
+ { [_e]: _c, [_hE]: 400 },
563
+ [_m, _r, _fL],
564
+ [0, 0, () => ValidationExceptionFieldList], 1
565
+ ];
566
+ n0_registry.registerError(ValidationException$, ValidationException);
567
+ const errorTypeRegistries = [
568
+ _s_registry,
569
+ n0_registry,
570
+ ];
571
+ var AggregationDetail$ = [3, n0, _AD,
572
+ 0,
573
+ [_sD],
574
+ [() => SummarizationDimensionDetails]
575
+ ];
576
+ var AggregationKey$ = [3, n0, _AK,
577
+ 0,
578
+ [_n, _v],
579
+ [0, 0], 2
580
+ ];
581
+ var AggregationSummary$ = [3, n0, _AS,
582
+ 0,
583
+ [_eC, _aB, _aA, _aR, _aOU, _aSD],
584
+ [1, () => AggregationKeys, () => SummarizationDimensionOverview$, () => SummarizationDimensionOverview$, () => SummarizationDimensionOverview$, () => SummarizationDimensionOverviews], 4
585
+ ];
586
+ var AssociateChannelRequest$ = [3, n0, _ACR,
587
+ 0,
588
+ [_a, _nCA],
589
+ [[0, 1], 0], 2
590
+ ];
591
+ var AssociateChannelResponse$ = [3, n0, _ACRs,
592
+ 0,
593
+ [],
594
+ []
595
+ ];
596
+ var AssociateManagedNotificationAccountContactRequest$ = [3, n0, _AMNACR,
597
+ 0,
598
+ [_cI, _mNCA],
599
+ [[0, 1], 0], 2
600
+ ];
601
+ var AssociateManagedNotificationAccountContactResponse$ = [3, n0, _AMNACRs,
602
+ 0,
603
+ [],
604
+ []
605
+ ];
606
+ var AssociateManagedNotificationAdditionalChannelRequest$ = [3, n0, _AMNACRss,
607
+ 0,
608
+ [_cA, _mNCA],
609
+ [[0, 1], 0], 2
610
+ ];
611
+ var AssociateManagedNotificationAdditionalChannelResponse$ = [3, n0, _AMNACRsso,
612
+ 0,
613
+ [],
614
+ []
615
+ ];
616
+ var AssociateOrganizationalUnitRequest$ = [3, n0, _AOUR,
617
+ 0,
618
+ [_oUI, _nCA],
619
+ [[0, 1], 0], 2
620
+ ];
621
+ var AssociateOrganizationalUnitResponse$ = [3, n0, _AOURs,
622
+ 0,
623
+ [],
624
+ []
625
+ ];
626
+ var CreateEventRuleRequest$ = [3, n0, _CERR,
627
+ 0,
628
+ [_nCA, _so, _eT, _re, _eP],
629
+ [0, 0, 0, 64 | 0, 0], 4
630
+ ];
631
+ var CreateEventRuleResponse$ = [3, n0, _CERRr,
632
+ 0,
633
+ [_a, _nCA, _sSBR],
634
+ [0, 0, () => StatusSummaryByRegion], 3
635
+ ];
636
+ var CreateNotificationConfigurationRequest$ = [3, n0, _CNCR,
637
+ 0,
638
+ [_n, _d, _aD, _t],
639
+ [0, 0, 0, 128 | 0], 2
640
+ ];
641
+ var CreateNotificationConfigurationResponse$ = [3, n0, _CNCRr,
642
+ 0,
643
+ [_a, _st],
644
+ [0, 0], 2
645
+ ];
646
+ var DeleteEventRuleRequest$ = [3, n0, _DERR,
647
+ 0,
648
+ [_a],
649
+ [[0, 1]], 1
650
+ ];
651
+ var DeleteEventRuleResponse$ = [3, n0, _DERRe,
652
+ 0,
653
+ [],
654
+ []
655
+ ];
656
+ var DeleteNotificationConfigurationRequest$ = [3, n0, _DNCR,
657
+ 0,
658
+ [_a],
659
+ [[0, 1]], 1
660
+ ];
661
+ var DeleteNotificationConfigurationResponse$ = [3, n0, _DNCRe,
662
+ 0,
663
+ [],
664
+ []
665
+ ];
666
+ var DeregisterNotificationHubRequest$ = [3, n0, _DNHR,
667
+ 0,
668
+ [_nHR],
669
+ [[0, 1]], 1
670
+ ];
671
+ var DeregisterNotificationHubResponse$ = [3, n0, _DNHRe,
672
+ 0,
673
+ [_nHR, _sS],
674
+ [0, () => NotificationHubStatusSummary$], 2
675
+ ];
676
+ var Dimension$ = [3, n0, _D,
677
+ 0,
678
+ [_n, _v],
679
+ [0, 0], 2
680
+ ];
681
+ var DisableNotificationsAccessForOrganizationRequest$ = [3, n0, _DNAFOR,
682
+ 0,
683
+ [],
684
+ []
685
+ ];
686
+ var DisableNotificationsAccessForOrganizationResponse$ = [3, n0, _DNAFORi,
687
+ 0,
688
+ [],
689
+ []
690
+ ];
691
+ var DisassociateChannelRequest$ = [3, n0, _DCR,
692
+ 0,
693
+ [_a, _nCA],
694
+ [[0, 1], 0], 2
695
+ ];
696
+ var DisassociateChannelResponse$ = [3, n0, _DCRi,
697
+ 0,
698
+ [],
699
+ []
700
+ ];
701
+ var DisassociateManagedNotificationAccountContactRequest$ = [3, n0, _DMNACR,
702
+ 0,
703
+ [_cI, _mNCA],
704
+ [[0, 1], 0], 2
705
+ ];
706
+ var DisassociateManagedNotificationAccountContactResponse$ = [3, n0, _DMNACRi,
707
+ 0,
708
+ [],
709
+ []
710
+ ];
711
+ var DisassociateManagedNotificationAdditionalChannelRequest$ = [3, n0, _DMNACRis,
712
+ 0,
713
+ [_cA, _mNCA],
714
+ [[0, 1], 0], 2
715
+ ];
716
+ var DisassociateManagedNotificationAdditionalChannelResponse$ = [3, n0, _DMNACRisa,
717
+ 0,
718
+ [],
719
+ []
720
+ ];
721
+ var DisassociateOrganizationalUnitRequest$ = [3, n0, _DOUR,
722
+ 0,
723
+ [_oUI, _nCA],
724
+ [[0, 1], 0], 2
725
+ ];
726
+ var DisassociateOrganizationalUnitResponse$ = [3, n0, _DOURi,
727
+ 0,
728
+ [],
729
+ []
730
+ ];
731
+ var EnableNotificationsAccessForOrganizationRequest$ = [3, n0, _ENAFOR,
732
+ 0,
733
+ [],
734
+ []
735
+ ];
736
+ var EnableNotificationsAccessForOrganizationResponse$ = [3, n0, _ENAFORn,
737
+ 0,
738
+ [],
739
+ []
740
+ ];
741
+ var EventRuleStatusSummary$ = [3, n0, _ERSS,
742
+ 0,
743
+ [_st, _r],
744
+ [0, 0], 2
745
+ ];
746
+ var EventRuleStructure$ = [3, n0, _ERS,
747
+ 0,
748
+ [_a, _nCA, _cT, _so, _eT, _eP, _re, _mR, _sSBR],
749
+ [0, 0, 5, 0, 0, 0, 64 | 0, 64 | 0, () => StatusSummaryByRegion], 9
750
+ ];
751
+ var GetEventRuleRequest$ = [3, n0, _GERR,
752
+ 0,
753
+ [_a],
754
+ [[0, 1]], 1
755
+ ];
756
+ var GetEventRuleResponse$ = [3, n0, _GERRe,
757
+ 0,
758
+ [_a, _nCA, _cT, _so, _eT, _eP, _re, _mR, _sSBR],
759
+ [0, 0, 5, 0, 0, 0, 64 | 0, 64 | 0, () => StatusSummaryByRegion], 9
760
+ ];
761
+ var GetManagedNotificationChildEventRequest$ = [3, n0, _GMNCER,
762
+ 0,
763
+ [_a, _l],
764
+ [[0, 1], [0, { [_hQ]: _l }]], 1
765
+ ];
766
+ var GetManagedNotificationChildEventResponse$ = [3, n0, _GMNCERe,
767
+ 0,
768
+ [_a, _mNCA, _cT, _co],
769
+ [0, 0, 5, () => ManagedNotificationChildEvent$], 4
770
+ ];
771
+ var GetManagedNotificationConfigurationRequest$ = [3, n0, _GMNCR,
772
+ 0,
773
+ [_a],
774
+ [[0, 1]], 1
775
+ ];
776
+ var GetManagedNotificationConfigurationResponse$ = [3, n0, _GMNCRe,
777
+ 0,
778
+ [_a, _n, _d, _ca, _sCu],
779
+ [0, 0, 0, 0, 0], 5
780
+ ];
781
+ var GetManagedNotificationEventRequest$ = [3, n0, _GMNER,
782
+ 0,
783
+ [_a, _l],
784
+ [[0, 1], [0, { [_hQ]: _l }]], 1
785
+ ];
786
+ var GetManagedNotificationEventResponse$ = [3, n0, _GMNERe,
787
+ 0,
788
+ [_a, _mNCA, _cT, _co],
789
+ [0, 0, 5, () => ManagedNotificationEvent$], 4
790
+ ];
791
+ var GetNotificationConfigurationRequest$ = [3, n0, _GNCR,
792
+ 0,
793
+ [_a],
794
+ [[0, 1]], 1
795
+ ];
796
+ var GetNotificationConfigurationResponse$ = [3, n0, _GNCRe,
797
+ 0,
798
+ [_a, _n, _d, _st, _cT, _aD, _su],
799
+ [0, 0, 0, 0, 5, 0, 0], 5
800
+ ];
801
+ var GetNotificationEventRequest$ = [3, n0, _GNER,
802
+ 0,
803
+ [_a, _l],
804
+ [[0, 1], [0, { [_hQ]: _l }]], 1
805
+ ];
806
+ var GetNotificationEventResponse$ = [3, n0, _GNERe,
807
+ 0,
808
+ [_a, _nCA, _cT, _co],
809
+ [0, 0, 5, () => NotificationEventSchema$], 4
810
+ ];
811
+ var GetNotificationsAccessForOrganizationRequest$ = [3, n0, _GNAFOR,
812
+ 0,
813
+ [],
814
+ []
815
+ ];
816
+ var GetNotificationsAccessForOrganizationResponse$ = [3, n0, _GNAFORe,
817
+ 0,
818
+ [_nAFO],
819
+ [() => NotificationsAccessForOrganization$], 1
820
+ ];
821
+ var ListChannelsRequest$ = [3, n0, _LCR,
822
+ 0,
823
+ [_nCA, _mRa, _nT],
824
+ [[0, { [_hQ]: _nCA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 1
825
+ ];
826
+ var ListChannelsResponse$ = [3, n0, _LCRi,
827
+ 0,
828
+ [_ch, _nT],
829
+ [64 | 0, 0], 1
830
+ ];
831
+ var ListEventRulesRequest$ = [3, n0, _LERR,
832
+ 0,
833
+ [_nCA, _mRa, _nT],
834
+ [[0, { [_hQ]: _nCA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 1
835
+ ];
836
+ var ListEventRulesResponse$ = [3, n0, _LERRi,
837
+ 0,
838
+ [_eR, _nT],
839
+ [() => EventRules, 0], 1
840
+ ];
841
+ var ListManagedNotificationChannelAssociationsRequest$ = [3, n0, _LMNCAR,
842
+ 0,
843
+ [_mNCA, _mRa, _nT],
844
+ [[0, { [_hQ]: _mNCA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 1
845
+ ];
846
+ var ListManagedNotificationChannelAssociationsResponse$ = [3, n0, _LMNCARi,
847
+ 0,
848
+ [_cAh, _nT],
849
+ [() => ManagedNotificationChannelAssociations, 0], 1
850
+ ];
851
+ var ListManagedNotificationChildEventsRequest$ = [3, n0, _LMNCER,
852
+ 0,
853
+ [_aMNEA, _sT, _eTn, _l, _mRa, _rA, _oUI, _nT],
854
+ [[0, 1], [5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _rA }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _nT }]], 1
855
+ ];
856
+ var ListManagedNotificationChildEventsResponse$ = [3, n0, _LMNCERi,
857
+ 0,
858
+ [_mNCE, _nT],
859
+ [() => ManagedNotificationChildEvents, 0], 1
860
+ ];
861
+ var ListManagedNotificationConfigurationsRequest$ = [3, n0, _LMNCR,
862
+ 0,
863
+ [_cIh, _mRa, _nT],
864
+ [[0, { [_hQ]: _cIh }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]]
865
+ ];
866
+ var ListManagedNotificationConfigurationsResponse$ = [3, n0, _LMNCRi,
867
+ 0,
868
+ [_mNC, _nT],
869
+ [() => ManagedNotificationConfigurations, 0], 1
870
+ ];
871
+ var ListManagedNotificationEventsRequest$ = [3, n0, _LMNER,
872
+ 0,
873
+ [_sT, _eTn, _l, _so, _mRa, _nT, _oUI, _rA],
874
+ [[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _rA }]]
875
+ ];
876
+ var ListManagedNotificationEventsResponse$ = [3, n0, _LMNERi,
877
+ 0,
878
+ [_mNE, _nT],
879
+ [() => ManagedNotificationEvents, 0], 1
880
+ ];
881
+ var ListMemberAccountsRequest$ = [3, n0, _LMAR,
882
+ 0,
883
+ [_nCA, _mRa, _nT, _mA, _st, _oUI],
884
+ [[0, { [_hQ]: _nCA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _mA }], [0, { [_hQ]: _st }], [0, { [_hQ]: _oUI }]], 1
885
+ ];
886
+ var ListMemberAccountsResponse$ = [3, n0, _LMARi,
887
+ 0,
888
+ [_mAe, _nT],
889
+ [() => MemberAccounts, 0], 1
890
+ ];
891
+ var ListNotificationConfigurationsRequest$ = [3, n0, _LNCR,
892
+ 0,
893
+ [_eRS, _cA, _st, _su, _mRa, _nT],
894
+ [[0, { [_hQ]: _eRS }], [0, { [_hQ]: _cA }], [0, { [_hQ]: _st }], [0, { [_hQ]: _su }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]]
895
+ ];
896
+ var ListNotificationConfigurationsResponse$ = [3, n0, _LNCRi,
897
+ 0,
898
+ [_nC, _nT],
899
+ [() => NotificationConfigurations, 0], 1
900
+ ];
901
+ var ListNotificationEventsRequest$ = [3, n0, _LNER,
902
+ 0,
903
+ [_sT, _eTn, _l, _so, _iCE, _aNEA, _mRa, _nT, _oUI],
904
+ [[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [2, { [_hQ]: _iCE }], [0, { [_hQ]: _aNEA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }]]
905
+ ];
906
+ var ListNotificationEventsResponse$ = [3, n0, _LNERi,
907
+ 0,
908
+ [_nE, _nT],
909
+ [() => NotificationEvents, 0], 1
910
+ ];
911
+ var ListNotificationHubsRequest$ = [3, n0, _LNHR,
912
+ 0,
913
+ [_mRa, _nT],
914
+ [[1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]]
915
+ ];
916
+ var ListNotificationHubsResponse$ = [3, n0, _LNHRi,
917
+ 0,
918
+ [_nH, _nT],
919
+ [() => NotificationHubs, 0], 1
920
+ ];
921
+ var ListOrganizationalUnitsRequest$ = [3, n0, _LOUR,
922
+ 0,
923
+ [_nCA, _mRa, _nT],
924
+ [[0, { [_hQ]: _nCA }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 1
925
+ ];
926
+ var ListOrganizationalUnitsResponse$ = [3, n0, _LOURi,
927
+ 0,
928
+ [_oU, _nT],
929
+ [64 | 0, 0], 1
930
+ ];
931
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
932
+ 0,
933
+ [_a],
934
+ [[0, 1]], 1
935
+ ];
936
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
937
+ 0,
938
+ [_t],
939
+ [128 | 0]
940
+ ];
941
+ var ManagedNotificationChannelAssociationSummary$ = [3, n0, _MNCAS,
942
+ 0,
943
+ [_cIh, _cTh, _oO],
944
+ [0, 0, 0], 2
945
+ ];
946
+ var ManagedNotificationChildEvent$ = [3, n0, _MNCE,
947
+ 0,
948
+ [_sV, _i, _mC, _nTo, _aMNEA, _tP, _sEDU, _sEDUDT, _eS, _sT, _eTn, _oUI, _aDg],
949
+ [0, 0, () => MessageComponents$, 0, 0, () => TextParts, 0, 0, 0, 5, 5, 0, () => AggregationDetail$], 6
950
+ ];
951
+ var ManagedNotificationChildEventOverview$ = [3, n0, _MNCEO,
952
+ 0,
953
+ [_a, _mNCA, _rA, _cT, _cE, _aMNEA, _oUI],
954
+ [0, 0, 0, 5, () => ManagedNotificationChildEventSummary$, 0, 0], 6
955
+ ];
956
+ var ManagedNotificationChildEventSummary$ = [3, n0, _MNCES,
957
+ 0,
958
+ [_sV, _sEM, _mC, _aDg, _eS, _nTo],
959
+ [0, () => ManagedSourceEventMetadataSummary$, () => MessageComponentsSummary$, () => AggregationDetail$, 0, 0], 6
960
+ ];
961
+ var ManagedNotificationConfigurationStructure$ = [3, n0, _MNCS,
962
+ 0,
963
+ [_a, _n, _d],
964
+ [0, 0, 0], 3
965
+ ];
966
+ var ManagedNotificationEvent$ = [3, n0, _MNE,
967
+ 0,
968
+ [_sV, _i, _mC, _nTo, _tP, _sEDU, _sEDUDT, _eS, _aET, _aS, _sT, _eTn, _oUI],
969
+ [0, 0, () => MessageComponents$, 0, () => TextParts, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0], 5
970
+ ];
971
+ var ManagedNotificationEventOverview$ = [3, n0, _MNEO,
972
+ 0,
973
+ [_a, _mNCA, _rA, _cT, _nEo, _aET, _oUI, _aS, _aNR],
974
+ [0, 0, 0, 5, () => ManagedNotificationEventSummary$, 0, 0, () => AggregationSummary$, 64 | 0], 5
975
+ ];
976
+ var ManagedNotificationEventSummary$ = [3, n0, _MNES,
977
+ 0,
978
+ [_sV, _sEM, _mC, _eS, _nTo],
979
+ [0, () => ManagedSourceEventMetadataSummary$, () => MessageComponentsSummary$, 0, 0], 5
980
+ ];
981
+ var ManagedSourceEventMetadataSummary$ = [3, n0, _MSEMS,
982
+ 0,
983
+ [_so, _eT, _eOR],
984
+ [0, 0, 0], 2
985
+ ];
986
+ var MediaElement$ = [3, n0, _ME,
987
+ 0,
988
+ [_mI, _ty, _u, _cap],
989
+ [0, 0, 0, 0], 4
990
+ ];
991
+ var MemberAccount$ = [3, n0, _MA,
992
+ 0,
993
+ [_aI, _st, _sR, _oUI, _nCA],
994
+ [0, 0, 0, 0, 0], 4
995
+ ];
996
+ var MessageComponents$ = [3, n0, _MC,
997
+ 0,
998
+ [_h, _pS, _cD, _di],
999
+ [0, 0, 0, () => Dimensions]
1000
+ ];
1001
+ var MessageComponentsSummary$ = [3, n0, _MCS,
1002
+ 0,
1003
+ [_h],
1004
+ [0], 1
1005
+ ];
1006
+ var NotificationConfigurationStructure$ = [3, n0, _NCS,
1007
+ 0,
1008
+ [_a, _n, _d, _st, _cT, _aD, _su],
1009
+ [0, 0, 0, 0, 5, 0, 0], 5
1010
+ ];
1011
+ var NotificationEventOverview$ = [3, n0, _NEO,
1012
+ 0,
1013
+ [_a, _nCA, _rA, _cT, _nEo, _aET, _aNEA, _aS, _oUI],
1014
+ [0, 0, 0, 5, () => NotificationEventSummary$, 0, 0, () => AggregationSummary$, 0], 5
1015
+ ];
1016
+ var NotificationEventSchema$ = [3, n0, _NES,
1017
+ 0,
1018
+ [_sV, _i, _sEM, _mC, _nTo, _tP, _me, _sEDU, _sEDUDT, _eS, _aET, _aNEA, _aS, _sT, _eTn, _oUI],
1019
+ [0, 0, () => SourceEventMetadata$, () => MessageComponents$, 0, () => TextParts, () => Media, 0, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0], 7
1020
+ ];
1021
+ var NotificationEventSummary$ = [3, n0, _NESo,
1022
+ 0,
1023
+ [_sV, _sEM, _mC, _eS, _nTo],
1024
+ [0, () => SourceEventMetadataSummary$, () => MessageComponentsSummary$, 0, 0], 5
1025
+ ];
1026
+ var NotificationHubOverview$ = [3, n0, _NHO,
1027
+ 0,
1028
+ [_nHR, _sS, _cT, _lAT],
1029
+ [0, () => NotificationHubStatusSummary$, 5, 5], 3
1030
+ ];
1031
+ var NotificationHubStatusSummary$ = [3, n0, _NHSS,
1032
+ 0,
1033
+ [_st, _r],
1034
+ [0, 0], 2
1035
+ ];
1036
+ var NotificationsAccessForOrganization$ = [3, n0, _NAFO,
1037
+ 0,
1038
+ [_aSc],
1039
+ [0], 1
1040
+ ];
1041
+ var RegisterNotificationHubRequest$ = [3, n0, _RNHR,
1042
+ 0,
1043
+ [_nHR],
1044
+ [0], 1
1045
+ ];
1046
+ var RegisterNotificationHubResponse$ = [3, n0, _RNHRe,
1047
+ 0,
1048
+ [_nHR, _sS, _cT, _lAT],
1049
+ [0, () => NotificationHubStatusSummary$, 5, 5], 3
1050
+ ];
1051
+ var Resource$ = [3, n0, _R,
1052
+ 0,
1053
+ [_i, _a, _dU, _t],
1054
+ [0, 0, 0, 64 | 0]
1055
+ ];
1056
+ var SourceEventMetadata$ = [3, n0, _SEM,
1057
+ 0,
1058
+ [_eTV, _sEI, _rA, _so, _eOT, _eT, _rR, _eOR],
1059
+ [0, 0, 0, 0, 5, 0, () => Resources, 0], 7
1060
+ ];
1061
+ var SourceEventMetadataSummary$ = [3, n0, _SEMS,
1062
+ 0,
1063
+ [_so, _eT, _eOR],
1064
+ [0, 0, 0], 2
1065
+ ];
1066
+ var SummarizationDimensionDetail$ = [3, n0, _SDD,
1067
+ 0,
1068
+ [_n, _v],
1069
+ [0, 0], 2
1070
+ ];
1071
+ var SummarizationDimensionOverview$ = [3, n0, _SDO,
1072
+ 0,
1073
+ [_n, _cou, _sVa],
1074
+ [0, 1, 64 | 0], 2
1075
+ ];
1076
+ var TagResourceRequest$ = [3, n0, _TRR,
1077
+ 0,
1078
+ [_a, _t],
1079
+ [[0, 1], 128 | 0], 2
1080
+ ];
1081
+ var TagResourceResponse$ = [3, n0, _TRRa,
1082
+ 0,
1083
+ [],
1084
+ []
1085
+ ];
1086
+ var TextPartValue$ = [3, n0, _TPV,
1087
+ 0,
1088
+ [_ty, _dT, _tBL, _u],
1089
+ [0, 0, 128 | 0, 0], 1
1090
+ ];
1091
+ var UntagResourceRequest$ = [3, n0, _URR,
1092
+ 0,
1093
+ [_a, _tK],
1094
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1095
+ ];
1096
+ var UntagResourceResponse$ = [3, n0, _URRn,
1097
+ 0,
1098
+ [],
1099
+ []
1100
+ ];
1101
+ var UpdateEventRuleRequest$ = [3, n0, _UERR,
1102
+ 0,
1103
+ [_a, _eP, _re],
1104
+ [[0, 1], 0, 64 | 0], 1
1105
+ ];
1106
+ var UpdateEventRuleResponse$ = [3, n0, _UERRp,
1107
+ 0,
1108
+ [_a, _nCA, _sSBR],
1109
+ [0, 0, () => StatusSummaryByRegion], 3
1110
+ ];
1111
+ var UpdateNotificationConfigurationRequest$ = [3, n0, _UNCR,
1112
+ 0,
1113
+ [_a, _n, _d, _aD],
1114
+ [[0, 1], 0, 0, 0], 1
1115
+ ];
1116
+ var UpdateNotificationConfigurationResponse$ = [3, n0, _UNCRp,
1117
+ 0,
1118
+ [_a],
1119
+ [0], 1
1120
+ ];
1121
+ var ValidationExceptionField$ = [3, n0, _VEF,
1122
+ 0,
1123
+ [_n, _m],
1124
+ [0, 0], 2
1125
+ ];
1126
+ var AggregationKeys = [1, n0, _AKg,
1127
+ 0, () => AggregationKey$
1128
+ ];
1129
+ var Dimensions = [1, n0, _Di,
1130
+ 0, () => Dimension$
1131
+ ];
1132
+ var EventRules = [1, n0, _ER,
1133
+ 0, () => EventRuleStructure$
1134
+ ];
1135
+ var ManagedNotificationChannelAssociations = [1, n0, _MNCA,
1136
+ 0, () => ManagedNotificationChannelAssociationSummary$
1137
+ ];
1138
+ var ManagedNotificationChildEvents = [1, n0, _MNCEa,
1139
+ 0, () => ManagedNotificationChildEventOverview$
1140
+ ];
1141
+ var ManagedNotificationConfigurations = [1, n0, _MNC,
1142
+ 0, () => ManagedNotificationConfigurationStructure$
1143
+ ];
1144
+ var ManagedNotificationEvents = [1, n0, _MNEa,
1145
+ 0, () => ManagedNotificationEventOverview$
1146
+ ];
1147
+ var Media = [1, n0, _M,
1148
+ 0, () => MediaElement$
1149
+ ];
1150
+ var MemberAccounts = [1, n0, _MAe,
1151
+ 0, () => MemberAccount$
1152
+ ];
1153
+ var NotificationConfigurations = [1, n0, _NC,
1154
+ 0, () => NotificationConfigurationStructure$
1155
+ ];
1156
+ var NotificationEvents = [1, n0, _NE,
1157
+ 0, () => NotificationEventOverview$
1158
+ ];
1159
+ var NotificationHubs = [1, n0, _NH,
1160
+ 0, () => NotificationHubOverview$
1161
+ ];
1162
+ var Resources = [1, n0, _Re,
1163
+ 0, () => Resource$
1164
+ ];
1165
+ var SummarizationDimensionDetails = [1, n0, _SDDu,
1166
+ 0, () => SummarizationDimensionDetail$
1167
+ ];
1168
+ var SummarizationDimensionOverviews = [1, n0, _SDOu,
1169
+ 0, () => SummarizationDimensionOverview$
1170
+ ];
1171
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
1172
+ 0, () => ValidationExceptionField$
1173
+ ];
1174
+ var StatusSummaryByRegion = [2, n0, _SSBR,
1175
+ 0, 0, () => EventRuleStatusSummary$
1176
+ ];
1177
+ var TextParts = [2, n0, _TP,
1178
+ 0, 0, () => TextPartValue$
1179
+ ];
1180
+ var AssociateChannel$ = [9, n0, _AC,
1181
+ { [_ht]: ["POST", "/channels/associate/{arn}", 201] }, () => AssociateChannelRequest$, () => AssociateChannelResponse$
1182
+ ];
1183
+ var AssociateManagedNotificationAccountContact$ = [9, n0, _AMNAC,
1184
+ { [_ht]: ["PUT", "/contacts/associate-managed-notification/{contactIdentifier}", 201] }, () => AssociateManagedNotificationAccountContactRequest$, () => AssociateManagedNotificationAccountContactResponse$
1185
+ ];
1186
+ var AssociateManagedNotificationAdditionalChannel$ = [9, n0, _AMNACs,
1187
+ { [_ht]: ["PUT", "/channels/associate-managed-notification/{channelArn}", 201] }, () => AssociateManagedNotificationAdditionalChannelRequest$, () => AssociateManagedNotificationAdditionalChannelResponse$
1188
+ ];
1189
+ var AssociateOrganizationalUnit$ = [9, n0, _AOU,
1190
+ { [_ht]: ["POST", "/organizational-units/associate/{organizationalUnitId}", 201] }, () => AssociateOrganizationalUnitRequest$, () => AssociateOrganizationalUnitResponse$
1191
+ ];
1192
+ var CreateEventRule$ = [9, n0, _CER,
1193
+ { [_ht]: ["POST", "/event-rules", 201] }, () => CreateEventRuleRequest$, () => CreateEventRuleResponse$
1194
+ ];
1195
+ var CreateNotificationConfiguration$ = [9, n0, _CNC,
1196
+ { [_ht]: ["POST", "/notification-configurations", 201] }, () => CreateNotificationConfigurationRequest$, () => CreateNotificationConfigurationResponse$
1197
+ ];
1198
+ var DeleteEventRule$ = [9, n0, _DER,
1199
+ { [_ht]: ["DELETE", "/event-rules/{arn}", 200] }, () => DeleteEventRuleRequest$, () => DeleteEventRuleResponse$
1200
+ ];
1201
+ var DeleteNotificationConfiguration$ = [9, n0, _DNC,
1202
+ { [_ht]: ["DELETE", "/notification-configurations/{arn}", 200] }, () => DeleteNotificationConfigurationRequest$, () => DeleteNotificationConfigurationResponse$
1203
+ ];
1204
+ var DeregisterNotificationHub$ = [9, n0, _DNH,
1205
+ { [_ht]: ["DELETE", "/notification-hubs/{notificationHubRegion}", 200] }, () => DeregisterNotificationHubRequest$, () => DeregisterNotificationHubResponse$
1206
+ ];
1207
+ var DisableNotificationsAccessForOrganization$ = [9, n0, _DNAFO,
1208
+ { [_ht]: ["DELETE", "/organization/access", 200] }, () => DisableNotificationsAccessForOrganizationRequest$, () => DisableNotificationsAccessForOrganizationResponse$
1209
+ ];
1210
+ var DisassociateChannel$ = [9, n0, _DC,
1211
+ { [_ht]: ["POST", "/channels/disassociate/{arn}", 200] }, () => DisassociateChannelRequest$, () => DisassociateChannelResponse$
1212
+ ];
1213
+ var DisassociateManagedNotificationAccountContact$ = [9, n0, _DMNAC,
1214
+ { [_ht]: ["PUT", "/contacts/disassociate-managed-notification/{contactIdentifier}", 200] }, () => DisassociateManagedNotificationAccountContactRequest$, () => DisassociateManagedNotificationAccountContactResponse$
1215
+ ];
1216
+ var DisassociateManagedNotificationAdditionalChannel$ = [9, n0, _DMNACi,
1217
+ { [_ht]: ["PUT", "/channels/disassociate-managed-notification/{channelArn}", 200] }, () => DisassociateManagedNotificationAdditionalChannelRequest$, () => DisassociateManagedNotificationAdditionalChannelResponse$
1218
+ ];
1219
+ var DisassociateOrganizationalUnit$ = [9, n0, _DOU,
1220
+ { [_ht]: ["POST", "/organizational-units/disassociate/{organizationalUnitId}", 200] }, () => DisassociateOrganizationalUnitRequest$, () => DisassociateOrganizationalUnitResponse$
1221
+ ];
1222
+ var EnableNotificationsAccessForOrganization$ = [9, n0, _ENAFO,
1223
+ { [_ht]: ["POST", "/organization/access", 200] }, () => EnableNotificationsAccessForOrganizationRequest$, () => EnableNotificationsAccessForOrganizationResponse$
1224
+ ];
1225
+ var GetEventRule$ = [9, n0, _GER,
1226
+ { [_ht]: ["GET", "/event-rules/{arn}", 200] }, () => GetEventRuleRequest$, () => GetEventRuleResponse$
1227
+ ];
1228
+ var GetManagedNotificationChildEvent$ = [9, n0, _GMNCE,
1229
+ { [_ht]: ["GET", "/managed-notification-child-events/{arn}", 200] }, () => GetManagedNotificationChildEventRequest$, () => GetManagedNotificationChildEventResponse$
1230
+ ];
1231
+ var GetManagedNotificationConfiguration$ = [9, n0, _GMNC,
1232
+ { [_ht]: ["GET", "/managed-notification-configurations/{arn}", 200] }, () => GetManagedNotificationConfigurationRequest$, () => GetManagedNotificationConfigurationResponse$
1233
+ ];
1234
+ var GetManagedNotificationEvent$ = [9, n0, _GMNE,
1235
+ { [_ht]: ["GET", "/managed-notification-events/{arn}", 200] }, () => GetManagedNotificationEventRequest$, () => GetManagedNotificationEventResponse$
1236
+ ];
1237
+ var GetNotificationConfiguration$ = [9, n0, _GNC,
1238
+ { [_ht]: ["GET", "/notification-configurations/{arn}", 200] }, () => GetNotificationConfigurationRequest$, () => GetNotificationConfigurationResponse$
1239
+ ];
1240
+ var GetNotificationEvent$ = [9, n0, _GNE,
1241
+ { [_ht]: ["GET", "/notification-events/{arn}", 200] }, () => GetNotificationEventRequest$, () => GetNotificationEventResponse$
1242
+ ];
1243
+ var GetNotificationsAccessForOrganization$ = [9, n0, _GNAFO,
1244
+ { [_ht]: ["GET", "/organization/access", 200] }, () => GetNotificationsAccessForOrganizationRequest$, () => GetNotificationsAccessForOrganizationResponse$
1245
+ ];
1246
+ var ListChannels$ = [9, n0, _LC,
1247
+ { [_ht]: ["GET", "/channels", 200] }, () => ListChannelsRequest$, () => ListChannelsResponse$
1248
+ ];
1249
+ var ListEventRules$ = [9, n0, _LER,
1250
+ { [_ht]: ["GET", "/event-rules", 200] }, () => ListEventRulesRequest$, () => ListEventRulesResponse$
1251
+ ];
1252
+ var ListManagedNotificationChannelAssociations$ = [9, n0, _LMNCA,
1253
+ { [_ht]: ["GET", "/channels/list-managed-notification-channel-associations", 200] }, () => ListManagedNotificationChannelAssociationsRequest$, () => ListManagedNotificationChannelAssociationsResponse$
1254
+ ];
1255
+ var ListManagedNotificationChildEvents$ = [9, n0, _LMNCE,
1256
+ { [_ht]: ["GET", "/list-managed-notification-child-events/{aggregateManagedNotificationEventArn}", 200] }, () => ListManagedNotificationChildEventsRequest$, () => ListManagedNotificationChildEventsResponse$
1257
+ ];
1258
+ var ListManagedNotificationConfigurations$ = [9, n0, _LMNC,
1259
+ { [_ht]: ["GET", "/managed-notification-configurations", 200] }, () => ListManagedNotificationConfigurationsRequest$, () => ListManagedNotificationConfigurationsResponse$
1260
+ ];
1261
+ var ListManagedNotificationEvents$ = [9, n0, _LMNE,
1262
+ { [_ht]: ["GET", "/managed-notification-events", 200] }, () => ListManagedNotificationEventsRequest$, () => ListManagedNotificationEventsResponse$
1263
+ ];
1264
+ var ListMemberAccounts$ = [9, n0, _LMA,
1265
+ { [_ht]: ["GET", "/list-member-accounts", 200] }, () => ListMemberAccountsRequest$, () => ListMemberAccountsResponse$
1266
+ ];
1267
+ var ListNotificationConfigurations$ = [9, n0, _LNC,
1268
+ { [_ht]: ["GET", "/notification-configurations", 200] }, () => ListNotificationConfigurationsRequest$, () => ListNotificationConfigurationsResponse$
1269
+ ];
1270
+ var ListNotificationEvents$ = [9, n0, _LNE,
1271
+ { [_ht]: ["GET", "/notification-events", 200] }, () => ListNotificationEventsRequest$, () => ListNotificationEventsResponse$
1272
+ ];
1273
+ var ListNotificationHubs$ = [9, n0, _LNH,
1274
+ { [_ht]: ["GET", "/notification-hubs", 200] }, () => ListNotificationHubsRequest$, () => ListNotificationHubsResponse$
1275
+ ];
1276
+ var ListOrganizationalUnits$ = [9, n0, _LOU,
1277
+ { [_ht]: ["GET", "/organizational-units", 200] }, () => ListOrganizationalUnitsRequest$, () => ListOrganizationalUnitsResponse$
1278
+ ];
1279
+ var ListTagsForResource$ = [9, n0, _LTFR,
1280
+ { [_ht]: ["GET", "/tags/{arn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1281
+ ];
1282
+ var RegisterNotificationHub$ = [9, n0, _RNH,
1283
+ { [_ht]: ["POST", "/notification-hubs", 201] }, () => RegisterNotificationHubRequest$, () => RegisterNotificationHubResponse$
1284
+ ];
1285
+ var TagResource$ = [9, n0, _TR,
1286
+ { [_ht]: ["POST", "/tags/{arn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1287
+ ];
1288
+ var UntagResource$ = [9, n0, _UR,
1289
+ { [_ht]: ["DELETE", "/tags/{arn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1290
+ ];
1291
+ var UpdateEventRule$ = [9, n0, _UER,
1292
+ { [_ht]: ["PUT", "/event-rules/{arn}", 200] }, () => UpdateEventRuleRequest$, () => UpdateEventRuleResponse$
1293
+ ];
1294
+ var UpdateNotificationConfiguration$ = [9, n0, _UNC,
1295
+ { [_ht]: ["PUT", "/notification-configurations/{arn}", 200] }, () => UpdateNotificationConfigurationRequest$, () => UpdateNotificationConfigurationResponse$
1296
+ ];
1297
+
1298
+ const getRuntimeConfig$1 = (config) => {
1299
+ return {
1300
+ apiVersion: "2018-05-10",
1301
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1302
+ base64Encoder: config?.base64Encoder ?? toBase64,
1303
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1304
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1305
+ extensions: config?.extensions ?? [],
1306
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultNotificationsHttpAuthSchemeProvider,
1307
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1308
+ {
1309
+ schemeId: "aws.auth#sigv4",
1310
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1311
+ signer: new AwsSdkSigV4Signer(),
1312
+ },
1313
+ ],
1314
+ logger: config?.logger ?? new NoOpLogger(),
1315
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1316
+ protocolSettings: config?.protocolSettings ?? {
1317
+ defaultNamespace: "com.amazonaws.notifications",
1318
+ errorTypeRegistries,
1319
+ version: "2018-05-10",
1320
+ serviceTarget: "Notifications",
1321
+ },
1322
+ serviceId: config?.serviceId ?? "Notifications",
1323
+ urlParser: config?.urlParser ?? parseUrl,
1324
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1325
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1326
+ };
1327
+ };
1328
+
1329
+ const getRuntimeConfig = (config) => {
1330
+ emitWarningIfUnsupportedVersion(process.version);
1331
+ const defaultsMode = resolveDefaultsModeConfig(config);
1332
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1333
+ const clientSharedValues = getRuntimeConfig$1(config);
1334
+ emitWarningIfUnsupportedVersion$1(process.version);
1335
+ const loaderConfig = {
1336
+ profile: config?.profile,
1337
+ logger: clientSharedValues.logger,
1338
+ };
1339
+ return {
1340
+ ...clientSharedValues,
1341
+ ...config,
1342
+ runtime: "node",
1343
+ defaultsMode,
1344
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1345
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1346
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1347
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1348
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1349
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1350
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1351
+ retryMode: config?.retryMode ??
1352
+ loadConfig({
1353
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1354
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1355
+ }, config),
1356
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1357
+ streamCollector: config?.streamCollector ?? streamCollector,
1358
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1359
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1360
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1361
+ };
1362
+ };
1363
+
32
1364
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
33
1365
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
34
1366
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -762,65 +2094,232 @@ const MemberAccountNotificationConfigurationStatus = {
762
2094
  PENDING: "PENDING",
763
2095
  };
764
2096
 
2097
+ exports.AccessDeniedException = AccessDeniedException;
2098
+ exports.AccessDeniedException$ = AccessDeniedException$;
765
2099
  exports.AccessStatus = AccessStatus;
766
2100
  exports.AccountContactType = AccountContactType;
2101
+ exports.AggregationDetail$ = AggregationDetail$;
767
2102
  exports.AggregationDuration = AggregationDuration;
768
2103
  exports.AggregationEventType = AggregationEventType;
2104
+ exports.AggregationKey$ = AggregationKey$;
2105
+ exports.AggregationSummary$ = AggregationSummary$;
2106
+ exports.AssociateChannel$ = AssociateChannel$;
769
2107
  exports.AssociateChannelCommand = AssociateChannelCommand;
2108
+ exports.AssociateChannelRequest$ = AssociateChannelRequest$;
2109
+ exports.AssociateChannelResponse$ = AssociateChannelResponse$;
2110
+ exports.AssociateManagedNotificationAccountContact$ = AssociateManagedNotificationAccountContact$;
770
2111
  exports.AssociateManagedNotificationAccountContactCommand = AssociateManagedNotificationAccountContactCommand;
2112
+ exports.AssociateManagedNotificationAccountContactRequest$ = AssociateManagedNotificationAccountContactRequest$;
2113
+ exports.AssociateManagedNotificationAccountContactResponse$ = AssociateManagedNotificationAccountContactResponse$;
2114
+ exports.AssociateManagedNotificationAdditionalChannel$ = AssociateManagedNotificationAdditionalChannel$;
771
2115
  exports.AssociateManagedNotificationAdditionalChannelCommand = AssociateManagedNotificationAdditionalChannelCommand;
2116
+ exports.AssociateManagedNotificationAdditionalChannelRequest$ = AssociateManagedNotificationAdditionalChannelRequest$;
2117
+ exports.AssociateManagedNotificationAdditionalChannelResponse$ = AssociateManagedNotificationAdditionalChannelResponse$;
2118
+ exports.AssociateOrganizationalUnit$ = AssociateOrganizationalUnit$;
772
2119
  exports.AssociateOrganizationalUnitCommand = AssociateOrganizationalUnitCommand;
2120
+ exports.AssociateOrganizationalUnitRequest$ = AssociateOrganizationalUnitRequest$;
2121
+ exports.AssociateOrganizationalUnitResponse$ = AssociateOrganizationalUnitResponse$;
773
2122
  exports.ChannelAssociationOverrideOption = ChannelAssociationOverrideOption;
774
2123
  exports.ChannelType = ChannelType;
2124
+ exports.ConflictException = ConflictException;
2125
+ exports.ConflictException$ = ConflictException$;
2126
+ exports.CreateEventRule$ = CreateEventRule$;
775
2127
  exports.CreateEventRuleCommand = CreateEventRuleCommand;
2128
+ exports.CreateEventRuleRequest$ = CreateEventRuleRequest$;
2129
+ exports.CreateEventRuleResponse$ = CreateEventRuleResponse$;
2130
+ exports.CreateNotificationConfiguration$ = CreateNotificationConfiguration$;
776
2131
  exports.CreateNotificationConfigurationCommand = CreateNotificationConfigurationCommand;
2132
+ exports.CreateNotificationConfigurationRequest$ = CreateNotificationConfigurationRequest$;
2133
+ exports.CreateNotificationConfigurationResponse$ = CreateNotificationConfigurationResponse$;
2134
+ exports.DeleteEventRule$ = DeleteEventRule$;
777
2135
  exports.DeleteEventRuleCommand = DeleteEventRuleCommand;
2136
+ exports.DeleteEventRuleRequest$ = DeleteEventRuleRequest$;
2137
+ exports.DeleteEventRuleResponse$ = DeleteEventRuleResponse$;
2138
+ exports.DeleteNotificationConfiguration$ = DeleteNotificationConfiguration$;
778
2139
  exports.DeleteNotificationConfigurationCommand = DeleteNotificationConfigurationCommand;
2140
+ exports.DeleteNotificationConfigurationRequest$ = DeleteNotificationConfigurationRequest$;
2141
+ exports.DeleteNotificationConfigurationResponse$ = DeleteNotificationConfigurationResponse$;
2142
+ exports.DeregisterNotificationHub$ = DeregisterNotificationHub$;
779
2143
  exports.DeregisterNotificationHubCommand = DeregisterNotificationHubCommand;
2144
+ exports.DeregisterNotificationHubRequest$ = DeregisterNotificationHubRequest$;
2145
+ exports.DeregisterNotificationHubResponse$ = DeregisterNotificationHubResponse$;
2146
+ exports.Dimension$ = Dimension$;
2147
+ exports.DisableNotificationsAccessForOrganization$ = DisableNotificationsAccessForOrganization$;
780
2148
  exports.DisableNotificationsAccessForOrganizationCommand = DisableNotificationsAccessForOrganizationCommand;
2149
+ exports.DisableNotificationsAccessForOrganizationRequest$ = DisableNotificationsAccessForOrganizationRequest$;
2150
+ exports.DisableNotificationsAccessForOrganizationResponse$ = DisableNotificationsAccessForOrganizationResponse$;
2151
+ exports.DisassociateChannel$ = DisassociateChannel$;
781
2152
  exports.DisassociateChannelCommand = DisassociateChannelCommand;
2153
+ exports.DisassociateChannelRequest$ = DisassociateChannelRequest$;
2154
+ exports.DisassociateChannelResponse$ = DisassociateChannelResponse$;
2155
+ exports.DisassociateManagedNotificationAccountContact$ = DisassociateManagedNotificationAccountContact$;
782
2156
  exports.DisassociateManagedNotificationAccountContactCommand = DisassociateManagedNotificationAccountContactCommand;
2157
+ exports.DisassociateManagedNotificationAccountContactRequest$ = DisassociateManagedNotificationAccountContactRequest$;
2158
+ exports.DisassociateManagedNotificationAccountContactResponse$ = DisassociateManagedNotificationAccountContactResponse$;
2159
+ exports.DisassociateManagedNotificationAdditionalChannel$ = DisassociateManagedNotificationAdditionalChannel$;
783
2160
  exports.DisassociateManagedNotificationAdditionalChannelCommand = DisassociateManagedNotificationAdditionalChannelCommand;
2161
+ exports.DisassociateManagedNotificationAdditionalChannelRequest$ = DisassociateManagedNotificationAdditionalChannelRequest$;
2162
+ exports.DisassociateManagedNotificationAdditionalChannelResponse$ = DisassociateManagedNotificationAdditionalChannelResponse$;
2163
+ exports.DisassociateOrganizationalUnit$ = DisassociateOrganizationalUnit$;
784
2164
  exports.DisassociateOrganizationalUnitCommand = DisassociateOrganizationalUnitCommand;
2165
+ exports.DisassociateOrganizationalUnitRequest$ = DisassociateOrganizationalUnitRequest$;
2166
+ exports.DisassociateOrganizationalUnitResponse$ = DisassociateOrganizationalUnitResponse$;
2167
+ exports.EnableNotificationsAccessForOrganization$ = EnableNotificationsAccessForOrganization$;
785
2168
  exports.EnableNotificationsAccessForOrganizationCommand = EnableNotificationsAccessForOrganizationCommand;
2169
+ exports.EnableNotificationsAccessForOrganizationRequest$ = EnableNotificationsAccessForOrganizationRequest$;
2170
+ exports.EnableNotificationsAccessForOrganizationResponse$ = EnableNotificationsAccessForOrganizationResponse$;
786
2171
  exports.EventRuleStatus = EventRuleStatus;
2172
+ exports.EventRuleStatusSummary$ = EventRuleStatusSummary$;
2173
+ exports.EventRuleStructure$ = EventRuleStructure$;
787
2174
  exports.EventStatus = EventStatus;
2175
+ exports.GetEventRule$ = GetEventRule$;
788
2176
  exports.GetEventRuleCommand = GetEventRuleCommand;
2177
+ exports.GetEventRuleRequest$ = GetEventRuleRequest$;
2178
+ exports.GetEventRuleResponse$ = GetEventRuleResponse$;
2179
+ exports.GetManagedNotificationChildEvent$ = GetManagedNotificationChildEvent$;
789
2180
  exports.GetManagedNotificationChildEventCommand = GetManagedNotificationChildEventCommand;
2181
+ exports.GetManagedNotificationChildEventRequest$ = GetManagedNotificationChildEventRequest$;
2182
+ exports.GetManagedNotificationChildEventResponse$ = GetManagedNotificationChildEventResponse$;
2183
+ exports.GetManagedNotificationConfiguration$ = GetManagedNotificationConfiguration$;
790
2184
  exports.GetManagedNotificationConfigurationCommand = GetManagedNotificationConfigurationCommand;
2185
+ exports.GetManagedNotificationConfigurationRequest$ = GetManagedNotificationConfigurationRequest$;
2186
+ exports.GetManagedNotificationConfigurationResponse$ = GetManagedNotificationConfigurationResponse$;
2187
+ exports.GetManagedNotificationEvent$ = GetManagedNotificationEvent$;
791
2188
  exports.GetManagedNotificationEventCommand = GetManagedNotificationEventCommand;
2189
+ exports.GetManagedNotificationEventRequest$ = GetManagedNotificationEventRequest$;
2190
+ exports.GetManagedNotificationEventResponse$ = GetManagedNotificationEventResponse$;
2191
+ exports.GetNotificationConfiguration$ = GetNotificationConfiguration$;
792
2192
  exports.GetNotificationConfigurationCommand = GetNotificationConfigurationCommand;
2193
+ exports.GetNotificationConfigurationRequest$ = GetNotificationConfigurationRequest$;
2194
+ exports.GetNotificationConfigurationResponse$ = GetNotificationConfigurationResponse$;
2195
+ exports.GetNotificationEvent$ = GetNotificationEvent$;
793
2196
  exports.GetNotificationEventCommand = GetNotificationEventCommand;
2197
+ exports.GetNotificationEventRequest$ = GetNotificationEventRequest$;
2198
+ exports.GetNotificationEventResponse$ = GetNotificationEventResponse$;
2199
+ exports.GetNotificationsAccessForOrganization$ = GetNotificationsAccessForOrganization$;
794
2200
  exports.GetNotificationsAccessForOrganizationCommand = GetNotificationsAccessForOrganizationCommand;
2201
+ exports.GetNotificationsAccessForOrganizationRequest$ = GetNotificationsAccessForOrganizationRequest$;
2202
+ exports.GetNotificationsAccessForOrganizationResponse$ = GetNotificationsAccessForOrganizationResponse$;
2203
+ exports.InternalServerException = InternalServerException;
2204
+ exports.InternalServerException$ = InternalServerException$;
2205
+ exports.ListChannels$ = ListChannels$;
795
2206
  exports.ListChannelsCommand = ListChannelsCommand;
2207
+ exports.ListChannelsRequest$ = ListChannelsRequest$;
2208
+ exports.ListChannelsResponse$ = ListChannelsResponse$;
2209
+ exports.ListEventRules$ = ListEventRules$;
796
2210
  exports.ListEventRulesCommand = ListEventRulesCommand;
2211
+ exports.ListEventRulesRequest$ = ListEventRulesRequest$;
2212
+ exports.ListEventRulesResponse$ = ListEventRulesResponse$;
2213
+ exports.ListManagedNotificationChannelAssociations$ = ListManagedNotificationChannelAssociations$;
797
2214
  exports.ListManagedNotificationChannelAssociationsCommand = ListManagedNotificationChannelAssociationsCommand;
2215
+ exports.ListManagedNotificationChannelAssociationsRequest$ = ListManagedNotificationChannelAssociationsRequest$;
2216
+ exports.ListManagedNotificationChannelAssociationsResponse$ = ListManagedNotificationChannelAssociationsResponse$;
2217
+ exports.ListManagedNotificationChildEvents$ = ListManagedNotificationChildEvents$;
798
2218
  exports.ListManagedNotificationChildEventsCommand = ListManagedNotificationChildEventsCommand;
2219
+ exports.ListManagedNotificationChildEventsRequest$ = ListManagedNotificationChildEventsRequest$;
2220
+ exports.ListManagedNotificationChildEventsResponse$ = ListManagedNotificationChildEventsResponse$;
2221
+ exports.ListManagedNotificationConfigurations$ = ListManagedNotificationConfigurations$;
799
2222
  exports.ListManagedNotificationConfigurationsCommand = ListManagedNotificationConfigurationsCommand;
2223
+ exports.ListManagedNotificationConfigurationsRequest$ = ListManagedNotificationConfigurationsRequest$;
2224
+ exports.ListManagedNotificationConfigurationsResponse$ = ListManagedNotificationConfigurationsResponse$;
2225
+ exports.ListManagedNotificationEvents$ = ListManagedNotificationEvents$;
800
2226
  exports.ListManagedNotificationEventsCommand = ListManagedNotificationEventsCommand;
2227
+ exports.ListManagedNotificationEventsRequest$ = ListManagedNotificationEventsRequest$;
2228
+ exports.ListManagedNotificationEventsResponse$ = ListManagedNotificationEventsResponse$;
2229
+ exports.ListMemberAccounts$ = ListMemberAccounts$;
801
2230
  exports.ListMemberAccountsCommand = ListMemberAccountsCommand;
2231
+ exports.ListMemberAccountsRequest$ = ListMemberAccountsRequest$;
2232
+ exports.ListMemberAccountsResponse$ = ListMemberAccountsResponse$;
2233
+ exports.ListNotificationConfigurations$ = ListNotificationConfigurations$;
802
2234
  exports.ListNotificationConfigurationsCommand = ListNotificationConfigurationsCommand;
2235
+ exports.ListNotificationConfigurationsRequest$ = ListNotificationConfigurationsRequest$;
2236
+ exports.ListNotificationConfigurationsResponse$ = ListNotificationConfigurationsResponse$;
2237
+ exports.ListNotificationEvents$ = ListNotificationEvents$;
803
2238
  exports.ListNotificationEventsCommand = ListNotificationEventsCommand;
2239
+ exports.ListNotificationEventsRequest$ = ListNotificationEventsRequest$;
2240
+ exports.ListNotificationEventsResponse$ = ListNotificationEventsResponse$;
2241
+ exports.ListNotificationHubs$ = ListNotificationHubs$;
804
2242
  exports.ListNotificationHubsCommand = ListNotificationHubsCommand;
2243
+ exports.ListNotificationHubsRequest$ = ListNotificationHubsRequest$;
2244
+ exports.ListNotificationHubsResponse$ = ListNotificationHubsResponse$;
2245
+ exports.ListOrganizationalUnits$ = ListOrganizationalUnits$;
805
2246
  exports.ListOrganizationalUnitsCommand = ListOrganizationalUnitsCommand;
2247
+ exports.ListOrganizationalUnitsRequest$ = ListOrganizationalUnitsRequest$;
2248
+ exports.ListOrganizationalUnitsResponse$ = ListOrganizationalUnitsResponse$;
2249
+ exports.ListTagsForResource$ = ListTagsForResource$;
806
2250
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2251
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2252
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
807
2253
  exports.LocaleCode = LocaleCode;
2254
+ exports.ManagedNotificationChannelAssociationSummary$ = ManagedNotificationChannelAssociationSummary$;
2255
+ exports.ManagedNotificationChildEvent$ = ManagedNotificationChildEvent$;
2256
+ exports.ManagedNotificationChildEventOverview$ = ManagedNotificationChildEventOverview$;
2257
+ exports.ManagedNotificationChildEventSummary$ = ManagedNotificationChildEventSummary$;
2258
+ exports.ManagedNotificationConfigurationStructure$ = ManagedNotificationConfigurationStructure$;
2259
+ exports.ManagedNotificationEvent$ = ManagedNotificationEvent$;
2260
+ exports.ManagedNotificationEventOverview$ = ManagedNotificationEventOverview$;
2261
+ exports.ManagedNotificationEventSummary$ = ManagedNotificationEventSummary$;
2262
+ exports.ManagedSourceEventMetadataSummary$ = ManagedSourceEventMetadataSummary$;
2263
+ exports.MediaElement$ = MediaElement$;
808
2264
  exports.MediaElementType = MediaElementType;
2265
+ exports.MemberAccount$ = MemberAccount$;
809
2266
  exports.MemberAccountNotificationConfigurationStatus = MemberAccountNotificationConfigurationStatus;
2267
+ exports.MessageComponents$ = MessageComponents$;
2268
+ exports.MessageComponentsSummary$ = MessageComponentsSummary$;
810
2269
  exports.NotificationConfigurationStatus = NotificationConfigurationStatus;
2270
+ exports.NotificationConfigurationStructure$ = NotificationConfigurationStructure$;
811
2271
  exports.NotificationConfigurationSubtype = NotificationConfigurationSubtype;
2272
+ exports.NotificationEventOverview$ = NotificationEventOverview$;
2273
+ exports.NotificationEventSchema$ = NotificationEventSchema$;
2274
+ exports.NotificationEventSummary$ = NotificationEventSummary$;
2275
+ exports.NotificationHubOverview$ = NotificationHubOverview$;
812
2276
  exports.NotificationHubStatus = NotificationHubStatus;
2277
+ exports.NotificationHubStatusSummary$ = NotificationHubStatusSummary$;
813
2278
  exports.NotificationType = NotificationType;
814
2279
  exports.Notifications = Notifications;
2280
+ exports.NotificationsAccessForOrganization$ = NotificationsAccessForOrganization$;
815
2281
  exports.NotificationsClient = NotificationsClient;
2282
+ exports.NotificationsServiceException = NotificationsServiceException;
2283
+ exports.NotificationsServiceException$ = NotificationsServiceException$;
2284
+ exports.RegisterNotificationHub$ = RegisterNotificationHub$;
816
2285
  exports.RegisterNotificationHubCommand = RegisterNotificationHubCommand;
2286
+ exports.RegisterNotificationHubRequest$ = RegisterNotificationHubRequest$;
2287
+ exports.RegisterNotificationHubResponse$ = RegisterNotificationHubResponse$;
2288
+ exports.Resource$ = Resource$;
2289
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2290
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
817
2291
  exports.SchemaVersion = SchemaVersion;
2292
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2293
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
2294
+ exports.SourceEventMetadata$ = SourceEventMetadata$;
2295
+ exports.SourceEventMetadataSummary$ = SourceEventMetadataSummary$;
2296
+ exports.SummarizationDimensionDetail$ = SummarizationDimensionDetail$;
2297
+ exports.SummarizationDimensionOverview$ = SummarizationDimensionOverview$;
2298
+ exports.TagResource$ = TagResource$;
818
2299
  exports.TagResourceCommand = TagResourceCommand;
2300
+ exports.TagResourceRequest$ = TagResourceRequest$;
2301
+ exports.TagResourceResponse$ = TagResourceResponse$;
819
2302
  exports.TextPartType = TextPartType;
2303
+ exports.TextPartValue$ = TextPartValue$;
2304
+ exports.ThrottlingException = ThrottlingException;
2305
+ exports.ThrottlingException$ = ThrottlingException$;
2306
+ exports.UntagResource$ = UntagResource$;
820
2307
  exports.UntagResourceCommand = UntagResourceCommand;
2308
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2309
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
2310
+ exports.UpdateEventRule$ = UpdateEventRule$;
821
2311
  exports.UpdateEventRuleCommand = UpdateEventRuleCommand;
2312
+ exports.UpdateEventRuleRequest$ = UpdateEventRuleRequest$;
2313
+ exports.UpdateEventRuleResponse$ = UpdateEventRuleResponse$;
2314
+ exports.UpdateNotificationConfiguration$ = UpdateNotificationConfiguration$;
822
2315
  exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;
2316
+ exports.UpdateNotificationConfigurationRequest$ = UpdateNotificationConfigurationRequest$;
2317
+ exports.UpdateNotificationConfigurationResponse$ = UpdateNotificationConfigurationResponse$;
2318
+ exports.ValidationException = ValidationException;
2319
+ exports.ValidationException$ = ValidationException$;
2320
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
823
2321
  exports.ValidationExceptionReason = ValidationExceptionReason;
2322
+ exports.errorTypeRegistries = errorTypeRegistries;
824
2323
  exports.paginateListChannels = paginateListChannels;
825
2324
  exports.paginateListEventRules = paginateListEventRules;
826
2325
  exports.paginateListManagedNotificationChannelAssociations = paginateListManagedNotificationChannelAssociations;