@aws-sdk/client-schemas 3.928.0 → 3.930.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 +1443 -1401
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SchemasClient.js +2 -0
- package/dist-es/commands/CreateDiscovererCommand.js +3 -9
- package/dist-es/commands/CreateRegistryCommand.js +3 -9
- package/dist-es/commands/CreateSchemaCommand.js +3 -9
- package/dist-es/commands/DeleteDiscovererCommand.js +3 -9
- package/dist-es/commands/DeleteRegistryCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteSchemaCommand.js +3 -9
- package/dist-es/commands/DeleteSchemaVersionCommand.js +3 -9
- package/dist-es/commands/DescribeCodeBindingCommand.js +3 -9
- package/dist-es/commands/DescribeDiscovererCommand.js +3 -9
- package/dist-es/commands/DescribeRegistryCommand.js +3 -9
- package/dist-es/commands/DescribeSchemaCommand.js +3 -9
- package/dist-es/commands/ExportSchemaCommand.js +3 -9
- package/dist-es/commands/GetCodeBindingSourceCommand.js +3 -9
- package/dist-es/commands/GetDiscoveredSchemaCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/ListDiscoverersCommand.js +3 -9
- package/dist-es/commands/ListRegistriesCommand.js +3 -9
- package/dist-es/commands/ListSchemaVersionsCommand.js +3 -9
- package/dist-es/commands/ListSchemasCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutCodeBindingCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/SearchSchemasCommand.js +3 -9
- package/dist-es/commands/StartDiscovererCommand.js +3 -9
- package/dist-es/commands/StopDiscovererCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDiscovererCommand.js +3 -9
- package/dist-es/commands/UpdateRegistryCommand.js +3 -9
- package/dist-es/commands/UpdateSchemaCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1371 -0
- package/dist-types/SchemasClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +115 -0
- package/dist-types/ts3.4/SchemasClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
- package/package.json +35 -36
- package/dist-es/protocols/Aws_restJson1.js +0 -1174
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
var utilWaiter = require('@smithy/util-waiter');
|
|
21
19
|
|
|
22
20
|
const resolveClientEndpointParameters = (options) => {
|
|
@@ -93,6 +91,7 @@ class SchemasClient extends smithyClient.Client {
|
|
|
93
91
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
94
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
95
93
|
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
98
97
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -112,12 +111,12 @@ class SchemasClient extends smithyClient.Client {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
class SchemasServiceException extends smithyClient.ServiceException {
|
|
114
|
+
let SchemasServiceException$1 = class SchemasServiceException extends smithyClient.ServiceException {
|
|
116
115
|
constructor(options) {
|
|
117
116
|
super(options);
|
|
118
117
|
Object.setPrototypeOf(this, SchemasServiceException.prototype);
|
|
119
118
|
}
|
|
120
|
-
}
|
|
119
|
+
};
|
|
121
120
|
|
|
122
121
|
const DiscovererState = {
|
|
123
122
|
STARTED: "STARTED",
|
|
@@ -127,7 +126,7 @@ const Type = {
|
|
|
127
126
|
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
128
127
|
OpenApi3: "OpenApi3",
|
|
129
128
|
};
|
|
130
|
-
class BadRequestException extends SchemasServiceException {
|
|
129
|
+
let BadRequestException$1 = class BadRequestException extends SchemasServiceException$1 {
|
|
131
130
|
name = "BadRequestException";
|
|
132
131
|
$fault = "client";
|
|
133
132
|
Code;
|
|
@@ -142,13 +141,13 @@ class BadRequestException extends SchemasServiceException {
|
|
|
142
141
|
this.Code = opts.Code;
|
|
143
142
|
this.Message = opts.Message;
|
|
144
143
|
}
|
|
145
|
-
}
|
|
144
|
+
};
|
|
146
145
|
const CodeGenerationStatus = {
|
|
147
146
|
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
148
147
|
CREATE_FAILED: "CREATE_FAILED",
|
|
149
148
|
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
150
149
|
};
|
|
151
|
-
class ConflictException extends SchemasServiceException {
|
|
150
|
+
let ConflictException$1 = class ConflictException extends SchemasServiceException$1 {
|
|
152
151
|
name = "ConflictException";
|
|
153
152
|
$fault = "client";
|
|
154
153
|
Code;
|
|
@@ -163,8 +162,8 @@ class ConflictException extends SchemasServiceException {
|
|
|
163
162
|
this.Code = opts.Code;
|
|
164
163
|
this.Message = opts.Message;
|
|
165
164
|
}
|
|
166
|
-
}
|
|
167
|
-
class ForbiddenException extends SchemasServiceException {
|
|
165
|
+
};
|
|
166
|
+
let ForbiddenException$1 = class ForbiddenException extends SchemasServiceException$1 {
|
|
168
167
|
name = "ForbiddenException";
|
|
169
168
|
$fault = "client";
|
|
170
169
|
Code;
|
|
@@ -179,8 +178,8 @@ class ForbiddenException extends SchemasServiceException {
|
|
|
179
178
|
this.Code = opts.Code;
|
|
180
179
|
this.Message = opts.Message;
|
|
181
180
|
}
|
|
182
|
-
}
|
|
183
|
-
class InternalServerErrorException extends SchemasServiceException {
|
|
181
|
+
};
|
|
182
|
+
let InternalServerErrorException$1 = class InternalServerErrorException extends SchemasServiceException$1 {
|
|
184
183
|
name = "InternalServerErrorException";
|
|
185
184
|
$fault = "server";
|
|
186
185
|
Code;
|
|
@@ -195,8 +194,8 @@ class InternalServerErrorException extends SchemasServiceException {
|
|
|
195
194
|
this.Code = opts.Code;
|
|
196
195
|
this.Message = opts.Message;
|
|
197
196
|
}
|
|
198
|
-
}
|
|
199
|
-
class ServiceUnavailableException extends SchemasServiceException {
|
|
197
|
+
};
|
|
198
|
+
let ServiceUnavailableException$1 = class ServiceUnavailableException extends SchemasServiceException$1 {
|
|
200
199
|
name = "ServiceUnavailableException";
|
|
201
200
|
$fault = "server";
|
|
202
201
|
Code;
|
|
@@ -211,8 +210,8 @@ class ServiceUnavailableException extends SchemasServiceException {
|
|
|
211
210
|
this.Code = opts.Code;
|
|
212
211
|
this.Message = opts.Message;
|
|
213
212
|
}
|
|
214
|
-
}
|
|
215
|
-
class UnauthorizedException extends SchemasServiceException {
|
|
213
|
+
};
|
|
214
|
+
let UnauthorizedException$1 = class UnauthorizedException extends SchemasServiceException$1 {
|
|
216
215
|
name = "UnauthorizedException";
|
|
217
216
|
$fault = "client";
|
|
218
217
|
Code;
|
|
@@ -227,8 +226,8 @@ class UnauthorizedException extends SchemasServiceException {
|
|
|
227
226
|
this.Code = opts.Code;
|
|
228
227
|
this.Message = opts.Message;
|
|
229
228
|
}
|
|
230
|
-
}
|
|
231
|
-
class NotFoundException extends SchemasServiceException {
|
|
229
|
+
};
|
|
230
|
+
let NotFoundException$1 = class NotFoundException extends SchemasServiceException$1 {
|
|
232
231
|
name = "NotFoundException";
|
|
233
232
|
$fault = "client";
|
|
234
233
|
Code;
|
|
@@ -243,8 +242,8 @@ class NotFoundException extends SchemasServiceException {
|
|
|
243
242
|
this.Code = opts.Code;
|
|
244
243
|
this.Message = opts.Message;
|
|
245
244
|
}
|
|
246
|
-
}
|
|
247
|
-
class TooManyRequestsException extends SchemasServiceException {
|
|
245
|
+
};
|
|
246
|
+
let TooManyRequestsException$1 = class TooManyRequestsException extends SchemasServiceException$1 {
|
|
248
247
|
name = "TooManyRequestsException";
|
|
249
248
|
$fault = "client";
|
|
250
249
|
Code;
|
|
@@ -259,8 +258,8 @@ class TooManyRequestsException extends SchemasServiceException {
|
|
|
259
258
|
this.Code = opts.Code;
|
|
260
259
|
this.Message = opts.Message;
|
|
261
260
|
}
|
|
262
|
-
}
|
|
263
|
-
class GoneException extends SchemasServiceException {
|
|
261
|
+
};
|
|
262
|
+
let GoneException$1 = class GoneException extends SchemasServiceException$1 {
|
|
264
263
|
name = "GoneException";
|
|
265
264
|
$fault = "client";
|
|
266
265
|
Code;
|
|
@@ -275,8 +274,8 @@ class GoneException extends SchemasServiceException {
|
|
|
275
274
|
this.Code = opts.Code;
|
|
276
275
|
this.Message = opts.Message;
|
|
277
276
|
}
|
|
278
|
-
}
|
|
279
|
-
class PreconditionFailedException extends SchemasServiceException {
|
|
277
|
+
};
|
|
278
|
+
let PreconditionFailedException$1 = class PreconditionFailedException extends SchemasServiceException$1 {
|
|
280
279
|
name = "PreconditionFailedException";
|
|
281
280
|
$fault = "client";
|
|
282
281
|
Code;
|
|
@@ -291,1190 +290,1383 @@ class PreconditionFailedException extends SchemasServiceException {
|
|
|
291
290
|
this.Code = opts.Code;
|
|
292
291
|
this.Message = opts.Message;
|
|
293
292
|
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
const se_CreateDiscovererCommand = async (input, context) => {
|
|
297
|
-
const b = core.requestBuilder(input, context);
|
|
298
|
-
const headers = {
|
|
299
|
-
"content-type": "application/json",
|
|
300
|
-
};
|
|
301
|
-
b.bp("/v1/discoverers");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
304
|
-
CrossAccount: [],
|
|
305
|
-
Description: [],
|
|
306
|
-
SourceArn: [],
|
|
307
|
-
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
308
|
-
}));
|
|
309
|
-
b.m("POST").h(headers).b(body);
|
|
310
|
-
return b.build();
|
|
311
|
-
};
|
|
312
|
-
const se_CreateRegistryCommand = async (input, context) => {
|
|
313
|
-
const b = core.requestBuilder(input, context);
|
|
314
|
-
const headers = {
|
|
315
|
-
"content-type": "application/json",
|
|
316
|
-
};
|
|
317
|
-
b.bp("/v1/registries/name/{RegistryName}");
|
|
318
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
319
|
-
let body;
|
|
320
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
321
|
-
Description: [],
|
|
322
|
-
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
323
|
-
}));
|
|
324
|
-
b.m("POST").h(headers).b(body);
|
|
325
|
-
return b.build();
|
|
326
|
-
};
|
|
327
|
-
const se_CreateSchemaCommand = async (input, context) => {
|
|
328
|
-
const b = core.requestBuilder(input, context);
|
|
329
|
-
const headers = {
|
|
330
|
-
"content-type": "application/json",
|
|
331
|
-
};
|
|
332
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
|
|
333
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
334
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
335
|
-
let body;
|
|
336
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
337
|
-
Content: [],
|
|
338
|
-
Description: [],
|
|
339
|
-
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
340
|
-
Type: [],
|
|
341
|
-
}));
|
|
342
|
-
b.m("POST").h(headers).b(body);
|
|
343
|
-
return b.build();
|
|
344
|
-
};
|
|
345
|
-
const se_DeleteDiscovererCommand = async (input, context) => {
|
|
346
|
-
const b = core.requestBuilder(input, context);
|
|
347
|
-
const headers = {};
|
|
348
|
-
b.bp("/v1/discoverers/id/{DiscovererId}");
|
|
349
|
-
b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
|
|
350
|
-
let body;
|
|
351
|
-
b.m("DELETE").h(headers).b(body);
|
|
352
|
-
return b.build();
|
|
353
|
-
};
|
|
354
|
-
const se_DeleteRegistryCommand = async (input, context) => {
|
|
355
|
-
const b = core.requestBuilder(input, context);
|
|
356
|
-
const headers = {};
|
|
357
|
-
b.bp("/v1/registries/name/{RegistryName}");
|
|
358
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
359
|
-
let body;
|
|
360
|
-
b.m("DELETE").h(headers).b(body);
|
|
361
|
-
return b.build();
|
|
362
|
-
};
|
|
363
|
-
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
364
|
-
const b = core.requestBuilder(input, context);
|
|
365
|
-
const headers = {};
|
|
366
|
-
b.bp("/v1/policy");
|
|
367
|
-
const query = smithyClient.map({
|
|
368
|
-
[_rN]: [, input[_RN]],
|
|
369
|
-
});
|
|
370
|
-
let body;
|
|
371
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
372
|
-
return b.build();
|
|
373
|
-
};
|
|
374
|
-
const se_DeleteSchemaCommand = async (input, context) => {
|
|
375
|
-
const b = core.requestBuilder(input, context);
|
|
376
|
-
const headers = {};
|
|
377
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
|
|
378
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
379
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
380
|
-
let body;
|
|
381
|
-
b.m("DELETE").h(headers).b(body);
|
|
382
|
-
return b.build();
|
|
383
|
-
};
|
|
384
|
-
const se_DeleteSchemaVersionCommand = async (input, context) => {
|
|
385
|
-
const b = core.requestBuilder(input, context);
|
|
386
|
-
const headers = {};
|
|
387
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}");
|
|
388
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
389
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
390
|
-
b.p("SchemaVersion", () => input.SchemaVersion, "{SchemaVersion}", false);
|
|
391
|
-
let body;
|
|
392
|
-
b.m("DELETE").h(headers).b(body);
|
|
393
|
-
return b.build();
|
|
394
|
-
};
|
|
395
|
-
const se_DescribeCodeBindingCommand = async (input, context) => {
|
|
396
|
-
const b = core.requestBuilder(input, context);
|
|
397
|
-
const headers = {};
|
|
398
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}");
|
|
399
|
-
b.p("Language", () => input.Language, "{Language}", false);
|
|
400
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
401
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
402
|
-
const query = smithyClient.map({
|
|
403
|
-
[_sV]: [, input[_SV]],
|
|
404
|
-
});
|
|
405
|
-
let body;
|
|
406
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
407
|
-
return b.build();
|
|
408
|
-
};
|
|
409
|
-
const se_DescribeDiscovererCommand = async (input, context) => {
|
|
410
|
-
const b = core.requestBuilder(input, context);
|
|
411
|
-
const headers = {};
|
|
412
|
-
b.bp("/v1/discoverers/id/{DiscovererId}");
|
|
413
|
-
b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
|
|
414
|
-
let body;
|
|
415
|
-
b.m("GET").h(headers).b(body);
|
|
416
|
-
return b.build();
|
|
417
|
-
};
|
|
418
|
-
const se_DescribeRegistryCommand = async (input, context) => {
|
|
419
|
-
const b = core.requestBuilder(input, context);
|
|
420
|
-
const headers = {};
|
|
421
|
-
b.bp("/v1/registries/name/{RegistryName}");
|
|
422
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
423
|
-
let body;
|
|
424
|
-
b.m("GET").h(headers).b(body);
|
|
425
|
-
return b.build();
|
|
426
|
-
};
|
|
427
|
-
const se_DescribeSchemaCommand = async (input, context) => {
|
|
428
|
-
const b = core.requestBuilder(input, context);
|
|
429
|
-
const headers = {};
|
|
430
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
|
|
431
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
432
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
433
|
-
const query = smithyClient.map({
|
|
434
|
-
[_sV]: [, input[_SV]],
|
|
435
|
-
});
|
|
436
|
-
let body;
|
|
437
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
438
|
-
return b.build();
|
|
439
|
-
};
|
|
440
|
-
const se_ExportSchemaCommand = async (input, context) => {
|
|
441
|
-
const b = core.requestBuilder(input, context);
|
|
442
|
-
const headers = {};
|
|
443
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export");
|
|
444
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
445
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
446
|
-
const query = smithyClient.map({
|
|
447
|
-
[_sV]: [, input[_SV]],
|
|
448
|
-
[_t]: [, smithyClient.expectNonNull(input[_T], `Type`)],
|
|
449
|
-
});
|
|
450
|
-
let body;
|
|
451
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
452
|
-
return b.build();
|
|
453
|
-
};
|
|
454
|
-
const se_GetCodeBindingSourceCommand = async (input, context) => {
|
|
455
|
-
const b = core.requestBuilder(input, context);
|
|
456
|
-
const headers = {};
|
|
457
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source");
|
|
458
|
-
b.p("Language", () => input.Language, "{Language}", false);
|
|
459
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
460
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
461
|
-
const query = smithyClient.map({
|
|
462
|
-
[_sV]: [, input[_SV]],
|
|
463
|
-
});
|
|
464
|
-
let body;
|
|
465
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
466
|
-
return b.build();
|
|
467
|
-
};
|
|
468
|
-
const se_GetDiscoveredSchemaCommand = async (input, context) => {
|
|
469
|
-
const b = core.requestBuilder(input, context);
|
|
470
|
-
const headers = {
|
|
471
|
-
"content-type": "application/json",
|
|
472
|
-
};
|
|
473
|
-
b.bp("/v1/discover");
|
|
474
|
-
let body;
|
|
475
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
476
|
-
Events: (_) => smithyClient._json(_),
|
|
477
|
-
Type: [],
|
|
478
|
-
}));
|
|
479
|
-
b.m("POST").h(headers).b(body);
|
|
480
|
-
return b.build();
|
|
481
|
-
};
|
|
482
|
-
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
483
|
-
const b = core.requestBuilder(input, context);
|
|
484
|
-
const headers = {};
|
|
485
|
-
b.bp("/v1/policy");
|
|
486
|
-
const query = smithyClient.map({
|
|
487
|
-
[_rN]: [, input[_RN]],
|
|
488
|
-
});
|
|
489
|
-
let body;
|
|
490
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
491
|
-
return b.build();
|
|
492
|
-
};
|
|
493
|
-
const se_ListDiscoverersCommand = async (input, context) => {
|
|
494
|
-
const b = core.requestBuilder(input, context);
|
|
495
|
-
const headers = {};
|
|
496
|
-
b.bp("/v1/discoverers");
|
|
497
|
-
const query = smithyClient.map({
|
|
498
|
-
[_dIP]: [, input[_DIP]],
|
|
499
|
-
[_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
|
|
500
|
-
[_nT]: [, input[_NT]],
|
|
501
|
-
[_sAP]: [, input[_SAP]],
|
|
502
|
-
});
|
|
503
|
-
let body;
|
|
504
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
505
|
-
return b.build();
|
|
506
|
-
};
|
|
507
|
-
const se_ListRegistriesCommand = async (input, context) => {
|
|
508
|
-
const b = core.requestBuilder(input, context);
|
|
509
|
-
const headers = {};
|
|
510
|
-
b.bp("/v1/registries");
|
|
511
|
-
const query = smithyClient.map({
|
|
512
|
-
[_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
|
|
513
|
-
[_nT]: [, input[_NT]],
|
|
514
|
-
[_rNP]: [, input[_RNP]],
|
|
515
|
-
[_s]: [, input[_S]],
|
|
516
|
-
});
|
|
517
|
-
let body;
|
|
518
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
519
|
-
return b.build();
|
|
520
|
-
};
|
|
521
|
-
const se_ListSchemasCommand = async (input, context) => {
|
|
522
|
-
const b = core.requestBuilder(input, context);
|
|
523
|
-
const headers = {};
|
|
524
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas");
|
|
525
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
526
|
-
const query = smithyClient.map({
|
|
527
|
-
[_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
|
|
528
|
-
[_nT]: [, input[_NT]],
|
|
529
|
-
[_sNP]: [, input[_SNP]],
|
|
530
|
-
});
|
|
531
|
-
let body;
|
|
532
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
533
|
-
return b.build();
|
|
534
|
-
};
|
|
535
|
-
const se_ListSchemaVersionsCommand = async (input, context) => {
|
|
536
|
-
const b = core.requestBuilder(input, context);
|
|
537
|
-
const headers = {};
|
|
538
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions");
|
|
539
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
540
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
541
|
-
const query = smithyClient.map({
|
|
542
|
-
[_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
|
|
543
|
-
[_nT]: [, input[_NT]],
|
|
544
|
-
});
|
|
545
|
-
let body;
|
|
546
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
547
|
-
return b.build();
|
|
548
|
-
};
|
|
549
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
550
|
-
const b = core.requestBuilder(input, context);
|
|
551
|
-
const headers = {};
|
|
552
|
-
b.bp("/tags/{ResourceArn}");
|
|
553
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
554
|
-
let body;
|
|
555
|
-
b.m("GET").h(headers).b(body);
|
|
556
|
-
return b.build();
|
|
557
|
-
};
|
|
558
|
-
const se_PutCodeBindingCommand = async (input, context) => {
|
|
559
|
-
const b = core.requestBuilder(input, context);
|
|
560
|
-
const headers = {};
|
|
561
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}");
|
|
562
|
-
b.p("Language", () => input.Language, "{Language}", false);
|
|
563
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
564
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
565
|
-
const query = smithyClient.map({
|
|
566
|
-
[_sV]: [, input[_SV]],
|
|
567
|
-
});
|
|
568
|
-
let body;
|
|
569
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
570
|
-
return b.build();
|
|
571
|
-
};
|
|
572
|
-
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
573
|
-
const b = core.requestBuilder(input, context);
|
|
574
|
-
const headers = {
|
|
575
|
-
"content-type": "application/json",
|
|
576
|
-
};
|
|
577
|
-
b.bp("/v1/policy");
|
|
578
|
-
const query = smithyClient.map({
|
|
579
|
-
[_rN]: [, input[_RN]],
|
|
580
|
-
});
|
|
581
|
-
let body;
|
|
582
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
583
|
-
Policy: (_) => smithyClient.LazyJsonString.from(_),
|
|
584
|
-
RevisionId: [],
|
|
585
|
-
}));
|
|
586
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
587
|
-
return b.build();
|
|
588
|
-
};
|
|
589
|
-
const se_SearchSchemasCommand = async (input, context) => {
|
|
590
|
-
const b = core.requestBuilder(input, context);
|
|
591
|
-
const headers = {};
|
|
592
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/search");
|
|
593
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
594
|
-
const query = smithyClient.map({
|
|
595
|
-
[_k]: [, smithyClient.expectNonNull(input[_K], `Keywords`)],
|
|
596
|
-
[_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
|
|
597
|
-
[_nT]: [, input[_NT]],
|
|
598
|
-
});
|
|
599
|
-
let body;
|
|
600
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
601
|
-
return b.build();
|
|
602
|
-
};
|
|
603
|
-
const se_StartDiscovererCommand = async (input, context) => {
|
|
604
|
-
const b = core.requestBuilder(input, context);
|
|
605
|
-
const headers = {};
|
|
606
|
-
b.bp("/v1/discoverers/id/{DiscovererId}/start");
|
|
607
|
-
b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
|
|
608
|
-
let body;
|
|
609
|
-
b.m("POST").h(headers).b(body);
|
|
610
|
-
return b.build();
|
|
611
|
-
};
|
|
612
|
-
const se_StopDiscovererCommand = async (input, context) => {
|
|
613
|
-
const b = core.requestBuilder(input, context);
|
|
614
|
-
const headers = {};
|
|
615
|
-
b.bp("/v1/discoverers/id/{DiscovererId}/stop");
|
|
616
|
-
b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
|
|
617
|
-
let body;
|
|
618
|
-
b.m("POST").h(headers).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
};
|
|
621
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
622
|
-
const b = core.requestBuilder(input, context);
|
|
623
|
-
const headers = {
|
|
624
|
-
"content-type": "application/json",
|
|
625
|
-
};
|
|
626
|
-
b.bp("/tags/{ResourceArn}");
|
|
627
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
628
|
-
let body;
|
|
629
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
630
|
-
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
631
|
-
}));
|
|
632
|
-
b.m("POST").h(headers).b(body);
|
|
633
|
-
return b.build();
|
|
634
|
-
};
|
|
635
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
636
|
-
const b = core.requestBuilder(input, context);
|
|
637
|
-
const headers = {};
|
|
638
|
-
b.bp("/tags/{ResourceArn}");
|
|
639
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
640
|
-
const query = smithyClient.map({
|
|
641
|
-
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
642
|
-
});
|
|
643
|
-
let body;
|
|
644
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
645
|
-
return b.build();
|
|
646
|
-
};
|
|
647
|
-
const se_UpdateDiscovererCommand = async (input, context) => {
|
|
648
|
-
const b = core.requestBuilder(input, context);
|
|
649
|
-
const headers = {
|
|
650
|
-
"content-type": "application/json",
|
|
651
|
-
};
|
|
652
|
-
b.bp("/v1/discoverers/id/{DiscovererId}");
|
|
653
|
-
b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
|
|
654
|
-
let body;
|
|
655
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
656
|
-
CrossAccount: [],
|
|
657
|
-
Description: [],
|
|
658
|
-
}));
|
|
659
|
-
b.m("PUT").h(headers).b(body);
|
|
660
|
-
return b.build();
|
|
661
|
-
};
|
|
662
|
-
const se_UpdateRegistryCommand = async (input, context) => {
|
|
663
|
-
const b = core.requestBuilder(input, context);
|
|
664
|
-
const headers = {
|
|
665
|
-
"content-type": "application/json",
|
|
666
|
-
};
|
|
667
|
-
b.bp("/v1/registries/name/{RegistryName}");
|
|
668
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
669
|
-
let body;
|
|
670
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
671
|
-
Description: [],
|
|
672
|
-
}));
|
|
673
|
-
b.m("PUT").h(headers).b(body);
|
|
674
|
-
return b.build();
|
|
675
|
-
};
|
|
676
|
-
const se_UpdateSchemaCommand = async (input, context) => {
|
|
677
|
-
const b = core.requestBuilder(input, context);
|
|
678
|
-
const headers = {
|
|
679
|
-
"content-type": "application/json",
|
|
680
|
-
};
|
|
681
|
-
b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
|
|
682
|
-
b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
|
|
683
|
-
b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
|
|
684
|
-
let body;
|
|
685
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
686
|
-
ClientTokenId: [true, (_) => _ ?? uuid.v4()],
|
|
687
|
-
Content: [],
|
|
688
|
-
Description: [],
|
|
689
|
-
Type: [],
|
|
690
|
-
}));
|
|
691
|
-
b.m("PUT").h(headers).b(body);
|
|
692
|
-
return b.build();
|
|
693
|
-
};
|
|
694
|
-
const de_CreateDiscovererCommand = async (output, context) => {
|
|
695
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
696
|
-
return de_CommandError(output, context);
|
|
697
|
-
}
|
|
698
|
-
const contents = smithyClient.map({
|
|
699
|
-
$metadata: deserializeMetadata(output),
|
|
700
|
-
});
|
|
701
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
702
|
-
const doc = smithyClient.take(data, {
|
|
703
|
-
CrossAccount: smithyClient.expectBoolean,
|
|
704
|
-
Description: smithyClient.expectString,
|
|
705
|
-
DiscovererArn: smithyClient.expectString,
|
|
706
|
-
DiscovererId: smithyClient.expectString,
|
|
707
|
-
SourceArn: smithyClient.expectString,
|
|
708
|
-
State: smithyClient.expectString,
|
|
709
|
-
Tags: [, smithyClient._json, `tags`],
|
|
710
|
-
});
|
|
711
|
-
Object.assign(contents, doc);
|
|
712
|
-
return contents;
|
|
713
|
-
};
|
|
714
|
-
const de_CreateRegistryCommand = async (output, context) => {
|
|
715
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
716
|
-
return de_CommandError(output, context);
|
|
717
|
-
}
|
|
718
|
-
const contents = smithyClient.map({
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
});
|
|
721
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
722
|
-
const doc = smithyClient.take(data, {
|
|
723
|
-
Description: smithyClient.expectString,
|
|
724
|
-
RegistryArn: smithyClient.expectString,
|
|
725
|
-
RegistryName: smithyClient.expectString,
|
|
726
|
-
Tags: [, smithyClient._json, `tags`],
|
|
727
|
-
});
|
|
728
|
-
Object.assign(contents, doc);
|
|
729
|
-
return contents;
|
|
730
|
-
};
|
|
731
|
-
const de_CreateSchemaCommand = async (output, context) => {
|
|
732
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
733
|
-
return de_CommandError(output, context);
|
|
734
|
-
}
|
|
735
|
-
const contents = smithyClient.map({
|
|
736
|
-
$metadata: deserializeMetadata(output),
|
|
737
|
-
});
|
|
738
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
739
|
-
const doc = smithyClient.take(data, {
|
|
740
|
-
Description: smithyClient.expectString,
|
|
741
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
742
|
-
SchemaArn: smithyClient.expectString,
|
|
743
|
-
SchemaName: smithyClient.expectString,
|
|
744
|
-
SchemaVersion: smithyClient.expectString,
|
|
745
|
-
Tags: [, smithyClient._json, `tags`],
|
|
746
|
-
Type: smithyClient.expectString,
|
|
747
|
-
VersionCreatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
748
|
-
});
|
|
749
|
-
Object.assign(contents, doc);
|
|
750
|
-
return contents;
|
|
751
|
-
};
|
|
752
|
-
const de_DeleteDiscovererCommand = async (output, context) => {
|
|
753
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
754
|
-
return de_CommandError(output, context);
|
|
755
|
-
}
|
|
756
|
-
const contents = smithyClient.map({
|
|
757
|
-
$metadata: deserializeMetadata(output),
|
|
758
|
-
});
|
|
759
|
-
await smithyClient.collectBody(output.body, context);
|
|
760
|
-
return contents;
|
|
761
|
-
};
|
|
762
|
-
const de_DeleteRegistryCommand = async (output, context) => {
|
|
763
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
764
|
-
return de_CommandError(output, context);
|
|
765
|
-
}
|
|
766
|
-
const contents = smithyClient.map({
|
|
767
|
-
$metadata: deserializeMetadata(output),
|
|
768
|
-
});
|
|
769
|
-
await smithyClient.collectBody(output.body, context);
|
|
770
|
-
return contents;
|
|
771
|
-
};
|
|
772
|
-
const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
773
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
774
|
-
return de_CommandError(output, context);
|
|
775
|
-
}
|
|
776
|
-
const contents = smithyClient.map({
|
|
777
|
-
$metadata: deserializeMetadata(output),
|
|
778
|
-
});
|
|
779
|
-
await smithyClient.collectBody(output.body, context);
|
|
780
|
-
return contents;
|
|
781
|
-
};
|
|
782
|
-
const de_DeleteSchemaCommand = async (output, context) => {
|
|
783
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
784
|
-
return de_CommandError(output, context);
|
|
785
|
-
}
|
|
786
|
-
const contents = smithyClient.map({
|
|
787
|
-
$metadata: deserializeMetadata(output),
|
|
788
|
-
});
|
|
789
|
-
await smithyClient.collectBody(output.body, context);
|
|
790
|
-
return contents;
|
|
791
|
-
};
|
|
792
|
-
const de_DeleteSchemaVersionCommand = async (output, context) => {
|
|
793
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
794
|
-
return de_CommandError(output, context);
|
|
795
|
-
}
|
|
796
|
-
const contents = smithyClient.map({
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
});
|
|
799
|
-
await smithyClient.collectBody(output.body, context);
|
|
800
|
-
return contents;
|
|
801
|
-
};
|
|
802
|
-
const de_DescribeCodeBindingCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const contents = smithyClient.map({
|
|
807
|
-
$metadata: deserializeMetadata(output),
|
|
808
|
-
});
|
|
809
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
810
|
-
const doc = smithyClient.take(data, {
|
|
811
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
812
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
813
|
-
SchemaVersion: smithyClient.expectString,
|
|
814
|
-
Status: smithyClient.expectString,
|
|
815
|
-
});
|
|
816
|
-
Object.assign(contents, doc);
|
|
817
|
-
return contents;
|
|
818
|
-
};
|
|
819
|
-
const de_DescribeDiscovererCommand = async (output, context) => {
|
|
820
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
821
|
-
return de_CommandError(output, context);
|
|
822
|
-
}
|
|
823
|
-
const contents = smithyClient.map({
|
|
824
|
-
$metadata: deserializeMetadata(output),
|
|
825
|
-
});
|
|
826
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
827
|
-
const doc = smithyClient.take(data, {
|
|
828
|
-
CrossAccount: smithyClient.expectBoolean,
|
|
829
|
-
Description: smithyClient.expectString,
|
|
830
|
-
DiscovererArn: smithyClient.expectString,
|
|
831
|
-
DiscovererId: smithyClient.expectString,
|
|
832
|
-
SourceArn: smithyClient.expectString,
|
|
833
|
-
State: smithyClient.expectString,
|
|
834
|
-
Tags: [, smithyClient._json, `tags`],
|
|
835
|
-
});
|
|
836
|
-
Object.assign(contents, doc);
|
|
837
|
-
return contents;
|
|
838
|
-
};
|
|
839
|
-
const de_DescribeRegistryCommand = async (output, context) => {
|
|
840
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
841
|
-
return de_CommandError(output, context);
|
|
842
|
-
}
|
|
843
|
-
const contents = smithyClient.map({
|
|
844
|
-
$metadata: deserializeMetadata(output),
|
|
845
|
-
});
|
|
846
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
847
|
-
const doc = smithyClient.take(data, {
|
|
848
|
-
Description: smithyClient.expectString,
|
|
849
|
-
RegistryArn: smithyClient.expectString,
|
|
850
|
-
RegistryName: smithyClient.expectString,
|
|
851
|
-
Tags: [, smithyClient._json, `tags`],
|
|
852
|
-
});
|
|
853
|
-
Object.assign(contents, doc);
|
|
854
|
-
return contents;
|
|
855
|
-
};
|
|
856
|
-
const de_DescribeSchemaCommand = async (output, context) => {
|
|
857
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
858
|
-
return de_CommandError(output, context);
|
|
859
|
-
}
|
|
860
|
-
const contents = smithyClient.map({
|
|
861
|
-
$metadata: deserializeMetadata(output),
|
|
862
|
-
});
|
|
863
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
864
|
-
const doc = smithyClient.take(data, {
|
|
865
|
-
Content: smithyClient.expectString,
|
|
866
|
-
Description: smithyClient.expectString,
|
|
867
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
868
|
-
SchemaArn: smithyClient.expectString,
|
|
869
|
-
SchemaName: smithyClient.expectString,
|
|
870
|
-
SchemaVersion: smithyClient.expectString,
|
|
871
|
-
Tags: [, smithyClient._json, `tags`],
|
|
872
|
-
Type: smithyClient.expectString,
|
|
873
|
-
VersionCreatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
874
|
-
});
|
|
875
|
-
Object.assign(contents, doc);
|
|
876
|
-
return contents;
|
|
877
|
-
};
|
|
878
|
-
const de_ExportSchemaCommand = async (output, context) => {
|
|
879
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
-
return de_CommandError(output, context);
|
|
881
|
-
}
|
|
882
|
-
const contents = smithyClient.map({
|
|
883
|
-
$metadata: deserializeMetadata(output),
|
|
884
|
-
});
|
|
885
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
886
|
-
const doc = smithyClient.take(data, {
|
|
887
|
-
Content: smithyClient.expectString,
|
|
888
|
-
SchemaArn: smithyClient.expectString,
|
|
889
|
-
SchemaName: smithyClient.expectString,
|
|
890
|
-
SchemaVersion: smithyClient.expectString,
|
|
891
|
-
Type: smithyClient.expectString,
|
|
892
|
-
});
|
|
893
|
-
Object.assign(contents, doc);
|
|
894
|
-
return contents;
|
|
895
|
-
};
|
|
896
|
-
const de_GetCodeBindingSourceCommand = async (output, context) => {
|
|
897
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
898
|
-
return de_CommandError(output, context);
|
|
899
|
-
}
|
|
900
|
-
const contents = smithyClient.map({
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
});
|
|
903
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
904
|
-
contents.Body = data;
|
|
905
|
-
return contents;
|
|
906
|
-
};
|
|
907
|
-
const de_GetDiscoveredSchemaCommand = async (output, context) => {
|
|
908
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
909
|
-
return de_CommandError(output, context);
|
|
910
|
-
}
|
|
911
|
-
const contents = smithyClient.map({
|
|
912
|
-
$metadata: deserializeMetadata(output),
|
|
913
|
-
});
|
|
914
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
915
|
-
const doc = smithyClient.take(data, {
|
|
916
|
-
Content: smithyClient.expectString,
|
|
917
|
-
});
|
|
918
|
-
Object.assign(contents, doc);
|
|
919
|
-
return contents;
|
|
920
|
-
};
|
|
921
|
-
const de_GetResourcePolicyCommand = async (output, context) => {
|
|
922
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
923
|
-
return de_CommandError(output, context);
|
|
924
|
-
}
|
|
925
|
-
const contents = smithyClient.map({
|
|
926
|
-
$metadata: deserializeMetadata(output),
|
|
927
|
-
});
|
|
928
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
929
|
-
const doc = smithyClient.take(data, {
|
|
930
|
-
Policy: smithyClient.LazyJsonString.from,
|
|
931
|
-
RevisionId: smithyClient.expectString,
|
|
932
|
-
});
|
|
933
|
-
Object.assign(contents, doc);
|
|
934
|
-
return contents;
|
|
935
|
-
};
|
|
936
|
-
const de_ListDiscoverersCommand = async (output, context) => {
|
|
937
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
938
|
-
return de_CommandError(output, context);
|
|
939
|
-
}
|
|
940
|
-
const contents = smithyClient.map({
|
|
941
|
-
$metadata: deserializeMetadata(output),
|
|
942
|
-
});
|
|
943
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
944
|
-
const doc = smithyClient.take(data, {
|
|
945
|
-
Discoverers: (_) => de___listOfDiscovererSummary(_),
|
|
946
|
-
NextToken: smithyClient.expectString,
|
|
947
|
-
});
|
|
948
|
-
Object.assign(contents, doc);
|
|
949
|
-
return contents;
|
|
950
|
-
};
|
|
951
|
-
const de_ListRegistriesCommand = async (output, context) => {
|
|
952
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
953
|
-
return de_CommandError(output, context);
|
|
954
|
-
}
|
|
955
|
-
const contents = smithyClient.map({
|
|
956
|
-
$metadata: deserializeMetadata(output),
|
|
957
|
-
});
|
|
958
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
959
|
-
const doc = smithyClient.take(data, {
|
|
960
|
-
NextToken: smithyClient.expectString,
|
|
961
|
-
Registries: (_) => de___listOfRegistrySummary(_),
|
|
962
|
-
});
|
|
963
|
-
Object.assign(contents, doc);
|
|
964
|
-
return contents;
|
|
965
|
-
};
|
|
966
|
-
const de_ListSchemasCommand = async (output, context) => {
|
|
967
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
968
|
-
return de_CommandError(output, context);
|
|
969
|
-
}
|
|
970
|
-
const contents = smithyClient.map({
|
|
971
|
-
$metadata: deserializeMetadata(output),
|
|
972
|
-
});
|
|
973
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
974
|
-
const doc = smithyClient.take(data, {
|
|
975
|
-
NextToken: smithyClient.expectString,
|
|
976
|
-
Schemas: (_) => de___listOfSchemaSummary(_),
|
|
977
|
-
});
|
|
978
|
-
Object.assign(contents, doc);
|
|
979
|
-
return contents;
|
|
980
|
-
};
|
|
981
|
-
const de_ListSchemaVersionsCommand = async (output, context) => {
|
|
982
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
983
|
-
return de_CommandError(output, context);
|
|
984
|
-
}
|
|
985
|
-
const contents = smithyClient.map({
|
|
986
|
-
$metadata: deserializeMetadata(output),
|
|
987
|
-
});
|
|
988
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
989
|
-
const doc = smithyClient.take(data, {
|
|
990
|
-
NextToken: smithyClient.expectString,
|
|
991
|
-
SchemaVersions: smithyClient._json,
|
|
992
|
-
});
|
|
993
|
-
Object.assign(contents, doc);
|
|
994
|
-
return contents;
|
|
995
|
-
};
|
|
996
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
997
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
998
|
-
return de_CommandError(output, context);
|
|
999
|
-
}
|
|
1000
|
-
const contents = smithyClient.map({
|
|
1001
|
-
$metadata: deserializeMetadata(output),
|
|
1002
|
-
});
|
|
1003
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1004
|
-
const doc = smithyClient.take(data, {
|
|
1005
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1006
|
-
});
|
|
1007
|
-
Object.assign(contents, doc);
|
|
1008
|
-
return contents;
|
|
1009
|
-
};
|
|
1010
|
-
const de_PutCodeBindingCommand = async (output, context) => {
|
|
1011
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1012
|
-
return de_CommandError(output, context);
|
|
1013
|
-
}
|
|
1014
|
-
const contents = smithyClient.map({
|
|
1015
|
-
$metadata: deserializeMetadata(output),
|
|
1016
|
-
});
|
|
1017
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1018
|
-
const doc = smithyClient.take(data, {
|
|
1019
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1020
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1021
|
-
SchemaVersion: smithyClient.expectString,
|
|
1022
|
-
Status: smithyClient.expectString,
|
|
1023
|
-
});
|
|
1024
|
-
Object.assign(contents, doc);
|
|
1025
|
-
return contents;
|
|
1026
|
-
};
|
|
1027
|
-
const de_PutResourcePolicyCommand = async (output, context) => {
|
|
1028
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1029
|
-
return de_CommandError(output, context);
|
|
1030
|
-
}
|
|
1031
|
-
const contents = smithyClient.map({
|
|
1032
|
-
$metadata: deserializeMetadata(output),
|
|
1033
|
-
});
|
|
1034
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1035
|
-
const doc = smithyClient.take(data, {
|
|
1036
|
-
Policy: smithyClient.LazyJsonString.from,
|
|
1037
|
-
RevisionId: smithyClient.expectString,
|
|
1038
|
-
});
|
|
1039
|
-
Object.assign(contents, doc);
|
|
1040
|
-
return contents;
|
|
1041
|
-
};
|
|
1042
|
-
const de_SearchSchemasCommand = async (output, context) => {
|
|
1043
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1044
|
-
return de_CommandError(output, context);
|
|
1045
|
-
}
|
|
1046
|
-
const contents = smithyClient.map({
|
|
1047
|
-
$metadata: deserializeMetadata(output),
|
|
1048
|
-
});
|
|
1049
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1050
|
-
const doc = smithyClient.take(data, {
|
|
1051
|
-
NextToken: smithyClient.expectString,
|
|
1052
|
-
Schemas: (_) => de___listOfSearchSchemaSummary(_),
|
|
1053
|
-
});
|
|
1054
|
-
Object.assign(contents, doc);
|
|
1055
|
-
return contents;
|
|
1056
|
-
};
|
|
1057
|
-
const de_StartDiscovererCommand = async (output, context) => {
|
|
1058
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1059
|
-
return de_CommandError(output, context);
|
|
1060
|
-
}
|
|
1061
|
-
const contents = smithyClient.map({
|
|
1062
|
-
$metadata: deserializeMetadata(output),
|
|
1063
|
-
});
|
|
1064
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1065
|
-
const doc = smithyClient.take(data, {
|
|
1066
|
-
DiscovererId: smithyClient.expectString,
|
|
1067
|
-
State: smithyClient.expectString,
|
|
1068
|
-
});
|
|
1069
|
-
Object.assign(contents, doc);
|
|
1070
|
-
return contents;
|
|
1071
293
|
};
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
const
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
const
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
$metadata: deserializeMetadata(output),
|
|
1103
|
-
});
|
|
1104
|
-
await smithyClient.collectBody(output.body, context);
|
|
1105
|
-
return contents;
|
|
1106
|
-
};
|
|
1107
|
-
const de_UpdateDiscovererCommand = async (output, context) => {
|
|
1108
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1109
|
-
return de_CommandError(output, context);
|
|
1110
|
-
}
|
|
1111
|
-
const contents = smithyClient.map({
|
|
1112
|
-
$metadata: deserializeMetadata(output),
|
|
1113
|
-
});
|
|
1114
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1115
|
-
const doc = smithyClient.take(data, {
|
|
1116
|
-
CrossAccount: smithyClient.expectBoolean,
|
|
1117
|
-
Description: smithyClient.expectString,
|
|
1118
|
-
DiscovererArn: smithyClient.expectString,
|
|
1119
|
-
DiscovererId: smithyClient.expectString,
|
|
1120
|
-
SourceArn: smithyClient.expectString,
|
|
1121
|
-
State: smithyClient.expectString,
|
|
1122
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1123
|
-
});
|
|
1124
|
-
Object.assign(contents, doc);
|
|
1125
|
-
return contents;
|
|
1126
|
-
};
|
|
1127
|
-
const de_UpdateRegistryCommand = async (output, context) => {
|
|
1128
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
|
-
return de_CommandError(output, context);
|
|
1130
|
-
}
|
|
1131
|
-
const contents = smithyClient.map({
|
|
1132
|
-
$metadata: deserializeMetadata(output),
|
|
1133
|
-
});
|
|
1134
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1135
|
-
const doc = smithyClient.take(data, {
|
|
1136
|
-
Description: smithyClient.expectString,
|
|
1137
|
-
RegistryArn: smithyClient.expectString,
|
|
1138
|
-
RegistryName: smithyClient.expectString,
|
|
1139
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1140
|
-
});
|
|
1141
|
-
Object.assign(contents, doc);
|
|
1142
|
-
return contents;
|
|
1143
|
-
};
|
|
1144
|
-
const de_UpdateSchemaCommand = async (output, context) => {
|
|
1145
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1146
|
-
return de_CommandError(output, context);
|
|
1147
|
-
}
|
|
1148
|
-
const contents = smithyClient.map({
|
|
1149
|
-
$metadata: deserializeMetadata(output),
|
|
1150
|
-
});
|
|
1151
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1152
|
-
const doc = smithyClient.take(data, {
|
|
1153
|
-
Description: smithyClient.expectString,
|
|
1154
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1155
|
-
SchemaArn: smithyClient.expectString,
|
|
1156
|
-
SchemaName: smithyClient.expectString,
|
|
1157
|
-
SchemaVersion: smithyClient.expectString,
|
|
1158
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1159
|
-
Type: smithyClient.expectString,
|
|
1160
|
-
VersionCreatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1161
|
-
});
|
|
1162
|
-
Object.assign(contents, doc);
|
|
1163
|
-
return contents;
|
|
1164
|
-
};
|
|
1165
|
-
const de_CommandError = async (output, context) => {
|
|
1166
|
-
const parsedOutput = {
|
|
1167
|
-
...output,
|
|
1168
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1169
|
-
};
|
|
1170
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1171
|
-
switch (errorCode) {
|
|
1172
|
-
case "BadRequestException":
|
|
1173
|
-
case "com.amazonaws.schemas#BadRequestException":
|
|
1174
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
1175
|
-
case "ConflictException":
|
|
1176
|
-
case "com.amazonaws.schemas#ConflictException":
|
|
1177
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1178
|
-
case "ForbiddenException":
|
|
1179
|
-
case "com.amazonaws.schemas#ForbiddenException":
|
|
1180
|
-
throw await de_ForbiddenExceptionRes(parsedOutput);
|
|
1181
|
-
case "InternalServerErrorException":
|
|
1182
|
-
case "com.amazonaws.schemas#InternalServerErrorException":
|
|
1183
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput);
|
|
1184
|
-
case "ServiceUnavailableException":
|
|
1185
|
-
case "com.amazonaws.schemas#ServiceUnavailableException":
|
|
1186
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
1187
|
-
case "UnauthorizedException":
|
|
1188
|
-
case "com.amazonaws.schemas#UnauthorizedException":
|
|
1189
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
1190
|
-
case "NotFoundException":
|
|
1191
|
-
case "com.amazonaws.schemas#NotFoundException":
|
|
1192
|
-
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
1193
|
-
case "TooManyRequestsException":
|
|
1194
|
-
case "com.amazonaws.schemas#TooManyRequestsException":
|
|
1195
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
1196
|
-
case "GoneException":
|
|
1197
|
-
case "com.amazonaws.schemas#GoneException":
|
|
1198
|
-
throw await de_GoneExceptionRes(parsedOutput);
|
|
1199
|
-
case "PreconditionFailedException":
|
|
1200
|
-
case "com.amazonaws.schemas#PreconditionFailedException":
|
|
1201
|
-
throw await de_PreconditionFailedExceptionRes(parsedOutput);
|
|
1202
|
-
default:
|
|
1203
|
-
const parsedBody = parsedOutput.body;
|
|
1204
|
-
return throwDefaultError({
|
|
1205
|
-
output,
|
|
1206
|
-
parsedBody,
|
|
1207
|
-
errorCode,
|
|
1208
|
-
});
|
|
1209
|
-
}
|
|
1210
|
-
};
|
|
1211
|
-
const throwDefaultError = smithyClient.withBaseException(SchemasServiceException);
|
|
1212
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1213
|
-
const contents = smithyClient.map({});
|
|
1214
|
-
const data = parsedOutput.body;
|
|
1215
|
-
const doc = smithyClient.take(data, {
|
|
1216
|
-
Code: smithyClient.expectString,
|
|
1217
|
-
Message: smithyClient.expectString,
|
|
1218
|
-
});
|
|
1219
|
-
Object.assign(contents, doc);
|
|
1220
|
-
const exception = new BadRequestException({
|
|
1221
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1222
|
-
...contents,
|
|
1223
|
-
});
|
|
1224
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1225
|
-
};
|
|
1226
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1227
|
-
const contents = smithyClient.map({});
|
|
1228
|
-
const data = parsedOutput.body;
|
|
1229
|
-
const doc = smithyClient.take(data, {
|
|
1230
|
-
Code: smithyClient.expectString,
|
|
1231
|
-
Message: smithyClient.expectString,
|
|
1232
|
-
});
|
|
1233
|
-
Object.assign(contents, doc);
|
|
1234
|
-
const exception = new ConflictException({
|
|
1235
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1236
|
-
...contents,
|
|
1237
|
-
});
|
|
1238
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1239
|
-
};
|
|
1240
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1241
|
-
const contents = smithyClient.map({});
|
|
1242
|
-
const data = parsedOutput.body;
|
|
1243
|
-
const doc = smithyClient.take(data, {
|
|
1244
|
-
Code: smithyClient.expectString,
|
|
1245
|
-
Message: smithyClient.expectString,
|
|
1246
|
-
});
|
|
1247
|
-
Object.assign(contents, doc);
|
|
1248
|
-
const exception = new ForbiddenException({
|
|
1249
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1250
|
-
...contents,
|
|
1251
|
-
});
|
|
1252
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1253
|
-
};
|
|
1254
|
-
const de_GoneExceptionRes = async (parsedOutput, context) => {
|
|
1255
|
-
const contents = smithyClient.map({});
|
|
1256
|
-
const data = parsedOutput.body;
|
|
1257
|
-
const doc = smithyClient.take(data, {
|
|
1258
|
-
Code: smithyClient.expectString,
|
|
1259
|
-
Message: smithyClient.expectString,
|
|
1260
|
-
});
|
|
1261
|
-
Object.assign(contents, doc);
|
|
1262
|
-
const exception = new GoneException({
|
|
1263
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1264
|
-
...contents,
|
|
1265
|
-
});
|
|
1266
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1267
|
-
};
|
|
1268
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
1269
|
-
const contents = smithyClient.map({});
|
|
1270
|
-
const data = parsedOutput.body;
|
|
1271
|
-
const doc = smithyClient.take(data, {
|
|
1272
|
-
Code: smithyClient.expectString,
|
|
1273
|
-
Message: smithyClient.expectString,
|
|
1274
|
-
});
|
|
1275
|
-
Object.assign(contents, doc);
|
|
1276
|
-
const exception = new InternalServerErrorException({
|
|
1277
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1278
|
-
...contents,
|
|
1279
|
-
});
|
|
1280
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1281
|
-
};
|
|
1282
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1283
|
-
const contents = smithyClient.map({});
|
|
1284
|
-
const data = parsedOutput.body;
|
|
1285
|
-
const doc = smithyClient.take(data, {
|
|
1286
|
-
Code: smithyClient.expectString,
|
|
1287
|
-
Message: smithyClient.expectString,
|
|
1288
|
-
});
|
|
1289
|
-
Object.assign(contents, doc);
|
|
1290
|
-
const exception = new NotFoundException({
|
|
1291
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1292
|
-
...contents,
|
|
1293
|
-
});
|
|
1294
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1295
|
-
};
|
|
1296
|
-
const de_PreconditionFailedExceptionRes = async (parsedOutput, context) => {
|
|
1297
|
-
const contents = smithyClient.map({});
|
|
1298
|
-
const data = parsedOutput.body;
|
|
1299
|
-
const doc = smithyClient.take(data, {
|
|
1300
|
-
Code: smithyClient.expectString,
|
|
1301
|
-
Message: smithyClient.expectString,
|
|
1302
|
-
});
|
|
1303
|
-
Object.assign(contents, doc);
|
|
1304
|
-
const exception = new PreconditionFailedException({
|
|
1305
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1306
|
-
...contents,
|
|
1307
|
-
});
|
|
1308
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1309
|
-
};
|
|
1310
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1311
|
-
const contents = smithyClient.map({});
|
|
1312
|
-
const data = parsedOutput.body;
|
|
1313
|
-
const doc = smithyClient.take(data, {
|
|
1314
|
-
Code: smithyClient.expectString,
|
|
1315
|
-
Message: smithyClient.expectString,
|
|
1316
|
-
});
|
|
1317
|
-
Object.assign(contents, doc);
|
|
1318
|
-
const exception = new ServiceUnavailableException({
|
|
1319
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1320
|
-
...contents,
|
|
1321
|
-
});
|
|
1322
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1323
|
-
};
|
|
1324
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1325
|
-
const contents = smithyClient.map({});
|
|
1326
|
-
const data = parsedOutput.body;
|
|
1327
|
-
const doc = smithyClient.take(data, {
|
|
1328
|
-
Code: smithyClient.expectString,
|
|
1329
|
-
Message: smithyClient.expectString,
|
|
1330
|
-
});
|
|
1331
|
-
Object.assign(contents, doc);
|
|
1332
|
-
const exception = new TooManyRequestsException({
|
|
1333
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1334
|
-
...contents,
|
|
1335
|
-
});
|
|
1336
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1337
|
-
};
|
|
1338
|
-
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1339
|
-
const contents = smithyClient.map({});
|
|
1340
|
-
const data = parsedOutput.body;
|
|
1341
|
-
const doc = smithyClient.take(data, {
|
|
1342
|
-
Code: smithyClient.expectString,
|
|
1343
|
-
Message: smithyClient.expectString,
|
|
1344
|
-
});
|
|
1345
|
-
Object.assign(contents, doc);
|
|
1346
|
-
const exception = new UnauthorizedException({
|
|
1347
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1348
|
-
...contents,
|
|
1349
|
-
});
|
|
1350
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1351
|
-
};
|
|
1352
|
-
const de___listOfDiscovererSummary = (output, context) => {
|
|
1353
|
-
const retVal = (output || [])
|
|
1354
|
-
.filter((e) => e != null)
|
|
1355
|
-
.map((entry) => {
|
|
1356
|
-
return de_DiscovererSummary(entry);
|
|
1357
|
-
});
|
|
1358
|
-
return retVal;
|
|
1359
|
-
};
|
|
1360
|
-
const de___listOfRegistrySummary = (output, context) => {
|
|
1361
|
-
const retVal = (output || [])
|
|
1362
|
-
.filter((e) => e != null)
|
|
1363
|
-
.map((entry) => {
|
|
1364
|
-
return de_RegistrySummary(entry);
|
|
1365
|
-
});
|
|
1366
|
-
return retVal;
|
|
1367
|
-
};
|
|
1368
|
-
const de___listOfSchemaSummary = (output, context) => {
|
|
1369
|
-
const retVal = (output || [])
|
|
1370
|
-
.filter((e) => e != null)
|
|
1371
|
-
.map((entry) => {
|
|
1372
|
-
return de_SchemaSummary(entry);
|
|
1373
|
-
});
|
|
1374
|
-
return retVal;
|
|
1375
|
-
};
|
|
1376
|
-
const de___listOfSearchSchemaSummary = (output, context) => {
|
|
1377
|
-
const retVal = (output || [])
|
|
1378
|
-
.filter((e) => e != null)
|
|
1379
|
-
.map((entry) => {
|
|
1380
|
-
return de_SearchSchemaSummary(entry);
|
|
1381
|
-
});
|
|
1382
|
-
return retVal;
|
|
1383
|
-
};
|
|
1384
|
-
const de___listOfSearchSchemaVersionSummary = (output, context) => {
|
|
1385
|
-
const retVal = (output || [])
|
|
1386
|
-
.filter((e) => e != null)
|
|
1387
|
-
.map((entry) => {
|
|
1388
|
-
return de_SearchSchemaVersionSummary(entry);
|
|
1389
|
-
});
|
|
1390
|
-
return retVal;
|
|
1391
|
-
};
|
|
1392
|
-
const de_DiscovererSummary = (output, context) => {
|
|
1393
|
-
return smithyClient.take(output, {
|
|
1394
|
-
CrossAccount: smithyClient.expectBoolean,
|
|
1395
|
-
DiscovererArn: smithyClient.expectString,
|
|
1396
|
-
DiscovererId: smithyClient.expectString,
|
|
1397
|
-
SourceArn: smithyClient.expectString,
|
|
1398
|
-
State: smithyClient.expectString,
|
|
1399
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1400
|
-
});
|
|
1401
|
-
};
|
|
1402
|
-
const de_RegistrySummary = (output, context) => {
|
|
1403
|
-
return smithyClient.take(output, {
|
|
1404
|
-
RegistryArn: smithyClient.expectString,
|
|
1405
|
-
RegistryName: smithyClient.expectString,
|
|
1406
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1407
|
-
});
|
|
1408
|
-
};
|
|
1409
|
-
const de_SchemaSummary = (output, context) => {
|
|
1410
|
-
return smithyClient.take(output, {
|
|
1411
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1412
|
-
SchemaArn: smithyClient.expectString,
|
|
1413
|
-
SchemaName: smithyClient.expectString,
|
|
1414
|
-
Tags: [, smithyClient._json, `tags`],
|
|
1415
|
-
VersionCount: smithyClient.expectLong,
|
|
1416
|
-
});
|
|
1417
|
-
};
|
|
1418
|
-
const de_SearchSchemaSummary = (output, context) => {
|
|
1419
|
-
return smithyClient.take(output, {
|
|
1420
|
-
RegistryName: smithyClient.expectString,
|
|
1421
|
-
SchemaArn: smithyClient.expectString,
|
|
1422
|
-
SchemaName: smithyClient.expectString,
|
|
1423
|
-
SchemaVersions: (_) => de___listOfSearchSchemaVersionSummary(_),
|
|
1424
|
-
});
|
|
1425
|
-
};
|
|
1426
|
-
const de_SearchSchemaVersionSummary = (output, context) => {
|
|
1427
|
-
return smithyClient.take(output, {
|
|
1428
|
-
CreatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1429
|
-
SchemaVersion: smithyClient.expectString,
|
|
1430
|
-
Type: smithyClient.expectString,
|
|
1431
|
-
});
|
|
1432
|
-
};
|
|
1433
|
-
const deserializeMetadata = (output) => ({
|
|
1434
|
-
httpStatusCode: output.statusCode,
|
|
1435
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1436
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1437
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1438
|
-
});
|
|
294
|
+
|
|
295
|
+
const _B = "Body";
|
|
296
|
+
const _BRE = "BadRequestException";
|
|
297
|
+
const _C = "Code";
|
|
298
|
+
const _CA = "CrossAccount";
|
|
299
|
+
const _CD = "CreationDate";
|
|
300
|
+
const _CDR = "CreateDiscovererRequest";
|
|
301
|
+
const _CDRr = "CreateDiscovererResponse";
|
|
302
|
+
const _CDr = "CreatedDate";
|
|
303
|
+
const _CDre = "CreateDiscoverer";
|
|
304
|
+
const _CE = "ConflictException";
|
|
305
|
+
const _CR = "CreateRegistry";
|
|
306
|
+
const _CRR = "CreateRegistryRequest";
|
|
307
|
+
const _CRRr = "CreateRegistryResponse";
|
|
308
|
+
const _CS = "CreateSchema";
|
|
309
|
+
const _CSR = "CreateSchemaRequest";
|
|
310
|
+
const _CSRr = "CreateSchemaResponse";
|
|
311
|
+
const _CTI = "ClientTokenId";
|
|
312
|
+
const _Co = "Content";
|
|
313
|
+
const _D = "Description";
|
|
314
|
+
const _DA = "DiscovererArn";
|
|
315
|
+
const _DCB = "DescribeCodeBinding";
|
|
316
|
+
const _DCBR = "DescribeCodeBindingRequest";
|
|
317
|
+
const _DCBRe = "DescribeCodeBindingResponse";
|
|
318
|
+
const _DD = "DeleteDiscoverer";
|
|
319
|
+
const _DDR = "DeleteDiscovererRequest";
|
|
320
|
+
const _DDRe = "DescribeDiscovererRequest";
|
|
321
|
+
const _DDRes = "DescribeDiscovererResponse";
|
|
322
|
+
const _DDe = "DescribeDiscoverer";
|
|
323
|
+
const _DI = "DiscovererId";
|
|
1439
324
|
const _DIP = "DiscovererIdPrefix";
|
|
325
|
+
const _DR = "DeleteRegistry";
|
|
326
|
+
const _DRP = "DeleteResourcePolicy";
|
|
327
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
328
|
+
const _DRR = "DeleteRegistryRequest";
|
|
329
|
+
const _DRRe = "DescribeRegistryRequest";
|
|
330
|
+
const _DRRes = "DescribeRegistryResponse";
|
|
331
|
+
const _DRe = "DescribeRegistry";
|
|
332
|
+
const _DS = "DiscovererSummary";
|
|
333
|
+
const _DSR = "DeleteSchemaRequest";
|
|
334
|
+
const _DSRe = "DescribeSchemaRequest";
|
|
335
|
+
const _DSRes = "DescribeSchemaResponse";
|
|
336
|
+
const _DSV = "DeleteSchemaVersion";
|
|
337
|
+
const _DSVR = "DeleteSchemaVersionRequest";
|
|
338
|
+
const _DSe = "DeleteSchema";
|
|
339
|
+
const _DSes = "DescribeSchema";
|
|
340
|
+
const _Di = "Discoverers";
|
|
341
|
+
const _E = "Events";
|
|
342
|
+
const _ES = "ExportSchema";
|
|
343
|
+
const _ESR = "ExportSchemaRequest";
|
|
344
|
+
const _ESRx = "ExportSchemaResponse";
|
|
345
|
+
const _FE = "ForbiddenException";
|
|
346
|
+
const _GCBS = "GetCodeBindingSource";
|
|
347
|
+
const _GCBSR = "GetCodeBindingSourceRequest";
|
|
348
|
+
const _GCBSRe = "GetCodeBindingSourceResponse";
|
|
349
|
+
const _GDS = "GetDiscoveredSchema";
|
|
350
|
+
const _GDSR = "GetDiscoveredSchemaRequest";
|
|
351
|
+
const _GDSRe = "GetDiscoveredSchemaResponse";
|
|
352
|
+
const _GE = "GoneException";
|
|
353
|
+
const _GRP = "GetResourcePolicy";
|
|
354
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
355
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
356
|
+
const _ISEE = "InternalServerErrorException";
|
|
1440
357
|
const _K = "Keywords";
|
|
1441
|
-
const _L = "
|
|
358
|
+
const _L = "Language";
|
|
359
|
+
const _LD = "ListDiscoverers";
|
|
360
|
+
const _LDR = "ListDiscoverersRequest";
|
|
361
|
+
const _LDRi = "ListDiscoverersResponse";
|
|
362
|
+
const _LM = "LastModified";
|
|
363
|
+
const _LR = "ListRegistries";
|
|
364
|
+
const _LRR = "ListRegistriesRequest";
|
|
365
|
+
const _LRRi = "ListRegistriesResponse";
|
|
366
|
+
const _LS = "ListSchemas";
|
|
367
|
+
const _LSR = "ListSchemasRequest";
|
|
368
|
+
const _LSRi = "ListSchemasResponse";
|
|
369
|
+
const _LSV = "ListSchemaVersions";
|
|
370
|
+
const _LSVR = "ListSchemaVersionsRequest";
|
|
371
|
+
const _LSVRi = "ListSchemaVersionsResponse";
|
|
372
|
+
const _LTFR = "ListTagsForResource";
|
|
373
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
374
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
375
|
+
const _Li = "Limit";
|
|
376
|
+
const _M = "Message";
|
|
377
|
+
const _NFE = "NotFoundException";
|
|
1442
378
|
const _NT = "NextToken";
|
|
379
|
+
const _P = "Policy";
|
|
380
|
+
const _PCB = "PutCodeBinding";
|
|
381
|
+
const _PCBR = "PutCodeBindingRequest";
|
|
382
|
+
const _PCBRu = "PutCodeBindingResponse";
|
|
383
|
+
const _PFE = "PreconditionFailedException";
|
|
384
|
+
const _PRP = "PutResourcePolicy";
|
|
385
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
386
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
387
|
+
const _R = "Registries";
|
|
388
|
+
const _RA = "RegistryArn";
|
|
389
|
+
const _RAe = "ResourceArn";
|
|
390
|
+
const _RI = "RevisionId";
|
|
1443
391
|
const _RN = "RegistryName";
|
|
1444
392
|
const _RNP = "RegistryNamePrefix";
|
|
1445
|
-
const
|
|
393
|
+
const _RS = "RegistrySummary";
|
|
394
|
+
const _S = "State";
|
|
395
|
+
const _SA = "SourceArn";
|
|
1446
396
|
const _SAP = "SourceArnPrefix";
|
|
397
|
+
const _SAc = "SchemaArn";
|
|
398
|
+
const _SD = "StartDiscoverer";
|
|
399
|
+
const _SDR = "StartDiscovererRequest";
|
|
400
|
+
const _SDRt = "StartDiscovererResponse";
|
|
401
|
+
const _SDRto = "StopDiscovererRequest";
|
|
402
|
+
const _SDRtop = "StopDiscovererResponse";
|
|
403
|
+
const _SDt = "StopDiscoverer";
|
|
404
|
+
const _SN = "SchemaName";
|
|
1447
405
|
const _SNP = "SchemaNamePrefix";
|
|
406
|
+
const _SS = "SchemaSummary";
|
|
407
|
+
const _SSR = "SearchSchemasRequest";
|
|
408
|
+
const _SSRe = "SearchSchemasResponse";
|
|
409
|
+
const _SSS = "SearchSchemaSummary";
|
|
410
|
+
const _SSVS = "SearchSchemaVersionSummary";
|
|
411
|
+
const _SSe = "SearchSchemas";
|
|
412
|
+
const _SUE = "ServiceUnavailableException";
|
|
1448
413
|
const _SV = "SchemaVersion";
|
|
1449
|
-
const
|
|
414
|
+
const _SVS = "SchemaVersionSummary";
|
|
415
|
+
const _SVc = "SchemaVersions";
|
|
416
|
+
const _Sc = "Scope";
|
|
417
|
+
const _Sch = "Schemas";
|
|
418
|
+
const _Ss = "SynthesizedJson__string";
|
|
419
|
+
const _St = "Status";
|
|
420
|
+
const _T = "Tags";
|
|
1450
421
|
const _TK = "TagKeys";
|
|
422
|
+
const _TMRE = "TooManyRequestsException";
|
|
423
|
+
const _TR = "TagResource";
|
|
424
|
+
const _TRR = "TagResourceRequest";
|
|
425
|
+
const _Ty = "Type";
|
|
426
|
+
const _UD = "UpdateDiscoverer";
|
|
427
|
+
const _UDR = "UpdateDiscovererRequest";
|
|
428
|
+
const _UDRp = "UpdateDiscovererResponse";
|
|
429
|
+
const _UE = "UnauthorizedException";
|
|
430
|
+
const _UR = "UntagResource";
|
|
431
|
+
const _URR = "UntagResourceRequest";
|
|
432
|
+
const _URRp = "UpdateRegistryRequest";
|
|
433
|
+
const _URRpd = "UpdateRegistryResponse";
|
|
434
|
+
const _URp = "UpdateRegistry";
|
|
435
|
+
const _US = "UpdateSchema";
|
|
436
|
+
const _USR = "UpdateSchemaRequest";
|
|
437
|
+
const _USRp = "UpdateSchemaResponse";
|
|
438
|
+
const _VC = "VersionCount";
|
|
439
|
+
const _VCD = "VersionCreatedDate";
|
|
440
|
+
const _a = "application/json";
|
|
441
|
+
const _c = "client";
|
|
1451
442
|
const _dIP = "discovererIdPrefix";
|
|
443
|
+
const _e = "error";
|
|
444
|
+
const _h = "http";
|
|
445
|
+
const _hE = "httpError";
|
|
446
|
+
const _hQ = "httpQuery";
|
|
447
|
+
const _jN = "jsonName";
|
|
1452
448
|
const _k = "keywords";
|
|
1453
449
|
const _l = "limit";
|
|
450
|
+
const _lODS = "__listOfDiscovererSummary";
|
|
451
|
+
const _lORS = "__listOfRegistrySummary";
|
|
452
|
+
const _lOSS = "__listOfSchemaSummary";
|
|
453
|
+
const _lOSSS = "__listOfSearchSchemaSummary";
|
|
454
|
+
const _lOSSVS = "__listOfSearchSchemaVersionSummary";
|
|
455
|
+
const _lOSVS = "__listOfSchemaVersionSummary";
|
|
456
|
+
const _mT = "mediaType";
|
|
1454
457
|
const _nT = "nextToken";
|
|
1455
458
|
const _rN = "registryName";
|
|
1456
459
|
const _rNP = "registryNamePrefix";
|
|
1457
|
-
const _s = "
|
|
460
|
+
const _s = "server";
|
|
1458
461
|
const _sAP = "sourceArnPrefix";
|
|
1459
462
|
const _sNP = "schemaNamePrefix";
|
|
1460
463
|
const _sV = "schemaVersion";
|
|
1461
|
-
const
|
|
464
|
+
const _sc = "scope";
|
|
465
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.schemas";
|
|
466
|
+
const _t = "tags";
|
|
1462
467
|
const _tK = "tagKeys";
|
|
468
|
+
const _ty = "type";
|
|
469
|
+
const n0 = "com.amazonaws.schemas";
|
|
470
|
+
var SynthesizedJson__string = [
|
|
471
|
+
0,
|
|
472
|
+
n0,
|
|
473
|
+
_Ss,
|
|
474
|
+
{
|
|
475
|
+
[_mT]: _a,
|
|
476
|
+
},
|
|
477
|
+
0,
|
|
478
|
+
];
|
|
479
|
+
var BadRequestException = [
|
|
480
|
+
-3,
|
|
481
|
+
n0,
|
|
482
|
+
_BRE,
|
|
483
|
+
{
|
|
484
|
+
[_e]: _c,
|
|
485
|
+
[_hE]: 400,
|
|
486
|
+
},
|
|
487
|
+
[_C, _M],
|
|
488
|
+
[0, 0],
|
|
489
|
+
];
|
|
490
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
491
|
+
var ConflictException = [
|
|
492
|
+
-3,
|
|
493
|
+
n0,
|
|
494
|
+
_CE,
|
|
495
|
+
{
|
|
496
|
+
[_e]: _c,
|
|
497
|
+
[_hE]: 409,
|
|
498
|
+
},
|
|
499
|
+
[_C, _M],
|
|
500
|
+
[0, 0],
|
|
501
|
+
];
|
|
502
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
503
|
+
var CreateDiscovererRequest = [
|
|
504
|
+
3,
|
|
505
|
+
n0,
|
|
506
|
+
_CDR,
|
|
507
|
+
0,
|
|
508
|
+
[_D, _SA, _CA, _T],
|
|
509
|
+
[
|
|
510
|
+
0,
|
|
511
|
+
0,
|
|
512
|
+
2,
|
|
513
|
+
[
|
|
514
|
+
128 | 0,
|
|
515
|
+
{
|
|
516
|
+
[_jN]: _t,
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
],
|
|
520
|
+
];
|
|
521
|
+
var CreateDiscovererResponse = [
|
|
522
|
+
3,
|
|
523
|
+
n0,
|
|
524
|
+
_CDRr,
|
|
525
|
+
0,
|
|
526
|
+
[_D, _DA, _DI, _SA, _S, _CA, _T],
|
|
527
|
+
[
|
|
528
|
+
0,
|
|
529
|
+
0,
|
|
530
|
+
0,
|
|
531
|
+
0,
|
|
532
|
+
0,
|
|
533
|
+
2,
|
|
534
|
+
[
|
|
535
|
+
128 | 0,
|
|
536
|
+
{
|
|
537
|
+
[_jN]: _t,
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
],
|
|
541
|
+
];
|
|
542
|
+
var CreateRegistryRequest = [
|
|
543
|
+
3,
|
|
544
|
+
n0,
|
|
545
|
+
_CRR,
|
|
546
|
+
0,
|
|
547
|
+
[_D, _RN, _T],
|
|
548
|
+
[
|
|
549
|
+
0,
|
|
550
|
+
[0, 1],
|
|
551
|
+
[
|
|
552
|
+
128 | 0,
|
|
553
|
+
{
|
|
554
|
+
[_jN]: _t,
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
],
|
|
558
|
+
];
|
|
559
|
+
var CreateRegistryResponse = [
|
|
560
|
+
3,
|
|
561
|
+
n0,
|
|
562
|
+
_CRRr,
|
|
563
|
+
0,
|
|
564
|
+
[_D, _RA, _RN, _T],
|
|
565
|
+
[
|
|
566
|
+
0,
|
|
567
|
+
0,
|
|
568
|
+
0,
|
|
569
|
+
[
|
|
570
|
+
128 | 0,
|
|
571
|
+
{
|
|
572
|
+
[_jN]: _t,
|
|
573
|
+
},
|
|
574
|
+
],
|
|
575
|
+
],
|
|
576
|
+
];
|
|
577
|
+
var CreateSchemaRequest = [
|
|
578
|
+
3,
|
|
579
|
+
n0,
|
|
580
|
+
_CSR,
|
|
581
|
+
0,
|
|
582
|
+
[_Co, _D, _RN, _SN, _T, _Ty],
|
|
583
|
+
[
|
|
584
|
+
0,
|
|
585
|
+
0,
|
|
586
|
+
[0, 1],
|
|
587
|
+
[0, 1],
|
|
588
|
+
[
|
|
589
|
+
128 | 0,
|
|
590
|
+
{
|
|
591
|
+
[_jN]: _t,
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
0,
|
|
595
|
+
],
|
|
596
|
+
];
|
|
597
|
+
var CreateSchemaResponse = [
|
|
598
|
+
3,
|
|
599
|
+
n0,
|
|
600
|
+
_CSRr,
|
|
601
|
+
0,
|
|
602
|
+
[_D, _LM, _SAc, _SN, _SV, _T, _Ty, _VCD],
|
|
603
|
+
[
|
|
604
|
+
0,
|
|
605
|
+
5,
|
|
606
|
+
0,
|
|
607
|
+
0,
|
|
608
|
+
0,
|
|
609
|
+
[
|
|
610
|
+
128 | 0,
|
|
611
|
+
{
|
|
612
|
+
[_jN]: _t,
|
|
613
|
+
},
|
|
614
|
+
],
|
|
615
|
+
0,
|
|
616
|
+
5,
|
|
617
|
+
],
|
|
618
|
+
];
|
|
619
|
+
var DeleteDiscovererRequest = [3, n0, _DDR, 0, [_DI], [[0, 1]]];
|
|
620
|
+
var DeleteRegistryRequest = [3, n0, _DRR, 0, [_RN], [[0, 1]]];
|
|
621
|
+
var DeleteResourcePolicyRequest = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_DRPR,
|
|
625
|
+
0,
|
|
626
|
+
[_RN],
|
|
627
|
+
[
|
|
628
|
+
[
|
|
629
|
+
0,
|
|
630
|
+
{
|
|
631
|
+
[_hQ]: _rN,
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
],
|
|
635
|
+
];
|
|
636
|
+
var DeleteSchemaRequest = [
|
|
637
|
+
3,
|
|
638
|
+
n0,
|
|
639
|
+
_DSR,
|
|
640
|
+
0,
|
|
641
|
+
[_RN, _SN],
|
|
642
|
+
[
|
|
643
|
+
[0, 1],
|
|
644
|
+
[0, 1],
|
|
645
|
+
],
|
|
646
|
+
];
|
|
647
|
+
var DeleteSchemaVersionRequest = [
|
|
648
|
+
3,
|
|
649
|
+
n0,
|
|
650
|
+
_DSVR,
|
|
651
|
+
0,
|
|
652
|
+
[_RN, _SN, _SV],
|
|
653
|
+
[
|
|
654
|
+
[0, 1],
|
|
655
|
+
[0, 1],
|
|
656
|
+
[0, 1],
|
|
657
|
+
],
|
|
658
|
+
];
|
|
659
|
+
var DescribeCodeBindingRequest = [
|
|
660
|
+
3,
|
|
661
|
+
n0,
|
|
662
|
+
_DCBR,
|
|
663
|
+
0,
|
|
664
|
+
[_L, _RN, _SN, _SV],
|
|
665
|
+
[
|
|
666
|
+
[0, 1],
|
|
667
|
+
[0, 1],
|
|
668
|
+
[0, 1],
|
|
669
|
+
[
|
|
670
|
+
0,
|
|
671
|
+
{
|
|
672
|
+
[_hQ]: _sV,
|
|
673
|
+
},
|
|
674
|
+
],
|
|
675
|
+
],
|
|
676
|
+
];
|
|
677
|
+
var DescribeCodeBindingResponse = [3, n0, _DCBRe, 0, [_CD, _LM, _SV, _St], [5, 5, 0, 0]];
|
|
678
|
+
var DescribeDiscovererRequest = [3, n0, _DDRe, 0, [_DI], [[0, 1]]];
|
|
679
|
+
var DescribeDiscovererResponse = [
|
|
680
|
+
3,
|
|
681
|
+
n0,
|
|
682
|
+
_DDRes,
|
|
683
|
+
0,
|
|
684
|
+
[_D, _DA, _DI, _SA, _S, _CA, _T],
|
|
685
|
+
[
|
|
686
|
+
0,
|
|
687
|
+
0,
|
|
688
|
+
0,
|
|
689
|
+
0,
|
|
690
|
+
0,
|
|
691
|
+
2,
|
|
692
|
+
[
|
|
693
|
+
128 | 0,
|
|
694
|
+
{
|
|
695
|
+
[_jN]: _t,
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
],
|
|
699
|
+
];
|
|
700
|
+
var DescribeRegistryRequest = [3, n0, _DRRe, 0, [_RN], [[0, 1]]];
|
|
701
|
+
var DescribeRegistryResponse = [
|
|
702
|
+
3,
|
|
703
|
+
n0,
|
|
704
|
+
_DRRes,
|
|
705
|
+
0,
|
|
706
|
+
[_D, _RA, _RN, _T],
|
|
707
|
+
[
|
|
708
|
+
0,
|
|
709
|
+
0,
|
|
710
|
+
0,
|
|
711
|
+
[
|
|
712
|
+
128 | 0,
|
|
713
|
+
{
|
|
714
|
+
[_jN]: _t,
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
],
|
|
718
|
+
];
|
|
719
|
+
var DescribeSchemaRequest = [
|
|
720
|
+
3,
|
|
721
|
+
n0,
|
|
722
|
+
_DSRe,
|
|
723
|
+
0,
|
|
724
|
+
[_RN, _SN, _SV],
|
|
725
|
+
[
|
|
726
|
+
[0, 1],
|
|
727
|
+
[0, 1],
|
|
728
|
+
[
|
|
729
|
+
0,
|
|
730
|
+
{
|
|
731
|
+
[_hQ]: _sV,
|
|
732
|
+
},
|
|
733
|
+
],
|
|
734
|
+
],
|
|
735
|
+
];
|
|
736
|
+
var DescribeSchemaResponse = [
|
|
737
|
+
3,
|
|
738
|
+
n0,
|
|
739
|
+
_DSRes,
|
|
740
|
+
0,
|
|
741
|
+
[_Co, _D, _LM, _SAc, _SN, _SV, _T, _Ty, _VCD],
|
|
742
|
+
[
|
|
743
|
+
0,
|
|
744
|
+
0,
|
|
745
|
+
5,
|
|
746
|
+
0,
|
|
747
|
+
0,
|
|
748
|
+
0,
|
|
749
|
+
[
|
|
750
|
+
128 | 0,
|
|
751
|
+
{
|
|
752
|
+
[_jN]: _t,
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
0,
|
|
756
|
+
5,
|
|
757
|
+
],
|
|
758
|
+
];
|
|
759
|
+
var DiscovererSummary = [
|
|
760
|
+
3,
|
|
761
|
+
n0,
|
|
762
|
+
_DS,
|
|
763
|
+
0,
|
|
764
|
+
[_DA, _DI, _SA, _S, _CA, _T],
|
|
765
|
+
[
|
|
766
|
+
0,
|
|
767
|
+
0,
|
|
768
|
+
0,
|
|
769
|
+
0,
|
|
770
|
+
2,
|
|
771
|
+
[
|
|
772
|
+
128 | 0,
|
|
773
|
+
{
|
|
774
|
+
[_jN]: _t,
|
|
775
|
+
},
|
|
776
|
+
],
|
|
777
|
+
],
|
|
778
|
+
];
|
|
779
|
+
var ExportSchemaRequest = [
|
|
780
|
+
3,
|
|
781
|
+
n0,
|
|
782
|
+
_ESR,
|
|
783
|
+
0,
|
|
784
|
+
[_RN, _SN, _SV, _Ty],
|
|
785
|
+
[
|
|
786
|
+
[0, 1],
|
|
787
|
+
[0, 1],
|
|
788
|
+
[
|
|
789
|
+
0,
|
|
790
|
+
{
|
|
791
|
+
[_hQ]: _sV,
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
[
|
|
795
|
+
0,
|
|
796
|
+
{
|
|
797
|
+
[_hQ]: _ty,
|
|
798
|
+
},
|
|
799
|
+
],
|
|
800
|
+
],
|
|
801
|
+
];
|
|
802
|
+
var ExportSchemaResponse = [3, n0, _ESRx, 0, [_Co, _SAc, _SN, _SV, _Ty], [0, 0, 0, 0, 0]];
|
|
803
|
+
var ForbiddenException = [
|
|
804
|
+
-3,
|
|
805
|
+
n0,
|
|
806
|
+
_FE,
|
|
807
|
+
{
|
|
808
|
+
[_e]: _c,
|
|
809
|
+
[_hE]: 403,
|
|
810
|
+
},
|
|
811
|
+
[_C, _M],
|
|
812
|
+
[0, 0],
|
|
813
|
+
];
|
|
814
|
+
schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
|
|
815
|
+
var GetCodeBindingSourceRequest = [
|
|
816
|
+
3,
|
|
817
|
+
n0,
|
|
818
|
+
_GCBSR,
|
|
819
|
+
0,
|
|
820
|
+
[_L, _RN, _SN, _SV],
|
|
821
|
+
[
|
|
822
|
+
[0, 1],
|
|
823
|
+
[0, 1],
|
|
824
|
+
[0, 1],
|
|
825
|
+
[
|
|
826
|
+
0,
|
|
827
|
+
{
|
|
828
|
+
[_hQ]: _sV,
|
|
829
|
+
},
|
|
830
|
+
],
|
|
831
|
+
],
|
|
832
|
+
];
|
|
833
|
+
var GetCodeBindingSourceResponse = [3, n0, _GCBSRe, 0, [_B], [[21, 16]]];
|
|
834
|
+
var GetDiscoveredSchemaRequest = [3, n0, _GDSR, 0, [_E, _Ty], [64 | 0, 0]];
|
|
835
|
+
var GetDiscoveredSchemaResponse = [3, n0, _GDSRe, 0, [_Co], [0]];
|
|
836
|
+
var GetResourcePolicyRequest = [
|
|
837
|
+
3,
|
|
838
|
+
n0,
|
|
839
|
+
_GRPR,
|
|
840
|
+
0,
|
|
841
|
+
[_RN],
|
|
842
|
+
[
|
|
843
|
+
[
|
|
844
|
+
0,
|
|
845
|
+
{
|
|
846
|
+
[_hQ]: _rN,
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
],
|
|
850
|
+
];
|
|
851
|
+
var GetResourcePolicyResponse = [
|
|
852
|
+
3,
|
|
853
|
+
n0,
|
|
854
|
+
_GRPRe,
|
|
855
|
+
0,
|
|
856
|
+
[_P, _RI],
|
|
857
|
+
[[() => SynthesizedJson__string, 0], 0],
|
|
858
|
+
];
|
|
859
|
+
var GoneException = [
|
|
860
|
+
-3,
|
|
861
|
+
n0,
|
|
862
|
+
_GE,
|
|
863
|
+
{
|
|
864
|
+
[_e]: _c,
|
|
865
|
+
[_hE]: 410,
|
|
866
|
+
},
|
|
867
|
+
[_C, _M],
|
|
868
|
+
[0, 0],
|
|
869
|
+
];
|
|
870
|
+
schema.TypeRegistry.for(n0).registerError(GoneException, GoneException$1);
|
|
871
|
+
var InternalServerErrorException = [
|
|
872
|
+
-3,
|
|
873
|
+
n0,
|
|
874
|
+
_ISEE,
|
|
875
|
+
{
|
|
876
|
+
[_e]: _s,
|
|
877
|
+
[_hE]: 500,
|
|
878
|
+
},
|
|
879
|
+
[_C, _M],
|
|
880
|
+
[0, 0],
|
|
881
|
+
];
|
|
882
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
|
|
883
|
+
var ListDiscoverersRequest = [
|
|
884
|
+
3,
|
|
885
|
+
n0,
|
|
886
|
+
_LDR,
|
|
887
|
+
0,
|
|
888
|
+
[_DIP, _Li, _NT, _SAP],
|
|
889
|
+
[
|
|
890
|
+
[
|
|
891
|
+
0,
|
|
892
|
+
{
|
|
893
|
+
[_hQ]: _dIP,
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
[
|
|
897
|
+
1,
|
|
898
|
+
{
|
|
899
|
+
[_hQ]: _l,
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
[
|
|
903
|
+
0,
|
|
904
|
+
{
|
|
905
|
+
[_hQ]: _nT,
|
|
906
|
+
},
|
|
907
|
+
],
|
|
908
|
+
[
|
|
909
|
+
0,
|
|
910
|
+
{
|
|
911
|
+
[_hQ]: _sAP,
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
],
|
|
915
|
+
];
|
|
916
|
+
var ListDiscoverersResponse = [
|
|
917
|
+
3,
|
|
918
|
+
n0,
|
|
919
|
+
_LDRi,
|
|
920
|
+
0,
|
|
921
|
+
[_Di, _NT],
|
|
922
|
+
[[() => __listOfDiscovererSummary, 0], 0],
|
|
923
|
+
];
|
|
924
|
+
var ListRegistriesRequest = [
|
|
925
|
+
3,
|
|
926
|
+
n0,
|
|
927
|
+
_LRR,
|
|
928
|
+
0,
|
|
929
|
+
[_Li, _NT, _RNP, _Sc],
|
|
930
|
+
[
|
|
931
|
+
[
|
|
932
|
+
1,
|
|
933
|
+
{
|
|
934
|
+
[_hQ]: _l,
|
|
935
|
+
},
|
|
936
|
+
],
|
|
937
|
+
[
|
|
938
|
+
0,
|
|
939
|
+
{
|
|
940
|
+
[_hQ]: _nT,
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
[
|
|
944
|
+
0,
|
|
945
|
+
{
|
|
946
|
+
[_hQ]: _rNP,
|
|
947
|
+
},
|
|
948
|
+
],
|
|
949
|
+
[
|
|
950
|
+
0,
|
|
951
|
+
{
|
|
952
|
+
[_hQ]: _sc,
|
|
953
|
+
},
|
|
954
|
+
],
|
|
955
|
+
],
|
|
956
|
+
];
|
|
957
|
+
var ListRegistriesResponse = [
|
|
958
|
+
3,
|
|
959
|
+
n0,
|
|
960
|
+
_LRRi,
|
|
961
|
+
0,
|
|
962
|
+
[_NT, _R],
|
|
963
|
+
[0, [() => __listOfRegistrySummary, 0]],
|
|
964
|
+
];
|
|
965
|
+
var ListSchemasRequest = [
|
|
966
|
+
3,
|
|
967
|
+
n0,
|
|
968
|
+
_LSR,
|
|
969
|
+
0,
|
|
970
|
+
[_Li, _NT, _RN, _SNP],
|
|
971
|
+
[
|
|
972
|
+
[
|
|
973
|
+
1,
|
|
974
|
+
{
|
|
975
|
+
[_hQ]: _l,
|
|
976
|
+
},
|
|
977
|
+
],
|
|
978
|
+
[
|
|
979
|
+
0,
|
|
980
|
+
{
|
|
981
|
+
[_hQ]: _nT,
|
|
982
|
+
},
|
|
983
|
+
],
|
|
984
|
+
[0, 1],
|
|
985
|
+
[
|
|
986
|
+
0,
|
|
987
|
+
{
|
|
988
|
+
[_hQ]: _sNP,
|
|
989
|
+
},
|
|
990
|
+
],
|
|
991
|
+
],
|
|
992
|
+
];
|
|
993
|
+
var ListSchemasResponse = [
|
|
994
|
+
3,
|
|
995
|
+
n0,
|
|
996
|
+
_LSRi,
|
|
997
|
+
0,
|
|
998
|
+
[_NT, _Sch],
|
|
999
|
+
[0, [() => __listOfSchemaSummary, 0]],
|
|
1000
|
+
];
|
|
1001
|
+
var ListSchemaVersionsRequest = [
|
|
1002
|
+
3,
|
|
1003
|
+
n0,
|
|
1004
|
+
_LSVR,
|
|
1005
|
+
0,
|
|
1006
|
+
[_Li, _NT, _RN, _SN],
|
|
1007
|
+
[
|
|
1008
|
+
[
|
|
1009
|
+
1,
|
|
1010
|
+
{
|
|
1011
|
+
[_hQ]: _l,
|
|
1012
|
+
},
|
|
1013
|
+
],
|
|
1014
|
+
[
|
|
1015
|
+
0,
|
|
1016
|
+
{
|
|
1017
|
+
[_hQ]: _nT,
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
[0, 1],
|
|
1021
|
+
[0, 1],
|
|
1022
|
+
],
|
|
1023
|
+
];
|
|
1024
|
+
var ListSchemaVersionsResponse = [
|
|
1025
|
+
3,
|
|
1026
|
+
n0,
|
|
1027
|
+
_LSVRi,
|
|
1028
|
+
0,
|
|
1029
|
+
[_NT, _SVc],
|
|
1030
|
+
[0, () => __listOfSchemaVersionSummary],
|
|
1031
|
+
];
|
|
1032
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
|
|
1033
|
+
var ListTagsForResourceResponse = [
|
|
1034
|
+
3,
|
|
1035
|
+
n0,
|
|
1036
|
+
_LTFRRi,
|
|
1037
|
+
0,
|
|
1038
|
+
[_T],
|
|
1039
|
+
[
|
|
1040
|
+
[
|
|
1041
|
+
128 | 0,
|
|
1042
|
+
{
|
|
1043
|
+
[_jN]: _t,
|
|
1044
|
+
},
|
|
1045
|
+
],
|
|
1046
|
+
],
|
|
1047
|
+
];
|
|
1048
|
+
var NotFoundException = [
|
|
1049
|
+
-3,
|
|
1050
|
+
n0,
|
|
1051
|
+
_NFE,
|
|
1052
|
+
{
|
|
1053
|
+
[_e]: _c,
|
|
1054
|
+
[_hE]: 404,
|
|
1055
|
+
},
|
|
1056
|
+
[_C, _M],
|
|
1057
|
+
[0, 0],
|
|
1058
|
+
];
|
|
1059
|
+
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
1060
|
+
var PreconditionFailedException = [
|
|
1061
|
+
-3,
|
|
1062
|
+
n0,
|
|
1063
|
+
_PFE,
|
|
1064
|
+
{
|
|
1065
|
+
[_e]: _c,
|
|
1066
|
+
[_hE]: 412,
|
|
1067
|
+
},
|
|
1068
|
+
[_C, _M],
|
|
1069
|
+
[0, 0],
|
|
1070
|
+
];
|
|
1071
|
+
schema.TypeRegistry.for(n0).registerError(PreconditionFailedException, PreconditionFailedException$1);
|
|
1072
|
+
var PutCodeBindingRequest = [
|
|
1073
|
+
3,
|
|
1074
|
+
n0,
|
|
1075
|
+
_PCBR,
|
|
1076
|
+
0,
|
|
1077
|
+
[_L, _RN, _SN, _SV],
|
|
1078
|
+
[
|
|
1079
|
+
[0, 1],
|
|
1080
|
+
[0, 1],
|
|
1081
|
+
[0, 1],
|
|
1082
|
+
[
|
|
1083
|
+
0,
|
|
1084
|
+
{
|
|
1085
|
+
[_hQ]: _sV,
|
|
1086
|
+
},
|
|
1087
|
+
],
|
|
1088
|
+
],
|
|
1089
|
+
];
|
|
1090
|
+
var PutCodeBindingResponse = [3, n0, _PCBRu, 0, [_CD, _LM, _SV, _St], [5, 5, 0, 0]];
|
|
1091
|
+
var PutResourcePolicyRequest = [
|
|
1092
|
+
3,
|
|
1093
|
+
n0,
|
|
1094
|
+
_PRPR,
|
|
1095
|
+
0,
|
|
1096
|
+
[_P, _RN, _RI],
|
|
1097
|
+
[
|
|
1098
|
+
[() => SynthesizedJson__string, 0],
|
|
1099
|
+
[
|
|
1100
|
+
0,
|
|
1101
|
+
{
|
|
1102
|
+
[_hQ]: _rN,
|
|
1103
|
+
},
|
|
1104
|
+
],
|
|
1105
|
+
0,
|
|
1106
|
+
],
|
|
1107
|
+
];
|
|
1108
|
+
var PutResourcePolicyResponse = [
|
|
1109
|
+
3,
|
|
1110
|
+
n0,
|
|
1111
|
+
_PRPRu,
|
|
1112
|
+
0,
|
|
1113
|
+
[_P, _RI],
|
|
1114
|
+
[[() => SynthesizedJson__string, 0], 0],
|
|
1115
|
+
];
|
|
1116
|
+
var RegistrySummary = [
|
|
1117
|
+
3,
|
|
1118
|
+
n0,
|
|
1119
|
+
_RS,
|
|
1120
|
+
0,
|
|
1121
|
+
[_RA, _RN, _T],
|
|
1122
|
+
[
|
|
1123
|
+
0,
|
|
1124
|
+
0,
|
|
1125
|
+
[
|
|
1126
|
+
128 | 0,
|
|
1127
|
+
{
|
|
1128
|
+
[_jN]: _t,
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1131
|
+
],
|
|
1132
|
+
];
|
|
1133
|
+
var SchemaSummary = [
|
|
1134
|
+
3,
|
|
1135
|
+
n0,
|
|
1136
|
+
_SS,
|
|
1137
|
+
0,
|
|
1138
|
+
[_LM, _SAc, _SN, _T, _VC],
|
|
1139
|
+
[
|
|
1140
|
+
5,
|
|
1141
|
+
0,
|
|
1142
|
+
0,
|
|
1143
|
+
[
|
|
1144
|
+
128 | 0,
|
|
1145
|
+
{
|
|
1146
|
+
[_jN]: _t,
|
|
1147
|
+
},
|
|
1148
|
+
],
|
|
1149
|
+
1,
|
|
1150
|
+
],
|
|
1151
|
+
];
|
|
1152
|
+
var SchemaVersionSummary = [3, n0, _SVS, 0, [_SAc, _SN, _SV, _Ty], [0, 0, 0, 0]];
|
|
1153
|
+
var SearchSchemasRequest = [
|
|
1154
|
+
3,
|
|
1155
|
+
n0,
|
|
1156
|
+
_SSR,
|
|
1157
|
+
0,
|
|
1158
|
+
[_K, _Li, _NT, _RN],
|
|
1159
|
+
[
|
|
1160
|
+
[
|
|
1161
|
+
0,
|
|
1162
|
+
{
|
|
1163
|
+
[_hQ]: _k,
|
|
1164
|
+
},
|
|
1165
|
+
],
|
|
1166
|
+
[
|
|
1167
|
+
1,
|
|
1168
|
+
{
|
|
1169
|
+
[_hQ]: _l,
|
|
1170
|
+
},
|
|
1171
|
+
],
|
|
1172
|
+
[
|
|
1173
|
+
0,
|
|
1174
|
+
{
|
|
1175
|
+
[_hQ]: _nT,
|
|
1176
|
+
},
|
|
1177
|
+
],
|
|
1178
|
+
[0, 1],
|
|
1179
|
+
],
|
|
1180
|
+
];
|
|
1181
|
+
var SearchSchemasResponse = [
|
|
1182
|
+
3,
|
|
1183
|
+
n0,
|
|
1184
|
+
_SSRe,
|
|
1185
|
+
0,
|
|
1186
|
+
[_NT, _Sch],
|
|
1187
|
+
[0, () => __listOfSearchSchemaSummary],
|
|
1188
|
+
];
|
|
1189
|
+
var SearchSchemaSummary = [
|
|
1190
|
+
3,
|
|
1191
|
+
n0,
|
|
1192
|
+
_SSS,
|
|
1193
|
+
0,
|
|
1194
|
+
[_RN, _SAc, _SN, _SVc],
|
|
1195
|
+
[0, 0, 0, () => __listOfSearchSchemaVersionSummary],
|
|
1196
|
+
];
|
|
1197
|
+
var SearchSchemaVersionSummary = [3, n0, _SSVS, 0, [_CDr, _SV, _Ty], [5, 0, 0]];
|
|
1198
|
+
var ServiceUnavailableException = [
|
|
1199
|
+
-3,
|
|
1200
|
+
n0,
|
|
1201
|
+
_SUE,
|
|
1202
|
+
{
|
|
1203
|
+
[_e]: _s,
|
|
1204
|
+
[_hE]: 503,
|
|
1205
|
+
},
|
|
1206
|
+
[_C, _M],
|
|
1207
|
+
[0, 0],
|
|
1208
|
+
];
|
|
1209
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
1210
|
+
var StartDiscovererRequest = [3, n0, _SDR, 0, [_DI], [[0, 1]]];
|
|
1211
|
+
var StartDiscovererResponse = [3, n0, _SDRt, 0, [_DI, _S], [0, 0]];
|
|
1212
|
+
var StopDiscovererRequest = [3, n0, _SDRto, 0, [_DI], [[0, 1]]];
|
|
1213
|
+
var StopDiscovererResponse = [3, n0, _SDRtop, 0, [_DI, _S], [0, 0]];
|
|
1214
|
+
var TagResourceRequest = [
|
|
1215
|
+
3,
|
|
1216
|
+
n0,
|
|
1217
|
+
_TRR,
|
|
1218
|
+
0,
|
|
1219
|
+
[_RAe, _T],
|
|
1220
|
+
[
|
|
1221
|
+
[0, 1],
|
|
1222
|
+
[
|
|
1223
|
+
128 | 0,
|
|
1224
|
+
{
|
|
1225
|
+
[_jN]: _t,
|
|
1226
|
+
},
|
|
1227
|
+
],
|
|
1228
|
+
],
|
|
1229
|
+
];
|
|
1230
|
+
var TooManyRequestsException = [
|
|
1231
|
+
-3,
|
|
1232
|
+
n0,
|
|
1233
|
+
_TMRE,
|
|
1234
|
+
{
|
|
1235
|
+
[_e]: _c,
|
|
1236
|
+
[_hE]: 429,
|
|
1237
|
+
},
|
|
1238
|
+
[_C, _M],
|
|
1239
|
+
[0, 0],
|
|
1240
|
+
];
|
|
1241
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
1242
|
+
var UnauthorizedException = [
|
|
1243
|
+
-3,
|
|
1244
|
+
n0,
|
|
1245
|
+
_UE,
|
|
1246
|
+
{
|
|
1247
|
+
[_e]: _c,
|
|
1248
|
+
[_hE]: 401,
|
|
1249
|
+
},
|
|
1250
|
+
[_C, _M],
|
|
1251
|
+
[0, 0],
|
|
1252
|
+
];
|
|
1253
|
+
schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
|
|
1254
|
+
var UntagResourceRequest = [
|
|
1255
|
+
3,
|
|
1256
|
+
n0,
|
|
1257
|
+
_URR,
|
|
1258
|
+
0,
|
|
1259
|
+
[_RAe, _TK],
|
|
1260
|
+
[
|
|
1261
|
+
[0, 1],
|
|
1262
|
+
[
|
|
1263
|
+
64 | 0,
|
|
1264
|
+
{
|
|
1265
|
+
[_hQ]: _tK,
|
|
1266
|
+
},
|
|
1267
|
+
],
|
|
1268
|
+
],
|
|
1269
|
+
];
|
|
1270
|
+
var UpdateDiscovererRequest = [3, n0, _UDR, 0, [_D, _DI, _CA], [0, [0, 1], 2]];
|
|
1271
|
+
var UpdateDiscovererResponse = [
|
|
1272
|
+
3,
|
|
1273
|
+
n0,
|
|
1274
|
+
_UDRp,
|
|
1275
|
+
0,
|
|
1276
|
+
[_D, _DA, _DI, _SA, _S, _CA, _T],
|
|
1277
|
+
[
|
|
1278
|
+
0,
|
|
1279
|
+
0,
|
|
1280
|
+
0,
|
|
1281
|
+
0,
|
|
1282
|
+
0,
|
|
1283
|
+
2,
|
|
1284
|
+
[
|
|
1285
|
+
128 | 0,
|
|
1286
|
+
{
|
|
1287
|
+
[_jN]: _t,
|
|
1288
|
+
},
|
|
1289
|
+
],
|
|
1290
|
+
],
|
|
1291
|
+
];
|
|
1292
|
+
var UpdateRegistryRequest = [3, n0, _URRp, 0, [_D, _RN], [0, [0, 1]]];
|
|
1293
|
+
var UpdateRegistryResponse = [
|
|
1294
|
+
3,
|
|
1295
|
+
n0,
|
|
1296
|
+
_URRpd,
|
|
1297
|
+
0,
|
|
1298
|
+
[_D, _RA, _RN, _T],
|
|
1299
|
+
[
|
|
1300
|
+
0,
|
|
1301
|
+
0,
|
|
1302
|
+
0,
|
|
1303
|
+
[
|
|
1304
|
+
128 | 0,
|
|
1305
|
+
{
|
|
1306
|
+
[_jN]: _t,
|
|
1307
|
+
},
|
|
1308
|
+
],
|
|
1309
|
+
],
|
|
1310
|
+
];
|
|
1311
|
+
var UpdateSchemaRequest = [
|
|
1312
|
+
3,
|
|
1313
|
+
n0,
|
|
1314
|
+
_USR,
|
|
1315
|
+
0,
|
|
1316
|
+
[_CTI, _Co, _D, _RN, _SN, _Ty],
|
|
1317
|
+
[[0, 4], 0, 0, [0, 1], [0, 1], 0],
|
|
1318
|
+
];
|
|
1319
|
+
var UpdateSchemaResponse = [
|
|
1320
|
+
3,
|
|
1321
|
+
n0,
|
|
1322
|
+
_USRp,
|
|
1323
|
+
0,
|
|
1324
|
+
[_D, _LM, _SAc, _SN, _SV, _T, _Ty, _VCD],
|
|
1325
|
+
[
|
|
1326
|
+
0,
|
|
1327
|
+
5,
|
|
1328
|
+
0,
|
|
1329
|
+
0,
|
|
1330
|
+
0,
|
|
1331
|
+
[
|
|
1332
|
+
128 | 0,
|
|
1333
|
+
{
|
|
1334
|
+
[_jN]: _t,
|
|
1335
|
+
},
|
|
1336
|
+
],
|
|
1337
|
+
0,
|
|
1338
|
+
5,
|
|
1339
|
+
],
|
|
1340
|
+
];
|
|
1341
|
+
var __Unit = "unit";
|
|
1342
|
+
var SchemasServiceException = [-3, _sm, "SchemasServiceException", 0, [], []];
|
|
1343
|
+
schema.TypeRegistry.for(_sm).registerError(SchemasServiceException, SchemasServiceException$1);
|
|
1344
|
+
var __listOfDiscovererSummary = [1, n0, _lODS, 0, [() => DiscovererSummary, 0]];
|
|
1345
|
+
var __listOfRegistrySummary = [1, n0, _lORS, 0, [() => RegistrySummary, 0]];
|
|
1346
|
+
var __listOfSchemaSummary = [1, n0, _lOSS, 0, [() => SchemaSummary, 0]];
|
|
1347
|
+
var __listOfSchemaVersionSummary = [1, n0, _lOSVS, 0, () => SchemaVersionSummary];
|
|
1348
|
+
var __listOfSearchSchemaSummary = [1, n0, _lOSSS, 0, () => SearchSchemaSummary];
|
|
1349
|
+
var __listOfSearchSchemaVersionSummary = [1, n0, _lOSSVS, 0, () => SearchSchemaVersionSummary];
|
|
1350
|
+
var CreateDiscoverer = [
|
|
1351
|
+
9,
|
|
1352
|
+
n0,
|
|
1353
|
+
_CDre,
|
|
1354
|
+
{
|
|
1355
|
+
[_h]: ["POST", "/v1/discoverers", 201],
|
|
1356
|
+
},
|
|
1357
|
+
() => CreateDiscovererRequest,
|
|
1358
|
+
() => CreateDiscovererResponse,
|
|
1359
|
+
];
|
|
1360
|
+
var CreateRegistry = [
|
|
1361
|
+
9,
|
|
1362
|
+
n0,
|
|
1363
|
+
_CR,
|
|
1364
|
+
{
|
|
1365
|
+
[_h]: ["POST", "/v1/registries/name/{RegistryName}", 201],
|
|
1366
|
+
},
|
|
1367
|
+
() => CreateRegistryRequest,
|
|
1368
|
+
() => CreateRegistryResponse,
|
|
1369
|
+
];
|
|
1370
|
+
var CreateSchema = [
|
|
1371
|
+
9,
|
|
1372
|
+
n0,
|
|
1373
|
+
_CS,
|
|
1374
|
+
{
|
|
1375
|
+
[_h]: ["POST", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", 201],
|
|
1376
|
+
},
|
|
1377
|
+
() => CreateSchemaRequest,
|
|
1378
|
+
() => CreateSchemaResponse,
|
|
1379
|
+
];
|
|
1380
|
+
var DeleteDiscoverer = [
|
|
1381
|
+
9,
|
|
1382
|
+
n0,
|
|
1383
|
+
_DD,
|
|
1384
|
+
{
|
|
1385
|
+
[_h]: ["DELETE", "/v1/discoverers/id/{DiscovererId}", 204],
|
|
1386
|
+
},
|
|
1387
|
+
() => DeleteDiscovererRequest,
|
|
1388
|
+
() => __Unit,
|
|
1389
|
+
];
|
|
1390
|
+
var DeleteRegistry = [
|
|
1391
|
+
9,
|
|
1392
|
+
n0,
|
|
1393
|
+
_DR,
|
|
1394
|
+
{
|
|
1395
|
+
[_h]: ["DELETE", "/v1/registries/name/{RegistryName}", 204],
|
|
1396
|
+
},
|
|
1397
|
+
() => DeleteRegistryRequest,
|
|
1398
|
+
() => __Unit,
|
|
1399
|
+
];
|
|
1400
|
+
var DeleteResourcePolicy = [
|
|
1401
|
+
9,
|
|
1402
|
+
n0,
|
|
1403
|
+
_DRP,
|
|
1404
|
+
{
|
|
1405
|
+
[_h]: ["DELETE", "/v1/policy", 204],
|
|
1406
|
+
},
|
|
1407
|
+
() => DeleteResourcePolicyRequest,
|
|
1408
|
+
() => __Unit,
|
|
1409
|
+
];
|
|
1410
|
+
var DeleteSchema = [
|
|
1411
|
+
9,
|
|
1412
|
+
n0,
|
|
1413
|
+
_DSe,
|
|
1414
|
+
{
|
|
1415
|
+
[_h]: ["DELETE", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", 204],
|
|
1416
|
+
},
|
|
1417
|
+
() => DeleteSchemaRequest,
|
|
1418
|
+
() => __Unit,
|
|
1419
|
+
];
|
|
1420
|
+
var DeleteSchemaVersion = [
|
|
1421
|
+
9,
|
|
1422
|
+
n0,
|
|
1423
|
+
_DSV,
|
|
1424
|
+
{
|
|
1425
|
+
[_h]: ["DELETE", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}", 204],
|
|
1426
|
+
},
|
|
1427
|
+
() => DeleteSchemaVersionRequest,
|
|
1428
|
+
() => __Unit,
|
|
1429
|
+
];
|
|
1430
|
+
var DescribeCodeBinding = [
|
|
1431
|
+
9,
|
|
1432
|
+
n0,
|
|
1433
|
+
_DCB,
|
|
1434
|
+
{
|
|
1435
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", 200],
|
|
1436
|
+
},
|
|
1437
|
+
() => DescribeCodeBindingRequest,
|
|
1438
|
+
() => DescribeCodeBindingResponse,
|
|
1439
|
+
];
|
|
1440
|
+
var DescribeDiscoverer = [
|
|
1441
|
+
9,
|
|
1442
|
+
n0,
|
|
1443
|
+
_DDe,
|
|
1444
|
+
{
|
|
1445
|
+
[_h]: ["GET", "/v1/discoverers/id/{DiscovererId}", 200],
|
|
1446
|
+
},
|
|
1447
|
+
() => DescribeDiscovererRequest,
|
|
1448
|
+
() => DescribeDiscovererResponse,
|
|
1449
|
+
];
|
|
1450
|
+
var DescribeRegistry = [
|
|
1451
|
+
9,
|
|
1452
|
+
n0,
|
|
1453
|
+
_DRe,
|
|
1454
|
+
{
|
|
1455
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}", 200],
|
|
1456
|
+
},
|
|
1457
|
+
() => DescribeRegistryRequest,
|
|
1458
|
+
() => DescribeRegistryResponse,
|
|
1459
|
+
];
|
|
1460
|
+
var DescribeSchema = [
|
|
1461
|
+
9,
|
|
1462
|
+
n0,
|
|
1463
|
+
_DSes,
|
|
1464
|
+
{
|
|
1465
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", 200],
|
|
1466
|
+
},
|
|
1467
|
+
() => DescribeSchemaRequest,
|
|
1468
|
+
() => DescribeSchemaResponse,
|
|
1469
|
+
];
|
|
1470
|
+
var ExportSchema = [
|
|
1471
|
+
9,
|
|
1472
|
+
n0,
|
|
1473
|
+
_ES,
|
|
1474
|
+
{
|
|
1475
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export", 200],
|
|
1476
|
+
},
|
|
1477
|
+
() => ExportSchemaRequest,
|
|
1478
|
+
() => ExportSchemaResponse,
|
|
1479
|
+
];
|
|
1480
|
+
var GetCodeBindingSource = [
|
|
1481
|
+
9,
|
|
1482
|
+
n0,
|
|
1483
|
+
_GCBS,
|
|
1484
|
+
{
|
|
1485
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source", 200],
|
|
1486
|
+
},
|
|
1487
|
+
() => GetCodeBindingSourceRequest,
|
|
1488
|
+
() => GetCodeBindingSourceResponse,
|
|
1489
|
+
];
|
|
1490
|
+
var GetDiscoveredSchema = [
|
|
1491
|
+
9,
|
|
1492
|
+
n0,
|
|
1493
|
+
_GDS,
|
|
1494
|
+
{
|
|
1495
|
+
[_h]: ["POST", "/v1/discover", 200],
|
|
1496
|
+
},
|
|
1497
|
+
() => GetDiscoveredSchemaRequest,
|
|
1498
|
+
() => GetDiscoveredSchemaResponse,
|
|
1499
|
+
];
|
|
1500
|
+
var GetResourcePolicy = [
|
|
1501
|
+
9,
|
|
1502
|
+
n0,
|
|
1503
|
+
_GRP,
|
|
1504
|
+
{
|
|
1505
|
+
[_h]: ["GET", "/v1/policy", 200],
|
|
1506
|
+
},
|
|
1507
|
+
() => GetResourcePolicyRequest,
|
|
1508
|
+
() => GetResourcePolicyResponse,
|
|
1509
|
+
];
|
|
1510
|
+
var ListDiscoverers = [
|
|
1511
|
+
9,
|
|
1512
|
+
n0,
|
|
1513
|
+
_LD,
|
|
1514
|
+
{
|
|
1515
|
+
[_h]: ["GET", "/v1/discoverers", 200],
|
|
1516
|
+
},
|
|
1517
|
+
() => ListDiscoverersRequest,
|
|
1518
|
+
() => ListDiscoverersResponse,
|
|
1519
|
+
];
|
|
1520
|
+
var ListRegistries = [
|
|
1521
|
+
9,
|
|
1522
|
+
n0,
|
|
1523
|
+
_LR,
|
|
1524
|
+
{
|
|
1525
|
+
[_h]: ["GET", "/v1/registries", 200],
|
|
1526
|
+
},
|
|
1527
|
+
() => ListRegistriesRequest,
|
|
1528
|
+
() => ListRegistriesResponse,
|
|
1529
|
+
];
|
|
1530
|
+
var ListSchemas = [
|
|
1531
|
+
9,
|
|
1532
|
+
n0,
|
|
1533
|
+
_LS,
|
|
1534
|
+
{
|
|
1535
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas", 200],
|
|
1536
|
+
},
|
|
1537
|
+
() => ListSchemasRequest,
|
|
1538
|
+
() => ListSchemasResponse,
|
|
1539
|
+
];
|
|
1540
|
+
var ListSchemaVersions = [
|
|
1541
|
+
9,
|
|
1542
|
+
n0,
|
|
1543
|
+
_LSV,
|
|
1544
|
+
{
|
|
1545
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions", 200],
|
|
1546
|
+
},
|
|
1547
|
+
() => ListSchemaVersionsRequest,
|
|
1548
|
+
() => ListSchemaVersionsResponse,
|
|
1549
|
+
];
|
|
1550
|
+
var ListTagsForResource = [
|
|
1551
|
+
9,
|
|
1552
|
+
n0,
|
|
1553
|
+
_LTFR,
|
|
1554
|
+
{
|
|
1555
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1556
|
+
},
|
|
1557
|
+
() => ListTagsForResourceRequest,
|
|
1558
|
+
() => ListTagsForResourceResponse,
|
|
1559
|
+
];
|
|
1560
|
+
var PutCodeBinding = [
|
|
1561
|
+
9,
|
|
1562
|
+
n0,
|
|
1563
|
+
_PCB,
|
|
1564
|
+
{
|
|
1565
|
+
[_h]: ["POST", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", 202],
|
|
1566
|
+
},
|
|
1567
|
+
() => PutCodeBindingRequest,
|
|
1568
|
+
() => PutCodeBindingResponse,
|
|
1569
|
+
];
|
|
1570
|
+
var PutResourcePolicy = [
|
|
1571
|
+
9,
|
|
1572
|
+
n0,
|
|
1573
|
+
_PRP,
|
|
1574
|
+
{
|
|
1575
|
+
[_h]: ["PUT", "/v1/policy", 200],
|
|
1576
|
+
},
|
|
1577
|
+
() => PutResourcePolicyRequest,
|
|
1578
|
+
() => PutResourcePolicyResponse,
|
|
1579
|
+
];
|
|
1580
|
+
var SearchSchemas = [
|
|
1581
|
+
9,
|
|
1582
|
+
n0,
|
|
1583
|
+
_SSe,
|
|
1584
|
+
{
|
|
1585
|
+
[_h]: ["GET", "/v1/registries/name/{RegistryName}/schemas/search", 200],
|
|
1586
|
+
},
|
|
1587
|
+
() => SearchSchemasRequest,
|
|
1588
|
+
() => SearchSchemasResponse,
|
|
1589
|
+
];
|
|
1590
|
+
var StartDiscoverer = [
|
|
1591
|
+
9,
|
|
1592
|
+
n0,
|
|
1593
|
+
_SD,
|
|
1594
|
+
{
|
|
1595
|
+
[_h]: ["POST", "/v1/discoverers/id/{DiscovererId}/start", 200],
|
|
1596
|
+
},
|
|
1597
|
+
() => StartDiscovererRequest,
|
|
1598
|
+
() => StartDiscovererResponse,
|
|
1599
|
+
];
|
|
1600
|
+
var StopDiscoverer = [
|
|
1601
|
+
9,
|
|
1602
|
+
n0,
|
|
1603
|
+
_SDt,
|
|
1604
|
+
{
|
|
1605
|
+
[_h]: ["POST", "/v1/discoverers/id/{DiscovererId}/stop", 200],
|
|
1606
|
+
},
|
|
1607
|
+
() => StopDiscovererRequest,
|
|
1608
|
+
() => StopDiscovererResponse,
|
|
1609
|
+
];
|
|
1610
|
+
var TagResource = [
|
|
1611
|
+
9,
|
|
1612
|
+
n0,
|
|
1613
|
+
_TR,
|
|
1614
|
+
{
|
|
1615
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 204],
|
|
1616
|
+
},
|
|
1617
|
+
() => TagResourceRequest,
|
|
1618
|
+
() => __Unit,
|
|
1619
|
+
];
|
|
1620
|
+
var UntagResource = [
|
|
1621
|
+
9,
|
|
1622
|
+
n0,
|
|
1623
|
+
_UR,
|
|
1624
|
+
{
|
|
1625
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
1626
|
+
},
|
|
1627
|
+
() => UntagResourceRequest,
|
|
1628
|
+
() => __Unit,
|
|
1629
|
+
];
|
|
1630
|
+
var UpdateDiscoverer = [
|
|
1631
|
+
9,
|
|
1632
|
+
n0,
|
|
1633
|
+
_UD,
|
|
1634
|
+
{
|
|
1635
|
+
[_h]: ["PUT", "/v1/discoverers/id/{DiscovererId}", 200],
|
|
1636
|
+
},
|
|
1637
|
+
() => UpdateDiscovererRequest,
|
|
1638
|
+
() => UpdateDiscovererResponse,
|
|
1639
|
+
];
|
|
1640
|
+
var UpdateRegistry = [
|
|
1641
|
+
9,
|
|
1642
|
+
n0,
|
|
1643
|
+
_URp,
|
|
1644
|
+
{
|
|
1645
|
+
[_h]: ["PUT", "/v1/registries/name/{RegistryName}", 200],
|
|
1646
|
+
},
|
|
1647
|
+
() => UpdateRegistryRequest,
|
|
1648
|
+
() => UpdateRegistryResponse,
|
|
1649
|
+
];
|
|
1650
|
+
var UpdateSchema = [
|
|
1651
|
+
9,
|
|
1652
|
+
n0,
|
|
1653
|
+
_US,
|
|
1654
|
+
{
|
|
1655
|
+
[_h]: ["PUT", "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", 200],
|
|
1656
|
+
},
|
|
1657
|
+
() => UpdateSchemaRequest,
|
|
1658
|
+
() => UpdateSchemaResponse,
|
|
1659
|
+
];
|
|
1463
1660
|
|
|
1464
1661
|
class CreateDiscovererCommand extends smithyClient.Command
|
|
1465
1662
|
.classBuilder()
|
|
1466
1663
|
.ep(commonParams)
|
|
1467
1664
|
.m(function (Command, cs, config, o) {
|
|
1468
|
-
return [
|
|
1469
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1470
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1471
|
-
];
|
|
1665
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1472
1666
|
})
|
|
1473
1667
|
.s("schemas", "CreateDiscoverer", {})
|
|
1474
1668
|
.n("SchemasClient", "CreateDiscovererCommand")
|
|
1475
|
-
.
|
|
1476
|
-
.ser(se_CreateDiscovererCommand)
|
|
1477
|
-
.de(de_CreateDiscovererCommand)
|
|
1669
|
+
.sc(CreateDiscoverer)
|
|
1478
1670
|
.build() {
|
|
1479
1671
|
}
|
|
1480
1672
|
|
|
@@ -1482,16 +1674,11 @@ class CreateRegistryCommand extends smithyClient.Command
|
|
|
1482
1674
|
.classBuilder()
|
|
1483
1675
|
.ep(commonParams)
|
|
1484
1676
|
.m(function (Command, cs, config, o) {
|
|
1485
|
-
return [
|
|
1486
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1487
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1488
|
-
];
|
|
1677
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1489
1678
|
})
|
|
1490
1679
|
.s("schemas", "CreateRegistry", {})
|
|
1491
1680
|
.n("SchemasClient", "CreateRegistryCommand")
|
|
1492
|
-
.
|
|
1493
|
-
.ser(se_CreateRegistryCommand)
|
|
1494
|
-
.de(de_CreateRegistryCommand)
|
|
1681
|
+
.sc(CreateRegistry)
|
|
1495
1682
|
.build() {
|
|
1496
1683
|
}
|
|
1497
1684
|
|
|
@@ -1499,16 +1686,11 @@ class CreateSchemaCommand extends smithyClient.Command
|
|
|
1499
1686
|
.classBuilder()
|
|
1500
1687
|
.ep(commonParams)
|
|
1501
1688
|
.m(function (Command, cs, config, o) {
|
|
1502
|
-
return [
|
|
1503
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1504
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1505
|
-
];
|
|
1689
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1506
1690
|
})
|
|
1507
1691
|
.s("schemas", "CreateSchema", {})
|
|
1508
1692
|
.n("SchemasClient", "CreateSchemaCommand")
|
|
1509
|
-
.
|
|
1510
|
-
.ser(se_CreateSchemaCommand)
|
|
1511
|
-
.de(de_CreateSchemaCommand)
|
|
1693
|
+
.sc(CreateSchema)
|
|
1512
1694
|
.build() {
|
|
1513
1695
|
}
|
|
1514
1696
|
|
|
@@ -1516,16 +1698,11 @@ class DeleteDiscovererCommand extends smithyClient.Command
|
|
|
1516
1698
|
.classBuilder()
|
|
1517
1699
|
.ep(commonParams)
|
|
1518
1700
|
.m(function (Command, cs, config, o) {
|
|
1519
|
-
return [
|
|
1520
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1521
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1522
|
-
];
|
|
1701
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1523
1702
|
})
|
|
1524
1703
|
.s("schemas", "DeleteDiscoverer", {})
|
|
1525
1704
|
.n("SchemasClient", "DeleteDiscovererCommand")
|
|
1526
|
-
.
|
|
1527
|
-
.ser(se_DeleteDiscovererCommand)
|
|
1528
|
-
.de(de_DeleteDiscovererCommand)
|
|
1705
|
+
.sc(DeleteDiscoverer)
|
|
1529
1706
|
.build() {
|
|
1530
1707
|
}
|
|
1531
1708
|
|
|
@@ -1533,16 +1710,11 @@ class DeleteRegistryCommand extends smithyClient.Command
|
|
|
1533
1710
|
.classBuilder()
|
|
1534
1711
|
.ep(commonParams)
|
|
1535
1712
|
.m(function (Command, cs, config, o) {
|
|
1536
|
-
return [
|
|
1537
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1538
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1539
|
-
];
|
|
1713
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1540
1714
|
})
|
|
1541
1715
|
.s("schemas", "DeleteRegistry", {})
|
|
1542
1716
|
.n("SchemasClient", "DeleteRegistryCommand")
|
|
1543
|
-
.
|
|
1544
|
-
.ser(se_DeleteRegistryCommand)
|
|
1545
|
-
.de(de_DeleteRegistryCommand)
|
|
1717
|
+
.sc(DeleteRegistry)
|
|
1546
1718
|
.build() {
|
|
1547
1719
|
}
|
|
1548
1720
|
|
|
@@ -1550,16 +1722,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
|
|
|
1550
1722
|
.classBuilder()
|
|
1551
1723
|
.ep(commonParams)
|
|
1552
1724
|
.m(function (Command, cs, config, o) {
|
|
1553
|
-
return [
|
|
1554
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1555
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1556
|
-
];
|
|
1725
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1557
1726
|
})
|
|
1558
1727
|
.s("schemas", "DeleteResourcePolicy", {})
|
|
1559
1728
|
.n("SchemasClient", "DeleteResourcePolicyCommand")
|
|
1560
|
-
.
|
|
1561
|
-
.ser(se_DeleteResourcePolicyCommand)
|
|
1562
|
-
.de(de_DeleteResourcePolicyCommand)
|
|
1729
|
+
.sc(DeleteResourcePolicy)
|
|
1563
1730
|
.build() {
|
|
1564
1731
|
}
|
|
1565
1732
|
|
|
@@ -1567,16 +1734,11 @@ class DeleteSchemaCommand extends smithyClient.Command
|
|
|
1567
1734
|
.classBuilder()
|
|
1568
1735
|
.ep(commonParams)
|
|
1569
1736
|
.m(function (Command, cs, config, o) {
|
|
1570
|
-
return [
|
|
1571
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1572
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1573
|
-
];
|
|
1737
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1574
1738
|
})
|
|
1575
1739
|
.s("schemas", "DeleteSchema", {})
|
|
1576
1740
|
.n("SchemasClient", "DeleteSchemaCommand")
|
|
1577
|
-
.
|
|
1578
|
-
.ser(se_DeleteSchemaCommand)
|
|
1579
|
-
.de(de_DeleteSchemaCommand)
|
|
1741
|
+
.sc(DeleteSchema)
|
|
1580
1742
|
.build() {
|
|
1581
1743
|
}
|
|
1582
1744
|
|
|
@@ -1584,16 +1746,11 @@ class DeleteSchemaVersionCommand extends smithyClient.Command
|
|
|
1584
1746
|
.classBuilder()
|
|
1585
1747
|
.ep(commonParams)
|
|
1586
1748
|
.m(function (Command, cs, config, o) {
|
|
1587
|
-
return [
|
|
1588
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1589
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1590
|
-
];
|
|
1749
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1591
1750
|
})
|
|
1592
1751
|
.s("schemas", "DeleteSchemaVersion", {})
|
|
1593
1752
|
.n("SchemasClient", "DeleteSchemaVersionCommand")
|
|
1594
|
-
.
|
|
1595
|
-
.ser(se_DeleteSchemaVersionCommand)
|
|
1596
|
-
.de(de_DeleteSchemaVersionCommand)
|
|
1753
|
+
.sc(DeleteSchemaVersion)
|
|
1597
1754
|
.build() {
|
|
1598
1755
|
}
|
|
1599
1756
|
|
|
@@ -1601,16 +1758,11 @@ class DescribeCodeBindingCommand extends smithyClient.Command
|
|
|
1601
1758
|
.classBuilder()
|
|
1602
1759
|
.ep(commonParams)
|
|
1603
1760
|
.m(function (Command, cs, config, o) {
|
|
1604
|
-
return [
|
|
1605
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1606
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1607
|
-
];
|
|
1761
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1608
1762
|
})
|
|
1609
1763
|
.s("schemas", "DescribeCodeBinding", {})
|
|
1610
1764
|
.n("SchemasClient", "DescribeCodeBindingCommand")
|
|
1611
|
-
.
|
|
1612
|
-
.ser(se_DescribeCodeBindingCommand)
|
|
1613
|
-
.de(de_DescribeCodeBindingCommand)
|
|
1765
|
+
.sc(DescribeCodeBinding)
|
|
1614
1766
|
.build() {
|
|
1615
1767
|
}
|
|
1616
1768
|
|
|
@@ -1618,16 +1770,11 @@ class DescribeDiscovererCommand extends smithyClient.Command
|
|
|
1618
1770
|
.classBuilder()
|
|
1619
1771
|
.ep(commonParams)
|
|
1620
1772
|
.m(function (Command, cs, config, o) {
|
|
1621
|
-
return [
|
|
1622
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1623
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1624
|
-
];
|
|
1773
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1625
1774
|
})
|
|
1626
1775
|
.s("schemas", "DescribeDiscoverer", {})
|
|
1627
1776
|
.n("SchemasClient", "DescribeDiscovererCommand")
|
|
1628
|
-
.
|
|
1629
|
-
.ser(se_DescribeDiscovererCommand)
|
|
1630
|
-
.de(de_DescribeDiscovererCommand)
|
|
1777
|
+
.sc(DescribeDiscoverer)
|
|
1631
1778
|
.build() {
|
|
1632
1779
|
}
|
|
1633
1780
|
|
|
@@ -1635,16 +1782,11 @@ class DescribeRegistryCommand extends smithyClient.Command
|
|
|
1635
1782
|
.classBuilder()
|
|
1636
1783
|
.ep(commonParams)
|
|
1637
1784
|
.m(function (Command, cs, config, o) {
|
|
1638
|
-
return [
|
|
1639
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1640
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1641
|
-
];
|
|
1785
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1642
1786
|
})
|
|
1643
1787
|
.s("schemas", "DescribeRegistry", {})
|
|
1644
1788
|
.n("SchemasClient", "DescribeRegistryCommand")
|
|
1645
|
-
.
|
|
1646
|
-
.ser(se_DescribeRegistryCommand)
|
|
1647
|
-
.de(de_DescribeRegistryCommand)
|
|
1789
|
+
.sc(DescribeRegistry)
|
|
1648
1790
|
.build() {
|
|
1649
1791
|
}
|
|
1650
1792
|
|
|
@@ -1652,16 +1794,11 @@ class DescribeSchemaCommand extends smithyClient.Command
|
|
|
1652
1794
|
.classBuilder()
|
|
1653
1795
|
.ep(commonParams)
|
|
1654
1796
|
.m(function (Command, cs, config, o) {
|
|
1655
|
-
return [
|
|
1656
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1657
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1658
|
-
];
|
|
1797
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1659
1798
|
})
|
|
1660
1799
|
.s("schemas", "DescribeSchema", {})
|
|
1661
1800
|
.n("SchemasClient", "DescribeSchemaCommand")
|
|
1662
|
-
.
|
|
1663
|
-
.ser(se_DescribeSchemaCommand)
|
|
1664
|
-
.de(de_DescribeSchemaCommand)
|
|
1801
|
+
.sc(DescribeSchema)
|
|
1665
1802
|
.build() {
|
|
1666
1803
|
}
|
|
1667
1804
|
|
|
@@ -1669,16 +1806,11 @@ class ExportSchemaCommand extends smithyClient.Command
|
|
|
1669
1806
|
.classBuilder()
|
|
1670
1807
|
.ep(commonParams)
|
|
1671
1808
|
.m(function (Command, cs, config, o) {
|
|
1672
|
-
return [
|
|
1673
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1674
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1675
|
-
];
|
|
1809
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1676
1810
|
})
|
|
1677
1811
|
.s("schemas", "ExportSchema", {})
|
|
1678
1812
|
.n("SchemasClient", "ExportSchemaCommand")
|
|
1679
|
-
.
|
|
1680
|
-
.ser(se_ExportSchemaCommand)
|
|
1681
|
-
.de(de_ExportSchemaCommand)
|
|
1813
|
+
.sc(ExportSchema)
|
|
1682
1814
|
.build() {
|
|
1683
1815
|
}
|
|
1684
1816
|
|
|
@@ -1686,16 +1818,11 @@ class GetCodeBindingSourceCommand extends smithyClient.Command
|
|
|
1686
1818
|
.classBuilder()
|
|
1687
1819
|
.ep(commonParams)
|
|
1688
1820
|
.m(function (Command, cs, config, o) {
|
|
1689
|
-
return [
|
|
1690
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1691
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1692
|
-
];
|
|
1821
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1693
1822
|
})
|
|
1694
1823
|
.s("schemas", "GetCodeBindingSource", {})
|
|
1695
1824
|
.n("SchemasClient", "GetCodeBindingSourceCommand")
|
|
1696
|
-
.
|
|
1697
|
-
.ser(se_GetCodeBindingSourceCommand)
|
|
1698
|
-
.de(de_GetCodeBindingSourceCommand)
|
|
1825
|
+
.sc(GetCodeBindingSource)
|
|
1699
1826
|
.build() {
|
|
1700
1827
|
}
|
|
1701
1828
|
|
|
@@ -1703,16 +1830,11 @@ class GetDiscoveredSchemaCommand extends smithyClient.Command
|
|
|
1703
1830
|
.classBuilder()
|
|
1704
1831
|
.ep(commonParams)
|
|
1705
1832
|
.m(function (Command, cs, config, o) {
|
|
1706
|
-
return [
|
|
1707
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1708
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1709
|
-
];
|
|
1833
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1710
1834
|
})
|
|
1711
1835
|
.s("schemas", "GetDiscoveredSchema", {})
|
|
1712
1836
|
.n("SchemasClient", "GetDiscoveredSchemaCommand")
|
|
1713
|
-
.
|
|
1714
|
-
.ser(se_GetDiscoveredSchemaCommand)
|
|
1715
|
-
.de(de_GetDiscoveredSchemaCommand)
|
|
1837
|
+
.sc(GetDiscoveredSchema)
|
|
1716
1838
|
.build() {
|
|
1717
1839
|
}
|
|
1718
1840
|
|
|
@@ -1720,16 +1842,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
|
|
|
1720
1842
|
.classBuilder()
|
|
1721
1843
|
.ep(commonParams)
|
|
1722
1844
|
.m(function (Command, cs, config, o) {
|
|
1723
|
-
return [
|
|
1724
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1725
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1726
|
-
];
|
|
1845
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1727
1846
|
})
|
|
1728
1847
|
.s("schemas", "GetResourcePolicy", {})
|
|
1729
1848
|
.n("SchemasClient", "GetResourcePolicyCommand")
|
|
1730
|
-
.
|
|
1731
|
-
.ser(se_GetResourcePolicyCommand)
|
|
1732
|
-
.de(de_GetResourcePolicyCommand)
|
|
1849
|
+
.sc(GetResourcePolicy)
|
|
1733
1850
|
.build() {
|
|
1734
1851
|
}
|
|
1735
1852
|
|
|
@@ -1737,16 +1854,11 @@ class ListDiscoverersCommand extends smithyClient.Command
|
|
|
1737
1854
|
.classBuilder()
|
|
1738
1855
|
.ep(commonParams)
|
|
1739
1856
|
.m(function (Command, cs, config, o) {
|
|
1740
|
-
return [
|
|
1741
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1742
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1743
|
-
];
|
|
1857
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1744
1858
|
})
|
|
1745
1859
|
.s("schemas", "ListDiscoverers", {})
|
|
1746
1860
|
.n("SchemasClient", "ListDiscoverersCommand")
|
|
1747
|
-
.
|
|
1748
|
-
.ser(se_ListDiscoverersCommand)
|
|
1749
|
-
.de(de_ListDiscoverersCommand)
|
|
1861
|
+
.sc(ListDiscoverers)
|
|
1750
1862
|
.build() {
|
|
1751
1863
|
}
|
|
1752
1864
|
|
|
@@ -1754,16 +1866,11 @@ class ListRegistriesCommand extends smithyClient.Command
|
|
|
1754
1866
|
.classBuilder()
|
|
1755
1867
|
.ep(commonParams)
|
|
1756
1868
|
.m(function (Command, cs, config, o) {
|
|
1757
|
-
return [
|
|
1758
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1759
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1760
|
-
];
|
|
1869
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1761
1870
|
})
|
|
1762
1871
|
.s("schemas", "ListRegistries", {})
|
|
1763
1872
|
.n("SchemasClient", "ListRegistriesCommand")
|
|
1764
|
-
.
|
|
1765
|
-
.ser(se_ListRegistriesCommand)
|
|
1766
|
-
.de(de_ListRegistriesCommand)
|
|
1873
|
+
.sc(ListRegistries)
|
|
1767
1874
|
.build() {
|
|
1768
1875
|
}
|
|
1769
1876
|
|
|
@@ -1771,16 +1878,11 @@ class ListSchemasCommand extends smithyClient.Command
|
|
|
1771
1878
|
.classBuilder()
|
|
1772
1879
|
.ep(commonParams)
|
|
1773
1880
|
.m(function (Command, cs, config, o) {
|
|
1774
|
-
return [
|
|
1775
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1776
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1777
|
-
];
|
|
1881
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1778
1882
|
})
|
|
1779
1883
|
.s("schemas", "ListSchemas", {})
|
|
1780
1884
|
.n("SchemasClient", "ListSchemasCommand")
|
|
1781
|
-
.
|
|
1782
|
-
.ser(se_ListSchemasCommand)
|
|
1783
|
-
.de(de_ListSchemasCommand)
|
|
1885
|
+
.sc(ListSchemas)
|
|
1784
1886
|
.build() {
|
|
1785
1887
|
}
|
|
1786
1888
|
|
|
@@ -1788,16 +1890,11 @@ class ListSchemaVersionsCommand extends smithyClient.Command
|
|
|
1788
1890
|
.classBuilder()
|
|
1789
1891
|
.ep(commonParams)
|
|
1790
1892
|
.m(function (Command, cs, config, o) {
|
|
1791
|
-
return [
|
|
1792
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1793
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1794
|
-
];
|
|
1893
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1795
1894
|
})
|
|
1796
1895
|
.s("schemas", "ListSchemaVersions", {})
|
|
1797
1896
|
.n("SchemasClient", "ListSchemaVersionsCommand")
|
|
1798
|
-
.
|
|
1799
|
-
.ser(se_ListSchemaVersionsCommand)
|
|
1800
|
-
.de(de_ListSchemaVersionsCommand)
|
|
1897
|
+
.sc(ListSchemaVersions)
|
|
1801
1898
|
.build() {
|
|
1802
1899
|
}
|
|
1803
1900
|
|
|
@@ -1805,16 +1902,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1805
1902
|
.classBuilder()
|
|
1806
1903
|
.ep(commonParams)
|
|
1807
1904
|
.m(function (Command, cs, config, o) {
|
|
1808
|
-
return [
|
|
1809
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1810
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1811
|
-
];
|
|
1905
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1812
1906
|
})
|
|
1813
1907
|
.s("schemas", "ListTagsForResource", {})
|
|
1814
1908
|
.n("SchemasClient", "ListTagsForResourceCommand")
|
|
1815
|
-
.
|
|
1816
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1817
|
-
.de(de_ListTagsForResourceCommand)
|
|
1909
|
+
.sc(ListTagsForResource)
|
|
1818
1910
|
.build() {
|
|
1819
1911
|
}
|
|
1820
1912
|
|
|
@@ -1822,16 +1914,11 @@ class PutCodeBindingCommand extends smithyClient.Command
|
|
|
1822
1914
|
.classBuilder()
|
|
1823
1915
|
.ep(commonParams)
|
|
1824
1916
|
.m(function (Command, cs, config, o) {
|
|
1825
|
-
return [
|
|
1826
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1827
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1828
|
-
];
|
|
1917
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1829
1918
|
})
|
|
1830
1919
|
.s("schemas", "PutCodeBinding", {})
|
|
1831
1920
|
.n("SchemasClient", "PutCodeBindingCommand")
|
|
1832
|
-
.
|
|
1833
|
-
.ser(se_PutCodeBindingCommand)
|
|
1834
|
-
.de(de_PutCodeBindingCommand)
|
|
1921
|
+
.sc(PutCodeBinding)
|
|
1835
1922
|
.build() {
|
|
1836
1923
|
}
|
|
1837
1924
|
|
|
@@ -1839,16 +1926,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
|
|
|
1839
1926
|
.classBuilder()
|
|
1840
1927
|
.ep(commonParams)
|
|
1841
1928
|
.m(function (Command, cs, config, o) {
|
|
1842
|
-
return [
|
|
1843
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1844
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1845
|
-
];
|
|
1929
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1846
1930
|
})
|
|
1847
1931
|
.s("schemas", "PutResourcePolicy", {})
|
|
1848
1932
|
.n("SchemasClient", "PutResourcePolicyCommand")
|
|
1849
|
-
.
|
|
1850
|
-
.ser(se_PutResourcePolicyCommand)
|
|
1851
|
-
.de(de_PutResourcePolicyCommand)
|
|
1933
|
+
.sc(PutResourcePolicy)
|
|
1852
1934
|
.build() {
|
|
1853
1935
|
}
|
|
1854
1936
|
|
|
@@ -1856,16 +1938,11 @@ class SearchSchemasCommand extends smithyClient.Command
|
|
|
1856
1938
|
.classBuilder()
|
|
1857
1939
|
.ep(commonParams)
|
|
1858
1940
|
.m(function (Command, cs, config, o) {
|
|
1859
|
-
return [
|
|
1860
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1861
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1862
|
-
];
|
|
1941
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1863
1942
|
})
|
|
1864
1943
|
.s("schemas", "SearchSchemas", {})
|
|
1865
1944
|
.n("SchemasClient", "SearchSchemasCommand")
|
|
1866
|
-
.
|
|
1867
|
-
.ser(se_SearchSchemasCommand)
|
|
1868
|
-
.de(de_SearchSchemasCommand)
|
|
1945
|
+
.sc(SearchSchemas)
|
|
1869
1946
|
.build() {
|
|
1870
1947
|
}
|
|
1871
1948
|
|
|
@@ -1873,16 +1950,11 @@ class StartDiscovererCommand extends smithyClient.Command
|
|
|
1873
1950
|
.classBuilder()
|
|
1874
1951
|
.ep(commonParams)
|
|
1875
1952
|
.m(function (Command, cs, config, o) {
|
|
1876
|
-
return [
|
|
1877
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1878
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1879
|
-
];
|
|
1953
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1880
1954
|
})
|
|
1881
1955
|
.s("schemas", "StartDiscoverer", {})
|
|
1882
1956
|
.n("SchemasClient", "StartDiscovererCommand")
|
|
1883
|
-
.
|
|
1884
|
-
.ser(se_StartDiscovererCommand)
|
|
1885
|
-
.de(de_StartDiscovererCommand)
|
|
1957
|
+
.sc(StartDiscoverer)
|
|
1886
1958
|
.build() {
|
|
1887
1959
|
}
|
|
1888
1960
|
|
|
@@ -1890,16 +1962,11 @@ class StopDiscovererCommand extends smithyClient.Command
|
|
|
1890
1962
|
.classBuilder()
|
|
1891
1963
|
.ep(commonParams)
|
|
1892
1964
|
.m(function (Command, cs, config, o) {
|
|
1893
|
-
return [
|
|
1894
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1895
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1896
|
-
];
|
|
1965
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1897
1966
|
})
|
|
1898
1967
|
.s("schemas", "StopDiscoverer", {})
|
|
1899
1968
|
.n("SchemasClient", "StopDiscovererCommand")
|
|
1900
|
-
.
|
|
1901
|
-
.ser(se_StopDiscovererCommand)
|
|
1902
|
-
.de(de_StopDiscovererCommand)
|
|
1969
|
+
.sc(StopDiscoverer)
|
|
1903
1970
|
.build() {
|
|
1904
1971
|
}
|
|
1905
1972
|
|
|
@@ -1907,16 +1974,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1907
1974
|
.classBuilder()
|
|
1908
1975
|
.ep(commonParams)
|
|
1909
1976
|
.m(function (Command, cs, config, o) {
|
|
1910
|
-
return [
|
|
1911
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1912
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1913
|
-
];
|
|
1977
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1914
1978
|
})
|
|
1915
1979
|
.s("schemas", "TagResource", {})
|
|
1916
1980
|
.n("SchemasClient", "TagResourceCommand")
|
|
1917
|
-
.
|
|
1918
|
-
.ser(se_TagResourceCommand)
|
|
1919
|
-
.de(de_TagResourceCommand)
|
|
1981
|
+
.sc(TagResource)
|
|
1920
1982
|
.build() {
|
|
1921
1983
|
}
|
|
1922
1984
|
|
|
@@ -1924,16 +1986,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1924
1986
|
.classBuilder()
|
|
1925
1987
|
.ep(commonParams)
|
|
1926
1988
|
.m(function (Command, cs, config, o) {
|
|
1927
|
-
return [
|
|
1928
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1929
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1930
|
-
];
|
|
1989
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1931
1990
|
})
|
|
1932
1991
|
.s("schemas", "UntagResource", {})
|
|
1933
1992
|
.n("SchemasClient", "UntagResourceCommand")
|
|
1934
|
-
.
|
|
1935
|
-
.ser(se_UntagResourceCommand)
|
|
1936
|
-
.de(de_UntagResourceCommand)
|
|
1993
|
+
.sc(UntagResource)
|
|
1937
1994
|
.build() {
|
|
1938
1995
|
}
|
|
1939
1996
|
|
|
@@ -1941,16 +1998,11 @@ class UpdateDiscovererCommand extends smithyClient.Command
|
|
|
1941
1998
|
.classBuilder()
|
|
1942
1999
|
.ep(commonParams)
|
|
1943
2000
|
.m(function (Command, cs, config, o) {
|
|
1944
|
-
return [
|
|
1945
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1946
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1947
|
-
];
|
|
2001
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1948
2002
|
})
|
|
1949
2003
|
.s("schemas", "UpdateDiscoverer", {})
|
|
1950
2004
|
.n("SchemasClient", "UpdateDiscovererCommand")
|
|
1951
|
-
.
|
|
1952
|
-
.ser(se_UpdateDiscovererCommand)
|
|
1953
|
-
.de(de_UpdateDiscovererCommand)
|
|
2005
|
+
.sc(UpdateDiscoverer)
|
|
1954
2006
|
.build() {
|
|
1955
2007
|
}
|
|
1956
2008
|
|
|
@@ -1958,16 +2010,11 @@ class UpdateRegistryCommand extends smithyClient.Command
|
|
|
1958
2010
|
.classBuilder()
|
|
1959
2011
|
.ep(commonParams)
|
|
1960
2012
|
.m(function (Command, cs, config, o) {
|
|
1961
|
-
return [
|
|
1962
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1963
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1964
|
-
];
|
|
2013
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1965
2014
|
})
|
|
1966
2015
|
.s("schemas", "UpdateRegistry", {})
|
|
1967
2016
|
.n("SchemasClient", "UpdateRegistryCommand")
|
|
1968
|
-
.
|
|
1969
|
-
.ser(se_UpdateRegistryCommand)
|
|
1970
|
-
.de(de_UpdateRegistryCommand)
|
|
2017
|
+
.sc(UpdateRegistry)
|
|
1971
2018
|
.build() {
|
|
1972
2019
|
}
|
|
1973
2020
|
|
|
@@ -1975,16 +2022,11 @@ class UpdateSchemaCommand extends smithyClient.Command
|
|
|
1975
2022
|
.classBuilder()
|
|
1976
2023
|
.ep(commonParams)
|
|
1977
2024
|
.m(function (Command, cs, config, o) {
|
|
1978
|
-
return [
|
|
1979
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1980
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1981
|
-
];
|
|
2025
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1982
2026
|
})
|
|
1983
2027
|
.s("schemas", "UpdateSchema", {})
|
|
1984
2028
|
.n("SchemasClient", "UpdateSchemaCommand")
|
|
1985
|
-
.
|
|
1986
|
-
.ser(se_UpdateSchemaCommand)
|
|
1987
|
-
.de(de_UpdateSchemaCommand)
|
|
2029
|
+
.sc(UpdateSchema)
|
|
1988
2030
|
.build() {
|
|
1989
2031
|
}
|
|
1990
2032
|
|
|
@@ -2094,9 +2136,9 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2094
2136
|
enumerable: true,
|
|
2095
2137
|
get: function () { return smithyClient.Client; }
|
|
2096
2138
|
});
|
|
2097
|
-
exports.BadRequestException = BadRequestException;
|
|
2139
|
+
exports.BadRequestException = BadRequestException$1;
|
|
2098
2140
|
exports.CodeGenerationStatus = CodeGenerationStatus;
|
|
2099
|
-
exports.ConflictException = ConflictException;
|
|
2141
|
+
exports.ConflictException = ConflictException$1;
|
|
2100
2142
|
exports.CreateDiscovererCommand = CreateDiscovererCommand;
|
|
2101
2143
|
exports.CreateRegistryCommand = CreateRegistryCommand;
|
|
2102
2144
|
exports.CreateSchemaCommand = CreateSchemaCommand;
|
|
@@ -2111,32 +2153,32 @@ exports.DescribeRegistryCommand = DescribeRegistryCommand;
|
|
|
2111
2153
|
exports.DescribeSchemaCommand = DescribeSchemaCommand;
|
|
2112
2154
|
exports.DiscovererState = DiscovererState;
|
|
2113
2155
|
exports.ExportSchemaCommand = ExportSchemaCommand;
|
|
2114
|
-
exports.ForbiddenException = ForbiddenException;
|
|
2156
|
+
exports.ForbiddenException = ForbiddenException$1;
|
|
2115
2157
|
exports.GetCodeBindingSourceCommand = GetCodeBindingSourceCommand;
|
|
2116
2158
|
exports.GetDiscoveredSchemaCommand = GetDiscoveredSchemaCommand;
|
|
2117
2159
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
2118
|
-
exports.GoneException = GoneException;
|
|
2119
|
-
exports.InternalServerErrorException = InternalServerErrorException;
|
|
2160
|
+
exports.GoneException = GoneException$1;
|
|
2161
|
+
exports.InternalServerErrorException = InternalServerErrorException$1;
|
|
2120
2162
|
exports.ListDiscoverersCommand = ListDiscoverersCommand;
|
|
2121
2163
|
exports.ListRegistriesCommand = ListRegistriesCommand;
|
|
2122
2164
|
exports.ListSchemaVersionsCommand = ListSchemaVersionsCommand;
|
|
2123
2165
|
exports.ListSchemasCommand = ListSchemasCommand;
|
|
2124
2166
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2125
|
-
exports.NotFoundException = NotFoundException;
|
|
2126
|
-
exports.PreconditionFailedException = PreconditionFailedException;
|
|
2167
|
+
exports.NotFoundException = NotFoundException$1;
|
|
2168
|
+
exports.PreconditionFailedException = PreconditionFailedException$1;
|
|
2127
2169
|
exports.PutCodeBindingCommand = PutCodeBindingCommand;
|
|
2128
2170
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
2129
2171
|
exports.Schemas = Schemas;
|
|
2130
2172
|
exports.SchemasClient = SchemasClient;
|
|
2131
|
-
exports.SchemasServiceException = SchemasServiceException;
|
|
2173
|
+
exports.SchemasServiceException = SchemasServiceException$1;
|
|
2132
2174
|
exports.SearchSchemasCommand = SearchSchemasCommand;
|
|
2133
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2175
|
+
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
2134
2176
|
exports.StartDiscovererCommand = StartDiscovererCommand;
|
|
2135
2177
|
exports.StopDiscovererCommand = StopDiscovererCommand;
|
|
2136
2178
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2137
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
2179
|
+
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
2138
2180
|
exports.Type = Type;
|
|
2139
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
2181
|
+
exports.UnauthorizedException = UnauthorizedException$1;
|
|
2140
2182
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2141
2183
|
exports.UpdateDiscovererCommand = UpdateDiscovererCommand;
|
|
2142
2184
|
exports.UpdateRegistryCommand = UpdateRegistryCommand;
|