@aws-sdk/client-codestar-notifications 3.169.0 → 3.171.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/CodestarNotifications.d.ts +225 -70
  3. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +183 -86
  4. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  11. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +32 -17
  13. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  14. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/index.d.ts +13 -13
  18. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  19. package/dist-types/ts3.4/index.d.ts +6 -6
  20. package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +7 -6
  21. package/dist-types/ts3.4/models/index.d.ts +1 -1
  22. package/dist-types/ts3.4/models/models_0.d.ts +336 -389
  23. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  24. package/dist-types/ts3.4/pagination/ListEventTypesPaginator.d.ts +11 -4
  25. package/dist-types/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +11 -4
  26. package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/index.d.ts +4 -4
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -41
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
  33. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-codestar-notifications
9
+
10
+
11
+
12
+
13
+
14
+ # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-codestar-notifications
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-codestar-notifications
@@ -1,70 +1,225 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
3
- import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
4
- import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
5
- import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "./commands/DeleteTargetCommand";
6
- import { DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput } from "./commands/DescribeNotificationRuleCommand";
7
- import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "./commands/ListEventTypesCommand";
8
- import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "./commands/ListNotificationRulesCommand";
9
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
- import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
11
- import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
12
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
- import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
14
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
- import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
16
-
17
- export declare class CodestarNotifications extends CodestarNotificationsClient {
18
-
19
- createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
20
- createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
21
- createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
22
-
23
- deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
24
- deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
25
- deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
26
-
27
- deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
28
- deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
29
- deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
30
-
31
- describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
32
- describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
33
- describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
34
-
35
- listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
36
- listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
37
- listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
38
-
39
- listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
40
- listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
41
- listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
42
-
43
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
44
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
45
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
46
-
47
- listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
48
- listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
49
- listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
50
-
51
- subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
52
- subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
53
- subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
54
-
55
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
56
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
57
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
58
-
59
- unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
60
- unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
61
- unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
62
-
63
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
64
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
65
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
66
-
67
- updateNotificationRule(args: UpdateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationRuleCommandOutput>;
68
- updateNotificationRule(args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
69
- updateNotificationRule(args: UpdateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
70
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
3
+ import {
4
+ CreateNotificationRuleCommandInput,
5
+ CreateNotificationRuleCommandOutput,
6
+ } from "./commands/CreateNotificationRuleCommand";
7
+ import {
8
+ DeleteNotificationRuleCommandInput,
9
+ DeleteNotificationRuleCommandOutput,
10
+ } from "./commands/DeleteNotificationRuleCommand";
11
+ import {
12
+ DeleteTargetCommandInput,
13
+ DeleteTargetCommandOutput,
14
+ } from "./commands/DeleteTargetCommand";
15
+ import {
16
+ DescribeNotificationRuleCommandInput,
17
+ DescribeNotificationRuleCommandOutput,
18
+ } from "./commands/DescribeNotificationRuleCommand";
19
+ import {
20
+ ListEventTypesCommandInput,
21
+ ListEventTypesCommandOutput,
22
+ } from "./commands/ListEventTypesCommand";
23
+ import {
24
+ ListNotificationRulesCommandInput,
25
+ ListNotificationRulesCommandOutput,
26
+ } from "./commands/ListNotificationRulesCommand";
27
+ import {
28
+ ListTagsForResourceCommandInput,
29
+ ListTagsForResourceCommandOutput,
30
+ } from "./commands/ListTagsForResourceCommand";
31
+ import {
32
+ ListTargetsCommandInput,
33
+ ListTargetsCommandOutput,
34
+ } from "./commands/ListTargetsCommand";
35
+ import {
36
+ SubscribeCommandInput,
37
+ SubscribeCommandOutput,
38
+ } from "./commands/SubscribeCommand";
39
+ import {
40
+ TagResourceCommandInput,
41
+ TagResourceCommandOutput,
42
+ } from "./commands/TagResourceCommand";
43
+ import {
44
+ UnsubscribeCommandInput,
45
+ UnsubscribeCommandOutput,
46
+ } from "./commands/UnsubscribeCommand";
47
+ import {
48
+ UntagResourceCommandInput,
49
+ UntagResourceCommandOutput,
50
+ } from "./commands/UntagResourceCommand";
51
+ import {
52
+ UpdateNotificationRuleCommandInput,
53
+ UpdateNotificationRuleCommandOutput,
54
+ } from "./commands/UpdateNotificationRuleCommand";
55
+ export declare class CodestarNotifications extends CodestarNotificationsClient {
56
+ createNotificationRule(
57
+ args: CreateNotificationRuleCommandInput,
58
+ options?: __HttpHandlerOptions
59
+ ): Promise<CreateNotificationRuleCommandOutput>;
60
+ createNotificationRule(
61
+ args: CreateNotificationRuleCommandInput,
62
+ cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void
63
+ ): void;
64
+ createNotificationRule(
65
+ args: CreateNotificationRuleCommandInput,
66
+ options: __HttpHandlerOptions,
67
+ cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void
68
+ ): void;
69
+ deleteNotificationRule(
70
+ args: DeleteNotificationRuleCommandInput,
71
+ options?: __HttpHandlerOptions
72
+ ): Promise<DeleteNotificationRuleCommandOutput>;
73
+ deleteNotificationRule(
74
+ args: DeleteNotificationRuleCommandInput,
75
+ cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void
76
+ ): void;
77
+ deleteNotificationRule(
78
+ args: DeleteNotificationRuleCommandInput,
79
+ options: __HttpHandlerOptions,
80
+ cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void
81
+ ): void;
82
+ deleteTarget(
83
+ args: DeleteTargetCommandInput,
84
+ options?: __HttpHandlerOptions
85
+ ): Promise<DeleteTargetCommandOutput>;
86
+ deleteTarget(
87
+ args: DeleteTargetCommandInput,
88
+ cb: (err: any, data?: DeleteTargetCommandOutput) => void
89
+ ): void;
90
+ deleteTarget(
91
+ args: DeleteTargetCommandInput,
92
+ options: __HttpHandlerOptions,
93
+ cb: (err: any, data?: DeleteTargetCommandOutput) => void
94
+ ): void;
95
+ describeNotificationRule(
96
+ args: DescribeNotificationRuleCommandInput,
97
+ options?: __HttpHandlerOptions
98
+ ): Promise<DescribeNotificationRuleCommandOutput>;
99
+ describeNotificationRule(
100
+ args: DescribeNotificationRuleCommandInput,
101
+ cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void
102
+ ): void;
103
+ describeNotificationRule(
104
+ args: DescribeNotificationRuleCommandInput,
105
+ options: __HttpHandlerOptions,
106
+ cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void
107
+ ): void;
108
+ listEventTypes(
109
+ args: ListEventTypesCommandInput,
110
+ options?: __HttpHandlerOptions
111
+ ): Promise<ListEventTypesCommandOutput>;
112
+ listEventTypes(
113
+ args: ListEventTypesCommandInput,
114
+ cb: (err: any, data?: ListEventTypesCommandOutput) => void
115
+ ): void;
116
+ listEventTypes(
117
+ args: ListEventTypesCommandInput,
118
+ options: __HttpHandlerOptions,
119
+ cb: (err: any, data?: ListEventTypesCommandOutput) => void
120
+ ): void;
121
+ listNotificationRules(
122
+ args: ListNotificationRulesCommandInput,
123
+ options?: __HttpHandlerOptions
124
+ ): Promise<ListNotificationRulesCommandOutput>;
125
+ listNotificationRules(
126
+ args: ListNotificationRulesCommandInput,
127
+ cb: (err: any, data?: ListNotificationRulesCommandOutput) => void
128
+ ): void;
129
+ listNotificationRules(
130
+ args: ListNotificationRulesCommandInput,
131
+ options: __HttpHandlerOptions,
132
+ cb: (err: any, data?: ListNotificationRulesCommandOutput) => void
133
+ ): void;
134
+ listTagsForResource(
135
+ args: ListTagsForResourceCommandInput,
136
+ options?: __HttpHandlerOptions
137
+ ): Promise<ListTagsForResourceCommandOutput>;
138
+ listTagsForResource(
139
+ args: ListTagsForResourceCommandInput,
140
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
141
+ ): void;
142
+ listTagsForResource(
143
+ args: ListTagsForResourceCommandInput,
144
+ options: __HttpHandlerOptions,
145
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
146
+ ): void;
147
+ listTargets(
148
+ args: ListTargetsCommandInput,
149
+ options?: __HttpHandlerOptions
150
+ ): Promise<ListTargetsCommandOutput>;
151
+ listTargets(
152
+ args: ListTargetsCommandInput,
153
+ cb: (err: any, data?: ListTargetsCommandOutput) => void
154
+ ): void;
155
+ listTargets(
156
+ args: ListTargetsCommandInput,
157
+ options: __HttpHandlerOptions,
158
+ cb: (err: any, data?: ListTargetsCommandOutput) => void
159
+ ): void;
160
+ subscribe(
161
+ args: SubscribeCommandInput,
162
+ options?: __HttpHandlerOptions
163
+ ): Promise<SubscribeCommandOutput>;
164
+ subscribe(
165
+ args: SubscribeCommandInput,
166
+ cb: (err: any, data?: SubscribeCommandOutput) => void
167
+ ): void;
168
+ subscribe(
169
+ args: SubscribeCommandInput,
170
+ options: __HttpHandlerOptions,
171
+ cb: (err: any, data?: SubscribeCommandOutput) => void
172
+ ): void;
173
+ tagResource(
174
+ args: TagResourceCommandInput,
175
+ options?: __HttpHandlerOptions
176
+ ): Promise<TagResourceCommandOutput>;
177
+ tagResource(
178
+ args: TagResourceCommandInput,
179
+ cb: (err: any, data?: TagResourceCommandOutput) => void
180
+ ): void;
181
+ tagResource(
182
+ args: TagResourceCommandInput,
183
+ options: __HttpHandlerOptions,
184
+ cb: (err: any, data?: TagResourceCommandOutput) => void
185
+ ): void;
186
+ unsubscribe(
187
+ args: UnsubscribeCommandInput,
188
+ options?: __HttpHandlerOptions
189
+ ): Promise<UnsubscribeCommandOutput>;
190
+ unsubscribe(
191
+ args: UnsubscribeCommandInput,
192
+ cb: (err: any, data?: UnsubscribeCommandOutput) => void
193
+ ): void;
194
+ unsubscribe(
195
+ args: UnsubscribeCommandInput,
196
+ options: __HttpHandlerOptions,
197
+ cb: (err: any, data?: UnsubscribeCommandOutput) => void
198
+ ): void;
199
+ untagResource(
200
+ args: UntagResourceCommandInput,
201
+ options?: __HttpHandlerOptions
202
+ ): Promise<UntagResourceCommandOutput>;
203
+ untagResource(
204
+ args: UntagResourceCommandInput,
205
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
206
+ ): void;
207
+ untagResource(
208
+ args: UntagResourceCommandInput,
209
+ options: __HttpHandlerOptions,
210
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
211
+ ): void;
212
+ updateNotificationRule(
213
+ args: UpdateNotificationRuleCommandInput,
214
+ options?: __HttpHandlerOptions
215
+ ): Promise<UpdateNotificationRuleCommandOutput>;
216
+ updateNotificationRule(
217
+ args: UpdateNotificationRuleCommandInput,
218
+ cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void
219
+ ): void;
220
+ updateNotificationRule(
221
+ args: UpdateNotificationRuleCommandInput,
222
+ options: __HttpHandlerOptions,
223
+ cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void
224
+ ): void;
225
+ }
@@ -1,86 +1,183 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
10
- import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
11
- import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "./commands/DeleteTargetCommand";
12
- import { DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput } from "./commands/DescribeNotificationRuleCommand";
13
- import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "./commands/ListEventTypesCommand";
14
- import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "./commands/ListNotificationRulesCommand";
15
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
16
- import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
17
- import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
18
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
- import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
20
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
- import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
22
- export declare type ServiceInputTypes = CreateNotificationRuleCommandInput | DeleteNotificationRuleCommandInput | DeleteTargetCommandInput | DescribeNotificationRuleCommandInput | ListEventTypesCommandInput | ListNotificationRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | UpdateNotificationRuleCommandInput;
23
- export declare type ServiceOutputTypes = CreateNotificationRuleCommandOutput | DeleteNotificationRuleCommandOutput | DeleteTargetCommandOutput | DescribeNotificationRuleCommandOutput | ListEventTypesCommandOutput | ListNotificationRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | UpdateNotificationRuleCommandOutput;
24
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
25
-
26
- requestHandler?: __HttpHandler;
27
-
28
- sha256?: __HashConstructor;
29
-
30
- urlParser?: __UrlParser;
31
-
32
- bodyLengthChecker?: __BodyLengthCalculator;
33
-
34
- streamCollector?: __StreamCollector;
35
-
36
- base64Decoder?: __Decoder;
37
-
38
- base64Encoder?: __Encoder;
39
-
40
- utf8Decoder?: __Decoder;
41
-
42
- utf8Encoder?: __Encoder;
43
-
44
- runtime?: string;
45
-
46
- disableHostPrefix?: boolean;
47
-
48
- maxAttempts?: number | __Provider<number>;
49
-
50
- retryMode?: string | __Provider<string>;
51
-
52
- logger?: __Logger;
53
-
54
- useDualstackEndpoint?: boolean | __Provider<boolean>;
55
-
56
- useFipsEndpoint?: boolean | __Provider<boolean>;
57
-
58
- serviceId?: string;
59
-
60
- region?: string | __Provider<string>;
61
-
62
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
63
-
64
- regionInfoProvider?: RegionInfoProvider;
65
-
66
- defaultUserAgentProvider?: Provider<__UserAgent>;
67
-
68
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
69
- }
70
- declare type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
71
-
72
- export interface CodestarNotificationsClientConfig extends CodestarNotificationsClientConfigType {
73
- }
74
- declare type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
75
-
76
- export interface CodestarNotificationsClientResolvedConfig extends CodestarNotificationsClientResolvedConfigType {
77
- }
78
-
79
- export declare class CodestarNotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodestarNotificationsClientResolvedConfig> {
80
-
81
- readonly config: CodestarNotificationsClientResolvedConfig;
82
- constructor(configuration: CodestarNotificationsClientConfig);
83
-
84
- destroy(): void;
85
- }
86
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ CreateNotificationRuleCommandInput,
47
+ CreateNotificationRuleCommandOutput,
48
+ } from "./commands/CreateNotificationRuleCommand";
49
+ import {
50
+ DeleteNotificationRuleCommandInput,
51
+ DeleteNotificationRuleCommandOutput,
52
+ } from "./commands/DeleteNotificationRuleCommand";
53
+ import {
54
+ DeleteTargetCommandInput,
55
+ DeleteTargetCommandOutput,
56
+ } from "./commands/DeleteTargetCommand";
57
+ import {
58
+ DescribeNotificationRuleCommandInput,
59
+ DescribeNotificationRuleCommandOutput,
60
+ } from "./commands/DescribeNotificationRuleCommand";
61
+ import {
62
+ ListEventTypesCommandInput,
63
+ ListEventTypesCommandOutput,
64
+ } from "./commands/ListEventTypesCommand";
65
+ import {
66
+ ListNotificationRulesCommandInput,
67
+ ListNotificationRulesCommandOutput,
68
+ } from "./commands/ListNotificationRulesCommand";
69
+ import {
70
+ ListTagsForResourceCommandInput,
71
+ ListTagsForResourceCommandOutput,
72
+ } from "./commands/ListTagsForResourceCommand";
73
+ import {
74
+ ListTargetsCommandInput,
75
+ ListTargetsCommandOutput,
76
+ } from "./commands/ListTargetsCommand";
77
+ import {
78
+ SubscribeCommandInput,
79
+ SubscribeCommandOutput,
80
+ } from "./commands/SubscribeCommand";
81
+ import {
82
+ TagResourceCommandInput,
83
+ TagResourceCommandOutput,
84
+ } from "./commands/TagResourceCommand";
85
+ import {
86
+ UnsubscribeCommandInput,
87
+ UnsubscribeCommandOutput,
88
+ } from "./commands/UnsubscribeCommand";
89
+ import {
90
+ UntagResourceCommandInput,
91
+ UntagResourceCommandOutput,
92
+ } from "./commands/UntagResourceCommand";
93
+ import {
94
+ UpdateNotificationRuleCommandInput,
95
+ UpdateNotificationRuleCommandOutput,
96
+ } from "./commands/UpdateNotificationRuleCommand";
97
+ export declare type ServiceInputTypes =
98
+ | CreateNotificationRuleCommandInput
99
+ | DeleteNotificationRuleCommandInput
100
+ | DeleteTargetCommandInput
101
+ | DescribeNotificationRuleCommandInput
102
+ | ListEventTypesCommandInput
103
+ | ListNotificationRulesCommandInput
104
+ | ListTagsForResourceCommandInput
105
+ | ListTargetsCommandInput
106
+ | SubscribeCommandInput
107
+ | TagResourceCommandInput
108
+ | UnsubscribeCommandInput
109
+ | UntagResourceCommandInput
110
+ | UpdateNotificationRuleCommandInput;
111
+ export declare type ServiceOutputTypes =
112
+ | CreateNotificationRuleCommandOutput
113
+ | DeleteNotificationRuleCommandOutput
114
+ | DeleteTargetCommandOutput
115
+ | DescribeNotificationRuleCommandOutput
116
+ | ListEventTypesCommandOutput
117
+ | ListNotificationRulesCommandOutput
118
+ | ListTagsForResourceCommandOutput
119
+ | ListTargetsCommandOutput
120
+ | SubscribeCommandOutput
121
+ | TagResourceCommandOutput
122
+ | UnsubscribeCommandOutput
123
+ | UntagResourceCommandOutput
124
+ | UpdateNotificationRuleCommandOutput;
125
+ export interface ClientDefaults
126
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
127
+ requestHandler?: __HttpHandler;
128
+ sha256?: __HashConstructor;
129
+ urlParser?: __UrlParser;
130
+ bodyLengthChecker?: __BodyLengthCalculator;
131
+ streamCollector?: __StreamCollector;
132
+ base64Decoder?: __Decoder;
133
+ base64Encoder?: __Encoder;
134
+ utf8Decoder?: __Decoder;
135
+ utf8Encoder?: __Encoder;
136
+ runtime?: string;
137
+ disableHostPrefix?: boolean;
138
+ maxAttempts?: number | __Provider<number>;
139
+ retryMode?: string | __Provider<string>;
140
+ logger?: __Logger;
141
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
142
+ useFipsEndpoint?: boolean | __Provider<boolean>;
143
+ serviceId?: string;
144
+ region?: string | __Provider<string>;
145
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
146
+ regionInfoProvider?: RegionInfoProvider;
147
+ defaultUserAgentProvider?: Provider<__UserAgent>;
148
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
149
+ }
150
+ declare type CodestarNotificationsClientConfigType = Partial<
151
+ __SmithyConfiguration<__HttpHandlerOptions>
152
+ > &
153
+ ClientDefaults &
154
+ RegionInputConfig &
155
+ EndpointsInputConfig &
156
+ RetryInputConfig &
157
+ HostHeaderInputConfig &
158
+ AwsAuthInputConfig &
159
+ UserAgentInputConfig;
160
+ export interface CodestarNotificationsClientConfig
161
+ extends CodestarNotificationsClientConfigType {}
162
+ declare type CodestarNotificationsClientResolvedConfigType =
163
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
164
+ Required<ClientDefaults> &
165
+ RegionResolvedConfig &
166
+ EndpointsResolvedConfig &
167
+ RetryResolvedConfig &
168
+ HostHeaderResolvedConfig &
169
+ AwsAuthResolvedConfig &
170
+ UserAgentResolvedConfig;
171
+ export interface CodestarNotificationsClientResolvedConfig
172
+ extends CodestarNotificationsClientResolvedConfigType {}
173
+ export declare class CodestarNotificationsClient extends __Client<
174
+ __HttpHandlerOptions,
175
+ ServiceInputTypes,
176
+ ServiceOutputTypes,
177
+ CodestarNotificationsClientResolvedConfig
178
+ > {
179
+ readonly config: CodestarNotificationsClientResolvedConfig;
180
+ constructor(configuration: CodestarNotificationsClientConfig);
181
+ destroy(): void;
182
+ }
183
+ export {};
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
4
- import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
5
- export interface CreateNotificationRuleCommandInput extends CreateNotificationRuleRequest {
6
- }
7
- export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateNotificationRuleCommand extends $Command<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
- readonly input: CreateNotificationRuleCommandInput;
12
- constructor(input: CreateNotificationRuleCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CodestarNotificationsClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CodestarNotificationsClient";
13
+ import {
14
+ CreateNotificationRuleRequest,
15
+ CreateNotificationRuleResult,
16
+ } from "../models/models_0";
17
+ export interface CreateNotificationRuleCommandInput
18
+ extends CreateNotificationRuleRequest {}
19
+ export interface CreateNotificationRuleCommandOutput
20
+ extends CreateNotificationRuleResult,
21
+ __MetadataBearer {}
22
+ export declare class CreateNotificationRuleCommand extends $Command<
23
+ CreateNotificationRuleCommandInput,
24
+ CreateNotificationRuleCommandOutput,
25
+ CodestarNotificationsClientResolvedConfig
26
+ > {
27
+ readonly input: CreateNotificationRuleCommandInput;
28
+ constructor(input: CreateNotificationRuleCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: CodestarNotificationsClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ CreateNotificationRuleCommandInput,
35
+ CreateNotificationRuleCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }