@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
|
@@ -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
|
}
|