@aws-sdk/client-codestar-notifications 3.296.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 +3 -3
|
@@ -14,6 +14,7 @@ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/Un
|
|
|
14
14
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
15
|
import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
|
|
16
16
|
/**
|
|
17
|
+
* @public
|
|
17
18
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
18
19
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
19
20
|
* to work with the following objects:</p>
|
|
@@ -101,6 +102,7 @@ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput
|
|
|
101
102
|
*/
|
|
102
103
|
export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
103
104
|
/**
|
|
105
|
+
* @public
|
|
104
106
|
* <p>Creates a notification rule for a resource. The rule specifies the events you want
|
|
105
107
|
* notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive
|
|
106
108
|
* them.</p>
|
|
@@ -109,48 +111,56 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
109
111
|
createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
110
112
|
createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
111
113
|
/**
|
|
114
|
+
* @public
|
|
112
115
|
* <p>Deletes a notification rule for a resource.</p>
|
|
113
116
|
*/
|
|
114
117
|
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
|
|
115
118
|
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
116
119
|
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
117
120
|
/**
|
|
121
|
+
* @public
|
|
118
122
|
* <p>Deletes a specified target for notifications.</p>
|
|
119
123
|
*/
|
|
120
124
|
deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
|
|
121
125
|
deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
122
126
|
deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
123
127
|
/**
|
|
128
|
+
* @public
|
|
124
129
|
* <p>Returns information about a specified notification rule.</p>
|
|
125
130
|
*/
|
|
126
131
|
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
|
|
127
132
|
describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
128
133
|
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
129
134
|
/**
|
|
135
|
+
* @public
|
|
130
136
|
* <p>Returns information about the event types available for configuring notifications.</p>
|
|
131
137
|
*/
|
|
132
138
|
listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
|
|
133
139
|
listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
134
140
|
listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
135
141
|
/**
|
|
142
|
+
* @public
|
|
136
143
|
* <p>Returns a list of the notification rules for an Amazon Web Services account.</p>
|
|
137
144
|
*/
|
|
138
145
|
listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
|
|
139
146
|
listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
140
147
|
listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
141
148
|
/**
|
|
149
|
+
* @public
|
|
142
150
|
* <p>Returns a list of the tags associated with a notification rule.</p>
|
|
143
151
|
*/
|
|
144
152
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
145
153
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
146
154
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
147
155
|
/**
|
|
156
|
+
* @public
|
|
148
157
|
* <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
|
|
149
158
|
*/
|
|
150
159
|
listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
|
|
151
160
|
listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
152
161
|
listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
153
162
|
/**
|
|
163
|
+
* @public
|
|
154
164
|
* <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
|
|
155
165
|
* associated target can receive notifications when the events described in the rule are
|
|
156
166
|
* triggered.</p>
|
|
@@ -159,12 +169,14 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
159
169
|
subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
160
170
|
subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
161
171
|
/**
|
|
172
|
+
* @public
|
|
162
173
|
* <p>Associates a set of provided tags with a notification rule.</p>
|
|
163
174
|
*/
|
|
164
175
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
165
176
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
166
177
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
167
178
|
/**
|
|
179
|
+
* @public
|
|
168
180
|
* <p>Removes an association between a notification rule and an Chatbot topic so that
|
|
169
181
|
* subscribers to that topic stop receiving notifications when the events described in the
|
|
170
182
|
* rule are triggered.</p>
|
|
@@ -173,6 +185,7 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
173
185
|
unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
174
186
|
unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
175
187
|
/**
|
|
188
|
+
* @public
|
|
176
189
|
* <p>Removes the association between one or more provided tags and a notification
|
|
177
190
|
* rule.</p>
|
|
178
191
|
*/
|
|
@@ -180,6 +193,7 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
180
193
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
181
194
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
182
195
|
/**
|
|
196
|
+
* @public
|
|
183
197
|
* <p>Updates a notification rule for a resource. You can change the events that trigger the
|
|
184
198
|
* notification rule, the status of the rule, and the targets that receive the
|
|
185
199
|
* notifications.</p>
|
|
@@ -21,15 +21,24 @@ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/Un
|
|
|
21
21
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
22
|
import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
|
|
23
23
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
24
27
|
export type ServiceInputTypes = CreateNotificationRuleCommandInput | DeleteNotificationRuleCommandInput | DeleteTargetCommandInput | DescribeNotificationRuleCommandInput | ListEventTypesCommandInput | ListNotificationRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | UpdateNotificationRuleCommandInput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
25
31
|
export type ServiceOutputTypes = CreateNotificationRuleCommandOutput | DeleteNotificationRuleCommandOutput | DeleteTargetCommandOutput | DescribeNotificationRuleCommandOutput | ListEventTypesCommandOutput | ListNotificationRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | UpdateNotificationRuleCommandOutput;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
26
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
27
36
|
/**
|
|
28
37
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
29
38
|
*/
|
|
30
39
|
requestHandler?: __HttpHandler;
|
|
31
40
|
/**
|
|
32
|
-
* A constructor for a class implementing the {@link
|
|
41
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
33
42
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
34
43
|
* @internal
|
|
35
44
|
*/
|
|
@@ -119,23 +128,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
119
128
|
*/
|
|
120
129
|
logger?: __Logger;
|
|
121
130
|
/**
|
|
122
|
-
* The {@link
|
|
131
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
123
132
|
*/
|
|
124
133
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
125
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
126
138
|
type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
127
139
|
/**
|
|
128
|
-
*
|
|
140
|
+
* @public
|
|
141
|
+
*
|
|
142
|
+
* The configuration interface of CodestarNotificationsClient class constructor that set the region, credentials and other options.
|
|
129
143
|
*/
|
|
130
144
|
export interface CodestarNotificationsClientConfig extends CodestarNotificationsClientConfigType {
|
|
131
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
132
149
|
type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
133
150
|
/**
|
|
134
|
-
*
|
|
151
|
+
* @public
|
|
152
|
+
*
|
|
153
|
+
* The resolved configuration interface of CodestarNotificationsClient class. This is resolved and normalized from the {@link CodestarNotificationsClientConfig | constructor configuration interface}.
|
|
135
154
|
*/
|
|
136
155
|
export interface CodestarNotificationsClientResolvedConfig extends CodestarNotificationsClientResolvedConfigType {
|
|
137
156
|
}
|
|
138
157
|
/**
|
|
158
|
+
* @public
|
|
139
159
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
140
160
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
141
161
|
* to work with the following objects:</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateNotificationRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateNotificationRuleCommandInput extends CreateNotificationRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateNotificationRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a notification rule for a resource. The rule specifies the events you want
|
|
18
23
|
* notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive
|
|
19
24
|
* them.</p>
|
|
@@ -27,6 +32,8 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param CreateNotificationRuleCommandInput - {@link CreateNotificationRuleCommandInput}
|
|
36
|
+
* @returns {@link CreateNotificationRuleCommandOutput}
|
|
30
37
|
* @see {@link CreateNotificationRuleCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link CreateNotificationRuleCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
|
|
|
59
66
|
export declare class CreateNotificationRuleCommand extends $Command<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
60
67
|
readonly input: CreateNotificationRuleCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: CreateNotificationRuleCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteNotificationRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteNotificationRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a notification rule for a resource.</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 DeleteNotificationRuleCommandOutput extends DeleteNotificationR
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteNotificationRuleCommandInput - {@link DeleteNotificationRuleCommandInput}
|
|
34
|
+
* @returns {@link DeleteNotificationRuleCommandOutput}
|
|
28
35
|
* @see {@link DeleteNotificationRuleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteNotificationRuleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
|
|
|
46
53
|
export declare class DeleteNotificationRuleCommand extends $Command<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
47
54
|
readonly input: DeleteNotificationRuleCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: DeleteNotificationRuleCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteTargetCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteTargetCommandInput extends DeleteTargetRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteTargetCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a specified target for notifications.</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 DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteTargetCommandInput - {@link DeleteTargetCommandInput}
|
|
34
|
+
* @returns {@link DeleteTargetCommandOutput}
|
|
28
35
|
* @see {@link DeleteTargetCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteTargetCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -37,11 +44,20 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
|
|
|
37
44
|
export declare class DeleteTargetCommand extends $Command<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
38
45
|
readonly input: DeleteTargetCommandInput;
|
|
39
46
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
40
50
|
constructor(input: DeleteTargetCommandInput);
|
|
41
51
|
/**
|
|
42
52
|
* @internal
|
|
43
53
|
*/
|
|
44
54
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTargetCommandInput, DeleteTargetCommandOutput>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
45
58
|
private serialize;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
46
62
|
private deserialize;
|
|
47
63
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeNotificationRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeNotificationRuleCommandInput extends DescribeNotificationRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeNotificationRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about a specified 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 DescribeNotificationRuleCommandOutput extends DescribeNotificat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeNotificationRuleCommandInput - {@link DescribeNotificationRuleCommandInput}
|
|
34
|
+
* @returns {@link DescribeNotificationRuleCommandOutput}
|
|
28
35
|
* @see {@link DescribeNotificationRuleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeNotificationRuleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
|
|
|
40
47
|
export declare class DescribeNotificationRuleCommand extends $Command<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
41
48
|
readonly input: DescribeNotificationRuleCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: DescribeNotificationRuleCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListEventTypesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListEventTypesCommandInput extends ListEventTypesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListEventTypesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListEventTypesCommandOutput extends ListEventTypesResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about the event types available for configuring notifications.</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 ListEventTypesCommandOutput extends ListEventTypesResult, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListEventTypesCommandInput - {@link ListEventTypesCommandInput}
|
|
34
|
+
* @returns {@link ListEventTypesCommandOutput}
|
|
28
35
|
* @see {@link ListEventTypesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListEventTypesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
|
|
|
40
47
|
export declare class ListEventTypesCommand extends $Command<ListEventTypesCommandInput, ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
41
48
|
readonly input: ListEventTypesCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: ListEventTypesCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventTypesCommandInput, ListEventTypesCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListNotificationRulesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListNotificationRulesCommandInput extends ListNotificationRulesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListNotificationRulesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of the notification rules for an Amazon Web Services account.</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 ListNotificationRulesCommandOutput extends ListNotificationRule
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListNotificationRulesCommandInput - {@link ListNotificationRulesCommandInput}
|
|
34
|
+
* @returns {@link ListNotificationRulesCommandOutput}
|
|
28
35
|
* @see {@link ListNotificationRulesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListNotificationRulesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
|
|
|
40
47
|
export declare class ListNotificationRulesCommand extends $Command<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
41
48
|
readonly input: ListNotificationRulesCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: ListNotificationRulesCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of the tags associated 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 ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
40
47
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
41
48
|
readonly input: ListTagsForResourceCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: ListTagsForResourceCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTargetsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTargetsCommandInput extends ListTargetsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTargetsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of the notification rule targets for an Amazon Web Services account.</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 ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTargetsCommandInput - {@link ListTargetsCommandInput}
|
|
34
|
+
* @returns {@link ListTargetsCommandOutput}
|
|
28
35
|
* @see {@link ListTargetsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTargetsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
|
|
|
40
47
|
export declare class ListTargetsCommand extends $Command<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
41
48
|
readonly input: ListTargetsCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: ListTargetsCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetsCommandInput, ListTargetsCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { SubscribeRequest, SubscribeResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SubscribeCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SubscribeCommandInput extends SubscribeRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SubscribeCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
|
|
18
23
|
* associated target can receive notifications when the events described in the rule are
|
|
19
24
|
* triggered.</p>
|
|
@@ -27,6 +32,8 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param SubscribeCommandInput - {@link SubscribeCommandInput}
|
|
36
|
+
* @returns {@link SubscribeCommandOutput}
|
|
30
37
|
* @see {@link SubscribeCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link SubscribeCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
|
|
|
45
52
|
export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
|
|
46
53
|
readonly input: SubscribeCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: SubscribeCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeCommandInput, SubscribeCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -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>;
|
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.
|
|
4
|
+
"version": "3.297.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|