@aws-sdk/client-schemas 3.35.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Schemas.js +0 -1
  3. package/dist-cjs/SchemasClient.js +0 -1
  4. package/dist-cjs/commands/CreateDiscovererCommand.js +0 -1
  5. package/dist-cjs/commands/CreateRegistryCommand.js +0 -1
  6. package/dist-cjs/commands/CreateSchemaCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteDiscovererCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteRegistryCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteSchemaCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteSchemaVersionCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeCodeBindingCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeDiscovererCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeRegistryCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeSchemaCommand.js +0 -1
  16. package/dist-cjs/commands/ExportSchemaCommand.js +0 -1
  17. package/dist-cjs/commands/GetCodeBindingSourceCommand.js +0 -1
  18. package/dist-cjs/commands/GetDiscoveredSchemaCommand.js +0 -1
  19. package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -1
  20. package/dist-cjs/commands/ListDiscoverersCommand.js +0 -1
  21. package/dist-cjs/commands/ListRegistriesCommand.js +0 -1
  22. package/dist-cjs/commands/ListSchemaVersionsCommand.js +0 -1
  23. package/dist-cjs/commands/ListSchemasCommand.js +0 -1
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  25. package/dist-cjs/commands/PutCodeBindingCommand.js +0 -1
  26. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -1
  27. package/dist-cjs/commands/SearchSchemasCommand.js +0 -1
  28. package/dist-cjs/commands/StartDiscovererCommand.js +0 -1
  29. package/dist-cjs/commands/StopDiscovererCommand.js +0 -1
  30. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  31. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  32. package/dist-cjs/commands/UpdateDiscovererCommand.js +0 -1
  33. package/dist-cjs/commands/UpdateRegistryCommand.js +0 -1
  34. package/dist-cjs/commands/UpdateSchemaCommand.js +0 -1
  35. package/dist-cjs/endpoints.js +0 -1
  36. package/dist-cjs/index.js +0 -1
  37. package/dist-cjs/models/index.js +0 -1
  38. package/dist-cjs/models/models_0.js +0 -1
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/ListDiscoverersPaginator.js +0 -1
  41. package/dist-cjs/pagination/ListRegistriesPaginator.js +0 -1
  42. package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +0 -1
  43. package/dist-cjs/pagination/ListSchemasPaginator.js +0 -1
  44. package/dist-cjs/pagination/SearchSchemasPaginator.js +0 -1
  45. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  46. package/dist-cjs/runtimeConfig.browser.js +2 -3
  47. package/dist-cjs/runtimeConfig.js +3 -4
  48. package/dist-cjs/runtimeConfig.native.js +0 -1
  49. package/dist-cjs/runtimeConfig.shared.js +0 -1
  50. package/dist-cjs/waiters/waitForCodeBindingExists.js +0 -1
  51. package/dist-es/Schemas.js +0 -1
  52. package/dist-es/SchemasClient.js +0 -1
  53. package/dist-es/commands/CreateDiscovererCommand.js +0 -1
  54. package/dist-es/commands/CreateRegistryCommand.js +0 -1
  55. package/dist-es/commands/CreateSchemaCommand.js +0 -1
  56. package/dist-es/commands/DeleteDiscovererCommand.js +0 -1
  57. package/dist-es/commands/DeleteRegistryCommand.js +0 -1
  58. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
  59. package/dist-es/commands/DeleteSchemaCommand.js +0 -1
  60. package/dist-es/commands/DeleteSchemaVersionCommand.js +0 -1
  61. package/dist-es/commands/DescribeCodeBindingCommand.js +0 -1
  62. package/dist-es/commands/DescribeDiscovererCommand.js +0 -1
  63. package/dist-es/commands/DescribeRegistryCommand.js +0 -1
  64. package/dist-es/commands/DescribeSchemaCommand.js +0 -1
  65. package/dist-es/commands/ExportSchemaCommand.js +0 -1
  66. package/dist-es/commands/GetCodeBindingSourceCommand.js +0 -1
  67. package/dist-es/commands/GetDiscoveredSchemaCommand.js +0 -1
  68. package/dist-es/commands/GetResourcePolicyCommand.js +0 -1
  69. package/dist-es/commands/ListDiscoverersCommand.js +0 -1
  70. package/dist-es/commands/ListRegistriesCommand.js +0 -1
  71. package/dist-es/commands/ListSchemaVersionsCommand.js +0 -1
  72. package/dist-es/commands/ListSchemasCommand.js +0 -1
  73. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  74. package/dist-es/commands/PutCodeBindingCommand.js +0 -1
  75. package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
  76. package/dist-es/commands/SearchSchemasCommand.js +0 -1
  77. package/dist-es/commands/StartDiscovererCommand.js +0 -1
  78. package/dist-es/commands/StopDiscovererCommand.js +0 -1
  79. package/dist-es/commands/TagResourceCommand.js +0 -1
  80. package/dist-es/commands/UntagResourceCommand.js +0 -1
  81. package/dist-es/commands/UpdateDiscovererCommand.js +0 -1
  82. package/dist-es/commands/UpdateRegistryCommand.js +0 -1
  83. package/dist-es/commands/UpdateSchemaCommand.js +0 -1
  84. package/dist-es/endpoints.js +0 -1
  85. package/dist-es/index.js +0 -1
  86. package/dist-es/models/index.js +0 -1
  87. package/dist-es/models/models_0.js +0 -1
  88. package/dist-es/pagination/Interfaces.js +0 -1
  89. package/dist-es/pagination/ListDiscoverersPaginator.js +0 -1
  90. package/dist-es/pagination/ListRegistriesPaginator.js +0 -1
  91. package/dist-es/pagination/ListSchemaVersionsPaginator.js +0 -1
  92. package/dist-es/pagination/ListSchemasPaginator.js +0 -1
  93. package/dist-es/pagination/SearchSchemasPaginator.js +0 -1
  94. package/dist-es/protocols/Aws_restJson1.js +0 -1
  95. package/dist-es/runtimeConfig.browser.js +1 -2
  96. package/dist-es/runtimeConfig.js +2 -3
  97. package/dist-es/runtimeConfig.native.js +0 -1
  98. package/dist-es/runtimeConfig.shared.js +0 -1
  99. package/dist-es/waiters/waitForCodeBindingExists.js +0 -1
  100. package/package.json +34 -31
  101. package/dist-cjs/Schemas.js.map +0 -1
  102. package/dist-cjs/SchemasClient.js.map +0 -1
  103. package/dist-cjs/commands/CreateDiscovererCommand.js.map +0 -1
  104. package/dist-cjs/commands/CreateRegistryCommand.js.map +0 -1
  105. package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
  106. package/dist-cjs/commands/DeleteDiscovererCommand.js.map +0 -1
  107. package/dist-cjs/commands/DeleteRegistryCommand.js.map +0 -1
  108. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  109. package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeleteSchemaVersionCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeCodeBindingCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeDiscovererCommand.js.map +0 -1
  113. package/dist-cjs/commands/DescribeRegistryCommand.js.map +0 -1
  114. package/dist-cjs/commands/DescribeSchemaCommand.js.map +0 -1
  115. package/dist-cjs/commands/ExportSchemaCommand.js.map +0 -1
  116. package/dist-cjs/commands/GetCodeBindingSourceCommand.js.map +0 -1
  117. package/dist-cjs/commands/GetDiscoveredSchemaCommand.js.map +0 -1
  118. package/dist-cjs/commands/GetResourcePolicyCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListDiscoverersCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListRegistriesCommand.js.map +0 -1
  121. package/dist-cjs/commands/ListSchemaVersionsCommand.js.map +0 -1
  122. package/dist-cjs/commands/ListSchemasCommand.js.map +0 -1
  123. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  124. package/dist-cjs/commands/PutCodeBindingCommand.js.map +0 -1
  125. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  126. package/dist-cjs/commands/SearchSchemasCommand.js.map +0 -1
  127. package/dist-cjs/commands/StartDiscovererCommand.js.map +0 -1
  128. package/dist-cjs/commands/StopDiscovererCommand.js.map +0 -1
  129. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  130. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  131. package/dist-cjs/commands/UpdateDiscovererCommand.js.map +0 -1
  132. package/dist-cjs/commands/UpdateRegistryCommand.js.map +0 -1
  133. package/dist-cjs/commands/UpdateSchemaCommand.js.map +0 -1
  134. package/dist-cjs/endpoints.js.map +0 -1
  135. package/dist-cjs/index.js.map +0 -1
  136. package/dist-cjs/models/index.js.map +0 -1
  137. package/dist-cjs/models/models_0.js.map +0 -1
  138. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  139. package/dist-cjs/pagination/ListDiscoverersPaginator.js.map +0 -1
  140. package/dist-cjs/pagination/ListRegistriesPaginator.js.map +0 -1
  141. package/dist-cjs/pagination/ListSchemaVersionsPaginator.js.map +0 -1
  142. package/dist-cjs/pagination/ListSchemasPaginator.js.map +0 -1
  143. package/dist-cjs/pagination/SearchSchemasPaginator.js.map +0 -1
  144. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  145. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  146. package/dist-cjs/runtimeConfig.js.map +0 -1
  147. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  148. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  149. package/dist-cjs/waiters/waitForCodeBindingExists.js.map +0 -1
  150. package/dist-es/Schemas.js.map +0 -1
  151. package/dist-es/SchemasClient.js.map +0 -1
  152. package/dist-es/commands/CreateDiscovererCommand.js.map +0 -1
  153. package/dist-es/commands/CreateRegistryCommand.js.map +0 -1
  154. package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
  155. package/dist-es/commands/DeleteDiscovererCommand.js.map +0 -1
  156. package/dist-es/commands/DeleteRegistryCommand.js.map +0 -1
  157. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  158. package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
  159. package/dist-es/commands/DeleteSchemaVersionCommand.js.map +0 -1
  160. package/dist-es/commands/DescribeCodeBindingCommand.js.map +0 -1
  161. package/dist-es/commands/DescribeDiscovererCommand.js.map +0 -1
  162. package/dist-es/commands/DescribeRegistryCommand.js.map +0 -1
  163. package/dist-es/commands/DescribeSchemaCommand.js.map +0 -1
  164. package/dist-es/commands/ExportSchemaCommand.js.map +0 -1
  165. package/dist-es/commands/GetCodeBindingSourceCommand.js.map +0 -1
  166. package/dist-es/commands/GetDiscoveredSchemaCommand.js.map +0 -1
  167. package/dist-es/commands/GetResourcePolicyCommand.js.map +0 -1
  168. package/dist-es/commands/ListDiscoverersCommand.js.map +0 -1
  169. package/dist-es/commands/ListRegistriesCommand.js.map +0 -1
  170. package/dist-es/commands/ListSchemaVersionsCommand.js.map +0 -1
  171. package/dist-es/commands/ListSchemasCommand.js.map +0 -1
  172. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  173. package/dist-es/commands/PutCodeBindingCommand.js.map +0 -1
  174. package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
  175. package/dist-es/commands/SearchSchemasCommand.js.map +0 -1
  176. package/dist-es/commands/StartDiscovererCommand.js.map +0 -1
  177. package/dist-es/commands/StopDiscovererCommand.js.map +0 -1
  178. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  179. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  180. package/dist-es/commands/UpdateDiscovererCommand.js.map +0 -1
  181. package/dist-es/commands/UpdateRegistryCommand.js.map +0 -1
  182. package/dist-es/commands/UpdateSchemaCommand.js.map +0 -1
  183. package/dist-es/endpoints.js.map +0 -1
  184. package/dist-es/index.js.map +0 -1
  185. package/dist-es/models/index.js.map +0 -1
  186. package/dist-es/models/models_0.js.map +0 -1
  187. package/dist-es/pagination/Interfaces.js.map +0 -1
  188. package/dist-es/pagination/ListDiscoverersPaginator.js.map +0 -1
  189. package/dist-es/pagination/ListRegistriesPaginator.js.map +0 -1
  190. package/dist-es/pagination/ListSchemaVersionsPaginator.js.map +0 -1
  191. package/dist-es/pagination/ListSchemasPaginator.js.map +0 -1
  192. package/dist-es/pagination/SearchSchemasPaginator.js.map +0 -1
  193. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  194. package/dist-es/runtimeConfig.browser.js.map +0 -1
  195. package/dist-es/runtimeConfig.js.map +0 -1
  196. package/dist-es/runtimeConfig.native.js.map +0 -1
  197. package/dist-es/runtimeConfig.shared.js.map +0 -1
  198. package/dist-es/waiters/waitForCodeBindingExists.js.map +0 -1
  199. package/jest.config.js +0 -4
  200. package/src/Schemas.ts +0 -1120
  201. package/src/SchemasClient.ts +0 -347
  202. package/src/commands/CreateDiscovererCommand.ts +0 -95
  203. package/src/commands/CreateRegistryCommand.ts +0 -95
  204. package/src/commands/CreateSchemaCommand.ts +0 -95
  205. package/src/commands/DeleteDiscovererCommand.ts +0 -95
  206. package/src/commands/DeleteRegistryCommand.ts +0 -95
  207. package/src/commands/DeleteResourcePolicyCommand.ts +0 -95
  208. package/src/commands/DeleteSchemaCommand.ts +0 -95
  209. package/src/commands/DeleteSchemaVersionCommand.ts +0 -95
  210. package/src/commands/DescribeCodeBindingCommand.ts +0 -95
  211. package/src/commands/DescribeDiscovererCommand.ts +0 -95
  212. package/src/commands/DescribeRegistryCommand.ts +0 -95
  213. package/src/commands/DescribeSchemaCommand.ts +0 -95
  214. package/src/commands/ExportSchemaCommand.ts +0 -78
  215. package/src/commands/GetCodeBindingSourceCommand.ts +0 -95
  216. package/src/commands/GetDiscoveredSchemaCommand.ts +0 -95
  217. package/src/commands/GetResourcePolicyCommand.ts +0 -95
  218. package/src/commands/ListDiscoverersCommand.ts +0 -95
  219. package/src/commands/ListRegistriesCommand.ts +0 -95
  220. package/src/commands/ListSchemaVersionsCommand.ts +0 -95
  221. package/src/commands/ListSchemasCommand.ts +0 -95
  222. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  223. package/src/commands/PutCodeBindingCommand.ts +0 -95
  224. package/src/commands/PutResourcePolicyCommand.ts +0 -95
  225. package/src/commands/SearchSchemasCommand.ts +0 -95
  226. package/src/commands/StartDiscovererCommand.ts +0 -95
  227. package/src/commands/StopDiscovererCommand.ts +0 -95
  228. package/src/commands/TagResourceCommand.ts +0 -95
  229. package/src/commands/UntagResourceCommand.ts +0 -95
  230. package/src/commands/UpdateDiscovererCommand.ts +0 -95
  231. package/src/commands/UpdateRegistryCommand.ts +0 -95
  232. package/src/commands/UpdateSchemaCommand.ts +0 -95
  233. package/src/endpoints.ts +0 -57
  234. package/src/index.ts +0 -41
  235. package/src/models/index.ts +0 -1
  236. package/src/models/models_0.ts +0 -1901
  237. package/src/pagination/Interfaces.ts +0 -8
  238. package/src/pagination/ListDiscoverersPaginator.ts +0 -59
  239. package/src/pagination/ListRegistriesPaginator.ts +0 -59
  240. package/src/pagination/ListSchemaVersionsPaginator.ts +0 -59
  241. package/src/pagination/ListSchemasPaginator.ts +0 -55
  242. package/src/pagination/SearchSchemasPaginator.ts +0 -59
  243. package/src/protocols/Aws_restJson1.ts +0 -4748
  244. package/src/runtimeConfig.browser.ts +0 -41
  245. package/src/runtimeConfig.native.ts +0 -17
  246. package/src/runtimeConfig.shared.ts +0 -17
  247. package/src/runtimeConfig.ts +0 -46
  248. package/src/waiters/waitForCodeBindingExists.ts +0 -66
  249. package/tsconfig.es.json +0 -10
  250. package/tsconfig.json +0 -33
  251. package/tsconfig.types.json +0 -9
@@ -1,1901 +0,0 @@
1
- import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- export enum DiscovererState {
5
- STARTED = "STARTED",
6
- STOPPED = "STOPPED",
7
- }
8
-
9
- export interface DiscovererSummary {
10
- /**
11
- * <p>The ARN of the discoverer.</p>
12
- */
13
- DiscovererArn?: string;
14
-
15
- /**
16
- * <p>The ID of the discoverer.</p>
17
- */
18
- DiscovererId?: string;
19
-
20
- /**
21
- * <p>The ARN of the event bus.</p>
22
- */
23
- SourceArn?: string;
24
-
25
- /**
26
- * <p>The state of the discoverer.</p>
27
- */
28
- State?: DiscovererState | string;
29
-
30
- /**
31
- * <p>The Status if the discoverer will discover schemas from events sent from another account.</p>
32
- */
33
- CrossAccount?: boolean;
34
-
35
- /**
36
- * <p>Tags associated with the resource.</p>
37
- */
38
- Tags?: { [key: string]: string };
39
- }
40
-
41
- export namespace DiscovererSummary {
42
- /**
43
- * @internal
44
- */
45
- export const filterSensitiveLog = (obj: DiscovererSummary): any => ({
46
- ...obj,
47
- });
48
- }
49
-
50
- export interface RegistrySummary {
51
- /**
52
- * <p>The ARN of the registry.</p>
53
- */
54
- RegistryArn?: string;
55
-
56
- /**
57
- * <p>The name of the registry.</p>
58
- */
59
- RegistryName?: string;
60
-
61
- /**
62
- * <p>Tags associated with the registry.</p>
63
- */
64
- Tags?: { [key: string]: string };
65
- }
66
-
67
- export namespace RegistrySummary {
68
- /**
69
- * @internal
70
- */
71
- export const filterSensitiveLog = (obj: RegistrySummary): any => ({
72
- ...obj,
73
- });
74
- }
75
-
76
- /**
77
- * <p>A summary of schema details.</p>
78
- */
79
- export interface SchemaSummary {
80
- /**
81
- * <p>The date and time that schema was modified.</p>
82
- */
83
- LastModified?: Date;
84
-
85
- /**
86
- * <p>The ARN of the schema.</p>
87
- */
88
- SchemaArn?: string;
89
-
90
- /**
91
- * <p>The name of the schema.</p>
92
- */
93
- SchemaName?: string;
94
-
95
- /**
96
- * <p>Tags associated with the schema.</p>
97
- */
98
- Tags?: { [key: string]: string };
99
-
100
- /**
101
- * <p>The number of versions available for the schema.</p>
102
- */
103
- VersionCount?: number;
104
- }
105
-
106
- export namespace SchemaSummary {
107
- /**
108
- * @internal
109
- */
110
- export const filterSensitiveLog = (obj: SchemaSummary): any => ({
111
- ...obj,
112
- });
113
- }
114
-
115
- export enum Type {
116
- JSONSchemaDraft4 = "JSONSchemaDraft4",
117
- OpenApi3 = "OpenApi3",
118
- }
119
-
120
- export interface SchemaVersionSummary {
121
- /**
122
- * <p>The ARN of the schema version.</p>
123
- */
124
- SchemaArn?: string;
125
-
126
- /**
127
- * <p>The name of the schema.</p>
128
- */
129
- SchemaName?: string;
130
-
131
- /**
132
- * <p>The version number of the schema.</p>
133
- */
134
- SchemaVersion?: string;
135
-
136
- /**
137
- * <p>The type of schema.</p>
138
- */
139
- Type?: Type | string;
140
- }
141
-
142
- export namespace SchemaVersionSummary {
143
- /**
144
- * @internal
145
- */
146
- export const filterSensitiveLog = (obj: SchemaVersionSummary): any => ({
147
- ...obj,
148
- });
149
- }
150
-
151
- export interface SearchSchemaVersionSummary {
152
- /**
153
- * <p>The date the schema version was created.</p>
154
- */
155
- CreatedDate?: Date;
156
-
157
- /**
158
- * <p>The version number of the schema</p>
159
- */
160
- SchemaVersion?: string;
161
-
162
- /**
163
- * <p>The type of schema.</p>
164
- */
165
- Type?: Type | string;
166
- }
167
-
168
- export namespace SearchSchemaVersionSummary {
169
- /**
170
- * @internal
171
- */
172
- export const filterSensitiveLog = (obj: SearchSchemaVersionSummary): any => ({
173
- ...obj,
174
- });
175
- }
176
-
177
- export interface SearchSchemaSummary {
178
- /**
179
- * <p>The name of the registry.</p>
180
- */
181
- RegistryName?: string;
182
-
183
- /**
184
- * <p>The ARN of the schema.</p>
185
- */
186
- SchemaArn?: string;
187
-
188
- /**
189
- * <p>The name of the schema.</p>
190
- */
191
- SchemaName?: string;
192
-
193
- /**
194
- * <p>An array of schema version summaries.</p>
195
- */
196
- SchemaVersions?: SearchSchemaVersionSummary[];
197
- }
198
-
199
- export namespace SearchSchemaSummary {
200
- /**
201
- * @internal
202
- */
203
- export const filterSensitiveLog = (obj: SearchSchemaSummary): any => ({
204
- ...obj,
205
- });
206
- }
207
-
208
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
209
- name: "BadRequestException";
210
- $fault: "client";
211
- /**
212
- * <p>The error code.</p>
213
- */
214
- Code: string | undefined;
215
-
216
- /**
217
- * <p>The message string of the error output.</p>
218
- */
219
- Message: string | undefined;
220
- }
221
-
222
- export namespace BadRequestException {
223
- /**
224
- * @internal
225
- */
226
- export const filterSensitiveLog = (obj: BadRequestException): any => ({
227
- ...obj,
228
- });
229
- }
230
-
231
- export enum CodeGenerationStatus {
232
- CREATE_COMPLETE = "CREATE_COMPLETE",
233
- CREATE_FAILED = "CREATE_FAILED",
234
- CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
235
- }
236
-
237
- export interface ConflictException extends __SmithyException, $MetadataBearer {
238
- name: "ConflictException";
239
- $fault: "client";
240
- /**
241
- * <p>The error code.</p>
242
- */
243
- Code: string | undefined;
244
-
245
- /**
246
- * <p>The message string of the error output.</p>
247
- */
248
- Message: string | undefined;
249
- }
250
-
251
- export namespace ConflictException {
252
- /**
253
- * @internal
254
- */
255
- export const filterSensitiveLog = (obj: ConflictException): any => ({
256
- ...obj,
257
- });
258
- }
259
-
260
- export interface CreateDiscovererRequest {
261
- /**
262
- * <p>A description for the discoverer.</p>
263
- */
264
- Description?: string;
265
-
266
- /**
267
- * <p>The ARN of the event bus.</p>
268
- */
269
- SourceArn: string | undefined;
270
-
271
- /**
272
- * <p>Support discovery of schemas in events sent to the bus from another account. (default: true).</p>
273
- */
274
- CrossAccount?: boolean;
275
-
276
- /**
277
- * <p>Tags associated with the resource.</p>
278
- */
279
- Tags?: { [key: string]: string };
280
- }
281
-
282
- export namespace CreateDiscovererRequest {
283
- /**
284
- * @internal
285
- */
286
- export const filterSensitiveLog = (obj: CreateDiscovererRequest): any => ({
287
- ...obj,
288
- });
289
- }
290
-
291
- export interface CreateDiscovererResponse {
292
- /**
293
- * <p>The description of the discoverer.</p>
294
- */
295
- Description?: string;
296
-
297
- /**
298
- * <p>The ARN of the discoverer.</p>
299
- */
300
- DiscovererArn?: string;
301
-
302
- /**
303
- * <p>The ID of the discoverer.</p>
304
- */
305
- DiscovererId?: string;
306
-
307
- /**
308
- * <p>The ARN of the event bus.</p>
309
- */
310
- SourceArn?: string;
311
-
312
- /**
313
- * <p>The state of the discoverer.</p>
314
- */
315
- State?: DiscovererState | string;
316
-
317
- /**
318
- * <p>The Status if the discoverer will discover schemas from events sent from another account.</p>
319
- */
320
- CrossAccount?: boolean;
321
-
322
- /**
323
- * <p>Tags associated with the resource.</p>
324
- */
325
- Tags?: { [key: string]: string };
326
- }
327
-
328
- export namespace CreateDiscovererResponse {
329
- /**
330
- * @internal
331
- */
332
- export const filterSensitiveLog = (obj: CreateDiscovererResponse): any => ({
333
- ...obj,
334
- });
335
- }
336
-
337
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
338
- name: "ForbiddenException";
339
- $fault: "client";
340
- /**
341
- * <p>The error code.</p>
342
- */
343
- Code: string | undefined;
344
-
345
- /**
346
- * <p>The message string of the error output.</p>
347
- */
348
- Message: string | undefined;
349
- }
350
-
351
- export namespace ForbiddenException {
352
- /**
353
- * @internal
354
- */
355
- export const filterSensitiveLog = (obj: ForbiddenException): any => ({
356
- ...obj,
357
- });
358
- }
359
-
360
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
361
- name: "InternalServerErrorException";
362
- $fault: "server";
363
- /**
364
- * <p>The error code.</p>
365
- */
366
- Code: string | undefined;
367
-
368
- /**
369
- * <p>The message string of the error output.</p>
370
- */
371
- Message: string | undefined;
372
- }
373
-
374
- export namespace InternalServerErrorException {
375
- /**
376
- * @internal
377
- */
378
- export const filterSensitiveLog = (obj: InternalServerErrorException): any => ({
379
- ...obj,
380
- });
381
- }
382
-
383
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
384
- name: "ServiceUnavailableException";
385
- $fault: "server";
386
- /**
387
- * <p>The error code.</p>
388
- */
389
- Code: string | undefined;
390
-
391
- /**
392
- * <p>The message string of the error output.</p>
393
- */
394
- Message: string | undefined;
395
- }
396
-
397
- export namespace ServiceUnavailableException {
398
- /**
399
- * @internal
400
- */
401
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
402
- ...obj,
403
- });
404
- }
405
-
406
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
407
- name: "UnauthorizedException";
408
- $fault: "client";
409
- /**
410
- * <p>The error code.</p>
411
- */
412
- Code: string | undefined;
413
-
414
- /**
415
- * <p>The message string of the error output.</p>
416
- */
417
- Message: string | undefined;
418
- }
419
-
420
- export namespace UnauthorizedException {
421
- /**
422
- * @internal
423
- */
424
- export const filterSensitiveLog = (obj: UnauthorizedException): any => ({
425
- ...obj,
426
- });
427
- }
428
-
429
- export interface CreateRegistryRequest {
430
- /**
431
- * <p>A description of the registry to be created.</p>
432
- */
433
- Description?: string;
434
-
435
- /**
436
- * <p>The name of the registry.</p>
437
- */
438
- RegistryName: string | undefined;
439
-
440
- /**
441
- * <p>Tags to associate with the registry.</p>
442
- */
443
- Tags?: { [key: string]: string };
444
- }
445
-
446
- export namespace CreateRegistryRequest {
447
- /**
448
- * @internal
449
- */
450
- export const filterSensitiveLog = (obj: CreateRegistryRequest): any => ({
451
- ...obj,
452
- });
453
- }
454
-
455
- export interface CreateRegistryResponse {
456
- /**
457
- * <p>The description of the registry.</p>
458
- */
459
- Description?: string;
460
-
461
- /**
462
- * <p>The ARN of the registry.</p>
463
- */
464
- RegistryArn?: string;
465
-
466
- /**
467
- * <p>The name of the registry.</p>
468
- */
469
- RegistryName?: string;
470
-
471
- /**
472
- * <p>Tags associated with the registry.</p>
473
- */
474
- Tags?: { [key: string]: string };
475
- }
476
-
477
- export namespace CreateRegistryResponse {
478
- /**
479
- * @internal
480
- */
481
- export const filterSensitiveLog = (obj: CreateRegistryResponse): any => ({
482
- ...obj,
483
- });
484
- }
485
-
486
- export interface CreateSchemaRequest {
487
- /**
488
- * <p>The source of the schema definition.</p>
489
- */
490
- Content: string | undefined;
491
-
492
- /**
493
- * <p>A description of the schema.</p>
494
- */
495
- Description?: string;
496
-
497
- /**
498
- * <p>The name of the registry.</p>
499
- */
500
- RegistryName: string | undefined;
501
-
502
- /**
503
- * <p>The name of the schema.</p>
504
- */
505
- SchemaName: string | undefined;
506
-
507
- /**
508
- * <p>Tags associated with the schema.</p>
509
- */
510
- Tags?: { [key: string]: string };
511
-
512
- /**
513
- * <p>The type of schema.</p>
514
- */
515
- Type: Type | string | undefined;
516
- }
517
-
518
- export namespace CreateSchemaRequest {
519
- /**
520
- * @internal
521
- */
522
- export const filterSensitiveLog = (obj: CreateSchemaRequest): any => ({
523
- ...obj,
524
- });
525
- }
526
-
527
- export interface CreateSchemaResponse {
528
- /**
529
- * <p>The description of the schema.</p>
530
- */
531
- Description?: string;
532
-
533
- /**
534
- * <p>The date and time that schema was modified.</p>
535
- */
536
- LastModified?: Date;
537
-
538
- /**
539
- * <p>The ARN of the schema.</p>
540
- */
541
- SchemaArn?: string;
542
-
543
- /**
544
- * <p>The name of the schema.</p>
545
- */
546
- SchemaName?: string;
547
-
548
- /**
549
- * <p>The version number of the schema</p>
550
- */
551
- SchemaVersion?: string;
552
-
553
- /**
554
- * <p>Key-value pairs associated with a resource.</p>
555
- */
556
- Tags?: { [key: string]: string };
557
-
558
- /**
559
- * <p>The type of the schema.</p>
560
- */
561
- Type?: string;
562
-
563
- /**
564
- * <p>The date the schema version was created.</p>
565
- */
566
- VersionCreatedDate?: Date;
567
- }
568
-
569
- export namespace CreateSchemaResponse {
570
- /**
571
- * @internal
572
- */
573
- export const filterSensitiveLog = (obj: CreateSchemaResponse): any => ({
574
- ...obj,
575
- });
576
- }
577
-
578
- export interface DeleteDiscovererRequest {
579
- /**
580
- * <p>The ID of the discoverer.</p>
581
- */
582
- DiscovererId: string | undefined;
583
- }
584
-
585
- export namespace DeleteDiscovererRequest {
586
- /**
587
- * @internal
588
- */
589
- export const filterSensitiveLog = (obj: DeleteDiscovererRequest): any => ({
590
- ...obj,
591
- });
592
- }
593
-
594
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
595
- name: "NotFoundException";
596
- $fault: "client";
597
- /**
598
- * <p>The error code.</p>
599
- */
600
- Code: string | undefined;
601
-
602
- /**
603
- * <p>The message string of the error output.</p>
604
- */
605
- Message: string | undefined;
606
- }
607
-
608
- export namespace NotFoundException {
609
- /**
610
- * @internal
611
- */
612
- export const filterSensitiveLog = (obj: NotFoundException): any => ({
613
- ...obj,
614
- });
615
- }
616
-
617
- export interface DeleteRegistryRequest {
618
- /**
619
- * <p>The name of the registry.</p>
620
- */
621
- RegistryName: string | undefined;
622
- }
623
-
624
- export namespace DeleteRegistryRequest {
625
- /**
626
- * @internal
627
- */
628
- export const filterSensitiveLog = (obj: DeleteRegistryRequest): any => ({
629
- ...obj,
630
- });
631
- }
632
-
633
- export interface DeleteResourcePolicyRequest {
634
- /**
635
- * <p>The name of the registry.</p>
636
- */
637
- RegistryName?: string;
638
- }
639
-
640
- export namespace DeleteResourcePolicyRequest {
641
- /**
642
- * @internal
643
- */
644
- export const filterSensitiveLog = (obj: DeleteResourcePolicyRequest): any => ({
645
- ...obj,
646
- });
647
- }
648
-
649
- export interface DeleteSchemaRequest {
650
- /**
651
- * <p>The name of the registry.</p>
652
- */
653
- RegistryName: string | undefined;
654
-
655
- /**
656
- * <p>The name of the schema.</p>
657
- */
658
- SchemaName: string | undefined;
659
- }
660
-
661
- export namespace DeleteSchemaRequest {
662
- /**
663
- * @internal
664
- */
665
- export const filterSensitiveLog = (obj: DeleteSchemaRequest): any => ({
666
- ...obj,
667
- });
668
- }
669
-
670
- export interface DeleteSchemaVersionRequest {
671
- /**
672
- * <p>The name of the registry.</p>
673
- */
674
- RegistryName: string | undefined;
675
-
676
- /**
677
- * <p>The name of the schema.</p>
678
- */
679
- SchemaName: string | undefined;
680
-
681
- /**
682
- * The version number of the schema
683
- */
684
- SchemaVersion: string | undefined;
685
- }
686
-
687
- export namespace DeleteSchemaVersionRequest {
688
- /**
689
- * @internal
690
- */
691
- export const filterSensitiveLog = (obj: DeleteSchemaVersionRequest): any => ({
692
- ...obj,
693
- });
694
- }
695
-
696
- export interface DescribeCodeBindingRequest {
697
- /**
698
- * <p>The language of the code binding.</p>
699
- */
700
- Language: string | undefined;
701
-
702
- /**
703
- * <p>The name of the registry.</p>
704
- */
705
- RegistryName: string | undefined;
706
-
707
- /**
708
- * <p>The name of the schema.</p>
709
- */
710
- SchemaName: string | undefined;
711
-
712
- /**
713
- * <p>Specifying this limits the results to only this schema version.</p>
714
- */
715
- SchemaVersion?: string;
716
- }
717
-
718
- export namespace DescribeCodeBindingRequest {
719
- /**
720
- * @internal
721
- */
722
- export const filterSensitiveLog = (obj: DescribeCodeBindingRequest): any => ({
723
- ...obj,
724
- });
725
- }
726
-
727
- export interface DescribeCodeBindingResponse {
728
- /**
729
- * <p>The time and date that the code binding was created.</p>
730
- */
731
- CreationDate?: Date;
732
-
733
- /**
734
- * <p>The date and time that code bindings were modified.</p>
735
- */
736
- LastModified?: Date;
737
-
738
- /**
739
- * <p>The version number of the schema.</p>
740
- */
741
- SchemaVersion?: string;
742
-
743
- /**
744
- * <p>The current status of code binding generation.</p>
745
- */
746
- Status?: CodeGenerationStatus | string;
747
- }
748
-
749
- export namespace DescribeCodeBindingResponse {
750
- /**
751
- * @internal
752
- */
753
- export const filterSensitiveLog = (obj: DescribeCodeBindingResponse): any => ({
754
- ...obj,
755
- });
756
- }
757
-
758
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
759
- name: "TooManyRequestsException";
760
- $fault: "client";
761
- /**
762
- * <p>The error code.</p>
763
- */
764
- Code: string | undefined;
765
-
766
- /**
767
- * <p>The message string of the error output.</p>
768
- */
769
- Message: string | undefined;
770
- }
771
-
772
- export namespace TooManyRequestsException {
773
- /**
774
- * @internal
775
- */
776
- export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
777
- ...obj,
778
- });
779
- }
780
-
781
- export interface DescribeDiscovererRequest {
782
- /**
783
- * <p>The ID of the discoverer.</p>
784
- */
785
- DiscovererId: string | undefined;
786
- }
787
-
788
- export namespace DescribeDiscovererRequest {
789
- /**
790
- * @internal
791
- */
792
- export const filterSensitiveLog = (obj: DescribeDiscovererRequest): any => ({
793
- ...obj,
794
- });
795
- }
796
-
797
- export interface DescribeDiscovererResponse {
798
- /**
799
- * <p>The description of the discoverer.</p>
800
- */
801
- Description?: string;
802
-
803
- /**
804
- * <p>The ARN of the discoverer.</p>
805
- */
806
- DiscovererArn?: string;
807
-
808
- /**
809
- * <p>The ID of the discoverer.</p>
810
- */
811
- DiscovererId?: string;
812
-
813
- /**
814
- * <p>The ARN of the event bus.</p>
815
- */
816
- SourceArn?: string;
817
-
818
- /**
819
- * <p>The state of the discoverer.</p>
820
- */
821
- State?: DiscovererState | string;
822
-
823
- /**
824
- * <p>The Status if the discoverer will discover schemas from events sent from another account.</p>
825
- */
826
- CrossAccount?: boolean;
827
-
828
- /**
829
- * <p>Tags associated with the resource.</p>
830
- */
831
- Tags?: { [key: string]: string };
832
- }
833
-
834
- export namespace DescribeDiscovererResponse {
835
- /**
836
- * @internal
837
- */
838
- export const filterSensitiveLog = (obj: DescribeDiscovererResponse): any => ({
839
- ...obj,
840
- });
841
- }
842
-
843
- export interface DescribeRegistryRequest {
844
- /**
845
- * <p>The name of the registry.</p>
846
- */
847
- RegistryName: string | undefined;
848
- }
849
-
850
- export namespace DescribeRegistryRequest {
851
- /**
852
- * @internal
853
- */
854
- export const filterSensitiveLog = (obj: DescribeRegistryRequest): any => ({
855
- ...obj,
856
- });
857
- }
858
-
859
- export interface DescribeRegistryResponse {
860
- /**
861
- * <p>The description of the registry.</p>
862
- */
863
- Description?: string;
864
-
865
- /**
866
- * <p>The ARN of the registry.</p>
867
- */
868
- RegistryArn?: string;
869
-
870
- /**
871
- * <p>The name of the registry.</p>
872
- */
873
- RegistryName?: string;
874
-
875
- /**
876
- * <p>Tags associated with the registry.</p>
877
- */
878
- Tags?: { [key: string]: string };
879
- }
880
-
881
- export namespace DescribeRegistryResponse {
882
- /**
883
- * @internal
884
- */
885
- export const filterSensitiveLog = (obj: DescribeRegistryResponse): any => ({
886
- ...obj,
887
- });
888
- }
889
-
890
- export interface DescribeSchemaRequest {
891
- /**
892
- * <p>The name of the registry.</p>
893
- */
894
- RegistryName: string | undefined;
895
-
896
- /**
897
- * <p>The name of the schema.</p>
898
- */
899
- SchemaName: string | undefined;
900
-
901
- /**
902
- * <p>Specifying this limits the results to only this schema version.</p>
903
- */
904
- SchemaVersion?: string;
905
- }
906
-
907
- export namespace DescribeSchemaRequest {
908
- /**
909
- * @internal
910
- */
911
- export const filterSensitiveLog = (obj: DescribeSchemaRequest): any => ({
912
- ...obj,
913
- });
914
- }
915
-
916
- export interface DescribeSchemaResponse {
917
- /**
918
- * <p>The source of the schema definition.</p>
919
- */
920
- Content?: string;
921
-
922
- /**
923
- * <p>The description of the schema.</p>
924
- */
925
- Description?: string;
926
-
927
- /**
928
- * <p>The date and time that schema was modified.</p>
929
- */
930
- LastModified?: Date;
931
-
932
- /**
933
- * <p>The ARN of the schema.</p>
934
- */
935
- SchemaArn?: string;
936
-
937
- /**
938
- * <p>The name of the schema.</p>
939
- */
940
- SchemaName?: string;
941
-
942
- /**
943
- * <p>The version number of the schema</p>
944
- */
945
- SchemaVersion?: string;
946
-
947
- /**
948
- * <p>Tags associated with the resource.</p>
949
- */
950
- Tags?: { [key: string]: string };
951
-
952
- /**
953
- * <p>The type of the schema.</p>
954
- */
955
- Type?: string;
956
-
957
- /**
958
- * <p>The date the schema version was created.</p>
959
- */
960
- VersionCreatedDate?: Date;
961
- }
962
-
963
- export namespace DescribeSchemaResponse {
964
- /**
965
- * @internal
966
- */
967
- export const filterSensitiveLog = (obj: DescribeSchemaResponse): any => ({
968
- ...obj,
969
- });
970
- }
971
-
972
- export interface ExportSchemaRequest {
973
- /**
974
- * <p>The name of the registry.</p>
975
- */
976
- RegistryName: string | undefined;
977
-
978
- /**
979
- * <p>The name of the schema.</p>
980
- */
981
- SchemaName: string | undefined;
982
-
983
- /**
984
- * <p>Specifying this limits the results to only this schema version.</p>
985
- */
986
- SchemaVersion?: string;
987
-
988
- Type: string | undefined;
989
- }
990
-
991
- export namespace ExportSchemaRequest {
992
- /**
993
- * @internal
994
- */
995
- export const filterSensitiveLog = (obj: ExportSchemaRequest): any => ({
996
- ...obj,
997
- });
998
- }
999
-
1000
- export interface ExportSchemaResponse {
1001
- Content?: string;
1002
- SchemaArn?: string;
1003
- SchemaName?: string;
1004
- SchemaVersion?: string;
1005
- Type?: string;
1006
- }
1007
-
1008
- export namespace ExportSchemaResponse {
1009
- /**
1010
- * @internal
1011
- */
1012
- export const filterSensitiveLog = (obj: ExportSchemaResponse): any => ({
1013
- ...obj,
1014
- });
1015
- }
1016
-
1017
- export interface GetCodeBindingSourceRequest {
1018
- /**
1019
- * <p>The language of the code binding.</p>
1020
- */
1021
- Language: string | undefined;
1022
-
1023
- /**
1024
- * <p>The name of the registry.</p>
1025
- */
1026
- RegistryName: string | undefined;
1027
-
1028
- /**
1029
- * <p>The name of the schema.</p>
1030
- */
1031
- SchemaName: string | undefined;
1032
-
1033
- /**
1034
- * <p>Specifying this limits the results to only this schema version.</p>
1035
- */
1036
- SchemaVersion?: string;
1037
- }
1038
-
1039
- export namespace GetCodeBindingSourceRequest {
1040
- /**
1041
- * @internal
1042
- */
1043
- export const filterSensitiveLog = (obj: GetCodeBindingSourceRequest): any => ({
1044
- ...obj,
1045
- });
1046
- }
1047
-
1048
- export interface GetCodeBindingSourceResponse {
1049
- Body?: Uint8Array;
1050
- }
1051
-
1052
- export namespace GetCodeBindingSourceResponse {
1053
- /**
1054
- * @internal
1055
- */
1056
- export const filterSensitiveLog = (obj: GetCodeBindingSourceResponse): any => ({
1057
- ...obj,
1058
- });
1059
- }
1060
-
1061
- export interface GetDiscoveredSchemaRequest {
1062
- /**
1063
- * <p>An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.</p>
1064
- */
1065
- Events: string[] | undefined;
1066
-
1067
- /**
1068
- * <p>The type of event.</p>
1069
- */
1070
- Type: Type | string | undefined;
1071
- }
1072
-
1073
- export namespace GetDiscoveredSchemaRequest {
1074
- /**
1075
- * @internal
1076
- */
1077
- export const filterSensitiveLog = (obj: GetDiscoveredSchemaRequest): any => ({
1078
- ...obj,
1079
- });
1080
- }
1081
-
1082
- export interface GetDiscoveredSchemaResponse {
1083
- /**
1084
- * <p>The source of the schema definition.</p>
1085
- */
1086
- Content?: string;
1087
- }
1088
-
1089
- export namespace GetDiscoveredSchemaResponse {
1090
- /**
1091
- * @internal
1092
- */
1093
- export const filterSensitiveLog = (obj: GetDiscoveredSchemaResponse): any => ({
1094
- ...obj,
1095
- });
1096
- }
1097
-
1098
- export interface GetResourcePolicyRequest {
1099
- /**
1100
- * <p>The name of the registry.</p>
1101
- */
1102
- RegistryName?: string;
1103
- }
1104
-
1105
- export namespace GetResourcePolicyRequest {
1106
- /**
1107
- * @internal
1108
- */
1109
- export const filterSensitiveLog = (obj: GetResourcePolicyRequest): any => ({
1110
- ...obj,
1111
- });
1112
- }
1113
-
1114
- export interface GetResourcePolicyResponse {
1115
- /**
1116
- * <p>The resource-based policy.</p>
1117
- */
1118
- Policy?: __LazyJsonString | string;
1119
-
1120
- /**
1121
- * <p>The revision ID.</p>
1122
- */
1123
- RevisionId?: string;
1124
- }
1125
-
1126
- export namespace GetResourcePolicyResponse {
1127
- /**
1128
- * @internal
1129
- */
1130
- export const filterSensitiveLog = (obj: GetResourcePolicyResponse): any => ({
1131
- ...obj,
1132
- });
1133
- }
1134
-
1135
- export interface GoneException extends __SmithyException, $MetadataBearer {
1136
- name: "GoneException";
1137
- $fault: "client";
1138
- /**
1139
- * <p>The error code.</p>
1140
- */
1141
- Code: string | undefined;
1142
-
1143
- /**
1144
- * <p>The message string of the error output.</p>
1145
- */
1146
- Message: string | undefined;
1147
- }
1148
-
1149
- export namespace GoneException {
1150
- /**
1151
- * @internal
1152
- */
1153
- export const filterSensitiveLog = (obj: GoneException): any => ({
1154
- ...obj,
1155
- });
1156
- }
1157
-
1158
- export interface ListDiscoverersRequest {
1159
- /**
1160
- * <p>Specifying this limits the results to only those discoverer IDs that start with the specified prefix.</p>
1161
- */
1162
- DiscovererIdPrefix?: string;
1163
-
1164
- Limit?: number;
1165
- /**
1166
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1167
- */
1168
- NextToken?: string;
1169
-
1170
- /**
1171
- * <p>Specifying this limits the results to only those ARNs that start with the specified prefix.</p>
1172
- */
1173
- SourceArnPrefix?: string;
1174
- }
1175
-
1176
- export namespace ListDiscoverersRequest {
1177
- /**
1178
- * @internal
1179
- */
1180
- export const filterSensitiveLog = (obj: ListDiscoverersRequest): any => ({
1181
- ...obj,
1182
- });
1183
- }
1184
-
1185
- export interface ListDiscoverersResponse {
1186
- /**
1187
- * <p>An array of DiscovererSummary information.</p>
1188
- */
1189
- Discoverers?: DiscovererSummary[];
1190
-
1191
- /**
1192
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1193
- */
1194
- NextToken?: string;
1195
- }
1196
-
1197
- export namespace ListDiscoverersResponse {
1198
- /**
1199
- * @internal
1200
- */
1201
- export const filterSensitiveLog = (obj: ListDiscoverersResponse): any => ({
1202
- ...obj,
1203
- });
1204
- }
1205
-
1206
- export interface ListRegistriesRequest {
1207
- Limit?: number;
1208
- /**
1209
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1210
- */
1211
- NextToken?: string;
1212
-
1213
- /**
1214
- * <p>Specifying this limits the results to only those registry names that start with the specified prefix.</p>
1215
- */
1216
- RegistryNamePrefix?: string;
1217
-
1218
- /**
1219
- * <p>Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.</p>
1220
- */
1221
- Scope?: string;
1222
- }
1223
-
1224
- export namespace ListRegistriesRequest {
1225
- /**
1226
- * @internal
1227
- */
1228
- export const filterSensitiveLog = (obj: ListRegistriesRequest): any => ({
1229
- ...obj,
1230
- });
1231
- }
1232
-
1233
- export interface ListRegistriesResponse {
1234
- /**
1235
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1236
- */
1237
- NextToken?: string;
1238
-
1239
- /**
1240
- * <p>An array of registry summaries.</p>
1241
- */
1242
- Registries?: RegistrySummary[];
1243
- }
1244
-
1245
- export namespace ListRegistriesResponse {
1246
- /**
1247
- * @internal
1248
- */
1249
- export const filterSensitiveLog = (obj: ListRegistriesResponse): any => ({
1250
- ...obj,
1251
- });
1252
- }
1253
-
1254
- export interface ListSchemasRequest {
1255
- Limit?: number;
1256
- /**
1257
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1258
- */
1259
- NextToken?: string;
1260
-
1261
- /**
1262
- * <p>The name of the registry.</p>
1263
- */
1264
- RegistryName: string | undefined;
1265
-
1266
- /**
1267
- * <p>Specifying this limits the results to only those schema names that start with the specified prefix.</p>
1268
- */
1269
- SchemaNamePrefix?: string;
1270
- }
1271
-
1272
- export namespace ListSchemasRequest {
1273
- /**
1274
- * @internal
1275
- */
1276
- export const filterSensitiveLog = (obj: ListSchemasRequest): any => ({
1277
- ...obj,
1278
- });
1279
- }
1280
-
1281
- export interface ListSchemasResponse {
1282
- /**
1283
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1284
- */
1285
- NextToken?: string;
1286
-
1287
- /**
1288
- * <p>An array of schema summaries.</p>
1289
- */
1290
- Schemas?: SchemaSummary[];
1291
- }
1292
-
1293
- export namespace ListSchemasResponse {
1294
- /**
1295
- * @internal
1296
- */
1297
- export const filterSensitiveLog = (obj: ListSchemasResponse): any => ({
1298
- ...obj,
1299
- });
1300
- }
1301
-
1302
- export interface ListSchemaVersionsRequest {
1303
- Limit?: number;
1304
- /**
1305
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1306
- */
1307
- NextToken?: string;
1308
-
1309
- /**
1310
- * <p>The name of the registry.</p>
1311
- */
1312
- RegistryName: string | undefined;
1313
-
1314
- /**
1315
- * <p>The name of the schema.</p>
1316
- */
1317
- SchemaName: string | undefined;
1318
- }
1319
-
1320
- export namespace ListSchemaVersionsRequest {
1321
- /**
1322
- * @internal
1323
- */
1324
- export const filterSensitiveLog = (obj: ListSchemaVersionsRequest): any => ({
1325
- ...obj,
1326
- });
1327
- }
1328
-
1329
- export interface ListSchemaVersionsResponse {
1330
- /**
1331
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1332
- */
1333
- NextToken?: string;
1334
-
1335
- /**
1336
- * <p>An array of schema version summaries.</p>
1337
- */
1338
- SchemaVersions?: SchemaVersionSummary[];
1339
- }
1340
-
1341
- export namespace ListSchemaVersionsResponse {
1342
- /**
1343
- * @internal
1344
- */
1345
- export const filterSensitiveLog = (obj: ListSchemaVersionsResponse): any => ({
1346
- ...obj,
1347
- });
1348
- }
1349
-
1350
- export interface ListTagsForResourceRequest {
1351
- /**
1352
- * <p>The ARN of the resource.</p>
1353
- */
1354
- ResourceArn: string | undefined;
1355
- }
1356
-
1357
- export namespace ListTagsForResourceRequest {
1358
- /**
1359
- * @internal
1360
- */
1361
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
1362
- ...obj,
1363
- });
1364
- }
1365
-
1366
- export interface ListTagsForResourceResponse {
1367
- /**
1368
- * <p>Key-value pairs associated with a resource.</p>
1369
- */
1370
- Tags?: { [key: string]: string };
1371
- }
1372
-
1373
- export namespace ListTagsForResourceResponse {
1374
- /**
1375
- * @internal
1376
- */
1377
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
1378
- ...obj,
1379
- });
1380
- }
1381
-
1382
- export interface PreconditionFailedException extends __SmithyException, $MetadataBearer {
1383
- name: "PreconditionFailedException";
1384
- $fault: "client";
1385
- /**
1386
- * <p>The error code.</p>
1387
- */
1388
- Code: string | undefined;
1389
-
1390
- /**
1391
- * <p>The message string of the error output.</p>
1392
- */
1393
- Message: string | undefined;
1394
- }
1395
-
1396
- export namespace PreconditionFailedException {
1397
- /**
1398
- * @internal
1399
- */
1400
- export const filterSensitiveLog = (obj: PreconditionFailedException): any => ({
1401
- ...obj,
1402
- });
1403
- }
1404
-
1405
- export interface PutCodeBindingRequest {
1406
- /**
1407
- * <p>The language of the code binding.</p>
1408
- */
1409
- Language: string | undefined;
1410
-
1411
- /**
1412
- * <p>The name of the registry.</p>
1413
- */
1414
- RegistryName: string | undefined;
1415
-
1416
- /**
1417
- * <p>The name of the schema.</p>
1418
- */
1419
- SchemaName: string | undefined;
1420
-
1421
- /**
1422
- * <p>Specifying this limits the results to only this schema version.</p>
1423
- */
1424
- SchemaVersion?: string;
1425
- }
1426
-
1427
- export namespace PutCodeBindingRequest {
1428
- /**
1429
- * @internal
1430
- */
1431
- export const filterSensitiveLog = (obj: PutCodeBindingRequest): any => ({
1432
- ...obj,
1433
- });
1434
- }
1435
-
1436
- export interface PutCodeBindingResponse {
1437
- /**
1438
- * <p>The time and date that the code binding was created.</p>
1439
- */
1440
- CreationDate?: Date;
1441
-
1442
- /**
1443
- * <p>The date and time that code bindings were modified.</p>
1444
- */
1445
- LastModified?: Date;
1446
-
1447
- /**
1448
- * <p>The version number of the schema.</p>
1449
- */
1450
- SchemaVersion?: string;
1451
-
1452
- /**
1453
- * <p>The current status of code binding generation.</p>
1454
- */
1455
- Status?: CodeGenerationStatus | string;
1456
- }
1457
-
1458
- export namespace PutCodeBindingResponse {
1459
- /**
1460
- * @internal
1461
- */
1462
- export const filterSensitiveLog = (obj: PutCodeBindingResponse): any => ({
1463
- ...obj,
1464
- });
1465
- }
1466
-
1467
- /**
1468
- * <p>The name of the policy.</p>
1469
- */
1470
- export interface PutResourcePolicyRequest {
1471
- /**
1472
- * <p>The resource-based policy.</p>
1473
- */
1474
- Policy: __LazyJsonString | string | undefined;
1475
-
1476
- /**
1477
- * <p>The name of the registry.</p>
1478
- */
1479
- RegistryName?: string;
1480
-
1481
- /**
1482
- * <p>The revision ID of the policy.</p>
1483
- */
1484
- RevisionId?: string;
1485
- }
1486
-
1487
- export namespace PutResourcePolicyRequest {
1488
- /**
1489
- * @internal
1490
- */
1491
- export const filterSensitiveLog = (obj: PutResourcePolicyRequest): any => ({
1492
- ...obj,
1493
- });
1494
- }
1495
-
1496
- export interface PutResourcePolicyResponse {
1497
- /**
1498
- * <p>The resource-based policy.</p>
1499
- */
1500
- Policy?: __LazyJsonString | string;
1501
-
1502
- /**
1503
- * <p>The revision ID of the policy.</p>
1504
- */
1505
- RevisionId?: string;
1506
- }
1507
-
1508
- export namespace PutResourcePolicyResponse {
1509
- /**
1510
- * @internal
1511
- */
1512
- export const filterSensitiveLog = (obj: PutResourcePolicyResponse): any => ({
1513
- ...obj,
1514
- });
1515
- }
1516
-
1517
- export interface SearchSchemasRequest {
1518
- /**
1519
- * <p>Specifying this limits the results to only schemas that include the provided keywords.</p>
1520
- */
1521
- Keywords: string | undefined;
1522
-
1523
- Limit?: number;
1524
- /**
1525
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1526
- */
1527
- NextToken?: string;
1528
-
1529
- /**
1530
- * <p>The name of the registry.</p>
1531
- */
1532
- RegistryName: string | undefined;
1533
- }
1534
-
1535
- export namespace SearchSchemasRequest {
1536
- /**
1537
- * @internal
1538
- */
1539
- export const filterSensitiveLog = (obj: SearchSchemasRequest): any => ({
1540
- ...obj,
1541
- });
1542
- }
1543
-
1544
- export interface SearchSchemasResponse {
1545
- /**
1546
- * <p>The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.</p>
1547
- */
1548
- NextToken?: string;
1549
-
1550
- /**
1551
- * <p>An array of SearchSchemaSummary information.</p>
1552
- */
1553
- Schemas?: SearchSchemaSummary[];
1554
- }
1555
-
1556
- export namespace SearchSchemasResponse {
1557
- /**
1558
- * @internal
1559
- */
1560
- export const filterSensitiveLog = (obj: SearchSchemasResponse): any => ({
1561
- ...obj,
1562
- });
1563
- }
1564
-
1565
- export interface StartDiscovererRequest {
1566
- /**
1567
- * <p>The ID of the discoverer.</p>
1568
- */
1569
- DiscovererId: string | undefined;
1570
- }
1571
-
1572
- export namespace StartDiscovererRequest {
1573
- /**
1574
- * @internal
1575
- */
1576
- export const filterSensitiveLog = (obj: StartDiscovererRequest): any => ({
1577
- ...obj,
1578
- });
1579
- }
1580
-
1581
- export interface StartDiscovererResponse {
1582
- /**
1583
- * <p>The ID of the discoverer.</p>
1584
- */
1585
- DiscovererId?: string;
1586
-
1587
- /**
1588
- * <p>The state of the discoverer.</p>
1589
- */
1590
- State?: DiscovererState | string;
1591
- }
1592
-
1593
- export namespace StartDiscovererResponse {
1594
- /**
1595
- * @internal
1596
- */
1597
- export const filterSensitiveLog = (obj: StartDiscovererResponse): any => ({
1598
- ...obj,
1599
- });
1600
- }
1601
-
1602
- export interface StopDiscovererRequest {
1603
- /**
1604
- * <p>The ID of the discoverer.</p>
1605
- */
1606
- DiscovererId: string | undefined;
1607
- }
1608
-
1609
- export namespace StopDiscovererRequest {
1610
- /**
1611
- * @internal
1612
- */
1613
- export const filterSensitiveLog = (obj: StopDiscovererRequest): any => ({
1614
- ...obj,
1615
- });
1616
- }
1617
-
1618
- export interface StopDiscovererResponse {
1619
- /**
1620
- * <p>The ID of the discoverer.</p>
1621
- */
1622
- DiscovererId?: string;
1623
-
1624
- /**
1625
- * <p>The state of the discoverer.</p>
1626
- */
1627
- State?: DiscovererState | string;
1628
- }
1629
-
1630
- export namespace StopDiscovererResponse {
1631
- /**
1632
- * @internal
1633
- */
1634
- export const filterSensitiveLog = (obj: StopDiscovererResponse): any => ({
1635
- ...obj,
1636
- });
1637
- }
1638
-
1639
- /**
1640
- * <p></p>
1641
- */
1642
- export interface TagResourceRequest {
1643
- /**
1644
- * <p>The ARN of the resource.</p>
1645
- */
1646
- ResourceArn: string | undefined;
1647
-
1648
- /**
1649
- * <p>Tags associated with the resource.</p>
1650
- */
1651
- Tags: { [key: string]: string } | undefined;
1652
- }
1653
-
1654
- export namespace TagResourceRequest {
1655
- /**
1656
- * @internal
1657
- */
1658
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
1659
- ...obj,
1660
- });
1661
- }
1662
-
1663
- export interface UntagResourceRequest {
1664
- /**
1665
- * <p>The ARN of the resource.</p>
1666
- */
1667
- ResourceArn: string | undefined;
1668
-
1669
- /**
1670
- * <p>Keys of key-value pairs.</p>
1671
- */
1672
- TagKeys: string[] | undefined;
1673
- }
1674
-
1675
- export namespace UntagResourceRequest {
1676
- /**
1677
- * @internal
1678
- */
1679
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
1680
- ...obj,
1681
- });
1682
- }
1683
-
1684
- export interface UpdateDiscovererRequest {
1685
- /**
1686
- * <p>The description of the discoverer to update.</p>
1687
- */
1688
- Description?: string;
1689
-
1690
- /**
1691
- * <p>The ID of the discoverer.</p>
1692
- */
1693
- DiscovererId: string | undefined;
1694
-
1695
- /**
1696
- * <p>Support discovery of schemas in events sent to the bus from another account. (default: true)</p>
1697
- */
1698
- CrossAccount?: boolean;
1699
- }
1700
-
1701
- export namespace UpdateDiscovererRequest {
1702
- /**
1703
- * @internal
1704
- */
1705
- export const filterSensitiveLog = (obj: UpdateDiscovererRequest): any => ({
1706
- ...obj,
1707
- });
1708
- }
1709
-
1710
- export interface UpdateDiscovererResponse {
1711
- /**
1712
- * <p>The description of the discoverer.</p>
1713
- */
1714
- Description?: string;
1715
-
1716
- /**
1717
- * <p>The ARN of the discoverer.</p>
1718
- */
1719
- DiscovererArn?: string;
1720
-
1721
- /**
1722
- * <p>The ID of the discoverer.</p>
1723
- */
1724
- DiscovererId?: string;
1725
-
1726
- /**
1727
- * <p>The ARN of the event bus.</p>
1728
- */
1729
- SourceArn?: string;
1730
-
1731
- /**
1732
- * <p>The state of the discoverer.</p>
1733
- */
1734
- State?: DiscovererState | string;
1735
-
1736
- /**
1737
- * <p>The Status if the discoverer will discover schemas from events sent from another account.</p>
1738
- */
1739
- CrossAccount?: boolean;
1740
-
1741
- /**
1742
- * <p>Tags associated with the resource.</p>
1743
- */
1744
- Tags?: { [key: string]: string };
1745
- }
1746
-
1747
- export namespace UpdateDiscovererResponse {
1748
- /**
1749
- * @internal
1750
- */
1751
- export const filterSensitiveLog = (obj: UpdateDiscovererResponse): any => ({
1752
- ...obj,
1753
- });
1754
- }
1755
-
1756
- /**
1757
- * <p>Updates the registry.</p>
1758
- */
1759
- export interface UpdateRegistryRequest {
1760
- /**
1761
- * <p>The description of the registry to update.</p>
1762
- */
1763
- Description?: string;
1764
-
1765
- /**
1766
- * <p>The name of the registry.</p>
1767
- */
1768
- RegistryName: string | undefined;
1769
- }
1770
-
1771
- export namespace UpdateRegistryRequest {
1772
- /**
1773
- * @internal
1774
- */
1775
- export const filterSensitiveLog = (obj: UpdateRegistryRequest): any => ({
1776
- ...obj,
1777
- });
1778
- }
1779
-
1780
- export interface UpdateRegistryResponse {
1781
- /**
1782
- * <p>The description of the registry.</p>
1783
- */
1784
- Description?: string;
1785
-
1786
- /**
1787
- * <p>The ARN of the registry.</p>
1788
- */
1789
- RegistryArn?: string;
1790
-
1791
- /**
1792
- * <p>The name of the registry.</p>
1793
- */
1794
- RegistryName?: string;
1795
-
1796
- /**
1797
- * <p>Tags associated with the registry.</p>
1798
- */
1799
- Tags?: { [key: string]: string };
1800
- }
1801
-
1802
- export namespace UpdateRegistryResponse {
1803
- /**
1804
- * @internal
1805
- */
1806
- export const filterSensitiveLog = (obj: UpdateRegistryResponse): any => ({
1807
- ...obj,
1808
- });
1809
- }
1810
-
1811
- export interface UpdateSchemaRequest {
1812
- /**
1813
- * <p>The ID of the client token.</p>
1814
- */
1815
- ClientTokenId?: string;
1816
-
1817
- /**
1818
- * <p>The source of the schema definition.</p>
1819
- */
1820
- Content?: string;
1821
-
1822
- /**
1823
- * <p>The description of the schema.</p>
1824
- */
1825
- Description?: string;
1826
-
1827
- /**
1828
- * <p>The name of the registry.</p>
1829
- */
1830
- RegistryName: string | undefined;
1831
-
1832
- /**
1833
- * <p>The name of the schema.</p>
1834
- */
1835
- SchemaName: string | undefined;
1836
-
1837
- /**
1838
- * <p>The schema type for the events schema.</p>
1839
- */
1840
- Type?: Type | string;
1841
- }
1842
-
1843
- export namespace UpdateSchemaRequest {
1844
- /**
1845
- * @internal
1846
- */
1847
- export const filterSensitiveLog = (obj: UpdateSchemaRequest): any => ({
1848
- ...obj,
1849
- });
1850
- }
1851
-
1852
- export interface UpdateSchemaResponse {
1853
- /**
1854
- * <p>The description of the schema.</p>
1855
- */
1856
- Description?: string;
1857
-
1858
- /**
1859
- * <p>The date and time that schema was modified.</p>
1860
- */
1861
- LastModified?: Date;
1862
-
1863
- /**
1864
- * <p>The ARN of the schema.</p>
1865
- */
1866
- SchemaArn?: string;
1867
-
1868
- /**
1869
- * <p>The name of the schema.</p>
1870
- */
1871
- SchemaName?: string;
1872
-
1873
- /**
1874
- * <p>The version number of the schema</p>
1875
- */
1876
- SchemaVersion?: string;
1877
-
1878
- /**
1879
- * <p>Key-value pairs associated with a resource.</p>
1880
- */
1881
- Tags?: { [key: string]: string };
1882
-
1883
- /**
1884
- * <p>The type of the schema.</p>
1885
- */
1886
- Type?: string;
1887
-
1888
- /**
1889
- * <p>The date the schema version was created.</p>
1890
- */
1891
- VersionCreatedDate?: Date;
1892
- }
1893
-
1894
- export namespace UpdateSchemaResponse {
1895
- /**
1896
- * @internal
1897
- */
1898
- export const filterSensitiveLog = (obj: UpdateSchemaResponse): any => ({
1899
- ...obj,
1900
- });
1901
- }