1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {WaiterConfiguration} from '../lib/service';
|
6 | import {ServiceConfigurationOptions} from '../lib/service';
|
7 | import {ConfigBase as Config} from '../lib/config';
|
8 | interface Blob {}
|
9 | declare class Schemas extends Service {
|
10 | |
11 |
|
12 |
|
13 | constructor(options?: Schemas.Types.ClientConfiguration)
|
14 | config: Config & Schemas.Types.ClientConfiguration;
|
15 | /**
|
16 | * Creates a discoverer.
|
17 | */
|
18 | createDiscoverer(params: Schemas.Types.CreateDiscovererRequest, callback?: (err: AWSError, data: Schemas.Types.CreateDiscovererResponse) => void): Request<Schemas.Types.CreateDiscovererResponse, AWSError>;
|
19 | /**
|
20 | * Creates a discoverer.
|
21 | */
|
22 | createDiscoverer(callback?: (err: AWSError, data: Schemas.Types.CreateDiscovererResponse) => void): Request<Schemas.Types.CreateDiscovererResponse, AWSError>;
|
23 | /**
|
24 | * Creates a registry.
|
25 | */
|
26 | createRegistry(params: Schemas.Types.CreateRegistryRequest, callback?: (err: AWSError, data: Schemas.Types.CreateRegistryResponse) => void): Request<Schemas.Types.CreateRegistryResponse, AWSError>;
|
27 | /**
|
28 | * Creates a registry.
|
29 | */
|
30 | createRegistry(callback?: (err: AWSError, data: Schemas.Types.CreateRegistryResponse) => void): Request<Schemas.Types.CreateRegistryResponse, AWSError>;
|
31 | /**
|
32 | * Creates a schema definition.
|
33 | */
|
34 | createSchema(params: Schemas.Types.CreateSchemaRequest, callback?: (err: AWSError, data: Schemas.Types.CreateSchemaResponse) => void): Request<Schemas.Types.CreateSchemaResponse, AWSError>;
|
35 | /**
|
36 | * Creates a schema definition.
|
37 | */
|
38 | createSchema(callback?: (err: AWSError, data: Schemas.Types.CreateSchemaResponse) => void): Request<Schemas.Types.CreateSchemaResponse, AWSError>;
|
39 | /**
|
40 | * Deletes a discoverer.
|
41 | */
|
42 | deleteDiscoverer(params: Schemas.Types.DeleteDiscovererRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
43 | |
44 |
|
45 |
|
46 | deleteDiscoverer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
47 | |
48 |
|
49 |
|
50 | deleteRegistry(params: Schemas.Types.DeleteRegistryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
51 | |
52 |
|
53 |
|
54 | deleteRegistry(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
55 | |
56 |
|
57 |
|
58 | deleteSchema(params: Schemas.Types.DeleteSchemaRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
59 | |
60 |
|
61 |
|
62 | deleteSchema(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
63 | |
64 |
|
65 |
|
66 | deleteSchemaVersion(params: Schemas.Types.DeleteSchemaVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
67 | |
68 |
|
69 |
|
70 | deleteSchemaVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
71 | |
72 |
|
73 |
|
74 | describeCodeBinding(params: Schemas.Types.DescribeCodeBindingRequest, callback?: (err: AWSError, data: Schemas.Types.DescribeCodeBindingResponse) => void): Request<Schemas.Types.DescribeCodeBindingResponse, AWSError>;
|
75 | |
76 |
|
77 |
|
78 | describeCodeBinding(callback?: (err: AWSError, data: Schemas.Types.DescribeCodeBindingResponse) => void): Request<Schemas.Types.DescribeCodeBindingResponse, AWSError>;
|
79 | |
80 |
|
81 |
|
82 | describeDiscoverer(params: Schemas.Types.DescribeDiscovererRequest, callback?: (err: AWSError, data: Schemas.Types.DescribeDiscovererResponse) => void): Request<Schemas.Types.DescribeDiscovererResponse, AWSError>;
|
83 | |
84 |
|
85 |
|
86 | describeDiscoverer(callback?: (err: AWSError, data: Schemas.Types.DescribeDiscovererResponse) => void): Request<Schemas.Types.DescribeDiscovererResponse, AWSError>;
|
87 | |
88 |
|
89 |
|
90 | describeRegistry(params: Schemas.Types.DescribeRegistryRequest, callback?: (err: AWSError, data: Schemas.Types.DescribeRegistryResponse) => void): Request<Schemas.Types.DescribeRegistryResponse, AWSError>;
|
91 | |
92 |
|
93 |
|
94 | describeRegistry(callback?: (err: AWSError, data: Schemas.Types.DescribeRegistryResponse) => void): Request<Schemas.Types.DescribeRegistryResponse, AWSError>;
|
95 | |
96 |
|
97 |
|
98 | describeSchema(params: Schemas.Types.DescribeSchemaRequest, callback?: (err: AWSError, data: Schemas.Types.DescribeSchemaResponse) => void): Request<Schemas.Types.DescribeSchemaResponse, AWSError>;
|
99 | |
100 |
|
101 |
|
102 | describeSchema(callback?: (err: AWSError, data: Schemas.Types.DescribeSchemaResponse) => void): Request<Schemas.Types.DescribeSchemaResponse, AWSError>;
|
103 | |
104 |
|
105 |
|
106 | getCodeBindingSource(params: Schemas.Types.GetCodeBindingSourceRequest, callback?: (err: AWSError, data: Schemas.Types.GetCodeBindingSourceResponse) => void): Request<Schemas.Types.GetCodeBindingSourceResponse, AWSError>;
|
107 | |
108 |
|
109 |
|
110 | getCodeBindingSource(callback?: (err: AWSError, data: Schemas.Types.GetCodeBindingSourceResponse) => void): Request<Schemas.Types.GetCodeBindingSourceResponse, AWSError>;
|
111 | |
112 |
|
113 |
|
114 | getDiscoveredSchema(params: Schemas.Types.GetDiscoveredSchemaRequest, callback?: (err: AWSError, data: Schemas.Types.GetDiscoveredSchemaResponse) => void): Request<Schemas.Types.GetDiscoveredSchemaResponse, AWSError>;
|
115 | |
116 |
|
117 |
|
118 | getDiscoveredSchema(callback?: (err: AWSError, data: Schemas.Types.GetDiscoveredSchemaResponse) => void): Request<Schemas.Types.GetDiscoveredSchemaResponse, AWSError>;
|
119 | |
120 |
|
121 |
|
122 | listDiscoverers(params: Schemas.Types.ListDiscoverersRequest, callback?: (err: AWSError, data: Schemas.Types.ListDiscoverersResponse) => void): Request<Schemas.Types.ListDiscoverersResponse, AWSError>;
|
123 | |
124 |
|
125 |
|
126 | listDiscoverers(callback?: (err: AWSError, data: Schemas.Types.ListDiscoverersResponse) => void): Request<Schemas.Types.ListDiscoverersResponse, AWSError>;
|
127 | |
128 |
|
129 |
|
130 | listRegistries(params: Schemas.Types.ListRegistriesRequest, callback?: (err: AWSError, data: Schemas.Types.ListRegistriesResponse) => void): Request<Schemas.Types.ListRegistriesResponse, AWSError>;
|
131 | |
132 |
|
133 |
|
134 | listRegistries(callback?: (err: AWSError, data: Schemas.Types.ListRegistriesResponse) => void): Request<Schemas.Types.ListRegistriesResponse, AWSError>;
|
135 | |
136 |
|
137 |
|
138 | listSchemaVersions(params: Schemas.Types.ListSchemaVersionsRequest, callback?: (err: AWSError, data: Schemas.Types.ListSchemaVersionsResponse) => void): Request<Schemas.Types.ListSchemaVersionsResponse, AWSError>;
|
139 | |
140 |
|
141 |
|
142 | listSchemaVersions(callback?: (err: AWSError, data: Schemas.Types.ListSchemaVersionsResponse) => void): Request<Schemas.Types.ListSchemaVersionsResponse, AWSError>;
|
143 | |
144 |
|
145 |
|
146 | listSchemas(params: Schemas.Types.ListSchemasRequest, callback?: (err: AWSError, data: Schemas.Types.ListSchemasResponse) => void): Request<Schemas.Types.ListSchemasResponse, AWSError>;
|
147 | |
148 |
|
149 |
|
150 | listSchemas(callback?: (err: AWSError, data: Schemas.Types.ListSchemasResponse) => void): Request<Schemas.Types.ListSchemasResponse, AWSError>;
|
151 | |
152 |
|
153 |
|
154 | listTagsForResource(params: Schemas.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Schemas.Types.ListTagsForResourceResponse) => void): Request<Schemas.Types.ListTagsForResourceResponse, AWSError>;
|
155 | |
156 |
|
157 |
|
158 | listTagsForResource(callback?: (err: AWSError, data: Schemas.Types.ListTagsForResourceResponse) => void): Request<Schemas.Types.ListTagsForResourceResponse, AWSError>;
|
159 | |
160 |
|
161 |
|
162 | lockServiceLinkedRole(params: Schemas.Types.LockServiceLinkedRoleRequest, callback?: (err: AWSError, data: Schemas.Types.LockServiceLinkedRoleResponse) => void): Request<Schemas.Types.LockServiceLinkedRoleResponse, AWSError>;
|
163 | |
164 |
|
165 |
|
166 | lockServiceLinkedRole(callback?: (err: AWSError, data: Schemas.Types.LockServiceLinkedRoleResponse) => void): Request<Schemas.Types.LockServiceLinkedRoleResponse, AWSError>;
|
167 | |
168 |
|
169 |
|
170 | putCodeBinding(params: Schemas.Types.PutCodeBindingRequest, callback?: (err: AWSError, data: Schemas.Types.PutCodeBindingResponse) => void): Request<Schemas.Types.PutCodeBindingResponse, AWSError>;
|
171 | |
172 |
|
173 |
|
174 | putCodeBinding(callback?: (err: AWSError, data: Schemas.Types.PutCodeBindingResponse) => void): Request<Schemas.Types.PutCodeBindingResponse, AWSError>;
|
175 | |
176 |
|
177 |
|
178 | searchSchemas(params: Schemas.Types.SearchSchemasRequest, callback?: (err: AWSError, data: Schemas.Types.SearchSchemasResponse) => void): Request<Schemas.Types.SearchSchemasResponse, AWSError>;
|
179 | |
180 |
|
181 |
|
182 | searchSchemas(callback?: (err: AWSError, data: Schemas.Types.SearchSchemasResponse) => void): Request<Schemas.Types.SearchSchemasResponse, AWSError>;
|
183 | |
184 |
|
185 |
|
186 | startDiscoverer(params: Schemas.Types.StartDiscovererRequest, callback?: (err: AWSError, data: Schemas.Types.StartDiscovererResponse) => void): Request<Schemas.Types.StartDiscovererResponse, AWSError>;
|
187 | |
188 |
|
189 |
|
190 | startDiscoverer(callback?: (err: AWSError, data: Schemas.Types.StartDiscovererResponse) => void): Request<Schemas.Types.StartDiscovererResponse, AWSError>;
|
191 | |
192 |
|
193 |
|
194 | stopDiscoverer(params: Schemas.Types.StopDiscovererRequest, callback?: (err: AWSError, data: Schemas.Types.StopDiscovererResponse) => void): Request<Schemas.Types.StopDiscovererResponse, AWSError>;
|
195 | |
196 |
|
197 |
|
198 | stopDiscoverer(callback?: (err: AWSError, data: Schemas.Types.StopDiscovererResponse) => void): Request<Schemas.Types.StopDiscovererResponse, AWSError>;
|
199 | |
200 |
|
201 |
|
202 | tagResource(params: Schemas.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
203 | |
204 |
|
205 |
|
206 | tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
207 | |
208 |
|
209 |
|
210 | unlockServiceLinkedRole(params: Schemas.Types.UnlockServiceLinkedRoleRequest, callback?: (err: AWSError, data: Schemas.Types.UnlockServiceLinkedRoleResponse) => void): Request<Schemas.Types.UnlockServiceLinkedRoleResponse, AWSError>;
|
211 | |
212 |
|
213 |
|
214 | unlockServiceLinkedRole(callback?: (err: AWSError, data: Schemas.Types.UnlockServiceLinkedRoleResponse) => void): Request<Schemas.Types.UnlockServiceLinkedRoleResponse, AWSError>;
|
215 | |
216 |
|
217 |
|
218 | untagResource(params: Schemas.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
219 | |
220 |
|
221 |
|
222 | untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
223 | |
224 |
|
225 |
|
226 | updateDiscoverer(params: Schemas.Types.UpdateDiscovererRequest, callback?: (err: AWSError, data: Schemas.Types.UpdateDiscovererResponse) => void): Request<Schemas.Types.UpdateDiscovererResponse, AWSError>;
|
227 | |
228 |
|
229 |
|
230 | updateDiscoverer(callback?: (err: AWSError, data: Schemas.Types.UpdateDiscovererResponse) => void): Request<Schemas.Types.UpdateDiscovererResponse, AWSError>;
|
231 | |
232 |
|
233 |
|
234 | updateRegistry(params: Schemas.Types.UpdateRegistryRequest, callback?: (err: AWSError, data: Schemas.Types.UpdateRegistryResponse) => void): Request<Schemas.Types.UpdateRegistryResponse, AWSError>;
|
235 | |
236 |
|
237 |
|
238 | updateRegistry(callback?: (err: AWSError, data: Schemas.Types.UpdateRegistryResponse) => void): Request<Schemas.Types.UpdateRegistryResponse, AWSError>;
|
239 | |
240 |
|
241 |
|
242 | updateSchema(params: Schemas.Types.UpdateSchemaRequest, callback?: (err: AWSError, data: Schemas.Types.UpdateSchemaResponse) => void): Request<Schemas.Types.UpdateSchemaResponse, AWSError>;
|
243 | |
244 |
|
245 |
|
246 | updateSchema(callback?: (err: AWSError, data: Schemas.Types.UpdateSchemaResponse) => void): Request<Schemas.Types.UpdateSchemaResponse, AWSError>;
|
247 | |
248 |
|
249 |
|
250 | waitFor(state: "codeBindingExists", params: Schemas.Types.DescribeCodeBindingRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: Schemas.Types.DescribeCodeBindingResponse) => void): Request<Schemas.Types.DescribeCodeBindingResponse, AWSError>;
|
251 | |
252 |
|
253 |
|
254 | waitFor(state: "codeBindingExists", callback?: (err: AWSError, data: Schemas.Types.DescribeCodeBindingResponse) => void): Request<Schemas.Types.DescribeCodeBindingResponse, AWSError>;
|
255 | }
|
256 | declare namespace Schemas {
|
257 | export type CodeGenerationStatus = "CREATE_IN_PROGRESS"|"CREATE_COMPLETE"|"CREATE_FAILED"|string;
|
258 | export interface CreateDiscovererRequest {
|
259 | |
260 |
|
261 |
|
262 | Description?: __stringMin0Max256;
|
263 | |
264 |
|
265 |
|
266 | SourceArn: __stringMin20Max1600;
|
267 | |
268 |
|
269 |
|
270 | Tags?: Tags;
|
271 | }
|
272 | export interface CreateDiscovererResponse {
|
273 | |
274 |
|
275 |
|
276 | Description?: __string;
|
277 | |
278 |
|
279 |
|
280 | DiscovererArn?: __string;
|
281 | |
282 |
|
283 |
|
284 | DiscovererId?: __string;
|
285 | |
286 |
|
287 |
|
288 | SourceArn?: __string;
|
289 | |
290 |
|
291 |
|
292 | State?: DiscovererState;
|
293 | |
294 |
|
295 |
|
296 | Tags?: Tags;
|
297 | }
|
298 | export interface CreateRegistryRequest {
|
299 | |
300 |
|
301 |
|
302 | Description?: __stringMin0Max256;
|
303 | RegistryName: __string;
|
304 | |
305 |
|
306 |
|
307 | Tags?: Tags;
|
308 | }
|
309 | export interface CreateRegistryResponse {
|
310 | |
311 |
|
312 |
|
313 | Description?: __string;
|
314 | |
315 |
|
316 |
|
317 | RegistryArn?: __string;
|
318 | |
319 |
|
320 |
|
321 | RegistryName?: __string;
|
322 | |
323 |
|
324 |
|
325 | Tags?: Tags;
|
326 | }
|
327 | export interface CreateSchemaRequest {
|
328 | Content: __stringMin1Max100000;
|
329 | |
330 |
|
331 |
|
332 | Description?: __stringMin0Max256;
|
333 | RegistryName: __string;
|
334 | SchemaName: __string;
|
335 | |
336 |
|
337 |
|
338 | Tags?: Tags;
|
339 | Type: Type;
|
340 | }
|
341 | export interface CreateSchemaResponse {
|
342 | |
343 |
|
344 |
|
345 | Description?: __string;
|
346 | |
347 |
|
348 |
|
349 | LastModified?: __timestampIso8601;
|
350 | |
351 |
|
352 |
|
353 | SchemaArn?: __string;
|
354 | |
355 |
|
356 |
|
357 | SchemaName?: __string;
|
358 | |
359 |
|
360 |
|
361 | SchemaVersion?: __string;
|
362 | Tags?: Tags;
|
363 | |
364 |
|
365 |
|
366 | Type?: __string;
|
367 | |
368 |
|
369 |
|
370 | VersionCreatedDate?: __timestampIso8601;
|
371 | }
|
372 | export interface DeleteDiscovererRequest {
|
373 | DiscovererId: __string;
|
374 | }
|
375 | export interface DeleteRegistryRequest {
|
376 | RegistryName: __string;
|
377 | }
|
378 | export interface DeleteSchemaRequest {
|
379 | RegistryName: __string;
|
380 | SchemaName: __string;
|
381 | }
|
382 | export interface DeleteSchemaVersionRequest {
|
383 | RegistryName: __string;
|
384 | SchemaName: __string;
|
385 | SchemaVersion: __string;
|
386 | }
|
387 | export interface DescribeCodeBindingRequest {
|
388 | Language: __string;
|
389 | RegistryName: __string;
|
390 | SchemaName: __string;
|
391 | SchemaVersion?: __string;
|
392 | }
|
393 | export interface DescribeCodeBindingResponse {
|
394 | |
395 |
|
396 |
|
397 | CreationDate?: __timestampIso8601;
|
398 | |
399 |
|
400 |
|
401 | LastModified?: __timestampIso8601;
|
402 | |
403 |
|
404 |
|
405 | SchemaVersion?: __string;
|
406 | |
407 |
|
408 |
|
409 | Status?: CodeGenerationStatus;
|
410 | }
|
411 | export interface DescribeDiscovererRequest {
|
412 | DiscovererId: __string;
|
413 | }
|
414 | export interface DescribeDiscovererResponse {
|
415 | |
416 |
|
417 |
|
418 | Description?: __string;
|
419 | |
420 |
|
421 |
|
422 | DiscovererArn?: __string;
|
423 | |
424 |
|
425 |
|
426 | DiscovererId?: __string;
|
427 | |
428 |
|
429 |
|
430 | SourceArn?: __string;
|
431 | |
432 |
|
433 |
|
434 | State?: DiscovererState;
|
435 | |
436 |
|
437 |
|
438 | Tags?: Tags;
|
439 | }
|
440 | export interface DescribeRegistryRequest {
|
441 | RegistryName: __string;
|
442 | }
|
443 | export interface DescribeRegistryResponse {
|
444 | |
445 |
|
446 |
|
447 | Description?: __string;
|
448 | |
449 |
|
450 |
|
451 | RegistryArn?: __string;
|
452 | |
453 |
|
454 |
|
455 | RegistryName?: __string;
|
456 | |
457 |
|
458 |
|
459 | Tags?: Tags;
|
460 | }
|
461 | export interface DescribeSchemaRequest {
|
462 | RegistryName: __string;
|
463 | SchemaName: __string;
|
464 | SchemaVersion?: __string;
|
465 | }
|
466 | export interface DescribeSchemaResponse {
|
467 | Content?: __string;
|
468 | |
469 |
|
470 |
|
471 | Description?: __string;
|
472 | |
473 |
|
474 |
|
475 | LastModified?: __timestampIso8601;
|
476 | |
477 |
|
478 |
|
479 | SchemaArn?: __string;
|
480 | |
481 |
|
482 |
|
483 | SchemaName?: __string;
|
484 | |
485 |
|
486 |
|
487 | SchemaVersion?: __string;
|
488 | |
489 |
|
490 |
|
491 | Tags?: Tags;
|
492 | |
493 |
|
494 |
|
495 | Type?: __string;
|
496 | |
497 |
|
498 |
|
499 | VersionCreatedDate?: __timestampIso8601;
|
500 | }
|
501 | export type DiscovererState = "STARTED"|"STOPPED"|string;
|
502 | export interface DiscovererSummary {
|
503 | |
504 |
|
505 |
|
506 | DiscovererArn?: __string;
|
507 | |
508 |
|
509 |
|
510 | DiscovererId?: __string;
|
511 | |
512 |
|
513 |
|
514 | SourceArn?: __string;
|
515 | State?: DiscovererState;
|
516 | |
517 |
|
518 |
|
519 | Tags?: Tags;
|
520 | }
|
521 | export interface GetCodeBindingSourceRequest {
|
522 | Language: __string;
|
523 | RegistryName: __string;
|
524 | SchemaName: __string;
|
525 | SchemaVersion?: __string;
|
526 | }
|
527 | export interface GetCodeBindingSourceResponse {
|
528 | Body?: Body;
|
529 | }
|
530 | export interface GetDiscoveredSchemaRequest {
|
531 | |
532 |
|
533 |
|
534 | Events: __listOfGetDiscoveredSchemaVersionItemInput;
|
535 | |
536 |
|
537 |
|
538 | Type: Type;
|
539 | }
|
540 | export interface GetDiscoveredSchemaResponse {
|
541 | Content?: __string;
|
542 | }
|
543 | export type GetDiscoveredSchemaVersionItemInput = string;
|
544 | export interface ListDiscoverersRequest {
|
545 | DiscovererIdPrefix?: __string;
|
546 | Limit?: __integer;
|
547 | NextToken?: __string;
|
548 | SourceArnPrefix?: __string;
|
549 | }
|
550 | export interface ListDiscoverersResponse {
|
551 | |
552 |
|
553 |
|
554 | Discoverers?: __listOfDiscovererSummary;
|
555 | |
556 |
|
557 |
|
558 | NextToken?: __string;
|
559 | }
|
560 | export interface ListRegistriesRequest {
|
561 | Limit?: __integer;
|
562 | NextToken?: __string;
|
563 | RegistryNamePrefix?: __string;
|
564 | Scope?: __string;
|
565 | }
|
566 | export interface ListRegistriesResponse {
|
567 | |
568 |
|
569 |
|
570 | NextToken?: __string;
|
571 | |
572 |
|
573 |
|
574 | Registries?: __listOfRegistrySummary;
|
575 | }
|
576 | export interface ListSchemaVersionsRequest {
|
577 | Limit?: __integer;
|
578 | NextToken?: __string;
|
579 | RegistryName: __string;
|
580 | SchemaName: __string;
|
581 | }
|
582 | export interface ListSchemaVersionsResponse {
|
583 | |
584 |
|
585 |
|
586 | NextToken?: __string;
|
587 | |
588 |
|
589 |
|
590 | SchemaVersions?: __listOfSchemaVersionSummary;
|
591 | }
|
592 | export interface ListSchemasRequest {
|
593 | Limit?: __integer;
|
594 | NextToken?: __string;
|
595 | RegistryName: __string;
|
596 | SchemaNamePrefix?: __string;
|
597 | }
|
598 | export interface ListSchemasResponse {
|
599 | |
600 |
|
601 |
|
602 | NextToken?: __string;
|
603 | |
604 |
|
605 |
|
606 | Schemas?: __listOfSchemaSummary;
|
607 | }
|
608 | export interface ListTagsForResourceRequest {
|
609 | ResourceArn: __string;
|
610 | }
|
611 | export interface ListTagsForResourceResponse {
|
612 | Tags: Tags;
|
613 | }
|
614 | export interface LockServiceLinkedRoleRequest {
|
615 | RoleArn: __stringMin1Max1600;
|
616 | Timeout: __integerMin1Max29000;
|
617 | }
|
618 | export interface LockServiceLinkedRoleResponse {
|
619 | CanBeDeleted?: __boolean;
|
620 | ReasonOfFailure?: __stringMin1Max1600;
|
621 | RelatedResources?: __listOfDiscovererSummary;
|
622 | }
|
623 | export interface PutCodeBindingRequest {
|
624 | Language: __string;
|
625 | RegistryName: __string;
|
626 | SchemaName: __string;
|
627 | SchemaVersion?: __string;
|
628 | }
|
629 | export interface PutCodeBindingResponse {
|
630 | |
631 |
|
632 |
|
633 | CreationDate?: __timestampIso8601;
|
634 | |
635 |
|
636 |
|
637 | LastModified?: __timestampIso8601;
|
638 | |
639 |
|
640 |
|
641 | SchemaVersion?: __string;
|
642 | |
643 |
|
644 |
|
645 | Status?: CodeGenerationStatus;
|
646 | }
|
647 | export interface RegistrySummary {
|
648 | |
649 |
|
650 |
|
651 | RegistryArn?: __string;
|
652 | |
653 |
|
654 |
|
655 | RegistryName?: __string;
|
656 | |
657 |
|
658 |
|
659 | Tags?: Tags;
|
660 | }
|
661 | export interface SchemaSummary {
|
662 | |
663 |
|
664 |
|
665 | LastModified?: __timestampIso8601;
|
666 | |
667 |
|
668 |
|
669 | SchemaArn?: __string;
|
670 | |
671 |
|
672 |
|
673 | SchemaName?: __string;
|
674 | |
675 |
|
676 |
|
677 | Tags?: Tags;
|
678 | |
679 |
|
680 |
|
681 | VersionCount?: __long;
|
682 | }
|
683 | export interface SchemaVersionSummary {
|
684 | |
685 |
|
686 |
|
687 | SchemaArn?: __string;
|
688 | |
689 |
|
690 |
|
691 | SchemaName?: __string;
|
692 | |
693 |
|
694 |
|
695 | SchemaVersion?: __string;
|
696 | }
|
697 | export interface SearchSchemaSummary {
|
698 | |
699 |
|
700 |
|
701 | RegistryName?: __string;
|
702 | |
703 |
|
704 |
|
705 | SchemaArn?: __string;
|
706 | |
707 |
|
708 |
|
709 | SchemaName?: __string;
|
710 | |
711 |
|
712 |
|
713 | SchemaVersions?: __listOfSearchSchemaVersionSummary;
|
714 | }
|
715 | export interface SearchSchemaVersionSummary {
|
716 | CreatedDate?: __timestampIso8601;
|
717 | |
718 |
|
719 |
|
720 | SchemaVersion?: __string;
|
721 | }
|
722 | export interface SearchSchemasRequest {
|
723 | Keywords: __string;
|
724 | Limit?: __integer;
|
725 | NextToken?: __string;
|
726 | RegistryName: __string;
|
727 | }
|
728 | export interface SearchSchemasResponse {
|
729 | |
730 |
|
731 |
|
732 | NextToken?: __string;
|
733 | |
734 |
|
735 |
|
736 | Schemas?: __listOfSearchSchemaSummary;
|
737 | }
|
738 | export interface StartDiscovererRequest {
|
739 | DiscovererId: __string;
|
740 | }
|
741 | export interface StartDiscovererResponse {
|
742 | |
743 |
|
744 |
|
745 | DiscovererId?: __string;
|
746 | |
747 |
|
748 |
|
749 | State?: DiscovererState;
|
750 | }
|
751 | export interface StopDiscovererRequest {
|
752 | DiscovererId: __string;
|
753 | }
|
754 | export interface StopDiscovererResponse {
|
755 | |
756 |
|
757 |
|
758 | DiscovererId?: __string;
|
759 | |
760 |
|
761 |
|
762 | State?: DiscovererState;
|
763 | }
|
764 | export interface TagResourceRequest {
|
765 | ResourceArn: __string;
|
766 | Tags: Tags;
|
767 | }
|
768 | export type Tags = {[key: string]: __string};
|
769 | export type Type = "OpenApi3"|string;
|
770 | export interface UnlockServiceLinkedRoleRequest {
|
771 | RoleArn: __stringMin1Max1600;
|
772 | }
|
773 | export interface UnlockServiceLinkedRoleResponse {
|
774 | }
|
775 | export interface UntagResourceRequest {
|
776 | ResourceArn: __string;
|
777 | TagKeys: __listOf__string;
|
778 | }
|
779 | export interface UpdateDiscovererRequest {
|
780 | |
781 |
|
782 |
|
783 | Description?: __stringMin0Max256;
|
784 | DiscovererId: __string;
|
785 | }
|
786 | export interface UpdateDiscovererResponse {
|
787 | |
788 |
|
789 |
|
790 | Description?: __string;
|
791 | |
792 |
|
793 |
|
794 | DiscovererArn?: __string;
|
795 | |
796 |
|
797 |
|
798 | DiscovererId?: __string;
|
799 | |
800 |
|
801 |
|
802 | SourceArn?: __string;
|
803 | |
804 |
|
805 |
|
806 | State?: DiscovererState;
|
807 | |
808 |
|
809 |
|
810 | Tags?: Tags;
|
811 | }
|
812 | export interface UpdateRegistryRequest {
|
813 | |
814 |
|
815 |
|
816 | Description?: __stringMin0Max256;
|
817 | RegistryName: __string;
|
818 | }
|
819 | export interface UpdateRegistryResponse {
|
820 | |
821 |
|
822 |
|
823 | Description?: __string;
|
824 | |
825 |
|
826 |
|
827 | RegistryArn?: __string;
|
828 | |
829 |
|
830 |
|
831 | RegistryName?: __string;
|
832 | |
833 |
|
834 |
|
835 | Tags?: Tags;
|
836 | }
|
837 | export interface UpdateSchemaRequest {
|
838 | |
839 |
|
840 |
|
841 | ClientTokenId?: __stringMin0Max36;
|
842 | |
843 |
|
844 |
|
845 | Content?: __stringMin1Max100000;
|
846 | |
847 |
|
848 |
|
849 | Description?: __stringMin0Max256;
|
850 | RegistryName: __string;
|
851 | SchemaName: __string;
|
852 | |
853 |
|
854 |
|
855 | Type?: Type;
|
856 | }
|
857 | export interface UpdateSchemaResponse {
|
858 | |
859 |
|
860 |
|
861 | Description?: __string;
|
862 | |
863 |
|
864 |
|
865 | LastModified?: __timestampIso8601;
|
866 | |
867 |
|
868 |
|
869 | SchemaArn?: __string;
|
870 | |
871 |
|
872 |
|
873 | SchemaName?: __string;
|
874 | |
875 |
|
876 |
|
877 | SchemaVersion?: __string;
|
878 | Tags?: Tags;
|
879 | |
880 |
|
881 |
|
882 | Type?: __string;
|
883 | |
884 |
|
885 |
|
886 | VersionCreatedDate?: __timestampIso8601;
|
887 | }
|
888 | export type __boolean = boolean;
|
889 | export type __integer = number;
|
890 | export type __integerMin1Max29000 = number;
|
891 | export type __listOfDiscovererSummary = DiscovererSummary[];
|
892 | export type __listOfGetDiscoveredSchemaVersionItemInput = GetDiscoveredSchemaVersionItemInput[];
|
893 | export type __listOfRegistrySummary = RegistrySummary[];
|
894 | export type __listOfSchemaSummary = SchemaSummary[];
|
895 | export type __listOfSchemaVersionSummary = SchemaVersionSummary[];
|
896 | export type __listOfSearchSchemaSummary = SearchSchemaSummary[];
|
897 | export type __listOfSearchSchemaVersionSummary = SearchSchemaVersionSummary[];
|
898 | export type __listOf__string = __string[];
|
899 | export type __long = number;
|
900 | export type __string = string;
|
901 | export type __stringMin0Max256 = string;
|
902 | export type __stringMin0Max36 = string;
|
903 | export type __stringMin1Max100000 = string;
|
904 | export type __stringMin1Max1600 = string;
|
905 | export type __stringMin20Max1600 = string;
|
906 | export type __timestampIso8601 = Date;
|
907 | export type Body = Buffer|Uint8Array|Blob|string;
|
908 | |
909 |
|
910 |
|
911 | export type apiVersion = "2019-12-02"|"latest"|string;
|
912 | export interface ClientApiVersions {
|
913 | |
914 |
|
915 |
|
916 | apiVersion?: apiVersion;
|
917 | }
|
918 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
919 | |
920 |
|
921 |
|
922 | export import Types = Schemas;
|
923 | }
|
924 | export = Schemas;
|