@aws-sdk/client-codestar-notifications 3.957.0 → 3.962.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/README.md CHANGED
@@ -86,10 +86,8 @@ your account. </p>
86
86
  </p>
87
87
 
88
88
  ## Installing
89
-
90
89
  To install this package, simply type add or install @aws-sdk/client-codestar-notifications
91
90
  using your favorite package manager:
92
-
93
91
  - `npm install @aws-sdk/client-codestar-notifications`
94
92
  - `yarn add @aws-sdk/client-codestar-notifications`
95
93
  - `pnpm add @aws-sdk/client-codestar-notifications`
@@ -125,9 +123,7 @@ To send a request, you:
125
123
  // a client can be shared by different commands.
126
124
  const client = new CodestarNotificationsClient({ region: "REGION" });
127
125
 
128
- const params = {
129
- /** input parameters */
130
- };
126
+ const params = { /** input parameters */ };
131
127
  const command = new ListTargetsCommand(params);
132
128
  ```
133
129
 
@@ -286,7 +282,6 @@ CreateNotificationRule
286
282
  </summary>
287
283
 
288
284
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/CreateNotificationRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/CreateNotificationRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/CreateNotificationRuleCommandOutput/)
289
-
290
285
  </details>
291
286
  <details>
292
287
  <summary>
@@ -294,7 +289,6 @@ DeleteNotificationRule
294
289
  </summary>
295
290
 
296
291
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/DeleteNotificationRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DeleteNotificationRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DeleteNotificationRuleCommandOutput/)
297
-
298
292
  </details>
299
293
  <details>
300
294
  <summary>
@@ -302,7 +296,6 @@ DeleteTarget
302
296
  </summary>
303
297
 
304
298
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/DeleteTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DeleteTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DeleteTargetCommandOutput/)
305
-
306
299
  </details>
307
300
  <details>
308
301
  <summary>
@@ -310,7 +303,6 @@ DescribeNotificationRule
310
303
  </summary>
311
304
 
312
305
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/DescribeNotificationRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DescribeNotificationRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/DescribeNotificationRuleCommandOutput/)
313
-
314
306
  </details>
315
307
  <details>
316
308
  <summary>
@@ -318,7 +310,6 @@ ListEventTypes
318
310
  </summary>
319
311
 
320
312
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/ListEventTypesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListEventTypesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListEventTypesCommandOutput/)
321
-
322
313
  </details>
323
314
  <details>
324
315
  <summary>
@@ -326,7 +317,6 @@ ListNotificationRules
326
317
  </summary>
327
318
 
328
319
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/ListNotificationRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListNotificationRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListNotificationRulesCommandOutput/)
329
-
330
320
  </details>
331
321
  <details>
332
322
  <summary>
@@ -334,7 +324,6 @@ ListTagsForResource
334
324
  </summary>
335
325
 
336
326
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListTagsForResourceCommandOutput/)
337
-
338
327
  </details>
339
328
  <details>
340
329
  <summary>
@@ -342,7 +331,6 @@ ListTargets
342
331
  </summary>
343
332
 
344
333
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/ListTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/ListTargetsCommandOutput/)
345
-
346
334
  </details>
347
335
  <details>
348
336
  <summary>
@@ -350,7 +338,6 @@ Subscribe
350
338
  </summary>
351
339
 
352
340
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/SubscribeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/SubscribeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/SubscribeCommandOutput/)
353
-
354
341
  </details>
355
342
  <details>
356
343
  <summary>
@@ -358,7 +345,6 @@ TagResource
358
345
  </summary>
359
346
 
360
347
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/TagResourceCommandOutput/)
361
-
362
348
  </details>
363
349
  <details>
364
350
  <summary>
@@ -366,7 +352,6 @@ Unsubscribe
366
352
  </summary>
367
353
 
368
354
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/UnsubscribeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UnsubscribeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UnsubscribeCommandOutput/)
369
-
370
355
  </details>
371
356
  <details>
372
357
  <summary>
@@ -374,7 +359,6 @@ UntagResource
374
359
  </summary>
375
360
 
376
361
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UntagResourceCommandOutput/)
377
-
378
362
  </details>
379
363
  <details>
380
364
  <summary>
@@ -382,5 +366,4 @@ UpdateNotificationRule
382
366
  </summary>
383
367
 
384
368
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codestar-notifications/command/UpdateNotificationRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UpdateNotificationRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codestar-notifications/Interface/UpdateNotificationRuleCommandOutput/)
385
-
386
369
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultCodestarNotificationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultCodestarNotificationsHttpAuthSchemeParametersProvider = defaultCodestarNotificationsHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -330,233 +330,282 @@ 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]];
333
+ var AccessDeniedException$ = [-3, n0, _ADE,
334
+ { [_e]: _c, [_hE]: 403 },
335
+ [_M],
336
+ [0]
337
+ ];
334
338
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
335
- var ConcurrentModificationException$ = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
339
+ var ConcurrentModificationException$ = [-3, n0, _CME,
340
+ { [_e]: _c, [_hE]: 400 },
341
+ [_M],
342
+ [0]
343
+ ];
336
344
  schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
337
- var ConfigurationException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
345
+ var ConfigurationException$ = [-3, n0, _CE,
346
+ { [_e]: _c, [_hE]: 400 },
347
+ [_M],
348
+ [0]
349
+ ];
338
350
  schema.TypeRegistry.for(n0).registerError(ConfigurationException$, ConfigurationException);
339
- var CreateNotificationRuleRequest$ = [
340
- 3,
341
- n0,
342
- _CNRR,
351
+ var CreateNotificationRuleRequest$ = [3, n0, _CNRR,
343
352
  0,
344
353
  [_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
345
- [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
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$ = [
354
- 3,
355
- n0,
356
- _DNRResc,
354
+ [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0]
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]
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]
375
+ ];
376
+ var DeleteTargetResult$ = [3, n0, _DTRe,
377
+ 0,
378
+ [],
379
+ []
380
+ ];
381
+ var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes,
382
+ 0,
383
+ [_A],
384
+ [0]
385
+ ];
386
+ var DescribeNotificationRuleResult$ = [3, n0, _DNRResc,
357
387
  0,
358
388
  [_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
359
- [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
389
+ [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0]
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]
360
400
  ];
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
401
  schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
364
- var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
402
+ var LimitExceededException$ = [-3, n0, _LEE,
403
+ { [_e]: _c, [_hE]: 400 },
404
+ [_M],
405
+ [0]
406
+ ];
365
407
  schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
366
- var ListEventTypesFilter$ = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
367
- var ListEventTypesRequest$ = [
368
- 3,
369
- n0,
370
- _LETR,
408
+ var ListEventTypesFilter$ = [3, n0, _LETF,
409
+ 0,
410
+ [_N, _V],
411
+ [0, 0]
412
+ ];
413
+ var ListEventTypesRequest$ = [3, n0, _LETR,
371
414
  0,
372
415
  [_F, _NT, _MR],
373
- [() => ListEventTypesFilters, 0, 1],
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]
374
427
  ];
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
- 3,
379
- n0,
380
- _LNRR,
428
+ var ListNotificationRulesRequest$ = [3, n0, _LNRR,
381
429
  0,
382
430
  [_F, _NT, _MR],
383
- [() => ListNotificationRulesFilters, 0, 1],
431
+ [() => ListNotificationRulesFilters, 0, 1]
384
432
  ];
385
- var ListNotificationRulesResult$ = [
386
- 3,
387
- n0,
388
- _LNRRi,
433
+ var ListNotificationRulesResult$ = [3, n0, _LNRRi,
389
434
  0,
390
435
  [_NT, _NR],
391
- [0, () => NotificationRuleBatch],
436
+ [0, () => NotificationRuleBatch]
437
+ ];
438
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
439
+ 0,
440
+ [_A],
441
+ [0]
442
+ ];
443
+ var ListTagsForResourceResult$ = [3, n0, _LTFRRi,
444
+ 0,
445
+ [_Ta],
446
+ [128 | 0]
392
447
  ];
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
- 3,
398
- n0,
399
- _LTR,
448
+ var ListTargetsFilter$ = [3, n0, _LTF,
449
+ 0,
450
+ [_N, _V],
451
+ [0, 0]
452
+ ];
453
+ var ListTargetsRequest$ = [3, n0, _LTR,
400
454
  0,
401
455
  [_F, _NT, _MR],
402
- [() => ListTargetsFilters, 0, 1],
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]
403
472
  ];
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
473
  schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
408
- var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
474
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
475
+ { [_e]: _c, [_hE]: 404 },
476
+ [_M],
477
+ [0]
478
+ ];
409
479
  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
- 3,
420
- n0,
421
- _URR,
480
+ var SubscribeRequest$ = [3, n0, _SR,
481
+ 0,
482
+ [_A, _Tar, _CRT],
483
+ [0, [() => Target$, 0], 0]
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]
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]]
514
+ ];
515
+ var UnsubscribeResult$ = [3, n0, _URn,
516
+ 0,
517
+ [_A],
518
+ [0]
519
+ ];
520
+ var UntagResourceRequest$ = [3, n0, _URR,
422
521
  0,
423
522
  [_A, _TK],
424
- [
425
- [0, 1],
426
- [64 | 0, { [_hQ]: _tK }],
427
- ],
523
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]]
524
+ ];
525
+ var UntagResourceResult$ = [3, n0, _URRn,
526
+ 0,
527
+ [],
528
+ []
428
529
  ];
429
- var UntagResourceResult$ = [3, n0, _URRn, 0, [], []];
430
- var UpdateNotificationRuleRequest$ = [
431
- 3,
432
- n0,
433
- _UNRR,
530
+ var UpdateNotificationRuleRequest$ = [3, n0, _UNRR,
434
531
  0,
435
532
  [_A, _N, _S, _ETI, _T, _DT],
436
- [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
533
+ [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0]
437
534
  ];
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
- -3,
443
- _s,
444
- "CodestarNotificationsServiceException",
535
+ var UpdateNotificationRuleResult$ = [3, n0, _UNRRp,
445
536
  0,
446
537
  [],
447
- [],
538
+ []
539
+ ];
540
+ var ValidationException$ = [-3, n0, _VE,
541
+ { [_e]: _c, [_hE]: 400 },
542
+ [_M],
543
+ [0]
448
544
  ];
545
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
546
+ var CodestarNotificationsServiceException$ = [-3, _s, "CodestarNotificationsServiceException", 0, [], []];
449
547
  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
- 9,
459
- n0,
460
- _CNR,
461
- { [_h]: ["POST", "/createNotificationRule", 200] },
462
- () => CreateNotificationRuleRequest$,
463
- () => CreateNotificationRuleResult$,
464
- ];
465
- var DeleteNotificationRule$ = [
466
- 9,
467
- n0,
468
- _DNR,
469
- { [_h]: ["POST", "/deleteNotificationRule", 200] },
470
- () => DeleteNotificationRuleRequest$,
471
- () => DeleteNotificationRuleResult$,
472
- ];
473
- var DeleteTarget$ = [
474
- 9,
475
- n0,
476
- _DTe,
477
- { [_h]: ["POST", "/deleteTarget", 200] },
478
- () => DeleteTargetRequest$,
479
- () => DeleteTargetResult$,
480
- ];
481
- var DescribeNotificationRule$ = [
482
- 9,
483
- n0,
484
- _DNRe,
485
- { [_h]: ["POST", "/describeNotificationRule", 200] },
486
- () => DescribeNotificationRuleRequest$,
487
- () => DescribeNotificationRuleResult$,
488
- ];
489
- var ListEventTypes$ = [
490
- 9,
491
- n0,
492
- _LET,
493
- { [_h]: ["POST", "/listEventTypes", 200] },
494
- () => ListEventTypesRequest$,
495
- () => ListEventTypesResult$,
496
- ];
497
- var ListNotificationRules$ = [
498
- 9,
499
- n0,
500
- _LNR,
501
- { [_h]: ["POST", "/listNotificationRules", 200] },
502
- () => ListNotificationRulesRequest$,
503
- () => ListNotificationRulesResult$,
504
- ];
505
- var ListTagsForResource$ = [
506
- 9,
507
- n0,
508
- _LTFR,
509
- { [_h]: ["POST", "/listTagsForResource", 200] },
510
- () => ListTagsForResourceRequest$,
511
- () => ListTagsForResourceResult$,
512
- ];
513
- var ListTargets$ = [
514
- 9,
515
- n0,
516
- _LT,
517
- { [_h]: ["POST", "/listTargets", 200] },
518
- () => ListTargetsRequest$,
519
- () => ListTargetsResult$,
520
- ];
521
- var Subscribe$ = [
522
- 9,
523
- n0,
524
- _Su,
525
- { [_h]: ["POST", "/subscribe", 200] },
526
- () => SubscribeRequest$,
527
- () => SubscribeResult$,
528
- ];
529
- var TagResource$ = [
530
- 9,
531
- n0,
532
- _TR,
533
- { [_h]: ["POST", "/tagResource", 200] },
534
- () => TagResourceRequest$,
535
- () => TagResourceResult$,
536
- ];
537
- var Unsubscribe$ = [
538
- 9,
539
- n0,
540
- _U,
541
- { [_h]: ["POST", "/unsubscribe", 200] },
542
- () => UnsubscribeRequest$,
543
- () => UnsubscribeResult$,
544
- ];
545
- var UntagResource$ = [
546
- 9,
547
- n0,
548
- _URnt,
549
- { [_h]: ["POST", "/untagResource/{Arn}", 200] },
550
- () => UntagResourceRequest$,
551
- () => UntagResourceResult$,
552
- ];
553
- var UpdateNotificationRule$ = [
554
- 9,
555
- n0,
556
- _UNR,
557
- { [_h]: ["POST", "/updateNotificationRule", 200] },
558
- () => UpdateNotificationRuleRequest$,
559
- () => UpdateNotificationRuleResult$,
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$
560
609
  ];
561
610
 
562
611
  class CreateNotificationRuleCommand extends smithyClient.Command
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultCodestarNotificationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -101,234 +101,283 @@ import { CodestarNotificationsServiceException } from "../models/CodestarNotific
101
101
  import { AccessDeniedException, ConcurrentModificationException, ConfigurationException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/errors";
102
102
  var NotificationRuleName = [0, n0, _NRN, 8, 0];
103
103
  var TargetAddress = [0, n0, _TA, 8, 0];
104
- export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
104
+ export var AccessDeniedException$ = [-3, n0, _ADE,
105
+ { [_e]: _c, [_hE]: 403 },
106
+ [_M],
107
+ [0]
108
+ ];
105
109
  TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
106
- export var ConcurrentModificationException$ = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
110
+ export var ConcurrentModificationException$ = [-3, n0, _CME,
111
+ { [_e]: _c, [_hE]: 400 },
112
+ [_M],
113
+ [0]
114
+ ];
107
115
  TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
108
- export var ConfigurationException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
116
+ export var ConfigurationException$ = [-3, n0, _CE,
117
+ { [_e]: _c, [_hE]: 400 },
118
+ [_M],
119
+ [0]
120
+ ];
109
121
  TypeRegistry.for(n0).registerError(ConfigurationException$, ConfigurationException);
110
- export var CreateNotificationRuleRequest$ = [
111
- 3,
112
- n0,
113
- _CNRR,
122
+ export var CreateNotificationRuleRequest$ = [3, n0, _CNRR,
114
123
  0,
115
124
  [_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
116
- [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
117
- ];
118
- export var CreateNotificationRuleResult$ = [3, n0, _CNRRr, 0, [_A], [0]];
119
- export var DeleteNotificationRuleRequest$ = [3, n0, _DNRR, 0, [_A], [0]];
120
- export var DeleteNotificationRuleResult$ = [3, n0, _DNRRe, 0, [_A], [0]];
121
- export var DeleteTargetRequest$ = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
122
- export var DeleteTargetResult$ = [3, n0, _DTRe, 0, [], []];
123
- export var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes, 0, [_A], [0]];
124
- export var DescribeNotificationRuleResult$ = [
125
- 3,
126
- n0,
127
- _DNRResc,
125
+ [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0]
126
+ ];
127
+ export var CreateNotificationRuleResult$ = [3, n0, _CNRRr,
128
+ 0,
129
+ [_A],
130
+ [0]
131
+ ];
132
+ export var DeleteNotificationRuleRequest$ = [3, n0, _DNRR,
133
+ 0,
134
+ [_A],
135
+ [0]
136
+ ];
137
+ export var DeleteNotificationRuleResult$ = [3, n0, _DNRRe,
138
+ 0,
139
+ [_A],
140
+ [0]
141
+ ];
142
+ export var DeleteTargetRequest$ = [3, n0, _DTR,
143
+ 0,
144
+ [_TA, _FUA],
145
+ [[() => TargetAddress, 0], 2]
146
+ ];
147
+ export var DeleteTargetResult$ = [3, n0, _DTRe,
148
+ 0,
149
+ [],
150
+ []
151
+ ];
152
+ export var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes,
153
+ 0,
154
+ [_A],
155
+ [0]
156
+ ];
157
+ export var DescribeNotificationRuleResult$ = [3, n0, _DNRResc,
128
158
  0,
129
159
  [_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
130
- [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
160
+ [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0]
161
+ ];
162
+ export var EventTypeSummary$ = [3, n0, _ETS,
163
+ 0,
164
+ [_ETIv, _SN, _ETN, _RT],
165
+ [0, 0, 0, 0]
166
+ ];
167
+ export var InvalidNextTokenException$ = [-3, n0, _INTE,
168
+ { [_e]: _c, [_hE]: 400 },
169
+ [_M],
170
+ [0]
131
171
  ];
132
- export var EventTypeSummary$ = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
133
- export var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
134
172
  TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
135
- export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
173
+ export var LimitExceededException$ = [-3, n0, _LEE,
174
+ { [_e]: _c, [_hE]: 400 },
175
+ [_M],
176
+ [0]
177
+ ];
136
178
  TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
137
- export var ListEventTypesFilter$ = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
138
- export var ListEventTypesRequest$ = [
139
- 3,
140
- n0,
141
- _LETR,
179
+ export var ListEventTypesFilter$ = [3, n0, _LETF,
180
+ 0,
181
+ [_N, _V],
182
+ [0, 0]
183
+ ];
184
+ export var ListEventTypesRequest$ = [3, n0, _LETR,
142
185
  0,
143
186
  [_F, _NT, _MR],
144
- [() => ListEventTypesFilters, 0, 1],
187
+ [() => ListEventTypesFilters, 0, 1]
188
+ ];
189
+ export var ListEventTypesResult$ = [3, n0, _LETRi,
190
+ 0,
191
+ [_ET, _NT],
192
+ [() => EventTypeBatch, 0]
193
+ ];
194
+ export var ListNotificationRulesFilter$ = [3, n0, _LNRF,
195
+ 0,
196
+ [_N, _V],
197
+ [0, 0]
145
198
  ];
146
- export var ListEventTypesResult$ = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
147
- export var ListNotificationRulesFilter$ = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
148
- export var ListNotificationRulesRequest$ = [
149
- 3,
150
- n0,
151
- _LNRR,
199
+ export var ListNotificationRulesRequest$ = [3, n0, _LNRR,
152
200
  0,
153
201
  [_F, _NT, _MR],
154
- [() => ListNotificationRulesFilters, 0, 1],
202
+ [() => ListNotificationRulesFilters, 0, 1]
155
203
  ];
156
- export var ListNotificationRulesResult$ = [
157
- 3,
158
- n0,
159
- _LNRRi,
204
+ export var ListNotificationRulesResult$ = [3, n0, _LNRRi,
160
205
  0,
161
206
  [_NT, _NR],
162
- [0, () => NotificationRuleBatch],
207
+ [0, () => NotificationRuleBatch]
208
+ ];
209
+ export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
210
+ 0,
211
+ [_A],
212
+ [0]
213
+ ];
214
+ export var ListTagsForResourceResult$ = [3, n0, _LTFRRi,
215
+ 0,
216
+ [_Ta],
217
+ [128 | 0]
163
218
  ];
164
- export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_A], [0]];
165
- export var ListTagsForResourceResult$ = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
166
- export var ListTargetsFilter$ = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
167
- export var ListTargetsRequest$ = [
168
- 3,
169
- n0,
170
- _LTR,
219
+ export var ListTargetsFilter$ = [3, n0, _LTF,
220
+ 0,
221
+ [_N, _V],
222
+ [0, 0]
223
+ ];
224
+ export var ListTargetsRequest$ = [3, n0, _LTR,
171
225
  0,
172
226
  [_F, _NT, _MR],
173
- [() => ListTargetsFilters, 0, 1],
227
+ [() => ListTargetsFilters, 0, 1]
228
+ ];
229
+ export var ListTargetsResult$ = [3, n0, _LTRi,
230
+ 0,
231
+ [_T, _NT],
232
+ [[() => TargetsBatch, 0], 0]
233
+ ];
234
+ export var NotificationRuleSummary$ = [3, n0, _NRS,
235
+ 0,
236
+ [_I, _A],
237
+ [0, 0]
238
+ ];
239
+ export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
240
+ { [_e]: _c, [_hE]: 409 },
241
+ [_M],
242
+ [0]
174
243
  ];
175
- export var ListTargetsResult$ = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
176
- export var NotificationRuleSummary$ = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
177
- export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
178
244
  TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
179
- export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
245
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
246
+ { [_e]: _c, [_hE]: 404 },
247
+ [_M],
248
+ [0]
249
+ ];
180
250
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
181
- export var SubscribeRequest$ = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target$, 0], 0]];
182
- export var SubscribeResult$ = [3, n0, _SRu, 0, [_A], [0]];
183
- export var TagResourceRequest$ = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
184
- export var TagResourceResult$ = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
185
- export var Target$ = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
186
- export var TargetSummary$ = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
187
- export var UnsubscribeRequest$ = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
188
- export var UnsubscribeResult$ = [3, n0, _URn, 0, [_A], [0]];
189
- export var UntagResourceRequest$ = [
190
- 3,
191
- n0,
192
- _URR,
251
+ export var SubscribeRequest$ = [3, n0, _SR,
252
+ 0,
253
+ [_A, _Tar, _CRT],
254
+ [0, [() => Target$, 0], 0]
255
+ ];
256
+ export var SubscribeResult$ = [3, n0, _SRu,
257
+ 0,
258
+ [_A],
259
+ [0]
260
+ ];
261
+ export var TagResourceRequest$ = [3, n0, _TRR,
262
+ 0,
263
+ [_A, _Ta],
264
+ [0, 128 | 0]
265
+ ];
266
+ export var TagResourceResult$ = [3, n0, _TRRa,
267
+ 0,
268
+ [_Ta],
269
+ [128 | 0]
270
+ ];
271
+ export var Target$ = [3, n0, _Tar,
272
+ 0,
273
+ [_TT, _TA],
274
+ [0, [() => TargetAddress, 0]]
275
+ ];
276
+ export var TargetSummary$ = [3, n0, _TS,
277
+ 0,
278
+ [_TA, _TT, _TSa],
279
+ [[() => TargetAddress, 0], 0, 0]
280
+ ];
281
+ export var UnsubscribeRequest$ = [3, n0, _UR,
282
+ 0,
283
+ [_A, _TA],
284
+ [0, [() => TargetAddress, 0]]
285
+ ];
286
+ export var UnsubscribeResult$ = [3, n0, _URn,
287
+ 0,
288
+ [_A],
289
+ [0]
290
+ ];
291
+ export var UntagResourceRequest$ = [3, n0, _URR,
193
292
  0,
194
293
  [_A, _TK],
195
- [
196
- [0, 1],
197
- [64 | 0, { [_hQ]: _tK }],
198
- ],
294
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]]
295
+ ];
296
+ export var UntagResourceResult$ = [3, n0, _URRn,
297
+ 0,
298
+ [],
299
+ []
199
300
  ];
200
- export var UntagResourceResult$ = [3, n0, _URRn, 0, [], []];
201
- export var UpdateNotificationRuleRequest$ = [
202
- 3,
203
- n0,
204
- _UNRR,
301
+ export var UpdateNotificationRuleRequest$ = [3, n0, _UNRR,
205
302
  0,
206
303
  [_A, _N, _S, _ETI, _T, _DT],
207
- [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
304
+ [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0]
208
305
  ];
209
- export var UpdateNotificationRuleResult$ = [3, n0, _UNRRp, 0, [], []];
210
- export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
211
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
212
- export var CodestarNotificationsServiceException$ = [
213
- -3,
214
- _s,
215
- "CodestarNotificationsServiceException",
306
+ export var UpdateNotificationRuleResult$ = [3, n0, _UNRRp,
216
307
  0,
217
308
  [],
218
- [],
309
+ []
310
+ ];
311
+ export var ValidationException$ = [-3, n0, _VE,
312
+ { [_e]: _c, [_hE]: 400 },
313
+ [_M],
314
+ [0]
219
315
  ];
316
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
317
+ export var CodestarNotificationsServiceException$ = [-3, _s, "CodestarNotificationsServiceException", 0, [], []];
220
318
  TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException$, CodestarNotificationsServiceException);
221
- var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary$];
319
+ var EventTypeBatch = [1, n0, _ETB,
320
+ 0, () => EventTypeSummary$
321
+ ];
222
322
  var EventTypeIds = 64 | 0;
223
- var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter$];
224
- var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter$];
225
- var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter$];
226
- var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary$];
323
+ var ListEventTypesFilters = [1, n0, _LETFi,
324
+ 0, () => ListEventTypesFilter$
325
+ ];
326
+ var ListNotificationRulesFilters = [1, n0, _LNRFi,
327
+ 0, () => ListNotificationRulesFilter$
328
+ ];
329
+ var ListTargetsFilters = [1, n0, _LTFi,
330
+ 0, () => ListTargetsFilter$
331
+ ];
332
+ var NotificationRuleBatch = [1, n0, _NRB,
333
+ 0, () => NotificationRuleSummary$
334
+ ];
227
335
  var TagKeys = 64 | 0;
228
- var Targets = [1, n0, _T, 0, [() => Target$, 0]];
229
- var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary$, 0]];
336
+ var Targets = [1, n0, _T,
337
+ 0, [() => Target$,
338
+ 0]
339
+ ];
340
+ var TargetsBatch = [1, n0, _TB,
341
+ 0, [() => TargetSummary$,
342
+ 0]
343
+ ];
230
344
  var Tags = 128 | 0;
231
- export var CreateNotificationRule$ = [
232
- 9,
233
- n0,
234
- _CNR,
235
- { [_h]: ["POST", "/createNotificationRule", 200] },
236
- () => CreateNotificationRuleRequest$,
237
- () => CreateNotificationRuleResult$,
238
- ];
239
- export var DeleteNotificationRule$ = [
240
- 9,
241
- n0,
242
- _DNR,
243
- { [_h]: ["POST", "/deleteNotificationRule", 200] },
244
- () => DeleteNotificationRuleRequest$,
245
- () => DeleteNotificationRuleResult$,
246
- ];
247
- export var DeleteTarget$ = [
248
- 9,
249
- n0,
250
- _DTe,
251
- { [_h]: ["POST", "/deleteTarget", 200] },
252
- () => DeleteTargetRequest$,
253
- () => DeleteTargetResult$,
254
- ];
255
- export var DescribeNotificationRule$ = [
256
- 9,
257
- n0,
258
- _DNRe,
259
- { [_h]: ["POST", "/describeNotificationRule", 200] },
260
- () => DescribeNotificationRuleRequest$,
261
- () => DescribeNotificationRuleResult$,
262
- ];
263
- export var ListEventTypes$ = [
264
- 9,
265
- n0,
266
- _LET,
267
- { [_h]: ["POST", "/listEventTypes", 200] },
268
- () => ListEventTypesRequest$,
269
- () => ListEventTypesResult$,
270
- ];
271
- export var ListNotificationRules$ = [
272
- 9,
273
- n0,
274
- _LNR,
275
- { [_h]: ["POST", "/listNotificationRules", 200] },
276
- () => ListNotificationRulesRequest$,
277
- () => ListNotificationRulesResult$,
278
- ];
279
- export var ListTagsForResource$ = [
280
- 9,
281
- n0,
282
- _LTFR,
283
- { [_h]: ["POST", "/listTagsForResource", 200] },
284
- () => ListTagsForResourceRequest$,
285
- () => ListTagsForResourceResult$,
286
- ];
287
- export var ListTargets$ = [
288
- 9,
289
- n0,
290
- _LT,
291
- { [_h]: ["POST", "/listTargets", 200] },
292
- () => ListTargetsRequest$,
293
- () => ListTargetsResult$,
294
- ];
295
- export var Subscribe$ = [
296
- 9,
297
- n0,
298
- _Su,
299
- { [_h]: ["POST", "/subscribe", 200] },
300
- () => SubscribeRequest$,
301
- () => SubscribeResult$,
302
- ];
303
- export var TagResource$ = [
304
- 9,
305
- n0,
306
- _TR,
307
- { [_h]: ["POST", "/tagResource", 200] },
308
- () => TagResourceRequest$,
309
- () => TagResourceResult$,
310
- ];
311
- export var Unsubscribe$ = [
312
- 9,
313
- n0,
314
- _U,
315
- { [_h]: ["POST", "/unsubscribe", 200] },
316
- () => UnsubscribeRequest$,
317
- () => UnsubscribeResult$,
318
- ];
319
- export var UntagResource$ = [
320
- 9,
321
- n0,
322
- _URnt,
323
- { [_h]: ["POST", "/untagResource/{Arn}", 200] },
324
- () => UntagResourceRequest$,
325
- () => UntagResourceResult$,
326
- ];
327
- export var UpdateNotificationRule$ = [
328
- 9,
329
- n0,
330
- _UNR,
331
- { [_h]: ["POST", "/updateNotificationRule", 200] },
332
- () => UpdateNotificationRuleRequest$,
333
- () => UpdateNotificationRuleResult$,
345
+ export var CreateNotificationRule$ = [9, n0, _CNR,
346
+ { [_h]: ["POST", "/createNotificationRule", 200] }, () => CreateNotificationRuleRequest$, () => CreateNotificationRuleResult$
347
+ ];
348
+ export var DeleteNotificationRule$ = [9, n0, _DNR,
349
+ { [_h]: ["POST", "/deleteNotificationRule", 200] }, () => DeleteNotificationRuleRequest$, () => DeleteNotificationRuleResult$
350
+ ];
351
+ export var DeleteTarget$ = [9, n0, _DTe,
352
+ { [_h]: ["POST", "/deleteTarget", 200] }, () => DeleteTargetRequest$, () => DeleteTargetResult$
353
+ ];
354
+ export var DescribeNotificationRule$ = [9, n0, _DNRe,
355
+ { [_h]: ["POST", "/describeNotificationRule", 200] }, () => DescribeNotificationRuleRequest$, () => DescribeNotificationRuleResult$
356
+ ];
357
+ export var ListEventTypes$ = [9, n0, _LET,
358
+ { [_h]: ["POST", "/listEventTypes", 200] }, () => ListEventTypesRequest$, () => ListEventTypesResult$
359
+ ];
360
+ export var ListNotificationRules$ = [9, n0, _LNR,
361
+ { [_h]: ["POST", "/listNotificationRules", 200] }, () => ListNotificationRulesRequest$, () => ListNotificationRulesResult$
362
+ ];
363
+ export var ListTagsForResource$ = [9, n0, _LTFR,
364
+ { [_h]: ["POST", "/listTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResult$
365
+ ];
366
+ export var ListTargets$ = [9, n0, _LT,
367
+ { [_h]: ["POST", "/listTargets", 200] }, () => ListTargetsRequest$, () => ListTargetsResult$
368
+ ];
369
+ export var Subscribe$ = [9, n0, _Su,
370
+ { [_h]: ["POST", "/subscribe", 200] }, () => SubscribeRequest$, () => SubscribeResult$
371
+ ];
372
+ export var TagResource$ = [9, n0, _TR,
373
+ { [_h]: ["POST", "/tagResource", 200] }, () => TagResourceRequest$, () => TagResourceResult$
374
+ ];
375
+ export var Unsubscribe$ = [9, n0, _U,
376
+ { [_h]: ["POST", "/unsubscribe", 200] }, () => UnsubscribeRequest$, () => UnsubscribeResult$
377
+ ];
378
+ export var UntagResource$ = [9, n0, _URnt,
379
+ { [_h]: ["POST", "/untagResource/{Arn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResult$
380
+ ];
381
+ export var UpdateNotificationRule$ = [9, n0, _UNR,
382
+ { [_h]: ["POST", "/updateNotificationRule", 200] }, () => UpdateNotificationRuleRequest$, () => UpdateNotificationRuleResult$
334
383
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-notifications",
3
3
  "description": "AWS SDK for JavaScript Codestar Notifications Client for Node.js, Browser and React Native",
4
- "version": "3.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codestar-notifications",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",