@aws-sdk/client-schemas 3.474.0 → 3.477.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.
@@ -2,17 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_ListSchemasCommand = exports.de_ListRegistriesCommand = exports.de_ListDiscoverersCommand = exports.de_GetResourcePolicyCommand = exports.de_GetDiscoveredSchemaCommand = exports.de_GetCodeBindingSourceCommand = exports.de_ExportSchemaCommand = exports.de_DescribeSchemaCommand = exports.de_DescribeRegistryCommand = exports.de_DescribeDiscovererCommand = exports.de_DescribeCodeBindingCommand = exports.de_DeleteSchemaVersionCommand = exports.de_DeleteSchemaCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteRegistryCommand = exports.de_DeleteDiscovererCommand = exports.de_CreateSchemaCommand = exports.de_CreateRegistryCommand = exports.de_CreateDiscovererCommand = exports.se_UpdateSchemaCommand = exports.se_UpdateRegistryCommand = exports.se_UpdateDiscovererCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopDiscovererCommand = exports.se_StartDiscovererCommand = exports.se_SearchSchemasCommand = exports.se_PutResourcePolicyCommand = exports.se_PutCodeBindingCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemaVersionsCommand = exports.se_ListSchemasCommand = exports.se_ListRegistriesCommand = exports.se_ListDiscoverersCommand = exports.se_GetResourcePolicyCommand = exports.se_GetDiscoveredSchemaCommand = exports.se_GetCodeBindingSourceCommand = exports.se_ExportSchemaCommand = exports.se_DescribeSchemaCommand = exports.se_DescribeRegistryCommand = exports.se_DescribeDiscovererCommand = exports.se_DescribeCodeBindingCommand = exports.se_DeleteSchemaVersionCommand = exports.se_DeleteSchemaCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteRegistryCommand = exports.se_DeleteDiscovererCommand = exports.se_CreateSchemaCommand = exports.se_CreateRegistryCommand = exports.se_CreateDiscovererCommand = void 0;
4
4
  exports.de_UpdateSchemaCommand = exports.de_UpdateRegistryCommand = exports.de_UpdateDiscovererCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopDiscovererCommand = exports.de_StartDiscovererCommand = exports.de_SearchSchemasCommand = exports.de_PutResourcePolicyCommand = exports.de_PutCodeBindingCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemaVersionsCommand = void 0;
5
- const protocol_http_1 = require("@smithy/protocol-http");
5
+ const core_1 = require("@smithy/core");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const SchemasServiceException_1 = require("../models/SchemasServiceException");
10
10
  const se_CreateDiscovererCommand = async (input, context) => {
11
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
+ const b = (0, core_1.requestBuilder)(input, context);
12
12
  const headers = {
13
13
  "content-type": "application/json",
14
14
  };
15
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers";
15
+ b.bp("/v1/discoverers");
16
16
  let body;
17
17
  body = JSON.stringify((0, smithy_client_1.take)(input, {
18
18
  CrossAccount: [],
@@ -20,49 +20,34 @@ const se_CreateDiscovererCommand = async (input, context) => {
20
20
  SourceArn: [],
21
21
  tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
22
22
  }));
23
- return new protocol_http_1.HttpRequest({
24
- protocol,
25
- hostname,
26
- port,
27
- method: "POST",
28
- headers,
29
- path: resolvedPath,
30
- body,
31
- });
23
+ b.m("POST").h(headers).b(body);
24
+ return b.build();
32
25
  };
33
26
  exports.se_CreateDiscovererCommand = se_CreateDiscovererCommand;
34
27
  const se_CreateRegistryCommand = async (input, context) => {
35
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
+ const b = (0, core_1.requestBuilder)(input, context);
36
29
  const headers = {
37
30
  "content-type": "application/json",
38
31
  };
39
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/registries/name/{RegistryName}";
40
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
32
+ b.bp("/v1/registries/name/{RegistryName}");
33
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
41
34
  let body;
42
35
  body = JSON.stringify((0, smithy_client_1.take)(input, {
43
36
  Description: [],
44
37
  tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
45
38
  }));
46
- return new protocol_http_1.HttpRequest({
47
- protocol,
48
- hostname,
49
- port,
50
- method: "POST",
51
- headers,
52
- path: resolvedPath,
53
- body,
54
- });
39
+ b.m("POST").h(headers).b(body);
40
+ return b.build();
55
41
  };
56
42
  exports.se_CreateRegistryCommand = se_CreateRegistryCommand;
57
43
  const se_CreateSchemaCommand = async (input, context) => {
58
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
44
+ const b = (0, core_1.requestBuilder)(input, context);
59
45
  const headers = {
60
46
  "content-type": "application/json",
61
47
  };
62
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
63
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}";
64
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
65
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
48
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
49
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
50
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
66
51
  let body;
67
52
  body = JSON.stringify((0, smithy_client_1.take)(input, {
68
53
  Content: [],
@@ -70,600 +55,379 @@ const se_CreateSchemaCommand = async (input, context) => {
70
55
  tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
71
56
  Type: [],
72
57
  }));
73
- return new protocol_http_1.HttpRequest({
74
- protocol,
75
- hostname,
76
- port,
77
- method: "POST",
78
- headers,
79
- path: resolvedPath,
80
- body,
81
- });
58
+ b.m("POST").h(headers).b(body);
59
+ return b.build();
82
60
  };
83
61
  exports.se_CreateSchemaCommand = se_CreateSchemaCommand;
84
62
  const se_DeleteDiscovererCommand = async (input, context) => {
85
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
+ const b = (0, core_1.requestBuilder)(input, context);
86
64
  const headers = {};
87
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers/id/{DiscovererId}";
88
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
65
+ b.bp("/v1/discoverers/id/{DiscovererId}");
66
+ b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
89
67
  let body;
90
- return new protocol_http_1.HttpRequest({
91
- protocol,
92
- hostname,
93
- port,
94
- method: "DELETE",
95
- headers,
96
- path: resolvedPath,
97
- body,
98
- });
68
+ b.m("DELETE").h(headers).b(body);
69
+ return b.build();
99
70
  };
100
71
  exports.se_DeleteDiscovererCommand = se_DeleteDiscovererCommand;
101
72
  const se_DeleteRegistryCommand = async (input, context) => {
102
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
73
+ const b = (0, core_1.requestBuilder)(input, context);
103
74
  const headers = {};
104
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/registries/name/{RegistryName}";
105
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
75
+ b.bp("/v1/registries/name/{RegistryName}");
76
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
106
77
  let body;
107
- return new protocol_http_1.HttpRequest({
108
- protocol,
109
- hostname,
110
- port,
111
- method: "DELETE",
112
- headers,
113
- path: resolvedPath,
114
- body,
115
- });
78
+ b.m("DELETE").h(headers).b(body);
79
+ return b.build();
116
80
  };
117
81
  exports.se_DeleteRegistryCommand = se_DeleteRegistryCommand;
118
82
  const se_DeleteResourcePolicyCommand = async (input, context) => {
119
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
+ const b = (0, core_1.requestBuilder)(input, context);
120
84
  const headers = {};
121
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/policy";
85
+ b.bp("/v1/policy");
122
86
  const query = (0, smithy_client_1.map)({
123
- registryName: [, input.RegistryName],
87
+ [_rN]: [, input[_RN]],
124
88
  });
125
89
  let body;
126
- return new protocol_http_1.HttpRequest({
127
- protocol,
128
- hostname,
129
- port,
130
- method: "DELETE",
131
- headers,
132
- path: resolvedPath,
133
- query,
134
- body,
135
- });
90
+ b.m("DELETE").h(headers).q(query).b(body);
91
+ return b.build();
136
92
  };
137
93
  exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
138
94
  const se_DeleteSchemaCommand = async (input, context) => {
139
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
95
+ const b = (0, core_1.requestBuilder)(input, context);
140
96
  const headers = {};
141
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
142
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}";
143
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
144
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
97
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
98
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
99
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
145
100
  let body;
146
- return new protocol_http_1.HttpRequest({
147
- protocol,
148
- hostname,
149
- port,
150
- method: "DELETE",
151
- headers,
152
- path: resolvedPath,
153
- body,
154
- });
101
+ b.m("DELETE").h(headers).b(body);
102
+ return b.build();
155
103
  };
156
104
  exports.se_DeleteSchemaCommand = se_DeleteSchemaCommand;
157
105
  const se_DeleteSchemaVersionCommand = async (input, context) => {
158
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
106
+ const b = (0, core_1.requestBuilder)(input, context);
159
107
  const headers = {};
160
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
161
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}";
162
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
163
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
164
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaVersion", () => input.SchemaVersion, "{SchemaVersion}", false);
108
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}");
109
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
110
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
111
+ b.p("SchemaVersion", () => input.SchemaVersion, "{SchemaVersion}", false);
165
112
  let body;
166
- return new protocol_http_1.HttpRequest({
167
- protocol,
168
- hostname,
169
- port,
170
- method: "DELETE",
171
- headers,
172
- path: resolvedPath,
173
- body,
174
- });
113
+ b.m("DELETE").h(headers).b(body);
114
+ return b.build();
175
115
  };
176
116
  exports.se_DeleteSchemaVersionCommand = se_DeleteSchemaVersionCommand;
177
117
  const se_DescribeCodeBindingCommand = async (input, context) => {
178
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
118
+ const b = (0, core_1.requestBuilder)(input, context);
179
119
  const headers = {};
180
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
181
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}";
182
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Language", () => input.Language, "{Language}", false);
183
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
184
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
120
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}");
121
+ b.p("Language", () => input.Language, "{Language}", false);
122
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
123
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
185
124
  const query = (0, smithy_client_1.map)({
186
- schemaVersion: [, input.SchemaVersion],
125
+ [_sV]: [, input[_SV]],
187
126
  });
188
127
  let body;
189
- return new protocol_http_1.HttpRequest({
190
- protocol,
191
- hostname,
192
- port,
193
- method: "GET",
194
- headers,
195
- path: resolvedPath,
196
- query,
197
- body,
198
- });
128
+ b.m("GET").h(headers).q(query).b(body);
129
+ return b.build();
199
130
  };
200
131
  exports.se_DescribeCodeBindingCommand = se_DescribeCodeBindingCommand;
201
132
  const se_DescribeDiscovererCommand = async (input, context) => {
202
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
133
+ const b = (0, core_1.requestBuilder)(input, context);
203
134
  const headers = {};
204
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers/id/{DiscovererId}";
205
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
135
+ b.bp("/v1/discoverers/id/{DiscovererId}");
136
+ b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
206
137
  let body;
207
- return new protocol_http_1.HttpRequest({
208
- protocol,
209
- hostname,
210
- port,
211
- method: "GET",
212
- headers,
213
- path: resolvedPath,
214
- body,
215
- });
138
+ b.m("GET").h(headers).b(body);
139
+ return b.build();
216
140
  };
217
141
  exports.se_DescribeDiscovererCommand = se_DescribeDiscovererCommand;
218
142
  const se_DescribeRegistryCommand = async (input, context) => {
219
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
143
+ const b = (0, core_1.requestBuilder)(input, context);
220
144
  const headers = {};
221
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/registries/name/{RegistryName}";
222
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
145
+ b.bp("/v1/registries/name/{RegistryName}");
146
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
223
147
  let body;
224
- return new protocol_http_1.HttpRequest({
225
- protocol,
226
- hostname,
227
- port,
228
- method: "GET",
229
- headers,
230
- path: resolvedPath,
231
- body,
232
- });
148
+ b.m("GET").h(headers).b(body);
149
+ return b.build();
233
150
  };
234
151
  exports.se_DescribeRegistryCommand = se_DescribeRegistryCommand;
235
152
  const se_DescribeSchemaCommand = async (input, context) => {
236
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
153
+ const b = (0, core_1.requestBuilder)(input, context);
237
154
  const headers = {};
238
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
239
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}";
240
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
241
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
155
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
156
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
157
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
242
158
  const query = (0, smithy_client_1.map)({
243
- schemaVersion: [, input.SchemaVersion],
159
+ [_sV]: [, input[_SV]],
244
160
  });
245
161
  let body;
246
- return new protocol_http_1.HttpRequest({
247
- protocol,
248
- hostname,
249
- port,
250
- method: "GET",
251
- headers,
252
- path: resolvedPath,
253
- query,
254
- body,
255
- });
162
+ b.m("GET").h(headers).q(query).b(body);
163
+ return b.build();
256
164
  };
257
165
  exports.se_DescribeSchemaCommand = se_DescribeSchemaCommand;
258
166
  const se_ExportSchemaCommand = async (input, context) => {
259
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
167
+ const b = (0, core_1.requestBuilder)(input, context);
260
168
  const headers = {};
261
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
262
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export";
263
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
264
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
169
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export");
170
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
171
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
265
172
  const query = (0, smithy_client_1.map)({
266
- schemaVersion: [, input.SchemaVersion],
267
- type: [, (0, smithy_client_1.expectNonNull)(input.Type, `Type`)],
173
+ [_sV]: [, input[_SV]],
174
+ [_t]: [, (0, smithy_client_1.expectNonNull)(input[_T], `Type`)],
268
175
  });
269
176
  let body;
270
- return new protocol_http_1.HttpRequest({
271
- protocol,
272
- hostname,
273
- port,
274
- method: "GET",
275
- headers,
276
- path: resolvedPath,
277
- query,
278
- body,
279
- });
177
+ b.m("GET").h(headers).q(query).b(body);
178
+ return b.build();
280
179
  };
281
180
  exports.se_ExportSchemaCommand = se_ExportSchemaCommand;
282
181
  const se_GetCodeBindingSourceCommand = async (input, context) => {
283
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
182
+ const b = (0, core_1.requestBuilder)(input, context);
284
183
  const headers = {};
285
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
286
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source";
287
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Language", () => input.Language, "{Language}", false);
288
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
289
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
184
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source");
185
+ b.p("Language", () => input.Language, "{Language}", false);
186
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
187
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
290
188
  const query = (0, smithy_client_1.map)({
291
- schemaVersion: [, input.SchemaVersion],
189
+ [_sV]: [, input[_SV]],
292
190
  });
293
191
  let body;
294
- return new protocol_http_1.HttpRequest({
295
- protocol,
296
- hostname,
297
- port,
298
- method: "GET",
299
- headers,
300
- path: resolvedPath,
301
- query,
302
- body,
303
- });
192
+ b.m("GET").h(headers).q(query).b(body);
193
+ return b.build();
304
194
  };
305
195
  exports.se_GetCodeBindingSourceCommand = se_GetCodeBindingSourceCommand;
306
196
  const se_GetDiscoveredSchemaCommand = async (input, context) => {
307
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
197
+ const b = (0, core_1.requestBuilder)(input, context);
308
198
  const headers = {
309
199
  "content-type": "application/json",
310
200
  };
311
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discover";
201
+ b.bp("/v1/discover");
312
202
  let body;
313
203
  body = JSON.stringify((0, smithy_client_1.take)(input, {
314
204
  Events: (_) => (0, smithy_client_1._json)(_),
315
205
  Type: [],
316
206
  }));
317
- return new protocol_http_1.HttpRequest({
318
- protocol,
319
- hostname,
320
- port,
321
- method: "POST",
322
- headers,
323
- path: resolvedPath,
324
- body,
325
- });
207
+ b.m("POST").h(headers).b(body);
208
+ return b.build();
326
209
  };
327
210
  exports.se_GetDiscoveredSchemaCommand = se_GetDiscoveredSchemaCommand;
328
211
  const se_GetResourcePolicyCommand = async (input, context) => {
329
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
+ const b = (0, core_1.requestBuilder)(input, context);
330
213
  const headers = {};
331
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/policy";
214
+ b.bp("/v1/policy");
332
215
  const query = (0, smithy_client_1.map)({
333
- registryName: [, input.RegistryName],
216
+ [_rN]: [, input[_RN]],
334
217
  });
335
218
  let body;
336
- return new protocol_http_1.HttpRequest({
337
- protocol,
338
- hostname,
339
- port,
340
- method: "GET",
341
- headers,
342
- path: resolvedPath,
343
- query,
344
- body,
345
- });
219
+ b.m("GET").h(headers).q(query).b(body);
220
+ return b.build();
346
221
  };
347
222
  exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
348
223
  const se_ListDiscoverersCommand = async (input, context) => {
349
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
224
+ const b = (0, core_1.requestBuilder)(input, context);
350
225
  const headers = {};
351
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers";
226
+ b.bp("/v1/discoverers");
352
227
  const query = (0, smithy_client_1.map)({
353
- discovererIdPrefix: [, input.DiscovererIdPrefix],
354
- limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
355
- nextToken: [, input.NextToken],
356
- sourceArnPrefix: [, input.SourceArnPrefix],
228
+ [_dIP]: [, input[_DIP]],
229
+ [_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
230
+ [_nT]: [, input[_NT]],
231
+ [_sAP]: [, input[_SAP]],
357
232
  });
358
233
  let body;
359
- return new protocol_http_1.HttpRequest({
360
- protocol,
361
- hostname,
362
- port,
363
- method: "GET",
364
- headers,
365
- path: resolvedPath,
366
- query,
367
- body,
368
- });
234
+ b.m("GET").h(headers).q(query).b(body);
235
+ return b.build();
369
236
  };
370
237
  exports.se_ListDiscoverersCommand = se_ListDiscoverersCommand;
371
238
  const se_ListRegistriesCommand = async (input, context) => {
372
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
239
+ const b = (0, core_1.requestBuilder)(input, context);
373
240
  const headers = {};
374
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/registries";
241
+ b.bp("/v1/registries");
375
242
  const query = (0, smithy_client_1.map)({
376
- limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
377
- nextToken: [, input.NextToken],
378
- registryNamePrefix: [, input.RegistryNamePrefix],
379
- scope: [, input.Scope],
243
+ [_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
244
+ [_nT]: [, input[_NT]],
245
+ [_rNP]: [, input[_RNP]],
246
+ [_s]: [, input[_S]],
380
247
  });
381
248
  let body;
382
- return new protocol_http_1.HttpRequest({
383
- protocol,
384
- hostname,
385
- port,
386
- method: "GET",
387
- headers,
388
- path: resolvedPath,
389
- query,
390
- body,
391
- });
249
+ b.m("GET").h(headers).q(query).b(body);
250
+ return b.build();
392
251
  };
393
252
  exports.se_ListRegistriesCommand = se_ListRegistriesCommand;
394
253
  const se_ListSchemasCommand = async (input, context) => {
395
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
254
+ const b = (0, core_1.requestBuilder)(input, context);
396
255
  const headers = {};
397
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
398
- "/v1/registries/name/{RegistryName}/schemas";
399
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
256
+ b.bp("/v1/registries/name/{RegistryName}/schemas");
257
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
400
258
  const query = (0, smithy_client_1.map)({
401
- limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
402
- nextToken: [, input.NextToken],
403
- schemaNamePrefix: [, input.SchemaNamePrefix],
259
+ [_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
260
+ [_nT]: [, input[_NT]],
261
+ [_sNP]: [, input[_SNP]],
404
262
  });
405
263
  let body;
406
- return new protocol_http_1.HttpRequest({
407
- protocol,
408
- hostname,
409
- port,
410
- method: "GET",
411
- headers,
412
- path: resolvedPath,
413
- query,
414
- body,
415
- });
264
+ b.m("GET").h(headers).q(query).b(body);
265
+ return b.build();
416
266
  };
417
267
  exports.se_ListSchemasCommand = se_ListSchemasCommand;
418
268
  const se_ListSchemaVersionsCommand = async (input, context) => {
419
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
269
+ const b = (0, core_1.requestBuilder)(input, context);
420
270
  const headers = {};
421
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
422
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions";
423
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
424
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
271
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions");
272
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
273
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
425
274
  const query = (0, smithy_client_1.map)({
426
- limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
427
- nextToken: [, input.NextToken],
275
+ [_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
276
+ [_nT]: [, input[_NT]],
428
277
  });
429
278
  let body;
430
- return new protocol_http_1.HttpRequest({
431
- protocol,
432
- hostname,
433
- port,
434
- method: "GET",
435
- headers,
436
- path: resolvedPath,
437
- query,
438
- body,
439
- });
279
+ b.m("GET").h(headers).q(query).b(body);
280
+ return b.build();
440
281
  };
441
282
  exports.se_ListSchemaVersionsCommand = se_ListSchemaVersionsCommand;
442
283
  const se_ListTagsForResourceCommand = async (input, context) => {
443
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
284
+ const b = (0, core_1.requestBuilder)(input, context);
444
285
  const headers = {};
445
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
446
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
286
+ b.bp("/tags/{ResourceArn}");
287
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
447
288
  let body;
448
- return new protocol_http_1.HttpRequest({
449
- protocol,
450
- hostname,
451
- port,
452
- method: "GET",
453
- headers,
454
- path: resolvedPath,
455
- body,
456
- });
289
+ b.m("GET").h(headers).b(body);
290
+ return b.build();
457
291
  };
458
292
  exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
459
293
  const se_PutCodeBindingCommand = async (input, context) => {
460
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
294
+ const b = (0, core_1.requestBuilder)(input, context);
461
295
  const headers = {};
462
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
463
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}";
464
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Language", () => input.Language, "{Language}", false);
465
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
466
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
296
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}");
297
+ b.p("Language", () => input.Language, "{Language}", false);
298
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
299
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
467
300
  const query = (0, smithy_client_1.map)({
468
- schemaVersion: [, input.SchemaVersion],
301
+ [_sV]: [, input[_SV]],
469
302
  });
470
303
  let body;
471
- return new protocol_http_1.HttpRequest({
472
- protocol,
473
- hostname,
474
- port,
475
- method: "POST",
476
- headers,
477
- path: resolvedPath,
478
- query,
479
- body,
480
- });
304
+ b.m("POST").h(headers).q(query).b(body);
305
+ return b.build();
481
306
  };
482
307
  exports.se_PutCodeBindingCommand = se_PutCodeBindingCommand;
483
308
  const se_PutResourcePolicyCommand = async (input, context) => {
484
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
309
+ const b = (0, core_1.requestBuilder)(input, context);
485
310
  const headers = {
486
311
  "content-type": "application/json",
487
312
  };
488
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/policy";
313
+ b.bp("/v1/policy");
489
314
  const query = (0, smithy_client_1.map)({
490
- registryName: [, input.RegistryName],
315
+ [_rN]: [, input[_RN]],
491
316
  });
492
317
  let body;
493
318
  body = JSON.stringify((0, smithy_client_1.take)(input, {
494
319
  Policy: (_) => smithy_client_1.LazyJsonString.fromObject(_),
495
320
  RevisionId: [],
496
321
  }));
497
- return new protocol_http_1.HttpRequest({
498
- protocol,
499
- hostname,
500
- port,
501
- method: "PUT",
502
- headers,
503
- path: resolvedPath,
504
- query,
505
- body,
506
- });
322
+ b.m("PUT").h(headers).q(query).b(body);
323
+ return b.build();
507
324
  };
508
325
  exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
509
326
  const se_SearchSchemasCommand = async (input, context) => {
510
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
327
+ const b = (0, core_1.requestBuilder)(input, context);
511
328
  const headers = {};
512
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
513
- "/v1/registries/name/{RegistryName}/schemas/search";
514
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
329
+ b.bp("/v1/registries/name/{RegistryName}/schemas/search");
330
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
515
331
  const query = (0, smithy_client_1.map)({
516
- keywords: [, (0, smithy_client_1.expectNonNull)(input.Keywords, `Keywords`)],
517
- limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
518
- nextToken: [, input.NextToken],
332
+ [_k]: [, (0, smithy_client_1.expectNonNull)(input[_K], `Keywords`)],
333
+ [_l]: [() => input.Limit !== void 0, () => input[_L].toString()],
334
+ [_nT]: [, input[_NT]],
519
335
  });
520
336
  let body;
521
- return new protocol_http_1.HttpRequest({
522
- protocol,
523
- hostname,
524
- port,
525
- method: "GET",
526
- headers,
527
- path: resolvedPath,
528
- query,
529
- body,
530
- });
337
+ b.m("GET").h(headers).q(query).b(body);
338
+ return b.build();
531
339
  };
532
340
  exports.se_SearchSchemasCommand = se_SearchSchemasCommand;
533
341
  const se_StartDiscovererCommand = async (input, context) => {
534
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
342
+ const b = (0, core_1.requestBuilder)(input, context);
535
343
  const headers = {};
536
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers/id/{DiscovererId}/start";
537
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
344
+ b.bp("/v1/discoverers/id/{DiscovererId}/start");
345
+ b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
538
346
  let body;
539
- return new protocol_http_1.HttpRequest({
540
- protocol,
541
- hostname,
542
- port,
543
- method: "POST",
544
- headers,
545
- path: resolvedPath,
546
- body,
547
- });
347
+ b.m("POST").h(headers).b(body);
348
+ return b.build();
548
349
  };
549
350
  exports.se_StartDiscovererCommand = se_StartDiscovererCommand;
550
351
  const se_StopDiscovererCommand = async (input, context) => {
551
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
352
+ const b = (0, core_1.requestBuilder)(input, context);
552
353
  const headers = {};
553
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers/id/{DiscovererId}/stop";
554
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
354
+ b.bp("/v1/discoverers/id/{DiscovererId}/stop");
355
+ b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
555
356
  let body;
556
- return new protocol_http_1.HttpRequest({
557
- protocol,
558
- hostname,
559
- port,
560
- method: "POST",
561
- headers,
562
- path: resolvedPath,
563
- body,
564
- });
357
+ b.m("POST").h(headers).b(body);
358
+ return b.build();
565
359
  };
566
360
  exports.se_StopDiscovererCommand = se_StopDiscovererCommand;
567
361
  const se_TagResourceCommand = async (input, context) => {
568
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
362
+ const b = (0, core_1.requestBuilder)(input, context);
569
363
  const headers = {
570
364
  "content-type": "application/json",
571
365
  };
572
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
573
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
366
+ b.bp("/tags/{ResourceArn}");
367
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
574
368
  let body;
575
369
  body = JSON.stringify((0, smithy_client_1.take)(input, {
576
370
  tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
577
371
  }));
578
- return new protocol_http_1.HttpRequest({
579
- protocol,
580
- hostname,
581
- port,
582
- method: "POST",
583
- headers,
584
- path: resolvedPath,
585
- body,
586
- });
372
+ b.m("POST").h(headers).b(body);
373
+ return b.build();
587
374
  };
588
375
  exports.se_TagResourceCommand = se_TagResourceCommand;
589
376
  const se_UntagResourceCommand = async (input, context) => {
590
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
+ const b = (0, core_1.requestBuilder)(input, context);
591
378
  const headers = {};
592
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
593
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
379
+ b.bp("/tags/{ResourceArn}");
380
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
594
381
  const query = (0, smithy_client_1.map)({
595
- tagKeys: [
382
+ [_tK]: [
596
383
  (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
597
- () => (input.TagKeys || []).map((_entry) => _entry),
384
+ () => (input[_TK] || []).map((_entry) => _entry),
598
385
  ],
599
386
  });
600
387
  let body;
601
- return new protocol_http_1.HttpRequest({
602
- protocol,
603
- hostname,
604
- port,
605
- method: "DELETE",
606
- headers,
607
- path: resolvedPath,
608
- query,
609
- body,
610
- });
388
+ b.m("DELETE").h(headers).q(query).b(body);
389
+ return b.build();
611
390
  };
612
391
  exports.se_UntagResourceCommand = se_UntagResourceCommand;
613
392
  const se_UpdateDiscovererCommand = async (input, context) => {
614
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
393
+ const b = (0, core_1.requestBuilder)(input, context);
615
394
  const headers = {
616
395
  "content-type": "application/json",
617
396
  };
618
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/discoverers/id/{DiscovererId}";
619
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
397
+ b.bp("/v1/discoverers/id/{DiscovererId}");
398
+ b.p("DiscovererId", () => input.DiscovererId, "{DiscovererId}", false);
620
399
  let body;
621
400
  body = JSON.stringify((0, smithy_client_1.take)(input, {
622
401
  CrossAccount: [],
623
402
  Description: [],
624
403
  }));
625
- return new protocol_http_1.HttpRequest({
626
- protocol,
627
- hostname,
628
- port,
629
- method: "PUT",
630
- headers,
631
- path: resolvedPath,
632
- body,
633
- });
404
+ b.m("PUT").h(headers).b(body);
405
+ return b.build();
634
406
  };
635
407
  exports.se_UpdateDiscovererCommand = se_UpdateDiscovererCommand;
636
408
  const se_UpdateRegistryCommand = async (input, context) => {
637
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
409
+ const b = (0, core_1.requestBuilder)(input, context);
638
410
  const headers = {
639
411
  "content-type": "application/json",
640
412
  };
641
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/registries/name/{RegistryName}";
642
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
413
+ b.bp("/v1/registries/name/{RegistryName}");
414
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
643
415
  let body;
644
416
  body = JSON.stringify((0, smithy_client_1.take)(input, {
645
417
  Description: [],
646
418
  }));
647
- return new protocol_http_1.HttpRequest({
648
- protocol,
649
- hostname,
650
- port,
651
- method: "PUT",
652
- headers,
653
- path: resolvedPath,
654
- body,
655
- });
419
+ b.m("PUT").h(headers).b(body);
420
+ return b.build();
656
421
  };
657
422
  exports.se_UpdateRegistryCommand = se_UpdateRegistryCommand;
658
423
  const se_UpdateSchemaCommand = async (input, context) => {
659
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
424
+ const b = (0, core_1.requestBuilder)(input, context);
660
425
  const headers = {
661
426
  "content-type": "application/json",
662
427
  };
663
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
664
- "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}";
665
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RegistryName", () => input.RegistryName, "{RegistryName}", false);
666
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SchemaName", () => input.SchemaName, "{SchemaName}", false);
428
+ b.bp("/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}");
429
+ b.p("RegistryName", () => input.RegistryName, "{RegistryName}", false);
430
+ b.p("SchemaName", () => input.SchemaName, "{SchemaName}", false);
667
431
  let body;
668
432
  body = JSON.stringify((0, smithy_client_1.take)(input, {
669
433
  ClientTokenId: [true, (_) => _ ?? (0, uuid_1.v4)()],
@@ -671,15 +435,8 @@ const se_UpdateSchemaCommand = async (input, context) => {
671
435
  Description: [],
672
436
  Type: [],
673
437
  }));
674
- return new protocol_http_1.HttpRequest({
675
- protocol,
676
- hostname,
677
- port,
678
- method: "PUT",
679
- headers,
680
- path: resolvedPath,
681
- body,
682
- });
438
+ b.m("PUT").h(headers).b(body);
439
+ return b.build();
683
440
  };
684
441
  exports.se_UpdateSchemaCommand = se_UpdateSchemaCommand;
685
442
  const de_CreateDiscovererCommand = async (output, context) => {
@@ -2439,6 +2196,30 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
2439
2196
  value !== "" &&
2440
2197
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
2441
2198
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
2199
+ const _DIP = "DiscovererIdPrefix";
2200
+ const _K = "Keywords";
2201
+ const _L = "Limit";
2202
+ const _NT = "NextToken";
2203
+ const _RN = "RegistryName";
2204
+ const _RNP = "RegistryNamePrefix";
2205
+ const _S = "Scope";
2206
+ const _SAP = "SourceArnPrefix";
2207
+ const _SNP = "SchemaNamePrefix";
2208
+ const _SV = "SchemaVersion";
2209
+ const _T = "Type";
2210
+ const _TK = "TagKeys";
2211
+ const _dIP = "discovererIdPrefix";
2212
+ const _k = "keywords";
2213
+ const _l = "limit";
2214
+ const _nT = "nextToken";
2215
+ const _rN = "registryName";
2216
+ const _rNP = "registryNamePrefix";
2217
+ const _s = "scope";
2218
+ const _sAP = "sourceArnPrefix";
2219
+ const _sNP = "schemaNamePrefix";
2220
+ const _sV = "schemaVersion";
2221
+ const _t = "type";
2222
+ const _tK = "tagKeys";
2442
2223
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2443
2224
  if (encoded.length) {
2444
2225
  return JSON.parse(encoded);