@aws-sdk/client-codestar-notifications 3.295.0 → 3.297.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/dist-types/CodestarNotifications.d.ts +14 -0
- package/dist-types/CodestarNotificationsClient.d.ts +24 -4
- package/dist-types/commands/CreateNotificationRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTargetCommand.d.ts +16 -0
- package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +16 -0
- package/dist-types/commands/ListEventTypesCommand.d.ts +16 -0
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTargetsCommand.d.ts +16 -0
- package/dist-types/commands/SubscribeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +16 -0
- package/dist-types/models/CodestarNotificationsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +111 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListEventTypesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListNotificationRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTargetsPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Associates a set of provided tags with a notification rule.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
34
|
+
* @returns {@link TagResourceCommandOutput}
|
|
28
35
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
49
56
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
50
57
|
readonly input: TagResourceCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: TagResourceCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UnsubscribeCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UnsubscribeCommandInput extends UnsubscribeRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UnsubscribeCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes an association between a notification rule and an Chatbot topic so that
|
|
18
23
|
* subscribers to that topic stop receiving notifications when the events described in the
|
|
19
24
|
* rule are triggered.</p>
|
|
@@ -27,6 +32,8 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UnsubscribeCommandInput - {@link UnsubscribeCommandInput}
|
|
36
|
+
* @returns {@link UnsubscribeCommandOutput}
|
|
30
37
|
* @see {@link UnsubscribeCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UnsubscribeCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -39,11 +46,20 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
|
|
|
39
46
|
export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
40
47
|
readonly input: UnsubscribeCommandInput;
|
|
41
48
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
42
52
|
constructor(input: UnsubscribeCommandInput);
|
|
43
53
|
/**
|
|
44
54
|
* @internal
|
|
45
55
|
*/
|
|
46
56
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeCommandInput, UnsubscribeCommandOutput>;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
47
60
|
private serialize;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
48
64
|
private deserialize;
|
|
49
65
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the association between one or more provided tags and a notification
|
|
18
23
|
* rule.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
35
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
29
36
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
50
57
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
51
58
|
readonly input: UntagResourceCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: UntagResourceCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateNotificationRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateNotificationRuleCommandInput extends UpdateNotificationRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateNotificationRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationRuleResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a notification rule for a resource. You can change the events that trigger the
|
|
18
23
|
* notification rule, the status of the rule, and the targets that receive the
|
|
19
24
|
* notifications.</p>
|
|
@@ -30,6 +35,8 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param UpdateNotificationRuleCommandInput - {@link UpdateNotificationRuleCommandInput}
|
|
39
|
+
* @returns {@link UpdateNotificationRuleCommandOutput}
|
|
33
40
|
* @see {@link UpdateNotificationRuleCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link UpdateNotificationRuleCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
|
|
|
48
55
|
export declare class UpdateNotificationRuleCommand extends $Command<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
49
56
|
readonly input: UpdateNotificationRuleCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: UpdateNotificationRuleCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from CodestarNotifications service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class CodestarNotificationsServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CodestarNotificationsServiceException as __BaseException } from "./CodestarNotificationsServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>AWS CodeStar Notifications can't create the notification rule because you do not have sufficient
|
|
5
6
|
* permissions.</p>
|
|
6
7
|
*/
|
|
@@ -14,6 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p>AWS CodeStar Notifications can't complete the request because the resource is being modified by
|
|
18
20
|
* another process. Wait a few minutes and try again.</p>
|
|
19
21
|
*/
|
|
@@ -27,6 +29,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
27
29
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
32
|
+
* @public
|
|
30
33
|
* <p>Some or all of the configuration is incomplete, missing, or not valid.</p>
|
|
31
34
|
*/
|
|
32
35
|
export declare class ConfigurationException extends __BaseException {
|
|
@@ -38,15 +41,22 @@ export declare class ConfigurationException extends __BaseException {
|
|
|
38
41
|
*/
|
|
39
42
|
constructor(opts: __ExceptionOptionType<ConfigurationException, __BaseException>);
|
|
40
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
41
47
|
export declare enum DetailType {
|
|
42
48
|
BASIC = "BASIC",
|
|
43
49
|
FULL = "FULL"
|
|
44
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
45
54
|
export declare enum NotificationRuleStatus {
|
|
46
55
|
DISABLED = "DISABLED",
|
|
47
56
|
ENABLED = "ENABLED"
|
|
48
57
|
}
|
|
49
58
|
/**
|
|
59
|
+
* @public
|
|
50
60
|
* <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
|
|
51
61
|
*/
|
|
52
62
|
export interface Target {
|
|
@@ -67,6 +77,9 @@ export interface Target {
|
|
|
67
77
|
*/
|
|
68
78
|
TargetAddress?: string;
|
|
69
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
70
83
|
export interface CreateNotificationRuleRequest {
|
|
71
84
|
/**
|
|
72
85
|
* <p>The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.</p>
|
|
@@ -114,6 +127,9 @@ export interface CreateNotificationRuleRequest {
|
|
|
114
127
|
*/
|
|
115
128
|
Status?: NotificationRuleStatus | string;
|
|
116
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
117
133
|
export interface CreateNotificationRuleResult {
|
|
118
134
|
/**
|
|
119
135
|
* <p>The Amazon Resource Name (ARN) of the notification rule.</p>
|
|
@@ -121,6 +137,7 @@ export interface CreateNotificationRuleResult {
|
|
|
121
137
|
Arn?: string;
|
|
122
138
|
}
|
|
123
139
|
/**
|
|
140
|
+
* @public
|
|
124
141
|
* <p>One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to
|
|
125
142
|
* accounts, notification rules, notifications, resources, and targets. For more
|
|
126
143
|
* information, see Limits.</p>
|
|
@@ -135,6 +152,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
135
152
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
136
153
|
}
|
|
137
154
|
/**
|
|
155
|
+
* @public
|
|
138
156
|
* <p>A resource with the same name or ID already exists. Notification rule names must be
|
|
139
157
|
* unique in your Amazon Web Services account.</p>
|
|
140
158
|
*/
|
|
@@ -148,6 +166,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
148
166
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
149
167
|
}
|
|
150
168
|
/**
|
|
169
|
+
* @public
|
|
151
170
|
* <p>One or more parameter values are not valid.</p>
|
|
152
171
|
*/
|
|
153
172
|
export declare class ValidationException extends __BaseException {
|
|
@@ -159,18 +178,27 @@ export declare class ValidationException extends __BaseException {
|
|
|
159
178
|
*/
|
|
160
179
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
161
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
162
184
|
export interface DeleteNotificationRuleRequest {
|
|
163
185
|
/**
|
|
164
186
|
* <p>The Amazon Resource Name (ARN) of the notification rule you want to delete.</p>
|
|
165
187
|
*/
|
|
166
188
|
Arn: string | undefined;
|
|
167
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
168
193
|
export interface DeleteNotificationRuleResult {
|
|
169
194
|
/**
|
|
170
195
|
* <p>The Amazon Resource Name (ARN) of the deleted notification rule.</p>
|
|
171
196
|
*/
|
|
172
197
|
Arn?: string;
|
|
173
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
174
202
|
export interface DeleteTargetRequest {
|
|
175
203
|
/**
|
|
176
204
|
* <p>The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.</p>
|
|
@@ -183,8 +211,14 @@ export interface DeleteTargetRequest {
|
|
|
183
211
|
*/
|
|
184
212
|
ForceUnsubscribeAll?: boolean;
|
|
185
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
186
217
|
export interface DeleteTargetResult {
|
|
187
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
188
222
|
export interface DescribeNotificationRuleRequest {
|
|
189
223
|
/**
|
|
190
224
|
* <p>The Amazon Resource Name (ARN) of the notification rule.</p>
|
|
@@ -192,6 +226,7 @@ export interface DescribeNotificationRuleRequest {
|
|
|
192
226
|
Arn: string | undefined;
|
|
193
227
|
}
|
|
194
228
|
/**
|
|
229
|
+
* @public
|
|
195
230
|
* <p>Returns information about an event that has triggered a notification rule.</p>
|
|
196
231
|
*/
|
|
197
232
|
export interface EventTypeSummary {
|
|
@@ -214,6 +249,9 @@ export interface EventTypeSummary {
|
|
|
214
249
|
*/
|
|
215
250
|
ResourceType?: string;
|
|
216
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
217
255
|
export declare enum TargetStatus {
|
|
218
256
|
ACTIVE = "ACTIVE",
|
|
219
257
|
DEACTIVATED = "DEACTIVATED",
|
|
@@ -222,6 +260,7 @@ export declare enum TargetStatus {
|
|
|
222
260
|
UNREACHABLE = "UNREACHABLE"
|
|
223
261
|
}
|
|
224
262
|
/**
|
|
263
|
+
* @public
|
|
225
264
|
* <p>Information about the targets specified for a notification rule.</p>
|
|
226
265
|
*/
|
|
227
266
|
export interface TargetSummary {
|
|
@@ -246,6 +285,9 @@ export interface TargetSummary {
|
|
|
246
285
|
*/
|
|
247
286
|
TargetStatus?: TargetStatus | string;
|
|
248
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
249
291
|
export interface DescribeNotificationRuleResult {
|
|
250
292
|
/**
|
|
251
293
|
* <p>The Amazon Resource Name (ARN) of the notification rule.</p>
|
|
@@ -298,6 +340,7 @@ export interface DescribeNotificationRuleResult {
|
|
|
298
340
|
Tags?: Record<string, string>;
|
|
299
341
|
}
|
|
300
342
|
/**
|
|
343
|
+
* @public
|
|
301
344
|
* <p>AWS CodeStar Notifications can't find a resource that matches the provided ARN. </p>
|
|
302
345
|
*/
|
|
303
346
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -310,6 +353,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
310
353
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
311
354
|
}
|
|
312
355
|
/**
|
|
356
|
+
* @public
|
|
313
357
|
* <p>The value for the enumeration token used in the request to return the next batch of the results is not valid. </p>
|
|
314
358
|
*/
|
|
315
359
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
@@ -321,11 +365,15 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
321
365
|
*/
|
|
322
366
|
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
323
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
324
371
|
export declare enum ListEventTypesFilterName {
|
|
325
372
|
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
326
373
|
SERVICE_NAME = "SERVICE_NAME"
|
|
327
374
|
}
|
|
328
375
|
/**
|
|
376
|
+
* @public
|
|
329
377
|
* <p>Information about a filter to apply to the list of returned event types. You can filter
|
|
330
378
|
* by resource type or service name.</p>
|
|
331
379
|
*/
|
|
@@ -340,6 +388,9 @@ export interface ListEventTypesFilter {
|
|
|
340
388
|
*/
|
|
341
389
|
Value: string | undefined;
|
|
342
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
343
394
|
export interface ListEventTypesRequest {
|
|
344
395
|
/**
|
|
345
396
|
* <p>The filters to use to return information by service or resource type.</p>
|
|
@@ -356,6 +407,9 @@ export interface ListEventTypesRequest {
|
|
|
356
407
|
*/
|
|
357
408
|
MaxResults?: number;
|
|
358
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
359
413
|
export interface ListEventTypesResult {
|
|
360
414
|
/**
|
|
361
415
|
* <p>Information about each event, including service name, resource type, event ID, and event
|
|
@@ -367,6 +421,9 @@ export interface ListEventTypesResult {
|
|
|
367
421
|
*/
|
|
368
422
|
NextToken?: string;
|
|
369
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
370
427
|
export declare enum ListNotificationRulesFilterName {
|
|
371
428
|
CREATED_BY = "CREATED_BY",
|
|
372
429
|
EVENT_TYPE_ID = "EVENT_TYPE_ID",
|
|
@@ -374,6 +431,7 @@ export declare enum ListNotificationRulesFilterName {
|
|
|
374
431
|
TARGET_ADDRESS = "TARGET_ADDRESS"
|
|
375
432
|
}
|
|
376
433
|
/**
|
|
434
|
+
* @public
|
|
377
435
|
* <p>Information about a filter to apply to the list of returned notification rules. You can
|
|
378
436
|
* filter by event type, owner, resource, or target.</p>
|
|
379
437
|
*/
|
|
@@ -388,6 +446,9 @@ export interface ListNotificationRulesFilter {
|
|
|
388
446
|
*/
|
|
389
447
|
Value: string | undefined;
|
|
390
448
|
}
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
391
452
|
export interface ListNotificationRulesRequest {
|
|
392
453
|
/**
|
|
393
454
|
* <p>The filters to use to return information by service or resource type. For valid values,
|
|
@@ -409,6 +470,7 @@ export interface ListNotificationRulesRequest {
|
|
|
409
470
|
MaxResults?: number;
|
|
410
471
|
}
|
|
411
472
|
/**
|
|
473
|
+
* @public
|
|
412
474
|
* <p>Information about a specified notification rule.</p>
|
|
413
475
|
*/
|
|
414
476
|
export interface NotificationRuleSummary {
|
|
@@ -421,6 +483,9 @@ export interface NotificationRuleSummary {
|
|
|
421
483
|
*/
|
|
422
484
|
Arn?: string;
|
|
423
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
424
489
|
export interface ListNotificationRulesResult {
|
|
425
490
|
/**
|
|
426
491
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
@@ -431,24 +496,34 @@ export interface ListNotificationRulesResult {
|
|
|
431
496
|
*/
|
|
432
497
|
NotificationRules?: NotificationRuleSummary[];
|
|
433
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
434
502
|
export interface ListTagsForResourceRequest {
|
|
435
503
|
/**
|
|
436
504
|
* <p>The Amazon Resource Name (ARN) for the notification rule.</p>
|
|
437
505
|
*/
|
|
438
506
|
Arn: string | undefined;
|
|
439
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
440
511
|
export interface ListTagsForResourceResult {
|
|
441
512
|
/**
|
|
442
513
|
* <p>The tags associated with the notification rule.</p>
|
|
443
514
|
*/
|
|
444
515
|
Tags?: Record<string, string>;
|
|
445
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
446
520
|
export declare enum ListTargetsFilterName {
|
|
447
521
|
TARGET_ADDRESS = "TARGET_ADDRESS",
|
|
448
522
|
TARGET_STATUS = "TARGET_STATUS",
|
|
449
523
|
TARGET_TYPE = "TARGET_TYPE"
|
|
450
524
|
}
|
|
451
525
|
/**
|
|
526
|
+
* @public
|
|
452
527
|
* <p>Information about a filter to apply to the list of returned targets. You can filter by
|
|
453
528
|
* target type, address, or status. For example, to filter results to notification rules
|
|
454
529
|
* that have active Chatbot topics as targets, you could specify a ListTargetsFilter
|
|
@@ -467,6 +542,9 @@ export interface ListTargetsFilter {
|
|
|
467
542
|
*/
|
|
468
543
|
Value: string | undefined;
|
|
469
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
470
548
|
export interface ListTargetsRequest {
|
|
471
549
|
/**
|
|
472
550
|
* <p>The filters to use to return information by service or resource type. Valid filters
|
|
@@ -487,6 +565,9 @@ export interface ListTargetsRequest {
|
|
|
487
565
|
*/
|
|
488
566
|
MaxResults?: number;
|
|
489
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
490
571
|
export interface ListTargetsResult {
|
|
491
572
|
/**
|
|
492
573
|
* <p>The list of notification rule targets. </p>
|
|
@@ -498,6 +579,9 @@ export interface ListTargetsResult {
|
|
|
498
579
|
*/
|
|
499
580
|
NextToken?: string;
|
|
500
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
501
585
|
export interface SubscribeRequest {
|
|
502
586
|
/**
|
|
503
587
|
* <p>The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.</p>
|
|
@@ -513,12 +597,18 @@ export interface SubscribeRequest {
|
|
|
513
597
|
*/
|
|
514
598
|
ClientRequestToken?: string;
|
|
515
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
516
603
|
export interface SubscribeResult {
|
|
517
604
|
/**
|
|
518
605
|
* <p>The Amazon Resource Name (ARN) of the notification rule for which you have created assocations.</p>
|
|
519
606
|
*/
|
|
520
607
|
Arn?: string;
|
|
521
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
522
612
|
export interface TagResourceRequest {
|
|
523
613
|
/**
|
|
524
614
|
* <p>The Amazon Resource Name (ARN) of the notification rule to tag.</p>
|
|
@@ -529,12 +619,18 @@ export interface TagResourceRequest {
|
|
|
529
619
|
*/
|
|
530
620
|
Tags: Record<string, string> | undefined;
|
|
531
621
|
}
|
|
622
|
+
/**
|
|
623
|
+
* @public
|
|
624
|
+
*/
|
|
532
625
|
export interface TagResourceResult {
|
|
533
626
|
/**
|
|
534
627
|
* <p>The list of tags associated with the resource.</p>
|
|
535
628
|
*/
|
|
536
629
|
Tags?: Record<string, string>;
|
|
537
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
538
634
|
export interface UnsubscribeRequest {
|
|
539
635
|
/**
|
|
540
636
|
* <p>The Amazon Resource Name (ARN) of the notification rule.</p>
|
|
@@ -545,12 +641,18 @@ export interface UnsubscribeRequest {
|
|
|
545
641
|
*/
|
|
546
642
|
TargetAddress: string | undefined;
|
|
547
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
548
647
|
export interface UnsubscribeResult {
|
|
549
648
|
/**
|
|
550
649
|
* <p>The Amazon Resource Name (ARN) of the the notification rule from which you have removed a subscription.</p>
|
|
551
650
|
*/
|
|
552
651
|
Arn: string | undefined;
|
|
553
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
554
656
|
export interface UntagResourceRequest {
|
|
555
657
|
/**
|
|
556
658
|
* <p>The Amazon Resource Name (ARN) of the notification rule from which to remove the
|
|
@@ -562,8 +664,14 @@ export interface UntagResourceRequest {
|
|
|
562
664
|
*/
|
|
563
665
|
TagKeys: string[] | undefined;
|
|
564
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
565
670
|
export interface UntagResourceResult {
|
|
566
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
567
675
|
export interface UpdateNotificationRuleRequest {
|
|
568
676
|
/**
|
|
569
677
|
* <p>The Amazon Resource Name (ARN) of the notification rule.</p>
|
|
@@ -596,6 +704,9 @@ export interface UpdateNotificationRuleRequest {
|
|
|
596
704
|
*/
|
|
597
705
|
DetailType?: DetailType | string;
|
|
598
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
599
710
|
export interface UpdateNotificationRuleResult {
|
|
600
711
|
}
|
|
601
712
|
/**
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { CodestarNotificationsClient } from "../CodestarNotificationsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface CodestarNotificationsPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: CodestarNotificationsClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "../commands/ListEventTypesCommand";
|
|
3
3
|
import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListEventTypes(config: CodestarNotificationsPaginationConfiguration, input: ListEventTypesCommandInput, ...additionalArguments: any): Paginator<ListEventTypesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "../commands/ListNotificationRulesCommand";
|
|
3
3
|
import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListNotificationRules(config: CodestarNotificationsPaginationConfiguration, input: ListNotificationRulesCommandInput, ...additionalArguments: any): Paginator<ListNotificationRulesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListTargetsCommandInput, ListTargetsCommandOutput } from "../commands/ListTargetsCommand";
|
|
3
3
|
import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListTargets(config: CodestarNotificationsPaginationConfiguration, input: ListTargetsCommandInput, ...additionalArguments: any): Paginator<ListTargetsCommandOutput>;
|