@aws-sdk/client-codestar-notifications 3.533.0 → 3.540.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 (37) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/CodestarNotifications.d.ts +4 -1
  6. package/dist-types/CodestarNotificationsClient.d.ts +1 -1
  7. package/dist-types/commands/CreateNotificationRuleCommand.d.ts +2 -1
  8. package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteTargetCommand.d.ts +2 -1
  10. package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +2 -1
  11. package/dist-types/commands/ListEventTypesCommand.d.ts +2 -1
  12. package/dist-types/commands/ListNotificationRulesCommand.d.ts +2 -1
  13. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  14. package/dist-types/commands/ListTargetsCommand.d.ts +2 -1
  15. package/dist-types/commands/SubscribeCommand.d.ts +2 -1
  16. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  17. package/dist-types/commands/UnsubscribeCommand.d.ts +2 -1
  18. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +2 -1
  20. package/dist-types/index.d.ts +0 -1
  21. package/dist-types/models/models_0.d.ts +92 -92
  22. package/dist-types/ts3.4/CodestarNotifications.d.ts +3 -0
  23. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +9 -0
  24. package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +9 -0
  25. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  30. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +9 -0
  31. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +9 -0
  32. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  33. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +9 -0
  34. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  35. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/index.d.ts +0 -1
  37. package/package.json +40 -40
@@ -1,9 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CodestarNotificationsServiceException as __BaseException } from "./CodestarNotificationsServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>AWS CodeStar Notifications can't create the notification rule because you do not have sufficient
6
5
  * permissions.</p>
6
+ * @public
7
7
  */
8
8
  export declare class AccessDeniedException extends __BaseException {
9
9
  readonly name: "AccessDeniedException";
@@ -15,9 +15,9 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
16
  }
17
17
  /**
18
- * @public
19
18
  * <p>AWS CodeStar Notifications can't complete the request because the resource is being modified by
20
19
  * another process. Wait a few minutes and try again.</p>
20
+ * @public
21
21
  */
22
22
  export declare class ConcurrentModificationException extends __BaseException {
23
23
  readonly name: "ConcurrentModificationException";
@@ -29,8 +29,8 @@ export declare class ConcurrentModificationException extends __BaseException {
29
29
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
30
30
  }
31
31
  /**
32
- * @public
33
32
  * <p>Some or all of the configuration is incomplete, missing, or not valid.</p>
33
+ * @public
34
34
  */
35
35
  export declare class ConfigurationException extends __BaseException {
36
36
  readonly name: "ConfigurationException";
@@ -66,12 +66,11 @@ export declare const NotificationRuleStatus: {
66
66
  */
67
67
  export type NotificationRuleStatus = (typeof NotificationRuleStatus)[keyof typeof NotificationRuleStatus];
68
68
  /**
69
- * @public
70
69
  * <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
70
+ * @public
71
71
  */
72
72
  export interface Target {
73
73
  /**
74
- * @public
75
74
  * <p>The target type. Can be an Chatbot topic or Chatbot client.</p>
76
75
  * <ul>
77
76
  * <li>
@@ -81,11 +80,12 @@ export interface Target {
81
80
  * <p>Chatbot clients are specified as <code>AWSChatbotSlack</code>.</p>
82
81
  * </li>
83
82
  * </ul>
83
+ * @public
84
84
  */
85
85
  TargetType?: string;
86
86
  /**
87
- * @public
88
87
  * <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
88
+ * @public
89
89
  */
90
90
  TargetAddress?: string;
91
91
  }
@@ -94,37 +94,36 @@ export interface Target {
94
94
  */
95
95
  export interface CreateNotificationRuleRequest {
96
96
  /**
97
- * @public
98
97
  * <p>The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.</p>
98
+ * @public
99
99
  */
100
100
  Name: string | undefined;
101
101
  /**
102
- * @public
103
102
  * <p>A list of event types associated with this notification rule. For a list of allowed
104
103
  * events, see <a>EventTypeSummary</a>.</p>
104
+ * @public
105
105
  */
106
106
  EventTypeIds: string[] | undefined;
107
107
  /**
108
- * @public
109
108
  * <p>The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline,
110
109
  * repositories in CodeCommit, and build projects in CodeBuild.</p>
110
+ * @public
111
111
  */
112
112
  Resource: string | undefined;
113
113
  /**
114
- * @public
115
114
  * <p>A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the
116
115
  * notification rule.</p>
116
+ * @public
117
117
  */
118
118
  Targets: Target[] | undefined;
119
119
  /**
120
- * @public
121
120
  * <p>The level of detail to include in the notifications for this resource. <code>BASIC</code> will include only the
122
121
  * contents of the event as it would appear in Amazon CloudWatch. <code>FULL</code> will include any supplemental information
123
122
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
123
+ * @public
124
124
  */
125
125
  DetailType: DetailType | undefined;
126
126
  /**
127
- * @public
128
127
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
129
128
  * the request cannot be repeated with a changed parameter. If a request with the same
130
129
  * parameters is received and a token is included, the request returns information about
@@ -133,17 +132,18 @@ export interface CreateNotificationRuleRequest {
133
132
  * <p>The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an
134
133
  * idempotency token is created for you.</p>
135
134
  * </note>
135
+ * @public
136
136
  */
137
137
  ClientRequestToken?: string;
138
138
  /**
139
- * @public
140
139
  * <p>A list of tags to apply to this notification rule. Key names cannot start with "<code>aws</code>". </p>
140
+ * @public
141
141
  */
142
142
  Tags?: Record<string, string>;
143
143
  /**
144
- * @public
145
144
  * <p>The status of the notification rule. The default value is <code>ENABLED</code>. If the status is
146
145
  * set to <code>DISABLED</code>, notifications aren't sent for the notification rule.</p>
146
+ * @public
147
147
  */
148
148
  Status?: NotificationRuleStatus;
149
149
  }
@@ -152,16 +152,16 @@ export interface CreateNotificationRuleRequest {
152
152
  */
153
153
  export interface CreateNotificationRuleResult {
154
154
  /**
155
- * @public
156
155
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
156
+ * @public
157
157
  */
158
158
  Arn?: string;
159
159
  }
160
160
  /**
161
- * @public
162
161
  * <p>One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to
163
162
  * accounts, notification rules, notifications, resources, and targets. For more
164
163
  * information, see Limits.</p>
164
+ * @public
165
165
  */
166
166
  export declare class LimitExceededException extends __BaseException {
167
167
  readonly name: "LimitExceededException";
@@ -173,9 +173,9 @@ export declare class LimitExceededException extends __BaseException {
173
173
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
174
174
  }
175
175
  /**
176
- * @public
177
176
  * <p>A resource with the same name or ID already exists. Notification rule names must be
178
177
  * unique in your Amazon Web Services account.</p>
178
+ * @public
179
179
  */
180
180
  export declare class ResourceAlreadyExistsException extends __BaseException {
181
181
  readonly name: "ResourceAlreadyExistsException";
@@ -187,8 +187,8 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
187
187
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
188
188
  }
189
189
  /**
190
- * @public
191
190
  * <p>One or more parameter values are not valid.</p>
191
+ * @public
192
192
  */
193
193
  export declare class ValidationException extends __BaseException {
194
194
  readonly name: "ValidationException";
@@ -204,8 +204,8 @@ export declare class ValidationException extends __BaseException {
204
204
  */
205
205
  export interface DeleteNotificationRuleRequest {
206
206
  /**
207
- * @public
208
207
  * <p>The Amazon Resource Name (ARN) of the notification rule you want to delete.</p>
208
+ * @public
209
209
  */
210
210
  Arn: string | undefined;
211
211
  }
@@ -214,8 +214,8 @@ export interface DeleteNotificationRuleRequest {
214
214
  */
215
215
  export interface DeleteNotificationRuleResult {
216
216
  /**
217
- * @public
218
217
  * <p>The Amazon Resource Name (ARN) of the deleted notification rule.</p>
218
+ * @public
219
219
  */
220
220
  Arn?: string;
221
221
  }
@@ -224,15 +224,15 @@ export interface DeleteNotificationRuleResult {
224
224
  */
225
225
  export interface DeleteTargetRequest {
226
226
  /**
227
- * @public
228
227
  * <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.</p>
228
+ * @public
229
229
  */
230
230
  TargetAddress: string | undefined;
231
231
  /**
232
- * @public
233
232
  * <p>A Boolean value that can be used to delete all associations with this Chatbot topic. The
234
233
  * default value is FALSE. If set to TRUE, all associations between that target and every
235
234
  * notification rule in your Amazon Web Services account are deleted.</p>
235
+ * @public
236
236
  */
237
237
  ForceUnsubscribeAll?: boolean;
238
238
  }
@@ -246,36 +246,36 @@ export interface DeleteTargetResult {
246
246
  */
247
247
  export interface DescribeNotificationRuleRequest {
248
248
  /**
249
- * @public
250
249
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
250
+ * @public
251
251
  */
252
252
  Arn: string | undefined;
253
253
  }
254
254
  /**
255
- * @public
256
255
  * <p>Returns information about an event that has triggered a notification rule.</p>
256
+ * @public
257
257
  */
258
258
  export interface EventTypeSummary {
259
259
  /**
260
- * @public
261
260
  * <p>The system-generated ID of the event. For a complete list of event types and IDs, see
262
261
  * <a href="https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api">Notification concepts</a>
263
262
  * in the <i>Developer Tools Console User Guide</i>.</p>
263
+ * @public
264
264
  */
265
265
  EventTypeId?: string;
266
266
  /**
267
- * @public
268
267
  * <p>The name of the service for which the event applies.</p>
268
+ * @public
269
269
  */
270
270
  ServiceName?: string;
271
271
  /**
272
- * @public
273
272
  * <p>The name of the event.</p>
273
+ * @public
274
274
  */
275
275
  EventTypeName?: string;
276
276
  /**
277
- * @public
278
277
  * <p>The resource type of the event.</p>
278
+ * @public
279
279
  */
280
280
  ResourceType?: string;
281
281
  }
@@ -295,17 +295,16 @@ export declare const TargetStatus: {
295
295
  */
296
296
  export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
297
297
  /**
298
- * @public
299
298
  * <p>Information about the targets specified for a notification rule.</p>
299
+ * @public
300
300
  */
301
301
  export interface TargetSummary {
302
302
  /**
303
- * @public
304
303
  * <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
304
+ * @public
305
305
  */
306
306
  TargetAddress?: string;
307
307
  /**
308
- * @public
309
308
  * <p>The type of the target (for example, <code>SNS</code>).</p>
310
309
  * <ul>
311
310
  * <li>
@@ -315,11 +314,12 @@ export interface TargetSummary {
315
314
  * <p>Chatbot clients are specified as <code>AWSChatbotSlack</code>.</p>
316
315
  * </li>
317
316
  * </ul>
317
+ * @public
318
318
  */
319
319
  TargetType?: string;
320
320
  /**
321
- * @public
322
321
  * <p>The status of the target.</p>
322
+ * @public
323
323
  */
324
324
  TargetStatus?: TargetStatus;
325
325
  }
@@ -328,69 +328,69 @@ export interface TargetSummary {
328
328
  */
329
329
  export interface DescribeNotificationRuleResult {
330
330
  /**
331
- * @public
332
331
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
332
+ * @public
333
333
  */
334
334
  Arn: string | undefined;
335
335
  /**
336
- * @public
337
336
  * <p>The name of the notification rule.</p>
337
+ * @public
338
338
  */
339
339
  Name?: string;
340
340
  /**
341
- * @public
342
341
  * <p>A list of the event types associated with the notification rule.</p>
342
+ * @public
343
343
  */
344
344
  EventTypes?: EventTypeSummary[];
345
345
  /**
346
- * @public
347
346
  * <p>The Amazon Resource Name (ARN) of the resource associated with the notification
348
347
  * rule.</p>
348
+ * @public
349
349
  */
350
350
  Resource?: string;
351
351
  /**
352
- * @public
353
352
  * <p>A list of the Chatbot topics and Chatbot clients associated with the notification rule.</p>
353
+ * @public
354
354
  */
355
355
  Targets?: TargetSummary[];
356
356
  /**
357
- * @public
358
357
  * <p>The level of detail included in the notifications for this resource. BASIC will include only the
359
358
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
360
359
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
360
+ * @public
361
361
  */
362
362
  DetailType?: DetailType;
363
363
  /**
364
- * @public
365
364
  * <p>The name or email alias of the person who created the notification rule.</p>
365
+ * @public
366
366
  */
367
367
  CreatedBy?: string;
368
368
  /**
369
- * @public
370
369
  * <p>The status of the notification rule. Valid statuses are on (sending notifications) or off
371
370
  * (not sending notifications).</p>
371
+ * @public
372
372
  */
373
373
  Status?: NotificationRuleStatus;
374
374
  /**
375
- * @public
376
375
  * <p>The date and time the notification rule was created, in timestamp format.</p>
376
+ * @public
377
377
  */
378
378
  CreatedTimestamp?: Date;
379
379
  /**
380
- * @public
381
380
  * <p>The date and time the notification rule was most recently updated, in timestamp
382
381
  * format.</p>
382
+ * @public
383
383
  */
384
384
  LastModifiedTimestamp?: Date;
385
385
  /**
386
- * @public
387
386
  * <p>The tags associated with the notification rule.</p>
387
+ * @public
388
388
  */
389
389
  Tags?: Record<string, string>;
390
390
  }
391
391
  /**
392
- * @public
393
392
  * <p>AWS CodeStar Notifications can't find a resource that matches the provided ARN. </p>
393
+ * @public
394
394
  */
395
395
  export declare class ResourceNotFoundException extends __BaseException {
396
396
  readonly name: "ResourceNotFoundException";
@@ -402,8 +402,8 @@ export declare class ResourceNotFoundException extends __BaseException {
402
402
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
403
403
  }
404
404
  /**
405
- * @public
406
405
  * <p>The value for the enumeration token used in the request to return the next batch of the results is not valid. </p>
406
+ * @public
407
407
  */
408
408
  export declare class InvalidNextTokenException extends __BaseException {
409
409
  readonly name: "InvalidNextTokenException";
@@ -427,20 +427,20 @@ export declare const ListEventTypesFilterName: {
427
427
  */
428
428
  export type ListEventTypesFilterName = (typeof ListEventTypesFilterName)[keyof typeof ListEventTypesFilterName];
429
429
  /**
430
- * @public
431
430
  * <p>Information about a filter to apply to the list of returned event types. You can filter
432
431
  * by resource type or service name.</p>
432
+ * @public
433
433
  */
434
434
  export interface ListEventTypesFilter {
435
435
  /**
436
- * @public
437
436
  * <p>The system-generated name of the filter type you want to filter by.</p>
437
+ * @public
438
438
  */
439
439
  Name: ListEventTypesFilterName | undefined;
440
440
  /**
441
- * @public
442
441
  * <p>The name of the resource type (for example, pipeline) or service name (for example,
443
442
  * CodePipeline) that you want to filter by.</p>
443
+ * @public
444
444
  */
445
445
  Value: string | undefined;
446
446
  }
@@ -449,20 +449,20 @@ export interface ListEventTypesFilter {
449
449
  */
450
450
  export interface ListEventTypesRequest {
451
451
  /**
452
- * @public
453
452
  * <p>The filters to use to return information by service or resource type.</p>
453
+ * @public
454
454
  */
455
455
  Filters?: ListEventTypesFilter[];
456
456
  /**
457
- * @public
458
457
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
459
458
  * results.</p>
459
+ * @public
460
460
  */
461
461
  NextToken?: string;
462
462
  /**
463
- * @public
464
463
  * <p>A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of
465
464
  * results that can be returned is 100.</p>
465
+ * @public
466
466
  */
467
467
  MaxResults?: number;
468
468
  }
@@ -471,14 +471,14 @@ export interface ListEventTypesRequest {
471
471
  */
472
472
  export interface ListEventTypesResult {
473
473
  /**
474
- * @public
475
474
  * <p>Information about each event, including service name, resource type, event ID, and event
476
475
  * name.</p>
476
+ * @public
477
477
  */
478
478
  EventTypes?: EventTypeSummary[];
479
479
  /**
480
- * @public
481
480
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
481
+ * @public
482
482
  */
483
483
  NextToken?: string;
484
484
  }
@@ -497,20 +497,20 @@ export declare const ListNotificationRulesFilterName: {
497
497
  */
498
498
  export type ListNotificationRulesFilterName = (typeof ListNotificationRulesFilterName)[keyof typeof ListNotificationRulesFilterName];
499
499
  /**
500
- * @public
501
500
  * <p>Information about a filter to apply to the list of returned notification rules. You can
502
501
  * filter by event type, owner, resource, or target.</p>
502
+ * @public
503
503
  */
504
504
  export interface ListNotificationRulesFilter {
505
505
  /**
506
- * @public
507
506
  * <p>The name of the attribute you want to use to filter the returned notification rules.</p>
507
+ * @public
508
508
  */
509
509
  Name: ListNotificationRulesFilterName | undefined;
510
510
  /**
511
- * @public
512
511
  * <p>The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by <i>RESOURCE</i>
513
512
  * in Name, you might specify the ARN of a pipeline in CodePipeline for the value.</p>
513
+ * @public
514
514
  */
515
515
  Value: string | undefined;
516
516
  }
@@ -519,40 +519,40 @@ export interface ListNotificationRulesFilter {
519
519
  */
520
520
  export interface ListNotificationRulesRequest {
521
521
  /**
522
- * @public
523
522
  * <p>The filters to use to return information by service or resource type. For valid values,
524
523
  * see <a>ListNotificationRulesFilter</a>.</p>
525
524
  * <note>
526
525
  * <p>A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.</p>
527
526
  * </note>
527
+ * @public
528
528
  */
529
529
  Filters?: ListNotificationRulesFilter[];
530
530
  /**
531
- * @public
532
531
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
533
532
  * results.</p>
533
+ * @public
534
534
  */
535
535
  NextToken?: string;
536
536
  /**
537
- * @public
538
537
  * <p>A non-negative integer used to limit the number of returned results. The maximum number of
539
538
  * results that can be returned is 100.</p>
539
+ * @public
540
540
  */
541
541
  MaxResults?: number;
542
542
  }
543
543
  /**
544
- * @public
545
544
  * <p>Information about a specified notification rule.</p>
545
+ * @public
546
546
  */
547
547
  export interface NotificationRuleSummary {
548
548
  /**
549
- * @public
550
549
  * <p>The unique ID of the notification rule.</p>
550
+ * @public
551
551
  */
552
552
  Id?: string;
553
553
  /**
554
- * @public
555
554
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
555
+ * @public
556
556
  */
557
557
  Arn?: string;
558
558
  }
@@ -561,13 +561,13 @@ export interface NotificationRuleSummary {
561
561
  */
562
562
  export interface ListNotificationRulesResult {
563
563
  /**
564
- * @public
565
564
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
565
+ * @public
566
566
  */
567
567
  NextToken?: string;
568
568
  /**
569
- * @public
570
569
  * <p>The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID. </p>
570
+ * @public
571
571
  */
572
572
  NotificationRules?: NotificationRuleSummary[];
573
573
  }
@@ -576,8 +576,8 @@ export interface ListNotificationRulesResult {
576
576
  */
577
577
  export interface ListTagsForResourceRequest {
578
578
  /**
579
- * @public
580
579
  * <p>The Amazon Resource Name (ARN) for the notification rule.</p>
580
+ * @public
581
581
  */
582
582
  Arn: string | undefined;
583
583
  }
@@ -586,8 +586,8 @@ export interface ListTagsForResourceRequest {
586
586
  */
587
587
  export interface ListTagsForResourceResult {
588
588
  /**
589
- * @public
590
589
  * <p>The tags associated with the notification rule.</p>
590
+ * @public
591
591
  */
592
592
  Tags?: Record<string, string>;
593
593
  }
@@ -605,24 +605,24 @@ export declare const ListTargetsFilterName: {
605
605
  */
606
606
  export type ListTargetsFilterName = (typeof ListTargetsFilterName)[keyof typeof ListTargetsFilterName];
607
607
  /**
608
- * @public
609
608
  * <p>Information about a filter to apply to the list of returned targets. You can filter by
610
609
  * target type, address, or status. For example, to filter results to notification rules
611
610
  * that have active Chatbot topics as targets, you could specify a ListTargetsFilter
612
611
  * Name as <code>TargetType</code> and a Value of <code>SNS</code>, and a Name of <code>TARGET_STATUS</code> and a Value of
613
612
  * <code>ACTIVE</code>.</p>
613
+ * @public
614
614
  */
615
615
  export interface ListTargetsFilter {
616
616
  /**
617
- * @public
618
617
  * <p>The name of the attribute you want to use to filter the returned targets.</p>
618
+ * @public
619
619
  */
620
620
  Name: ListTargetsFilterName | undefined;
621
621
  /**
622
- * @public
623
622
  * <p>The value of the attribute you want to use to filter the returned targets. For example,
624
623
  * if you specify <code>SNS</code> for the Target type, you could specify an Amazon
625
624
  * Resource Name (ARN) for a topic as the value.</p>
625
+ * @public
626
626
  */
627
627
  Value: string | undefined;
628
628
  }
@@ -631,24 +631,24 @@ export interface ListTargetsFilter {
631
631
  */
632
632
  export interface ListTargetsRequest {
633
633
  /**
634
- * @public
635
634
  * <p>The filters to use to return information by service or resource type. Valid filters
636
635
  * include target type, target address, and target status.</p>
637
636
  * <note>
638
637
  * <p>A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.</p>
639
638
  * </note>
639
+ * @public
640
640
  */
641
641
  Filters?: ListTargetsFilter[];
642
642
  /**
643
- * @public
644
643
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
645
644
  * results.</p>
645
+ * @public
646
646
  */
647
647
  NextToken?: string;
648
648
  /**
649
- * @public
650
649
  * <p>A non-negative integer used to limit the number of returned results. The maximum number of
651
650
  * results that can be returned is 100.</p>
651
+ * @public
652
652
  */
653
653
  MaxResults?: number;
654
654
  }
@@ -657,14 +657,14 @@ export interface ListTargetsRequest {
657
657
  */
658
658
  export interface ListTargetsResult {
659
659
  /**
660
- * @public
661
660
  * <p>The list of notification rule targets. </p>
661
+ * @public
662
662
  */
663
663
  Targets?: TargetSummary[];
664
664
  /**
665
- * @public
666
665
  * <p>An enumeration token that can be used in a request to return the next batch of
667
666
  * results.</p>
667
+ * @public
668
668
  */
669
669
  NextToken?: string;
670
670
  }
@@ -673,19 +673,19 @@ export interface ListTargetsResult {
673
673
  */
674
674
  export interface SubscribeRequest {
675
675
  /**
676
- * @public
677
676
  * <p>The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.</p>
677
+ * @public
678
678
  */
679
679
  Arn: string | undefined;
680
680
  /**
681
- * @public
682
681
  * <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
682
+ * @public
683
683
  */
684
684
  Target: Target | undefined;
685
685
  /**
686
- * @public
687
686
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
688
687
  * results.</p>
688
+ * @public
689
689
  */
690
690
  ClientRequestToken?: string;
691
691
  }
@@ -694,8 +694,8 @@ export interface SubscribeRequest {
694
694
  */
695
695
  export interface SubscribeResult {
696
696
  /**
697
- * @public
698
697
  * <p>The Amazon Resource Name (ARN) of the notification rule for which you have created assocations.</p>
698
+ * @public
699
699
  */
700
700
  Arn?: string;
701
701
  }
@@ -704,13 +704,13 @@ export interface SubscribeResult {
704
704
  */
705
705
  export interface TagResourceRequest {
706
706
  /**
707
- * @public
708
707
  * <p>The Amazon Resource Name (ARN) of the notification rule to tag.</p>
708
+ * @public
709
709
  */
710
710
  Arn: string | undefined;
711
711
  /**
712
- * @public
713
712
  * <p>The list of tags to associate with the resource. Tag key names cannot start with "<code>aws</code>".</p>
713
+ * @public
714
714
  */
715
715
  Tags: Record<string, string> | undefined;
716
716
  }
@@ -719,8 +719,8 @@ export interface TagResourceRequest {
719
719
  */
720
720
  export interface TagResourceResult {
721
721
  /**
722
- * @public
723
722
  * <p>The list of tags associated with the resource.</p>
723
+ * @public
724
724
  */
725
725
  Tags?: Record<string, string>;
726
726
  }
@@ -729,13 +729,13 @@ export interface TagResourceResult {
729
729
  */
730
730
  export interface UnsubscribeRequest {
731
731
  /**
732
- * @public
733
732
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
733
+ * @public
734
734
  */
735
735
  Arn: string | undefined;
736
736
  /**
737
- * @public
738
737
  * <p>The ARN of the Chatbot topic to unsubscribe from the notification rule.</p>
738
+ * @public
739
739
  */
740
740
  TargetAddress: string | undefined;
741
741
  }
@@ -744,8 +744,8 @@ export interface UnsubscribeRequest {
744
744
  */
745
745
  export interface UnsubscribeResult {
746
746
  /**
747
- * @public
748
747
  * <p>The Amazon Resource Name (ARN) of the the notification rule from which you have removed a subscription.</p>
748
+ * @public
749
749
  */
750
750
  Arn: string | undefined;
751
751
  }
@@ -754,14 +754,14 @@ export interface UnsubscribeResult {
754
754
  */
755
755
  export interface UntagResourceRequest {
756
756
  /**
757
- * @public
758
757
  * <p>The Amazon Resource Name (ARN) of the notification rule from which to remove the
759
758
  * tags.</p>
759
+ * @public
760
760
  */
761
761
  Arn: string | undefined;
762
762
  /**
763
- * @public
764
763
  * <p>The key names of the tags to remove.</p>
764
+ * @public
765
765
  */
766
766
  TagKeys: string[] | undefined;
767
767
  }
@@ -775,39 +775,39 @@ export interface UntagResourceResult {
775
775
  */
776
776
  export interface UpdateNotificationRuleRequest {
777
777
  /**
778
- * @public
779
778
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
779
+ * @public
780
780
  */
781
781
  Arn: string | undefined;
782
782
  /**
783
- * @public
784
783
  * <p>The name of the notification rule.</p>
784
+ * @public
785
785
  */
786
786
  Name?: string;
787
787
  /**
788
- * @public
789
788
  * <p>The status of the notification rule. Valid statuses include enabled (sending notifications) or
790
789
  * disabled (not sending notifications).</p>
790
+ * @public
791
791
  */
792
792
  Status?: NotificationRuleStatus;
793
793
  /**
794
- * @public
795
794
  * <p>A list of event types associated with this notification rule. For a complete list of event types and IDs, see
796
795
  * <a href="https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api">Notification concepts</a>
797
796
  * in the <i>Developer Tools Console User Guide</i>.</p>
797
+ * @public
798
798
  */
799
799
  EventTypeIds?: string[];
800
800
  /**
801
- * @public
802
801
  * <p>The address and type of the targets to receive notifications from this notification
803
802
  * rule.</p>
803
+ * @public
804
804
  */
805
805
  Targets?: Target[];
806
806
  /**
807
- * @public
808
807
  * <p>The level of detail to include in the notifications for this resource. BASIC will include only the
809
808
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
810
809
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
810
+ * @public
811
811
  */
812
812
  DetailType?: DetailType;
813
813
  }