@aws-sdk/client-ecr-public 3.490.0 → 3.495.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 (41) hide show
  1. package/dist-cjs/ECRPUBLIC.js +1 -57
  2. package/dist-cjs/ECRPUBLICClient.js +1 -43
  3. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +1 -28
  4. package/dist-cjs/commands/BatchDeleteImageCommand.js +1 -28
  5. package/dist-cjs/commands/CompleteLayerUploadCommand.js +1 -28
  6. package/dist-cjs/commands/CreateRepositoryCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteRepositoryCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeImageTagsCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeImagesCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeRegistriesCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeRepositoriesCommand.js +1 -28
  13. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +1 -28
  14. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +1 -28
  15. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +1 -28
  16. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +1 -28
  17. package/dist-cjs/commands/InitiateLayerUploadCommand.js +1 -28
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  19. package/dist-cjs/commands/PutImageCommand.js +1 -28
  20. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +1 -28
  21. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +1 -28
  22. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +1 -28
  23. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  24. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  25. package/dist-cjs/commands/UploadLayerPartCommand.js +1 -28
  26. package/dist-cjs/commands/index.js +1 -26
  27. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  28. package/dist-cjs/extensionConfiguration.js +1 -2
  29. package/dist-cjs/index.js +2710 -11
  30. package/dist-cjs/models/ECRPUBLICServiceException.js +1 -12
  31. package/dist-cjs/models/index.js +1 -4
  32. package/dist-cjs/models/models_0.js +1 -342
  33. package/dist-cjs/pagination/DescribeImageTagsPaginator.js +1 -7
  34. package/dist-cjs/pagination/DescribeImagesPaginator.js +1 -7
  35. package/dist-cjs/pagination/DescribeRegistriesPaginator.js +1 -7
  36. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +1 -7
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/index.js +1 -8
  39. package/dist-cjs/protocols/Aws_json1_1.js +1 -1635
  40. package/dist-cjs/runtimeExtensions.js +1 -22
  41. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ECRPUBLICServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ECRPUBLICServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ECRPUBLICServiceException.prototype);
10
- }
11
- }
12
- exports.ECRPUBLICServiceException = ECRPUBLICServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,342 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReferencedImagesNotFoundException = exports.LayersNotFoundException = exports.InvalidLayerPartException = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.RepositoryCatalogDataNotFoundException = exports.RegistryAliasStatus = exports.ImageNotFoundException = exports.RepositoryPolicyNotFoundException = exports.RepositoryNotEmptyException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.LimitExceededException = exports.InvalidTagParameterException = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ImageFailureCode = exports.UnsupportedCommandException = exports.ServerException = exports.RepositoryNotFoundException = exports.RegistryNotFoundException = exports.InvalidParameterException = exports.LayerAvailability = exports.LayerFailureCode = void 0;
4
- const ECRPUBLICServiceException_1 = require("./ECRPUBLICServiceException");
5
- exports.LayerFailureCode = {
6
- InvalidLayerDigest: "InvalidLayerDigest",
7
- MissingLayerDigest: "MissingLayerDigest",
8
- };
9
- exports.LayerAvailability = {
10
- AVAILABLE: "AVAILABLE",
11
- UNAVAILABLE: "UNAVAILABLE",
12
- };
13
- class InvalidParameterException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
14
- constructor(opts) {
15
- super({
16
- name: "InvalidParameterException",
17
- $fault: "client",
18
- ...opts,
19
- });
20
- this.name = "InvalidParameterException";
21
- this.$fault = "client";
22
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
23
- }
24
- }
25
- exports.InvalidParameterException = InvalidParameterException;
26
- class RegistryNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
27
- constructor(opts) {
28
- super({
29
- name: "RegistryNotFoundException",
30
- $fault: "client",
31
- ...opts,
32
- });
33
- this.name = "RegistryNotFoundException";
34
- this.$fault = "client";
35
- Object.setPrototypeOf(this, RegistryNotFoundException.prototype);
36
- }
37
- }
38
- exports.RegistryNotFoundException = RegistryNotFoundException;
39
- class RepositoryNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
40
- constructor(opts) {
41
- super({
42
- name: "RepositoryNotFoundException",
43
- $fault: "client",
44
- ...opts,
45
- });
46
- this.name = "RepositoryNotFoundException";
47
- this.$fault = "client";
48
- Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
49
- }
50
- }
51
- exports.RepositoryNotFoundException = RepositoryNotFoundException;
52
- class ServerException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
53
- constructor(opts) {
54
- super({
55
- name: "ServerException",
56
- $fault: "server",
57
- ...opts,
58
- });
59
- this.name = "ServerException";
60
- this.$fault = "server";
61
- Object.setPrototypeOf(this, ServerException.prototype);
62
- }
63
- }
64
- exports.ServerException = ServerException;
65
- class UnsupportedCommandException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "UnsupportedCommandException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "UnsupportedCommandException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, UnsupportedCommandException.prototype);
75
- }
76
- }
77
- exports.UnsupportedCommandException = UnsupportedCommandException;
78
- exports.ImageFailureCode = {
79
- ImageNotFound: "ImageNotFound",
80
- ImageReferencedByManifestList: "ImageReferencedByManifestList",
81
- ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
82
- InvalidImageDigest: "InvalidImageDigest",
83
- InvalidImageTag: "InvalidImageTag",
84
- KmsError: "KmsError",
85
- MissingDigestAndTag: "MissingDigestAndTag",
86
- };
87
- class EmptyUploadException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
88
- constructor(opts) {
89
- super({
90
- name: "EmptyUploadException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- this.name = "EmptyUploadException";
95
- this.$fault = "client";
96
- Object.setPrototypeOf(this, EmptyUploadException.prototype);
97
- }
98
- }
99
- exports.EmptyUploadException = EmptyUploadException;
100
- class InvalidLayerException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
101
- constructor(opts) {
102
- super({
103
- name: "InvalidLayerException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- this.name = "InvalidLayerException";
108
- this.$fault = "client";
109
- Object.setPrototypeOf(this, InvalidLayerException.prototype);
110
- }
111
- }
112
- exports.InvalidLayerException = InvalidLayerException;
113
- class LayerAlreadyExistsException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
114
- constructor(opts) {
115
- super({
116
- name: "LayerAlreadyExistsException",
117
- $fault: "client",
118
- ...opts,
119
- });
120
- this.name = "LayerAlreadyExistsException";
121
- this.$fault = "client";
122
- Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
123
- }
124
- }
125
- exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
126
- class LayerPartTooSmallException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "LayerPartTooSmallException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "LayerPartTooSmallException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
136
- }
137
- }
138
- exports.LayerPartTooSmallException = LayerPartTooSmallException;
139
- class UploadNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
140
- constructor(opts) {
141
- super({
142
- name: "UploadNotFoundException",
143
- $fault: "client",
144
- ...opts,
145
- });
146
- this.name = "UploadNotFoundException";
147
- this.$fault = "client";
148
- Object.setPrototypeOf(this, UploadNotFoundException.prototype);
149
- }
150
- }
151
- exports.UploadNotFoundException = UploadNotFoundException;
152
- class InvalidTagParameterException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
153
- constructor(opts) {
154
- super({
155
- name: "InvalidTagParameterException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- this.name = "InvalidTagParameterException";
160
- this.$fault = "client";
161
- Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
162
- }
163
- }
164
- exports.InvalidTagParameterException = InvalidTagParameterException;
165
- class LimitExceededException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
166
- constructor(opts) {
167
- super({
168
- name: "LimitExceededException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- this.name = "LimitExceededException";
173
- this.$fault = "client";
174
- Object.setPrototypeOf(this, LimitExceededException.prototype);
175
- }
176
- }
177
- exports.LimitExceededException = LimitExceededException;
178
- class RepositoryAlreadyExistsException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
179
- constructor(opts) {
180
- super({
181
- name: "RepositoryAlreadyExistsException",
182
- $fault: "client",
183
- ...opts,
184
- });
185
- this.name = "RepositoryAlreadyExistsException";
186
- this.$fault = "client";
187
- Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
188
- }
189
- }
190
- exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
191
- class TooManyTagsException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
192
- constructor(opts) {
193
- super({
194
- name: "TooManyTagsException",
195
- $fault: "client",
196
- ...opts,
197
- });
198
- this.name = "TooManyTagsException";
199
- this.$fault = "client";
200
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
201
- }
202
- }
203
- exports.TooManyTagsException = TooManyTagsException;
204
- class RepositoryNotEmptyException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
205
- constructor(opts) {
206
- super({
207
- name: "RepositoryNotEmptyException",
208
- $fault: "client",
209
- ...opts,
210
- });
211
- this.name = "RepositoryNotEmptyException";
212
- this.$fault = "client";
213
- Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
214
- }
215
- }
216
- exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
217
- class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
218
- constructor(opts) {
219
- super({
220
- name: "RepositoryPolicyNotFoundException",
221
- $fault: "client",
222
- ...opts,
223
- });
224
- this.name = "RepositoryPolicyNotFoundException";
225
- this.$fault = "client";
226
- Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
227
- }
228
- }
229
- exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
230
- class ImageNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
231
- constructor(opts) {
232
- super({
233
- name: "ImageNotFoundException",
234
- $fault: "client",
235
- ...opts,
236
- });
237
- this.name = "ImageNotFoundException";
238
- this.$fault = "client";
239
- Object.setPrototypeOf(this, ImageNotFoundException.prototype);
240
- }
241
- }
242
- exports.ImageNotFoundException = ImageNotFoundException;
243
- exports.RegistryAliasStatus = {
244
- ACTIVE: "ACTIVE",
245
- PENDING: "PENDING",
246
- REJECTED: "REJECTED",
247
- };
248
- class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
249
- constructor(opts) {
250
- super({
251
- name: "RepositoryCatalogDataNotFoundException",
252
- $fault: "client",
253
- ...opts,
254
- });
255
- this.name = "RepositoryCatalogDataNotFoundException";
256
- this.$fault = "client";
257
- Object.setPrototypeOf(this, RepositoryCatalogDataNotFoundException.prototype);
258
- }
259
- }
260
- exports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException;
261
- class ImageAlreadyExistsException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
262
- constructor(opts) {
263
- super({
264
- name: "ImageAlreadyExistsException",
265
- $fault: "client",
266
- ...opts,
267
- });
268
- this.name = "ImageAlreadyExistsException";
269
- this.$fault = "client";
270
- Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
271
- }
272
- }
273
- exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
274
- class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
275
- constructor(opts) {
276
- super({
277
- name: "ImageDigestDoesNotMatchException",
278
- $fault: "client",
279
- ...opts,
280
- });
281
- this.name = "ImageDigestDoesNotMatchException";
282
- this.$fault = "client";
283
- Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
284
- }
285
- }
286
- exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
287
- class ImageTagAlreadyExistsException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
288
- constructor(opts) {
289
- super({
290
- name: "ImageTagAlreadyExistsException",
291
- $fault: "client",
292
- ...opts,
293
- });
294
- this.name = "ImageTagAlreadyExistsException";
295
- this.$fault = "client";
296
- Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
297
- }
298
- }
299
- exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
300
- class InvalidLayerPartException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
301
- constructor(opts) {
302
- super({
303
- name: "InvalidLayerPartException",
304
- $fault: "client",
305
- ...opts,
306
- });
307
- this.name = "InvalidLayerPartException";
308
- this.$fault = "client";
309
- Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
310
- this.registryId = opts.registryId;
311
- this.repositoryName = opts.repositoryName;
312
- this.uploadId = opts.uploadId;
313
- this.lastValidByteReceived = opts.lastValidByteReceived;
314
- }
315
- }
316
- exports.InvalidLayerPartException = InvalidLayerPartException;
317
- class LayersNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
318
- constructor(opts) {
319
- super({
320
- name: "LayersNotFoundException",
321
- $fault: "client",
322
- ...opts,
323
- });
324
- this.name = "LayersNotFoundException";
325
- this.$fault = "client";
326
- Object.setPrototypeOf(this, LayersNotFoundException.prototype);
327
- }
328
- }
329
- exports.LayersNotFoundException = LayersNotFoundException;
330
- class ReferencedImagesNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
331
- constructor(opts) {
332
- super({
333
- name: "ReferencedImagesNotFoundException",
334
- $fault: "client",
335
- ...opts,
336
- });
337
- this.name = "ReferencedImagesNotFoundException";
338
- this.$fault = "client";
339
- Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
340
- }
341
- }
342
- exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeImageTags = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeImageTagsCommand_1 = require("../commands/DescribeImageTagsCommand");
6
- const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- exports.paginateDescribeImageTags = (0, core_1.createPaginator)(ECRPUBLICClient_1.ECRPUBLICClient, DescribeImageTagsCommand_1.DescribeImageTagsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeImages = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeImagesCommand_1 = require("../commands/DescribeImagesCommand");
6
- const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- exports.paginateDescribeImages = (0, core_1.createPaginator)(ECRPUBLICClient_1.ECRPUBLICClient, DescribeImagesCommand_1.DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeRegistries = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeRegistriesCommand_1 = require("../commands/DescribeRegistriesCommand");
6
- const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- exports.paginateDescribeRegistries = (0, core_1.createPaginator)(ECRPUBLICClient_1.ECRPUBLICClient, DescribeRegistriesCommand_1.DescribeRegistriesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeRepositories = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeRepositoriesCommand_1 = require("../commands/DescribeRepositoriesCommand");
6
- const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- exports.paginateDescribeRepositories = (0, core_1.createPaginator)(ECRPUBLICClient_1.ECRPUBLICClient, DescribeRepositoriesCommand_1.DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeImageTagsPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeImagesPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeRegistriesPaginator"), exports);
7
- tslib_1.__exportStar(require("./DescribeRepositoriesPaginator"), exports);
8
- tslib_1.__exportStar(require("./Interfaces"), exports);
1
+ module.exports = require("../index.js");