@aws-sdk/client-codestar-notifications 3.687.0 → 3.691.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.
@@ -8,7 +8,7 @@ import { CodestarNotificationsServiceException as __BaseException } from "./Code
8
8
  export declare class AccessDeniedException extends __BaseException {
9
9
  readonly name: "AccessDeniedException";
10
10
  readonly $fault: "client";
11
- Message?: string;
11
+ Message?: string | undefined;
12
12
  /**
13
13
  * @internal
14
14
  */
@@ -22,7 +22,7 @@ export declare class AccessDeniedException extends __BaseException {
22
22
  export declare class ConcurrentModificationException extends __BaseException {
23
23
  readonly name: "ConcurrentModificationException";
24
24
  readonly $fault: "client";
25
- Message?: string;
25
+ Message?: string | undefined;
26
26
  /**
27
27
  * @internal
28
28
  */
@@ -35,7 +35,7 @@ export declare class ConcurrentModificationException extends __BaseException {
35
35
  export declare class ConfigurationException extends __BaseException {
36
36
  readonly name: "ConfigurationException";
37
37
  readonly $fault: "client";
38
- Message?: string;
38
+ Message?: string | undefined;
39
39
  /**
40
40
  * @internal
41
41
  */
@@ -82,12 +82,12 @@ export interface Target {
82
82
  * </ul>
83
83
  * @public
84
84
  */
85
- TargetType?: string;
85
+ TargetType?: string | undefined;
86
86
  /**
87
87
  * <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
88
88
  * @public
89
89
  */
90
- TargetAddress?: string;
90
+ TargetAddress?: string | undefined;
91
91
  }
92
92
  /**
93
93
  * @public
@@ -134,18 +134,18 @@ export interface CreateNotificationRuleRequest {
134
134
  * </note>
135
135
  * @public
136
136
  */
137
- ClientRequestToken?: string;
137
+ ClientRequestToken?: string | undefined;
138
138
  /**
139
139
  * <p>A list of tags to apply to this notification rule. Key names cannot start with "<code>aws</code>". </p>
140
140
  * @public
141
141
  */
142
- Tags?: Record<string, string>;
142
+ Tags?: Record<string, string> | undefined;
143
143
  /**
144
144
  * <p>The status of the notification rule. The default value is <code>ENABLED</code>. If the status is
145
145
  * set to <code>DISABLED</code>, notifications aren't sent for the notification rule.</p>
146
146
  * @public
147
147
  */
148
- Status?: NotificationRuleStatus;
148
+ Status?: NotificationRuleStatus | undefined;
149
149
  }
150
150
  /**
151
151
  * @public
@@ -155,7 +155,7 @@ export interface CreateNotificationRuleResult {
155
155
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
156
156
  * @public
157
157
  */
158
- Arn?: string;
158
+ Arn?: string | undefined;
159
159
  }
160
160
  /**
161
161
  * <p>One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to
@@ -166,7 +166,7 @@ export interface CreateNotificationRuleResult {
166
166
  export declare class LimitExceededException extends __BaseException {
167
167
  readonly name: "LimitExceededException";
168
168
  readonly $fault: "client";
169
- Message?: string;
169
+ Message?: string | undefined;
170
170
  /**
171
171
  * @internal
172
172
  */
@@ -180,7 +180,7 @@ export declare class LimitExceededException extends __BaseException {
180
180
  export declare class ResourceAlreadyExistsException extends __BaseException {
181
181
  readonly name: "ResourceAlreadyExistsException";
182
182
  readonly $fault: "client";
183
- Message?: string;
183
+ Message?: string | undefined;
184
184
  /**
185
185
  * @internal
186
186
  */
@@ -193,7 +193,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
193
193
  export declare class ValidationException extends __BaseException {
194
194
  readonly name: "ValidationException";
195
195
  readonly $fault: "client";
196
- Message?: string;
196
+ Message?: string | undefined;
197
197
  /**
198
198
  * @internal
199
199
  */
@@ -217,7 +217,7 @@ export interface DeleteNotificationRuleResult {
217
217
  * <p>The Amazon Resource Name (ARN) of the deleted notification rule.</p>
218
218
  * @public
219
219
  */
220
- Arn?: string;
220
+ Arn?: string | undefined;
221
221
  }
222
222
  /**
223
223
  * @public
@@ -234,7 +234,7 @@ export interface DeleteTargetRequest {
234
234
  * notification rule in your Amazon Web Services account are deleted.</p>
235
235
  * @public
236
236
  */
237
- ForceUnsubscribeAll?: boolean;
237
+ ForceUnsubscribeAll?: boolean | undefined;
238
238
  }
239
239
  /**
240
240
  * @public
@@ -262,22 +262,22 @@ export interface EventTypeSummary {
262
262
  * in the <i>Developer Tools Console User Guide</i>.</p>
263
263
  * @public
264
264
  */
265
- EventTypeId?: string;
265
+ EventTypeId?: string | undefined;
266
266
  /**
267
267
  * <p>The name of the service for which the event applies.</p>
268
268
  * @public
269
269
  */
270
- ServiceName?: string;
270
+ ServiceName?: string | undefined;
271
271
  /**
272
272
  * <p>The name of the event.</p>
273
273
  * @public
274
274
  */
275
- EventTypeName?: string;
275
+ EventTypeName?: string | undefined;
276
276
  /**
277
277
  * <p>The resource type of the event.</p>
278
278
  * @public
279
279
  */
280
- ResourceType?: string;
280
+ ResourceType?: string | undefined;
281
281
  }
282
282
  /**
283
283
  * @public
@@ -303,7 +303,7 @@ export interface TargetSummary {
303
303
  * <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
304
304
  * @public
305
305
  */
306
- TargetAddress?: string;
306
+ TargetAddress?: string | undefined;
307
307
  /**
308
308
  * <p>The type of the target (for example, <code>SNS</code>).</p>
309
309
  * <ul>
@@ -316,12 +316,12 @@ export interface TargetSummary {
316
316
  * </ul>
317
317
  * @public
318
318
  */
319
- TargetType?: string;
319
+ TargetType?: string | undefined;
320
320
  /**
321
321
  * <p>The status of the target.</p>
322
322
  * @public
323
323
  */
324
- TargetStatus?: TargetStatus;
324
+ TargetStatus?: TargetStatus | undefined;
325
325
  }
326
326
  /**
327
327
  * @public
@@ -336,57 +336,57 @@ export interface DescribeNotificationRuleResult {
336
336
  * <p>The name of the notification rule.</p>
337
337
  * @public
338
338
  */
339
- Name?: string;
339
+ Name?: string | undefined;
340
340
  /**
341
341
  * <p>A list of the event types associated with the notification rule.</p>
342
342
  * @public
343
343
  */
344
- EventTypes?: EventTypeSummary[];
344
+ EventTypes?: EventTypeSummary[] | undefined;
345
345
  /**
346
346
  * <p>The Amazon Resource Name (ARN) of the resource associated with the notification
347
347
  * rule.</p>
348
348
  * @public
349
349
  */
350
- Resource?: string;
350
+ Resource?: string | undefined;
351
351
  /**
352
352
  * <p>A list of the Chatbot topics and Chatbot clients associated with the notification rule.</p>
353
353
  * @public
354
354
  */
355
- Targets?: TargetSummary[];
355
+ Targets?: TargetSummary[] | undefined;
356
356
  /**
357
357
  * <p>The level of detail included in the notifications for this resource. BASIC will include only the
358
358
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
359
359
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
360
360
  * @public
361
361
  */
362
- DetailType?: DetailType;
362
+ DetailType?: DetailType | undefined;
363
363
  /**
364
364
  * <p>The name or email alias of the person who created the notification rule.</p>
365
365
  * @public
366
366
  */
367
- CreatedBy?: string;
367
+ CreatedBy?: string | undefined;
368
368
  /**
369
369
  * <p>The status of the notification rule. Valid statuses are on (sending notifications) or off
370
370
  * (not sending notifications).</p>
371
371
  * @public
372
372
  */
373
- Status?: NotificationRuleStatus;
373
+ Status?: NotificationRuleStatus | undefined;
374
374
  /**
375
375
  * <p>The date and time the notification rule was created, in timestamp format.</p>
376
376
  * @public
377
377
  */
378
- CreatedTimestamp?: Date;
378
+ CreatedTimestamp?: Date | undefined;
379
379
  /**
380
380
  * <p>The date and time the notification rule was most recently updated, in timestamp
381
381
  * format.</p>
382
382
  * @public
383
383
  */
384
- LastModifiedTimestamp?: Date;
384
+ LastModifiedTimestamp?: Date | undefined;
385
385
  /**
386
386
  * <p>The tags associated with the notification rule.</p>
387
387
  * @public
388
388
  */
389
- Tags?: Record<string, string>;
389
+ Tags?: Record<string, string> | undefined;
390
390
  }
391
391
  /**
392
392
  * <p>AWS CodeStar Notifications can't find a resource that matches the provided ARN. </p>
@@ -395,7 +395,7 @@ export interface DescribeNotificationRuleResult {
395
395
  export declare class ResourceNotFoundException extends __BaseException {
396
396
  readonly name: "ResourceNotFoundException";
397
397
  readonly $fault: "client";
398
- Message?: string;
398
+ Message?: string | undefined;
399
399
  /**
400
400
  * @internal
401
401
  */
@@ -408,7 +408,7 @@ export declare class ResourceNotFoundException extends __BaseException {
408
408
  export declare class InvalidNextTokenException extends __BaseException {
409
409
  readonly name: "InvalidNextTokenException";
410
410
  readonly $fault: "client";
411
- Message?: string;
411
+ Message?: string | undefined;
412
412
  /**
413
413
  * @internal
414
414
  */
@@ -452,19 +452,19 @@ export interface ListEventTypesRequest {
452
452
  * <p>The filters to use to return information by service or resource type.</p>
453
453
  * @public
454
454
  */
455
- Filters?: ListEventTypesFilter[];
455
+ Filters?: ListEventTypesFilter[] | undefined;
456
456
  /**
457
457
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
458
458
  * results.</p>
459
459
  * @public
460
460
  */
461
- NextToken?: string;
461
+ NextToken?: string | undefined;
462
462
  /**
463
463
  * <p>A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of
464
464
  * results that can be returned is 100.</p>
465
465
  * @public
466
466
  */
467
- MaxResults?: number;
467
+ MaxResults?: number | undefined;
468
468
  }
469
469
  /**
470
470
  * @public
@@ -475,12 +475,12 @@ export interface ListEventTypesResult {
475
475
  * name.</p>
476
476
  * @public
477
477
  */
478
- EventTypes?: EventTypeSummary[];
478
+ EventTypes?: EventTypeSummary[] | undefined;
479
479
  /**
480
480
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
481
481
  * @public
482
482
  */
483
- NextToken?: string;
483
+ NextToken?: string | undefined;
484
484
  }
485
485
  /**
486
486
  * @public
@@ -526,19 +526,19 @@ export interface ListNotificationRulesRequest {
526
526
  * </note>
527
527
  * @public
528
528
  */
529
- Filters?: ListNotificationRulesFilter[];
529
+ Filters?: ListNotificationRulesFilter[] | undefined;
530
530
  /**
531
531
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
532
532
  * results.</p>
533
533
  * @public
534
534
  */
535
- NextToken?: string;
535
+ NextToken?: string | undefined;
536
536
  /**
537
537
  * <p>A non-negative integer used to limit the number of returned results. The maximum number of
538
538
  * results that can be returned is 100.</p>
539
539
  * @public
540
540
  */
541
- MaxResults?: number;
541
+ MaxResults?: number | undefined;
542
542
  }
543
543
  /**
544
544
  * <p>Information about a specified notification rule.</p>
@@ -549,12 +549,12 @@ export interface NotificationRuleSummary {
549
549
  * <p>The unique ID of the notification rule.</p>
550
550
  * @public
551
551
  */
552
- Id?: string;
552
+ Id?: string | undefined;
553
553
  /**
554
554
  * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
555
555
  * @public
556
556
  */
557
- Arn?: string;
557
+ Arn?: string | undefined;
558
558
  }
559
559
  /**
560
560
  * @public
@@ -564,12 +564,12 @@ export interface ListNotificationRulesResult {
564
564
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
565
565
  * @public
566
566
  */
567
- NextToken?: string;
567
+ NextToken?: string | undefined;
568
568
  /**
569
569
  * <p>The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID. </p>
570
570
  * @public
571
571
  */
572
- NotificationRules?: NotificationRuleSummary[];
572
+ NotificationRules?: NotificationRuleSummary[] | undefined;
573
573
  }
574
574
  /**
575
575
  * @public
@@ -589,7 +589,7 @@ export interface ListTagsForResourceResult {
589
589
  * <p>The tags associated with the notification rule.</p>
590
590
  * @public
591
591
  */
592
- Tags?: Record<string, string>;
592
+ Tags?: Record<string, string> | undefined;
593
593
  }
594
594
  /**
595
595
  * @public
@@ -638,19 +638,19 @@ export interface ListTargetsRequest {
638
638
  * </note>
639
639
  * @public
640
640
  */
641
- Filters?: ListTargetsFilter[];
641
+ Filters?: ListTargetsFilter[] | undefined;
642
642
  /**
643
643
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
644
644
  * results.</p>
645
645
  * @public
646
646
  */
647
- NextToken?: string;
647
+ NextToken?: string | undefined;
648
648
  /**
649
649
  * <p>A non-negative integer used to limit the number of returned results. The maximum number of
650
650
  * results that can be returned is 100.</p>
651
651
  * @public
652
652
  */
653
- MaxResults?: number;
653
+ MaxResults?: number | undefined;
654
654
  }
655
655
  /**
656
656
  * @public
@@ -660,13 +660,13 @@ export interface ListTargetsResult {
660
660
  * <p>The list of notification rule targets. </p>
661
661
  * @public
662
662
  */
663
- Targets?: TargetSummary[];
663
+ Targets?: TargetSummary[] | undefined;
664
664
  /**
665
665
  * <p>An enumeration token that can be used in a request to return the next batch of
666
666
  * results.</p>
667
667
  * @public
668
668
  */
669
- NextToken?: string;
669
+ NextToken?: string | undefined;
670
670
  }
671
671
  /**
672
672
  * @public
@@ -687,7 +687,7 @@ export interface SubscribeRequest {
687
687
  * results.</p>
688
688
  * @public
689
689
  */
690
- ClientRequestToken?: string;
690
+ ClientRequestToken?: string | undefined;
691
691
  }
692
692
  /**
693
693
  * @public
@@ -697,7 +697,7 @@ export interface SubscribeResult {
697
697
  * <p>The Amazon Resource Name (ARN) of the notification rule for which you have created assocations.</p>
698
698
  * @public
699
699
  */
700
- Arn?: string;
700
+ Arn?: string | undefined;
701
701
  }
702
702
  /**
703
703
  * @public
@@ -722,7 +722,7 @@ export interface TagResourceResult {
722
722
  * <p>The list of tags associated with the resource.</p>
723
723
  * @public
724
724
  */
725
- Tags?: Record<string, string>;
725
+ Tags?: Record<string, string> | undefined;
726
726
  }
727
727
  /**
728
728
  * @public
@@ -783,33 +783,33 @@ export interface UpdateNotificationRuleRequest {
783
783
  * <p>The name of the notification rule.</p>
784
784
  * @public
785
785
  */
786
- Name?: string;
786
+ Name?: string | undefined;
787
787
  /**
788
788
  * <p>The status of the notification rule. Valid statuses include enabled (sending notifications) or
789
789
  * disabled (not sending notifications).</p>
790
790
  * @public
791
791
  */
792
- Status?: NotificationRuleStatus;
792
+ Status?: NotificationRuleStatus | undefined;
793
793
  /**
794
794
  * <p>A list of event types associated with this notification rule. For a complete list of event types and IDs, see
795
795
  * <a href="https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api">Notification concepts</a>
796
796
  * in the <i>Developer Tools Console User Guide</i>.</p>
797
797
  * @public
798
798
  */
799
- EventTypeIds?: string[];
799
+ EventTypeIds?: string[] | undefined;
800
800
  /**
801
801
  * <p>The address and type of the targets to receive notifications from this notification
802
802
  * rule.</p>
803
803
  * @public
804
804
  */
805
- Targets?: Target[];
805
+ Targets?: Target[] | undefined;
806
806
  /**
807
807
  * <p>The level of detail to include in the notifications for this resource. BASIC will include only the
808
808
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
809
809
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
810
810
  * @public
811
811
  */
812
- DetailType?: DetailType;
812
+ DetailType?: DetailType | undefined;
813
813
  }
814
814
  /**
815
815
  * @public
@@ -3,7 +3,7 @@ import { CodestarNotificationsServiceException as __BaseException } from "./Code
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
@@ -11,7 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
11
11
  export declare class ConcurrentModificationException extends __BaseException {
12
12
  readonly name: "ConcurrentModificationException";
13
13
  readonly $fault: "client";
14
- Message?: string;
14
+ Message?: string | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<
17
17
  ConcurrentModificationException,
@@ -22,7 +22,7 @@ export declare class ConcurrentModificationException extends __BaseException {
22
22
  export declare class ConfigurationException extends __BaseException {
23
23
  readonly name: "ConfigurationException";
24
24
  readonly $fault: "client";
25
- Message?: string;
25
+ Message?: string | undefined;
26
26
  constructor(
27
27
  opts: __ExceptionOptionType<ConfigurationException, __BaseException>
28
28
  );
@@ -39,8 +39,8 @@ export declare const NotificationRuleStatus: {
39
39
  export type NotificationRuleStatus =
40
40
  (typeof NotificationRuleStatus)[keyof typeof NotificationRuleStatus];
41
41
  export interface Target {
42
- TargetType?: string;
43
- TargetAddress?: string;
42
+ TargetType?: string | undefined;
43
+ TargetAddress?: string | undefined;
44
44
  }
45
45
  export interface CreateNotificationRuleRequest {
46
46
  Name: string | undefined;
@@ -48,17 +48,17 @@ export interface CreateNotificationRuleRequest {
48
48
  Resource: string | undefined;
49
49
  Targets: Target[] | undefined;
50
50
  DetailType: DetailType | undefined;
51
- ClientRequestToken?: string;
52
- Tags?: Record<string, string>;
53
- Status?: NotificationRuleStatus;
51
+ ClientRequestToken?: string | undefined;
52
+ Tags?: Record<string, string> | undefined;
53
+ Status?: NotificationRuleStatus | undefined;
54
54
  }
55
55
  export interface CreateNotificationRuleResult {
56
- Arn?: string;
56
+ Arn?: string | undefined;
57
57
  }
58
58
  export declare class LimitExceededException extends __BaseException {
59
59
  readonly name: "LimitExceededException";
60
60
  readonly $fault: "client";
61
- Message?: string;
61
+ Message?: string | undefined;
62
62
  constructor(
63
63
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
64
64
  );
@@ -66,7 +66,7 @@ export declare class LimitExceededException extends __BaseException {
66
66
  export declare class ResourceAlreadyExistsException extends __BaseException {
67
67
  readonly name: "ResourceAlreadyExistsException";
68
68
  readonly $fault: "client";
69
- Message?: string;
69
+ Message?: string | undefined;
70
70
  constructor(
71
71
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
72
72
  );
@@ -74,7 +74,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
74
74
  export declare class ValidationException extends __BaseException {
75
75
  readonly name: "ValidationException";
76
76
  readonly $fault: "client";
77
- Message?: string;
77
+ Message?: string | undefined;
78
78
  constructor(
79
79
  opts: __ExceptionOptionType<ValidationException, __BaseException>
80
80
  );
@@ -83,21 +83,21 @@ export interface DeleteNotificationRuleRequest {
83
83
  Arn: string | undefined;
84
84
  }
85
85
  export interface DeleteNotificationRuleResult {
86
- Arn?: string;
86
+ Arn?: string | undefined;
87
87
  }
88
88
  export interface DeleteTargetRequest {
89
89
  TargetAddress: string | undefined;
90
- ForceUnsubscribeAll?: boolean;
90
+ ForceUnsubscribeAll?: boolean | undefined;
91
91
  }
92
92
  export interface DeleteTargetResult {}
93
93
  export interface DescribeNotificationRuleRequest {
94
94
  Arn: string | undefined;
95
95
  }
96
96
  export interface EventTypeSummary {
97
- EventTypeId?: string;
98
- ServiceName?: string;
99
- EventTypeName?: string;
100
- ResourceType?: string;
97
+ EventTypeId?: string | undefined;
98
+ ServiceName?: string | undefined;
99
+ EventTypeName?: string | undefined;
100
+ ResourceType?: string | undefined;
101
101
  }
102
102
  export declare const TargetStatus: {
103
103
  readonly ACTIVE: "ACTIVE";
@@ -108,27 +108,27 @@ export declare const TargetStatus: {
108
108
  };
109
109
  export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
110
110
  export interface TargetSummary {
111
- TargetAddress?: string;
112
- TargetType?: string;
113
- TargetStatus?: TargetStatus;
111
+ TargetAddress?: string | undefined;
112
+ TargetType?: string | undefined;
113
+ TargetStatus?: TargetStatus | undefined;
114
114
  }
115
115
  export interface DescribeNotificationRuleResult {
116
116
  Arn: string | undefined;
117
- Name?: string;
118
- EventTypes?: EventTypeSummary[];
119
- Resource?: string;
120
- Targets?: TargetSummary[];
121
- DetailType?: DetailType;
122
- CreatedBy?: string;
123
- Status?: NotificationRuleStatus;
124
- CreatedTimestamp?: Date;
125
- LastModifiedTimestamp?: Date;
126
- Tags?: Record<string, string>;
117
+ Name?: string | undefined;
118
+ EventTypes?: EventTypeSummary[] | undefined;
119
+ Resource?: string | undefined;
120
+ Targets?: TargetSummary[] | undefined;
121
+ DetailType?: DetailType | undefined;
122
+ CreatedBy?: string | undefined;
123
+ Status?: NotificationRuleStatus | undefined;
124
+ CreatedTimestamp?: Date | undefined;
125
+ LastModifiedTimestamp?: Date | undefined;
126
+ Tags?: Record<string, string> | undefined;
127
127
  }
128
128
  export declare class ResourceNotFoundException extends __BaseException {
129
129
  readonly name: "ResourceNotFoundException";
130
130
  readonly $fault: "client";
131
- Message?: string;
131
+ Message?: string | undefined;
132
132
  constructor(
133
133
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
134
134
  );
@@ -136,7 +136,7 @@ export declare class ResourceNotFoundException extends __BaseException {
136
136
  export declare class InvalidNextTokenException extends __BaseException {
137
137
  readonly name: "InvalidNextTokenException";
138
138
  readonly $fault: "client";
139
- Message?: string;
139
+ Message?: string | undefined;
140
140
  constructor(
141
141
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
142
142
  );
@@ -152,13 +152,13 @@ export interface ListEventTypesFilter {
152
152
  Value: string | undefined;
153
153
  }
154
154
  export interface ListEventTypesRequest {
155
- Filters?: ListEventTypesFilter[];
156
- NextToken?: string;
157
- MaxResults?: number;
155
+ Filters?: ListEventTypesFilter[] | undefined;
156
+ NextToken?: string | undefined;
157
+ MaxResults?: number | undefined;
158
158
  }
159
159
  export interface ListEventTypesResult {
160
- EventTypes?: EventTypeSummary[];
161
- NextToken?: string;
160
+ EventTypes?: EventTypeSummary[] | undefined;
161
+ NextToken?: string | undefined;
162
162
  }
163
163
  export declare const ListNotificationRulesFilterName: {
164
164
  readonly CREATED_BY: "CREATED_BY";
@@ -173,23 +173,23 @@ export interface ListNotificationRulesFilter {
173
173
  Value: string | undefined;
174
174
  }
175
175
  export interface ListNotificationRulesRequest {
176
- Filters?: ListNotificationRulesFilter[];
177
- NextToken?: string;
178
- MaxResults?: number;
176
+ Filters?: ListNotificationRulesFilter[] | undefined;
177
+ NextToken?: string | undefined;
178
+ MaxResults?: number | undefined;
179
179
  }
180
180
  export interface NotificationRuleSummary {
181
- Id?: string;
182
- Arn?: string;
181
+ Id?: string | undefined;
182
+ Arn?: string | undefined;
183
183
  }
184
184
  export interface ListNotificationRulesResult {
185
- NextToken?: string;
186
- NotificationRules?: NotificationRuleSummary[];
185
+ NextToken?: string | undefined;
186
+ NotificationRules?: NotificationRuleSummary[] | undefined;
187
187
  }
188
188
  export interface ListTagsForResourceRequest {
189
189
  Arn: string | undefined;
190
190
  }
191
191
  export interface ListTagsForResourceResult {
192
- Tags?: Record<string, string>;
192
+ Tags?: Record<string, string> | undefined;
193
193
  }
194
194
  export declare const ListTargetsFilterName: {
195
195
  readonly TARGET_ADDRESS: "TARGET_ADDRESS";
@@ -203,28 +203,28 @@ export interface ListTargetsFilter {
203
203
  Value: string | undefined;
204
204
  }
205
205
  export interface ListTargetsRequest {
206
- Filters?: ListTargetsFilter[];
207
- NextToken?: string;
208
- MaxResults?: number;
206
+ Filters?: ListTargetsFilter[] | undefined;
207
+ NextToken?: string | undefined;
208
+ MaxResults?: number | undefined;
209
209
  }
210
210
  export interface ListTargetsResult {
211
- Targets?: TargetSummary[];
212
- NextToken?: string;
211
+ Targets?: TargetSummary[] | undefined;
212
+ NextToken?: string | undefined;
213
213
  }
214
214
  export interface SubscribeRequest {
215
215
  Arn: string | undefined;
216
216
  Target: Target | undefined;
217
- ClientRequestToken?: string;
217
+ ClientRequestToken?: string | undefined;
218
218
  }
219
219
  export interface SubscribeResult {
220
- Arn?: string;
220
+ Arn?: string | undefined;
221
221
  }
222
222
  export interface TagResourceRequest {
223
223
  Arn: string | undefined;
224
224
  Tags: Record<string, string> | undefined;
225
225
  }
226
226
  export interface TagResourceResult {
227
- Tags?: Record<string, string>;
227
+ Tags?: Record<string, string> | undefined;
228
228
  }
229
229
  export interface UnsubscribeRequest {
230
230
  Arn: string | undefined;
@@ -240,11 +240,11 @@ export interface UntagResourceRequest {
240
240
  export interface UntagResourceResult {}
241
241
  export interface UpdateNotificationRuleRequest {
242
242
  Arn: string | undefined;
243
- Name?: string;
244
- Status?: NotificationRuleStatus;
245
- EventTypeIds?: string[];
246
- Targets?: Target[];
247
- DetailType?: DetailType;
243
+ Name?: string | undefined;
244
+ Status?: NotificationRuleStatus | undefined;
245
+ EventTypeIds?: string[] | undefined;
246
+ Targets?: Target[] | undefined;
247
+ DetailType?: DetailType | undefined;
248
248
  }
249
249
  export interface UpdateNotificationRuleResult {}
250
250
  export declare const TargetFilterSensitiveLog: (obj: Target) => any;
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.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codestar-notifications",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",