@aws-sdk/client-ecr-public 3.301.0 → 3.303.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.
- package/dist-cjs/models/models_0.js +22 -26
- package/dist-es/models/models_0.js +22 -26
- package/dist-types/models/models_0.d.ts +42 -22
- package/dist-types/ts3.4/models/models_0.d.ts +30 -22
- package/package.json +34 -34
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
4
|
const ECRPUBLICServiceException_1 = require("./ECRPUBLICServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
LayerAvailability["UNAVAILABLE"] = "UNAVAILABLE";
|
|
14
|
-
})(LayerAvailability = exports.LayerAvailability || (exports.LayerAvailability = {}));
|
|
5
|
+
exports.LayerFailureCode = {
|
|
6
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
7
|
+
MissingLayerDigest: "MissingLayerDigest",
|
|
8
|
+
};
|
|
9
|
+
exports.LayerAvailability = {
|
|
10
|
+
AVAILABLE: "AVAILABLE",
|
|
11
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
12
|
+
};
|
|
15
13
|
class InvalidParameterException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -77,16 +75,15 @@ class UnsupportedCommandException extends ECRPUBLICServiceException_1.ECRPUBLICS
|
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
77
|
exports.UnsupportedCommandException = UnsupportedCommandException;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
})(ImageFailureCode = exports.ImageFailureCode || (exports.ImageFailureCode = {}));
|
|
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
|
+
};
|
|
90
87
|
class EmptyUploadException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
|
|
91
88
|
constructor(opts) {
|
|
92
89
|
super({
|
|
@@ -243,12 +240,11 @@ class ImageNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServic
|
|
|
243
240
|
}
|
|
244
241
|
}
|
|
245
242
|
exports.ImageNotFoundException = ImageNotFoundException;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
})(RegistryAliasStatus = exports.RegistryAliasStatus || (exports.RegistryAliasStatus = {}));
|
|
243
|
+
exports.RegistryAliasStatus = {
|
|
244
|
+
ACTIVE: "ACTIVE",
|
|
245
|
+
PENDING: "PENDING",
|
|
246
|
+
REJECTED: "REJECTED",
|
|
247
|
+
};
|
|
252
248
|
class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException_1.ECRPUBLICServiceException {
|
|
253
249
|
constructor(opts) {
|
|
254
250
|
super({
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
LayerAvailability["UNAVAILABLE"] = "UNAVAILABLE";
|
|
11
|
-
})(LayerAvailability || (LayerAvailability = {}));
|
|
2
|
+
export const LayerFailureCode = {
|
|
3
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
4
|
+
MissingLayerDigest: "MissingLayerDigest",
|
|
5
|
+
};
|
|
6
|
+
export const LayerAvailability = {
|
|
7
|
+
AVAILABLE: "AVAILABLE",
|
|
8
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
9
|
+
};
|
|
12
10
|
export class InvalidParameterException extends __BaseException {
|
|
13
11
|
constructor(opts) {
|
|
14
12
|
super({
|
|
@@ -69,16 +67,15 @@ export class UnsupportedCommandException extends __BaseException {
|
|
|
69
67
|
Object.setPrototypeOf(this, UnsupportedCommandException.prototype);
|
|
70
68
|
}
|
|
71
69
|
}
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
})(ImageFailureCode || (ImageFailureCode = {}));
|
|
70
|
+
export const ImageFailureCode = {
|
|
71
|
+
ImageNotFound: "ImageNotFound",
|
|
72
|
+
ImageReferencedByManifestList: "ImageReferencedByManifestList",
|
|
73
|
+
ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
|
|
74
|
+
InvalidImageDigest: "InvalidImageDigest",
|
|
75
|
+
InvalidImageTag: "InvalidImageTag",
|
|
76
|
+
KmsError: "KmsError",
|
|
77
|
+
MissingDigestAndTag: "MissingDigestAndTag",
|
|
78
|
+
};
|
|
82
79
|
export class EmptyUploadException extends __BaseException {
|
|
83
80
|
constructor(opts) {
|
|
84
81
|
super({
|
|
@@ -223,12 +220,11 @@ export class ImageNotFoundException extends __BaseException {
|
|
|
223
220
|
Object.setPrototypeOf(this, ImageNotFoundException.prototype);
|
|
224
221
|
}
|
|
225
222
|
}
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
})(RegistryAliasStatus || (RegistryAliasStatus = {}));
|
|
223
|
+
export const RegistryAliasStatus = {
|
|
224
|
+
ACTIVE: "ACTIVE",
|
|
225
|
+
PENDING: "PENDING",
|
|
226
|
+
REJECTED: "REJECTED",
|
|
227
|
+
};
|
|
232
228
|
export class RepositoryCatalogDataNotFoundException extends __BaseException {
|
|
233
229
|
constructor(opts) {
|
|
234
230
|
super({
|
|
@@ -37,11 +37,16 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* @public
|
|
40
|
+
* @enum
|
|
40
41
|
*/
|
|
41
|
-
export declare
|
|
42
|
-
InvalidLayerDigest
|
|
43
|
-
MissingLayerDigest
|
|
44
|
-
}
|
|
42
|
+
export declare const LayerFailureCode: {
|
|
43
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
44
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
45
50
|
/**
|
|
46
51
|
* @public
|
|
47
52
|
* <p>An object that represents an Amazon ECR image layer failure.</p>
|
|
@@ -62,11 +67,16 @@ export interface LayerFailure {
|
|
|
62
67
|
}
|
|
63
68
|
/**
|
|
64
69
|
* @public
|
|
70
|
+
* @enum
|
|
65
71
|
*/
|
|
66
|
-
export declare
|
|
67
|
-
AVAILABLE
|
|
68
|
-
UNAVAILABLE
|
|
69
|
-
}
|
|
72
|
+
export declare const LayerAvailability: {
|
|
73
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
74
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
70
80
|
/**
|
|
71
81
|
* @public
|
|
72
82
|
* <p>An object that represents an Amazon ECR image layer.</p>
|
|
@@ -203,16 +213,21 @@ export interface BatchDeleteImageRequest {
|
|
|
203
213
|
}
|
|
204
214
|
/**
|
|
205
215
|
* @public
|
|
216
|
+
* @enum
|
|
206
217
|
*/
|
|
207
|
-
export declare
|
|
208
|
-
ImageNotFound
|
|
209
|
-
ImageReferencedByManifestList
|
|
210
|
-
ImageTagDoesNotMatchDigest
|
|
211
|
-
InvalidImageDigest
|
|
212
|
-
InvalidImageTag
|
|
213
|
-
KmsError
|
|
214
|
-
MissingDigestAndTag
|
|
215
|
-
}
|
|
218
|
+
export declare const ImageFailureCode: {
|
|
219
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
220
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
221
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
222
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
223
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
224
|
+
readonly KmsError: "KmsError";
|
|
225
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
216
231
|
/**
|
|
217
232
|
* @public
|
|
218
233
|
* <p>An object that represents an Amazon ECR image failure.</p>
|
|
@@ -955,12 +970,17 @@ export interface DescribeRegistriesRequest {
|
|
|
955
970
|
}
|
|
956
971
|
/**
|
|
957
972
|
* @public
|
|
973
|
+
* @enum
|
|
958
974
|
*/
|
|
959
|
-
export declare
|
|
960
|
-
ACTIVE
|
|
961
|
-
PENDING
|
|
962
|
-
REJECTED
|
|
963
|
-
}
|
|
975
|
+
export declare const RegistryAliasStatus: {
|
|
976
|
+
readonly ACTIVE: "ACTIVE";
|
|
977
|
+
readonly PENDING: "PENDING";
|
|
978
|
+
readonly REJECTED: "REJECTED";
|
|
979
|
+
};
|
|
980
|
+
/**
|
|
981
|
+
* @public
|
|
982
|
+
*/
|
|
983
|
+
export type RegistryAliasStatus = (typeof RegistryAliasStatus)[keyof typeof RegistryAliasStatus];
|
|
964
984
|
/**
|
|
965
985
|
* @public
|
|
966
986
|
* <p>An object representing the aliases for a public registry. A public registry is given an
|
|
@@ -9,19 +9,23 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
9
9
|
repositoryName: string | undefined;
|
|
10
10
|
layerDigests: string[] | undefined;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
13
|
-
InvalidLayerDigest
|
|
14
|
-
MissingLayerDigest
|
|
15
|
-
}
|
|
12
|
+
export declare const LayerFailureCode: {
|
|
13
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
14
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
15
|
+
};
|
|
16
|
+
export type LayerFailureCode =
|
|
17
|
+
(typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
16
18
|
export interface LayerFailure {
|
|
17
19
|
layerDigest?: string;
|
|
18
20
|
failureCode?: LayerFailureCode | string;
|
|
19
21
|
failureReason?: string;
|
|
20
22
|
}
|
|
21
|
-
export declare
|
|
22
|
-
AVAILABLE
|
|
23
|
-
UNAVAILABLE
|
|
24
|
-
}
|
|
23
|
+
export declare const LayerAvailability: {
|
|
24
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
25
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
26
|
+
};
|
|
27
|
+
export type LayerAvailability =
|
|
28
|
+
(typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
25
29
|
export interface Layer {
|
|
26
30
|
layerDigest?: string;
|
|
27
31
|
layerAvailability?: LayerAvailability | string;
|
|
@@ -74,15 +78,17 @@ export interface BatchDeleteImageRequest {
|
|
|
74
78
|
repositoryName: string | undefined;
|
|
75
79
|
imageIds: ImageIdentifier[] | undefined;
|
|
76
80
|
}
|
|
77
|
-
export declare
|
|
78
|
-
ImageNotFound
|
|
79
|
-
ImageReferencedByManifestList
|
|
80
|
-
ImageTagDoesNotMatchDigest
|
|
81
|
-
InvalidImageDigest
|
|
82
|
-
InvalidImageTag
|
|
83
|
-
KmsError
|
|
84
|
-
MissingDigestAndTag
|
|
85
|
-
}
|
|
81
|
+
export declare const ImageFailureCode: {
|
|
82
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
83
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
84
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
85
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
86
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
87
|
+
readonly KmsError: "KmsError";
|
|
88
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
89
|
+
};
|
|
90
|
+
export type ImageFailureCode =
|
|
91
|
+
(typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
86
92
|
export interface ImageFailure {
|
|
87
93
|
imageId?: ImageIdentifier;
|
|
88
94
|
failureCode?: ImageFailureCode | string;
|
|
@@ -295,11 +301,13 @@ export interface DescribeRegistriesRequest {
|
|
|
295
301
|
nextToken?: string;
|
|
296
302
|
maxResults?: number;
|
|
297
303
|
}
|
|
298
|
-
export declare
|
|
299
|
-
ACTIVE
|
|
300
|
-
PENDING
|
|
301
|
-
REJECTED
|
|
302
|
-
}
|
|
304
|
+
export declare const RegistryAliasStatus: {
|
|
305
|
+
readonly ACTIVE: "ACTIVE";
|
|
306
|
+
readonly PENDING: "PENDING";
|
|
307
|
+
readonly REJECTED: "REJECTED";
|
|
308
|
+
};
|
|
309
|
+
export type RegistryAliasStatus =
|
|
310
|
+
(typeof RegistryAliasStatus)[keyof typeof RegistryAliasStatus];
|
|
303
311
|
export interface RegistryAlias {
|
|
304
312
|
name: string | undefined;
|
|
305
313
|
status: RegistryAliasStatus | string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr-public",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Public Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|