|
487 | 487 | ],
|
488 | 488 | "documentation": "<p>Retrieve the schema definition.</p>"
|
489 | 489 | },
|
| 490 | + "ExportSchema": { |
| 491 | + "name": "ExportSchema", |
| 492 | + "http": { |
| 493 | + "method": "GET", |
| 494 | + "requestUri": "/v1/registries/name/{registryName}/schemas/name/{schemaName}/export", |
| 495 | + "responseCode": 200 |
| 496 | + }, |
| 497 | + "input": { |
| 498 | + "shape": "ExportSchemaRequest" |
| 499 | + }, |
| 500 | + "output": { |
| 501 | + "shape": "ExportSchemaResponse", |
| 502 | + "documentation": "<p>200 response</p>" |
| 503 | + }, |
| 504 | + "errors": [ |
| 505 | + { |
| 506 | + "shape": "BadRequestException", |
| 507 | + "documentation": "<p>400 response</p>" |
| 508 | + }, |
| 509 | + { |
| 510 | + "shape": "UnauthorizedException", |
| 511 | + "documentation": "<p>401 response</p>" |
| 512 | + }, |
| 513 | + { |
| 514 | + "shape": "InternalServerErrorException", |
| 515 | + "documentation": "<p>500 response</p>" |
| 516 | + }, |
| 517 | + { |
| 518 | + "shape": "ForbiddenException", |
| 519 | + "documentation": "<p>403 response</p>" |
| 520 | + }, |
| 521 | + { |
| 522 | + "shape": "NotFoundException", |
| 523 | + "documentation": "<p>404 response</p>" |
| 524 | + }, |
| 525 | + { |
| 526 | + "shape": "ServiceUnavailableException", |
| 527 | + "documentation": "<p>503 response</p>" |
| 528 | + }, |
| 529 | + { |
| 530 | + "shape": "TooManyRequestsException", |
| 531 | + "documentation": "<p>429 response</p>" |
| 532 | + } |
| 533 | + ] |
| 534 | + }, |
490 | 535 | "GetCodeBindingSource": {
|
491 | 536 | "name": "GetCodeBindingSource",
|
492 | 537 | "http": {
|
|
1930 | 1975 | "Code"
|
1931 | 1976 | ]
|
1932 | 1977 | },
|
| 1978 | + "ExportSchemaOutput": { |
| 1979 | + "type": "structure", |
| 1980 | + "members": { |
| 1981 | + "Content": { |
| 1982 | + "shape": "__string" |
| 1983 | + }, |
| 1984 | + "SchemaArn": { |
| 1985 | + "shape": "__string" |
| 1986 | + }, |
| 1987 | + "SchemaName": { |
| 1988 | + "shape": "__string" |
| 1989 | + }, |
| 1990 | + "SchemaVersion": { |
| 1991 | + "shape": "__string" |
| 1992 | + }, |
| 1993 | + "Type": { |
| 1994 | + "shape": "__string" |
| 1995 | + } |
| 1996 | + } |
| 1997 | + }, |
| 1998 | + "ExportSchemaRequest": { |
| 1999 | + "type": "structure", |
| 2000 | + "members": { |
| 2001 | + "RegistryName": { |
| 2002 | + "shape": "__string", |
| 2003 | + "location": "uri", |
| 2004 | + "locationName": "registryName", |
| 2005 | + "documentation": "<p>The name of the registry.</p>" |
| 2006 | + }, |
| 2007 | + "SchemaName": { |
| 2008 | + "shape": "__string", |
| 2009 | + "location": "uri", |
| 2010 | + "locationName": "schemaName", |
| 2011 | + "documentation": "<p>The name of the schema.</p>" |
| 2012 | + }, |
| 2013 | + "SchemaVersion": { |
| 2014 | + "shape": "__string", |
| 2015 | + "location": "querystring", |
| 2016 | + "locationName": "schemaVersion", |
| 2017 | + "documentation": "<p>Specifying this limits the results to only this schema version.</p>" |
| 2018 | + }, |
| 2019 | + "Type": { |
| 2020 | + "shape": "__string", |
| 2021 | + "location": "querystring", |
| 2022 | + "locationName": "type" |
| 2023 | + } |
| 2024 | + }, |
| 2025 | + "required": [ |
| 2026 | + "RegistryName", |
| 2027 | + "SchemaName", |
| 2028 | + "Type" |
| 2029 | + ] |
| 2030 | + }, |
| 2031 | + "ExportSchemaResponse": { |
| 2032 | + "type": "structure", |
| 2033 | + "members": { |
| 2034 | + "Content": { |
| 2035 | + "shape": "__string" |
| 2036 | + }, |
| 2037 | + "SchemaArn": { |
| 2038 | + "shape": "__string" |
| 2039 | + }, |
| 2040 | + "SchemaName": { |
| 2041 | + "shape": "__string" |
| 2042 | + }, |
| 2043 | + "SchemaVersion": { |
| 2044 | + "shape": "__string" |
| 2045 | + }, |
| 2046 | + "Type": { |
| 2047 | + "shape": "__string" |
| 2048 | + } |
| 2049 | + } |
| 2050 | + }, |
1933 | 2051 | "ForbiddenException": {
|
1934 | 2052 | "type": "structure",
|
1935 | 2053 | "members": {
|
|
2743 | 2861 | "SchemaVersion": {
|
2744 | 2862 | "shape": "__string",
|
2745 | 2863 | "documentation": "<p>The version number of the schema.</p>"
|
| 2864 | + }, |
| 2865 | + "Type": { |
| 2866 | + "shape": "Type", |
| 2867 | + "documentation": "<p>The type of schema.</p>" |
2746 | 2868 | }
|
2747 | 2869 | }
|
2748 | 2870 | },
|
|
2777 | 2899 | "SchemaVersion": {
|
2778 | 2900 | "shape": "__string",
|
2779 | 2901 | "documentation": "<p>The version number of the schema</p>"
|
| 2902 | + }, |
| 2903 | + "Type": { |
| 2904 | + "shape": "Type", |
| 2905 | + "documentation": "<p>The type of schema.</p>" |
2780 | 2906 | }
|
2781 | 2907 | }
|
2782 | 2908 | },
|
|
2981 | 3107 | "Type": {
|
2982 | 3108 | "type": "string",
|
2983 | 3109 | "enum": [
|
2984 |
| - "OpenApi3" |
| 3110 | + "OpenApi3", |
| 3111 | + "JSONSchemaDraft4" |
2985 | 3112 | ]
|
2986 | 3113 | },
|
2987 | 3114 | "UnauthorizedException": {
|
|
0 commit comments