@aws-sdk/client-codestar-notifications 3.170.0 → 3.173.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/CHANGELOG.md +19 -0
- package/README.md +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +19 -15
- package/dist-es/protocols/Aws_restJson1.js +65 -54
- package/dist-types/CodestarNotifications.d.ts +7 -7
- package/dist-types/CodestarNotificationsClient.d.ts +2 -2
- package/dist-types/commands/CreateNotificationRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeCommand.d.ts +1 -1
- package/dist-types/commands/UnsubscribeCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +53 -34
- package/dist-types/ts3.4/CodestarNotifications.d.ts +0 -13
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +0 -25
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -103
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +26 -26
|
@@ -47,22 +47,29 @@ export declare enum NotificationRuleStatus {
|
|
|
47
47
|
ENABLED = "ENABLED"
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* <p>Information about the
|
|
50
|
+
* <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
|
|
51
51
|
*/
|
|
52
52
|
export interface Target {
|
|
53
53
|
/**
|
|
54
|
-
* <p>The target type. Can be an
|
|
54
|
+
* <p>The target type. Can be an Chatbot topic or Chatbot client.</p>
|
|
55
|
+
* <ul>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>Chatbot topics are specified as <code>SNS</code>.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>Chatbot clients are specified as <code>AWSChatbotSlack</code>.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
55
63
|
*/
|
|
56
64
|
TargetType?: string;
|
|
57
65
|
/**
|
|
58
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
66
|
+
* <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
|
|
59
67
|
*/
|
|
60
68
|
TargetAddress?: string;
|
|
61
69
|
}
|
|
62
70
|
export interface CreateNotificationRuleRequest {
|
|
63
71
|
/**
|
|
64
|
-
* <p>The name for the notification rule.
|
|
65
|
-
* account.</p>
|
|
72
|
+
* <p>The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.</p>
|
|
66
73
|
*/
|
|
67
74
|
Name: string | undefined;
|
|
68
75
|
/**
|
|
@@ -71,18 +78,18 @@ export interface CreateNotificationRuleRequest {
|
|
|
71
78
|
*/
|
|
72
79
|
EventTypeIds: string[] | undefined;
|
|
73
80
|
/**
|
|
74
|
-
* <p>The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in
|
|
75
|
-
* repositories in
|
|
81
|
+
* <p>The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline,
|
|
82
|
+
* repositories in CodeCommit, and build projects in CodeBuild.</p>
|
|
76
83
|
*/
|
|
77
84
|
Resource: string | undefined;
|
|
78
85
|
/**
|
|
79
|
-
* <p>A list of Amazon Resource Names (ARNs) of
|
|
86
|
+
* <p>A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the
|
|
80
87
|
* notification rule.</p>
|
|
81
88
|
*/
|
|
82
89
|
Targets: Target[] | undefined;
|
|
83
90
|
/**
|
|
84
|
-
* <p>The level of detail to include in the notifications for this resource. BASIC will include only the
|
|
85
|
-
* contents of the event as it would appear in
|
|
91
|
+
* <p>The level of detail to include in the notifications for this resource. <code>BASIC</code> will include only the
|
|
92
|
+
* contents of the event as it would appear in Amazon CloudWatch. <code>FULL</code> will include any supplemental information
|
|
86
93
|
* provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
|
|
87
94
|
*/
|
|
88
95
|
DetailType: DetailType | string | undefined;
|
|
@@ -92,18 +99,18 @@ export interface CreateNotificationRuleRequest {
|
|
|
92
99
|
* parameters is received and a token is included, the request returns information about
|
|
93
100
|
* the initial request that used that token.</p>
|
|
94
101
|
* <note>
|
|
95
|
-
* <p>The
|
|
102
|
+
* <p>The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an
|
|
96
103
|
* idempotency token is created for you.</p>
|
|
97
104
|
* </note>
|
|
98
105
|
*/
|
|
99
106
|
ClientRequestToken?: string;
|
|
100
107
|
/**
|
|
101
|
-
* <p>A list of tags to apply to this notification rule. Key names cannot start with "aws". </p>
|
|
108
|
+
* <p>A list of tags to apply to this notification rule. Key names cannot start with "<code>aws</code>". </p>
|
|
102
109
|
*/
|
|
103
110
|
Tags?: Record<string, string>;
|
|
104
111
|
/**
|
|
105
|
-
* <p>The status of the notification rule. The default value is ENABLED
|
|
106
|
-
* set to DISABLED
|
|
112
|
+
* <p>The status of the notification rule. The default value is <code>ENABLED</code>. If the status is
|
|
113
|
+
* set to <code>DISABLED</code>, notifications aren't sent for the notification rule.</p>
|
|
107
114
|
*/
|
|
108
115
|
Status?: NotificationRuleStatus | string;
|
|
109
116
|
}
|
|
@@ -129,7 +136,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
129
136
|
}
|
|
130
137
|
/**
|
|
131
138
|
* <p>A resource with the same name or ID already exists. Notification rule names must be
|
|
132
|
-
* unique in your
|
|
139
|
+
* unique in your Amazon Web Services account.</p>
|
|
133
140
|
*/
|
|
134
141
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
135
142
|
readonly name: "ResourceAlreadyExistsException";
|
|
@@ -166,13 +173,13 @@ export interface DeleteNotificationRuleResult {
|
|
|
166
173
|
}
|
|
167
174
|
export interface DeleteTargetRequest {
|
|
168
175
|
/**
|
|
169
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
176
|
+
* <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.</p>
|
|
170
177
|
*/
|
|
171
178
|
TargetAddress: string | undefined;
|
|
172
179
|
/**
|
|
173
|
-
* <p>A Boolean value that can be used to delete all associations with this
|
|
180
|
+
* <p>A Boolean value that can be used to delete all associations with this Chatbot topic. The
|
|
174
181
|
* default value is FALSE. If set to TRUE, all associations between that target and every
|
|
175
|
-
* notification rule in your
|
|
182
|
+
* notification rule in your Amazon Web Services account are deleted.</p>
|
|
176
183
|
*/
|
|
177
184
|
ForceUnsubscribeAll?: boolean;
|
|
178
185
|
}
|
|
@@ -189,7 +196,9 @@ export interface DescribeNotificationRuleRequest {
|
|
|
189
196
|
*/
|
|
190
197
|
export interface EventTypeSummary {
|
|
191
198
|
/**
|
|
192
|
-
* <p>The system-generated ID of the event
|
|
199
|
+
* <p>The system-generated ID of the event. For a complete list of event types and IDs, see
|
|
200
|
+
* <a href="https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api">Notification concepts</a>
|
|
201
|
+
* in the <i>Developer Tools Console User Guide</i>.</p>
|
|
193
202
|
*/
|
|
194
203
|
EventTypeId?: string;
|
|
195
204
|
/**
|
|
@@ -217,11 +226,19 @@ export declare enum TargetStatus {
|
|
|
217
226
|
*/
|
|
218
227
|
export interface TargetSummary {
|
|
219
228
|
/**
|
|
220
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
229
|
+
* <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.</p>
|
|
221
230
|
*/
|
|
222
231
|
TargetAddress?: string;
|
|
223
232
|
/**
|
|
224
|
-
* <p>The type of the target (for example, SNS).</p>
|
|
233
|
+
* <p>The type of the target (for example, <code>SNS</code>).</p>
|
|
234
|
+
* <ul>
|
|
235
|
+
* <li>
|
|
236
|
+
* <p>Chatbot topics are specified as <code>SNS</code>.</p>
|
|
237
|
+
* </li>
|
|
238
|
+
* <li>
|
|
239
|
+
* <p>Chatbot clients are specified as <code>AWSChatbotSlack</code>.</p>
|
|
240
|
+
* </li>
|
|
241
|
+
* </ul>
|
|
225
242
|
*/
|
|
226
243
|
TargetType?: string;
|
|
227
244
|
/**
|
|
@@ -248,12 +265,12 @@ export interface DescribeNotificationRuleResult {
|
|
|
248
265
|
*/
|
|
249
266
|
Resource?: string;
|
|
250
267
|
/**
|
|
251
|
-
* <p>A list of the
|
|
268
|
+
* <p>A list of the Chatbot topics and Chatbot clients associated with the notification rule.</p>
|
|
252
269
|
*/
|
|
253
270
|
Targets?: TargetSummary[];
|
|
254
271
|
/**
|
|
255
272
|
* <p>The level of detail included in the notifications for this resource. BASIC will include only the
|
|
256
|
-
* contents of the event as it would appear in
|
|
273
|
+
* contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
|
|
257
274
|
* provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
|
|
258
275
|
*/
|
|
259
276
|
DetailType?: DetailType | string;
|
|
@@ -367,7 +384,7 @@ export interface ListNotificationRulesFilter {
|
|
|
367
384
|
Name: ListNotificationRulesFilterName | string | undefined;
|
|
368
385
|
/**
|
|
369
386
|
* <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>
|
|
370
|
-
* in Name, you might specify the ARN of a pipeline in
|
|
387
|
+
* in Name, you might specify the ARN of a pipeline in CodePipeline for the value.</p>
|
|
371
388
|
*/
|
|
372
389
|
Value: string | undefined;
|
|
373
390
|
}
|
|
@@ -410,7 +427,7 @@ export interface ListNotificationRulesResult {
|
|
|
410
427
|
*/
|
|
411
428
|
NextToken?: string;
|
|
412
429
|
/**
|
|
413
|
-
* <p>The list of notification rules for the
|
|
430
|
+
* <p>The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID. </p>
|
|
414
431
|
*/
|
|
415
432
|
NotificationRules?: NotificationRuleSummary[];
|
|
416
433
|
}
|
|
@@ -434,9 +451,9 @@ export declare enum ListTargetsFilterName {
|
|
|
434
451
|
/**
|
|
435
452
|
* <p>Information about a filter to apply to the list of returned targets. You can filter by
|
|
436
453
|
* target type, address, or status. For example, to filter results to notification rules
|
|
437
|
-
* that have active
|
|
438
|
-
* Name as TargetType and a Value of SNS
|
|
439
|
-
* ACTIVE
|
|
454
|
+
* that have active Chatbot topics as targets, you could specify a ListTargetsFilter
|
|
455
|
+
* Name as <code>TargetType</code> and a Value of <code>SNS</code>, and a Name of <code>TARGET_STATUS</code> and a Value of
|
|
456
|
+
* <code>ACTIVE</code>.</p>
|
|
440
457
|
*/
|
|
441
458
|
export interface ListTargetsFilter {
|
|
442
459
|
/**
|
|
@@ -445,7 +462,7 @@ export interface ListTargetsFilter {
|
|
|
445
462
|
Name: ListTargetsFilterName | string | undefined;
|
|
446
463
|
/**
|
|
447
464
|
* <p>The value of the attribute you want to use to filter the returned targets. For example,
|
|
448
|
-
* if you specify <
|
|
465
|
+
* if you specify <code>SNS</code> for the Target type, you could specify an Amazon
|
|
449
466
|
* Resource Name (ARN) for a topic as the value.</p>
|
|
450
467
|
*/
|
|
451
468
|
Value: string | undefined;
|
|
@@ -487,7 +504,7 @@ export interface SubscribeRequest {
|
|
|
487
504
|
*/
|
|
488
505
|
Arn: string | undefined;
|
|
489
506
|
/**
|
|
490
|
-
* <p>Information about the
|
|
507
|
+
* <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
|
|
491
508
|
*/
|
|
492
509
|
Target: Target | undefined;
|
|
493
510
|
/**
|
|
@@ -508,7 +525,7 @@ export interface TagResourceRequest {
|
|
|
508
525
|
*/
|
|
509
526
|
Arn: string | undefined;
|
|
510
527
|
/**
|
|
511
|
-
* <p>The list of tags to associate with the resource. Tag key names cannot start with "aws".</p>
|
|
528
|
+
* <p>The list of tags to associate with the resource. Tag key names cannot start with "<code>aws</code>".</p>
|
|
512
529
|
*/
|
|
513
530
|
Tags: Record<string, string> | undefined;
|
|
514
531
|
}
|
|
@@ -524,7 +541,7 @@ export interface UnsubscribeRequest {
|
|
|
524
541
|
*/
|
|
525
542
|
Arn: string | undefined;
|
|
526
543
|
/**
|
|
527
|
-
* <p>The ARN of the
|
|
544
|
+
* <p>The ARN of the Chatbot topic to unsubscribe from the notification rule.</p>
|
|
528
545
|
*/
|
|
529
546
|
TargetAddress: string | undefined;
|
|
530
547
|
}
|
|
@@ -562,7 +579,9 @@ export interface UpdateNotificationRuleRequest {
|
|
|
562
579
|
*/
|
|
563
580
|
Status?: NotificationRuleStatus | string;
|
|
564
581
|
/**
|
|
565
|
-
* <p>A list of event types associated with this notification rule
|
|
582
|
+
* <p>A list of event types associated with this notification rule. For a complete list of event types and IDs, see
|
|
583
|
+
* <a href="https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api">Notification concepts</a>
|
|
584
|
+
* in the <i>Developer Tools Console User Guide</i>.</p>
|
|
566
585
|
*/
|
|
567
586
|
EventTypeIds?: string[];
|
|
568
587
|
/**
|
|
@@ -572,7 +591,7 @@ export interface UpdateNotificationRuleRequest {
|
|
|
572
591
|
Targets?: Target[];
|
|
573
592
|
/**
|
|
574
593
|
* <p>The level of detail to include in the notifications for this resource. BASIC will include only the
|
|
575
|
-
* contents of the event as it would appear in
|
|
594
|
+
* contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
|
|
576
595
|
* provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
|
|
577
596
|
*/
|
|
578
597
|
DetailType?: DetailType | string;
|
|
@@ -52,7 +52,6 @@ import {
|
|
|
52
52
|
UpdateNotificationRuleCommandInput,
|
|
53
53
|
UpdateNotificationRuleCommandOutput,
|
|
54
54
|
} from "./commands/UpdateNotificationRuleCommand";
|
|
55
|
-
|
|
56
55
|
export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
57
56
|
createNotificationRule(
|
|
58
57
|
args: CreateNotificationRuleCommandInput,
|
|
@@ -67,7 +66,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
67
66
|
options: __HttpHandlerOptions,
|
|
68
67
|
cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void
|
|
69
68
|
): void;
|
|
70
|
-
|
|
71
69
|
deleteNotificationRule(
|
|
72
70
|
args: DeleteNotificationRuleCommandInput,
|
|
73
71
|
options?: __HttpHandlerOptions
|
|
@@ -81,7 +79,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
81
79
|
options: __HttpHandlerOptions,
|
|
82
80
|
cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void
|
|
83
81
|
): void;
|
|
84
|
-
|
|
85
82
|
deleteTarget(
|
|
86
83
|
args: DeleteTargetCommandInput,
|
|
87
84
|
options?: __HttpHandlerOptions
|
|
@@ -95,7 +92,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
95
92
|
options: __HttpHandlerOptions,
|
|
96
93
|
cb: (err: any, data?: DeleteTargetCommandOutput) => void
|
|
97
94
|
): void;
|
|
98
|
-
|
|
99
95
|
describeNotificationRule(
|
|
100
96
|
args: DescribeNotificationRuleCommandInput,
|
|
101
97
|
options?: __HttpHandlerOptions
|
|
@@ -109,7 +105,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
109
105
|
options: __HttpHandlerOptions,
|
|
110
106
|
cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void
|
|
111
107
|
): void;
|
|
112
|
-
|
|
113
108
|
listEventTypes(
|
|
114
109
|
args: ListEventTypesCommandInput,
|
|
115
110
|
options?: __HttpHandlerOptions
|
|
@@ -123,7 +118,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
123
118
|
options: __HttpHandlerOptions,
|
|
124
119
|
cb: (err: any, data?: ListEventTypesCommandOutput) => void
|
|
125
120
|
): void;
|
|
126
|
-
|
|
127
121
|
listNotificationRules(
|
|
128
122
|
args: ListNotificationRulesCommandInput,
|
|
129
123
|
options?: __HttpHandlerOptions
|
|
@@ -137,7 +131,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
137
131
|
options: __HttpHandlerOptions,
|
|
138
132
|
cb: (err: any, data?: ListNotificationRulesCommandOutput) => void
|
|
139
133
|
): void;
|
|
140
|
-
|
|
141
134
|
listTagsForResource(
|
|
142
135
|
args: ListTagsForResourceCommandInput,
|
|
143
136
|
options?: __HttpHandlerOptions
|
|
@@ -151,7 +144,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
151
144
|
options: __HttpHandlerOptions,
|
|
152
145
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
153
146
|
): void;
|
|
154
|
-
|
|
155
147
|
listTargets(
|
|
156
148
|
args: ListTargetsCommandInput,
|
|
157
149
|
options?: __HttpHandlerOptions
|
|
@@ -165,7 +157,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
165
157
|
options: __HttpHandlerOptions,
|
|
166
158
|
cb: (err: any, data?: ListTargetsCommandOutput) => void
|
|
167
159
|
): void;
|
|
168
|
-
|
|
169
160
|
subscribe(
|
|
170
161
|
args: SubscribeCommandInput,
|
|
171
162
|
options?: __HttpHandlerOptions
|
|
@@ -179,7 +170,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
179
170
|
options: __HttpHandlerOptions,
|
|
180
171
|
cb: (err: any, data?: SubscribeCommandOutput) => void
|
|
181
172
|
): void;
|
|
182
|
-
|
|
183
173
|
tagResource(
|
|
184
174
|
args: TagResourceCommandInput,
|
|
185
175
|
options?: __HttpHandlerOptions
|
|
@@ -193,7 +183,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
193
183
|
options: __HttpHandlerOptions,
|
|
194
184
|
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
195
185
|
): void;
|
|
196
|
-
|
|
197
186
|
unsubscribe(
|
|
198
187
|
args: UnsubscribeCommandInput,
|
|
199
188
|
options?: __HttpHandlerOptions
|
|
@@ -207,7 +196,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
207
196
|
options: __HttpHandlerOptions,
|
|
208
197
|
cb: (err: any, data?: UnsubscribeCommandOutput) => void
|
|
209
198
|
): void;
|
|
210
|
-
|
|
211
199
|
untagResource(
|
|
212
200
|
args: UntagResourceCommandInput,
|
|
213
201
|
options?: __HttpHandlerOptions
|
|
@@ -221,7 +209,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
221
209
|
options: __HttpHandlerOptions,
|
|
222
210
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
223
211
|
): void;
|
|
224
|
-
|
|
225
212
|
updateNotificationRule(
|
|
226
213
|
args: UpdateNotificationRuleCommandInput,
|
|
227
214
|
options?: __HttpHandlerOptions
|
|
@@ -125,47 +125,26 @@ export declare type ServiceOutputTypes =
|
|
|
125
125
|
export interface ClientDefaults
|
|
126
126
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
127
127
|
requestHandler?: __HttpHandler;
|
|
128
|
-
|
|
129
128
|
sha256?: __HashConstructor;
|
|
130
|
-
|
|
131
129
|
urlParser?: __UrlParser;
|
|
132
|
-
|
|
133
130
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
134
|
-
|
|
135
131
|
streamCollector?: __StreamCollector;
|
|
136
|
-
|
|
137
132
|
base64Decoder?: __Decoder;
|
|
138
|
-
|
|
139
133
|
base64Encoder?: __Encoder;
|
|
140
|
-
|
|
141
134
|
utf8Decoder?: __Decoder;
|
|
142
|
-
|
|
143
135
|
utf8Encoder?: __Encoder;
|
|
144
|
-
|
|
145
136
|
runtime?: string;
|
|
146
|
-
|
|
147
137
|
disableHostPrefix?: boolean;
|
|
148
|
-
|
|
149
138
|
maxAttempts?: number | __Provider<number>;
|
|
150
|
-
|
|
151
139
|
retryMode?: string | __Provider<string>;
|
|
152
|
-
|
|
153
140
|
logger?: __Logger;
|
|
154
|
-
|
|
155
141
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
156
|
-
|
|
157
142
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
158
|
-
|
|
159
143
|
serviceId?: string;
|
|
160
|
-
|
|
161
144
|
region?: string | __Provider<string>;
|
|
162
|
-
|
|
163
145
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
164
|
-
|
|
165
146
|
regionInfoProvider?: RegionInfoProvider;
|
|
166
|
-
|
|
167
147
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
168
|
-
|
|
169
148
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
170
149
|
}
|
|
171
150
|
declare type CodestarNotificationsClientConfigType = Partial<
|
|
@@ -178,7 +157,6 @@ declare type CodestarNotificationsClientConfigType = Partial<
|
|
|
178
157
|
HostHeaderInputConfig &
|
|
179
158
|
AwsAuthInputConfig &
|
|
180
159
|
UserAgentInputConfig;
|
|
181
|
-
|
|
182
160
|
export interface CodestarNotificationsClientConfig
|
|
183
161
|
extends CodestarNotificationsClientConfigType {}
|
|
184
162
|
declare type CodestarNotificationsClientResolvedConfigType =
|
|
@@ -190,10 +168,8 @@ declare type CodestarNotificationsClientResolvedConfigType =
|
|
|
190
168
|
HostHeaderResolvedConfig &
|
|
191
169
|
AwsAuthResolvedConfig &
|
|
192
170
|
UserAgentResolvedConfig;
|
|
193
|
-
|
|
194
171
|
export interface CodestarNotificationsClientResolvedConfig
|
|
195
172
|
extends CodestarNotificationsClientResolvedConfigType {}
|
|
196
|
-
|
|
197
173
|
export declare class CodestarNotificationsClient extends __Client<
|
|
198
174
|
__HttpHandlerOptions,
|
|
199
175
|
ServiceInputTypes,
|
|
@@ -202,7 +178,6 @@ export declare class CodestarNotificationsClient extends __Client<
|
|
|
202
178
|
> {
|
|
203
179
|
readonly config: CodestarNotificationsClientResolvedConfig;
|
|
204
180
|
constructor(configuration: CodestarNotificationsClientConfig);
|
|
205
|
-
|
|
206
181
|
destroy(): void;
|
|
207
182
|
}
|
|
208
183
|
export {};
|
|
@@ -19,7 +19,6 @@ export interface CreateNotificationRuleCommandInput
|
|
|
19
19
|
export interface CreateNotificationRuleCommandOutput
|
|
20
20
|
extends CreateNotificationRuleResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class CreateNotificationRuleCommand extends $Command<
|
|
24
23
|
CreateNotificationRuleCommandInput,
|
|
25
24
|
CreateNotificationRuleCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class CreateNotificationRuleCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: CreateNotificationRuleCommandInput;
|
|
29
28
|
constructor(input: CreateNotificationRuleCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DeleteNotificationRuleCommandInput
|
|
|
19
19
|
export interface DeleteNotificationRuleCommandOutput
|
|
20
20
|
extends DeleteNotificationRuleResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DeleteNotificationRuleCommand extends $Command<
|
|
24
23
|
DeleteNotificationRuleCommandInput,
|
|
25
24
|
DeleteNotificationRuleCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DeleteNotificationRuleCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DeleteNotificationRuleCommandInput;
|
|
29
28
|
constructor(input: DeleteNotificationRuleCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface DeleteTargetCommandInput extends DeleteTargetRequest {}
|
|
|
15
15
|
export interface DeleteTargetCommandOutput
|
|
16
16
|
extends DeleteTargetResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class DeleteTargetCommand extends $Command<
|
|
20
19
|
DeleteTargetCommandInput,
|
|
21
20
|
DeleteTargetCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class DeleteTargetCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: DeleteTargetCommandInput;
|
|
25
24
|
constructor(input: DeleteTargetCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DescribeNotificationRuleCommandInput
|
|
|
19
19
|
export interface DescribeNotificationRuleCommandOutput
|
|
20
20
|
extends DescribeNotificationRuleResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DescribeNotificationRuleCommand extends $Command<
|
|
24
23
|
DescribeNotificationRuleCommandInput,
|
|
25
24
|
DescribeNotificationRuleCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DescribeNotificationRuleCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DescribeNotificationRuleCommandInput;
|
|
29
28
|
constructor(input: DescribeNotificationRuleCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface ListEventTypesCommandInput extends ListEventTypesRequest {}
|
|
|
18
18
|
export interface ListEventTypesCommandOutput
|
|
19
19
|
extends ListEventTypesResult,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class ListEventTypesCommand extends $Command<
|
|
23
22
|
ListEventTypesCommandInput,
|
|
24
23
|
ListEventTypesCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class ListEventTypesCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: ListEventTypesCommandInput;
|
|
28
27
|
constructor(input: ListEventTypesCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface ListNotificationRulesCommandInput
|
|
|
19
19
|
export interface ListNotificationRulesCommandOutput
|
|
20
20
|
extends ListNotificationRulesResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class ListNotificationRulesCommand extends $Command<
|
|
24
23
|
ListNotificationRulesCommandInput,
|
|
25
24
|
ListNotificationRulesCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class ListNotificationRulesCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: ListNotificationRulesCommandInput;
|
|
29
28
|
constructor(input: ListNotificationRulesCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface ListTagsForResourceCommandInput
|
|
|
19
19
|
export interface ListTagsForResourceCommandOutput
|
|
20
20
|
extends ListTagsForResourceResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class ListTagsForResourceCommand extends $Command<
|
|
24
23
|
ListTagsForResourceCommandInput,
|
|
25
24
|
ListTagsForResourceCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class ListTagsForResourceCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
28
|
constructor(input: ListTagsForResourceCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface ListTargetsCommandInput extends ListTargetsRequest {}
|
|
|
15
15
|
export interface ListTargetsCommandOutput
|
|
16
16
|
extends ListTargetsResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class ListTargetsCommand extends $Command<
|
|
20
19
|
ListTargetsCommandInput,
|
|
21
20
|
ListTargetsCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class ListTargetsCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: ListTargetsCommandInput;
|
|
25
24
|
constructor(input: ListTargetsCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface SubscribeCommandInput extends SubscribeRequest {}
|
|
|
15
15
|
export interface SubscribeCommandOutput
|
|
16
16
|
extends SubscribeResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class SubscribeCommand extends $Command<
|
|
20
19
|
SubscribeCommandInput,
|
|
21
20
|
SubscribeCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class SubscribeCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: SubscribeCommandInput;
|
|
25
24
|
constructor(input: SubscribeCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
|
15
15
|
export interface TagResourceCommandOutput
|
|
16
16
|
extends TagResourceResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class TagResourceCommand extends $Command<
|
|
20
19
|
TagResourceCommandInput,
|
|
21
20
|
TagResourceCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class TagResourceCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: TagResourceCommandInput;
|
|
25
24
|
constructor(input: TagResourceCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface UnsubscribeCommandInput extends UnsubscribeRequest {}
|
|
|
15
15
|
export interface UnsubscribeCommandOutput
|
|
16
16
|
extends UnsubscribeResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class UnsubscribeCommand extends $Command<
|
|
20
19
|
UnsubscribeCommandInput,
|
|
21
20
|
UnsubscribeCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class UnsubscribeCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: UnsubscribeCommandInput;
|
|
25
24
|
constructor(input: UnsubscribeCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
|
15
15
|
export interface UntagResourceCommandOutput
|
|
16
16
|
extends UntagResourceResult,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class UntagResourceCommand extends $Command<
|
|
20
19
|
UntagResourceCommandInput,
|
|
21
20
|
UntagResourceCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class UntagResourceCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: UntagResourceCommandInput;
|
|
25
24
|
constructor(input: UntagResourceCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface UpdateNotificationRuleCommandInput
|
|
|
19
19
|
export interface UpdateNotificationRuleCommandOutput
|
|
20
20
|
extends UpdateNotificationRuleResult,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class UpdateNotificationRuleCommand extends $Command<
|
|
24
23
|
UpdateNotificationRuleCommandInput,
|
|
25
24
|
UpdateNotificationRuleCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class UpdateNotificationRuleCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: UpdateNotificationRuleCommandInput;
|
|
29
28
|
constructor(input: UpdateNotificationRuleCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: CodestarNotificationsClientResolvedConfig,
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
-
|
|
6
5
|
export declare class CodestarNotificationsServiceException extends __ServiceException {
|
|
7
6
|
constructor(options: __ServiceExceptionOptions);
|
|
8
7
|
}
|