@aws-sdk/client-oam 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 (36) hide show
  1. package/dist-cjs/index.js +551 -732
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/OAMClient.js +2 -0
  4. package/dist-es/commands/CreateLinkCommand.js +3 -9
  5. package/dist-es/commands/CreateSinkCommand.js +3 -9
  6. package/dist-es/commands/DeleteLinkCommand.js +3 -9
  7. package/dist-es/commands/DeleteSinkCommand.js +3 -9
  8. package/dist-es/commands/GetLinkCommand.js +3 -9
  9. package/dist-es/commands/GetSinkCommand.js +3 -9
  10. package/dist-es/commands/GetSinkPolicyCommand.js +3 -9
  11. package/dist-es/commands/ListAttachedLinksCommand.js +3 -9
  12. package/dist-es/commands/ListLinksCommand.js +3 -9
  13. package/dist-es/commands/ListSinksCommand.js +3 -9
  14. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  15. package/dist-es/commands/PutSinkPolicyCommand.js +3 -9
  16. package/dist-es/commands/TagResourceCommand.js +3 -9
  17. package/dist-es/commands/UntagResourceCommand.js +3 -9
  18. package/dist-es/commands/UpdateLinkCommand.js +3 -9
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +504 -0
  21. package/dist-types/OAMClient.d.ts +10 -1
  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 +70 -0
  27. package/dist-types/ts3.4/OAMClient.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +75 -0
  33. package/package.json +5 -5
  34. package/dist-es/protocols/Aws_restJson1.js +0 -607
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -185
@@ -0,0 +1,504 @@
1
+ const _A = "Arn";
2
+ const _CE = "ConflictException";
3
+ const _CL = "CreateLink";
4
+ const _CLI = "CreateLinkInput";
5
+ const _CLO = "CreateLinkOutput";
6
+ const _CS = "CreateSink";
7
+ const _CSI = "CreateSinkInput";
8
+ const _CSO = "CreateSinkOutput";
9
+ const _DL = "DeleteLink";
10
+ const _DLI = "DeleteLinkInput";
11
+ const _DLO = "DeleteLinkOutput";
12
+ const _DS = "DeleteSink";
13
+ const _DSI = "DeleteSinkInput";
14
+ const _DSO = "DeleteSinkOutput";
15
+ const _F = "Filter";
16
+ const _GL = "GetLink";
17
+ const _GLI = "GetLinkInput";
18
+ const _GLO = "GetLinkOutput";
19
+ const _GS = "GetSink";
20
+ const _GSI = "GetSinkInput";
21
+ const _GSO = "GetSinkOutput";
22
+ const _GSP = "GetSinkPolicy";
23
+ const _GSPI = "GetSinkPolicyInput";
24
+ const _GSPO = "GetSinkPolicyOutput";
25
+ const _I = "Id";
26
+ const _IPE = "InvalidParameterException";
27
+ const _ISF = "InternalServiceFault";
28
+ const _IT = "IncludeTags";
29
+ const _Id = "Identifier";
30
+ const _It = "Items";
31
+ const _L = "Label";
32
+ const _LA = "LinkArn";
33
+ const _LAL = "ListAttachedLinks";
34
+ const _LALI = "ListAttachedLinksInput";
35
+ const _LALIi = "ListAttachedLinksItem";
36
+ const _LALIis = "ListAttachedLinksItems";
37
+ const _LALO = "ListAttachedLinksOutput";
38
+ const _LC = "LinkConfiguration";
39
+ const _LGC = "LogGroupConfiguration";
40
+ const _LL = "ListLinks";
41
+ const _LLI = "ListLinksInput";
42
+ const _LLIi = "ListLinksItem";
43
+ const _LLIis = "ListLinksItems";
44
+ const _LLO = "ListLinksOutput";
45
+ const _LS = "ListSinks";
46
+ const _LSI = "ListSinksInput";
47
+ const _LSIi = "ListSinksItem";
48
+ const _LSIis = "ListSinksItems";
49
+ const _LSO = "ListSinksOutput";
50
+ const _LT = "LabelTemplate";
51
+ const _LTFR = "ListTagsForResource";
52
+ const _LTFRI = "ListTagsForResourceInput";
53
+ const _LTFRO = "ListTagsForResourceOutput";
54
+ const _M = "Message";
55
+ const _MC = "MetricConfiguration";
56
+ const _MR = "MaxResults";
57
+ const _MRPE = "MissingRequiredParameterException";
58
+ const _N = "Name";
59
+ const _NT = "NextToken";
60
+ const _P = "Policy";
61
+ const _PSP = "PutSinkPolicy";
62
+ const _PSPI = "PutSinkPolicyInput";
63
+ const _PSPO = "PutSinkPolicyOutput";
64
+ const _RA = "ResourceArn";
65
+ const _RNFE = "ResourceNotFoundException";
66
+ const _RT = "ResourceTypes";
67
+ const _SA = "SinkArn";
68
+ const _SI = "SinkIdentifier";
69
+ const _SIi = "SinkId";
70
+ const _SQEE = "ServiceQuotaExceededException";
71
+ const _T = "Tags";
72
+ const _TK = "TagKeys";
73
+ const _TMTE = "TooManyTagsException";
74
+ const _TR = "TagResource";
75
+ const _TRI = "TagResourceInput";
76
+ const _TRO = "TagResourceOutput";
77
+ const _UL = "UpdateLink";
78
+ const _ULI = "UpdateLinkInput";
79
+ const _ULO = "UpdateLinkOutput";
80
+ const _UR = "UntagResource";
81
+ const _URI = "UntagResourceInput";
82
+ const _URO = "UntagResourceOutput";
83
+ const _VE = "ValidationException";
84
+ const _aET = "amznErrorType";
85
+ const _c = "client";
86
+ const _e = "error";
87
+ const _h = "http";
88
+ const _hE = "httpError";
89
+ const _hH = "httpHeader";
90
+ const _hQ = "httpQuery";
91
+ const _m = "message";
92
+ const _s = "server";
93
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.oam";
94
+ const _tK = "tagKeys";
95
+ const _xaE = "x-amzn-ErrorType";
96
+ const n0 = "com.amazonaws.oam";
97
+ import { TypeRegistry } from "@smithy/core/schema";
98
+ import { ConflictException as __ConflictException, InternalServiceFault as __InternalServiceFault, InvalidParameterException as __InvalidParameterException, MissingRequiredParameterException as __MissingRequiredParameterException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
99
+ import { OAMServiceException as __OAMServiceException } from "../models/OAMServiceException";
100
+ export var ConflictException = [
101
+ -3,
102
+ n0,
103
+ _CE,
104
+ {
105
+ [_e]: _c,
106
+ [_hE]: 409,
107
+ },
108
+ [_M, _aET],
109
+ [
110
+ 0,
111
+ [
112
+ 0,
113
+ {
114
+ [_hH]: _xaE,
115
+ },
116
+ ],
117
+ ],
118
+ ];
119
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
120
+ export var CreateLinkInput = [
121
+ 3,
122
+ n0,
123
+ _CLI,
124
+ 0,
125
+ [_LT, _RT, _SI, _T, _LC],
126
+ [0, 64 | 0, 0, 128 | 0, () => LinkConfiguration],
127
+ ];
128
+ export var CreateLinkOutput = [
129
+ 3,
130
+ n0,
131
+ _CLO,
132
+ 0,
133
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
134
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration],
135
+ ];
136
+ export var CreateSinkInput = [3, n0, _CSI, 0, [_N, _T], [0, 128 | 0]];
137
+ export var CreateSinkOutput = [3, n0, _CSO, 0, [_A, _I, _N, _T], [0, 0, 0, 128 | 0]];
138
+ export var DeleteLinkInput = [3, n0, _DLI, 0, [_Id], [0]];
139
+ export var DeleteLinkOutput = [3, n0, _DLO, 0, [], []];
140
+ export var DeleteSinkInput = [3, n0, _DSI, 0, [_Id], [0]];
141
+ export var DeleteSinkOutput = [3, n0, _DSO, 0, [], []];
142
+ export var GetLinkInput = [3, n0, _GLI, 0, [_Id, _IT], [0, 2]];
143
+ export var GetLinkOutput = [
144
+ 3,
145
+ n0,
146
+ _GLO,
147
+ 0,
148
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
149
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration],
150
+ ];
151
+ export var GetSinkInput = [3, n0, _GSI, 0, [_Id, _IT], [0, 2]];
152
+ export var GetSinkOutput = [3, n0, _GSO, 0, [_A, _I, _N, _T], [0, 0, 0, 128 | 0]];
153
+ export var GetSinkPolicyInput = [3, n0, _GSPI, 0, [_SI], [0]];
154
+ export var GetSinkPolicyOutput = [3, n0, _GSPO, 0, [_SA, _SIi, _P], [0, 0, 0]];
155
+ export var InternalServiceFault = [
156
+ -3,
157
+ n0,
158
+ _ISF,
159
+ {
160
+ [_e]: _s,
161
+ [_hE]: 500,
162
+ },
163
+ [_M, _aET],
164
+ [
165
+ 0,
166
+ [
167
+ 0,
168
+ {
169
+ [_hH]: _xaE,
170
+ },
171
+ ],
172
+ ],
173
+ ];
174
+ TypeRegistry.for(n0).registerError(InternalServiceFault, __InternalServiceFault);
175
+ export var InvalidParameterException = [
176
+ -3,
177
+ n0,
178
+ _IPE,
179
+ {
180
+ [_e]: _c,
181
+ [_hE]: 400,
182
+ },
183
+ [_m, _aET],
184
+ [
185
+ 0,
186
+ [
187
+ 0,
188
+ {
189
+ [_hH]: _xaE,
190
+ },
191
+ ],
192
+ ],
193
+ ];
194
+ TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
195
+ export var LinkConfiguration = [
196
+ 3,
197
+ n0,
198
+ _LC,
199
+ 0,
200
+ [_LGC, _MC],
201
+ [() => LogGroupConfiguration, () => MetricConfiguration],
202
+ ];
203
+ export var ListAttachedLinksInput = [3, n0, _LALI, 0, [_MR, _NT, _SI], [1, 0, 0]];
204
+ export var ListAttachedLinksItem = [3, n0, _LALIi, 0, [_L, _LA, _RT], [0, 0, 64 | 0]];
205
+ export var ListAttachedLinksOutput = [
206
+ 3,
207
+ n0,
208
+ _LALO,
209
+ 0,
210
+ [_It, _NT],
211
+ [() => ListAttachedLinksItems, 0],
212
+ ];
213
+ export var ListLinksInput = [3, n0, _LLI, 0, [_MR, _NT], [1, 0]];
214
+ export var ListLinksItem = [3, n0, _LLIi, 0, [_A, _I, _L, _RT, _SA], [0, 0, 0, 64 | 0, 0]];
215
+ export var ListLinksOutput = [3, n0, _LLO, 0, [_It, _NT], [() => ListLinksItems, 0]];
216
+ export var ListSinksInput = [3, n0, _LSI, 0, [_MR, _NT], [1, 0]];
217
+ export var ListSinksItem = [3, n0, _LSIi, 0, [_A, _I, _N], [0, 0, 0]];
218
+ export var ListSinksOutput = [3, n0, _LSO, 0, [_It, _NT], [() => ListSinksItems, 0]];
219
+ export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RA], [[0, 1]]];
220
+ export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [128 | 0]];
221
+ export var LogGroupConfiguration = [3, n0, _LGC, 0, [_F], [0]];
222
+ export var MetricConfiguration = [3, n0, _MC, 0, [_F], [0]];
223
+ export var MissingRequiredParameterException = [
224
+ -3,
225
+ n0,
226
+ _MRPE,
227
+ {
228
+ [_e]: _c,
229
+ [_hE]: 400,
230
+ },
231
+ [_m, _aET],
232
+ [
233
+ 0,
234
+ [
235
+ 0,
236
+ {
237
+ [_hH]: _xaE,
238
+ },
239
+ ],
240
+ ],
241
+ ];
242
+ TypeRegistry.for(n0).registerError(MissingRequiredParameterException, __MissingRequiredParameterException);
243
+ export var PutSinkPolicyInput = [3, n0, _PSPI, 0, [_SI, _P], [0, 0]];
244
+ export var PutSinkPolicyOutput = [3, n0, _PSPO, 0, [_SA, _SIi, _P], [0, 0, 0]];
245
+ export var ResourceNotFoundException = [
246
+ -3,
247
+ n0,
248
+ _RNFE,
249
+ {
250
+ [_e]: _c,
251
+ [_hE]: 404,
252
+ },
253
+ [_M, _aET],
254
+ [
255
+ 0,
256
+ [
257
+ 0,
258
+ {
259
+ [_hH]: _xaE,
260
+ },
261
+ ],
262
+ ],
263
+ ];
264
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
265
+ export var ServiceQuotaExceededException = [
266
+ -3,
267
+ n0,
268
+ _SQEE,
269
+ {
270
+ [_e]: _c,
271
+ [_hE]: 429,
272
+ },
273
+ [_M, _aET],
274
+ [
275
+ 0,
276
+ [
277
+ 0,
278
+ {
279
+ [_hH]: _xaE,
280
+ },
281
+ ],
282
+ ],
283
+ ];
284
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
285
+ export var TagResourceInput = [3, n0, _TRI, 0, [_RA, _T], [[0, 1], 128 | 0]];
286
+ export var TagResourceOutput = [3, n0, _TRO, 0, [], []];
287
+ export var TooManyTagsException = [
288
+ -3,
289
+ n0,
290
+ _TMTE,
291
+ {
292
+ [_e]: _c,
293
+ [_hE]: 400,
294
+ },
295
+ [_M],
296
+ [0],
297
+ ];
298
+ TypeRegistry.for(n0).registerError(TooManyTagsException, __TooManyTagsException);
299
+ export var UntagResourceInput = [
300
+ 3,
301
+ n0,
302
+ _URI,
303
+ 0,
304
+ [_RA, _TK],
305
+ [
306
+ [0, 1],
307
+ [
308
+ 64 | 0,
309
+ {
310
+ [_hQ]: _tK,
311
+ },
312
+ ],
313
+ ],
314
+ ];
315
+ export var UntagResourceOutput = [3, n0, _URO, 0, [], []];
316
+ export var UpdateLinkInput = [
317
+ 3,
318
+ n0,
319
+ _ULI,
320
+ 0,
321
+ [_Id, _RT, _LC, _IT],
322
+ [0, 64 | 0, () => LinkConfiguration, 2],
323
+ ];
324
+ export var UpdateLinkOutput = [
325
+ 3,
326
+ n0,
327
+ _ULO,
328
+ 0,
329
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
330
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration],
331
+ ];
332
+ export var ValidationException = [
333
+ -3,
334
+ n0,
335
+ _VE,
336
+ {
337
+ [_e]: _c,
338
+ [_hE]: 400,
339
+ },
340
+ [_M],
341
+ [0],
342
+ ];
343
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
344
+ export var __Unit = "unit";
345
+ export var OAMServiceException = [-3, _sm, "OAMServiceException", 0, [], []];
346
+ TypeRegistry.for(_sm).registerError(OAMServiceException, __OAMServiceException);
347
+ export var ListAttachedLinksItems = [1, n0, _LALIis, 0, () => ListAttachedLinksItem];
348
+ export var ListLinksItems = [1, n0, _LLIis, 0, () => ListLinksItem];
349
+ export var ListSinksItems = [1, n0, _LSIis, 0, () => ListSinksItem];
350
+ export var ResourceTypesInput = 64 | 0;
351
+ export var ResourceTypesOutput = 64 | 0;
352
+ export var TagKeys = 64 | 0;
353
+ export var TagMapInput = 128 | 0;
354
+ export var TagMapOutput = 128 | 0;
355
+ export var CreateLink = [
356
+ 9,
357
+ n0,
358
+ _CL,
359
+ {
360
+ [_h]: ["POST", "/CreateLink", 200],
361
+ },
362
+ () => CreateLinkInput,
363
+ () => CreateLinkOutput,
364
+ ];
365
+ export var CreateSink = [
366
+ 9,
367
+ n0,
368
+ _CS,
369
+ {
370
+ [_h]: ["POST", "/CreateSink", 200],
371
+ },
372
+ () => CreateSinkInput,
373
+ () => CreateSinkOutput,
374
+ ];
375
+ export var DeleteLink = [
376
+ 9,
377
+ n0,
378
+ _DL,
379
+ {
380
+ [_h]: ["POST", "/DeleteLink", 200],
381
+ },
382
+ () => DeleteLinkInput,
383
+ () => DeleteLinkOutput,
384
+ ];
385
+ export var DeleteSink = [
386
+ 9,
387
+ n0,
388
+ _DS,
389
+ {
390
+ [_h]: ["POST", "/DeleteSink", 200],
391
+ },
392
+ () => DeleteSinkInput,
393
+ () => DeleteSinkOutput,
394
+ ];
395
+ export var GetLink = [
396
+ 9,
397
+ n0,
398
+ _GL,
399
+ {
400
+ [_h]: ["POST", "/GetLink", 200],
401
+ },
402
+ () => GetLinkInput,
403
+ () => GetLinkOutput,
404
+ ];
405
+ export var GetSink = [
406
+ 9,
407
+ n0,
408
+ _GS,
409
+ {
410
+ [_h]: ["POST", "/GetSink", 200],
411
+ },
412
+ () => GetSinkInput,
413
+ () => GetSinkOutput,
414
+ ];
415
+ export var GetSinkPolicy = [
416
+ 9,
417
+ n0,
418
+ _GSP,
419
+ {
420
+ [_h]: ["POST", "/GetSinkPolicy", 200],
421
+ },
422
+ () => GetSinkPolicyInput,
423
+ () => GetSinkPolicyOutput,
424
+ ];
425
+ export var ListAttachedLinks = [
426
+ 9,
427
+ n0,
428
+ _LAL,
429
+ {
430
+ [_h]: ["POST", "/ListAttachedLinks", 200],
431
+ },
432
+ () => ListAttachedLinksInput,
433
+ () => ListAttachedLinksOutput,
434
+ ];
435
+ export var ListLinks = [
436
+ 9,
437
+ n0,
438
+ _LL,
439
+ {
440
+ [_h]: ["POST", "/ListLinks", 200],
441
+ },
442
+ () => ListLinksInput,
443
+ () => ListLinksOutput,
444
+ ];
445
+ export var ListSinks = [
446
+ 9,
447
+ n0,
448
+ _LS,
449
+ {
450
+ [_h]: ["POST", "/ListSinks", 200],
451
+ },
452
+ () => ListSinksInput,
453
+ () => ListSinksOutput,
454
+ ];
455
+ export var ListTagsForResource = [
456
+ 9,
457
+ n0,
458
+ _LTFR,
459
+ {
460
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
461
+ },
462
+ () => ListTagsForResourceInput,
463
+ () => ListTagsForResourceOutput,
464
+ ];
465
+ export var PutSinkPolicy = [
466
+ 9,
467
+ n0,
468
+ _PSP,
469
+ {
470
+ [_h]: ["POST", "/PutSinkPolicy", 200],
471
+ },
472
+ () => PutSinkPolicyInput,
473
+ () => PutSinkPolicyOutput,
474
+ ];
475
+ export var TagResource = [
476
+ 9,
477
+ n0,
478
+ _TR,
479
+ {
480
+ [_h]: ["PUT", "/tags/{ResourceArn}", 200],
481
+ },
482
+ () => TagResourceInput,
483
+ () => TagResourceOutput,
484
+ ];
485
+ export var UntagResource = [
486
+ 9,
487
+ n0,
488
+ _UR,
489
+ {
490
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
491
+ },
492
+ () => UntagResourceInput,
493
+ () => UntagResourceOutput,
494
+ ];
495
+ export var UpdateLink = [
496
+ 9,
497
+ n0,
498
+ _UL,
499
+ {
500
+ [_h]: ["POST", "/UpdateLink", 200],
501
+ },
502
+ () => UpdateLinkInput,
503
+ () => UpdateLinkOutput,
504
+ ];
@@ -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 { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
11
11
  import { CreateSinkCommandInput, CreateSinkCommandOutput } from "./commands/CreateSinkCommand";
@@ -156,6 +156,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
156
156
  * Optional extensions
157
157
  */
158
158
  extensions?: RuntimeExtension[];
159
+ /**
160
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
161
+ * may be overridden. A default will always be set by the client.
162
+ * Available options depend on the service's supported protocols and will not be validated by
163
+ * the client.
164
+ * @alpha
165
+ *
166
+ */
167
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
159
168
  /**
160
169
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
161
170
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
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: OAMClientConfig) => {
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: OAMClientConfig) => {
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: OAMClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OAMHttpAuthSchemeProvider;
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,70 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ConflictException: StaticErrorSchema;
3
+ export declare var CreateLinkInput: StaticStructureSchema;
4
+ export declare var CreateLinkOutput: StaticStructureSchema;
5
+ export declare var CreateSinkInput: StaticStructureSchema;
6
+ export declare var CreateSinkOutput: StaticStructureSchema;
7
+ export declare var DeleteLinkInput: StaticStructureSchema;
8
+ export declare var DeleteLinkOutput: StaticStructureSchema;
9
+ export declare var DeleteSinkInput: StaticStructureSchema;
10
+ export declare var DeleteSinkOutput: StaticStructureSchema;
11
+ export declare var GetLinkInput: StaticStructureSchema;
12
+ export declare var GetLinkOutput: StaticStructureSchema;
13
+ export declare var GetSinkInput: StaticStructureSchema;
14
+ export declare var GetSinkOutput: StaticStructureSchema;
15
+ export declare var GetSinkPolicyInput: StaticStructureSchema;
16
+ export declare var GetSinkPolicyOutput: StaticStructureSchema;
17
+ export declare var InternalServiceFault: StaticErrorSchema;
18
+ export declare var InvalidParameterException: StaticErrorSchema;
19
+ export declare var LinkConfiguration: StaticStructureSchema;
20
+ export declare var ListAttachedLinksInput: StaticStructureSchema;
21
+ export declare var ListAttachedLinksItem: StaticStructureSchema;
22
+ export declare var ListAttachedLinksOutput: StaticStructureSchema;
23
+ export declare var ListLinksInput: StaticStructureSchema;
24
+ export declare var ListLinksItem: StaticStructureSchema;
25
+ export declare var ListLinksOutput: StaticStructureSchema;
26
+ export declare var ListSinksInput: StaticStructureSchema;
27
+ export declare var ListSinksItem: StaticStructureSchema;
28
+ export declare var ListSinksOutput: StaticStructureSchema;
29
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
30
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
31
+ export declare var LogGroupConfiguration: StaticStructureSchema;
32
+ export declare var MetricConfiguration: StaticStructureSchema;
33
+ export declare var MissingRequiredParameterException: StaticErrorSchema;
34
+ export declare var PutSinkPolicyInput: StaticStructureSchema;
35
+ export declare var PutSinkPolicyOutput: StaticStructureSchema;
36
+ export declare var ResourceNotFoundException: StaticErrorSchema;
37
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
38
+ export declare var TagResourceInput: StaticStructureSchema;
39
+ export declare var TagResourceOutput: StaticStructureSchema;
40
+ export declare var TooManyTagsException: StaticErrorSchema;
41
+ export declare var UntagResourceInput: StaticStructureSchema;
42
+ export declare var UntagResourceOutput: StaticStructureSchema;
43
+ export declare var UpdateLinkInput: StaticStructureSchema;
44
+ export declare var UpdateLinkOutput: StaticStructureSchema;
45
+ export declare var ValidationException: StaticErrorSchema;
46
+ export declare var __Unit: "unit";
47
+ export declare var OAMServiceException: StaticErrorSchema;
48
+ export declare var ListAttachedLinksItems: StaticListSchema;
49
+ export declare var ListLinksItems: StaticListSchema;
50
+ export declare var ListSinksItems: StaticListSchema;
51
+ export declare var ResourceTypesInput: number;
52
+ export declare var ResourceTypesOutput: number;
53
+ export declare var TagKeys: number;
54
+ export declare var TagMapInput: number;
55
+ export declare var TagMapOutput: number;
56
+ export declare var CreateLink: StaticOperationSchema;
57
+ export declare var CreateSink: StaticOperationSchema;
58
+ export declare var DeleteLink: StaticOperationSchema;
59
+ export declare var DeleteSink: StaticOperationSchema;
60
+ export declare var GetLink: StaticOperationSchema;
61
+ export declare var GetSink: StaticOperationSchema;
62
+ export declare var GetSinkPolicy: StaticOperationSchema;
63
+ export declare var ListAttachedLinks: StaticOperationSchema;
64
+ export declare var ListLinks: StaticOperationSchema;
65
+ export declare var ListSinks: StaticOperationSchema;
66
+ export declare var ListTagsForResource: StaticOperationSchema;
67
+ export declare var PutSinkPolicy: StaticOperationSchema;
68
+ export declare var TagResource: StaticOperationSchema;
69
+ export declare var UntagResource: StaticOperationSchema;
70
+ export declare var UpdateLink: 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,
@@ -168,6 +171,7 @@ export interface ClientDefaults
168
171
  retryMode?: string | __Provider<string>;
169
172
  logger?: __Logger;
170
173
  extensions?: RuntimeExtension[];
174
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
171
175
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
172
176
  }
173
177
  export type OAMClientConfigType = Partial<
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<