@aws-sdk/client-codestar-notifications 3.927.0 → 3.929.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 (37) hide show
  1. package/dist-cjs/index.js +492 -694
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CodestarNotificationsClient.js +2 -0
  4. package/dist-es/commands/CreateNotificationRuleCommand.js +3 -10
  5. package/dist-es/commands/DeleteNotificationRuleCommand.js +3 -9
  6. package/dist-es/commands/DeleteTargetCommand.js +3 -10
  7. package/dist-es/commands/DescribeNotificationRuleCommand.js +3 -10
  8. package/dist-es/commands/ListEventTypesCommand.js +3 -9
  9. package/dist-es/commands/ListNotificationRulesCommand.js +3 -9
  10. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  11. package/dist-es/commands/ListTargetsCommand.js +3 -10
  12. package/dist-es/commands/SubscribeCommand.js +3 -10
  13. package/dist-es/commands/TagResourceCommand.js +3 -9
  14. package/dist-es/commands/UnsubscribeCommand.js +3 -10
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/commands/UpdateNotificationRuleCommand.js +3 -10
  17. package/dist-es/models/models_0.js +0 -40
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-es/schemas/schemas_0.js +446 -0
  20. package/dist-types/CodestarNotificationsClient.d.ts +10 -1
  21. package/dist-types/models/models_0.d.ts +0 -36
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +69 -0
  27. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +4 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +0 -25
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +75 -0
  34. package/package.json +5 -6
  35. package/dist-es/protocols/Aws_restJson1.js +0 -534
  36. package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
@@ -0,0 +1,446 @@
1
+ const _A = "Arn";
2
+ const _ADE = "AccessDeniedException";
3
+ const _CB = "CreatedBy";
4
+ const _CE = "ConfigurationException";
5
+ const _CME = "ConcurrentModificationException";
6
+ const _CNR = "CreateNotificationRule";
7
+ const _CNRR = "CreateNotificationRuleRequest";
8
+ const _CNRRr = "CreateNotificationRuleResult";
9
+ const _CRT = "ClientRequestToken";
10
+ const _CT = "CreatedTimestamp";
11
+ const _DNR = "DeleteNotificationRule";
12
+ const _DNRR = "DeleteNotificationRuleRequest";
13
+ const _DNRRe = "DeleteNotificationRuleResult";
14
+ const _DNRRes = "DescribeNotificationRuleRequest";
15
+ const _DNRResc = "DescribeNotificationRuleResult";
16
+ const _DNRe = "DescribeNotificationRule";
17
+ const _DT = "DetailType";
18
+ const _DTR = "DeleteTargetRequest";
19
+ const _DTRe = "DeleteTargetResult";
20
+ const _DTe = "DeleteTarget";
21
+ const _ET = "EventTypes";
22
+ const _ETB = "EventTypeBatch";
23
+ const _ETI = "EventTypeIds";
24
+ const _ETIv = "EventTypeId";
25
+ const _ETN = "EventTypeName";
26
+ const _ETS = "EventTypeSummary";
27
+ const _F = "Filters";
28
+ const _FUA = "ForceUnsubscribeAll";
29
+ const _I = "Id";
30
+ const _INTE = "InvalidNextTokenException";
31
+ const _LEE = "LimitExceededException";
32
+ const _LET = "ListEventTypes";
33
+ const _LETF = "ListEventTypesFilter";
34
+ const _LETFi = "ListEventTypesFilters";
35
+ const _LETR = "ListEventTypesRequest";
36
+ const _LETRi = "ListEventTypesResult";
37
+ const _LMT = "LastModifiedTimestamp";
38
+ const _LNR = "ListNotificationRules";
39
+ const _LNRF = "ListNotificationRulesFilter";
40
+ const _LNRFi = "ListNotificationRulesFilters";
41
+ const _LNRR = "ListNotificationRulesRequest";
42
+ const _LNRRi = "ListNotificationRulesResult";
43
+ const _LT = "ListTargets";
44
+ const _LTF = "ListTargetsFilter";
45
+ const _LTFR = "ListTagsForResource";
46
+ const _LTFRR = "ListTagsForResourceRequest";
47
+ const _LTFRRi = "ListTagsForResourceResult";
48
+ const _LTFi = "ListTargetsFilters";
49
+ const _LTR = "ListTargetsRequest";
50
+ const _LTRi = "ListTargetsResult";
51
+ const _M = "Message";
52
+ const _MR = "MaxResults";
53
+ const _N = "Name";
54
+ const _NR = "NotificationRules";
55
+ const _NRB = "NotificationRuleBatch";
56
+ const _NRN = "NotificationRuleName";
57
+ const _NRS = "NotificationRuleSummary";
58
+ const _NT = "NextToken";
59
+ const _R = "Resource";
60
+ const _RAEE = "ResourceAlreadyExistsException";
61
+ const _RNFE = "ResourceNotFoundException";
62
+ const _RT = "ResourceType";
63
+ const _S = "Status";
64
+ const _SN = "ServiceName";
65
+ const _SR = "SubscribeRequest";
66
+ const _SRu = "SubscribeResult";
67
+ const _Su = "Subscribe";
68
+ const _T = "Targets";
69
+ const _TA = "TargetAddress";
70
+ const _TB = "TargetsBatch";
71
+ const _TK = "TagKeys";
72
+ const _TR = "TagResource";
73
+ const _TRR = "TagResourceRequest";
74
+ const _TRRa = "TagResourceResult";
75
+ const _TS = "TargetSummary";
76
+ const _TSa = "TargetStatus";
77
+ const _TT = "TargetType";
78
+ const _Ta = "Tags";
79
+ const _Tar = "Target";
80
+ const _U = "Unsubscribe";
81
+ const _UNR = "UpdateNotificationRule";
82
+ const _UNRR = "UpdateNotificationRuleRequest";
83
+ const _UNRRp = "UpdateNotificationRuleResult";
84
+ const _UR = "UnsubscribeRequest";
85
+ const _URR = "UntagResourceRequest";
86
+ const _URRn = "UntagResourceResult";
87
+ const _URn = "UnsubscribeResult";
88
+ const _URnt = "UntagResource";
89
+ const _V = "Value";
90
+ const _VE = "ValidationException";
91
+ const _c = "client";
92
+ const _e = "error";
93
+ const _h = "http";
94
+ const _hE = "httpError";
95
+ const _hQ = "httpQuery";
96
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codestarnotifications";
97
+ const _tK = "tagKeys";
98
+ const n0 = "com.amazonaws.codestarnotifications";
99
+ import { TypeRegistry } from "@smithy/core/schema";
100
+ import { CodestarNotificationsServiceException as __CodestarNotificationsServiceException } from "../models/CodestarNotificationsServiceException";
101
+ import { AccessDeniedException as __AccessDeniedException, ConcurrentModificationException as __ConcurrentModificationException, ConfigurationException as __ConfigurationException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/index";
102
+ export var NotificationRuleName = [0, n0, _NRN, 8, 0];
103
+ export var TargetAddress = [0, n0, _TA, 8, 0];
104
+ export var AccessDeniedException = [
105
+ -3,
106
+ n0,
107
+ _ADE,
108
+ {
109
+ [_e]: _c,
110
+ [_hE]: 403,
111
+ },
112
+ [_M],
113
+ [0],
114
+ ];
115
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
116
+ export var ConcurrentModificationException = [
117
+ -3,
118
+ n0,
119
+ _CME,
120
+ {
121
+ [_e]: _c,
122
+ [_hE]: 400,
123
+ },
124
+ [_M],
125
+ [0],
126
+ ];
127
+ TypeRegistry.for(n0).registerError(ConcurrentModificationException, __ConcurrentModificationException);
128
+ export var ConfigurationException = [
129
+ -3,
130
+ n0,
131
+ _CE,
132
+ {
133
+ [_e]: _c,
134
+ [_hE]: 400,
135
+ },
136
+ [_M],
137
+ [0],
138
+ ];
139
+ TypeRegistry.for(n0).registerError(ConfigurationException, __ConfigurationException);
140
+ export var CreateNotificationRuleRequest = [
141
+ 3,
142
+ n0,
143
+ _CNRR,
144
+ 0,
145
+ [_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
146
+ [[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
147
+ ];
148
+ export var CreateNotificationRuleResult = [3, n0, _CNRRr, 0, [_A], [0]];
149
+ export var DeleteNotificationRuleRequest = [3, n0, _DNRR, 0, [_A], [0]];
150
+ export var DeleteNotificationRuleResult = [3, n0, _DNRRe, 0, [_A], [0]];
151
+ export var DeleteTargetRequest = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
152
+ export var DeleteTargetResult = [3, n0, _DTRe, 0, [], []];
153
+ export var DescribeNotificationRuleRequest = [3, n0, _DNRRes, 0, [_A], [0]];
154
+ export var DescribeNotificationRuleResult = [
155
+ 3,
156
+ n0,
157
+ _DNRResc,
158
+ 0,
159
+ [_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
160
+ [0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
161
+ ];
162
+ export var EventTypeSummary = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
163
+ export var InvalidNextTokenException = [
164
+ -3,
165
+ n0,
166
+ _INTE,
167
+ {
168
+ [_e]: _c,
169
+ [_hE]: 400,
170
+ },
171
+ [_M],
172
+ [0],
173
+ ];
174
+ TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
175
+ export var LimitExceededException = [
176
+ -3,
177
+ n0,
178
+ _LEE,
179
+ {
180
+ [_e]: _c,
181
+ [_hE]: 400,
182
+ },
183
+ [_M],
184
+ [0],
185
+ ];
186
+ TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
187
+ export var ListEventTypesFilter = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
188
+ export var ListEventTypesRequest = [
189
+ 3,
190
+ n0,
191
+ _LETR,
192
+ 0,
193
+ [_F, _NT, _MR],
194
+ [() => ListEventTypesFilters, 0, 1],
195
+ ];
196
+ export var ListEventTypesResult = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
197
+ export var ListNotificationRulesFilter = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
198
+ export var ListNotificationRulesRequest = [
199
+ 3,
200
+ n0,
201
+ _LNRR,
202
+ 0,
203
+ [_F, _NT, _MR],
204
+ [() => ListNotificationRulesFilters, 0, 1],
205
+ ];
206
+ export var ListNotificationRulesResult = [
207
+ 3,
208
+ n0,
209
+ _LNRRi,
210
+ 0,
211
+ [_NT, _NR],
212
+ [0, () => NotificationRuleBatch],
213
+ ];
214
+ export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_A], [0]];
215
+ export var ListTagsForResourceResult = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
216
+ export var ListTargetsFilter = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
217
+ export var ListTargetsRequest = [
218
+ 3,
219
+ n0,
220
+ _LTR,
221
+ 0,
222
+ [_F, _NT, _MR],
223
+ [() => ListTargetsFilters, 0, 1],
224
+ ];
225
+ export var ListTargetsResult = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
226
+ export var NotificationRuleSummary = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
227
+ export var ResourceAlreadyExistsException = [
228
+ -3,
229
+ n0,
230
+ _RAEE,
231
+ {
232
+ [_e]: _c,
233
+ [_hE]: 409,
234
+ },
235
+ [_M],
236
+ [0],
237
+ ];
238
+ TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, __ResourceAlreadyExistsException);
239
+ export var ResourceNotFoundException = [
240
+ -3,
241
+ n0,
242
+ _RNFE,
243
+ {
244
+ [_e]: _c,
245
+ [_hE]: 404,
246
+ },
247
+ [_M],
248
+ [0],
249
+ ];
250
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
251
+ export var SubscribeRequest = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target, 0], 0]];
252
+ export var SubscribeResult = [3, n0, _SRu, 0, [_A], [0]];
253
+ export var TagResourceRequest = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
254
+ export var TagResourceResult = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
255
+ export var Target = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
256
+ export var TargetSummary = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
257
+ export var UnsubscribeRequest = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
258
+ export var UnsubscribeResult = [3, n0, _URn, 0, [_A], [0]];
259
+ export var UntagResourceRequest = [
260
+ 3,
261
+ n0,
262
+ _URR,
263
+ 0,
264
+ [_A, _TK],
265
+ [
266
+ [0, 1],
267
+ [
268
+ 64 | 0,
269
+ {
270
+ [_hQ]: _tK,
271
+ },
272
+ ],
273
+ ],
274
+ ];
275
+ export var UntagResourceResult = [3, n0, _URRn, 0, [], []];
276
+ export var UpdateNotificationRuleRequest = [
277
+ 3,
278
+ n0,
279
+ _UNRR,
280
+ 0,
281
+ [_A, _N, _S, _ETI, _T, _DT],
282
+ [0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
283
+ ];
284
+ export var UpdateNotificationRuleResult = [3, n0, _UNRRp, 0, [], []];
285
+ export var ValidationException = [
286
+ -3,
287
+ n0,
288
+ _VE,
289
+ {
290
+ [_e]: _c,
291
+ [_hE]: 400,
292
+ },
293
+ [_M],
294
+ [0],
295
+ ];
296
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
297
+ export var __Unit = "unit";
298
+ export var CodestarNotificationsServiceException = [
299
+ -3,
300
+ _s,
301
+ "CodestarNotificationsServiceException",
302
+ 0,
303
+ [],
304
+ [],
305
+ ];
306
+ TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException, __CodestarNotificationsServiceException);
307
+ export var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary];
308
+ export var EventTypeIds = 64 | 0;
309
+ export var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter];
310
+ export var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter];
311
+ export var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter];
312
+ export var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary];
313
+ export var TagKeys = 64 | 0;
314
+ export var Targets = [1, n0, _T, 0, [() => Target, 0]];
315
+ export var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary, 0]];
316
+ export var Tags = 128 | 0;
317
+ export var CreateNotificationRule = [
318
+ 9,
319
+ n0,
320
+ _CNR,
321
+ {
322
+ [_h]: ["POST", "/createNotificationRule", 200],
323
+ },
324
+ () => CreateNotificationRuleRequest,
325
+ () => CreateNotificationRuleResult,
326
+ ];
327
+ export var DeleteNotificationRule = [
328
+ 9,
329
+ n0,
330
+ _DNR,
331
+ {
332
+ [_h]: ["POST", "/deleteNotificationRule", 200],
333
+ },
334
+ () => DeleteNotificationRuleRequest,
335
+ () => DeleteNotificationRuleResult,
336
+ ];
337
+ export var DeleteTarget = [
338
+ 9,
339
+ n0,
340
+ _DTe,
341
+ {
342
+ [_h]: ["POST", "/deleteTarget", 200],
343
+ },
344
+ () => DeleteTargetRequest,
345
+ () => DeleteTargetResult,
346
+ ];
347
+ export var DescribeNotificationRule = [
348
+ 9,
349
+ n0,
350
+ _DNRe,
351
+ {
352
+ [_h]: ["POST", "/describeNotificationRule", 200],
353
+ },
354
+ () => DescribeNotificationRuleRequest,
355
+ () => DescribeNotificationRuleResult,
356
+ ];
357
+ export var ListEventTypes = [
358
+ 9,
359
+ n0,
360
+ _LET,
361
+ {
362
+ [_h]: ["POST", "/listEventTypes", 200],
363
+ },
364
+ () => ListEventTypesRequest,
365
+ () => ListEventTypesResult,
366
+ ];
367
+ export var ListNotificationRules = [
368
+ 9,
369
+ n0,
370
+ _LNR,
371
+ {
372
+ [_h]: ["POST", "/listNotificationRules", 200],
373
+ },
374
+ () => ListNotificationRulesRequest,
375
+ () => ListNotificationRulesResult,
376
+ ];
377
+ export var ListTagsForResource = [
378
+ 9,
379
+ n0,
380
+ _LTFR,
381
+ {
382
+ [_h]: ["POST", "/listTagsForResource", 200],
383
+ },
384
+ () => ListTagsForResourceRequest,
385
+ () => ListTagsForResourceResult,
386
+ ];
387
+ export var ListTargets = [
388
+ 9,
389
+ n0,
390
+ _LT,
391
+ {
392
+ [_h]: ["POST", "/listTargets", 200],
393
+ },
394
+ () => ListTargetsRequest,
395
+ () => ListTargetsResult,
396
+ ];
397
+ export var Subscribe = [
398
+ 9,
399
+ n0,
400
+ _Su,
401
+ {
402
+ [_h]: ["POST", "/subscribe", 200],
403
+ },
404
+ () => SubscribeRequest,
405
+ () => SubscribeResult,
406
+ ];
407
+ export var TagResource = [
408
+ 9,
409
+ n0,
410
+ _TR,
411
+ {
412
+ [_h]: ["POST", "/tagResource", 200],
413
+ },
414
+ () => TagResourceRequest,
415
+ () => TagResourceResult,
416
+ ];
417
+ export var Unsubscribe = [
418
+ 9,
419
+ n0,
420
+ _U,
421
+ {
422
+ [_h]: ["POST", "/unsubscribe", 200],
423
+ },
424
+ () => UnsubscribeRequest,
425
+ () => UnsubscribeResult,
426
+ ];
427
+ export var UntagResource = [
428
+ 9,
429
+ n0,
430
+ _URnt,
431
+ {
432
+ [_h]: ["POST", "/untagResource/{Arn}", 200],
433
+ },
434
+ () => UntagResourceRequest,
435
+ () => UntagResourceResult,
436
+ ];
437
+ export var UpdateNotificationRule = [
438
+ 9,
439
+ n0,
440
+ _UNR,
441
+ {
442
+ [_h]: ["POST", "/updateNotificationRule", 200],
443
+ },
444
+ () => UpdateNotificationRuleRequest,
445
+ () => UpdateNotificationRuleResult,
446
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
11
11
  import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
@@ -154,6 +154,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
154
154
  * Optional extensions
155
155
  */
156
156
  extensions?: RuntimeExtension[];
157
+ /**
158
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
159
+ * may be overridden. A default will always be set by the client.
160
+ * Available options depend on the service's supported protocols and will not be validated by
161
+ * the client.
162
+ * @alpha
163
+ *
164
+ */
165
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
157
166
  /**
158
167
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
159
168
  */
@@ -816,39 +816,3 @@ export interface UpdateNotificationRuleRequest {
816
816
  */
817
817
  export interface UpdateNotificationRuleResult {
818
818
  }
819
- /**
820
- * @internal
821
- */
822
- export declare const TargetFilterSensitiveLog: (obj: Target) => any;
823
- /**
824
- * @internal
825
- */
826
- export declare const CreateNotificationRuleRequestFilterSensitiveLog: (obj: CreateNotificationRuleRequest) => any;
827
- /**
828
- * @internal
829
- */
830
- export declare const DeleteTargetRequestFilterSensitiveLog: (obj: DeleteTargetRequest) => any;
831
- /**
832
- * @internal
833
- */
834
- export declare const TargetSummaryFilterSensitiveLog: (obj: TargetSummary) => any;
835
- /**
836
- * @internal
837
- */
838
- export declare const DescribeNotificationRuleResultFilterSensitiveLog: (obj: DescribeNotificationRuleResult) => any;
839
- /**
840
- * @internal
841
- */
842
- export declare const ListTargetsResultFilterSensitiveLog: (obj: ListTargetsResult) => any;
843
- /**
844
- * @internal
845
- */
846
- export declare const SubscribeRequestFilterSensitiveLog: (obj: SubscribeRequest) => any;
847
- /**
848
- * @internal
849
- */
850
- export declare const UnsubscribeRequestFilterSensitiveLog: (obj: UnsubscribeRequest) => any;
851
- /**
852
- * @internal
853
- */
854
- export declare const UpdateNotificationRuleRequestFilterSensitiveLog: (obj: UpdateNotificationRuleRequest) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodestarNotificationsHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,69 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var NotificationRuleName: StaticSimpleSchema;
3
+ export declare var TargetAddress: StaticSimpleSchema;
4
+ export declare var AccessDeniedException: StaticErrorSchema;
5
+ export declare var ConcurrentModificationException: StaticErrorSchema;
6
+ export declare var ConfigurationException: StaticErrorSchema;
7
+ export declare var CreateNotificationRuleRequest: StaticStructureSchema;
8
+ export declare var CreateNotificationRuleResult: StaticStructureSchema;
9
+ export declare var DeleteNotificationRuleRequest: StaticStructureSchema;
10
+ export declare var DeleteNotificationRuleResult: StaticStructureSchema;
11
+ export declare var DeleteTargetRequest: StaticStructureSchema;
12
+ export declare var DeleteTargetResult: StaticStructureSchema;
13
+ export declare var DescribeNotificationRuleRequest: StaticStructureSchema;
14
+ export declare var DescribeNotificationRuleResult: StaticStructureSchema;
15
+ export declare var EventTypeSummary: StaticStructureSchema;
16
+ export declare var InvalidNextTokenException: StaticErrorSchema;
17
+ export declare var LimitExceededException: StaticErrorSchema;
18
+ export declare var ListEventTypesFilter: StaticStructureSchema;
19
+ export declare var ListEventTypesRequest: StaticStructureSchema;
20
+ export declare var ListEventTypesResult: StaticStructureSchema;
21
+ export declare var ListNotificationRulesFilter: StaticStructureSchema;
22
+ export declare var ListNotificationRulesRequest: StaticStructureSchema;
23
+ export declare var ListNotificationRulesResult: StaticStructureSchema;
24
+ export declare var ListTagsForResourceRequest: StaticStructureSchema;
25
+ export declare var ListTagsForResourceResult: StaticStructureSchema;
26
+ export declare var ListTargetsFilter: StaticStructureSchema;
27
+ export declare var ListTargetsRequest: StaticStructureSchema;
28
+ export declare var ListTargetsResult: StaticStructureSchema;
29
+ export declare var NotificationRuleSummary: StaticStructureSchema;
30
+ export declare var ResourceAlreadyExistsException: StaticErrorSchema;
31
+ export declare var ResourceNotFoundException: StaticErrorSchema;
32
+ export declare var SubscribeRequest: StaticStructureSchema;
33
+ export declare var SubscribeResult: StaticStructureSchema;
34
+ export declare var TagResourceRequest: StaticStructureSchema;
35
+ export declare var TagResourceResult: StaticStructureSchema;
36
+ export declare var Target: StaticStructureSchema;
37
+ export declare var TargetSummary: StaticStructureSchema;
38
+ export declare var UnsubscribeRequest: StaticStructureSchema;
39
+ export declare var UnsubscribeResult: StaticStructureSchema;
40
+ export declare var UntagResourceRequest: StaticStructureSchema;
41
+ export declare var UntagResourceResult: StaticStructureSchema;
42
+ export declare var UpdateNotificationRuleRequest: StaticStructureSchema;
43
+ export declare var UpdateNotificationRuleResult: StaticStructureSchema;
44
+ export declare var ValidationException: StaticErrorSchema;
45
+ export declare var __Unit: "unit";
46
+ export declare var CodestarNotificationsServiceException: StaticErrorSchema;
47
+ export declare var EventTypeBatch: StaticListSchema;
48
+ export declare var EventTypeIds: number;
49
+ export declare var ListEventTypesFilters: StaticListSchema;
50
+ export declare var ListNotificationRulesFilters: StaticListSchema;
51
+ export declare var ListTargetsFilters: StaticListSchema;
52
+ export declare var NotificationRuleBatch: StaticListSchema;
53
+ export declare var TagKeys: number;
54
+ export declare var Targets: StaticListSchema;
55
+ export declare var TargetsBatch: StaticListSchema;
56
+ export declare var Tags: number;
57
+ export declare var CreateNotificationRule: StaticOperationSchema;
58
+ export declare var DeleteNotificationRule: StaticOperationSchema;
59
+ export declare var DeleteTarget: StaticOperationSchema;
60
+ export declare var DescribeNotificationRule: StaticOperationSchema;
61
+ export declare var ListEventTypes: StaticOperationSchema;
62
+ export declare var ListNotificationRules: StaticOperationSchema;
63
+ export declare var ListTagsForResource: StaticOperationSchema;
64
+ export declare var ListTargets: StaticOperationSchema;
65
+ export declare var Subscribe: StaticOperationSchema;
66
+ export declare var TagResource: StaticOperationSchema;
67
+ export declare var Unsubscribe: StaticOperationSchema;
68
+ export declare var UntagResource: StaticOperationSchema;
69
+ export declare var UpdateNotificationRule: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -156,6 +159,7 @@ export interface ClientDefaults
156
159
  retryMode?: string | __Provider<string>;
157
160
  logger?: __Logger;
158
161
  extensions?: RuntimeExtension[];
162
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
159
163
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
160
164
  }
161
165
  export type CodestarNotificationsClientConfigType = Partial<
@@ -247,28 +247,3 @@ export interface UpdateNotificationRuleRequest {
247
247
  DetailType?: DetailType | undefined;
248
248
  }
249
249
  export interface UpdateNotificationRuleResult {}
250
- export declare const TargetFilterSensitiveLog: (obj: Target) => any;
251
- export declare const CreateNotificationRuleRequestFilterSensitiveLog: (
252
- obj: CreateNotificationRuleRequest
253
- ) => any;
254
- export declare const DeleteTargetRequestFilterSensitiveLog: (
255
- obj: DeleteTargetRequest
256
- ) => any;
257
- export declare const TargetSummaryFilterSensitiveLog: (
258
- obj: TargetSummary
259
- ) => any;
260
- export declare const DescribeNotificationRuleResultFilterSensitiveLog: (
261
- obj: DescribeNotificationRuleResult
262
- ) => any;
263
- export declare const ListTargetsResultFilterSensitiveLog: (
264
- obj: ListTargetsResult
265
- ) => any;
266
- export declare const SubscribeRequestFilterSensitiveLog: (
267
- obj: SubscribeRequest
268
- ) => any;
269
- export declare const UnsubscribeRequestFilterSensitiveLog: (
270
- obj: UnsubscribeRequest
271
- ) => any;
272
- export declare const UpdateNotificationRuleRequestFilterSensitiveLog: (
273
- obj: UpdateNotificationRuleRequest
274
- ) => any;
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
40
40
  profile?: string;
41
41
  logger: import("@smithy/types").Logger;
42
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
43
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
44
48
  userAgentAppId?:
45
49
  | string