@aws-sdk/client-ecr-public 3.926.0 → 3.928.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 (44) hide show
  1. package/dist-cjs/index.js +1001 -1142
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ECRPUBLICClient.js +2 -0
  4. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +3 -9
  5. package/dist-es/commands/BatchDeleteImageCommand.js +3 -9
  6. package/dist-es/commands/CompleteLayerUploadCommand.js +3 -9
  7. package/dist-es/commands/CreateRepositoryCommand.js +3 -9
  8. package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
  9. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +3 -9
  10. package/dist-es/commands/DescribeImageTagsCommand.js +3 -9
  11. package/dist-es/commands/DescribeImagesCommand.js +3 -9
  12. package/dist-es/commands/DescribeRegistriesCommand.js +3 -9
  13. package/dist-es/commands/DescribeRepositoriesCommand.js +3 -9
  14. package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -9
  15. package/dist-es/commands/GetRegistryCatalogDataCommand.js +3 -9
  16. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +3 -9
  17. package/dist-es/commands/GetRepositoryPolicyCommand.js +3 -9
  18. package/dist-es/commands/InitiateLayerUploadCommand.js +3 -9
  19. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  20. package/dist-es/commands/PutImageCommand.js +3 -9
  21. package/dist-es/commands/PutRegistryCatalogDataCommand.js +3 -9
  22. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +3 -9
  23. package/dist-es/commands/SetRepositoryPolicyCommand.js +3 -9
  24. package/dist-es/commands/TagResourceCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UploadLayerPartCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +7 -0
  28. package/dist-es/schemas/schemas_0.js +889 -0
  29. package/dist-types/ECRPUBLICClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  34. package/dist-types/schemas/schemas_0.d.ts +129 -0
  35. package/dist-types/ts3.4/ECRPUBLICClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  41. package/package.json +5 -5
  42. package/dist-es/protocols/Aws_json1_1.js +0 -913
  43. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ECRPUBLICClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class ECRPUBLICClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ECRPUBLICServiceException extends smithyClient.ServiceException {
113
+ let ECRPUBLICServiceException$1 = class ECRPUBLICServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ECRPUBLICServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const LayerFailureCode = {
121
121
  InvalidLayerDigest: "InvalidLayerDigest",
@@ -125,7 +125,7 @@ const LayerAvailability = {
125
125
  AVAILABLE: "AVAILABLE",
126
126
  UNAVAILABLE: "UNAVAILABLE",
127
127
  };
128
- class InvalidParameterException extends ECRPUBLICServiceException {
128
+ let InvalidParameterException$1 = class InvalidParameterException extends ECRPUBLICServiceException$1 {
129
129
  name = "InvalidParameterException";
130
130
  $fault = "client";
131
131
  constructor(opts) {
@@ -136,8 +136,8 @@ class InvalidParameterException extends ECRPUBLICServiceException {
136
136
  });
137
137
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
138
138
  }
139
- }
140
- class RegistryNotFoundException extends ECRPUBLICServiceException {
139
+ };
140
+ let RegistryNotFoundException$1 = class RegistryNotFoundException extends ECRPUBLICServiceException$1 {
141
141
  name = "RegistryNotFoundException";
142
142
  $fault = "client";
143
143
  constructor(opts) {
@@ -148,8 +148,8 @@ class RegistryNotFoundException extends ECRPUBLICServiceException {
148
148
  });
149
149
  Object.setPrototypeOf(this, RegistryNotFoundException.prototype);
150
150
  }
151
- }
152
- class RepositoryNotFoundException extends ECRPUBLICServiceException {
151
+ };
152
+ let RepositoryNotFoundException$1 = class RepositoryNotFoundException extends ECRPUBLICServiceException$1 {
153
153
  name = "RepositoryNotFoundException";
154
154
  $fault = "client";
155
155
  constructor(opts) {
@@ -160,8 +160,8 @@ class RepositoryNotFoundException extends ECRPUBLICServiceException {
160
160
  });
161
161
  Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
162
162
  }
163
- }
164
- class ServerException extends ECRPUBLICServiceException {
163
+ };
164
+ let ServerException$1 = class ServerException extends ECRPUBLICServiceException$1 {
165
165
  name = "ServerException";
166
166
  $fault = "server";
167
167
  constructor(opts) {
@@ -172,8 +172,8 @@ class ServerException extends ECRPUBLICServiceException {
172
172
  });
173
173
  Object.setPrototypeOf(this, ServerException.prototype);
174
174
  }
175
- }
176
- class UnsupportedCommandException extends ECRPUBLICServiceException {
175
+ };
176
+ let UnsupportedCommandException$1 = class UnsupportedCommandException extends ECRPUBLICServiceException$1 {
177
177
  name = "UnsupportedCommandException";
178
178
  $fault = "client";
179
179
  constructor(opts) {
@@ -184,7 +184,7 @@ class UnsupportedCommandException extends ECRPUBLICServiceException {
184
184
  });
185
185
  Object.setPrototypeOf(this, UnsupportedCommandException.prototype);
186
186
  }
187
- }
187
+ };
188
188
  const ImageFailureCode = {
189
189
  ImageNotFound: "ImageNotFound",
190
190
  ImageReferencedByManifestList: "ImageReferencedByManifestList",
@@ -194,7 +194,7 @@ const ImageFailureCode = {
194
194
  KmsError: "KmsError",
195
195
  MissingDigestAndTag: "MissingDigestAndTag",
196
196
  };
197
- class EmptyUploadException extends ECRPUBLICServiceException {
197
+ let EmptyUploadException$1 = class EmptyUploadException extends ECRPUBLICServiceException$1 {
198
198
  name = "EmptyUploadException";
199
199
  $fault = "client";
200
200
  constructor(opts) {
@@ -205,8 +205,8 @@ class EmptyUploadException extends ECRPUBLICServiceException {
205
205
  });
206
206
  Object.setPrototypeOf(this, EmptyUploadException.prototype);
207
207
  }
208
- }
209
- class InvalidLayerException extends ECRPUBLICServiceException {
208
+ };
209
+ let InvalidLayerException$1 = class InvalidLayerException extends ECRPUBLICServiceException$1 {
210
210
  name = "InvalidLayerException";
211
211
  $fault = "client";
212
212
  constructor(opts) {
@@ -217,8 +217,8 @@ class InvalidLayerException extends ECRPUBLICServiceException {
217
217
  });
218
218
  Object.setPrototypeOf(this, InvalidLayerException.prototype);
219
219
  }
220
- }
221
- class LayerAlreadyExistsException extends ECRPUBLICServiceException {
220
+ };
221
+ let LayerAlreadyExistsException$1 = class LayerAlreadyExistsException extends ECRPUBLICServiceException$1 {
222
222
  name = "LayerAlreadyExistsException";
223
223
  $fault = "client";
224
224
  constructor(opts) {
@@ -229,8 +229,8 @@ class LayerAlreadyExistsException extends ECRPUBLICServiceException {
229
229
  });
230
230
  Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
231
231
  }
232
- }
233
- class LayerPartTooSmallException extends ECRPUBLICServiceException {
232
+ };
233
+ let LayerPartTooSmallException$1 = class LayerPartTooSmallException extends ECRPUBLICServiceException$1 {
234
234
  name = "LayerPartTooSmallException";
235
235
  $fault = "client";
236
236
  constructor(opts) {
@@ -241,8 +241,8 @@ class LayerPartTooSmallException extends ECRPUBLICServiceException {
241
241
  });
242
242
  Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
243
243
  }
244
- }
245
- class UploadNotFoundException extends ECRPUBLICServiceException {
244
+ };
245
+ let UploadNotFoundException$1 = class UploadNotFoundException extends ECRPUBLICServiceException$1 {
246
246
  name = "UploadNotFoundException";
247
247
  $fault = "client";
248
248
  constructor(opts) {
@@ -253,8 +253,8 @@ class UploadNotFoundException extends ECRPUBLICServiceException {
253
253
  });
254
254
  Object.setPrototypeOf(this, UploadNotFoundException.prototype);
255
255
  }
256
- }
257
- class InvalidTagParameterException extends ECRPUBLICServiceException {
256
+ };
257
+ let InvalidTagParameterException$1 = class InvalidTagParameterException extends ECRPUBLICServiceException$1 {
258
258
  name = "InvalidTagParameterException";
259
259
  $fault = "client";
260
260
  constructor(opts) {
@@ -265,8 +265,8 @@ class InvalidTagParameterException extends ECRPUBLICServiceException {
265
265
  });
266
266
  Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
267
267
  }
268
- }
269
- class LimitExceededException extends ECRPUBLICServiceException {
268
+ };
269
+ let LimitExceededException$1 = class LimitExceededException extends ECRPUBLICServiceException$1 {
270
270
  name = "LimitExceededException";
271
271
  $fault = "client";
272
272
  constructor(opts) {
@@ -277,8 +277,8 @@ class LimitExceededException extends ECRPUBLICServiceException {
277
277
  });
278
278
  Object.setPrototypeOf(this, LimitExceededException.prototype);
279
279
  }
280
- }
281
- class RepositoryAlreadyExistsException extends ECRPUBLICServiceException {
280
+ };
281
+ let RepositoryAlreadyExistsException$1 = class RepositoryAlreadyExistsException extends ECRPUBLICServiceException$1 {
282
282
  name = "RepositoryAlreadyExistsException";
283
283
  $fault = "client";
284
284
  constructor(opts) {
@@ -289,8 +289,8 @@ class RepositoryAlreadyExistsException extends ECRPUBLICServiceException {
289
289
  });
290
290
  Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
291
291
  }
292
- }
293
- class TooManyTagsException extends ECRPUBLICServiceException {
292
+ };
293
+ let TooManyTagsException$1 = class TooManyTagsException extends ECRPUBLICServiceException$1 {
294
294
  name = "TooManyTagsException";
295
295
  $fault = "client";
296
296
  constructor(opts) {
@@ -301,8 +301,8 @@ class TooManyTagsException extends ECRPUBLICServiceException {
301
301
  });
302
302
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
303
303
  }
304
- }
305
- class RepositoryNotEmptyException extends ECRPUBLICServiceException {
304
+ };
305
+ let RepositoryNotEmptyException$1 = class RepositoryNotEmptyException extends ECRPUBLICServiceException$1 {
306
306
  name = "RepositoryNotEmptyException";
307
307
  $fault = "client";
308
308
  constructor(opts) {
@@ -313,8 +313,8 @@ class RepositoryNotEmptyException extends ECRPUBLICServiceException {
313
313
  });
314
314
  Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
315
315
  }
316
- }
317
- class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException {
316
+ };
317
+ let RepositoryPolicyNotFoundException$1 = class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException$1 {
318
318
  name = "RepositoryPolicyNotFoundException";
319
319
  $fault = "client";
320
320
  constructor(opts) {
@@ -325,8 +325,8 @@ class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException {
325
325
  });
326
326
  Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
327
327
  }
328
- }
329
- class ImageNotFoundException extends ECRPUBLICServiceException {
328
+ };
329
+ let ImageNotFoundException$1 = class ImageNotFoundException extends ECRPUBLICServiceException$1 {
330
330
  name = "ImageNotFoundException";
331
331
  $fault = "client";
332
332
  constructor(opts) {
@@ -337,13 +337,13 @@ class ImageNotFoundException extends ECRPUBLICServiceException {
337
337
  });
338
338
  Object.setPrototypeOf(this, ImageNotFoundException.prototype);
339
339
  }
340
- }
340
+ };
341
341
  const RegistryAliasStatus = {
342
342
  ACTIVE: "ACTIVE",
343
343
  PENDING: "PENDING",
344
344
  REJECTED: "REJECTED",
345
345
  };
346
- class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {
346
+ let RepositoryCatalogDataNotFoundException$1 = class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException$1 {
347
347
  name = "RepositoryCatalogDataNotFoundException";
348
348
  $fault = "client";
349
349
  constructor(opts) {
@@ -354,8 +354,8 @@ class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {
354
354
  });
355
355
  Object.setPrototypeOf(this, RepositoryCatalogDataNotFoundException.prototype);
356
356
  }
357
- }
358
- class ImageAlreadyExistsException extends ECRPUBLICServiceException {
357
+ };
358
+ let ImageAlreadyExistsException$1 = class ImageAlreadyExistsException extends ECRPUBLICServiceException$1 {
359
359
  name = "ImageAlreadyExistsException";
360
360
  $fault = "client";
361
361
  constructor(opts) {
@@ -366,8 +366,8 @@ class ImageAlreadyExistsException extends ECRPUBLICServiceException {
366
366
  });
367
367
  Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
368
368
  }
369
- }
370
- class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException {
369
+ };
370
+ let ImageDigestDoesNotMatchException$1 = class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException$1 {
371
371
  name = "ImageDigestDoesNotMatchException";
372
372
  $fault = "client";
373
373
  constructor(opts) {
@@ -378,8 +378,8 @@ class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException {
378
378
  });
379
379
  Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
380
380
  }
381
- }
382
- class ImageTagAlreadyExistsException extends ECRPUBLICServiceException {
381
+ };
382
+ let ImageTagAlreadyExistsException$1 = class ImageTagAlreadyExistsException extends ECRPUBLICServiceException$1 {
383
383
  name = "ImageTagAlreadyExistsException";
384
384
  $fault = "client";
385
385
  constructor(opts) {
@@ -390,8 +390,8 @@ class ImageTagAlreadyExistsException extends ECRPUBLICServiceException {
390
390
  });
391
391
  Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
392
392
  }
393
- }
394
- class InvalidLayerPartException extends ECRPUBLICServiceException {
393
+ };
394
+ let InvalidLayerPartException$1 = class InvalidLayerPartException extends ECRPUBLICServiceException$1 {
395
395
  name = "InvalidLayerPartException";
396
396
  $fault = "client";
397
397
  registryId;
@@ -410,8 +410,8 @@ class InvalidLayerPartException extends ECRPUBLICServiceException {
410
410
  this.uploadId = opts.uploadId;
411
411
  this.lastValidByteReceived = opts.lastValidByteReceived;
412
412
  }
413
- }
414
- class LayersNotFoundException extends ECRPUBLICServiceException {
413
+ };
414
+ let LayersNotFoundException$1 = class LayersNotFoundException extends ECRPUBLICServiceException$1 {
415
415
  name = "LayersNotFoundException";
416
416
  $fault = "client";
417
417
  constructor(opts) {
@@ -422,8 +422,8 @@ class LayersNotFoundException extends ECRPUBLICServiceException {
422
422
  });
423
423
  Object.setPrototypeOf(this, LayersNotFoundException.prototype);
424
424
  }
425
- }
426
- class ReferencedImagesNotFoundException extends ECRPUBLICServiceException {
425
+ };
426
+ let ReferencedImagesNotFoundException$1 = class ReferencedImagesNotFoundException extends ECRPUBLICServiceException$1 {
427
427
  name = "ReferencedImagesNotFoundException";
428
428
  $fault = "client";
429
429
  constructor(opts) {
@@ -434,927 +434,896 @@ class ReferencedImagesNotFoundException extends ECRPUBLICServiceException {
434
434
  });
435
435
  Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
436
436
  }
437
- }
438
-
439
- const se_BatchCheckLayerAvailabilityCommand = async (input, context) => {
440
- const headers = sharedHeaders("BatchCheckLayerAvailability");
441
- let body;
442
- body = JSON.stringify(smithyClient._json(input));
443
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
444
- };
445
- const se_BatchDeleteImageCommand = async (input, context) => {
446
- const headers = sharedHeaders("BatchDeleteImage");
447
- let body;
448
- body = JSON.stringify(smithyClient._json(input));
449
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
- };
451
- const se_CompleteLayerUploadCommand = async (input, context) => {
452
- const headers = sharedHeaders("CompleteLayerUpload");
453
- let body;
454
- body = JSON.stringify(smithyClient._json(input));
455
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
456
- };
457
- const se_CreateRepositoryCommand = async (input, context) => {
458
- const headers = sharedHeaders("CreateRepository");
459
- let body;
460
- body = JSON.stringify(se_CreateRepositoryRequest(input, context));
461
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
- };
463
- const se_DeleteRepositoryCommand = async (input, context) => {
464
- const headers = sharedHeaders("DeleteRepository");
465
- let body;
466
- body = JSON.stringify(smithyClient._json(input));
467
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
- };
469
- const se_DeleteRepositoryPolicyCommand = async (input, context) => {
470
- const headers = sharedHeaders("DeleteRepositoryPolicy");
471
- let body;
472
- body = JSON.stringify(smithyClient._json(input));
473
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
- };
475
- const se_DescribeImagesCommand = async (input, context) => {
476
- const headers = sharedHeaders("DescribeImages");
477
- let body;
478
- body = JSON.stringify(smithyClient._json(input));
479
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
- };
481
- const se_DescribeImageTagsCommand = async (input, context) => {
482
- const headers = sharedHeaders("DescribeImageTags");
483
- let body;
484
- body = JSON.stringify(smithyClient._json(input));
485
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
- };
487
- const se_DescribeRegistriesCommand = async (input, context) => {
488
- const headers = sharedHeaders("DescribeRegistries");
489
- let body;
490
- body = JSON.stringify(smithyClient._json(input));
491
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
492
- };
493
- const se_DescribeRepositoriesCommand = async (input, context) => {
494
- const headers = sharedHeaders("DescribeRepositories");
495
- let body;
496
- body = JSON.stringify(smithyClient._json(input));
497
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
- };
499
- const se_GetAuthorizationTokenCommand = async (input, context) => {
500
- const headers = sharedHeaders("GetAuthorizationToken");
501
- let body;
502
- body = JSON.stringify(smithyClient._json(input));
503
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
504
- };
505
- const se_GetRegistryCatalogDataCommand = async (input, context) => {
506
- const headers = sharedHeaders("GetRegistryCatalogData");
507
- let body;
508
- body = JSON.stringify(smithyClient._json(input));
509
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
- };
511
- const se_GetRepositoryCatalogDataCommand = async (input, context) => {
512
- const headers = sharedHeaders("GetRepositoryCatalogData");
513
- let body;
514
- body = JSON.stringify(smithyClient._json(input));
515
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
- };
517
- const se_GetRepositoryPolicyCommand = async (input, context) => {
518
- const headers = sharedHeaders("GetRepositoryPolicy");
519
- let body;
520
- body = JSON.stringify(smithyClient._json(input));
521
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
- };
523
- const se_InitiateLayerUploadCommand = async (input, context) => {
524
- const headers = sharedHeaders("InitiateLayerUpload");
525
- let body;
526
- body = JSON.stringify(smithyClient._json(input));
527
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
528
- };
529
- const se_ListTagsForResourceCommand = async (input, context) => {
530
- const headers = sharedHeaders("ListTagsForResource");
531
- let body;
532
- body = JSON.stringify(smithyClient._json(input));
533
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
- };
535
- const se_PutImageCommand = async (input, context) => {
536
- const headers = sharedHeaders("PutImage");
537
- let body;
538
- body = JSON.stringify(smithyClient._json(input));
539
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
540
- };
541
- const se_PutRegistryCatalogDataCommand = async (input, context) => {
542
- const headers = sharedHeaders("PutRegistryCatalogData");
543
- let body;
544
- body = JSON.stringify(smithyClient._json(input));
545
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
- };
547
- const se_PutRepositoryCatalogDataCommand = async (input, context) => {
548
- const headers = sharedHeaders("PutRepositoryCatalogData");
549
- let body;
550
- body = JSON.stringify(se_PutRepositoryCatalogDataRequest(input, context));
551
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
552
- };
553
- const se_SetRepositoryPolicyCommand = async (input, context) => {
554
- const headers = sharedHeaders("SetRepositoryPolicy");
555
- let body;
556
- body = JSON.stringify(smithyClient._json(input));
557
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
- };
559
- const se_TagResourceCommand = async (input, context) => {
560
- const headers = sharedHeaders("TagResource");
561
- let body;
562
- body = JSON.stringify(smithyClient._json(input));
563
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
564
- };
565
- const se_UntagResourceCommand = async (input, context) => {
566
- const headers = sharedHeaders("UntagResource");
567
- let body;
568
- body = JSON.stringify(smithyClient._json(input));
569
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
- };
571
- const se_UploadLayerPartCommand = async (input, context) => {
572
- const headers = sharedHeaders("UploadLayerPart");
573
- let body;
574
- body = JSON.stringify(se_UploadLayerPartRequest(input, context));
575
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
576
- };
577
- const de_BatchCheckLayerAvailabilityCommand = async (output, context) => {
578
- if (output.statusCode >= 300) {
579
- return de_CommandError(output, context);
580
- }
581
- const data = await core$1.parseJsonBody(output.body, context);
582
- let contents = {};
583
- contents = smithyClient._json(data);
584
- const response = {
585
- $metadata: deserializeMetadata(output),
586
- ...contents,
587
- };
588
- return response;
589
- };
590
- const de_BatchDeleteImageCommand = async (output, context) => {
591
- if (output.statusCode >= 300) {
592
- return de_CommandError(output, context);
593
- }
594
- const data = await core$1.parseJsonBody(output.body, context);
595
- let contents = {};
596
- contents = smithyClient._json(data);
597
- const response = {
598
- $metadata: deserializeMetadata(output),
599
- ...contents,
600
- };
601
- return response;
602
- };
603
- const de_CompleteLayerUploadCommand = async (output, context) => {
604
- if (output.statusCode >= 300) {
605
- return de_CommandError(output, context);
606
- }
607
- const data = await core$1.parseJsonBody(output.body, context);
608
- let contents = {};
609
- contents = smithyClient._json(data);
610
- const response = {
611
- $metadata: deserializeMetadata(output),
612
- ...contents,
613
- };
614
- return response;
615
- };
616
- const de_CreateRepositoryCommand = async (output, context) => {
617
- if (output.statusCode >= 300) {
618
- return de_CommandError(output, context);
619
- }
620
- const data = await core$1.parseJsonBody(output.body, context);
621
- let contents = {};
622
- contents = de_CreateRepositoryResponse(data);
623
- const response = {
624
- $metadata: deserializeMetadata(output),
625
- ...contents,
626
- };
627
- return response;
628
- };
629
- const de_DeleteRepositoryCommand = async (output, context) => {
630
- if (output.statusCode >= 300) {
631
- return de_CommandError(output, context);
632
- }
633
- const data = await core$1.parseJsonBody(output.body, context);
634
- let contents = {};
635
- contents = de_DeleteRepositoryResponse(data);
636
- const response = {
637
- $metadata: deserializeMetadata(output),
638
- ...contents,
639
- };
640
- return response;
641
- };
642
- const de_DeleteRepositoryPolicyCommand = async (output, context) => {
643
- if (output.statusCode >= 300) {
644
- return de_CommandError(output, context);
645
- }
646
- const data = await core$1.parseJsonBody(output.body, context);
647
- let contents = {};
648
- contents = smithyClient._json(data);
649
- const response = {
650
- $metadata: deserializeMetadata(output),
651
- ...contents,
652
- };
653
- return response;
654
- };
655
- const de_DescribeImagesCommand = async (output, context) => {
656
- if (output.statusCode >= 300) {
657
- return de_CommandError(output, context);
658
- }
659
- const data = await core$1.parseJsonBody(output.body, context);
660
- let contents = {};
661
- contents = de_DescribeImagesResponse(data);
662
- const response = {
663
- $metadata: deserializeMetadata(output),
664
- ...contents,
665
- };
666
- return response;
667
- };
668
- const de_DescribeImageTagsCommand = async (output, context) => {
669
- if (output.statusCode >= 300) {
670
- return de_CommandError(output, context);
671
- }
672
- const data = await core$1.parseJsonBody(output.body, context);
673
- let contents = {};
674
- contents = de_DescribeImageTagsResponse(data);
675
- const response = {
676
- $metadata: deserializeMetadata(output),
677
- ...contents,
678
- };
679
- return response;
680
- };
681
- const de_DescribeRegistriesCommand = async (output, context) => {
682
- if (output.statusCode >= 300) {
683
- return de_CommandError(output, context);
684
- }
685
- const data = await core$1.parseJsonBody(output.body, context);
686
- let contents = {};
687
- contents = smithyClient._json(data);
688
- const response = {
689
- $metadata: deserializeMetadata(output),
690
- ...contents,
691
- };
692
- return response;
693
- };
694
- const de_DescribeRepositoriesCommand = async (output, context) => {
695
- if (output.statusCode >= 300) {
696
- return de_CommandError(output, context);
697
- }
698
- const data = await core$1.parseJsonBody(output.body, context);
699
- let contents = {};
700
- contents = de_DescribeRepositoriesResponse(data);
701
- const response = {
702
- $metadata: deserializeMetadata(output),
703
- ...contents,
704
- };
705
- return response;
706
- };
707
- const de_GetAuthorizationTokenCommand = async (output, context) => {
708
- if (output.statusCode >= 300) {
709
- return de_CommandError(output, context);
710
- }
711
- const data = await core$1.parseJsonBody(output.body, context);
712
- let contents = {};
713
- contents = de_GetAuthorizationTokenResponse(data);
714
- const response = {
715
- $metadata: deserializeMetadata(output),
716
- ...contents,
717
- };
718
- return response;
719
- };
720
- const de_GetRegistryCatalogDataCommand = async (output, context) => {
721
- if (output.statusCode >= 300) {
722
- return de_CommandError(output, context);
723
- }
724
- const data = await core$1.parseJsonBody(output.body, context);
725
- let contents = {};
726
- contents = smithyClient._json(data);
727
- const response = {
728
- $metadata: deserializeMetadata(output),
729
- ...contents,
730
- };
731
- return response;
732
- };
733
- const de_GetRepositoryCatalogDataCommand = async (output, context) => {
734
- if (output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const data = await core$1.parseJsonBody(output.body, context);
738
- let contents = {};
739
- contents = smithyClient._json(data);
740
- const response = {
741
- $metadata: deserializeMetadata(output),
742
- ...contents,
743
- };
744
- return response;
745
- };
746
- const de_GetRepositoryPolicyCommand = async (output, context) => {
747
- if (output.statusCode >= 300) {
748
- return de_CommandError(output, context);
749
- }
750
- const data = await core$1.parseJsonBody(output.body, context);
751
- let contents = {};
752
- contents = smithyClient._json(data);
753
- const response = {
754
- $metadata: deserializeMetadata(output),
755
- ...contents,
756
- };
757
- return response;
758
- };
759
- const de_InitiateLayerUploadCommand = async (output, context) => {
760
- if (output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const data = await core$1.parseJsonBody(output.body, context);
764
- let contents = {};
765
- contents = smithyClient._json(data);
766
- const response = {
767
- $metadata: deserializeMetadata(output),
768
- ...contents,
769
- };
770
- return response;
771
- };
772
- const de_ListTagsForResourceCommand = async (output, context) => {
773
- if (output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const data = await core$1.parseJsonBody(output.body, context);
777
- let contents = {};
778
- contents = smithyClient._json(data);
779
- const response = {
780
- $metadata: deserializeMetadata(output),
781
- ...contents,
782
- };
783
- return response;
784
- };
785
- const de_PutImageCommand = async (output, context) => {
786
- if (output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const data = await core$1.parseJsonBody(output.body, context);
790
- let contents = {};
791
- contents = smithyClient._json(data);
792
- const response = {
793
- $metadata: deserializeMetadata(output),
794
- ...contents,
795
- };
796
- return response;
797
- };
798
- const de_PutRegistryCatalogDataCommand = async (output, context) => {
799
- if (output.statusCode >= 300) {
800
- return de_CommandError(output, context);
801
- }
802
- const data = await core$1.parseJsonBody(output.body, context);
803
- let contents = {};
804
- contents = smithyClient._json(data);
805
- const response = {
806
- $metadata: deserializeMetadata(output),
807
- ...contents,
808
- };
809
- return response;
810
- };
811
- const de_PutRepositoryCatalogDataCommand = async (output, context) => {
812
- if (output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const data = await core$1.parseJsonBody(output.body, context);
816
- let contents = {};
817
- contents = smithyClient._json(data);
818
- const response = {
819
- $metadata: deserializeMetadata(output),
820
- ...contents,
821
- };
822
- return response;
823
- };
824
- const de_SetRepositoryPolicyCommand = async (output, context) => {
825
- if (output.statusCode >= 300) {
826
- return de_CommandError(output, context);
827
- }
828
- const data = await core$1.parseJsonBody(output.body, context);
829
- let contents = {};
830
- contents = smithyClient._json(data);
831
- const response = {
832
- $metadata: deserializeMetadata(output),
833
- ...contents,
834
- };
835
- return response;
836
- };
837
- const de_TagResourceCommand = async (output, context) => {
838
- if (output.statusCode >= 300) {
839
- return de_CommandError(output, context);
840
- }
841
- const data = await core$1.parseJsonBody(output.body, context);
842
- let contents = {};
843
- contents = smithyClient._json(data);
844
- const response = {
845
- $metadata: deserializeMetadata(output),
846
- ...contents,
847
- };
848
- return response;
849
- };
850
- const de_UntagResourceCommand = async (output, context) => {
851
- if (output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const data = await core$1.parseJsonBody(output.body, context);
855
- let contents = {};
856
- contents = smithyClient._json(data);
857
- const response = {
858
- $metadata: deserializeMetadata(output),
859
- ...contents,
860
- };
861
- return response;
862
- };
863
- const de_UploadLayerPartCommand = async (output, context) => {
864
- if (output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const data = await core$1.parseJsonBody(output.body, context);
868
- let contents = {};
869
- contents = smithyClient._json(data);
870
- const response = {
871
- $metadata: deserializeMetadata(output),
872
- ...contents,
873
- };
874
- return response;
875
- };
876
- const de_CommandError = async (output, context) => {
877
- const parsedOutput = {
878
- ...output,
879
- body: await core$1.parseJsonErrorBody(output.body, context),
880
- };
881
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
882
- switch (errorCode) {
883
- case "InvalidParameterException":
884
- case "com.amazonaws.ecrpublic#InvalidParameterException":
885
- throw await de_InvalidParameterExceptionRes(parsedOutput);
886
- case "RegistryNotFoundException":
887
- case "com.amazonaws.ecrpublic#RegistryNotFoundException":
888
- throw await de_RegistryNotFoundExceptionRes(parsedOutput);
889
- case "RepositoryNotFoundException":
890
- case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
891
- throw await de_RepositoryNotFoundExceptionRes(parsedOutput);
892
- case "ServerException":
893
- case "com.amazonaws.ecrpublic#ServerException":
894
- throw await de_ServerExceptionRes(parsedOutput);
895
- case "UnsupportedCommandException":
896
- case "com.amazonaws.ecrpublic#UnsupportedCommandException":
897
- throw await de_UnsupportedCommandExceptionRes(parsedOutput);
898
- case "EmptyUploadException":
899
- case "com.amazonaws.ecrpublic#EmptyUploadException":
900
- throw await de_EmptyUploadExceptionRes(parsedOutput);
901
- case "InvalidLayerException":
902
- case "com.amazonaws.ecrpublic#InvalidLayerException":
903
- throw await de_InvalidLayerExceptionRes(parsedOutput);
904
- case "LayerAlreadyExistsException":
905
- case "com.amazonaws.ecrpublic#LayerAlreadyExistsException":
906
- throw await de_LayerAlreadyExistsExceptionRes(parsedOutput);
907
- case "LayerPartTooSmallException":
908
- case "com.amazonaws.ecrpublic#LayerPartTooSmallException":
909
- throw await de_LayerPartTooSmallExceptionRes(parsedOutput);
910
- case "UploadNotFoundException":
911
- case "com.amazonaws.ecrpublic#UploadNotFoundException":
912
- throw await de_UploadNotFoundExceptionRes(parsedOutput);
913
- case "InvalidTagParameterException":
914
- case "com.amazonaws.ecrpublic#InvalidTagParameterException":
915
- throw await de_InvalidTagParameterExceptionRes(parsedOutput);
916
- case "LimitExceededException":
917
- case "com.amazonaws.ecrpublic#LimitExceededException":
918
- throw await de_LimitExceededExceptionRes(parsedOutput);
919
- case "RepositoryAlreadyExistsException":
920
- case "com.amazonaws.ecrpublic#RepositoryAlreadyExistsException":
921
- throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput);
922
- case "TooManyTagsException":
923
- case "com.amazonaws.ecrpublic#TooManyTagsException":
924
- throw await de_TooManyTagsExceptionRes(parsedOutput);
925
- case "RepositoryNotEmptyException":
926
- case "com.amazonaws.ecrpublic#RepositoryNotEmptyException":
927
- throw await de_RepositoryNotEmptyExceptionRes(parsedOutput);
928
- case "RepositoryPolicyNotFoundException":
929
- case "com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":
930
- throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput);
931
- case "ImageNotFoundException":
932
- case "com.amazonaws.ecrpublic#ImageNotFoundException":
933
- throw await de_ImageNotFoundExceptionRes(parsedOutput);
934
- case "RepositoryCatalogDataNotFoundException":
935
- case "com.amazonaws.ecrpublic#RepositoryCatalogDataNotFoundException":
936
- throw await de_RepositoryCatalogDataNotFoundExceptionRes(parsedOutput);
937
- case "ImageAlreadyExistsException":
938
- case "com.amazonaws.ecrpublic#ImageAlreadyExistsException":
939
- throw await de_ImageAlreadyExistsExceptionRes(parsedOutput);
940
- case "ImageDigestDoesNotMatchException":
941
- case "com.amazonaws.ecrpublic#ImageDigestDoesNotMatchException":
942
- throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput);
943
- case "ImageTagAlreadyExistsException":
944
- case "com.amazonaws.ecrpublic#ImageTagAlreadyExistsException":
945
- throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput);
946
- case "LayersNotFoundException":
947
- case "com.amazonaws.ecrpublic#LayersNotFoundException":
948
- throw await de_LayersNotFoundExceptionRes(parsedOutput);
949
- case "ReferencedImagesNotFoundException":
950
- case "com.amazonaws.ecrpublic#ReferencedImagesNotFoundException":
951
- throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput);
952
- case "InvalidLayerPartException":
953
- case "com.amazonaws.ecrpublic#InvalidLayerPartException":
954
- throw await de_InvalidLayerPartExceptionRes(parsedOutput);
955
- default:
956
- const parsedBody = parsedOutput.body;
957
- return throwDefaultError({
958
- output,
959
- parsedBody,
960
- errorCode,
961
- });
962
- }
963
- };
964
- const de_EmptyUploadExceptionRes = async (parsedOutput, context) => {
965
- const body = parsedOutput.body;
966
- const deserialized = smithyClient._json(body);
967
- const exception = new EmptyUploadException({
968
- $metadata: deserializeMetadata(parsedOutput),
969
- ...deserialized,
970
- });
971
- return smithyClient.decorateServiceException(exception, body);
972
- };
973
- const de_ImageAlreadyExistsExceptionRes = async (parsedOutput, context) => {
974
- const body = parsedOutput.body;
975
- const deserialized = smithyClient._json(body);
976
- const exception = new ImageAlreadyExistsException({
977
- $metadata: deserializeMetadata(parsedOutput),
978
- ...deserialized,
979
- });
980
- return smithyClient.decorateServiceException(exception, body);
981
- };
982
- const de_ImageDigestDoesNotMatchExceptionRes = async (parsedOutput, context) => {
983
- const body = parsedOutput.body;
984
- const deserialized = smithyClient._json(body);
985
- const exception = new ImageDigestDoesNotMatchException({
986
- $metadata: deserializeMetadata(parsedOutput),
987
- ...deserialized,
988
- });
989
- return smithyClient.decorateServiceException(exception, body);
990
- };
991
- const de_ImageNotFoundExceptionRes = async (parsedOutput, context) => {
992
- const body = parsedOutput.body;
993
- const deserialized = smithyClient._json(body);
994
- const exception = new ImageNotFoundException({
995
- $metadata: deserializeMetadata(parsedOutput),
996
- ...deserialized,
997
- });
998
- return smithyClient.decorateServiceException(exception, body);
999
- };
1000
- const de_ImageTagAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1001
- const body = parsedOutput.body;
1002
- const deserialized = smithyClient._json(body);
1003
- const exception = new ImageTagAlreadyExistsException({
1004
- $metadata: deserializeMetadata(parsedOutput),
1005
- ...deserialized,
1006
- });
1007
- return smithyClient.decorateServiceException(exception, body);
1008
- };
1009
- const de_InvalidLayerExceptionRes = async (parsedOutput, context) => {
1010
- const body = parsedOutput.body;
1011
- const deserialized = smithyClient._json(body);
1012
- const exception = new InvalidLayerException({
1013
- $metadata: deserializeMetadata(parsedOutput),
1014
- ...deserialized,
1015
- });
1016
- return smithyClient.decorateServiceException(exception, body);
1017
- };
1018
- const de_InvalidLayerPartExceptionRes = async (parsedOutput, context) => {
1019
- const body = parsedOutput.body;
1020
- const deserialized = smithyClient._json(body);
1021
- const exception = new InvalidLayerPartException({
1022
- $metadata: deserializeMetadata(parsedOutput),
1023
- ...deserialized,
1024
- });
1025
- return smithyClient.decorateServiceException(exception, body);
1026
- };
1027
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1028
- const body = parsedOutput.body;
1029
- const deserialized = smithyClient._json(body);
1030
- const exception = new InvalidParameterException({
1031
- $metadata: deserializeMetadata(parsedOutput),
1032
- ...deserialized,
1033
- });
1034
- return smithyClient.decorateServiceException(exception, body);
1035
- };
1036
- const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
1037
- const body = parsedOutput.body;
1038
- const deserialized = smithyClient._json(body);
1039
- const exception = new InvalidTagParameterException({
1040
- $metadata: deserializeMetadata(parsedOutput),
1041
- ...deserialized,
1042
- });
1043
- return smithyClient.decorateServiceException(exception, body);
1044
- };
1045
- const de_LayerAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1046
- const body = parsedOutput.body;
1047
- const deserialized = smithyClient._json(body);
1048
- const exception = new LayerAlreadyExistsException({
1049
- $metadata: deserializeMetadata(parsedOutput),
1050
- ...deserialized,
1051
- });
1052
- return smithyClient.decorateServiceException(exception, body);
1053
- };
1054
- const de_LayerPartTooSmallExceptionRes = async (parsedOutput, context) => {
1055
- const body = parsedOutput.body;
1056
- const deserialized = smithyClient._json(body);
1057
- const exception = new LayerPartTooSmallException({
1058
- $metadata: deserializeMetadata(parsedOutput),
1059
- ...deserialized,
1060
- });
1061
- return smithyClient.decorateServiceException(exception, body);
1062
- };
1063
- const de_LayersNotFoundExceptionRes = async (parsedOutput, context) => {
1064
- const body = parsedOutput.body;
1065
- const deserialized = smithyClient._json(body);
1066
- const exception = new LayersNotFoundException({
1067
- $metadata: deserializeMetadata(parsedOutput),
1068
- ...deserialized,
1069
- });
1070
- return smithyClient.decorateServiceException(exception, body);
1071
- };
1072
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1073
- const body = parsedOutput.body;
1074
- const deserialized = smithyClient._json(body);
1075
- const exception = new LimitExceededException({
1076
- $metadata: deserializeMetadata(parsedOutput),
1077
- ...deserialized,
1078
- });
1079
- return smithyClient.decorateServiceException(exception, body);
1080
- };
1081
- const de_ReferencedImagesNotFoundExceptionRes = async (parsedOutput, context) => {
1082
- const body = parsedOutput.body;
1083
- const deserialized = smithyClient._json(body);
1084
- const exception = new ReferencedImagesNotFoundException({
1085
- $metadata: deserializeMetadata(parsedOutput),
1086
- ...deserialized,
1087
- });
1088
- return smithyClient.decorateServiceException(exception, body);
1089
- };
1090
- const de_RegistryNotFoundExceptionRes = async (parsedOutput, context) => {
1091
- const body = parsedOutput.body;
1092
- const deserialized = smithyClient._json(body);
1093
- const exception = new RegistryNotFoundException({
1094
- $metadata: deserializeMetadata(parsedOutput),
1095
- ...deserialized,
1096
- });
1097
- return smithyClient.decorateServiceException(exception, body);
1098
- };
1099
- const de_RepositoryAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1100
- const body = parsedOutput.body;
1101
- const deserialized = smithyClient._json(body);
1102
- const exception = new RepositoryAlreadyExistsException({
1103
- $metadata: deserializeMetadata(parsedOutput),
1104
- ...deserialized,
1105
- });
1106
- return smithyClient.decorateServiceException(exception, body);
1107
- };
1108
- const de_RepositoryCatalogDataNotFoundExceptionRes = async (parsedOutput, context) => {
1109
- const body = parsedOutput.body;
1110
- const deserialized = smithyClient._json(body);
1111
- const exception = new RepositoryCatalogDataNotFoundException({
1112
- $metadata: deserializeMetadata(parsedOutput),
1113
- ...deserialized,
1114
- });
1115
- return smithyClient.decorateServiceException(exception, body);
1116
- };
1117
- const de_RepositoryNotEmptyExceptionRes = async (parsedOutput, context) => {
1118
- const body = parsedOutput.body;
1119
- const deserialized = smithyClient._json(body);
1120
- const exception = new RepositoryNotEmptyException({
1121
- $metadata: deserializeMetadata(parsedOutput),
1122
- ...deserialized,
1123
- });
1124
- return smithyClient.decorateServiceException(exception, body);
1125
- };
1126
- const de_RepositoryNotFoundExceptionRes = async (parsedOutput, context) => {
1127
- const body = parsedOutput.body;
1128
- const deserialized = smithyClient._json(body);
1129
- const exception = new RepositoryNotFoundException({
1130
- $metadata: deserializeMetadata(parsedOutput),
1131
- ...deserialized,
1132
- });
1133
- return smithyClient.decorateServiceException(exception, body);
1134
- };
1135
- const de_RepositoryPolicyNotFoundExceptionRes = async (parsedOutput, context) => {
1136
- const body = parsedOutput.body;
1137
- const deserialized = smithyClient._json(body);
1138
- const exception = new RepositoryPolicyNotFoundException({
1139
- $metadata: deserializeMetadata(parsedOutput),
1140
- ...deserialized,
1141
- });
1142
- return smithyClient.decorateServiceException(exception, body);
1143
- };
1144
- const de_ServerExceptionRes = async (parsedOutput, context) => {
1145
- const body = parsedOutput.body;
1146
- const deserialized = smithyClient._json(body);
1147
- const exception = new ServerException({
1148
- $metadata: deserializeMetadata(parsedOutput),
1149
- ...deserialized,
1150
- });
1151
- return smithyClient.decorateServiceException(exception, body);
1152
- };
1153
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1154
- const body = parsedOutput.body;
1155
- const deserialized = smithyClient._json(body);
1156
- const exception = new TooManyTagsException({
1157
- $metadata: deserializeMetadata(parsedOutput),
1158
- ...deserialized,
1159
- });
1160
- return smithyClient.decorateServiceException(exception, body);
1161
- };
1162
- const de_UnsupportedCommandExceptionRes = async (parsedOutput, context) => {
1163
- const body = parsedOutput.body;
1164
- const deserialized = smithyClient._json(body);
1165
- const exception = new UnsupportedCommandException({
1166
- $metadata: deserializeMetadata(parsedOutput),
1167
- ...deserialized,
1168
- });
1169
- return smithyClient.decorateServiceException(exception, body);
1170
- };
1171
- const de_UploadNotFoundExceptionRes = async (parsedOutput, context) => {
1172
- const body = parsedOutput.body;
1173
- const deserialized = smithyClient._json(body);
1174
- const exception = new UploadNotFoundException({
1175
- $metadata: deserializeMetadata(parsedOutput),
1176
- ...deserialized,
1177
- });
1178
- return smithyClient.decorateServiceException(exception, body);
1179
- };
1180
- const se_CreateRepositoryRequest = (input, context) => {
1181
- return smithyClient.take(input, {
1182
- catalogData: (_) => se_RepositoryCatalogDataInput(_, context),
1183
- repositoryName: [],
1184
- tags: smithyClient._json,
1185
- });
1186
- };
1187
- const se_PutRepositoryCatalogDataRequest = (input, context) => {
1188
- return smithyClient.take(input, {
1189
- catalogData: (_) => se_RepositoryCatalogDataInput(_, context),
1190
- registryId: [],
1191
- repositoryName: [],
1192
- });
1193
- };
1194
- const se_RepositoryCatalogDataInput = (input, context) => {
1195
- return smithyClient.take(input, {
1196
- aboutText: [],
1197
- architectures: smithyClient._json,
1198
- description: [],
1199
- logoImageBlob: context.base64Encoder,
1200
- operatingSystems: smithyClient._json,
1201
- usageText: [],
1202
- });
1203
- };
1204
- const se_UploadLayerPartRequest = (input, context) => {
1205
- return smithyClient.take(input, {
1206
- layerPartBlob: context.base64Encoder,
1207
- partFirstByte: [],
1208
- partLastByte: [],
1209
- registryId: [],
1210
- repositoryName: [],
1211
- uploadId: [],
1212
- });
1213
- };
1214
- const de_AuthorizationData = (output, context) => {
1215
- return smithyClient.take(output, {
1216
- authorizationToken: smithyClient.expectString,
1217
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1218
- });
1219
- };
1220
- const de_CreateRepositoryResponse = (output, context) => {
1221
- return smithyClient.take(output, {
1222
- catalogData: smithyClient._json,
1223
- repository: (_) => de_Repository(_),
1224
- });
1225
- };
1226
- const de_DeleteRepositoryResponse = (output, context) => {
1227
- return smithyClient.take(output, {
1228
- repository: (_) => de_Repository(_),
1229
- });
1230
- };
1231
- const de_DescribeImagesResponse = (output, context) => {
1232
- return smithyClient.take(output, {
1233
- imageDetails: (_) => de_ImageDetailList(_),
1234
- nextToken: smithyClient.expectString,
1235
- });
1236
- };
1237
- const de_DescribeImageTagsResponse = (output, context) => {
1238
- return smithyClient.take(output, {
1239
- imageTagDetails: (_) => de_ImageTagDetailList(_),
1240
- nextToken: smithyClient.expectString,
1241
- });
1242
- };
1243
- const de_DescribeRepositoriesResponse = (output, context) => {
1244
- return smithyClient.take(output, {
1245
- nextToken: smithyClient.expectString,
1246
- repositories: (_) => de_RepositoryList(_),
1247
- });
1248
- };
1249
- const de_GetAuthorizationTokenResponse = (output, context) => {
1250
- return smithyClient.take(output, {
1251
- authorizationData: (_) => de_AuthorizationData(_),
1252
- });
1253
- };
1254
- const de_ImageDetail = (output, context) => {
1255
- return smithyClient.take(output, {
1256
- artifactMediaType: smithyClient.expectString,
1257
- imageDigest: smithyClient.expectString,
1258
- imageManifestMediaType: smithyClient.expectString,
1259
- imagePushedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1260
- imageSizeInBytes: smithyClient.expectLong,
1261
- imageTags: smithyClient._json,
1262
- registryId: smithyClient.expectString,
1263
- repositoryName: smithyClient.expectString,
1264
- });
1265
- };
1266
- const de_ImageDetailList = (output, context) => {
1267
- const retVal = (output || [])
1268
- .filter((e) => e != null)
1269
- .map((entry) => {
1270
- return de_ImageDetail(entry);
1271
- });
1272
- return retVal;
1273
- };
1274
- const de_ImageTagDetail = (output, context) => {
1275
- return smithyClient.take(output, {
1276
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1277
- imageDetail: (_) => de_ReferencedImageDetail(_),
1278
- imageTag: smithyClient.expectString,
1279
- });
1280
- };
1281
- const de_ImageTagDetailList = (output, context) => {
1282
- const retVal = (output || [])
1283
- .filter((e) => e != null)
1284
- .map((entry) => {
1285
- return de_ImageTagDetail(entry);
1286
- });
1287
- return retVal;
1288
- };
1289
- const de_ReferencedImageDetail = (output, context) => {
1290
- return smithyClient.take(output, {
1291
- artifactMediaType: smithyClient.expectString,
1292
- imageDigest: smithyClient.expectString,
1293
- imageManifestMediaType: smithyClient.expectString,
1294
- imagePushedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1295
- imageSizeInBytes: smithyClient.expectLong,
1296
- });
1297
- };
1298
- const de_Repository = (output, context) => {
1299
- return smithyClient.take(output, {
1300
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1301
- registryId: smithyClient.expectString,
1302
- repositoryArn: smithyClient.expectString,
1303
- repositoryName: smithyClient.expectString,
1304
- repositoryUri: smithyClient.expectString,
1305
- });
1306
- };
1307
- const de_RepositoryList = (output, context) => {
1308
- const retVal = (output || [])
1309
- .filter((e) => e != null)
1310
- .map((entry) => {
1311
- return de_Repository(entry);
1312
- });
1313
- return retVal;
1314
- };
1315
- const deserializeMetadata = (output) => ({
1316
- httpStatusCode: output.statusCode,
1317
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1318
- extendedRequestId: output.headers["x-amz-id-2"],
1319
- cfId: output.headers["x-amz-cf-id"],
1320
- });
1321
- const throwDefaultError = smithyClient.withBaseException(ECRPUBLICServiceException);
1322
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1323
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1324
- const contents = {
1325
- protocol,
1326
- hostname,
1327
- port,
1328
- method: "POST",
1329
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1330
- headers,
1331
- };
1332
- if (body !== undefined) {
1333
- contents.body = body;
1334
- }
1335
- return new protocolHttp.HttpRequest(contents);
1336
437
  };
1337
- function sharedHeaders(operation) {
1338
- return {
1339
- "content-type": "application/x-amz-json-1.1",
1340
- "x-amz-target": `SpencerFrontendService.${operation}`,
1341
- };
1342
- }
438
+
439
+ const _AD = "AuthorizationData";
440
+ const _BCLA = "BatchCheckLayerAvailability";
441
+ const _BCLAR = "BatchCheckLayerAvailabilityRequest";
442
+ const _BCLARa = "BatchCheckLayerAvailabilityResponse";
443
+ const _BDI = "BatchDeleteImage";
444
+ const _BDIR = "BatchDeleteImageRequest";
445
+ const _BDIRa = "BatchDeleteImageResponse";
446
+ const _CLU = "CompleteLayerUpload";
447
+ const _CLUR = "CompleteLayerUploadRequest";
448
+ const _CLURo = "CompleteLayerUploadResponse";
449
+ const _CR = "CreateRepository";
450
+ const _CRR = "CreateRepositoryRequest";
451
+ const _CRRr = "CreateRepositoryResponse";
452
+ const _DI = "DescribeImages";
453
+ const _DIR = "DescribeImagesRequest";
454
+ const _DIRe = "DescribeImagesResponse";
455
+ const _DIT = "DescribeImageTags";
456
+ const _DITR = "DescribeImageTagsRequest";
457
+ const _DITRe = "DescribeImageTagsResponse";
458
+ const _DR = "DeleteRepository";
459
+ const _DRP = "DeleteRepositoryPolicy";
460
+ const _DRPR = "DeleteRepositoryPolicyRequest";
461
+ const _DRPRe = "DeleteRepositoryPolicyResponse";
462
+ const _DRR = "DeleteRepositoryRequest";
463
+ const _DRRe = "DeleteRepositoryResponse";
464
+ const _DRRes = "DescribeRegistriesRequest";
465
+ const _DRResc = "DescribeRegistriesResponse";
466
+ const _DRRescr = "DescribeRepositoriesRequest";
467
+ const _DRRescri = "DescribeRepositoriesResponse";
468
+ const _DRe = "DescribeRegistries";
469
+ const _DRes = "DescribeRepositories";
470
+ const _EUE = "EmptyUploadException";
471
+ const _GAT = "GetAuthorizationToken";
472
+ const _GATR = "GetAuthorizationTokenRequest";
473
+ const _GATRe = "GetAuthorizationTokenResponse";
474
+ const _GRCD = "GetRegistryCatalogData";
475
+ const _GRCDR = "GetRegistryCatalogDataRequest";
476
+ const _GRCDRe = "GetRegistryCatalogDataResponse";
477
+ const _GRCDRet = "GetRepositoryCatalogDataRequest";
478
+ const _GRCDRete = "GetRepositoryCatalogDataResponse";
479
+ const _GRCDe = "GetRepositoryCatalogData";
480
+ const _GRP = "GetRepositoryPolicy";
481
+ const _GRPR = "GetRepositoryPolicyRequest";
482
+ const _GRPRe = "GetRepositoryPolicyResponse";
483
+ const _I = "Image";
484
+ const _IAEE = "ImageAlreadyExistsException";
485
+ const _ID = "ImageDetail";
486
+ const _IDDNME = "ImageDigestDoesNotMatchException";
487
+ const _IDL = "ImageDetailList";
488
+ const _IF = "ImageFailure";
489
+ const _IFL = "ImageFailureList";
490
+ const _II = "ImageIdentifier";
491
+ const _IIL = "ImageIdentifierList";
492
+ const _ILE = "InvalidLayerException";
493
+ const _ILPE = "InvalidLayerPartException";
494
+ const _ILU = "InitiateLayerUpload";
495
+ const _ILUR = "InitiateLayerUploadRequest";
496
+ const _ILURn = "InitiateLayerUploadResponse";
497
+ const _INFE = "ImageNotFoundException";
498
+ const _IPE = "InvalidParameterException";
499
+ const _ITAEE = "ImageTagAlreadyExistsException";
500
+ const _ITD = "ImageTagDetail";
501
+ const _ITDL = "ImageTagDetailList";
502
+ const _ITPE = "InvalidTagParameterException";
503
+ const _K = "Key";
504
+ const _L = "Layer";
505
+ const _LAEE = "LayerAlreadyExistsException";
506
+ const _LEE = "LimitExceededException";
507
+ const _LF = "LayerFailure";
508
+ const _LFL = "LayerFailureList";
509
+ const _LL = "LayerList";
510
+ const _LNFE = "LayersNotFoundException";
511
+ const _LPTSE = "LayerPartTooSmallException";
512
+ const _LTFR = "ListTagsForResource";
513
+ const _LTFRR = "ListTagsForResourceRequest";
514
+ const _LTFRRi = "ListTagsForResourceResponse";
515
+ const _PI = "PutImage";
516
+ const _PIR = "PutImageRequest";
517
+ const _PIRu = "PutImageResponse";
518
+ const _PRCD = "PutRegistryCatalogData";
519
+ const _PRCDR = "PutRegistryCatalogDataRequest";
520
+ const _PRCDRu = "PutRegistryCatalogDataResponse";
521
+ const _PRCDRut = "PutRepositoryCatalogDataRequest";
522
+ const _PRCDRute = "PutRepositoryCatalogDataResponse";
523
+ const _PRCDu = "PutRepositoryCatalogData";
524
+ const _R = "Registry";
525
+ const _RA = "RegistryAlias";
526
+ const _RAEE = "RepositoryAlreadyExistsException";
527
+ const _RAL = "RegistryAliasList";
528
+ const _RCD = "RegistryCatalogData";
529
+ const _RCDI = "RepositoryCatalogDataInput";
530
+ const _RCDNFE = "RepositoryCatalogDataNotFoundException";
531
+ const _RCDe = "RepositoryCatalogData";
532
+ const _RID = "ReferencedImageDetail";
533
+ const _RINFE = "ReferencedImagesNotFoundException";
534
+ const _RL = "RegistryList";
535
+ const _RLe = "RepositoryList";
536
+ const _RNEE = "RepositoryNotEmptyException";
537
+ const _RNFE = "RegistryNotFoundException";
538
+ const _RNFEe = "RepositoryNotFoundException";
539
+ const _RPNFE = "RepositoryPolicyNotFoundException";
540
+ const _Re = "Repository";
541
+ const _SE = "ServerException";
542
+ const _SRP = "SetRepositoryPolicy";
543
+ const _SRPR = "SetRepositoryPolicyRequest";
544
+ const _SRPRe = "SetRepositoryPolicyResponse";
545
+ const _T = "Tag";
546
+ const _TL = "TagList";
547
+ const _TMTE = "TooManyTagsException";
548
+ const _TR = "TagResource";
549
+ const _TRR = "TagResourceRequest";
550
+ const _TRRa = "TagResourceResponse";
551
+ const _UCE = "UnsupportedCommandException";
552
+ const _ULP = "UploadLayerPart";
553
+ const _ULPR = "UploadLayerPartRequest";
554
+ const _ULPRp = "UploadLayerPartResponse";
555
+ const _UNFE = "UploadNotFoundException";
556
+ const _UR = "UntagResource";
557
+ const _URR = "UntagResourceRequest";
558
+ const _URRn = "UntagResourceResponse";
559
+ const _V = "Value";
560
+ const _a = "aliases";
561
+ const _aD = "authorizationData";
562
+ const _aMT = "artifactMediaType";
563
+ const _aT = "authorizationToken";
564
+ const _aTb = "aboutText";
565
+ const _ar = "architectures";
566
+ const _c = "client";
567
+ const _cA = "createdAt";
568
+ const _cD = "catalogData";
569
+ const _d = "description";
570
+ const _dN = "displayName";
571
+ const _dRA = "defaultRegistryAlias";
572
+ const _e = "error";
573
+ const _eA = "expiresAt";
574
+ const _f = "failures";
575
+ const _fC = "failureCode";
576
+ const _fR = "failureReason";
577
+ const _fo = "force";
578
+ const _i = "image";
579
+ const _iD = "imageDetails";
580
+ const _iDm = "imageDigest";
581
+ const _iDma = "imageDetail";
582
+ const _iI = "imageIds";
583
+ const _iIm = "imageId";
584
+ const _iM = "imageManifest";
585
+ const _iMMT = "imageManifestMediaType";
586
+ const _iPA = "imagePushedAt";
587
+ const _iSIB = "imageSizeInBytes";
588
+ const _iT = "imageTags";
589
+ const _iTD = "imageTagDetails";
590
+ const _iTm = "imageTag";
591
+ const _l = "layers";
592
+ const _lA = "layerAvailability";
593
+ const _lBR = "lastByteReceived";
594
+ const _lD = "layerDigests";
595
+ const _lDa = "layerDigest";
596
+ const _lIB = "logoImageBlob";
597
+ const _lPB = "layerPartBlob";
598
+ const _lS = "layerSize";
599
+ const _lU = "logoUrl";
600
+ const _lVBR = "lastValidByteReceived";
601
+ const _m = "message";
602
+ const _mC = "marketplaceCertified";
603
+ const _mR = "maxResults";
604
+ const _mT = "mediaType";
605
+ const _n = "name";
606
+ const _nT = "nextToken";
607
+ const _oS = "operatingSystems";
608
+ const _pFB = "partFirstByte";
609
+ const _pLB = "partLastByte";
610
+ const _pRA = "primaryRegistryAlias";
611
+ const _pS = "partSize";
612
+ const _pT = "policyText";
613
+ const _r = "repository";
614
+ const _rA = "resourceArn";
615
+ const _rAe = "registryArn";
616
+ const _rAep = "repositoryArn";
617
+ const _rCD = "registryCatalogData";
618
+ const _rI = "registryId";
619
+ const _rN = "repositoryName";
620
+ const _rNe = "repositoryNames";
621
+ const _rU = "registryUri";
622
+ const _rUe = "repositoryUri";
623
+ const _re = "registries";
624
+ const _rep = "repositories";
625
+ const _s = "status";
626
+ const _se = "server";
627
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ecrpublic";
628
+ const _t = "tags";
629
+ const _tK = "tagKeys";
630
+ const _uI = "uploadId";
631
+ const _uT = "usageText";
632
+ const _v = "verified";
633
+ const n0 = "com.amazonaws.ecrpublic";
634
+ var AuthorizationData = [3, n0, _AD, 0, [_aT, _eA], [0, 4]];
635
+ var BatchCheckLayerAvailabilityRequest = [
636
+ 3,
637
+ n0,
638
+ _BCLAR,
639
+ 0,
640
+ [_rI, _rN, _lD],
641
+ [0, 0, 64 | 0],
642
+ ];
643
+ var BatchCheckLayerAvailabilityResponse = [
644
+ 3,
645
+ n0,
646
+ _BCLARa,
647
+ 0,
648
+ [_l, _f],
649
+ [() => LayerList, () => LayerFailureList],
650
+ ];
651
+ var BatchDeleteImageRequest = [
652
+ 3,
653
+ n0,
654
+ _BDIR,
655
+ 0,
656
+ [_rI, _rN, _iI],
657
+ [0, 0, () => ImageIdentifierList],
658
+ ];
659
+ var BatchDeleteImageResponse = [
660
+ 3,
661
+ n0,
662
+ _BDIRa,
663
+ 0,
664
+ [_iI, _f],
665
+ [() => ImageIdentifierList, () => ImageFailureList],
666
+ ];
667
+ var CompleteLayerUploadRequest = [
668
+ 3,
669
+ n0,
670
+ _CLUR,
671
+ 0,
672
+ [_rI, _rN, _uI, _lD],
673
+ [0, 0, 0, 64 | 0],
674
+ ];
675
+ var CompleteLayerUploadResponse = [3, n0, _CLURo, 0, [_rI, _rN, _uI, _lDa], [0, 0, 0, 0]];
676
+ var CreateRepositoryRequest = [
677
+ 3,
678
+ n0,
679
+ _CRR,
680
+ 0,
681
+ [_rN, _cD, _t],
682
+ [0, () => RepositoryCatalogDataInput, () => TagList],
683
+ ];
684
+ var CreateRepositoryResponse = [
685
+ 3,
686
+ n0,
687
+ _CRRr,
688
+ 0,
689
+ [_r, _cD],
690
+ [() => Repository, () => RepositoryCatalogData],
691
+ ];
692
+ var DeleteRepositoryPolicyRequest = [3, n0, _DRPR, 0, [_rI, _rN], [0, 0]];
693
+ var DeleteRepositoryPolicyResponse = [3, n0, _DRPRe, 0, [_rI, _rN, _pT], [0, 0, 0]];
694
+ var DeleteRepositoryRequest = [3, n0, _DRR, 0, [_rI, _rN, _fo], [0, 0, 2]];
695
+ var DeleteRepositoryResponse = [3, n0, _DRRe, 0, [_r], [() => Repository]];
696
+ var DescribeImagesRequest = [
697
+ 3,
698
+ n0,
699
+ _DIR,
700
+ 0,
701
+ [_rI, _rN, _iI, _nT, _mR],
702
+ [0, 0, () => ImageIdentifierList, 0, 1],
703
+ ];
704
+ var DescribeImagesResponse = [3, n0, _DIRe, 0, [_iD, _nT], [() => ImageDetailList, 0]];
705
+ var DescribeImageTagsRequest = [3, n0, _DITR, 0, [_rI, _rN, _nT, _mR], [0, 0, 0, 1]];
706
+ var DescribeImageTagsResponse = [
707
+ 3,
708
+ n0,
709
+ _DITRe,
710
+ 0,
711
+ [_iTD, _nT],
712
+ [() => ImageTagDetailList, 0],
713
+ ];
714
+ var DescribeRegistriesRequest = [3, n0, _DRRes, 0, [_nT, _mR], [0, 1]];
715
+ var DescribeRegistriesResponse = [3, n0, _DRResc, 0, [_re, _nT], [() => RegistryList, 0]];
716
+ var DescribeRepositoriesRequest = [
717
+ 3,
718
+ n0,
719
+ _DRRescr,
720
+ 0,
721
+ [_rI, _rNe, _nT, _mR],
722
+ [0, 64 | 0, 0, 1],
723
+ ];
724
+ var DescribeRepositoriesResponse = [
725
+ 3,
726
+ n0,
727
+ _DRRescri,
728
+ 0,
729
+ [_rep, _nT],
730
+ [() => RepositoryList, 0],
731
+ ];
732
+ var EmptyUploadException = [
733
+ -3,
734
+ n0,
735
+ _EUE,
736
+ {
737
+ [_e]: _c,
738
+ },
739
+ [_m],
740
+ [0],
741
+ ];
742
+ schema.TypeRegistry.for(n0).registerError(EmptyUploadException, EmptyUploadException$1);
743
+ var GetAuthorizationTokenRequest = [3, n0, _GATR, 0, [], []];
744
+ var GetAuthorizationTokenResponse = [3, n0, _GATRe, 0, [_aD], [() => AuthorizationData]];
745
+ var GetRegistryCatalogDataRequest = [3, n0, _GRCDR, 0, [], []];
746
+ var GetRegistryCatalogDataResponse = [
747
+ 3,
748
+ n0,
749
+ _GRCDRe,
750
+ 0,
751
+ [_rCD],
752
+ [() => RegistryCatalogData],
753
+ ];
754
+ var GetRepositoryCatalogDataRequest = [3, n0, _GRCDRet, 0, [_rI, _rN], [0, 0]];
755
+ var GetRepositoryCatalogDataResponse = [
756
+ 3,
757
+ n0,
758
+ _GRCDRete,
759
+ 0,
760
+ [_cD],
761
+ [() => RepositoryCatalogData],
762
+ ];
763
+ var GetRepositoryPolicyRequest = [3, n0, _GRPR, 0, [_rI, _rN], [0, 0]];
764
+ var GetRepositoryPolicyResponse = [3, n0, _GRPRe, 0, [_rI, _rN, _pT], [0, 0, 0]];
765
+ var Image = [
766
+ 3,
767
+ n0,
768
+ _I,
769
+ 0,
770
+ [_rI, _rN, _iIm, _iM, _iMMT],
771
+ [0, 0, () => ImageIdentifier, 0, 0],
772
+ ];
773
+ var ImageAlreadyExistsException = [
774
+ -3,
775
+ n0,
776
+ _IAEE,
777
+ {
778
+ [_e]: _c,
779
+ },
780
+ [_m],
781
+ [0],
782
+ ];
783
+ schema.TypeRegistry.for(n0).registerError(ImageAlreadyExistsException, ImageAlreadyExistsException$1);
784
+ var ImageDetail = [
785
+ 3,
786
+ n0,
787
+ _ID,
788
+ 0,
789
+ [_rI, _rN, _iDm, _iT, _iSIB, _iPA, _iMMT, _aMT],
790
+ [0, 0, 0, 64 | 0, 1, 4, 0, 0],
791
+ ];
792
+ var ImageDigestDoesNotMatchException = [
793
+ -3,
794
+ n0,
795
+ _IDDNME,
796
+ {
797
+ [_e]: _c,
798
+ },
799
+ [_m],
800
+ [0],
801
+ ];
802
+ schema.TypeRegistry.for(n0).registerError(ImageDigestDoesNotMatchException, ImageDigestDoesNotMatchException$1);
803
+ var ImageFailure = [3, n0, _IF, 0, [_iIm, _fC, _fR], [() => ImageIdentifier, 0, 0]];
804
+ var ImageIdentifier = [3, n0, _II, 0, [_iDm, _iTm], [0, 0]];
805
+ var ImageNotFoundException = [
806
+ -3,
807
+ n0,
808
+ _INFE,
809
+ {
810
+ [_e]: _c,
811
+ },
812
+ [_m],
813
+ [0],
814
+ ];
815
+ schema.TypeRegistry.for(n0).registerError(ImageNotFoundException, ImageNotFoundException$1);
816
+ var ImageTagAlreadyExistsException = [
817
+ -3,
818
+ n0,
819
+ _ITAEE,
820
+ {
821
+ [_e]: _c,
822
+ },
823
+ [_m],
824
+ [0],
825
+ ];
826
+ schema.TypeRegistry.for(n0).registerError(ImageTagAlreadyExistsException, ImageTagAlreadyExistsException$1);
827
+ var ImageTagDetail = [
828
+ 3,
829
+ n0,
830
+ _ITD,
831
+ 0,
832
+ [_iTm, _cA, _iDma],
833
+ [0, 4, () => ReferencedImageDetail],
834
+ ];
835
+ var InitiateLayerUploadRequest = [3, n0, _ILUR, 0, [_rI, _rN], [0, 0]];
836
+ var InitiateLayerUploadResponse = [3, n0, _ILURn, 0, [_uI, _pS], [0, 1]];
837
+ var InvalidLayerException = [
838
+ -3,
839
+ n0,
840
+ _ILE,
841
+ {
842
+ [_e]: _c,
843
+ },
844
+ [_m],
845
+ [0],
846
+ ];
847
+ schema.TypeRegistry.for(n0).registerError(InvalidLayerException, InvalidLayerException$1);
848
+ var InvalidLayerPartException = [
849
+ -3,
850
+ n0,
851
+ _ILPE,
852
+ {
853
+ [_e]: _c,
854
+ },
855
+ [_rI, _rN, _uI, _lVBR, _m],
856
+ [0, 0, 0, 1, 0],
857
+ ];
858
+ schema.TypeRegistry.for(n0).registerError(InvalidLayerPartException, InvalidLayerPartException$1);
859
+ var InvalidParameterException = [
860
+ -3,
861
+ n0,
862
+ _IPE,
863
+ {
864
+ [_e]: _c,
865
+ },
866
+ [_m],
867
+ [0],
868
+ ];
869
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
870
+ var InvalidTagParameterException = [
871
+ -3,
872
+ n0,
873
+ _ITPE,
874
+ {
875
+ [_e]: _c,
876
+ },
877
+ [_m],
878
+ [0],
879
+ ];
880
+ schema.TypeRegistry.for(n0).registerError(InvalidTagParameterException, InvalidTagParameterException$1);
881
+ var Layer = [3, n0, _L, 0, [_lDa, _lA, _lS, _mT], [0, 0, 1, 0]];
882
+ var LayerAlreadyExistsException = [
883
+ -3,
884
+ n0,
885
+ _LAEE,
886
+ {
887
+ [_e]: _c,
888
+ },
889
+ [_m],
890
+ [0],
891
+ ];
892
+ schema.TypeRegistry.for(n0).registerError(LayerAlreadyExistsException, LayerAlreadyExistsException$1);
893
+ var LayerFailure = [3, n0, _LF, 0, [_lDa, _fC, _fR], [0, 0, 0]];
894
+ var LayerPartTooSmallException = [
895
+ -3,
896
+ n0,
897
+ _LPTSE,
898
+ {
899
+ [_e]: _c,
900
+ },
901
+ [_m],
902
+ [0],
903
+ ];
904
+ schema.TypeRegistry.for(n0).registerError(LayerPartTooSmallException, LayerPartTooSmallException$1);
905
+ var LayersNotFoundException = [
906
+ -3,
907
+ n0,
908
+ _LNFE,
909
+ {
910
+ [_e]: _c,
911
+ },
912
+ [_m],
913
+ [0],
914
+ ];
915
+ schema.TypeRegistry.for(n0).registerError(LayersNotFoundException, LayersNotFoundException$1);
916
+ var LimitExceededException = [
917
+ -3,
918
+ n0,
919
+ _LEE,
920
+ {
921
+ [_e]: _c,
922
+ },
923
+ [_m],
924
+ [0],
925
+ ];
926
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
927
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
928
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [() => TagList]];
929
+ var PutImageRequest = [
930
+ 3,
931
+ n0,
932
+ _PIR,
933
+ 0,
934
+ [_rI, _rN, _iM, _iMMT, _iTm, _iDm],
935
+ [0, 0, 0, 0, 0, 0],
936
+ ];
937
+ var PutImageResponse = [3, n0, _PIRu, 0, [_i], [() => Image]];
938
+ var PutRegistryCatalogDataRequest = [3, n0, _PRCDR, 0, [_dN], [0]];
939
+ var PutRegistryCatalogDataResponse = [
940
+ 3,
941
+ n0,
942
+ _PRCDRu,
943
+ 0,
944
+ [_rCD],
945
+ [() => RegistryCatalogData],
946
+ ];
947
+ var PutRepositoryCatalogDataRequest = [
948
+ 3,
949
+ n0,
950
+ _PRCDRut,
951
+ 0,
952
+ [_rI, _rN, _cD],
953
+ [0, 0, () => RepositoryCatalogDataInput],
954
+ ];
955
+ var PutRepositoryCatalogDataResponse = [
956
+ 3,
957
+ n0,
958
+ _PRCDRute,
959
+ 0,
960
+ [_cD],
961
+ [() => RepositoryCatalogData],
962
+ ];
963
+ var ReferencedImageDetail = [
964
+ 3,
965
+ n0,
966
+ _RID,
967
+ 0,
968
+ [_iDm, _iSIB, _iPA, _iMMT, _aMT],
969
+ [0, 1, 4, 0, 0],
970
+ ];
971
+ var ReferencedImagesNotFoundException = [
972
+ -3,
973
+ n0,
974
+ _RINFE,
975
+ {
976
+ [_e]: _c,
977
+ },
978
+ [_m],
979
+ [0],
980
+ ];
981
+ schema.TypeRegistry.for(n0).registerError(ReferencedImagesNotFoundException, ReferencedImagesNotFoundException$1);
982
+ var Registry = [
983
+ 3,
984
+ n0,
985
+ _R,
986
+ 0,
987
+ [_rI, _rAe, _rU, _v, _a],
988
+ [0, 0, 0, 2, () => RegistryAliasList],
989
+ ];
990
+ var RegistryAlias = [3, n0, _RA, 0, [_n, _s, _pRA, _dRA], [0, 0, 2, 2]];
991
+ var RegistryCatalogData = [3, n0, _RCD, 0, [_dN], [0]];
992
+ var RegistryNotFoundException = [
993
+ -3,
994
+ n0,
995
+ _RNFE,
996
+ {
997
+ [_e]: _c,
998
+ },
999
+ [_m],
1000
+ [0],
1001
+ ];
1002
+ schema.TypeRegistry.for(n0).registerError(RegistryNotFoundException, RegistryNotFoundException$1);
1003
+ var Repository = [3, n0, _Re, 0, [_rAep, _rI, _rN, _rUe, _cA], [0, 0, 0, 0, 4]];
1004
+ var RepositoryAlreadyExistsException = [
1005
+ -3,
1006
+ n0,
1007
+ _RAEE,
1008
+ {
1009
+ [_e]: _c,
1010
+ },
1011
+ [_m],
1012
+ [0],
1013
+ ];
1014
+ schema.TypeRegistry.for(n0).registerError(RepositoryAlreadyExistsException, RepositoryAlreadyExistsException$1);
1015
+ var RepositoryCatalogData = [
1016
+ 3,
1017
+ n0,
1018
+ _RCDe,
1019
+ 0,
1020
+ [_d, _ar, _oS, _lU, _aTb, _uT, _mC],
1021
+ [0, 64 | 0, 64 | 0, 0, 0, 0, 2],
1022
+ ];
1023
+ var RepositoryCatalogDataInput = [
1024
+ 3,
1025
+ n0,
1026
+ _RCDI,
1027
+ 0,
1028
+ [_d, _ar, _oS, _lIB, _aTb, _uT],
1029
+ [0, 64 | 0, 64 | 0, 21, 0, 0],
1030
+ ];
1031
+ var RepositoryCatalogDataNotFoundException = [
1032
+ -3,
1033
+ n0,
1034
+ _RCDNFE,
1035
+ {
1036
+ [_e]: _c,
1037
+ },
1038
+ [_m],
1039
+ [0],
1040
+ ];
1041
+ schema.TypeRegistry.for(n0).registerError(RepositoryCatalogDataNotFoundException, RepositoryCatalogDataNotFoundException$1);
1042
+ var RepositoryNotEmptyException = [
1043
+ -3,
1044
+ n0,
1045
+ _RNEE,
1046
+ {
1047
+ [_e]: _c,
1048
+ },
1049
+ [_m],
1050
+ [0],
1051
+ ];
1052
+ schema.TypeRegistry.for(n0).registerError(RepositoryNotEmptyException, RepositoryNotEmptyException$1);
1053
+ var RepositoryNotFoundException = [
1054
+ -3,
1055
+ n0,
1056
+ _RNFEe,
1057
+ {
1058
+ [_e]: _c,
1059
+ },
1060
+ [_m],
1061
+ [0],
1062
+ ];
1063
+ schema.TypeRegistry.for(n0).registerError(RepositoryNotFoundException, RepositoryNotFoundException$1);
1064
+ var RepositoryPolicyNotFoundException = [
1065
+ -3,
1066
+ n0,
1067
+ _RPNFE,
1068
+ {
1069
+ [_e]: _c,
1070
+ },
1071
+ [_m],
1072
+ [0],
1073
+ ];
1074
+ schema.TypeRegistry.for(n0).registerError(RepositoryPolicyNotFoundException, RepositoryPolicyNotFoundException$1);
1075
+ var ServerException = [
1076
+ -3,
1077
+ n0,
1078
+ _SE,
1079
+ {
1080
+ [_e]: _se,
1081
+ },
1082
+ [_m],
1083
+ [0],
1084
+ ];
1085
+ schema.TypeRegistry.for(n0).registerError(ServerException, ServerException$1);
1086
+ var SetRepositoryPolicyRequest = [3, n0, _SRPR, 0, [_rI, _rN, _pT, _fo], [0, 0, 0, 2]];
1087
+ var SetRepositoryPolicyResponse = [3, n0, _SRPRe, 0, [_rI, _rN, _pT], [0, 0, 0]];
1088
+ var Tag = [3, n0, _T, 0, [_K, _V], [0, 0]];
1089
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, () => TagList]];
1090
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1091
+ var TooManyTagsException = [
1092
+ -3,
1093
+ n0,
1094
+ _TMTE,
1095
+ {
1096
+ [_e]: _c,
1097
+ },
1098
+ [_m],
1099
+ [0],
1100
+ ];
1101
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1102
+ var UnsupportedCommandException = [
1103
+ -3,
1104
+ n0,
1105
+ _UCE,
1106
+ {
1107
+ [_e]: _c,
1108
+ },
1109
+ [_m],
1110
+ [0],
1111
+ ];
1112
+ schema.TypeRegistry.for(n0).registerError(UnsupportedCommandException, UnsupportedCommandException$1);
1113
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
1114
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1115
+ var UploadLayerPartRequest = [
1116
+ 3,
1117
+ n0,
1118
+ _ULPR,
1119
+ 0,
1120
+ [_rI, _rN, _uI, _pFB, _pLB, _lPB],
1121
+ [0, 0, 0, 1, 1, 21],
1122
+ ];
1123
+ var UploadLayerPartResponse = [3, n0, _ULPRp, 0, [_rI, _rN, _uI, _lBR], [0, 0, 0, 1]];
1124
+ var UploadNotFoundException = [
1125
+ -3,
1126
+ n0,
1127
+ _UNFE,
1128
+ {
1129
+ [_e]: _c,
1130
+ },
1131
+ [_m],
1132
+ [0],
1133
+ ];
1134
+ schema.TypeRegistry.for(n0).registerError(UploadNotFoundException, UploadNotFoundException$1);
1135
+ var ECRPUBLICServiceException = [-3, _sm, "ECRPUBLICServiceException", 0, [], []];
1136
+ schema.TypeRegistry.for(_sm).registerError(ECRPUBLICServiceException, ECRPUBLICServiceException$1);
1137
+ var ImageDetailList = [1, n0, _IDL, 0, () => ImageDetail];
1138
+ var ImageFailureList = [1, n0, _IFL, 0, () => ImageFailure];
1139
+ var ImageIdentifierList = [1, n0, _IIL, 0, () => ImageIdentifier];
1140
+ var ImageTagDetailList = [1, n0, _ITDL, 0, () => ImageTagDetail];
1141
+ var LayerFailureList = [1, n0, _LFL, 0, () => LayerFailure];
1142
+ var LayerList = [1, n0, _LL, 0, () => Layer];
1143
+ var RegistryAliasList = [1, n0, _RAL, 0, () => RegistryAlias];
1144
+ var RegistryList = [1, n0, _RL, 0, () => Registry];
1145
+ var RepositoryList = [1, n0, _RLe, 0, () => Repository];
1146
+ var TagList = [1, n0, _TL, 0, () => Tag];
1147
+ var BatchCheckLayerAvailability = [
1148
+ 9,
1149
+ n0,
1150
+ _BCLA,
1151
+ 0,
1152
+ () => BatchCheckLayerAvailabilityRequest,
1153
+ () => BatchCheckLayerAvailabilityResponse,
1154
+ ];
1155
+ var BatchDeleteImage = [
1156
+ 9,
1157
+ n0,
1158
+ _BDI,
1159
+ 0,
1160
+ () => BatchDeleteImageRequest,
1161
+ () => BatchDeleteImageResponse,
1162
+ ];
1163
+ var CompleteLayerUpload = [
1164
+ 9,
1165
+ n0,
1166
+ _CLU,
1167
+ 0,
1168
+ () => CompleteLayerUploadRequest,
1169
+ () => CompleteLayerUploadResponse,
1170
+ ];
1171
+ var CreateRepository = [
1172
+ 9,
1173
+ n0,
1174
+ _CR,
1175
+ 0,
1176
+ () => CreateRepositoryRequest,
1177
+ () => CreateRepositoryResponse,
1178
+ ];
1179
+ var DeleteRepository = [
1180
+ 9,
1181
+ n0,
1182
+ _DR,
1183
+ 0,
1184
+ () => DeleteRepositoryRequest,
1185
+ () => DeleteRepositoryResponse,
1186
+ ];
1187
+ var DeleteRepositoryPolicy = [
1188
+ 9,
1189
+ n0,
1190
+ _DRP,
1191
+ 0,
1192
+ () => DeleteRepositoryPolicyRequest,
1193
+ () => DeleteRepositoryPolicyResponse,
1194
+ ];
1195
+ var DescribeImages = [
1196
+ 9,
1197
+ n0,
1198
+ _DI,
1199
+ 0,
1200
+ () => DescribeImagesRequest,
1201
+ () => DescribeImagesResponse,
1202
+ ];
1203
+ var DescribeImageTags = [
1204
+ 9,
1205
+ n0,
1206
+ _DIT,
1207
+ 0,
1208
+ () => DescribeImageTagsRequest,
1209
+ () => DescribeImageTagsResponse,
1210
+ ];
1211
+ var DescribeRegistries = [
1212
+ 9,
1213
+ n0,
1214
+ _DRe,
1215
+ 0,
1216
+ () => DescribeRegistriesRequest,
1217
+ () => DescribeRegistriesResponse,
1218
+ ];
1219
+ var DescribeRepositories = [
1220
+ 9,
1221
+ n0,
1222
+ _DRes,
1223
+ 0,
1224
+ () => DescribeRepositoriesRequest,
1225
+ () => DescribeRepositoriesResponse,
1226
+ ];
1227
+ var GetAuthorizationToken = [
1228
+ 9,
1229
+ n0,
1230
+ _GAT,
1231
+ 0,
1232
+ () => GetAuthorizationTokenRequest,
1233
+ () => GetAuthorizationTokenResponse,
1234
+ ];
1235
+ var GetRegistryCatalogData = [
1236
+ 9,
1237
+ n0,
1238
+ _GRCD,
1239
+ 0,
1240
+ () => GetRegistryCatalogDataRequest,
1241
+ () => GetRegistryCatalogDataResponse,
1242
+ ];
1243
+ var GetRepositoryCatalogData = [
1244
+ 9,
1245
+ n0,
1246
+ _GRCDe,
1247
+ 0,
1248
+ () => GetRepositoryCatalogDataRequest,
1249
+ () => GetRepositoryCatalogDataResponse,
1250
+ ];
1251
+ var GetRepositoryPolicy = [
1252
+ 9,
1253
+ n0,
1254
+ _GRP,
1255
+ 0,
1256
+ () => GetRepositoryPolicyRequest,
1257
+ () => GetRepositoryPolicyResponse,
1258
+ ];
1259
+ var InitiateLayerUpload = [
1260
+ 9,
1261
+ n0,
1262
+ _ILU,
1263
+ 0,
1264
+ () => InitiateLayerUploadRequest,
1265
+ () => InitiateLayerUploadResponse,
1266
+ ];
1267
+ var ListTagsForResource = [
1268
+ 9,
1269
+ n0,
1270
+ _LTFR,
1271
+ 0,
1272
+ () => ListTagsForResourceRequest,
1273
+ () => ListTagsForResourceResponse,
1274
+ ];
1275
+ var PutImage = [9, n0, _PI, 0, () => PutImageRequest, () => PutImageResponse];
1276
+ var PutRegistryCatalogData = [
1277
+ 9,
1278
+ n0,
1279
+ _PRCD,
1280
+ 0,
1281
+ () => PutRegistryCatalogDataRequest,
1282
+ () => PutRegistryCatalogDataResponse,
1283
+ ];
1284
+ var PutRepositoryCatalogData = [
1285
+ 9,
1286
+ n0,
1287
+ _PRCDu,
1288
+ 0,
1289
+ () => PutRepositoryCatalogDataRequest,
1290
+ () => PutRepositoryCatalogDataResponse,
1291
+ ];
1292
+ var SetRepositoryPolicy = [
1293
+ 9,
1294
+ n0,
1295
+ _SRP,
1296
+ 0,
1297
+ () => SetRepositoryPolicyRequest,
1298
+ () => SetRepositoryPolicyResponse,
1299
+ ];
1300
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1301
+ var UntagResource = [
1302
+ 9,
1303
+ n0,
1304
+ _UR,
1305
+ 0,
1306
+ () => UntagResourceRequest,
1307
+ () => UntagResourceResponse,
1308
+ ];
1309
+ var UploadLayerPart = [
1310
+ 9,
1311
+ n0,
1312
+ _ULP,
1313
+ 0,
1314
+ () => UploadLayerPartRequest,
1315
+ () => UploadLayerPartResponse,
1316
+ ];
1343
1317
 
1344
1318
  class BatchCheckLayerAvailabilityCommand extends smithyClient.Command
1345
1319
  .classBuilder()
1346
1320
  .ep(commonParams)
1347
1321
  .m(function (Command, cs, config, o) {
1348
- return [
1349
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1350
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1351
- ];
1322
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
1323
  })
1353
1324
  .s("SpencerFrontendService", "BatchCheckLayerAvailability", {})
1354
1325
  .n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand")
1355
- .f(void 0, void 0)
1356
- .ser(se_BatchCheckLayerAvailabilityCommand)
1357
- .de(de_BatchCheckLayerAvailabilityCommand)
1326
+ .sc(BatchCheckLayerAvailability)
1358
1327
  .build() {
1359
1328
  }
1360
1329
 
@@ -1362,16 +1331,11 @@ class BatchDeleteImageCommand extends smithyClient.Command
1362
1331
  .classBuilder()
1363
1332
  .ep(commonParams)
1364
1333
  .m(function (Command, cs, config, o) {
1365
- return [
1366
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1367
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1368
- ];
1334
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1369
1335
  })
1370
1336
  .s("SpencerFrontendService", "BatchDeleteImage", {})
1371
1337
  .n("ECRPUBLICClient", "BatchDeleteImageCommand")
1372
- .f(void 0, void 0)
1373
- .ser(se_BatchDeleteImageCommand)
1374
- .de(de_BatchDeleteImageCommand)
1338
+ .sc(BatchDeleteImage)
1375
1339
  .build() {
1376
1340
  }
1377
1341
 
@@ -1379,16 +1343,11 @@ class CompleteLayerUploadCommand extends smithyClient.Command
1379
1343
  .classBuilder()
1380
1344
  .ep(commonParams)
1381
1345
  .m(function (Command, cs, config, o) {
1382
- return [
1383
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1384
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1385
- ];
1346
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1386
1347
  })
1387
1348
  .s("SpencerFrontendService", "CompleteLayerUpload", {})
1388
1349
  .n("ECRPUBLICClient", "CompleteLayerUploadCommand")
1389
- .f(void 0, void 0)
1390
- .ser(se_CompleteLayerUploadCommand)
1391
- .de(de_CompleteLayerUploadCommand)
1350
+ .sc(CompleteLayerUpload)
1392
1351
  .build() {
1393
1352
  }
1394
1353
 
@@ -1396,16 +1355,11 @@ class CreateRepositoryCommand extends smithyClient.Command
1396
1355
  .classBuilder()
1397
1356
  .ep(commonParams)
1398
1357
  .m(function (Command, cs, config, o) {
1399
- return [
1400
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1401
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1402
- ];
1358
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
1359
  })
1404
1360
  .s("SpencerFrontendService", "CreateRepository", {})
1405
1361
  .n("ECRPUBLICClient", "CreateRepositoryCommand")
1406
- .f(void 0, void 0)
1407
- .ser(se_CreateRepositoryCommand)
1408
- .de(de_CreateRepositoryCommand)
1362
+ .sc(CreateRepository)
1409
1363
  .build() {
1410
1364
  }
1411
1365
 
@@ -1413,16 +1367,11 @@ class DeleteRepositoryCommand extends smithyClient.Command
1413
1367
  .classBuilder()
1414
1368
  .ep(commonParams)
1415
1369
  .m(function (Command, cs, config, o) {
1416
- return [
1417
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1418
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1419
- ];
1370
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1420
1371
  })
1421
1372
  .s("SpencerFrontendService", "DeleteRepository", {})
1422
1373
  .n("ECRPUBLICClient", "DeleteRepositoryCommand")
1423
- .f(void 0, void 0)
1424
- .ser(se_DeleteRepositoryCommand)
1425
- .de(de_DeleteRepositoryCommand)
1374
+ .sc(DeleteRepository)
1426
1375
  .build() {
1427
1376
  }
1428
1377
 
@@ -1430,16 +1379,11 @@ class DeleteRepositoryPolicyCommand extends smithyClient.Command
1430
1379
  .classBuilder()
1431
1380
  .ep(commonParams)
1432
1381
  .m(function (Command, cs, config, o) {
1433
- return [
1434
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1435
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1436
- ];
1382
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
1383
  })
1438
1384
  .s("SpencerFrontendService", "DeleteRepositoryPolicy", {})
1439
1385
  .n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand")
1440
- .f(void 0, void 0)
1441
- .ser(se_DeleteRepositoryPolicyCommand)
1442
- .de(de_DeleteRepositoryPolicyCommand)
1386
+ .sc(DeleteRepositoryPolicy)
1443
1387
  .build() {
1444
1388
  }
1445
1389
 
@@ -1447,16 +1391,11 @@ class DescribeImagesCommand extends smithyClient.Command
1447
1391
  .classBuilder()
1448
1392
  .ep(commonParams)
1449
1393
  .m(function (Command, cs, config, o) {
1450
- return [
1451
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1452
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1453
- ];
1394
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
1395
  })
1455
1396
  .s("SpencerFrontendService", "DescribeImages", {})
1456
1397
  .n("ECRPUBLICClient", "DescribeImagesCommand")
1457
- .f(void 0, void 0)
1458
- .ser(se_DescribeImagesCommand)
1459
- .de(de_DescribeImagesCommand)
1398
+ .sc(DescribeImages)
1460
1399
  .build() {
1461
1400
  }
1462
1401
 
@@ -1464,16 +1403,11 @@ class DescribeImageTagsCommand extends smithyClient.Command
1464
1403
  .classBuilder()
1465
1404
  .ep(commonParams)
1466
1405
  .m(function (Command, cs, config, o) {
1467
- return [
1468
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1469
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1470
- ];
1406
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1471
1407
  })
1472
1408
  .s("SpencerFrontendService", "DescribeImageTags", {})
1473
1409
  .n("ECRPUBLICClient", "DescribeImageTagsCommand")
1474
- .f(void 0, void 0)
1475
- .ser(se_DescribeImageTagsCommand)
1476
- .de(de_DescribeImageTagsCommand)
1410
+ .sc(DescribeImageTags)
1477
1411
  .build() {
1478
1412
  }
1479
1413
 
@@ -1481,16 +1415,11 @@ class DescribeRegistriesCommand extends smithyClient.Command
1481
1415
  .classBuilder()
1482
1416
  .ep(commonParams)
1483
1417
  .m(function (Command, cs, config, o) {
1484
- return [
1485
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1486
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1487
- ];
1418
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1488
1419
  })
1489
1420
  .s("SpencerFrontendService", "DescribeRegistries", {})
1490
1421
  .n("ECRPUBLICClient", "DescribeRegistriesCommand")
1491
- .f(void 0, void 0)
1492
- .ser(se_DescribeRegistriesCommand)
1493
- .de(de_DescribeRegistriesCommand)
1422
+ .sc(DescribeRegistries)
1494
1423
  .build() {
1495
1424
  }
1496
1425
 
@@ -1498,16 +1427,11 @@ class DescribeRepositoriesCommand extends smithyClient.Command
1498
1427
  .classBuilder()
1499
1428
  .ep(commonParams)
1500
1429
  .m(function (Command, cs, config, o) {
1501
- return [
1502
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1503
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1504
- ];
1430
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1505
1431
  })
1506
1432
  .s("SpencerFrontendService", "DescribeRepositories", {})
1507
1433
  .n("ECRPUBLICClient", "DescribeRepositoriesCommand")
1508
- .f(void 0, void 0)
1509
- .ser(se_DescribeRepositoriesCommand)
1510
- .de(de_DescribeRepositoriesCommand)
1434
+ .sc(DescribeRepositories)
1511
1435
  .build() {
1512
1436
  }
1513
1437
 
@@ -1515,16 +1439,11 @@ class GetAuthorizationTokenCommand extends smithyClient.Command
1515
1439
  .classBuilder()
1516
1440
  .ep(commonParams)
1517
1441
  .m(function (Command, cs, config, o) {
1518
- return [
1519
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1520
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1521
- ];
1442
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
1443
  })
1523
1444
  .s("SpencerFrontendService", "GetAuthorizationToken", {})
1524
1445
  .n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
1525
- .f(void 0, void 0)
1526
- .ser(se_GetAuthorizationTokenCommand)
1527
- .de(de_GetAuthorizationTokenCommand)
1446
+ .sc(GetAuthorizationToken)
1528
1447
  .build() {
1529
1448
  }
1530
1449
 
@@ -1532,16 +1451,11 @@ class GetRegistryCatalogDataCommand extends smithyClient.Command
1532
1451
  .classBuilder()
1533
1452
  .ep(commonParams)
1534
1453
  .m(function (Command, cs, config, o) {
1535
- return [
1536
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1537
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1538
- ];
1454
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1539
1455
  })
1540
1456
  .s("SpencerFrontendService", "GetRegistryCatalogData", {})
1541
1457
  .n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
1542
- .f(void 0, void 0)
1543
- .ser(se_GetRegistryCatalogDataCommand)
1544
- .de(de_GetRegistryCatalogDataCommand)
1458
+ .sc(GetRegistryCatalogData)
1545
1459
  .build() {
1546
1460
  }
1547
1461
 
@@ -1549,16 +1463,11 @@ class GetRepositoryCatalogDataCommand extends smithyClient.Command
1549
1463
  .classBuilder()
1550
1464
  .ep(commonParams)
1551
1465
  .m(function (Command, cs, config, o) {
1552
- return [
1553
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1554
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1555
- ];
1466
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1556
1467
  })
1557
1468
  .s("SpencerFrontendService", "GetRepositoryCatalogData", {})
1558
1469
  .n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
1559
- .f(void 0, void 0)
1560
- .ser(se_GetRepositoryCatalogDataCommand)
1561
- .de(de_GetRepositoryCatalogDataCommand)
1470
+ .sc(GetRepositoryCatalogData)
1562
1471
  .build() {
1563
1472
  }
1564
1473
 
@@ -1566,16 +1475,11 @@ class GetRepositoryPolicyCommand extends smithyClient.Command
1566
1475
  .classBuilder()
1567
1476
  .ep(commonParams)
1568
1477
  .m(function (Command, cs, config, o) {
1569
- return [
1570
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1571
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1572
- ];
1478
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1573
1479
  })
1574
1480
  .s("SpencerFrontendService", "GetRepositoryPolicy", {})
1575
1481
  .n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
1576
- .f(void 0, void 0)
1577
- .ser(se_GetRepositoryPolicyCommand)
1578
- .de(de_GetRepositoryPolicyCommand)
1482
+ .sc(GetRepositoryPolicy)
1579
1483
  .build() {
1580
1484
  }
1581
1485
 
@@ -1583,16 +1487,11 @@ class InitiateLayerUploadCommand extends smithyClient.Command
1583
1487
  .classBuilder()
1584
1488
  .ep(commonParams)
1585
1489
  .m(function (Command, cs, config, o) {
1586
- return [
1587
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1588
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1589
- ];
1490
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1590
1491
  })
1591
1492
  .s("SpencerFrontendService", "InitiateLayerUpload", {})
1592
1493
  .n("ECRPUBLICClient", "InitiateLayerUploadCommand")
1593
- .f(void 0, void 0)
1594
- .ser(se_InitiateLayerUploadCommand)
1595
- .de(de_InitiateLayerUploadCommand)
1494
+ .sc(InitiateLayerUpload)
1596
1495
  .build() {
1597
1496
  }
1598
1497
 
@@ -1600,16 +1499,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1600
1499
  .classBuilder()
1601
1500
  .ep(commonParams)
1602
1501
  .m(function (Command, cs, config, o) {
1603
- return [
1604
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1605
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1606
- ];
1502
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1607
1503
  })
1608
1504
  .s("SpencerFrontendService", "ListTagsForResource", {})
1609
1505
  .n("ECRPUBLICClient", "ListTagsForResourceCommand")
1610
- .f(void 0, void 0)
1611
- .ser(se_ListTagsForResourceCommand)
1612
- .de(de_ListTagsForResourceCommand)
1506
+ .sc(ListTagsForResource)
1613
1507
  .build() {
1614
1508
  }
1615
1509
 
@@ -1617,16 +1511,11 @@ class PutImageCommand extends smithyClient.Command
1617
1511
  .classBuilder()
1618
1512
  .ep(commonParams)
1619
1513
  .m(function (Command, cs, config, o) {
1620
- return [
1621
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1622
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1623
- ];
1514
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1624
1515
  })
1625
1516
  .s("SpencerFrontendService", "PutImage", {})
1626
1517
  .n("ECRPUBLICClient", "PutImageCommand")
1627
- .f(void 0, void 0)
1628
- .ser(se_PutImageCommand)
1629
- .de(de_PutImageCommand)
1518
+ .sc(PutImage)
1630
1519
  .build() {
1631
1520
  }
1632
1521
 
@@ -1634,16 +1523,11 @@ class PutRegistryCatalogDataCommand extends smithyClient.Command
1634
1523
  .classBuilder()
1635
1524
  .ep(commonParams)
1636
1525
  .m(function (Command, cs, config, o) {
1637
- return [
1638
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1639
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1640
- ];
1526
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
1527
  })
1642
1528
  .s("SpencerFrontendService", "PutRegistryCatalogData", {})
1643
1529
  .n("ECRPUBLICClient", "PutRegistryCatalogDataCommand")
1644
- .f(void 0, void 0)
1645
- .ser(se_PutRegistryCatalogDataCommand)
1646
- .de(de_PutRegistryCatalogDataCommand)
1530
+ .sc(PutRegistryCatalogData)
1647
1531
  .build() {
1648
1532
  }
1649
1533
 
@@ -1651,16 +1535,11 @@ class PutRepositoryCatalogDataCommand extends smithyClient.Command
1651
1535
  .classBuilder()
1652
1536
  .ep(commonParams)
1653
1537
  .m(function (Command, cs, config, o) {
1654
- return [
1655
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1656
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1657
- ];
1538
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1658
1539
  })
1659
1540
  .s("SpencerFrontendService", "PutRepositoryCatalogData", {})
1660
1541
  .n("ECRPUBLICClient", "PutRepositoryCatalogDataCommand")
1661
- .f(void 0, void 0)
1662
- .ser(se_PutRepositoryCatalogDataCommand)
1663
- .de(de_PutRepositoryCatalogDataCommand)
1542
+ .sc(PutRepositoryCatalogData)
1664
1543
  .build() {
1665
1544
  }
1666
1545
 
@@ -1668,16 +1547,11 @@ class SetRepositoryPolicyCommand extends smithyClient.Command
1668
1547
  .classBuilder()
1669
1548
  .ep(commonParams)
1670
1549
  .m(function (Command, cs, config, o) {
1671
- return [
1672
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1673
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1674
- ];
1550
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1675
1551
  })
1676
1552
  .s("SpencerFrontendService", "SetRepositoryPolicy", {})
1677
1553
  .n("ECRPUBLICClient", "SetRepositoryPolicyCommand")
1678
- .f(void 0, void 0)
1679
- .ser(se_SetRepositoryPolicyCommand)
1680
- .de(de_SetRepositoryPolicyCommand)
1554
+ .sc(SetRepositoryPolicy)
1681
1555
  .build() {
1682
1556
  }
1683
1557
 
@@ -1685,16 +1559,11 @@ class TagResourceCommand extends smithyClient.Command
1685
1559
  .classBuilder()
1686
1560
  .ep(commonParams)
1687
1561
  .m(function (Command, cs, config, o) {
1688
- return [
1689
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1690
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1691
- ];
1562
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
1563
  })
1693
1564
  .s("SpencerFrontendService", "TagResource", {})
1694
1565
  .n("ECRPUBLICClient", "TagResourceCommand")
1695
- .f(void 0, void 0)
1696
- .ser(se_TagResourceCommand)
1697
- .de(de_TagResourceCommand)
1566
+ .sc(TagResource)
1698
1567
  .build() {
1699
1568
  }
1700
1569
 
@@ -1702,16 +1571,11 @@ class UntagResourceCommand extends smithyClient.Command
1702
1571
  .classBuilder()
1703
1572
  .ep(commonParams)
1704
1573
  .m(function (Command, cs, config, o) {
1705
- return [
1706
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1707
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1708
- ];
1574
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1709
1575
  })
1710
1576
  .s("SpencerFrontendService", "UntagResource", {})
1711
1577
  .n("ECRPUBLICClient", "UntagResourceCommand")
1712
- .f(void 0, void 0)
1713
- .ser(se_UntagResourceCommand)
1714
- .de(de_UntagResourceCommand)
1578
+ .sc(UntagResource)
1715
1579
  .build() {
1716
1580
  }
1717
1581
 
@@ -1719,16 +1583,11 @@ class UploadLayerPartCommand extends smithyClient.Command
1719
1583
  .classBuilder()
1720
1584
  .ep(commonParams)
1721
1585
  .m(function (Command, cs, config, o) {
1722
- return [
1723
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1724
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1725
- ];
1586
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
1587
  })
1727
1588
  .s("SpencerFrontendService", "UploadLayerPart", {})
1728
1589
  .n("ECRPUBLICClient", "UploadLayerPartCommand")
1729
- .f(void 0, void 0)
1730
- .ser(se_UploadLayerPartCommand)
1731
- .de(de_UploadLayerPartCommand)
1590
+ .sc(UploadLayerPart)
1732
1591
  .build() {
1733
1592
  }
1734
1593
 
@@ -1789,48 +1648,48 @@ exports.DescribeRegistriesCommand = DescribeRegistriesCommand;
1789
1648
  exports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;
1790
1649
  exports.ECRPUBLIC = ECRPUBLIC;
1791
1650
  exports.ECRPUBLICClient = ECRPUBLICClient;
1792
- exports.ECRPUBLICServiceException = ECRPUBLICServiceException;
1793
- exports.EmptyUploadException = EmptyUploadException;
1651
+ exports.ECRPUBLICServiceException = ECRPUBLICServiceException$1;
1652
+ exports.EmptyUploadException = EmptyUploadException$1;
1794
1653
  exports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;
1795
1654
  exports.GetRegistryCatalogDataCommand = GetRegistryCatalogDataCommand;
1796
1655
  exports.GetRepositoryCatalogDataCommand = GetRepositoryCatalogDataCommand;
1797
1656
  exports.GetRepositoryPolicyCommand = GetRepositoryPolicyCommand;
1798
- exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
1799
- exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
1657
+ exports.ImageAlreadyExistsException = ImageAlreadyExistsException$1;
1658
+ exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException$1;
1800
1659
  exports.ImageFailureCode = ImageFailureCode;
1801
- exports.ImageNotFoundException = ImageNotFoundException;
1802
- exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
1660
+ exports.ImageNotFoundException = ImageNotFoundException$1;
1661
+ exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException$1;
1803
1662
  exports.InitiateLayerUploadCommand = InitiateLayerUploadCommand;
1804
- exports.InvalidLayerException = InvalidLayerException;
1805
- exports.InvalidLayerPartException = InvalidLayerPartException;
1806
- exports.InvalidParameterException = InvalidParameterException;
1807
- exports.InvalidTagParameterException = InvalidTagParameterException;
1808
- exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
1663
+ exports.InvalidLayerException = InvalidLayerException$1;
1664
+ exports.InvalidLayerPartException = InvalidLayerPartException$1;
1665
+ exports.InvalidParameterException = InvalidParameterException$1;
1666
+ exports.InvalidTagParameterException = InvalidTagParameterException$1;
1667
+ exports.LayerAlreadyExistsException = LayerAlreadyExistsException$1;
1809
1668
  exports.LayerAvailability = LayerAvailability;
1810
1669
  exports.LayerFailureCode = LayerFailureCode;
1811
- exports.LayerPartTooSmallException = LayerPartTooSmallException;
1812
- exports.LayersNotFoundException = LayersNotFoundException;
1813
- exports.LimitExceededException = LimitExceededException;
1670
+ exports.LayerPartTooSmallException = LayerPartTooSmallException$1;
1671
+ exports.LayersNotFoundException = LayersNotFoundException$1;
1672
+ exports.LimitExceededException = LimitExceededException$1;
1814
1673
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1815
1674
  exports.PutImageCommand = PutImageCommand;
1816
1675
  exports.PutRegistryCatalogDataCommand = PutRegistryCatalogDataCommand;
1817
1676
  exports.PutRepositoryCatalogDataCommand = PutRepositoryCatalogDataCommand;
1818
- exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
1677
+ exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException$1;
1819
1678
  exports.RegistryAliasStatus = RegistryAliasStatus;
1820
- exports.RegistryNotFoundException = RegistryNotFoundException;
1821
- exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
1822
- exports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException;
1823
- exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
1824
- exports.RepositoryNotFoundException = RepositoryNotFoundException;
1825
- exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
1826
- exports.ServerException = ServerException;
1679
+ exports.RegistryNotFoundException = RegistryNotFoundException$1;
1680
+ exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException$1;
1681
+ exports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException$1;
1682
+ exports.RepositoryNotEmptyException = RepositoryNotEmptyException$1;
1683
+ exports.RepositoryNotFoundException = RepositoryNotFoundException$1;
1684
+ exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException$1;
1685
+ exports.ServerException = ServerException$1;
1827
1686
  exports.SetRepositoryPolicyCommand = SetRepositoryPolicyCommand;
1828
1687
  exports.TagResourceCommand = TagResourceCommand;
1829
- exports.TooManyTagsException = TooManyTagsException;
1830
- exports.UnsupportedCommandException = UnsupportedCommandException;
1688
+ exports.TooManyTagsException = TooManyTagsException$1;
1689
+ exports.UnsupportedCommandException = UnsupportedCommandException$1;
1831
1690
  exports.UntagResourceCommand = UntagResourceCommand;
1832
1691
  exports.UploadLayerPartCommand = UploadLayerPartCommand;
1833
- exports.UploadNotFoundException = UploadNotFoundException;
1692
+ exports.UploadNotFoundException = UploadNotFoundException$1;
1834
1693
  exports.paginateDescribeImageTags = paginateDescribeImageTags;
1835
1694
  exports.paginateDescribeImages = paginateDescribeImages;
1836
1695
  exports.paginateDescribeRegistries = paginateDescribeRegistries;