@aws-sdk/client-codestar-notifications 3.952.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist-cjs/index.js +192 -137
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateNotificationRuleCommand.js +2 -2
  4. package/dist-es/commands/DeleteNotificationRuleCommand.js +2 -2
  5. package/dist-es/commands/DeleteTargetCommand.js +2 -2
  6. package/dist-es/commands/DescribeNotificationRuleCommand.js +2 -2
  7. package/dist-es/commands/ListEventTypesCommand.js +2 -2
  8. package/dist-es/commands/ListNotificationRulesCommand.js +2 -2
  9. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  10. package/dist-es/commands/ListTargetsCommand.js +2 -2
  11. package/dist-es/commands/SubscribeCommand.js +2 -2
  12. package/dist-es/commands/TagResourceCommand.js +2 -2
  13. package/dist-es/commands/UnsubscribeCommand.js +2 -2
  14. package/dist-es/commands/UntagResourceCommand.js +2 -2
  15. package/dist-es/commands/UpdateNotificationRuleCommand.js +2 -2
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/runtimeConfig.shared.js +6 -1
  18. package/dist-es/schemas/schemas_0.js +104 -104
  19. package/dist-types/CodestarNotificationsClient.d.ts +1 -10
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  22. package/dist-types/runtimeConfig.d.ts +6 -2
  23. package/dist-types/runtimeConfig.native.d.ts +6 -2
  24. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  25. package/dist-types/schemas/schemas_0.d.ts +56 -68
  26. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +0 -4
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -69
  33. package/package.json +34 -34
package/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class CodestarNotificationsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let CodestarNotificationsServiceException$1 = class CodestarNotificationsServiceException extends smithyClient.ServiceException {
113
+ class CodestarNotificationsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, CodestarNotificationsServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends CodestarNotificationsServiceException$1 {
120
+ class AccessDeniedException extends CodestarNotificationsServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends CodestarNotifi
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let ConcurrentModificationException$1 = class ConcurrentModificationException extends CodestarNotificationsServiceException$1 {
133
+ }
134
+ class ConcurrentModificationException extends CodestarNotificationsServiceException {
135
135
  name = "ConcurrentModificationException";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ let ConcurrentModificationException$1 = class ConcurrentModificationException ex
144
144
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- };
148
- let ConfigurationException$1 = class ConfigurationException extends CodestarNotificationsServiceException$1 {
147
+ }
148
+ class ConfigurationException extends CodestarNotificationsServiceException {
149
149
  name = "ConfigurationException";
150
150
  $fault = "client";
151
151
  Message;
@@ -158,8 +158,8 @@ let ConfigurationException$1 = class ConfigurationException extends CodestarNoti
158
158
  Object.setPrototypeOf(this, ConfigurationException.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- };
162
- let LimitExceededException$1 = class LimitExceededException extends CodestarNotificationsServiceException$1 {
161
+ }
162
+ class LimitExceededException extends CodestarNotificationsServiceException {
163
163
  name = "LimitExceededException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ let LimitExceededException$1 = class LimitExceededException extends CodestarNoti
172
172
  Object.setPrototypeOf(this, LimitExceededException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- };
176
- let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends CodestarNotificationsServiceException$1 {
175
+ }
176
+ class ResourceAlreadyExistsException extends CodestarNotificationsServiceException {
177
177
  name = "ResourceAlreadyExistsException";
178
178
  $fault = "client";
179
179
  Message;
@@ -186,8 +186,8 @@ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException exte
186
186
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- };
190
- let ValidationException$1 = class ValidationException extends CodestarNotificationsServiceException$1 {
189
+ }
190
+ class ValidationException extends CodestarNotificationsServiceException {
191
191
  name = "ValidationException";
192
192
  $fault = "client";
193
193
  Message;
@@ -200,8 +200,8 @@ let ValidationException$1 = class ValidationException extends CodestarNotificati
200
200
  Object.setPrototypeOf(this, ValidationException.prototype);
201
201
  this.Message = opts.Message;
202
202
  }
203
- };
204
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodestarNotificationsServiceException$1 {
203
+ }
204
+ class ResourceNotFoundException extends CodestarNotificationsServiceException {
205
205
  name = "ResourceNotFoundException";
206
206
  $fault = "client";
207
207
  Message;
@@ -214,8 +214,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Codest
214
214
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
215
215
  this.Message = opts.Message;
216
216
  }
217
- };
218
- let InvalidNextTokenException$1 = class InvalidNextTokenException extends CodestarNotificationsServiceException$1 {
217
+ }
218
+ class InvalidNextTokenException extends CodestarNotificationsServiceException {
219
219
  name = "InvalidNextTokenException";
220
220
  $fault = "client";
221
221
  Message;
@@ -228,7 +228,7 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends Codest
228
228
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
229
229
  this.Message = opts.Message;
230
230
  }
231
- };
231
+ }
232
232
 
233
233
  const _A = "Arn";
234
234
  const _ADE = "AccessDeniedException";
@@ -330,13 +330,13 @@ const _tK = "tagKeys";
330
330
  const n0 = "com.amazonaws.codestarnotifications";
331
331
  var NotificationRuleName = [0, n0, _NRN, 8, 0];
332
332
  var TargetAddress = [0, n0, _TA, 8, 0];
333
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
334
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
335
- var ConcurrentModificationException = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
336
- schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
337
- var ConfigurationException = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
338
- schema.TypeRegistry.for(n0).registerError(ConfigurationException, ConfigurationException$1);
339
- var CreateNotificationRuleRequest = [
333
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
334
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
335
+ var ConcurrentModificationException$ = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
336
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
337
+ var ConfigurationException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
338
+ schema.TypeRegistry.for(n0).registerError(ConfigurationException$, ConfigurationException);
339
+ var CreateNotificationRuleRequest$ = [
340
340
  3,
341
341
  n0,
342
342
  _CNRR,
@@ -344,13 +344,13 @@ var CreateNotificationRuleRequest = [
344
344
  [_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
345
345
  [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
346
346
  ];
347
- var CreateNotificationRuleResult = [3, n0, _CNRRr, 0, [_A], [0]];
348
- var DeleteNotificationRuleRequest = [3, n0, _DNRR, 0, [_A], [0]];
349
- var DeleteNotificationRuleResult = [3, n0, _DNRRe, 0, [_A], [0]];
350
- var DeleteTargetRequest = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
351
- var DeleteTargetResult = [3, n0, _DTRe, 0, [], []];
352
- var DescribeNotificationRuleRequest = [3, n0, _DNRRes, 0, [_A], [0]];
353
- var DescribeNotificationRuleResult = [
347
+ var CreateNotificationRuleResult$ = [3, n0, _CNRRr, 0, [_A], [0]];
348
+ var DeleteNotificationRuleRequest$ = [3, n0, _DNRR, 0, [_A], [0]];
349
+ var DeleteNotificationRuleResult$ = [3, n0, _DNRRe, 0, [_A], [0]];
350
+ var DeleteTargetRequest$ = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
351
+ var DeleteTargetResult$ = [3, n0, _DTRe, 0, [], []];
352
+ var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes, 0, [_A], [0]];
353
+ var DescribeNotificationRuleResult$ = [
354
354
  3,
355
355
  n0,
356
356
  _DNRResc,
@@ -358,13 +358,13 @@ var DescribeNotificationRuleResult = [
358
358
  [_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
359
359
  [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
360
360
  ];
361
- var EventTypeSummary = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
362
- var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
363
- schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
364
- var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
365
- schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
366
- var ListEventTypesFilter = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
367
- var ListEventTypesRequest = [
361
+ var EventTypeSummary$ = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
362
+ var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
363
+ schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
364
+ var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
365
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
366
+ var ListEventTypesFilter$ = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
367
+ var ListEventTypesRequest$ = [
368
368
  3,
369
369
  n0,
370
370
  _LETR,
@@ -372,9 +372,9 @@ var ListEventTypesRequest = [
372
372
  [_F, _NT, _MR],
373
373
  [() => ListEventTypesFilters, 0, 1],
374
374
  ];
375
- var ListEventTypesResult = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
376
- var ListNotificationRulesFilter = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
377
- var ListNotificationRulesRequest = [
375
+ var ListEventTypesResult$ = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
376
+ var ListNotificationRulesFilter$ = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
377
+ var ListNotificationRulesRequest$ = [
378
378
  3,
379
379
  n0,
380
380
  _LNRR,
@@ -382,7 +382,7 @@ var ListNotificationRulesRequest = [
382
382
  [_F, _NT, _MR],
383
383
  [() => ListNotificationRulesFilters, 0, 1],
384
384
  ];
385
- var ListNotificationRulesResult = [
385
+ var ListNotificationRulesResult$ = [
386
386
  3,
387
387
  n0,
388
388
  _LNRRi,
@@ -390,10 +390,10 @@ var ListNotificationRulesResult = [
390
390
  [_NT, _NR],
391
391
  [0, () => NotificationRuleBatch],
392
392
  ];
393
- var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_A], [0]];
394
- var ListTagsForResourceResult = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
395
- var ListTargetsFilter = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
396
- var ListTargetsRequest = [
393
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_A], [0]];
394
+ var ListTagsForResourceResult$ = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
395
+ var ListTargetsFilter$ = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
396
+ var ListTargetsRequest$ = [
397
397
  3,
398
398
  n0,
399
399
  _LTR,
@@ -401,21 +401,21 @@ var ListTargetsRequest = [
401
401
  [_F, _NT, _MR],
402
402
  [() => ListTargetsFilters, 0, 1],
403
403
  ];
404
- var ListTargetsResult = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
405
- var NotificationRuleSummary = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
406
- var ResourceAlreadyExistsException = [-3, n0, _RAEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
407
- schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
408
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
409
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
410
- var SubscribeRequest = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target, 0], 0]];
411
- var SubscribeResult = [3, n0, _SRu, 0, [_A], [0]];
412
- var TagResourceRequest = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
413
- var TagResourceResult = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
414
- var Target = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
415
- var TargetSummary = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
416
- var UnsubscribeRequest = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
417
- var UnsubscribeResult = [3, n0, _URn, 0, [_A], [0]];
418
- var UntagResourceRequest = [
404
+ var ListTargetsResult$ = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
405
+ var NotificationRuleSummary$ = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
406
+ var ResourceAlreadyExistsException$ = [-3, n0, _RAEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
407
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
408
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
409
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
410
+ var SubscribeRequest$ = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target$, 0], 0]];
411
+ var SubscribeResult$ = [3, n0, _SRu, 0, [_A], [0]];
412
+ var TagResourceRequest$ = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
413
+ var TagResourceResult$ = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
414
+ var Target$ = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
415
+ var TargetSummary$ = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
416
+ var UnsubscribeRequest$ = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
417
+ var UnsubscribeResult$ = [3, n0, _URn, 0, [_A], [0]];
418
+ var UntagResourceRequest$ = [
419
419
  3,
420
420
  n0,
421
421
  _URR,
@@ -426,8 +426,8 @@ var UntagResourceRequest = [
426
426
  [64 | 0, { [_hQ]: _tK }],
427
427
  ],
428
428
  ];
429
- var UntagResourceResult = [3, n0, _URRn, 0, [], []];
430
- var UpdateNotificationRuleRequest = [
429
+ var UntagResourceResult$ = [3, n0, _URRn, 0, [], []];
430
+ var UpdateNotificationRuleRequest$ = [
431
431
  3,
432
432
  n0,
433
433
  _UNRR,
@@ -435,10 +435,10 @@ var UpdateNotificationRuleRequest = [
435
435
  [_A, _N, _S, _ETI, _T, _DT],
436
436
  [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
437
437
  ];
438
- var UpdateNotificationRuleResult = [3, n0, _UNRRp, 0, [], []];
439
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
440
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
441
- var CodestarNotificationsServiceException = [
438
+ var UpdateNotificationRuleResult$ = [3, n0, _UNRRp, 0, [], []];
439
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
440
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
441
+ var CodestarNotificationsServiceException$ = [
442
442
  -3,
443
443
  _s,
444
444
  "CodestarNotificationsServiceException",
@@ -446,117 +446,117 @@ var CodestarNotificationsServiceException = [
446
446
  [],
447
447
  [],
448
448
  ];
449
- schema.TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException, CodestarNotificationsServiceException$1);
450
- var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary];
451
- var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter];
452
- var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter];
453
- var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter];
454
- var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary];
455
- var Targets = [1, n0, _T, 0, [() => Target, 0]];
456
- var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary, 0]];
457
- var CreateNotificationRule = [
449
+ schema.TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException$, CodestarNotificationsServiceException);
450
+ var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary$];
451
+ var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter$];
452
+ var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter$];
453
+ var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter$];
454
+ var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary$];
455
+ var Targets = [1, n0, _T, 0, [() => Target$, 0]];
456
+ var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary$, 0]];
457
+ var CreateNotificationRule$ = [
458
458
  9,
459
459
  n0,
460
460
  _CNR,
461
461
  { [_h]: ["POST", "/createNotificationRule", 200] },
462
- () => CreateNotificationRuleRequest,
463
- () => CreateNotificationRuleResult,
462
+ () => CreateNotificationRuleRequest$,
463
+ () => CreateNotificationRuleResult$,
464
464
  ];
465
- var DeleteNotificationRule = [
465
+ var DeleteNotificationRule$ = [
466
466
  9,
467
467
  n0,
468
468
  _DNR,
469
469
  { [_h]: ["POST", "/deleteNotificationRule", 200] },
470
- () => DeleteNotificationRuleRequest,
471
- () => DeleteNotificationRuleResult,
470
+ () => DeleteNotificationRuleRequest$,
471
+ () => DeleteNotificationRuleResult$,
472
472
  ];
473
- var DeleteTarget = [
473
+ var DeleteTarget$ = [
474
474
  9,
475
475
  n0,
476
476
  _DTe,
477
477
  { [_h]: ["POST", "/deleteTarget", 200] },
478
- () => DeleteTargetRequest,
479
- () => DeleteTargetResult,
478
+ () => DeleteTargetRequest$,
479
+ () => DeleteTargetResult$,
480
480
  ];
481
- var DescribeNotificationRule = [
481
+ var DescribeNotificationRule$ = [
482
482
  9,
483
483
  n0,
484
484
  _DNRe,
485
485
  { [_h]: ["POST", "/describeNotificationRule", 200] },
486
- () => DescribeNotificationRuleRequest,
487
- () => DescribeNotificationRuleResult,
486
+ () => DescribeNotificationRuleRequest$,
487
+ () => DescribeNotificationRuleResult$,
488
488
  ];
489
- var ListEventTypes = [
489
+ var ListEventTypes$ = [
490
490
  9,
491
491
  n0,
492
492
  _LET,
493
493
  { [_h]: ["POST", "/listEventTypes", 200] },
494
- () => ListEventTypesRequest,
495
- () => ListEventTypesResult,
494
+ () => ListEventTypesRequest$,
495
+ () => ListEventTypesResult$,
496
496
  ];
497
- var ListNotificationRules = [
497
+ var ListNotificationRules$ = [
498
498
  9,
499
499
  n0,
500
500
  _LNR,
501
501
  { [_h]: ["POST", "/listNotificationRules", 200] },
502
- () => ListNotificationRulesRequest,
503
- () => ListNotificationRulesResult,
502
+ () => ListNotificationRulesRequest$,
503
+ () => ListNotificationRulesResult$,
504
504
  ];
505
- var ListTagsForResource = [
505
+ var ListTagsForResource$ = [
506
506
  9,
507
507
  n0,
508
508
  _LTFR,
509
509
  { [_h]: ["POST", "/listTagsForResource", 200] },
510
- () => ListTagsForResourceRequest,
511
- () => ListTagsForResourceResult,
510
+ () => ListTagsForResourceRequest$,
511
+ () => ListTagsForResourceResult$,
512
512
  ];
513
- var ListTargets = [
513
+ var ListTargets$ = [
514
514
  9,
515
515
  n0,
516
516
  _LT,
517
517
  { [_h]: ["POST", "/listTargets", 200] },
518
- () => ListTargetsRequest,
519
- () => ListTargetsResult,
518
+ () => ListTargetsRequest$,
519
+ () => ListTargetsResult$,
520
520
  ];
521
- var Subscribe = [
521
+ var Subscribe$ = [
522
522
  9,
523
523
  n0,
524
524
  _Su,
525
525
  { [_h]: ["POST", "/subscribe", 200] },
526
- () => SubscribeRequest,
527
- () => SubscribeResult,
526
+ () => SubscribeRequest$,
527
+ () => SubscribeResult$,
528
528
  ];
529
- var TagResource = [
529
+ var TagResource$ = [
530
530
  9,
531
531
  n0,
532
532
  _TR,
533
533
  { [_h]: ["POST", "/tagResource", 200] },
534
- () => TagResourceRequest,
535
- () => TagResourceResult,
534
+ () => TagResourceRequest$,
535
+ () => TagResourceResult$,
536
536
  ];
537
- var Unsubscribe = [
537
+ var Unsubscribe$ = [
538
538
  9,
539
539
  n0,
540
540
  _U,
541
541
  { [_h]: ["POST", "/unsubscribe", 200] },
542
- () => UnsubscribeRequest,
543
- () => UnsubscribeResult,
542
+ () => UnsubscribeRequest$,
543
+ () => UnsubscribeResult$,
544
544
  ];
545
- var UntagResource = [
545
+ var UntagResource$ = [
546
546
  9,
547
547
  n0,
548
548
  _URnt,
549
549
  { [_h]: ["POST", "/untagResource/{Arn}", 200] },
550
- () => UntagResourceRequest,
551
- () => UntagResourceResult,
550
+ () => UntagResourceRequest$,
551
+ () => UntagResourceResult$,
552
552
  ];
553
- var UpdateNotificationRule = [
553
+ var UpdateNotificationRule$ = [
554
554
  9,
555
555
  n0,
556
556
  _UNR,
557
557
  { [_h]: ["POST", "/updateNotificationRule", 200] },
558
- () => UpdateNotificationRuleRequest,
559
- () => UpdateNotificationRuleResult,
558
+ () => UpdateNotificationRuleRequest$,
559
+ () => UpdateNotificationRuleResult$,
560
560
  ];
561
561
 
562
562
  class CreateNotificationRuleCommand extends smithyClient.Command
@@ -567,7 +567,7 @@ class CreateNotificationRuleCommand extends smithyClient.Command
567
567
  })
568
568
  .s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
569
569
  .n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
570
- .sc(CreateNotificationRule)
570
+ .sc(CreateNotificationRule$)
571
571
  .build() {
572
572
  }
573
573
 
@@ -579,7 +579,7 @@ class DeleteNotificationRuleCommand extends smithyClient.Command
579
579
  })
580
580
  .s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
581
581
  .n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
582
- .sc(DeleteNotificationRule)
582
+ .sc(DeleteNotificationRule$)
583
583
  .build() {
584
584
  }
585
585
 
@@ -591,7 +591,7 @@ class DeleteTargetCommand extends smithyClient.Command
591
591
  })
592
592
  .s("CodeStarNotifications_20191015", "DeleteTarget", {})
593
593
  .n("CodestarNotificationsClient", "DeleteTargetCommand")
594
- .sc(DeleteTarget)
594
+ .sc(DeleteTarget$)
595
595
  .build() {
596
596
  }
597
597
 
@@ -603,7 +603,7 @@ class DescribeNotificationRuleCommand extends smithyClient.Command
603
603
  })
604
604
  .s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
605
605
  .n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
606
- .sc(DescribeNotificationRule)
606
+ .sc(DescribeNotificationRule$)
607
607
  .build() {
608
608
  }
609
609
 
@@ -615,7 +615,7 @@ class ListEventTypesCommand extends smithyClient.Command
615
615
  })
616
616
  .s("CodeStarNotifications_20191015", "ListEventTypes", {})
617
617
  .n("CodestarNotificationsClient", "ListEventTypesCommand")
618
- .sc(ListEventTypes)
618
+ .sc(ListEventTypes$)
619
619
  .build() {
620
620
  }
621
621
 
@@ -627,7 +627,7 @@ class ListNotificationRulesCommand extends smithyClient.Command
627
627
  })
628
628
  .s("CodeStarNotifications_20191015", "ListNotificationRules", {})
629
629
  .n("CodestarNotificationsClient", "ListNotificationRulesCommand")
630
- .sc(ListNotificationRules)
630
+ .sc(ListNotificationRules$)
631
631
  .build() {
632
632
  }
633
633
 
@@ -639,7 +639,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
639
639
  })
640
640
  .s("CodeStarNotifications_20191015", "ListTagsForResource", {})
641
641
  .n("CodestarNotificationsClient", "ListTagsForResourceCommand")
642
- .sc(ListTagsForResource)
642
+ .sc(ListTagsForResource$)
643
643
  .build() {
644
644
  }
645
645
 
@@ -651,7 +651,7 @@ class ListTargetsCommand extends smithyClient.Command
651
651
  })
652
652
  .s("CodeStarNotifications_20191015", "ListTargets", {})
653
653
  .n("CodestarNotificationsClient", "ListTargetsCommand")
654
- .sc(ListTargets)
654
+ .sc(ListTargets$)
655
655
  .build() {
656
656
  }
657
657
 
@@ -663,7 +663,7 @@ class SubscribeCommand extends smithyClient.Command
663
663
  })
664
664
  .s("CodeStarNotifications_20191015", "Subscribe", {})
665
665
  .n("CodestarNotificationsClient", "SubscribeCommand")
666
- .sc(Subscribe)
666
+ .sc(Subscribe$)
667
667
  .build() {
668
668
  }
669
669
 
@@ -675,7 +675,7 @@ class TagResourceCommand extends smithyClient.Command
675
675
  })
676
676
  .s("CodeStarNotifications_20191015", "TagResource", {})
677
677
  .n("CodestarNotificationsClient", "TagResourceCommand")
678
- .sc(TagResource)
678
+ .sc(TagResource$)
679
679
  .build() {
680
680
  }
681
681
 
@@ -687,7 +687,7 @@ class UnsubscribeCommand extends smithyClient.Command
687
687
  })
688
688
  .s("CodeStarNotifications_20191015", "Unsubscribe", {})
689
689
  .n("CodestarNotificationsClient", "UnsubscribeCommand")
690
- .sc(Unsubscribe)
690
+ .sc(Unsubscribe$)
691
691
  .build() {
692
692
  }
693
693
 
@@ -699,7 +699,7 @@ class UntagResourceCommand extends smithyClient.Command
699
699
  })
700
700
  .s("CodeStarNotifications_20191015", "UntagResource", {})
701
701
  .n("CodestarNotificationsClient", "UntagResourceCommand")
702
- .sc(UntagResource)
702
+ .sc(UntagResource$)
703
703
  .build() {
704
704
  }
705
705
 
@@ -711,7 +711,7 @@ class UpdateNotificationRuleCommand extends smithyClient.Command
711
711
  })
712
712
  .s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
713
713
  .n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
714
- .sc(UpdateNotificationRule)
714
+ .sc(UpdateNotificationRule$)
715
715
  .build() {
716
716
  }
717
717
 
@@ -779,36 +779,91 @@ Object.defineProperty(exports, "__Client", {
779
779
  enumerable: true,
780
780
  get: function () { return smithyClient.Client; }
781
781
  });
782
- exports.AccessDeniedException = AccessDeniedException$1;
782
+ exports.AccessDeniedException = AccessDeniedException;
783
+ exports.AccessDeniedException$ = AccessDeniedException$;
783
784
  exports.CodestarNotifications = CodestarNotifications;
784
785
  exports.CodestarNotificationsClient = CodestarNotificationsClient;
785
- exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException$1;
786
- exports.ConcurrentModificationException = ConcurrentModificationException$1;
787
- exports.ConfigurationException = ConfigurationException$1;
786
+ exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException;
787
+ exports.CodestarNotificationsServiceException$ = CodestarNotificationsServiceException$;
788
+ exports.ConcurrentModificationException = ConcurrentModificationException;
789
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
790
+ exports.ConfigurationException = ConfigurationException;
791
+ exports.ConfigurationException$ = ConfigurationException$;
792
+ exports.CreateNotificationRule$ = CreateNotificationRule$;
788
793
  exports.CreateNotificationRuleCommand = CreateNotificationRuleCommand;
794
+ exports.CreateNotificationRuleRequest$ = CreateNotificationRuleRequest$;
795
+ exports.CreateNotificationRuleResult$ = CreateNotificationRuleResult$;
796
+ exports.DeleteNotificationRule$ = DeleteNotificationRule$;
789
797
  exports.DeleteNotificationRuleCommand = DeleteNotificationRuleCommand;
798
+ exports.DeleteNotificationRuleRequest$ = DeleteNotificationRuleRequest$;
799
+ exports.DeleteNotificationRuleResult$ = DeleteNotificationRuleResult$;
800
+ exports.DeleteTarget$ = DeleteTarget$;
790
801
  exports.DeleteTargetCommand = DeleteTargetCommand;
802
+ exports.DeleteTargetRequest$ = DeleteTargetRequest$;
803
+ exports.DeleteTargetResult$ = DeleteTargetResult$;
804
+ exports.DescribeNotificationRule$ = DescribeNotificationRule$;
791
805
  exports.DescribeNotificationRuleCommand = DescribeNotificationRuleCommand;
806
+ exports.DescribeNotificationRuleRequest$ = DescribeNotificationRuleRequest$;
807
+ exports.DescribeNotificationRuleResult$ = DescribeNotificationRuleResult$;
792
808
  exports.DetailType = DetailType;
793
- exports.InvalidNextTokenException = InvalidNextTokenException$1;
794
- exports.LimitExceededException = LimitExceededException$1;
809
+ exports.EventTypeSummary$ = EventTypeSummary$;
810
+ exports.InvalidNextTokenException = InvalidNextTokenException;
811
+ exports.InvalidNextTokenException$ = InvalidNextTokenException$;
812
+ exports.LimitExceededException = LimitExceededException;
813
+ exports.LimitExceededException$ = LimitExceededException$;
814
+ exports.ListEventTypes$ = ListEventTypes$;
795
815
  exports.ListEventTypesCommand = ListEventTypesCommand;
816
+ exports.ListEventTypesFilter$ = ListEventTypesFilter$;
796
817
  exports.ListEventTypesFilterName = ListEventTypesFilterName;
818
+ exports.ListEventTypesRequest$ = ListEventTypesRequest$;
819
+ exports.ListEventTypesResult$ = ListEventTypesResult$;
820
+ exports.ListNotificationRules$ = ListNotificationRules$;
797
821
  exports.ListNotificationRulesCommand = ListNotificationRulesCommand;
822
+ exports.ListNotificationRulesFilter$ = ListNotificationRulesFilter$;
798
823
  exports.ListNotificationRulesFilterName = ListNotificationRulesFilterName;
824
+ exports.ListNotificationRulesRequest$ = ListNotificationRulesRequest$;
825
+ exports.ListNotificationRulesResult$ = ListNotificationRulesResult$;
826
+ exports.ListTagsForResource$ = ListTagsForResource$;
799
827
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
828
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
829
+ exports.ListTagsForResourceResult$ = ListTagsForResourceResult$;
830
+ exports.ListTargets$ = ListTargets$;
800
831
  exports.ListTargetsCommand = ListTargetsCommand;
832
+ exports.ListTargetsFilter$ = ListTargetsFilter$;
801
833
  exports.ListTargetsFilterName = ListTargetsFilterName;
834
+ exports.ListTargetsRequest$ = ListTargetsRequest$;
835
+ exports.ListTargetsResult$ = ListTargetsResult$;
802
836
  exports.NotificationRuleStatus = NotificationRuleStatus;
803
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
804
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
837
+ exports.NotificationRuleSummary$ = NotificationRuleSummary$;
838
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
839
+ exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
840
+ exports.ResourceNotFoundException = ResourceNotFoundException;
841
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
842
+ exports.Subscribe$ = Subscribe$;
805
843
  exports.SubscribeCommand = SubscribeCommand;
844
+ exports.SubscribeRequest$ = SubscribeRequest$;
845
+ exports.SubscribeResult$ = SubscribeResult$;
846
+ exports.TagResource$ = TagResource$;
806
847
  exports.TagResourceCommand = TagResourceCommand;
848
+ exports.TagResourceRequest$ = TagResourceRequest$;
849
+ exports.TagResourceResult$ = TagResourceResult$;
850
+ exports.Target$ = Target$;
807
851
  exports.TargetStatus = TargetStatus;
852
+ exports.TargetSummary$ = TargetSummary$;
853
+ exports.Unsubscribe$ = Unsubscribe$;
808
854
  exports.UnsubscribeCommand = UnsubscribeCommand;
855
+ exports.UnsubscribeRequest$ = UnsubscribeRequest$;
856
+ exports.UnsubscribeResult$ = UnsubscribeResult$;
857
+ exports.UntagResource$ = UntagResource$;
809
858
  exports.UntagResourceCommand = UntagResourceCommand;
859
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
860
+ exports.UntagResourceResult$ = UntagResourceResult$;
861
+ exports.UpdateNotificationRule$ = UpdateNotificationRule$;
810
862
  exports.UpdateNotificationRuleCommand = UpdateNotificationRuleCommand;
811
- exports.ValidationException = ValidationException$1;
863
+ exports.UpdateNotificationRuleRequest$ = UpdateNotificationRuleRequest$;
864
+ exports.UpdateNotificationRuleResult$ = UpdateNotificationRuleResult$;
865
+ exports.ValidationException = ValidationException;
866
+ exports.ValidationException$ = ValidationException$;
812
867
  exports.paginateListEventTypes = paginateListEventTypes;
813
868
  exports.paginateListNotificationRules = paginateListNotificationRules;
814
869
  exports.paginateListTargets = paginateListTargets;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codestarnotifications" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.codestarnotifications",
32
+ version: "2019-10-15",
33
+ serviceTarget: "CodeStarNotifications_20191015",
34
+ },
30
35
  serviceId: config?.serviceId ?? "codestar notifications",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateNotificationRule } from "../schemas/schemas_0";
4
+ import { CreateNotificationRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateNotificationRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateNotificationRuleCommand extends $Command
11
11
  })
12
12
  .s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
13
13
  .n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
14
- .sc(CreateNotificationRule)
14
+ .sc(CreateNotificationRule$)
15
15
  .build() {
16
16
  }