@aws-sdk/client-codestar-notifications 3.1087.0 → 3.1088.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-cjs/index.js +1 -1
- package/dist-types/ts3.4/CodestarNotifications.d.ts +46 -58
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +9 -31
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +8 -27
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -32,22 +32,10 @@ import {
|
|
|
32
32
|
ListTagsForResourceCommandInput,
|
|
33
33
|
ListTagsForResourceCommandOutput,
|
|
34
34
|
} from "./commands/ListTagsForResourceCommand";
|
|
35
|
-
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./commands/
|
|
39
|
-
import {
|
|
40
|
-
SubscribeCommandInput,
|
|
41
|
-
SubscribeCommandOutput,
|
|
42
|
-
} from "./commands/SubscribeCommand";
|
|
43
|
-
import {
|
|
44
|
-
TagResourceCommandInput,
|
|
45
|
-
TagResourceCommandOutput,
|
|
46
|
-
} from "./commands/TagResourceCommand";
|
|
47
|
-
import {
|
|
48
|
-
UnsubscribeCommandInput,
|
|
49
|
-
UnsubscribeCommandOutput,
|
|
50
|
-
} from "./commands/UnsubscribeCommand";
|
|
35
|
+
import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
|
|
36
|
+
import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
|
|
37
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
|
+
import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
|
|
51
39
|
import {
|
|
52
40
|
UntagResourceCommandInput,
|
|
53
41
|
UntagResourceCommandOutput,
|
|
@@ -59,196 +47,196 @@ import {
|
|
|
59
47
|
export interface CodestarNotifications {
|
|
60
48
|
createNotificationRule(
|
|
61
49
|
args: CreateNotificationRuleCommandInput,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
50
|
+
options?: __HttpHandlerOptions,
|
|
63
51
|
): Promise<CreateNotificationRuleCommandOutput>;
|
|
64
52
|
createNotificationRule(
|
|
65
53
|
args: CreateNotificationRuleCommandInput,
|
|
66
|
-
cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void
|
|
54
|
+
cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void,
|
|
67
55
|
): void;
|
|
68
56
|
createNotificationRule(
|
|
69
57
|
args: CreateNotificationRuleCommandInput,
|
|
70
58
|
options: __HttpHandlerOptions,
|
|
71
|
-
cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void
|
|
59
|
+
cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void,
|
|
72
60
|
): void;
|
|
73
61
|
deleteNotificationRule(
|
|
74
62
|
args: DeleteNotificationRuleCommandInput,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
63
|
+
options?: __HttpHandlerOptions,
|
|
76
64
|
): Promise<DeleteNotificationRuleCommandOutput>;
|
|
77
65
|
deleteNotificationRule(
|
|
78
66
|
args: DeleteNotificationRuleCommandInput,
|
|
79
|
-
cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void,
|
|
80
68
|
): void;
|
|
81
69
|
deleteNotificationRule(
|
|
82
70
|
args: DeleteNotificationRuleCommandInput,
|
|
83
71
|
options: __HttpHandlerOptions,
|
|
84
|
-
cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void
|
|
72
|
+
cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void,
|
|
85
73
|
): void;
|
|
86
74
|
deleteTarget(
|
|
87
75
|
args: DeleteTargetCommandInput,
|
|
88
|
-
options?: __HttpHandlerOptions
|
|
76
|
+
options?: __HttpHandlerOptions,
|
|
89
77
|
): Promise<DeleteTargetCommandOutput>;
|
|
90
78
|
deleteTarget(
|
|
91
79
|
args: DeleteTargetCommandInput,
|
|
92
|
-
cb: (err: any, data?: DeleteTargetCommandOutput) => void
|
|
80
|
+
cb: (err: any, data?: DeleteTargetCommandOutput) => void,
|
|
93
81
|
): void;
|
|
94
82
|
deleteTarget(
|
|
95
83
|
args: DeleteTargetCommandInput,
|
|
96
84
|
options: __HttpHandlerOptions,
|
|
97
|
-
cb: (err: any, data?: DeleteTargetCommandOutput) => void
|
|
85
|
+
cb: (err: any, data?: DeleteTargetCommandOutput) => void,
|
|
98
86
|
): void;
|
|
99
87
|
describeNotificationRule(
|
|
100
88
|
args: DescribeNotificationRuleCommandInput,
|
|
101
|
-
options?: __HttpHandlerOptions
|
|
89
|
+
options?: __HttpHandlerOptions,
|
|
102
90
|
): Promise<DescribeNotificationRuleCommandOutput>;
|
|
103
91
|
describeNotificationRule(
|
|
104
92
|
args: DescribeNotificationRuleCommandInput,
|
|
105
|
-
cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void
|
|
93
|
+
cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void,
|
|
106
94
|
): void;
|
|
107
95
|
describeNotificationRule(
|
|
108
96
|
args: DescribeNotificationRuleCommandInput,
|
|
109
97
|
options: __HttpHandlerOptions,
|
|
110
|
-
cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void
|
|
98
|
+
cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void,
|
|
111
99
|
): void;
|
|
112
100
|
listEventTypes(): Promise<ListEventTypesCommandOutput>;
|
|
113
101
|
listEventTypes(
|
|
114
102
|
args: ListEventTypesCommandInput,
|
|
115
|
-
options?: __HttpHandlerOptions
|
|
103
|
+
options?: __HttpHandlerOptions,
|
|
116
104
|
): Promise<ListEventTypesCommandOutput>;
|
|
117
105
|
listEventTypes(
|
|
118
106
|
args: ListEventTypesCommandInput,
|
|
119
|
-
cb: (err: any, data?: ListEventTypesCommandOutput) => void
|
|
107
|
+
cb: (err: any, data?: ListEventTypesCommandOutput) => void,
|
|
120
108
|
): void;
|
|
121
109
|
listEventTypes(
|
|
122
110
|
args: ListEventTypesCommandInput,
|
|
123
111
|
options: __HttpHandlerOptions,
|
|
124
|
-
cb: (err: any, data?: ListEventTypesCommandOutput) => void
|
|
112
|
+
cb: (err: any, data?: ListEventTypesCommandOutput) => void,
|
|
125
113
|
): void;
|
|
126
114
|
listNotificationRules(): Promise<ListNotificationRulesCommandOutput>;
|
|
127
115
|
listNotificationRules(
|
|
128
116
|
args: ListNotificationRulesCommandInput,
|
|
129
|
-
options?: __HttpHandlerOptions
|
|
117
|
+
options?: __HttpHandlerOptions,
|
|
130
118
|
): Promise<ListNotificationRulesCommandOutput>;
|
|
131
119
|
listNotificationRules(
|
|
132
120
|
args: ListNotificationRulesCommandInput,
|
|
133
|
-
cb: (err: any, data?: ListNotificationRulesCommandOutput) => void
|
|
121
|
+
cb: (err: any, data?: ListNotificationRulesCommandOutput) => void,
|
|
134
122
|
): void;
|
|
135
123
|
listNotificationRules(
|
|
136
124
|
args: ListNotificationRulesCommandInput,
|
|
137
125
|
options: __HttpHandlerOptions,
|
|
138
|
-
cb: (err: any, data?: ListNotificationRulesCommandOutput) => void
|
|
126
|
+
cb: (err: any, data?: ListNotificationRulesCommandOutput) => void,
|
|
139
127
|
): void;
|
|
140
128
|
listTagsForResource(
|
|
141
129
|
args: ListTagsForResourceCommandInput,
|
|
142
|
-
options?: __HttpHandlerOptions
|
|
130
|
+
options?: __HttpHandlerOptions,
|
|
143
131
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
144
132
|
listTagsForResource(
|
|
145
133
|
args: ListTagsForResourceCommandInput,
|
|
146
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
134
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
147
135
|
): void;
|
|
148
136
|
listTagsForResource(
|
|
149
137
|
args: ListTagsForResourceCommandInput,
|
|
150
138
|
options: __HttpHandlerOptions,
|
|
151
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
139
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
152
140
|
): void;
|
|
153
141
|
listTargets(): Promise<ListTargetsCommandOutput>;
|
|
154
142
|
listTargets(
|
|
155
143
|
args: ListTargetsCommandInput,
|
|
156
|
-
options?: __HttpHandlerOptions
|
|
144
|
+
options?: __HttpHandlerOptions,
|
|
157
145
|
): Promise<ListTargetsCommandOutput>;
|
|
158
146
|
listTargets(
|
|
159
147
|
args: ListTargetsCommandInput,
|
|
160
|
-
cb: (err: any, data?: ListTargetsCommandOutput) => void
|
|
148
|
+
cb: (err: any, data?: ListTargetsCommandOutput) => void,
|
|
161
149
|
): void;
|
|
162
150
|
listTargets(
|
|
163
151
|
args: ListTargetsCommandInput,
|
|
164
152
|
options: __HttpHandlerOptions,
|
|
165
|
-
cb: (err: any, data?: ListTargetsCommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: ListTargetsCommandOutput) => void,
|
|
166
154
|
): void;
|
|
167
155
|
subscribe(
|
|
168
156
|
args: SubscribeCommandInput,
|
|
169
|
-
options?: __HttpHandlerOptions
|
|
157
|
+
options?: __HttpHandlerOptions,
|
|
170
158
|
): Promise<SubscribeCommandOutput>;
|
|
171
159
|
subscribe(
|
|
172
160
|
args: SubscribeCommandInput,
|
|
173
|
-
cb: (err: any, data?: SubscribeCommandOutput) => void
|
|
161
|
+
cb: (err: any, data?: SubscribeCommandOutput) => void,
|
|
174
162
|
): void;
|
|
175
163
|
subscribe(
|
|
176
164
|
args: SubscribeCommandInput,
|
|
177
165
|
options: __HttpHandlerOptions,
|
|
178
|
-
cb: (err: any, data?: SubscribeCommandOutput) => void
|
|
166
|
+
cb: (err: any, data?: SubscribeCommandOutput) => void,
|
|
179
167
|
): void;
|
|
180
168
|
tagResource(
|
|
181
169
|
args: TagResourceCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
170
|
+
options?: __HttpHandlerOptions,
|
|
183
171
|
): Promise<TagResourceCommandOutput>;
|
|
184
172
|
tagResource(
|
|
185
173
|
args: TagResourceCommandInput,
|
|
186
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
174
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
187
175
|
): void;
|
|
188
176
|
tagResource(
|
|
189
177
|
args: TagResourceCommandInput,
|
|
190
178
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
179
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
192
180
|
): void;
|
|
193
181
|
unsubscribe(
|
|
194
182
|
args: UnsubscribeCommandInput,
|
|
195
|
-
options?: __HttpHandlerOptions
|
|
183
|
+
options?: __HttpHandlerOptions,
|
|
196
184
|
): Promise<UnsubscribeCommandOutput>;
|
|
197
185
|
unsubscribe(
|
|
198
186
|
args: UnsubscribeCommandInput,
|
|
199
|
-
cb: (err: any, data?: UnsubscribeCommandOutput) => void
|
|
187
|
+
cb: (err: any, data?: UnsubscribeCommandOutput) => void,
|
|
200
188
|
): void;
|
|
201
189
|
unsubscribe(
|
|
202
190
|
args: UnsubscribeCommandInput,
|
|
203
191
|
options: __HttpHandlerOptions,
|
|
204
|
-
cb: (err: any, data?: UnsubscribeCommandOutput) => void
|
|
192
|
+
cb: (err: any, data?: UnsubscribeCommandOutput) => void,
|
|
205
193
|
): void;
|
|
206
194
|
untagResource(
|
|
207
195
|
args: UntagResourceCommandInput,
|
|
208
|
-
options?: __HttpHandlerOptions
|
|
196
|
+
options?: __HttpHandlerOptions,
|
|
209
197
|
): Promise<UntagResourceCommandOutput>;
|
|
210
198
|
untagResource(
|
|
211
199
|
args: UntagResourceCommandInput,
|
|
212
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
200
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
213
201
|
): void;
|
|
214
202
|
untagResource(
|
|
215
203
|
args: UntagResourceCommandInput,
|
|
216
204
|
options: __HttpHandlerOptions,
|
|
217
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
205
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
218
206
|
): void;
|
|
219
207
|
updateNotificationRule(
|
|
220
208
|
args: UpdateNotificationRuleCommandInput,
|
|
221
|
-
options?: __HttpHandlerOptions
|
|
209
|
+
options?: __HttpHandlerOptions,
|
|
222
210
|
): Promise<UpdateNotificationRuleCommandOutput>;
|
|
223
211
|
updateNotificationRule(
|
|
224
212
|
args: UpdateNotificationRuleCommandInput,
|
|
225
|
-
cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void
|
|
213
|
+
cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void,
|
|
226
214
|
): void;
|
|
227
215
|
updateNotificationRule(
|
|
228
216
|
args: UpdateNotificationRuleCommandInput,
|
|
229
217
|
options: __HttpHandlerOptions,
|
|
230
|
-
cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void
|
|
218
|
+
cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void,
|
|
231
219
|
): void;
|
|
232
220
|
paginateListEventTypes(
|
|
233
221
|
args?: ListEventTypesCommandInput,
|
|
234
222
|
paginationConfig?: Pick<
|
|
235
223
|
PaginationConfiguration,
|
|
236
224
|
Exclude<keyof PaginationConfiguration, "client">
|
|
237
|
-
|
|
225
|
+
>,
|
|
238
226
|
): Paginator<ListEventTypesCommandOutput>;
|
|
239
227
|
paginateListNotificationRules(
|
|
240
228
|
args?: ListNotificationRulesCommandInput,
|
|
241
229
|
paginationConfig?: Pick<
|
|
242
230
|
PaginationConfiguration,
|
|
243
231
|
Exclude<keyof PaginationConfiguration, "client">
|
|
244
|
-
|
|
232
|
+
>,
|
|
245
233
|
): Paginator<ListNotificationRulesCommandOutput>;
|
|
246
234
|
paginateListTargets(
|
|
247
235
|
args?: ListTargetsCommandInput,
|
|
248
236
|
paginationConfig?: Pick<
|
|
249
237
|
PaginationConfiguration,
|
|
250
238
|
Exclude<keyof PaginationConfiguration, "client">
|
|
251
|
-
|
|
239
|
+
>,
|
|
252
240
|
): Paginator<ListTargetsCommandOutput>;
|
|
253
241
|
}
|
|
254
242
|
export declare class CodestarNotifications
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -64,22 +61,10 @@ import {
|
|
|
64
61
|
ListTagsForResourceCommandInput,
|
|
65
62
|
ListTagsForResourceCommandOutput,
|
|
66
63
|
} from "./commands/ListTagsForResourceCommand";
|
|
67
|
-
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./commands/
|
|
71
|
-
import {
|
|
72
|
-
SubscribeCommandInput,
|
|
73
|
-
SubscribeCommandOutput,
|
|
74
|
-
} from "./commands/SubscribeCommand";
|
|
75
|
-
import {
|
|
76
|
-
TagResourceCommandInput,
|
|
77
|
-
TagResourceCommandOutput,
|
|
78
|
-
} from "./commands/TagResourceCommand";
|
|
79
|
-
import {
|
|
80
|
-
UnsubscribeCommandInput,
|
|
81
|
-
UnsubscribeCommandOutput,
|
|
82
|
-
} from "./commands/UnsubscribeCommand";
|
|
64
|
+
import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
|
|
65
|
+
import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
|
|
66
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
67
|
+
import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
|
|
83
68
|
import {
|
|
84
69
|
UntagResourceCommandInput,
|
|
85
70
|
UntagResourceCommandOutput,
|
|
@@ -123,8 +108,7 @@ export type ServiceOutputTypes =
|
|
|
123
108
|
| UnsubscribeCommandOutput
|
|
124
109
|
| UntagResourceCommandOutput
|
|
125
110
|
| UpdateNotificationRuleCommandOutput;
|
|
126
|
-
export interface ClientDefaults
|
|
127
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
111
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
128
112
|
requestHandler?: __HttpHandlerUserInput;
|
|
129
113
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
130
114
|
urlParser?: __UrlParser;
|
|
@@ -160,8 +144,7 @@ export type CodestarNotificationsClientConfigType = Partial<
|
|
|
160
144
|
EndpointInputConfig<EndpointParameters> &
|
|
161
145
|
HttpAuthSchemeInputConfig &
|
|
162
146
|
ClientInputEndpointParameters;
|
|
163
|
-
export interface CodestarNotificationsClientConfig
|
|
164
|
-
extends CodestarNotificationsClientConfigType {}
|
|
147
|
+
export interface CodestarNotificationsClientConfig extends CodestarNotificationsClientConfigType {}
|
|
165
148
|
export type CodestarNotificationsClientResolvedConfigType =
|
|
166
149
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
167
150
|
Required<ClientDefaults> &
|
|
@@ -173,8 +156,7 @@ export type CodestarNotificationsClientResolvedConfigType =
|
|
|
173
156
|
EndpointResolvedConfig<EndpointParameters> &
|
|
174
157
|
HttpAuthSchemeResolvedConfig &
|
|
175
158
|
ClientResolvedEndpointParameters;
|
|
176
|
-
export interface CodestarNotificationsClientResolvedConfig
|
|
177
|
-
extends CodestarNotificationsClientResolvedConfigType {}
|
|
159
|
+
export interface CodestarNotificationsClientResolvedConfig extends CodestarNotificationsClientResolvedConfigType {}
|
|
178
160
|
export declare class CodestarNotificationsClient extends __Client<
|
|
179
161
|
__HttpHandlerOptions,
|
|
180
162
|
ServiceInputTypes,
|
|
@@ -182,10 +164,6 @@ export declare class CodestarNotificationsClient extends __Client<
|
|
|
182
164
|
CodestarNotificationsClientResolvedConfig
|
|
183
165
|
> {
|
|
184
166
|
readonly config: CodestarNotificationsClientResolvedConfig;
|
|
185
|
-
constructor(
|
|
186
|
-
...[
|
|
187
|
-
configuration,
|
|
188
|
-
]: __CheckOptionalClientConfig<CodestarNotificationsClientConfig>
|
|
189
|
-
);
|
|
167
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CodestarNotificationsClientConfig>);
|
|
190
168
|
destroy(): void;
|
|
191
169
|
}
|
|
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
10
|
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: CodestarNotificationsHttpAuthSchemeProvider
|
|
11
|
+
httpAuthSchemeProvider: CodestarNotificationsHttpAuthSchemeProvider,
|
|
12
12
|
): void;
|
|
13
13
|
httpAuthSchemeProvider(): CodestarNotificationsHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
16
|
}
|
|
22
17
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
18
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
20
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
21
|
}>;
|
|
27
22
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
24
|
) => HttpAuthExtensionConfiguration;
|
|
30
25
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
27
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { CodestarNotificationsClientResolvedConfig } from "../CodestarNotificationsClient";
|
|
15
|
-
export interface CodestarNotificationsHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface CodestarNotificationsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface CodestarNotificationsHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface CodestarNotificationsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
CodestarNotificationsClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
CodestarNotificationsHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultCodestarNotificationsHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: CodestarNotificationsClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<CodestarNotificationsHttpAuthSchemeParameters>;
|
|
31
|
-
export interface CodestarNotificationsHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<CodestarNotificationsHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface CodestarNotificationsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CodestarNotificationsHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultCodestarNotificationsHttpAuthSchemeProvider: CodestarNotificationsHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: CodestarNotificationsHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: CodestarNotificationsHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./CodestarNotificationsClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
CodestarNotificationsClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateNotificationRuleRequest,
|
|
4
|
-
CreateNotificationRuleResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateNotificationRuleCommandInput
|
|
8
|
-
extends CreateNotificationRuleRequest {}
|
|
4
|
+
export interface CreateNotificationRuleCommandInput extends CreateNotificationRuleRequest {}
|
|
9
5
|
export interface CreateNotificationRuleCommandOutput
|
|
10
|
-
extends CreateNotificationRuleResult,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateNotificationRuleResult, __MetadataBearer {}
|
|
12
7
|
declare const CreateNotificationRuleCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateNotificationRuleCommandInput
|
|
9
|
+
input: CreateNotificationRuleCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateNotificationRuleCommandInput,
|
|
17
12
|
CreateNotificationRuleCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateNotificationRuleCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateNotificationRuleCommandInput
|
|
18
|
+
input: CreateNotificationRuleCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateNotificationRuleCommandInput,
|
|
26
21
|
CreateNotificationRuleCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteNotificationRuleRequest,
|
|
4
|
-
DeleteNotificationRuleResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DeleteNotificationRuleCommandInput
|
|
8
|
-
extends DeleteNotificationRuleRequest {}
|
|
4
|
+
export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest {}
|
|
9
5
|
export interface DeleteNotificationRuleCommandOutput
|
|
10
|
-
extends DeleteNotificationRuleResult,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DeleteNotificationRuleResult, __MetadataBearer {}
|
|
12
7
|
declare const DeleteNotificationRuleCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DeleteNotificationRuleCommandInput
|
|
9
|
+
input: DeleteNotificationRuleCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DeleteNotificationRuleCommandInput,
|
|
17
12
|
DeleteNotificationRuleCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const DeleteNotificationRuleCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: DeleteNotificationRuleCommandInput
|
|
18
|
+
input: DeleteNotificationRuleCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
DeleteNotificationRuleCommandInput,
|
|
26
21
|
DeleteNotificationRuleCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface DeleteTargetCommandInput extends DeleteTargetRequest {}
|
|
5
|
-
export interface DeleteTargetCommandOutput
|
|
6
|
-
extends DeleteTargetResult,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {}
|
|
8
6
|
declare const DeleteTargetCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: DeleteTargetCommandInput
|
|
8
|
+
input: DeleteTargetCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
DeleteTargetCommandInput,
|
|
13
11
|
DeleteTargetCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const DeleteTargetCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: DeleteTargetCommandInput
|
|
17
|
+
input: DeleteTargetCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
DeleteTargetCommandInput,
|
|
22
20
|
DeleteTargetCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
DescribeNotificationRuleResult,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeNotificationRuleCommandInput
|
|
8
|
-
extends DescribeNotificationRuleRequest {}
|
|
7
|
+
export interface DescribeNotificationRuleCommandInput extends DescribeNotificationRuleRequest {}
|
|
9
8
|
export interface DescribeNotificationRuleCommandOutput
|
|
10
|
-
extends DescribeNotificationRuleResult,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends DescribeNotificationRuleResult, __MetadataBearer {}
|
|
12
10
|
declare const DescribeNotificationRuleCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: DescribeNotificationRuleCommandInput
|
|
12
|
+
input: DescribeNotificationRuleCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
DescribeNotificationRuleCommandInput,
|
|
17
15
|
DescribeNotificationRuleCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const DescribeNotificationRuleCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: DescribeNotificationRuleCommandInput
|
|
21
|
+
input: DescribeNotificationRuleCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
DescribeNotificationRuleCommandInput,
|
|
26
24
|
DescribeNotificationRuleCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListEventTypesRequest,
|
|
4
|
-
ListEventTypesResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface ListEventTypesCommandInput extends ListEventTypesRequest {}
|
|
8
|
-
export interface ListEventTypesCommandOutput
|
|
9
|
-
extends ListEventTypesResult,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ListEventTypesCommandOutput extends ListEventTypesResult, __MetadataBearer {}
|
|
11
6
|
declare const ListEventTypesCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: ListEventTypesCommandInput
|
|
8
|
+
input: ListEventTypesCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
ListEventTypesCommandInput,
|
|
16
11
|
ListEventTypesCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListNotificationRulesRequest,
|
|
4
|
-
ListNotificationRulesResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListNotificationRulesCommandInput
|
|
8
|
-
extends ListNotificationRulesRequest {}
|
|
4
|
+
export interface ListNotificationRulesCommandInput extends ListNotificationRulesRequest {}
|
|
9
5
|
export interface ListNotificationRulesCommandOutput
|
|
10
|
-
extends ListNotificationRulesResult,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListNotificationRulesResult, __MetadataBearer {}
|
|
12
7
|
declare const ListNotificationRulesCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListNotificationRulesCommandInput
|
|
9
|
+
input: ListNotificationRulesCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListNotificationRulesCommandInput,
|
|
17
12
|
ListNotificationRulesCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListTagsForResourceRequest,
|
|
4
|
-
ListTagsForResourceResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListTagsForResourceCommandInput
|
|
8
|
-
extends ListTagsForResourceRequest {}
|
|
4
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
9
5
|
export interface ListTagsForResourceCommandOutput
|
|
10
|
-
extends ListTagsForResourceResult,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListTagsForResourceResult, __MetadataBearer {}
|
|
12
7
|
declare const ListTagsForResourceCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListTagsForResourceCommandInput
|
|
9
|
+
input: ListTagsForResourceCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListTagsForResourceCommandInput,
|
|
17
12
|
ListTagsForResourceCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListTagsForResourceCommandInput
|
|
18
|
+
input: ListTagsForResourceCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListTagsForResourceCommandInput,
|
|
26
21
|
ListTagsForResourceCommandOutput,
|