@aws-sdk/client-oam 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OAMServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class OAMServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, OAMServiceException.prototype);
10
+ }
11
+ }
12
+ exports.OAMServiceException = OAMServiceException;
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TooManyTagsException = exports.ValidationException = exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.MissingRequiredParameterException = exports.InvalidParameterException = exports.InternalServiceFault = exports.ConflictException = void 0;
4
+ const OAMServiceException_1 = require("./OAMServiceException");
5
+ class ConflictException extends OAMServiceException_1.OAMServiceException {
6
+ name = "ConflictException";
7
+ $fault = "client";
8
+ Message;
9
+ amznErrorType;
10
+ constructor(opts) {
11
+ super({
12
+ name: "ConflictException",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ Object.setPrototypeOf(this, ConflictException.prototype);
17
+ this.Message = opts.Message;
18
+ this.amznErrorType = opts.amznErrorType;
19
+ }
20
+ }
21
+ exports.ConflictException = ConflictException;
22
+ class InternalServiceFault extends OAMServiceException_1.OAMServiceException {
23
+ name = "InternalServiceFault";
24
+ $fault = "server";
25
+ Message;
26
+ amznErrorType;
27
+ constructor(opts) {
28
+ super({
29
+ name: "InternalServiceFault",
30
+ $fault: "server",
31
+ ...opts,
32
+ });
33
+ Object.setPrototypeOf(this, InternalServiceFault.prototype);
34
+ this.Message = opts.Message;
35
+ this.amznErrorType = opts.amznErrorType;
36
+ }
37
+ }
38
+ exports.InternalServiceFault = InternalServiceFault;
39
+ class InvalidParameterException extends OAMServiceException_1.OAMServiceException {
40
+ name = "InvalidParameterException";
41
+ $fault = "client";
42
+ amznErrorType;
43
+ constructor(opts) {
44
+ super({
45
+ name: "InvalidParameterException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
50
+ this.amznErrorType = opts.amznErrorType;
51
+ }
52
+ }
53
+ exports.InvalidParameterException = InvalidParameterException;
54
+ class MissingRequiredParameterException extends OAMServiceException_1.OAMServiceException {
55
+ name = "MissingRequiredParameterException";
56
+ $fault = "client";
57
+ amznErrorType;
58
+ constructor(opts) {
59
+ super({
60
+ name: "MissingRequiredParameterException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
65
+ this.amznErrorType = opts.amznErrorType;
66
+ }
67
+ }
68
+ exports.MissingRequiredParameterException = MissingRequiredParameterException;
69
+ class ServiceQuotaExceededException extends OAMServiceException_1.OAMServiceException {
70
+ name = "ServiceQuotaExceededException";
71
+ $fault = "client";
72
+ Message;
73
+ amznErrorType;
74
+ constructor(opts) {
75
+ super({
76
+ name: "ServiceQuotaExceededException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
81
+ this.Message = opts.Message;
82
+ this.amznErrorType = opts.amznErrorType;
83
+ }
84
+ }
85
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
86
+ class ResourceNotFoundException extends OAMServiceException_1.OAMServiceException {
87
+ name = "ResourceNotFoundException";
88
+ $fault = "client";
89
+ Message;
90
+ amznErrorType;
91
+ constructor(opts) {
92
+ super({
93
+ name: "ResourceNotFoundException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
98
+ this.Message = opts.Message;
99
+ this.amznErrorType = opts.amznErrorType;
100
+ }
101
+ }
102
+ exports.ResourceNotFoundException = ResourceNotFoundException;
103
+ class ValidationException extends OAMServiceException_1.OAMServiceException {
104
+ name = "ValidationException";
105
+ $fault = "client";
106
+ Message;
107
+ constructor(opts) {
108
+ super({
109
+ name: "ValidationException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ Object.setPrototypeOf(this, ValidationException.prototype);
114
+ this.Message = opts.Message;
115
+ }
116
+ }
117
+ exports.ValidationException = ValidationException;
118
+ class TooManyTagsException extends OAMServiceException_1.OAMServiceException {
119
+ name = "TooManyTagsException";
120
+ $fault = "client";
121
+ Message;
122
+ constructor(opts) {
123
+ super({
124
+ name: "TooManyTagsException",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
129
+ this.Message = opts.Message;
130
+ }
131
+ }
132
+ exports.TooManyTagsException = TooManyTagsException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2022-06-10",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.oam",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2022-06-10",
33
35
  serviceTarget: "oamservice",
34
36
  },
@@ -0,0 +1,398 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteSink$ = exports.DeleteLink$ = exports.CreateSink$ = exports.CreateLink$ = exports.UpdateLinkOutput$ = exports.UpdateLinkInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.PutSinkPolicyOutput$ = exports.PutSinkPolicyInput$ = exports.MetricConfiguration$ = exports.LogGroupConfiguration$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListSinksOutput$ = exports.ListSinksItem$ = exports.ListSinksInput$ = exports.ListLinksOutput$ = exports.ListLinksItem$ = exports.ListLinksInput$ = exports.ListAttachedLinksOutput$ = exports.ListAttachedLinksItem$ = exports.ListAttachedLinksInput$ = exports.LinkConfiguration$ = exports.GetSinkPolicyOutput$ = exports.GetSinkPolicyInput$ = exports.GetSinkOutput$ = exports.GetSinkInput$ = exports.GetLinkOutput$ = exports.GetLinkInput$ = exports.DeleteSinkOutput$ = exports.DeleteSinkInput$ = exports.DeleteLinkOutput$ = exports.DeleteLinkInput$ = exports.CreateSinkOutput$ = exports.CreateSinkInput$ = exports.CreateLinkOutput$ = exports.CreateLinkInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.MissingRequiredParameterException$ = exports.InvalidParameterException$ = exports.InternalServiceFault$ = exports.ConflictException$ = exports.OAMServiceException$ = void 0;
4
+ exports.UpdateLink$ = exports.UntagResource$ = exports.TagResource$ = exports.PutSinkPolicy$ = exports.ListTagsForResource$ = exports.ListSinks$ = exports.ListLinks$ = exports.ListAttachedLinks$ = exports.GetSinkPolicy$ = exports.GetSink$ = exports.GetLink$ = void 0;
5
+ const _A = "Arn";
6
+ const _CE = "ConflictException";
7
+ const _CL = "CreateLink";
8
+ const _CLI = "CreateLinkInput";
9
+ const _CLO = "CreateLinkOutput";
10
+ const _CS = "CreateSink";
11
+ const _CSI = "CreateSinkInput";
12
+ const _CSO = "CreateSinkOutput";
13
+ const _DL = "DeleteLink";
14
+ const _DLI = "DeleteLinkInput";
15
+ const _DLO = "DeleteLinkOutput";
16
+ const _DS = "DeleteSink";
17
+ const _DSI = "DeleteSinkInput";
18
+ const _DSO = "DeleteSinkOutput";
19
+ const _F = "Filter";
20
+ const _GL = "GetLink";
21
+ const _GLI = "GetLinkInput";
22
+ const _GLO = "GetLinkOutput";
23
+ const _GS = "GetSink";
24
+ const _GSI = "GetSinkInput";
25
+ const _GSO = "GetSinkOutput";
26
+ const _GSP = "GetSinkPolicy";
27
+ const _GSPI = "GetSinkPolicyInput";
28
+ const _GSPO = "GetSinkPolicyOutput";
29
+ const _I = "Id";
30
+ const _IPE = "InvalidParameterException";
31
+ const _ISF = "InternalServiceFault";
32
+ const _IT = "IncludeTags";
33
+ const _Id = "Identifier";
34
+ const _It = "Items";
35
+ const _L = "Label";
36
+ const _LA = "LinkArn";
37
+ const _LAL = "ListAttachedLinks";
38
+ const _LALI = "ListAttachedLinksInput";
39
+ const _LALIi = "ListAttachedLinksItem";
40
+ const _LALIis = "ListAttachedLinksItems";
41
+ const _LALO = "ListAttachedLinksOutput";
42
+ const _LC = "LinkConfiguration";
43
+ const _LGC = "LogGroupConfiguration";
44
+ const _LL = "ListLinks";
45
+ const _LLI = "ListLinksInput";
46
+ const _LLIi = "ListLinksItem";
47
+ const _LLIis = "ListLinksItems";
48
+ const _LLO = "ListLinksOutput";
49
+ const _LS = "ListSinks";
50
+ const _LSI = "ListSinksInput";
51
+ const _LSIi = "ListSinksItem";
52
+ const _LSIis = "ListSinksItems";
53
+ const _LSO = "ListSinksOutput";
54
+ const _LT = "LabelTemplate";
55
+ const _LTFR = "ListTagsForResource";
56
+ const _LTFRI = "ListTagsForResourceInput";
57
+ const _LTFRO = "ListTagsForResourceOutput";
58
+ const _M = "Message";
59
+ const _MC = "MetricConfiguration";
60
+ const _MR = "MaxResults";
61
+ const _MRPE = "MissingRequiredParameterException";
62
+ const _N = "Name";
63
+ const _NT = "NextToken";
64
+ const _P = "Policy";
65
+ const _PSP = "PutSinkPolicy";
66
+ const _PSPI = "PutSinkPolicyInput";
67
+ const _PSPO = "PutSinkPolicyOutput";
68
+ const _RA = "ResourceArn";
69
+ const _RNFE = "ResourceNotFoundException";
70
+ const _RT = "ResourceTypes";
71
+ const _SA = "SinkArn";
72
+ const _SI = "SinkIdentifier";
73
+ const _SIi = "SinkId";
74
+ const _SQEE = "ServiceQuotaExceededException";
75
+ const _T = "Tags";
76
+ const _TK = "TagKeys";
77
+ const _TMTE = "TooManyTagsException";
78
+ const _TR = "TagResource";
79
+ const _TRI = "TagResourceInput";
80
+ const _TRO = "TagResourceOutput";
81
+ const _UL = "UpdateLink";
82
+ const _ULI = "UpdateLinkInput";
83
+ const _ULO = "UpdateLinkOutput";
84
+ const _UR = "UntagResource";
85
+ const _URI = "UntagResourceInput";
86
+ const _URO = "UntagResourceOutput";
87
+ const _VE = "ValidationException";
88
+ const _aET = "amznErrorType";
89
+ const _c = "client";
90
+ const _e = "error";
91
+ const _h = "http";
92
+ const _hE = "httpError";
93
+ const _hH = "httpHeader";
94
+ const _hQ = "httpQuery";
95
+ const _m = "message";
96
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.oam";
97
+ const _se = "server";
98
+ const _tK = "tagKeys";
99
+ const _xaE = "x-amzn-ErrorType";
100
+ const n0 = "com.amazonaws.oam";
101
+ const schema_1 = require("@smithy/core/schema");
102
+ const errors_1 = require("../models/errors");
103
+ const OAMServiceException_1 = require("../models/OAMServiceException");
104
+ const _s_registry = schema_1.TypeRegistry.for(_s);
105
+ exports.OAMServiceException$ = [-3, _s, "OAMServiceException", 0, [], []];
106
+ _s_registry.registerError(exports.OAMServiceException$, OAMServiceException_1.OAMServiceException);
107
+ const n0_registry = schema_1.TypeRegistry.for(n0);
108
+ exports.ConflictException$ = [-3, n0, _CE,
109
+ { [_e]: _c, [_hE]: 409 },
110
+ [_M, _aET],
111
+ [0, [0, { [_hH]: _xaE }]]
112
+ ];
113
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
114
+ exports.InternalServiceFault$ = [-3, n0, _ISF,
115
+ { [_e]: _se, [_hE]: 500 },
116
+ [_M, _aET],
117
+ [0, [0, { [_hH]: _xaE }]]
118
+ ];
119
+ n0_registry.registerError(exports.InternalServiceFault$, errors_1.InternalServiceFault);
120
+ exports.InvalidParameterException$ = [-3, n0, _IPE,
121
+ { [_e]: _c, [_hE]: 400 },
122
+ [_m, _aET],
123
+ [0, [0, { [_hH]: _xaE }]]
124
+ ];
125
+ n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
126
+ exports.MissingRequiredParameterException$ = [-3, n0, _MRPE,
127
+ { [_e]: _c, [_hE]: 400 },
128
+ [_m, _aET],
129
+ [0, [0, { [_hH]: _xaE }]]
130
+ ];
131
+ n0_registry.registerError(exports.MissingRequiredParameterException$, errors_1.MissingRequiredParameterException);
132
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
133
+ { [_e]: _c, [_hE]: 404 },
134
+ [_M, _aET],
135
+ [0, [0, { [_hH]: _xaE }]]
136
+ ];
137
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
138
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
139
+ { [_e]: _c, [_hE]: 429 },
140
+ [_M, _aET],
141
+ [0, [0, { [_hH]: _xaE }]]
142
+ ];
143
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
144
+ exports.TooManyTagsException$ = [-3, n0, _TMTE,
145
+ { [_e]: _c, [_hE]: 400 },
146
+ [_M],
147
+ [0]
148
+ ];
149
+ n0_registry.registerError(exports.TooManyTagsException$, errors_1.TooManyTagsException);
150
+ exports.ValidationException$ = [-3, n0, _VE,
151
+ { [_e]: _c, [_hE]: 400 },
152
+ [_M],
153
+ [0]
154
+ ];
155
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
156
+ exports.errorTypeRegistries = [
157
+ _s_registry,
158
+ n0_registry,
159
+ ];
160
+ exports.CreateLinkInput$ = [3, n0, _CLI,
161
+ 0,
162
+ [_LT, _RT, _SI, _T, _LC],
163
+ [0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$], 3
164
+ ];
165
+ exports.CreateLinkOutput$ = [3, n0, _CLO,
166
+ 0,
167
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
168
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
169
+ ];
170
+ exports.CreateSinkInput$ = [3, n0, _CSI,
171
+ 0,
172
+ [_N, _T],
173
+ [0, 128 | 0], 1
174
+ ];
175
+ exports.CreateSinkOutput$ = [3, n0, _CSO,
176
+ 0,
177
+ [_A, _I, _N, _T],
178
+ [0, 0, 0, 128 | 0]
179
+ ];
180
+ exports.DeleteLinkInput$ = [3, n0, _DLI,
181
+ 0,
182
+ [_Id],
183
+ [0], 1
184
+ ];
185
+ exports.DeleteLinkOutput$ = [3, n0, _DLO,
186
+ 0,
187
+ [],
188
+ []
189
+ ];
190
+ exports.DeleteSinkInput$ = [3, n0, _DSI,
191
+ 0,
192
+ [_Id],
193
+ [0], 1
194
+ ];
195
+ exports.DeleteSinkOutput$ = [3, n0, _DSO,
196
+ 0,
197
+ [],
198
+ []
199
+ ];
200
+ exports.GetLinkInput$ = [3, n0, _GLI,
201
+ 0,
202
+ [_Id, _IT],
203
+ [0, 2], 1
204
+ ];
205
+ exports.GetLinkOutput$ = [3, n0, _GLO,
206
+ 0,
207
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
208
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
209
+ ];
210
+ exports.GetSinkInput$ = [3, n0, _GSI,
211
+ 0,
212
+ [_Id, _IT],
213
+ [0, 2], 1
214
+ ];
215
+ exports.GetSinkOutput$ = [3, n0, _GSO,
216
+ 0,
217
+ [_A, _I, _N, _T],
218
+ [0, 0, 0, 128 | 0]
219
+ ];
220
+ exports.GetSinkPolicyInput$ = [3, n0, _GSPI,
221
+ 0,
222
+ [_SI],
223
+ [0], 1
224
+ ];
225
+ exports.GetSinkPolicyOutput$ = [3, n0, _GSPO,
226
+ 0,
227
+ [_SA, _SIi, _P],
228
+ [0, 0, 0]
229
+ ];
230
+ exports.LinkConfiguration$ = [3, n0, _LC,
231
+ 0,
232
+ [_LGC, _MC],
233
+ [() => exports.LogGroupConfiguration$, () => exports.MetricConfiguration$]
234
+ ];
235
+ exports.ListAttachedLinksInput$ = [3, n0, _LALI,
236
+ 0,
237
+ [_SI, _MR, _NT],
238
+ [0, 1, 0], 1
239
+ ];
240
+ exports.ListAttachedLinksItem$ = [3, n0, _LALIi,
241
+ 0,
242
+ [_L, _LA, _RT],
243
+ [0, 0, 64 | 0]
244
+ ];
245
+ exports.ListAttachedLinksOutput$ = [3, n0, _LALO,
246
+ 0,
247
+ [_It, _NT],
248
+ [() => ListAttachedLinksItems, 0], 1
249
+ ];
250
+ exports.ListLinksInput$ = [3, n0, _LLI,
251
+ 0,
252
+ [_MR, _NT],
253
+ [1, 0]
254
+ ];
255
+ exports.ListLinksItem$ = [3, n0, _LLIi,
256
+ 0,
257
+ [_A, _I, _L, _RT, _SA],
258
+ [0, 0, 0, 64 | 0, 0]
259
+ ];
260
+ exports.ListLinksOutput$ = [3, n0, _LLO,
261
+ 0,
262
+ [_It, _NT],
263
+ [() => ListLinksItems, 0], 1
264
+ ];
265
+ exports.ListSinksInput$ = [3, n0, _LSI,
266
+ 0,
267
+ [_MR, _NT],
268
+ [1, 0]
269
+ ];
270
+ exports.ListSinksItem$ = [3, n0, _LSIi,
271
+ 0,
272
+ [_A, _I, _N],
273
+ [0, 0, 0]
274
+ ];
275
+ exports.ListSinksOutput$ = [3, n0, _LSO,
276
+ 0,
277
+ [_It, _NT],
278
+ [() => ListSinksItems, 0], 1
279
+ ];
280
+ exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
281
+ 0,
282
+ [_RA],
283
+ [[0, 1]], 1
284
+ ];
285
+ exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
286
+ 0,
287
+ [_T],
288
+ [128 | 0]
289
+ ];
290
+ exports.LogGroupConfiguration$ = [3, n0, _LGC,
291
+ 0,
292
+ [_F],
293
+ [0], 1
294
+ ];
295
+ exports.MetricConfiguration$ = [3, n0, _MC,
296
+ 0,
297
+ [_F],
298
+ [0], 1
299
+ ];
300
+ exports.PutSinkPolicyInput$ = [3, n0, _PSPI,
301
+ 0,
302
+ [_SI, _P],
303
+ [0, 0], 2
304
+ ];
305
+ exports.PutSinkPolicyOutput$ = [3, n0, _PSPO,
306
+ 0,
307
+ [_SA, _SIi, _P],
308
+ [0, 0, 0]
309
+ ];
310
+ exports.TagResourceInput$ = [3, n0, _TRI,
311
+ 0,
312
+ [_RA, _T],
313
+ [[0, 1], 128 | 0], 2
314
+ ];
315
+ exports.TagResourceOutput$ = [3, n0, _TRO,
316
+ 0,
317
+ [],
318
+ []
319
+ ];
320
+ exports.UntagResourceInput$ = [3, n0, _URI,
321
+ 0,
322
+ [_RA, _TK],
323
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
324
+ ];
325
+ exports.UntagResourceOutput$ = [3, n0, _URO,
326
+ 0,
327
+ [],
328
+ []
329
+ ];
330
+ exports.UpdateLinkInput$ = [3, n0, _ULI,
331
+ 0,
332
+ [_Id, _RT, _LC, _IT],
333
+ [0, 64 | 0, () => exports.LinkConfiguration$, 2], 2
334
+ ];
335
+ exports.UpdateLinkOutput$ = [3, n0, _ULO,
336
+ 0,
337
+ [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
338
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
339
+ ];
340
+ var ListAttachedLinksItems = [1, n0, _LALIis,
341
+ 0, () => exports.ListAttachedLinksItem$
342
+ ];
343
+ var ListLinksItems = [1, n0, _LLIis,
344
+ 0, () => exports.ListLinksItem$
345
+ ];
346
+ var ListSinksItems = [1, n0, _LSIis,
347
+ 0, () => exports.ListSinksItem$
348
+ ];
349
+ var ResourceTypesInput = 64 | 0;
350
+ var ResourceTypesOutput = 64 | 0;
351
+ var TagKeys = 64 | 0;
352
+ var TagMapInput = 128 | 0;
353
+ var TagMapOutput = 128 | 0;
354
+ exports.CreateLink$ = [9, n0, _CL,
355
+ { [_h]: ["POST", "/CreateLink", 200] }, () => exports.CreateLinkInput$, () => exports.CreateLinkOutput$
356
+ ];
357
+ exports.CreateSink$ = [9, n0, _CS,
358
+ { [_h]: ["POST", "/CreateSink", 200] }, () => exports.CreateSinkInput$, () => exports.CreateSinkOutput$
359
+ ];
360
+ exports.DeleteLink$ = [9, n0, _DL,
361
+ { [_h]: ["POST", "/DeleteLink", 200] }, () => exports.DeleteLinkInput$, () => exports.DeleteLinkOutput$
362
+ ];
363
+ exports.DeleteSink$ = [9, n0, _DS,
364
+ { [_h]: ["POST", "/DeleteSink", 200] }, () => exports.DeleteSinkInput$, () => exports.DeleteSinkOutput$
365
+ ];
366
+ exports.GetLink$ = [9, n0, _GL,
367
+ { [_h]: ["POST", "/GetLink", 200] }, () => exports.GetLinkInput$, () => exports.GetLinkOutput$
368
+ ];
369
+ exports.GetSink$ = [9, n0, _GS,
370
+ { [_h]: ["POST", "/GetSink", 200] }, () => exports.GetSinkInput$, () => exports.GetSinkOutput$
371
+ ];
372
+ exports.GetSinkPolicy$ = [9, n0, _GSP,
373
+ { [_h]: ["POST", "/GetSinkPolicy", 200] }, () => exports.GetSinkPolicyInput$, () => exports.GetSinkPolicyOutput$
374
+ ];
375
+ exports.ListAttachedLinks$ = [9, n0, _LAL,
376
+ { [_h]: ["POST", "/ListAttachedLinks", 200] }, () => exports.ListAttachedLinksInput$, () => exports.ListAttachedLinksOutput$
377
+ ];
378
+ exports.ListLinks$ = [9, n0, _LL,
379
+ { [_h]: ["POST", "/ListLinks", 200] }, () => exports.ListLinksInput$, () => exports.ListLinksOutput$
380
+ ];
381
+ exports.ListSinks$ = [9, n0, _LS,
382
+ { [_h]: ["POST", "/ListSinks", 200] }, () => exports.ListSinksInput$, () => exports.ListSinksOutput$
383
+ ];
384
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
385
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
386
+ ];
387
+ exports.PutSinkPolicy$ = [9, n0, _PSP,
388
+ { [_h]: ["POST", "/PutSinkPolicy", 200] }, () => exports.PutSinkPolicyInput$, () => exports.PutSinkPolicyOutput$
389
+ ];
390
+ exports.TagResource$ = [9, n0, _TR,
391
+ { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceInput$, () => exports.TagResourceOutput$
392
+ ];
393
+ exports.UntagResource$ = [9, n0, _UR,
394
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceInput$, () => exports.UntagResourceOutput$
395
+ ];
396
+ exports.UpdateLink$ = [9, n0, _UL,
397
+ { [_h]: ["POST", "/UpdateLink", 200] }, () => exports.UpdateLinkInput$, () => exports.UpdateLinkOutput$
398
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultOAMHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2022-06-10",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.oam",
30
+ errorTypeRegistries,
29
31
  version: "2022-06-10",
30
32
  serviceTarget: "oamservice",
31
33
  },