@aws-sdk/client-codestar-notifications 3.986.0 → 3.988.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 +32 -575
- package/dist-cjs/models/CodestarNotificationsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +124 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +393 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +43 -37
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var CodestarNotificationsServiceException = require('./models/CodestarNotificationsServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,504 +113,6 @@ class CodestarNotificationsClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class CodestarNotificationsServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, CodestarNotificationsServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends CodestarNotificationsServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
Message;
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "AccessDeniedException",
|
|
127
|
-
$fault: "client",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
-
this.Message = opts.Message;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
class ConcurrentModificationException extends CodestarNotificationsServiceException {
|
|
135
|
-
name = "ConcurrentModificationException";
|
|
136
|
-
$fault = "client";
|
|
137
|
-
Message;
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "ConcurrentModificationException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class ConfigurationException extends CodestarNotificationsServiceException {
|
|
149
|
-
name = "ConfigurationException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "ConfigurationException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, ConfigurationException.prototype);
|
|
159
|
-
this.Message = opts.Message;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
class LimitExceededException extends CodestarNotificationsServiceException {
|
|
163
|
-
name = "LimitExceededException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
Message;
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "LimitExceededException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
class ResourceAlreadyExistsException extends CodestarNotificationsServiceException {
|
|
177
|
-
name = "ResourceAlreadyExistsException";
|
|
178
|
-
$fault = "client";
|
|
179
|
-
Message;
|
|
180
|
-
constructor(opts) {
|
|
181
|
-
super({
|
|
182
|
-
name: "ResourceAlreadyExistsException",
|
|
183
|
-
$fault: "client",
|
|
184
|
-
...opts,
|
|
185
|
-
});
|
|
186
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
187
|
-
this.Message = opts.Message;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
class ValidationException extends CodestarNotificationsServiceException {
|
|
191
|
-
name = "ValidationException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
Message;
|
|
194
|
-
constructor(opts) {
|
|
195
|
-
super({
|
|
196
|
-
name: "ValidationException",
|
|
197
|
-
$fault: "client",
|
|
198
|
-
...opts,
|
|
199
|
-
});
|
|
200
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
201
|
-
this.Message = opts.Message;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
class ResourceNotFoundException extends CodestarNotificationsServiceException {
|
|
205
|
-
name = "ResourceNotFoundException";
|
|
206
|
-
$fault = "client";
|
|
207
|
-
Message;
|
|
208
|
-
constructor(opts) {
|
|
209
|
-
super({
|
|
210
|
-
name: "ResourceNotFoundException",
|
|
211
|
-
$fault: "client",
|
|
212
|
-
...opts,
|
|
213
|
-
});
|
|
214
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
215
|
-
this.Message = opts.Message;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
class InvalidNextTokenException extends CodestarNotificationsServiceException {
|
|
219
|
-
name = "InvalidNextTokenException";
|
|
220
|
-
$fault = "client";
|
|
221
|
-
Message;
|
|
222
|
-
constructor(opts) {
|
|
223
|
-
super({
|
|
224
|
-
name: "InvalidNextTokenException",
|
|
225
|
-
$fault: "client",
|
|
226
|
-
...opts,
|
|
227
|
-
});
|
|
228
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
229
|
-
this.Message = opts.Message;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
const _A = "Arn";
|
|
234
|
-
const _ADE = "AccessDeniedException";
|
|
235
|
-
const _CB = "CreatedBy";
|
|
236
|
-
const _CE = "ConfigurationException";
|
|
237
|
-
const _CME = "ConcurrentModificationException";
|
|
238
|
-
const _CNR = "CreateNotificationRule";
|
|
239
|
-
const _CNRR = "CreateNotificationRuleRequest";
|
|
240
|
-
const _CNRRr = "CreateNotificationRuleResult";
|
|
241
|
-
const _CRT = "ClientRequestToken";
|
|
242
|
-
const _CT = "CreatedTimestamp";
|
|
243
|
-
const _DNR = "DeleteNotificationRule";
|
|
244
|
-
const _DNRR = "DeleteNotificationRuleRequest";
|
|
245
|
-
const _DNRRe = "DeleteNotificationRuleResult";
|
|
246
|
-
const _DNRRes = "DescribeNotificationRuleRequest";
|
|
247
|
-
const _DNRResc = "DescribeNotificationRuleResult";
|
|
248
|
-
const _DNRe = "DescribeNotificationRule";
|
|
249
|
-
const _DT = "DetailType";
|
|
250
|
-
const _DTR = "DeleteTargetRequest";
|
|
251
|
-
const _DTRe = "DeleteTargetResult";
|
|
252
|
-
const _DTe = "DeleteTarget";
|
|
253
|
-
const _ET = "EventTypes";
|
|
254
|
-
const _ETB = "EventTypeBatch";
|
|
255
|
-
const _ETI = "EventTypeIds";
|
|
256
|
-
const _ETIv = "EventTypeId";
|
|
257
|
-
const _ETN = "EventTypeName";
|
|
258
|
-
const _ETS = "EventTypeSummary";
|
|
259
|
-
const _F = "Filters";
|
|
260
|
-
const _FUA = "ForceUnsubscribeAll";
|
|
261
|
-
const _I = "Id";
|
|
262
|
-
const _INTE = "InvalidNextTokenException";
|
|
263
|
-
const _LEE = "LimitExceededException";
|
|
264
|
-
const _LET = "ListEventTypes";
|
|
265
|
-
const _LETF = "ListEventTypesFilter";
|
|
266
|
-
const _LETFi = "ListEventTypesFilters";
|
|
267
|
-
const _LETR = "ListEventTypesRequest";
|
|
268
|
-
const _LETRi = "ListEventTypesResult";
|
|
269
|
-
const _LMT = "LastModifiedTimestamp";
|
|
270
|
-
const _LNR = "ListNotificationRules";
|
|
271
|
-
const _LNRF = "ListNotificationRulesFilter";
|
|
272
|
-
const _LNRFi = "ListNotificationRulesFilters";
|
|
273
|
-
const _LNRR = "ListNotificationRulesRequest";
|
|
274
|
-
const _LNRRi = "ListNotificationRulesResult";
|
|
275
|
-
const _LT = "ListTargets";
|
|
276
|
-
const _LTF = "ListTargetsFilter";
|
|
277
|
-
const _LTFR = "ListTagsForResource";
|
|
278
|
-
const _LTFRR = "ListTagsForResourceRequest";
|
|
279
|
-
const _LTFRRi = "ListTagsForResourceResult";
|
|
280
|
-
const _LTFi = "ListTargetsFilters";
|
|
281
|
-
const _LTR = "ListTargetsRequest";
|
|
282
|
-
const _LTRi = "ListTargetsResult";
|
|
283
|
-
const _M = "Message";
|
|
284
|
-
const _MR = "MaxResults";
|
|
285
|
-
const _N = "Name";
|
|
286
|
-
const _NR = "NotificationRules";
|
|
287
|
-
const _NRB = "NotificationRuleBatch";
|
|
288
|
-
const _NRN = "NotificationRuleName";
|
|
289
|
-
const _NRS = "NotificationRuleSummary";
|
|
290
|
-
const _NT = "NextToken";
|
|
291
|
-
const _R = "Resource";
|
|
292
|
-
const _RAEE = "ResourceAlreadyExistsException";
|
|
293
|
-
const _RNFE = "ResourceNotFoundException";
|
|
294
|
-
const _RT = "ResourceType";
|
|
295
|
-
const _S = "Status";
|
|
296
|
-
const _SN = "ServiceName";
|
|
297
|
-
const _SR = "SubscribeRequest";
|
|
298
|
-
const _SRu = "SubscribeResult";
|
|
299
|
-
const _Su = "Subscribe";
|
|
300
|
-
const _T = "Targets";
|
|
301
|
-
const _TA = "TargetAddress";
|
|
302
|
-
const _TB = "TargetsBatch";
|
|
303
|
-
const _TK = "TagKeys";
|
|
304
|
-
const _TR = "TagResource";
|
|
305
|
-
const _TRR = "TagResourceRequest";
|
|
306
|
-
const _TRRa = "TagResourceResult";
|
|
307
|
-
const _TS = "TargetSummary";
|
|
308
|
-
const _TSa = "TargetStatus";
|
|
309
|
-
const _TT = "TargetType";
|
|
310
|
-
const _Ta = "Tags";
|
|
311
|
-
const _Tar = "Target";
|
|
312
|
-
const _U = "Unsubscribe";
|
|
313
|
-
const _UNR = "UpdateNotificationRule";
|
|
314
|
-
const _UNRR = "UpdateNotificationRuleRequest";
|
|
315
|
-
const _UNRRp = "UpdateNotificationRuleResult";
|
|
316
|
-
const _UR = "UnsubscribeRequest";
|
|
317
|
-
const _URR = "UntagResourceRequest";
|
|
318
|
-
const _URRn = "UntagResourceResult";
|
|
319
|
-
const _URn = "UnsubscribeResult";
|
|
320
|
-
const _URnt = "UntagResource";
|
|
321
|
-
const _V = "Value";
|
|
322
|
-
const _VE = "ValidationException";
|
|
323
|
-
const _c = "client";
|
|
324
|
-
const _e = "error";
|
|
325
|
-
const _h = "http";
|
|
326
|
-
const _hE = "httpError";
|
|
327
|
-
const _hQ = "httpQuery";
|
|
328
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codestarnotifications";
|
|
329
|
-
const _tK = "tagKeys";
|
|
330
|
-
const n0 = "com.amazonaws.codestarnotifications";
|
|
331
|
-
var NotificationRuleName = [0, n0, _NRN, 8, 0];
|
|
332
|
-
var TargetAddress = [0, n0, _TA, 8, 0];
|
|
333
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
334
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
335
|
-
[_M],
|
|
336
|
-
[0]
|
|
337
|
-
];
|
|
338
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
339
|
-
var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
340
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
341
|
-
[_M],
|
|
342
|
-
[0]
|
|
343
|
-
];
|
|
344
|
-
schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
345
|
-
var ConfigurationException$ = [-3, n0, _CE,
|
|
346
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
347
|
-
[_M],
|
|
348
|
-
[0]
|
|
349
|
-
];
|
|
350
|
-
schema.TypeRegistry.for(n0).registerError(ConfigurationException$, ConfigurationException);
|
|
351
|
-
var CreateNotificationRuleRequest$ = [3, n0, _CNRR,
|
|
352
|
-
0,
|
|
353
|
-
[_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
|
|
354
|
-
[[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0], 5
|
|
355
|
-
];
|
|
356
|
-
var CreateNotificationRuleResult$ = [3, n0, _CNRRr,
|
|
357
|
-
0,
|
|
358
|
-
[_A],
|
|
359
|
-
[0]
|
|
360
|
-
];
|
|
361
|
-
var DeleteNotificationRuleRequest$ = [3, n0, _DNRR,
|
|
362
|
-
0,
|
|
363
|
-
[_A],
|
|
364
|
-
[0], 1
|
|
365
|
-
];
|
|
366
|
-
var DeleteNotificationRuleResult$ = [3, n0, _DNRRe,
|
|
367
|
-
0,
|
|
368
|
-
[_A],
|
|
369
|
-
[0]
|
|
370
|
-
];
|
|
371
|
-
var DeleteTargetRequest$ = [3, n0, _DTR,
|
|
372
|
-
0,
|
|
373
|
-
[_TA, _FUA],
|
|
374
|
-
[[() => TargetAddress, 0], 2], 1
|
|
375
|
-
];
|
|
376
|
-
var DeleteTargetResult$ = [3, n0, _DTRe,
|
|
377
|
-
0,
|
|
378
|
-
[],
|
|
379
|
-
[]
|
|
380
|
-
];
|
|
381
|
-
var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes,
|
|
382
|
-
0,
|
|
383
|
-
[_A],
|
|
384
|
-
[0], 1
|
|
385
|
-
];
|
|
386
|
-
var DescribeNotificationRuleResult$ = [3, n0, _DNRResc,
|
|
387
|
-
0,
|
|
388
|
-
[_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
|
|
389
|
-
[0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0], 1
|
|
390
|
-
];
|
|
391
|
-
var EventTypeSummary$ = [3, n0, _ETS,
|
|
392
|
-
0,
|
|
393
|
-
[_ETIv, _SN, _ETN, _RT],
|
|
394
|
-
[0, 0, 0, 0]
|
|
395
|
-
];
|
|
396
|
-
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
397
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
398
|
-
[_M],
|
|
399
|
-
[0]
|
|
400
|
-
];
|
|
401
|
-
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
402
|
-
var LimitExceededException$ = [-3, n0, _LEE,
|
|
403
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
404
|
-
[_M],
|
|
405
|
-
[0]
|
|
406
|
-
];
|
|
407
|
-
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
408
|
-
var ListEventTypesFilter$ = [3, n0, _LETF,
|
|
409
|
-
0,
|
|
410
|
-
[_N, _V],
|
|
411
|
-
[0, 0], 2
|
|
412
|
-
];
|
|
413
|
-
var ListEventTypesRequest$ = [3, n0, _LETR,
|
|
414
|
-
0,
|
|
415
|
-
[_F, _NT, _MR],
|
|
416
|
-
[() => ListEventTypesFilters, 0, 1]
|
|
417
|
-
];
|
|
418
|
-
var ListEventTypesResult$ = [3, n0, _LETRi,
|
|
419
|
-
0,
|
|
420
|
-
[_ET, _NT],
|
|
421
|
-
[() => EventTypeBatch, 0]
|
|
422
|
-
];
|
|
423
|
-
var ListNotificationRulesFilter$ = [3, n0, _LNRF,
|
|
424
|
-
0,
|
|
425
|
-
[_N, _V],
|
|
426
|
-
[0, 0], 2
|
|
427
|
-
];
|
|
428
|
-
var ListNotificationRulesRequest$ = [3, n0, _LNRR,
|
|
429
|
-
0,
|
|
430
|
-
[_F, _NT, _MR],
|
|
431
|
-
[() => ListNotificationRulesFilters, 0, 1]
|
|
432
|
-
];
|
|
433
|
-
var ListNotificationRulesResult$ = [3, n0, _LNRRi,
|
|
434
|
-
0,
|
|
435
|
-
[_NT, _NR],
|
|
436
|
-
[0, () => NotificationRuleBatch]
|
|
437
|
-
];
|
|
438
|
-
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
439
|
-
0,
|
|
440
|
-
[_A],
|
|
441
|
-
[0], 1
|
|
442
|
-
];
|
|
443
|
-
var ListTagsForResourceResult$ = [3, n0, _LTFRRi,
|
|
444
|
-
0,
|
|
445
|
-
[_Ta],
|
|
446
|
-
[128 | 0]
|
|
447
|
-
];
|
|
448
|
-
var ListTargetsFilter$ = [3, n0, _LTF,
|
|
449
|
-
0,
|
|
450
|
-
[_N, _V],
|
|
451
|
-
[0, 0], 2
|
|
452
|
-
];
|
|
453
|
-
var ListTargetsRequest$ = [3, n0, _LTR,
|
|
454
|
-
0,
|
|
455
|
-
[_F, _NT, _MR],
|
|
456
|
-
[() => ListTargetsFilters, 0, 1]
|
|
457
|
-
];
|
|
458
|
-
var ListTargetsResult$ = [3, n0, _LTRi,
|
|
459
|
-
0,
|
|
460
|
-
[_T, _NT],
|
|
461
|
-
[[() => TargetsBatch, 0], 0]
|
|
462
|
-
];
|
|
463
|
-
var NotificationRuleSummary$ = [3, n0, _NRS,
|
|
464
|
-
0,
|
|
465
|
-
[_I, _A],
|
|
466
|
-
[0, 0]
|
|
467
|
-
];
|
|
468
|
-
var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
|
|
469
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
470
|
-
[_M],
|
|
471
|
-
[0]
|
|
472
|
-
];
|
|
473
|
-
schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
|
|
474
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
475
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
476
|
-
[_M],
|
|
477
|
-
[0]
|
|
478
|
-
];
|
|
479
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
480
|
-
var SubscribeRequest$ = [3, n0, _SR,
|
|
481
|
-
0,
|
|
482
|
-
[_A, _Tar, _CRT],
|
|
483
|
-
[0, [() => Target$, 0], 0], 2
|
|
484
|
-
];
|
|
485
|
-
var SubscribeResult$ = [3, n0, _SRu,
|
|
486
|
-
0,
|
|
487
|
-
[_A],
|
|
488
|
-
[0]
|
|
489
|
-
];
|
|
490
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
491
|
-
0,
|
|
492
|
-
[_A, _Ta],
|
|
493
|
-
[0, 128 | 0], 2
|
|
494
|
-
];
|
|
495
|
-
var TagResourceResult$ = [3, n0, _TRRa,
|
|
496
|
-
0,
|
|
497
|
-
[_Ta],
|
|
498
|
-
[128 | 0]
|
|
499
|
-
];
|
|
500
|
-
var Target$ = [3, n0, _Tar,
|
|
501
|
-
0,
|
|
502
|
-
[_TT, _TA],
|
|
503
|
-
[0, [() => TargetAddress, 0]]
|
|
504
|
-
];
|
|
505
|
-
var TargetSummary$ = [3, n0, _TS,
|
|
506
|
-
0,
|
|
507
|
-
[_TA, _TT, _TSa],
|
|
508
|
-
[[() => TargetAddress, 0], 0, 0]
|
|
509
|
-
];
|
|
510
|
-
var UnsubscribeRequest$ = [3, n0, _UR,
|
|
511
|
-
0,
|
|
512
|
-
[_A, _TA],
|
|
513
|
-
[0, [() => TargetAddress, 0]], 2
|
|
514
|
-
];
|
|
515
|
-
var UnsubscribeResult$ = [3, n0, _URn,
|
|
516
|
-
0,
|
|
517
|
-
[_A],
|
|
518
|
-
[0], 1
|
|
519
|
-
];
|
|
520
|
-
var UntagResourceRequest$ = [3, n0, _URR,
|
|
521
|
-
0,
|
|
522
|
-
[_A, _TK],
|
|
523
|
-
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
524
|
-
];
|
|
525
|
-
var UntagResourceResult$ = [3, n0, _URRn,
|
|
526
|
-
0,
|
|
527
|
-
[],
|
|
528
|
-
[]
|
|
529
|
-
];
|
|
530
|
-
var UpdateNotificationRuleRequest$ = [3, n0, _UNRR,
|
|
531
|
-
0,
|
|
532
|
-
[_A, _N, _S, _ETI, _T, _DT],
|
|
533
|
-
[0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0], 1
|
|
534
|
-
];
|
|
535
|
-
var UpdateNotificationRuleResult$ = [3, n0, _UNRRp,
|
|
536
|
-
0,
|
|
537
|
-
[],
|
|
538
|
-
[]
|
|
539
|
-
];
|
|
540
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
541
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
542
|
-
[_M],
|
|
543
|
-
[0]
|
|
544
|
-
];
|
|
545
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
546
|
-
var CodestarNotificationsServiceException$ = [-3, _s, "CodestarNotificationsServiceException", 0, [], []];
|
|
547
|
-
schema.TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException$, CodestarNotificationsServiceException);
|
|
548
|
-
var EventTypeBatch = [1, n0, _ETB,
|
|
549
|
-
0, () => EventTypeSummary$
|
|
550
|
-
];
|
|
551
|
-
var ListEventTypesFilters = [1, n0, _LETFi,
|
|
552
|
-
0, () => ListEventTypesFilter$
|
|
553
|
-
];
|
|
554
|
-
var ListNotificationRulesFilters = [1, n0, _LNRFi,
|
|
555
|
-
0, () => ListNotificationRulesFilter$
|
|
556
|
-
];
|
|
557
|
-
var ListTargetsFilters = [1, n0, _LTFi,
|
|
558
|
-
0, () => ListTargetsFilter$
|
|
559
|
-
];
|
|
560
|
-
var NotificationRuleBatch = [1, n0, _NRB,
|
|
561
|
-
0, () => NotificationRuleSummary$
|
|
562
|
-
];
|
|
563
|
-
var Targets = [1, n0, _T,
|
|
564
|
-
0, [() => Target$,
|
|
565
|
-
0]
|
|
566
|
-
];
|
|
567
|
-
var TargetsBatch = [1, n0, _TB,
|
|
568
|
-
0, [() => TargetSummary$,
|
|
569
|
-
0]
|
|
570
|
-
];
|
|
571
|
-
var CreateNotificationRule$ = [9, n0, _CNR,
|
|
572
|
-
{ [_h]: ["POST", "/createNotificationRule", 200] }, () => CreateNotificationRuleRequest$, () => CreateNotificationRuleResult$
|
|
573
|
-
];
|
|
574
|
-
var DeleteNotificationRule$ = [9, n0, _DNR,
|
|
575
|
-
{ [_h]: ["POST", "/deleteNotificationRule", 200] }, () => DeleteNotificationRuleRequest$, () => DeleteNotificationRuleResult$
|
|
576
|
-
];
|
|
577
|
-
var DeleteTarget$ = [9, n0, _DTe,
|
|
578
|
-
{ [_h]: ["POST", "/deleteTarget", 200] }, () => DeleteTargetRequest$, () => DeleteTargetResult$
|
|
579
|
-
];
|
|
580
|
-
var DescribeNotificationRule$ = [9, n0, _DNRe,
|
|
581
|
-
{ [_h]: ["POST", "/describeNotificationRule", 200] }, () => DescribeNotificationRuleRequest$, () => DescribeNotificationRuleResult$
|
|
582
|
-
];
|
|
583
|
-
var ListEventTypes$ = [9, n0, _LET,
|
|
584
|
-
{ [_h]: ["POST", "/listEventTypes", 200] }, () => ListEventTypesRequest$, () => ListEventTypesResult$
|
|
585
|
-
];
|
|
586
|
-
var ListNotificationRules$ = [9, n0, _LNR,
|
|
587
|
-
{ [_h]: ["POST", "/listNotificationRules", 200] }, () => ListNotificationRulesRequest$, () => ListNotificationRulesResult$
|
|
588
|
-
];
|
|
589
|
-
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
590
|
-
{ [_h]: ["POST", "/listTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResult$
|
|
591
|
-
];
|
|
592
|
-
var ListTargets$ = [9, n0, _LT,
|
|
593
|
-
{ [_h]: ["POST", "/listTargets", 200] }, () => ListTargetsRequest$, () => ListTargetsResult$
|
|
594
|
-
];
|
|
595
|
-
var Subscribe$ = [9, n0, _Su,
|
|
596
|
-
{ [_h]: ["POST", "/subscribe", 200] }, () => SubscribeRequest$, () => SubscribeResult$
|
|
597
|
-
];
|
|
598
|
-
var TagResource$ = [9, n0, _TR,
|
|
599
|
-
{ [_h]: ["POST", "/tagResource", 200] }, () => TagResourceRequest$, () => TagResourceResult$
|
|
600
|
-
];
|
|
601
|
-
var Unsubscribe$ = [9, n0, _U,
|
|
602
|
-
{ [_h]: ["POST", "/unsubscribe", 200] }, () => UnsubscribeRequest$, () => UnsubscribeResult$
|
|
603
|
-
];
|
|
604
|
-
var UntagResource$ = [9, n0, _URnt,
|
|
605
|
-
{ [_h]: ["POST", "/untagResource/{Arn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResult$
|
|
606
|
-
];
|
|
607
|
-
var UpdateNotificationRule$ = [9, n0, _UNR,
|
|
608
|
-
{ [_h]: ["POST", "/updateNotificationRule", 200] }, () => UpdateNotificationRuleRequest$, () => UpdateNotificationRuleResult$
|
|
609
|
-
];
|
|
610
|
-
|
|
611
116
|
class CreateNotificationRuleCommand extends smithyClient.Command
|
|
612
117
|
.classBuilder()
|
|
613
118
|
.ep(commonParams)
|
|
@@ -616,7 +121,7 @@ class CreateNotificationRuleCommand extends smithyClient.Command
|
|
|
616
121
|
})
|
|
617
122
|
.s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
|
|
618
123
|
.n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
|
|
619
|
-
.sc(CreateNotificationRule$)
|
|
124
|
+
.sc(schemas_0.CreateNotificationRule$)
|
|
620
125
|
.build() {
|
|
621
126
|
}
|
|
622
127
|
|
|
@@ -628,7 +133,7 @@ class DeleteNotificationRuleCommand extends smithyClient.Command
|
|
|
628
133
|
})
|
|
629
134
|
.s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
|
|
630
135
|
.n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
|
|
631
|
-
.sc(DeleteNotificationRule$)
|
|
136
|
+
.sc(schemas_0.DeleteNotificationRule$)
|
|
632
137
|
.build() {
|
|
633
138
|
}
|
|
634
139
|
|
|
@@ -640,7 +145,7 @@ class DeleteTargetCommand extends smithyClient.Command
|
|
|
640
145
|
})
|
|
641
146
|
.s("CodeStarNotifications_20191015", "DeleteTarget", {})
|
|
642
147
|
.n("CodestarNotificationsClient", "DeleteTargetCommand")
|
|
643
|
-
.sc(DeleteTarget$)
|
|
148
|
+
.sc(schemas_0.DeleteTarget$)
|
|
644
149
|
.build() {
|
|
645
150
|
}
|
|
646
151
|
|
|
@@ -652,7 +157,7 @@ class DescribeNotificationRuleCommand extends smithyClient.Command
|
|
|
652
157
|
})
|
|
653
158
|
.s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
|
|
654
159
|
.n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
|
|
655
|
-
.sc(DescribeNotificationRule$)
|
|
160
|
+
.sc(schemas_0.DescribeNotificationRule$)
|
|
656
161
|
.build() {
|
|
657
162
|
}
|
|
658
163
|
|
|
@@ -664,7 +169,7 @@ class ListEventTypesCommand extends smithyClient.Command
|
|
|
664
169
|
})
|
|
665
170
|
.s("CodeStarNotifications_20191015", "ListEventTypes", {})
|
|
666
171
|
.n("CodestarNotificationsClient", "ListEventTypesCommand")
|
|
667
|
-
.sc(ListEventTypes$)
|
|
172
|
+
.sc(schemas_0.ListEventTypes$)
|
|
668
173
|
.build() {
|
|
669
174
|
}
|
|
670
175
|
|
|
@@ -676,7 +181,7 @@ class ListNotificationRulesCommand extends smithyClient.Command
|
|
|
676
181
|
})
|
|
677
182
|
.s("CodeStarNotifications_20191015", "ListNotificationRules", {})
|
|
678
183
|
.n("CodestarNotificationsClient", "ListNotificationRulesCommand")
|
|
679
|
-
.sc(ListNotificationRules$)
|
|
184
|
+
.sc(schemas_0.ListNotificationRules$)
|
|
680
185
|
.build() {
|
|
681
186
|
}
|
|
682
187
|
|
|
@@ -688,7 +193,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
688
193
|
})
|
|
689
194
|
.s("CodeStarNotifications_20191015", "ListTagsForResource", {})
|
|
690
195
|
.n("CodestarNotificationsClient", "ListTagsForResourceCommand")
|
|
691
|
-
.sc(ListTagsForResource$)
|
|
196
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
692
197
|
.build() {
|
|
693
198
|
}
|
|
694
199
|
|
|
@@ -700,7 +205,7 @@ class ListTargetsCommand extends smithyClient.Command
|
|
|
700
205
|
})
|
|
701
206
|
.s("CodeStarNotifications_20191015", "ListTargets", {})
|
|
702
207
|
.n("CodestarNotificationsClient", "ListTargetsCommand")
|
|
703
|
-
.sc(ListTargets$)
|
|
208
|
+
.sc(schemas_0.ListTargets$)
|
|
704
209
|
.build() {
|
|
705
210
|
}
|
|
706
211
|
|
|
@@ -712,7 +217,7 @@ class SubscribeCommand extends smithyClient.Command
|
|
|
712
217
|
})
|
|
713
218
|
.s("CodeStarNotifications_20191015", "Subscribe", {})
|
|
714
219
|
.n("CodestarNotificationsClient", "SubscribeCommand")
|
|
715
|
-
.sc(Subscribe$)
|
|
220
|
+
.sc(schemas_0.Subscribe$)
|
|
716
221
|
.build() {
|
|
717
222
|
}
|
|
718
223
|
|
|
@@ -724,7 +229,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
724
229
|
})
|
|
725
230
|
.s("CodeStarNotifications_20191015", "TagResource", {})
|
|
726
231
|
.n("CodestarNotificationsClient", "TagResourceCommand")
|
|
727
|
-
.sc(TagResource$)
|
|
232
|
+
.sc(schemas_0.TagResource$)
|
|
728
233
|
.build() {
|
|
729
234
|
}
|
|
730
235
|
|
|
@@ -736,7 +241,7 @@ class UnsubscribeCommand extends smithyClient.Command
|
|
|
736
241
|
})
|
|
737
242
|
.s("CodeStarNotifications_20191015", "Unsubscribe", {})
|
|
738
243
|
.n("CodestarNotificationsClient", "UnsubscribeCommand")
|
|
739
|
-
.sc(Unsubscribe$)
|
|
244
|
+
.sc(schemas_0.Unsubscribe$)
|
|
740
245
|
.build() {
|
|
741
246
|
}
|
|
742
247
|
|
|
@@ -748,7 +253,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
748
253
|
})
|
|
749
254
|
.s("CodeStarNotifications_20191015", "UntagResource", {})
|
|
750
255
|
.n("CodestarNotificationsClient", "UntagResourceCommand")
|
|
751
|
-
.sc(UntagResource$)
|
|
256
|
+
.sc(schemas_0.UntagResource$)
|
|
752
257
|
.build() {
|
|
753
258
|
}
|
|
754
259
|
|
|
@@ -760,7 +265,7 @@ class UpdateNotificationRuleCommand extends smithyClient.Command
|
|
|
760
265
|
})
|
|
761
266
|
.s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
|
|
762
267
|
.n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
|
|
763
|
-
.sc(UpdateNotificationRule$)
|
|
268
|
+
.sc(schemas_0.UpdateNotificationRule$)
|
|
764
269
|
.build() {
|
|
765
270
|
}
|
|
766
271
|
|
|
@@ -833,91 +338,43 @@ Object.defineProperty(exports, "__Client", {
|
|
|
833
338
|
enumerable: true,
|
|
834
339
|
get: function () { return smithyClient.Client; }
|
|
835
340
|
});
|
|
836
|
-
exports
|
|
837
|
-
|
|
341
|
+
Object.defineProperty(exports, "CodestarNotificationsServiceException", {
|
|
342
|
+
enumerable: true,
|
|
343
|
+
get: function () { return CodestarNotificationsServiceException.CodestarNotificationsServiceException; }
|
|
344
|
+
});
|
|
838
345
|
exports.CodestarNotifications = CodestarNotifications;
|
|
839
346
|
exports.CodestarNotificationsClient = CodestarNotificationsClient;
|
|
840
|
-
exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException;
|
|
841
|
-
exports.CodestarNotificationsServiceException$ = CodestarNotificationsServiceException$;
|
|
842
|
-
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
843
|
-
exports.ConcurrentModificationException$ = ConcurrentModificationException$;
|
|
844
|
-
exports.ConfigurationException = ConfigurationException;
|
|
845
|
-
exports.ConfigurationException$ = ConfigurationException$;
|
|
846
|
-
exports.CreateNotificationRule$ = CreateNotificationRule$;
|
|
847
347
|
exports.CreateNotificationRuleCommand = CreateNotificationRuleCommand;
|
|
848
|
-
exports.CreateNotificationRuleRequest$ = CreateNotificationRuleRequest$;
|
|
849
|
-
exports.CreateNotificationRuleResult$ = CreateNotificationRuleResult$;
|
|
850
|
-
exports.DeleteNotificationRule$ = DeleteNotificationRule$;
|
|
851
348
|
exports.DeleteNotificationRuleCommand = DeleteNotificationRuleCommand;
|
|
852
|
-
exports.DeleteNotificationRuleRequest$ = DeleteNotificationRuleRequest$;
|
|
853
|
-
exports.DeleteNotificationRuleResult$ = DeleteNotificationRuleResult$;
|
|
854
|
-
exports.DeleteTarget$ = DeleteTarget$;
|
|
855
349
|
exports.DeleteTargetCommand = DeleteTargetCommand;
|
|
856
|
-
exports.DeleteTargetRequest$ = DeleteTargetRequest$;
|
|
857
|
-
exports.DeleteTargetResult$ = DeleteTargetResult$;
|
|
858
|
-
exports.DescribeNotificationRule$ = DescribeNotificationRule$;
|
|
859
350
|
exports.DescribeNotificationRuleCommand = DescribeNotificationRuleCommand;
|
|
860
|
-
exports.DescribeNotificationRuleRequest$ = DescribeNotificationRuleRequest$;
|
|
861
|
-
exports.DescribeNotificationRuleResult$ = DescribeNotificationRuleResult$;
|
|
862
351
|
exports.DetailType = DetailType;
|
|
863
|
-
exports.EventTypeSummary$ = EventTypeSummary$;
|
|
864
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
865
|
-
exports.InvalidNextTokenException$ = InvalidNextTokenException$;
|
|
866
|
-
exports.LimitExceededException = LimitExceededException;
|
|
867
|
-
exports.LimitExceededException$ = LimitExceededException$;
|
|
868
|
-
exports.ListEventTypes$ = ListEventTypes$;
|
|
869
352
|
exports.ListEventTypesCommand = ListEventTypesCommand;
|
|
870
|
-
exports.ListEventTypesFilter$ = ListEventTypesFilter$;
|
|
871
353
|
exports.ListEventTypesFilterName = ListEventTypesFilterName;
|
|
872
|
-
exports.ListEventTypesRequest$ = ListEventTypesRequest$;
|
|
873
|
-
exports.ListEventTypesResult$ = ListEventTypesResult$;
|
|
874
|
-
exports.ListNotificationRules$ = ListNotificationRules$;
|
|
875
354
|
exports.ListNotificationRulesCommand = ListNotificationRulesCommand;
|
|
876
|
-
exports.ListNotificationRulesFilter$ = ListNotificationRulesFilter$;
|
|
877
355
|
exports.ListNotificationRulesFilterName = ListNotificationRulesFilterName;
|
|
878
|
-
exports.ListNotificationRulesRequest$ = ListNotificationRulesRequest$;
|
|
879
|
-
exports.ListNotificationRulesResult$ = ListNotificationRulesResult$;
|
|
880
|
-
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
881
356
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
882
|
-
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
883
|
-
exports.ListTagsForResourceResult$ = ListTagsForResourceResult$;
|
|
884
|
-
exports.ListTargets$ = ListTargets$;
|
|
885
357
|
exports.ListTargetsCommand = ListTargetsCommand;
|
|
886
|
-
exports.ListTargetsFilter$ = ListTargetsFilter$;
|
|
887
358
|
exports.ListTargetsFilterName = ListTargetsFilterName;
|
|
888
|
-
exports.ListTargetsRequest$ = ListTargetsRequest$;
|
|
889
|
-
exports.ListTargetsResult$ = ListTargetsResult$;
|
|
890
359
|
exports.NotificationRuleStatus = NotificationRuleStatus;
|
|
891
|
-
exports.NotificationRuleSummary$ = NotificationRuleSummary$;
|
|
892
|
-
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
893
|
-
exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
|
|
894
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
895
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
896
|
-
exports.Subscribe$ = Subscribe$;
|
|
897
360
|
exports.SubscribeCommand = SubscribeCommand;
|
|
898
|
-
exports.SubscribeRequest$ = SubscribeRequest$;
|
|
899
|
-
exports.SubscribeResult$ = SubscribeResult$;
|
|
900
|
-
exports.TagResource$ = TagResource$;
|
|
901
361
|
exports.TagResourceCommand = TagResourceCommand;
|
|
902
|
-
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
903
|
-
exports.TagResourceResult$ = TagResourceResult$;
|
|
904
|
-
exports.Target$ = Target$;
|
|
905
362
|
exports.TargetStatus = TargetStatus;
|
|
906
|
-
exports.TargetSummary$ = TargetSummary$;
|
|
907
|
-
exports.Unsubscribe$ = Unsubscribe$;
|
|
908
363
|
exports.UnsubscribeCommand = UnsubscribeCommand;
|
|
909
|
-
exports.UnsubscribeRequest$ = UnsubscribeRequest$;
|
|
910
|
-
exports.UnsubscribeResult$ = UnsubscribeResult$;
|
|
911
|
-
exports.UntagResource$ = UntagResource$;
|
|
912
364
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
913
|
-
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
914
|
-
exports.UntagResourceResult$ = UntagResourceResult$;
|
|
915
|
-
exports.UpdateNotificationRule$ = UpdateNotificationRule$;
|
|
916
365
|
exports.UpdateNotificationRuleCommand = UpdateNotificationRuleCommand;
|
|
917
|
-
exports.UpdateNotificationRuleRequest$ = UpdateNotificationRuleRequest$;
|
|
918
|
-
exports.UpdateNotificationRuleResult$ = UpdateNotificationRuleResult$;
|
|
919
|
-
exports.ValidationException = ValidationException;
|
|
920
|
-
exports.ValidationException$ = ValidationException$;
|
|
921
366
|
exports.paginateListEventTypes = paginateListEventTypes;
|
|
922
367
|
exports.paginateListNotificationRules = paginateListNotificationRules;
|
|
923
368
|
exports.paginateListTargets = paginateListTargets;
|
|
369
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
370
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
371
|
+
enumerable: true,
|
|
372
|
+
get: function () { return schemas_0[k]; }
|
|
373
|
+
});
|
|
374
|
+
});
|
|
375
|
+
Object.keys(errors).forEach(function (k) {
|
|
376
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
377
|
+
enumerable: true,
|
|
378
|
+
get: function () { return errors[k]; }
|
|
379
|
+
});
|
|
380
|
+
});
|