@aws-sdk/client-ecr-public 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/ECRPUBLIC.js +0 -10
- package/dist-cjs/ECRPUBLICClient.js +0 -15
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -30
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeImageTagsCommand.js +0 -25
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -31
- package/dist-cjs/commands/DescribeRegistriesCommand.js +0 -25
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -29
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +0 -26
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -31
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -256
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ECRPUBLIC.js +0 -1
- package/dist-es/ECRPUBLICClient.js +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js +0 -1
- package/dist-es/commands/DescribeImagesCommand.js +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutImageCommand.js +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js +0 -1
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -31
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +4 -30
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/ECRPUBLIC.d.ts +24 -134
- package/dist-types/ts3.4/ECRPUBLICClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/index.d.ts +4 -30
- package/dist-types/ts3.4/models/models_0.d.ts +298 -1145
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ECRPUBLIC.js.map +0 -1
- package/dist-cjs/ECRPUBLICClient.js.map +0 -1
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutImageCommand.js.map +0 -1
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ECRPUBLIC.js.map +0 -1
- package/dist-es/ECRPUBLICClient.js.map +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutImageCommand.js.map +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ECRPUBLIC.ts +0 -901
- package/src/ECRPUBLICClient.ts +0 -350
- package/src/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
- package/src/commands/BatchDeleteImageCommand.ts +0 -100
- package/src/commands/CompleteLayerUploadCommand.ts +0 -102
- package/src/commands/CreateRepositoryCommand.ts +0 -96
- package/src/commands/DeleteRepositoryCommand.ts +0 -97
- package/src/commands/DeleteRepositoryPolicyCommand.ts +0 -95
- package/src/commands/DescribeImageTagsCommand.ts +0 -95
- package/src/commands/DescribeImagesCommand.ts +0 -101
- package/src/commands/DescribeRegistriesCommand.ts +0 -95
- package/src/commands/DescribeRepositoriesCommand.ts +0 -95
- package/src/commands/GetAuthorizationTokenCommand.ts +0 -99
- package/src/commands/GetRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/GetRepositoryCatalogDataCommand.ts +0 -96
- package/src/commands/GetRepositoryPolicyCommand.ts +0 -95
- package/src/commands/InitiateLayerUploadCommand.ts +0 -101
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutImageCommand.ts +0 -99
- package/src/commands/PutRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/PutRepositoryCatalogDataCommand.ts +0 -95
- package/src/commands/SetRepositoryPolicyCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UploadLayerPartCommand.ts +0 -101
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -31
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2292
- package/src/pagination/DescribeImageTagsPaginator.ts +0 -59
- package/src/pagination/DescribeImagesPaginator.ts +0 -59
- package/src/pagination/DescribeRegistriesPaginator.ts +0 -59
- package/src/pagination/DescribeRepositoriesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_json1_1.ts +0 -3913
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,222 +1,134 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AuthorizationData {
|
|
6
|
-
|
|
7
|
-
* <p>A base64-encoded string that contains authorization data for a public Amazon ECR registry.
|
|
8
|
-
* When the string is decoded, it is presented in the format <code>user:password</code> for
|
|
9
|
-
* public registry authentication using <code>docker login</code>.</p>
|
|
10
|
-
*/
|
|
4
|
+
|
|
11
5
|
authorizationToken?: string;
|
|
12
|
-
|
|
13
|
-
* <p>The Unix time in seconds and milliseconds when the authorization token expires.
|
|
14
|
-
* Authorization tokens are valid for 12 hours.</p>
|
|
15
|
-
*/
|
|
6
|
+
|
|
16
7
|
expiresAt?: Date;
|
|
17
8
|
}
|
|
18
9
|
export declare namespace AuthorizationData {
|
|
19
|
-
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
10
|
+
|
|
22
11
|
const filterSensitiveLog: (obj: AuthorizationData) => any;
|
|
23
12
|
}
|
|
24
13
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
25
|
-
|
|
26
|
-
* <p>The AWS account ID associated with the public registry that contains the image layers to
|
|
27
|
-
* check. If you do not specify a registry, the default public registry is assumed.</p>
|
|
28
|
-
*/
|
|
14
|
+
|
|
29
15
|
registryId?: string;
|
|
30
|
-
|
|
31
|
-
* <p>The name of the repository that is associated with the image layers to check.</p>
|
|
32
|
-
*/
|
|
16
|
+
|
|
33
17
|
repositoryName: string | undefined;
|
|
34
|
-
|
|
35
|
-
* <p>The digests of the image layers to check.</p>
|
|
36
|
-
*/
|
|
18
|
+
|
|
37
19
|
layerDigests: string[] | undefined;
|
|
38
20
|
}
|
|
39
21
|
export declare namespace BatchCheckLayerAvailabilityRequest {
|
|
40
|
-
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
22
|
+
|
|
43
23
|
const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityRequest) => any;
|
|
44
24
|
}
|
|
45
25
|
export declare enum LayerFailureCode {
|
|
46
26
|
InvalidLayerDigest = "InvalidLayerDigest",
|
|
47
27
|
MissingLayerDigest = "MissingLayerDigest"
|
|
48
28
|
}
|
|
49
|
-
|
|
50
|
-
* <p>An object representing an Amazon ECR image layer failure.</p>
|
|
51
|
-
*/
|
|
29
|
+
|
|
52
30
|
export interface LayerFailure {
|
|
53
|
-
|
|
54
|
-
* <p>The layer digest associated with the failure.</p>
|
|
55
|
-
*/
|
|
31
|
+
|
|
56
32
|
layerDigest?: string;
|
|
57
|
-
|
|
58
|
-
* <p>The failure code associated with the failure.</p>
|
|
59
|
-
*/
|
|
33
|
+
|
|
60
34
|
failureCode?: LayerFailureCode | string;
|
|
61
|
-
|
|
62
|
-
* <p>The reason for the failure.</p>
|
|
63
|
-
*/
|
|
35
|
+
|
|
64
36
|
failureReason?: string;
|
|
65
37
|
}
|
|
66
38
|
export declare namespace LayerFailure {
|
|
67
|
-
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
39
|
+
|
|
70
40
|
const filterSensitiveLog: (obj: LayerFailure) => any;
|
|
71
41
|
}
|
|
72
42
|
export declare enum LayerAvailability {
|
|
73
43
|
AVAILABLE = "AVAILABLE",
|
|
74
44
|
UNAVAILABLE = "UNAVAILABLE"
|
|
75
45
|
}
|
|
76
|
-
|
|
77
|
-
* <p>An object representing an Amazon ECR image layer.</p>
|
|
78
|
-
*/
|
|
46
|
+
|
|
79
47
|
export interface Layer {
|
|
80
|
-
|
|
81
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
82
|
-
*/
|
|
48
|
+
|
|
83
49
|
layerDigest?: string;
|
|
84
|
-
|
|
85
|
-
* <p>The availability status of the image layer.</p>
|
|
86
|
-
*/
|
|
50
|
+
|
|
87
51
|
layerAvailability?: LayerAvailability | string;
|
|
88
|
-
|
|
89
|
-
* <p>The size, in bytes, of the image layer.</p>
|
|
90
|
-
*/
|
|
52
|
+
|
|
91
53
|
layerSize?: number;
|
|
92
|
-
|
|
93
|
-
* <p>The media type of the layer, such as
|
|
94
|
-
* <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
|
|
95
|
-
* <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
|
|
96
|
-
*/
|
|
54
|
+
|
|
97
55
|
mediaType?: string;
|
|
98
56
|
}
|
|
99
57
|
export declare namespace Layer {
|
|
100
|
-
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
58
|
+
|
|
103
59
|
const filterSensitiveLog: (obj: Layer) => any;
|
|
104
60
|
}
|
|
105
61
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
106
|
-
|
|
107
|
-
* <p>A list of image layer objects corresponding to the image layer references in the
|
|
108
|
-
* request.</p>
|
|
109
|
-
*/
|
|
62
|
+
|
|
110
63
|
layers?: Layer[];
|
|
111
|
-
|
|
112
|
-
* <p>Any failures associated with the call.</p>
|
|
113
|
-
*/
|
|
64
|
+
|
|
114
65
|
failures?: LayerFailure[];
|
|
115
66
|
}
|
|
116
67
|
export declare namespace BatchCheckLayerAvailabilityResponse {
|
|
117
|
-
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
68
|
+
|
|
120
69
|
const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityResponse) => any;
|
|
121
70
|
}
|
|
122
|
-
|
|
123
|
-
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
124
|
-
* request.</p>
|
|
125
|
-
*/
|
|
71
|
+
|
|
126
72
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
127
73
|
name: "InvalidParameterException";
|
|
128
74
|
$fault: "client";
|
|
129
75
|
message?: string;
|
|
130
76
|
}
|
|
131
77
|
export declare namespace InvalidParameterException {
|
|
132
|
-
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
78
|
+
|
|
135
79
|
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
136
80
|
}
|
|
137
|
-
|
|
138
|
-
* <p>The registry does not exist.</p>
|
|
139
|
-
*/
|
|
81
|
+
|
|
140
82
|
export interface RegistryNotFoundException extends __SmithyException, $MetadataBearer {
|
|
141
83
|
name: "RegistryNotFoundException";
|
|
142
84
|
$fault: "client";
|
|
143
85
|
message?: string;
|
|
144
86
|
}
|
|
145
87
|
export declare namespace RegistryNotFoundException {
|
|
146
|
-
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
88
|
+
|
|
149
89
|
const filterSensitiveLog: (obj: RegistryNotFoundException) => any;
|
|
150
90
|
}
|
|
151
|
-
|
|
152
|
-
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
153
|
-
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
154
|
-
*/
|
|
91
|
+
|
|
155
92
|
export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
|
|
156
93
|
name: "RepositoryNotFoundException";
|
|
157
94
|
$fault: "client";
|
|
158
95
|
message?: string;
|
|
159
96
|
}
|
|
160
97
|
export declare namespace RepositoryNotFoundException {
|
|
161
|
-
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
98
|
+
|
|
164
99
|
const filterSensitiveLog: (obj: RepositoryNotFoundException) => any;
|
|
165
100
|
}
|
|
166
|
-
|
|
167
|
-
* <p>These errors are usually caused by a server-side issue.</p>
|
|
168
|
-
*/
|
|
101
|
+
|
|
169
102
|
export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
170
103
|
name: "ServerException";
|
|
171
104
|
$fault: "server";
|
|
172
105
|
message?: string;
|
|
173
106
|
}
|
|
174
107
|
export declare namespace ServerException {
|
|
175
|
-
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
108
|
+
|
|
178
109
|
const filterSensitiveLog: (obj: ServerException) => any;
|
|
179
110
|
}
|
|
180
|
-
|
|
181
|
-
* <p>An object with identifying information for an Amazon ECR image.</p>
|
|
182
|
-
*/
|
|
111
|
+
|
|
183
112
|
export interface ImageIdentifier {
|
|
184
|
-
|
|
185
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
186
|
-
*/
|
|
113
|
+
|
|
187
114
|
imageDigest?: string;
|
|
188
|
-
|
|
189
|
-
* <p>The tag used for the image.</p>
|
|
190
|
-
*/
|
|
115
|
+
|
|
191
116
|
imageTag?: string;
|
|
192
117
|
}
|
|
193
118
|
export declare namespace ImageIdentifier {
|
|
194
|
-
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
119
|
+
|
|
197
120
|
const filterSensitiveLog: (obj: ImageIdentifier) => any;
|
|
198
121
|
}
|
|
199
122
|
export interface BatchDeleteImageRequest {
|
|
200
|
-
|
|
201
|
-
* <p>The AWS account ID associated with the registry that contains the image to delete.
|
|
202
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
203
|
-
*/
|
|
123
|
+
|
|
204
124
|
registryId?: string;
|
|
205
|
-
|
|
206
|
-
* <p>The repository in a public registry that contains the image to delete.</p>
|
|
207
|
-
*/
|
|
125
|
+
|
|
208
126
|
repositoryName: string | undefined;
|
|
209
|
-
|
|
210
|
-
* <p>A list of image ID references that correspond to images to delete. The format of the
|
|
211
|
-
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
212
|
-
* <code>imageDigest=digest</code>.</p>
|
|
213
|
-
*/
|
|
127
|
+
|
|
214
128
|
imageIds: ImageIdentifier[] | undefined;
|
|
215
129
|
}
|
|
216
130
|
export declare namespace BatchDeleteImageRequest {
|
|
217
|
-
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
131
|
+
|
|
220
132
|
const filterSensitiveLog: (obj: BatchDeleteImageRequest) => any;
|
|
221
133
|
}
|
|
222
134
|
export declare enum ImageFailureCode {
|
|
@@ -228,861 +140,430 @@ export declare enum ImageFailureCode {
|
|
|
228
140
|
KmsError = "KmsError",
|
|
229
141
|
MissingDigestAndTag = "MissingDigestAndTag"
|
|
230
142
|
}
|
|
231
|
-
|
|
232
|
-
* <p>An object representing an Amazon ECR image failure.</p>
|
|
233
|
-
*/
|
|
143
|
+
|
|
234
144
|
export interface ImageFailure {
|
|
235
|
-
|
|
236
|
-
* <p>The image ID associated with the failure.</p>
|
|
237
|
-
*/
|
|
145
|
+
|
|
238
146
|
imageId?: ImageIdentifier;
|
|
239
|
-
|
|
240
|
-
* <p>The code associated with the failure.</p>
|
|
241
|
-
*/
|
|
147
|
+
|
|
242
148
|
failureCode?: ImageFailureCode | string;
|
|
243
|
-
|
|
244
|
-
* <p>The reason for the failure.</p>
|
|
245
|
-
*/
|
|
149
|
+
|
|
246
150
|
failureReason?: string;
|
|
247
151
|
}
|
|
248
152
|
export declare namespace ImageFailure {
|
|
249
|
-
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
153
|
+
|
|
252
154
|
const filterSensitiveLog: (obj: ImageFailure) => any;
|
|
253
155
|
}
|
|
254
156
|
export interface BatchDeleteImageResponse {
|
|
255
|
-
|
|
256
|
-
* <p>The image IDs of the deleted images.</p>
|
|
257
|
-
*/
|
|
157
|
+
|
|
258
158
|
imageIds?: ImageIdentifier[];
|
|
259
|
-
|
|
260
|
-
* <p>Any failures associated with the call.</p>
|
|
261
|
-
*/
|
|
159
|
+
|
|
262
160
|
failures?: ImageFailure[];
|
|
263
161
|
}
|
|
264
162
|
export declare namespace BatchDeleteImageResponse {
|
|
265
|
-
|
|
266
|
-
* @internal
|
|
267
|
-
*/
|
|
163
|
+
|
|
268
164
|
const filterSensitiveLog: (obj: BatchDeleteImageResponse) => any;
|
|
269
165
|
}
|
|
270
166
|
export interface CompleteLayerUploadRequest {
|
|
271
|
-
|
|
272
|
-
* <p>The AWS account ID associated with the registry to which to upload layers.
|
|
273
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
274
|
-
*/
|
|
167
|
+
|
|
275
168
|
registryId?: string;
|
|
276
|
-
|
|
277
|
-
* <p>The name of the repository in a public registry to associate with the image
|
|
278
|
-
* layer.</p>
|
|
279
|
-
*/
|
|
169
|
+
|
|
280
170
|
repositoryName: string | undefined;
|
|
281
|
-
|
|
282
|
-
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
283
|
-
* associate with the image layer.</p>
|
|
284
|
-
*/
|
|
171
|
+
|
|
285
172
|
uploadId: string | undefined;
|
|
286
|
-
|
|
287
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
288
|
-
*/
|
|
173
|
+
|
|
289
174
|
layerDigests: string[] | undefined;
|
|
290
175
|
}
|
|
291
176
|
export declare namespace CompleteLayerUploadRequest {
|
|
292
|
-
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
177
|
+
|
|
295
178
|
const filterSensitiveLog: (obj: CompleteLayerUploadRequest) => any;
|
|
296
179
|
}
|
|
297
180
|
export interface CompleteLayerUploadResponse {
|
|
298
|
-
|
|
299
|
-
* <p>The public registry ID associated with the request.</p>
|
|
300
|
-
*/
|
|
181
|
+
|
|
301
182
|
registryId?: string;
|
|
302
|
-
|
|
303
|
-
* <p>The repository name associated with the request.</p>
|
|
304
|
-
*/
|
|
183
|
+
|
|
305
184
|
repositoryName?: string;
|
|
306
|
-
|
|
307
|
-
* <p>The upload ID associated with the layer.</p>
|
|
308
|
-
*/
|
|
185
|
+
|
|
309
186
|
uploadId?: string;
|
|
310
|
-
|
|
311
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
312
|
-
*/
|
|
187
|
+
|
|
313
188
|
layerDigest?: string;
|
|
314
189
|
}
|
|
315
190
|
export declare namespace CompleteLayerUploadResponse {
|
|
316
|
-
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
191
|
+
|
|
319
192
|
const filterSensitiveLog: (obj: CompleteLayerUploadResponse) => any;
|
|
320
193
|
}
|
|
321
|
-
|
|
322
|
-
* <p>The specified layer upload does not contain any layer parts.</p>
|
|
323
|
-
*/
|
|
194
|
+
|
|
324
195
|
export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
|
|
325
196
|
name: "EmptyUploadException";
|
|
326
197
|
$fault: "client";
|
|
327
198
|
message?: string;
|
|
328
199
|
}
|
|
329
200
|
export declare namespace EmptyUploadException {
|
|
330
|
-
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
201
|
+
|
|
333
202
|
const filterSensitiveLog: (obj: EmptyUploadException) => any;
|
|
334
203
|
}
|
|
335
|
-
|
|
336
|
-
* <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not
|
|
337
|
-
* match the digest specified.</p>
|
|
338
|
-
*/
|
|
204
|
+
|
|
339
205
|
export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
|
|
340
206
|
name: "InvalidLayerException";
|
|
341
207
|
$fault: "client";
|
|
342
208
|
message?: string;
|
|
343
209
|
}
|
|
344
210
|
export declare namespace InvalidLayerException {
|
|
345
|
-
|
|
346
|
-
* @internal
|
|
347
|
-
*/
|
|
211
|
+
|
|
348
212
|
const filterSensitiveLog: (obj: InvalidLayerException) => any;
|
|
349
213
|
}
|
|
350
|
-
|
|
351
|
-
* <p>The image layer already exists in the associated repository.</p>
|
|
352
|
-
*/
|
|
214
|
+
|
|
353
215
|
export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
354
216
|
name: "LayerAlreadyExistsException";
|
|
355
217
|
$fault: "client";
|
|
356
218
|
message?: string;
|
|
357
219
|
}
|
|
358
220
|
export declare namespace LayerAlreadyExistsException {
|
|
359
|
-
|
|
360
|
-
* @internal
|
|
361
|
-
*/
|
|
221
|
+
|
|
362
222
|
const filterSensitiveLog: (obj: LayerAlreadyExistsException) => any;
|
|
363
223
|
}
|
|
364
|
-
|
|
365
|
-
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
366
|
-
*/
|
|
224
|
+
|
|
367
225
|
export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
|
|
368
226
|
name: "LayerPartTooSmallException";
|
|
369
227
|
$fault: "client";
|
|
370
228
|
message?: string;
|
|
371
229
|
}
|
|
372
230
|
export declare namespace LayerPartTooSmallException {
|
|
373
|
-
|
|
374
|
-
* @internal
|
|
375
|
-
*/
|
|
231
|
+
|
|
376
232
|
const filterSensitiveLog: (obj: LayerPartTooSmallException) => any;
|
|
377
233
|
}
|
|
378
|
-
|
|
379
|
-
* <p>The action is not supported in this Region.</p>
|
|
380
|
-
*/
|
|
234
|
+
|
|
381
235
|
export interface UnsupportedCommandException extends __SmithyException, $MetadataBearer {
|
|
382
236
|
name: "UnsupportedCommandException";
|
|
383
237
|
$fault: "client";
|
|
384
238
|
message?: string;
|
|
385
239
|
}
|
|
386
240
|
export declare namespace UnsupportedCommandException {
|
|
387
|
-
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
241
|
+
|
|
390
242
|
const filterSensitiveLog: (obj: UnsupportedCommandException) => any;
|
|
391
243
|
}
|
|
392
|
-
|
|
393
|
-
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
394
|
-
* repository.</p>
|
|
395
|
-
*/
|
|
244
|
+
|
|
396
245
|
export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
|
|
397
246
|
name: "UploadNotFoundException";
|
|
398
247
|
$fault: "client";
|
|
399
248
|
message?: string;
|
|
400
249
|
}
|
|
401
250
|
export declare namespace UploadNotFoundException {
|
|
402
|
-
|
|
403
|
-
* @internal
|
|
404
|
-
*/
|
|
251
|
+
|
|
405
252
|
const filterSensitiveLog: (obj: UploadNotFoundException) => any;
|
|
406
253
|
}
|
|
407
|
-
|
|
408
|
-
* <p>An object containing the catalog data for a repository. This data is publicly visible in
|
|
409
|
-
* the Amazon ECR Public Gallery.</p>
|
|
410
|
-
*/
|
|
254
|
+
|
|
411
255
|
export interface RepositoryCatalogDataInput {
|
|
412
|
-
|
|
413
|
-
* <p>A short description of the contents of the repository. This text appears in both the
|
|
414
|
-
* image details and also when searching for repositories on the Amazon ECR Public Gallery.</p>
|
|
415
|
-
*/
|
|
256
|
+
|
|
416
257
|
description?: string;
|
|
417
|
-
|
|
418
|
-
* <p>The system architecture that the images in the repository are compatible with. On the
|
|
419
|
-
* Amazon ECR Public Gallery, the following supported architectures will appear as badges on the
|
|
420
|
-
* repository and are used as search filters.</p>
|
|
421
|
-
* <ul>
|
|
422
|
-
* <li>
|
|
423
|
-
* <p>
|
|
424
|
-
* <code>Linux</code>
|
|
425
|
-
* </p>
|
|
426
|
-
* </li>
|
|
427
|
-
* <li>
|
|
428
|
-
* <p>
|
|
429
|
-
* <code>Windows</code>
|
|
430
|
-
* </p>
|
|
431
|
-
* </li>
|
|
432
|
-
* </ul>
|
|
433
|
-
* <note>
|
|
434
|
-
* <p>If an unsupported tag is added to your repository catalog data, it will be associated
|
|
435
|
-
* with the repository and can be retrieved using the API but will not be discoverable in
|
|
436
|
-
* the Amazon ECR Public Gallery.</p>
|
|
437
|
-
* </note>
|
|
438
|
-
*/
|
|
258
|
+
|
|
439
259
|
architectures?: string[];
|
|
440
|
-
|
|
441
|
-
* <p>The operating systems that the images in the repository are compatible with. On the
|
|
442
|
-
* Amazon ECR Public Gallery, the following supported operating systems will appear as badges on
|
|
443
|
-
* the repository and are used as search filters.</p>
|
|
444
|
-
* <ul>
|
|
445
|
-
* <li>
|
|
446
|
-
* <p>
|
|
447
|
-
* <code>ARM</code>
|
|
448
|
-
* </p>
|
|
449
|
-
* </li>
|
|
450
|
-
* <li>
|
|
451
|
-
* <p>
|
|
452
|
-
* <code>ARM 64</code>
|
|
453
|
-
* </p>
|
|
454
|
-
* </li>
|
|
455
|
-
* <li>
|
|
456
|
-
* <p>
|
|
457
|
-
* <code>x86</code>
|
|
458
|
-
* </p>
|
|
459
|
-
* </li>
|
|
460
|
-
* <li>
|
|
461
|
-
* <p>
|
|
462
|
-
* <code>x86-64</code>
|
|
463
|
-
* </p>
|
|
464
|
-
* </li>
|
|
465
|
-
* </ul>
|
|
466
|
-
* <note>
|
|
467
|
-
* <p>If an unsupported tag is added to your repository catalog data, it will be associated
|
|
468
|
-
* with the repository and can be retrieved using the API but will not be discoverable in
|
|
469
|
-
* the Amazon ECR Public Gallery.</p>
|
|
470
|
-
* </note>
|
|
471
|
-
*/
|
|
260
|
+
|
|
472
261
|
operatingSystems?: string[];
|
|
473
|
-
|
|
474
|
-
* <p>The base64-encoded repository logo payload.</p>
|
|
475
|
-
* <note>
|
|
476
|
-
* <p>The repository logo is only publicly visible in the Amazon ECR Public Gallery for verified
|
|
477
|
-
* accounts.</p>
|
|
478
|
-
* </note>
|
|
479
|
-
*/
|
|
262
|
+
|
|
480
263
|
logoImageBlob?: Uint8Array;
|
|
481
|
-
|
|
482
|
-
* <p>A detailed description of the contents of the repository. It is publicly visible in the
|
|
483
|
-
* Amazon ECR Public Gallery. The text must be in markdown format.</p>
|
|
484
|
-
*/
|
|
264
|
+
|
|
485
265
|
aboutText?: string;
|
|
486
|
-
|
|
487
|
-
* <p>Detailed information on how to use the contents of the repository. It is publicly
|
|
488
|
-
* visible in the Amazon ECR Public Gallery. The usage text provides context, support information,
|
|
489
|
-
* and additional usage details for users of the repository. The text must be in markdown
|
|
490
|
-
* format.</p>
|
|
491
|
-
*/
|
|
266
|
+
|
|
492
267
|
usageText?: string;
|
|
493
268
|
}
|
|
494
269
|
export declare namespace RepositoryCatalogDataInput {
|
|
495
|
-
|
|
496
|
-
* @internal
|
|
497
|
-
*/
|
|
270
|
+
|
|
498
271
|
const filterSensitiveLog: (obj: RepositoryCatalogDataInput) => any;
|
|
499
272
|
}
|
|
500
|
-
|
|
501
|
-
* <p>The metadata that you apply to a resource to help you categorize and organize them. Each
|
|
502
|
-
* tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
503
|
-
*/
|
|
273
|
+
|
|
504
274
|
export interface Tag {
|
|
505
|
-
|
|
506
|
-
* <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
|
|
507
|
-
* that acts like a category for more specific tag values.</p>
|
|
508
|
-
*/
|
|
275
|
+
|
|
509
276
|
Key?: string;
|
|
510
|
-
|
|
511
|
-
* <p>The optional part of a key-value pair that make up a tag. A <code>value</code> acts as a
|
|
512
|
-
* descriptor within a tag category (key).</p>
|
|
513
|
-
*/
|
|
277
|
+
|
|
514
278
|
Value?: string;
|
|
515
279
|
}
|
|
516
280
|
export declare namespace Tag {
|
|
517
|
-
|
|
518
|
-
* @internal
|
|
519
|
-
*/
|
|
281
|
+
|
|
520
282
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
521
283
|
}
|
|
522
284
|
export interface CreateRepositoryRequest {
|
|
523
|
-
|
|
524
|
-
* <p>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery.
|
|
525
|
-
* The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it
|
|
526
|
-
* can be prepended with a namespace to group the repository into a category (such as
|
|
527
|
-
* <code>project-a/nginx-web-app</code>).</p>
|
|
528
|
-
*/
|
|
285
|
+
|
|
529
286
|
repositoryName: string | undefined;
|
|
530
|
-
|
|
531
|
-
* <p>The details about the repository that are publicly visible in the
|
|
532
|
-
* Amazon ECR Public Gallery.</p>
|
|
533
|
-
*/
|
|
287
|
+
|
|
534
288
|
catalogData?: RepositoryCatalogDataInput;
|
|
535
|
-
|
|
536
|
-
* <p>The metadata that you apply to the repository to help you categorize and organize them.
|
|
537
|
-
* Each tag consists of a key and an optional value, both of which you define.
|
|
538
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
539
|
-
*/
|
|
289
|
+
|
|
540
290
|
tags?: Tag[];
|
|
541
291
|
}
|
|
542
292
|
export declare namespace CreateRepositoryRequest {
|
|
543
|
-
|
|
544
|
-
* @internal
|
|
545
|
-
*/
|
|
293
|
+
|
|
546
294
|
const filterSensitiveLog: (obj: CreateRepositoryRequest) => any;
|
|
547
295
|
}
|
|
548
|
-
|
|
549
|
-
* <p>The catalog data for a repository. This data is publicly visible in the
|
|
550
|
-
* Amazon ECR Public Gallery.</p>
|
|
551
|
-
*/
|
|
296
|
+
|
|
552
297
|
export interface RepositoryCatalogData {
|
|
553
|
-
|
|
554
|
-
* <p>The short description of the repository.</p>
|
|
555
|
-
*/
|
|
298
|
+
|
|
556
299
|
description?: string;
|
|
557
|
-
|
|
558
|
-
* <p>The architecture tags that are associated with the repository.</p>
|
|
559
|
-
* <note>
|
|
560
|
-
* <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
|
|
561
|
-
* more information, see <a>RepositoryCatalogDataInput</a>.</p>
|
|
562
|
-
* </note>
|
|
563
|
-
*/
|
|
300
|
+
|
|
564
301
|
architectures?: string[];
|
|
565
|
-
|
|
566
|
-
* <p>The operating system tags that are associated with the repository.</p>
|
|
567
|
-
* <note>
|
|
568
|
-
* <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
|
|
569
|
-
* more information, see <a>RepositoryCatalogDataInput</a>.</p>
|
|
570
|
-
* </note>
|
|
571
|
-
*/
|
|
302
|
+
|
|
572
303
|
operatingSystems?: string[];
|
|
573
|
-
|
|
574
|
-
* <p>The URL containing the logo associated with the repository.</p>
|
|
575
|
-
*/
|
|
304
|
+
|
|
576
305
|
logoUrl?: string;
|
|
577
|
-
|
|
578
|
-
* <p>The longform description of the contents of the repository. This text appears in the
|
|
579
|
-
* repository details on the Amazon ECR Public Gallery.</p>
|
|
580
|
-
*/
|
|
306
|
+
|
|
581
307
|
aboutText?: string;
|
|
582
|
-
|
|
583
|
-
* <p>The longform usage details of the contents of the repository. The usage text provides
|
|
584
|
-
* context for users of the repository.</p>
|
|
585
|
-
*/
|
|
308
|
+
|
|
586
309
|
usageText?: string;
|
|
587
|
-
|
|
588
|
-
* <p>Whether or not the repository is certified by AWS Marketplace.</p>
|
|
589
|
-
*/
|
|
310
|
+
|
|
590
311
|
marketplaceCertified?: boolean;
|
|
591
312
|
}
|
|
592
313
|
export declare namespace RepositoryCatalogData {
|
|
593
|
-
|
|
594
|
-
* @internal
|
|
595
|
-
*/
|
|
314
|
+
|
|
596
315
|
const filterSensitiveLog: (obj: RepositoryCatalogData) => any;
|
|
597
316
|
}
|
|
598
|
-
|
|
599
|
-
* <p>An object representing a repository.</p>
|
|
600
|
-
*/
|
|
317
|
+
|
|
601
318
|
export interface Repository {
|
|
602
|
-
|
|
603
|
-
* <p>The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the <code>arn:aws:ecr</code> namespace, followed by the region of the repository, AWS account ID of the repository owner, repository namespace, and repository name. For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
|
|
604
|
-
*/
|
|
319
|
+
|
|
605
320
|
repositoryArn?: string;
|
|
606
|
-
|
|
607
|
-
* <p>The AWS account ID associated with the public registry that contains the
|
|
608
|
-
* repository.</p>
|
|
609
|
-
*/
|
|
321
|
+
|
|
610
322
|
registryId?: string;
|
|
611
|
-
|
|
612
|
-
* <p>The name of the repository.</p>
|
|
613
|
-
*/
|
|
323
|
+
|
|
614
324
|
repositoryName?: string;
|
|
615
|
-
|
|
616
|
-
* <p>The URI for the repository. You can use this URI for container image <code>push</code>
|
|
617
|
-
* and <code>pull</code> operations.</p>
|
|
618
|
-
*/
|
|
325
|
+
|
|
619
326
|
repositoryUri?: string;
|
|
620
|
-
|
|
621
|
-
* <p>The date and time, in JavaScript date format, when the repository was created.</p>
|
|
622
|
-
*/
|
|
327
|
+
|
|
623
328
|
createdAt?: Date;
|
|
624
329
|
}
|
|
625
330
|
export declare namespace Repository {
|
|
626
|
-
|
|
627
|
-
* @internal
|
|
628
|
-
*/
|
|
331
|
+
|
|
629
332
|
const filterSensitiveLog: (obj: Repository) => any;
|
|
630
333
|
}
|
|
631
334
|
export interface CreateRepositoryResponse {
|
|
632
|
-
|
|
633
|
-
* <p>The repository that was created.</p>
|
|
634
|
-
*/
|
|
335
|
+
|
|
635
336
|
repository?: Repository;
|
|
636
|
-
|
|
637
|
-
* <p>The catalog data for a repository. This data is publicly visible in the
|
|
638
|
-
* Amazon ECR Public Gallery.</p>
|
|
639
|
-
*/
|
|
337
|
+
|
|
640
338
|
catalogData?: RepositoryCatalogData;
|
|
641
339
|
}
|
|
642
340
|
export declare namespace CreateRepositoryResponse {
|
|
643
|
-
|
|
644
|
-
* @internal
|
|
645
|
-
*/
|
|
341
|
+
|
|
646
342
|
const filterSensitiveLog: (obj: CreateRepositoryResponse) => any;
|
|
647
343
|
}
|
|
648
|
-
|
|
649
|
-
* <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
650
|
-
*/
|
|
344
|
+
|
|
651
345
|
export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
|
|
652
346
|
name: "InvalidTagParameterException";
|
|
653
347
|
$fault: "client";
|
|
654
348
|
message?: string;
|
|
655
349
|
}
|
|
656
350
|
export declare namespace InvalidTagParameterException {
|
|
657
|
-
|
|
658
|
-
* @internal
|
|
659
|
-
*/
|
|
351
|
+
|
|
660
352
|
const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
|
|
661
353
|
}
|
|
662
|
-
|
|
663
|
-
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
664
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR Service Quotas</a> in the
|
|
665
|
-
* Amazon Elastic Container Registry User Guide.</p>
|
|
666
|
-
*/
|
|
354
|
+
|
|
667
355
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
668
356
|
name: "LimitExceededException";
|
|
669
357
|
$fault: "client";
|
|
670
358
|
message?: string;
|
|
671
359
|
}
|
|
672
360
|
export declare namespace LimitExceededException {
|
|
673
|
-
|
|
674
|
-
* @internal
|
|
675
|
-
*/
|
|
361
|
+
|
|
676
362
|
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
677
363
|
}
|
|
678
|
-
|
|
679
|
-
* <p>The specified repository already exists in the specified registry.</p>
|
|
680
|
-
*/
|
|
364
|
+
|
|
681
365
|
export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
682
366
|
name: "RepositoryAlreadyExistsException";
|
|
683
367
|
$fault: "client";
|
|
684
368
|
message?: string;
|
|
685
369
|
}
|
|
686
370
|
export declare namespace RepositoryAlreadyExistsException {
|
|
687
|
-
|
|
688
|
-
* @internal
|
|
689
|
-
*/
|
|
371
|
+
|
|
690
372
|
const filterSensitiveLog: (obj: RepositoryAlreadyExistsException) => any;
|
|
691
373
|
}
|
|
692
|
-
|
|
693
|
-
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
694
|
-
* can be applied to a repository is 50.</p>
|
|
695
|
-
*/
|
|
374
|
+
|
|
696
375
|
export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
|
|
697
376
|
name: "TooManyTagsException";
|
|
698
377
|
$fault: "client";
|
|
699
378
|
message?: string;
|
|
700
379
|
}
|
|
701
380
|
export declare namespace TooManyTagsException {
|
|
702
|
-
|
|
703
|
-
* @internal
|
|
704
|
-
*/
|
|
381
|
+
|
|
705
382
|
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
706
383
|
}
|
|
707
384
|
export interface DeleteRepositoryRequest {
|
|
708
|
-
|
|
709
|
-
* <p>The AWS account ID associated with the public registry that contains the repository to
|
|
710
|
-
* delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
711
|
-
*/
|
|
385
|
+
|
|
712
386
|
registryId?: string;
|
|
713
|
-
|
|
714
|
-
* <p>The name of the repository to delete.</p>
|
|
715
|
-
*/
|
|
387
|
+
|
|
716
388
|
repositoryName: string | undefined;
|
|
717
|
-
|
|
718
|
-
* <p> If a repository contains images, forces the deletion.</p>
|
|
719
|
-
*/
|
|
389
|
+
|
|
720
390
|
force?: boolean;
|
|
721
391
|
}
|
|
722
392
|
export declare namespace DeleteRepositoryRequest {
|
|
723
|
-
|
|
724
|
-
* @internal
|
|
725
|
-
*/
|
|
393
|
+
|
|
726
394
|
const filterSensitiveLog: (obj: DeleteRepositoryRequest) => any;
|
|
727
395
|
}
|
|
728
396
|
export interface DeleteRepositoryResponse {
|
|
729
|
-
|
|
730
|
-
* <p>The repository that was deleted.</p>
|
|
731
|
-
*/
|
|
397
|
+
|
|
732
398
|
repository?: Repository;
|
|
733
399
|
}
|
|
734
400
|
export declare namespace DeleteRepositoryResponse {
|
|
735
|
-
|
|
736
|
-
* @internal
|
|
737
|
-
*/
|
|
401
|
+
|
|
738
402
|
const filterSensitiveLog: (obj: DeleteRepositoryResponse) => any;
|
|
739
403
|
}
|
|
740
|
-
|
|
741
|
-
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
742
|
-
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
743
|
-
*/
|
|
404
|
+
|
|
744
405
|
export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
|
|
745
406
|
name: "RepositoryNotEmptyException";
|
|
746
407
|
$fault: "client";
|
|
747
408
|
message?: string;
|
|
748
409
|
}
|
|
749
410
|
export declare namespace RepositoryNotEmptyException {
|
|
750
|
-
|
|
751
|
-
* @internal
|
|
752
|
-
*/
|
|
411
|
+
|
|
753
412
|
const filterSensitiveLog: (obj: RepositoryNotEmptyException) => any;
|
|
754
413
|
}
|
|
755
414
|
export interface DeleteRepositoryPolicyRequest {
|
|
756
|
-
|
|
757
|
-
* <p>The AWS account ID associated with the public registry that contains the repository
|
|
758
|
-
* policy to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
759
|
-
*/
|
|
415
|
+
|
|
760
416
|
registryId?: string;
|
|
761
|
-
|
|
762
|
-
* <p>The name of the repository that is associated with the repository policy to
|
|
763
|
-
* delete.</p>
|
|
764
|
-
*/
|
|
417
|
+
|
|
765
418
|
repositoryName: string | undefined;
|
|
766
419
|
}
|
|
767
420
|
export declare namespace DeleteRepositoryPolicyRequest {
|
|
768
|
-
|
|
769
|
-
* @internal
|
|
770
|
-
*/
|
|
421
|
+
|
|
771
422
|
const filterSensitiveLog: (obj: DeleteRepositoryPolicyRequest) => any;
|
|
772
423
|
}
|
|
773
424
|
export interface DeleteRepositoryPolicyResponse {
|
|
774
|
-
|
|
775
|
-
* <p>The registry ID associated with the request.</p>
|
|
776
|
-
*/
|
|
425
|
+
|
|
777
426
|
registryId?: string;
|
|
778
|
-
|
|
779
|
-
* <p>The repository name associated with the request.</p>
|
|
780
|
-
*/
|
|
427
|
+
|
|
781
428
|
repositoryName?: string;
|
|
782
|
-
|
|
783
|
-
* <p>The JSON repository policy that was deleted from the repository.</p>
|
|
784
|
-
*/
|
|
429
|
+
|
|
785
430
|
policyText?: string;
|
|
786
431
|
}
|
|
787
432
|
export declare namespace DeleteRepositoryPolicyResponse {
|
|
788
|
-
|
|
789
|
-
* @internal
|
|
790
|
-
*/
|
|
433
|
+
|
|
791
434
|
const filterSensitiveLog: (obj: DeleteRepositoryPolicyResponse) => any;
|
|
792
435
|
}
|
|
793
|
-
|
|
794
|
-
* <p>The specified repository and registry combination does not have an associated repository
|
|
795
|
-
* policy.</p>
|
|
796
|
-
*/
|
|
436
|
+
|
|
797
437
|
export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
|
|
798
438
|
name: "RepositoryPolicyNotFoundException";
|
|
799
439
|
$fault: "client";
|
|
800
440
|
message?: string;
|
|
801
441
|
}
|
|
802
442
|
export declare namespace RepositoryPolicyNotFoundException {
|
|
803
|
-
|
|
804
|
-
* @internal
|
|
805
|
-
*/
|
|
443
|
+
|
|
806
444
|
const filterSensitiveLog: (obj: RepositoryPolicyNotFoundException) => any;
|
|
807
445
|
}
|
|
808
446
|
export interface DescribeImagesRequest {
|
|
809
|
-
|
|
810
|
-
* <p>The AWS account ID associated with the public registry that contains the repository in
|
|
811
|
-
* which to describe images. If you do not specify a registry, the default public registry is assumed.</p>
|
|
812
|
-
*/
|
|
447
|
+
|
|
813
448
|
registryId?: string;
|
|
814
|
-
|
|
815
|
-
* <p>The repository that contains the images to describe.</p>
|
|
816
|
-
*/
|
|
449
|
+
|
|
817
450
|
repositoryName: string | undefined;
|
|
818
|
-
|
|
819
|
-
* <p>The list of image IDs for the requested repository.</p>
|
|
820
|
-
*/
|
|
451
|
+
|
|
821
452
|
imageIds?: ImageIdentifier[];
|
|
822
|
-
|
|
823
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
824
|
-
* <code>DescribeImages</code> request where <code>maxResults</code> was used and the
|
|
825
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
826
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
827
|
-
* <code>null</code> when there are no more results to return. This option cannot be used
|
|
828
|
-
* when you specify images with <code>imageIds</code>.</p>
|
|
829
|
-
*/
|
|
453
|
+
|
|
830
454
|
nextToken?: string;
|
|
831
|
-
|
|
832
|
-
* <p>The maximum number of repository results returned by <code>DescribeImages</code> in
|
|
833
|
-
* paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
834
|
-
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
835
|
-
* response element. The remaining results of the initial request can be seen by sending
|
|
836
|
-
* another <code>DescribeImages</code> request with the returned <code>nextToken</code> value.
|
|
837
|
-
* This value can be between 1 and 1000. If this parameter is not
|
|
838
|
-
* used, then <code>DescribeImages</code> returns up to 100 results and a
|
|
839
|
-
* <code>nextToken</code> value, if applicable. This option cannot be used when you specify
|
|
840
|
-
* images with <code>imageIds</code>.</p>
|
|
841
|
-
*/
|
|
455
|
+
|
|
842
456
|
maxResults?: number;
|
|
843
457
|
}
|
|
844
458
|
export declare namespace DescribeImagesRequest {
|
|
845
|
-
|
|
846
|
-
* @internal
|
|
847
|
-
*/
|
|
459
|
+
|
|
848
460
|
const filterSensitiveLog: (obj: DescribeImagesRequest) => any;
|
|
849
461
|
}
|
|
850
|
-
|
|
851
|
-
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
852
|
-
* operation.</p>
|
|
853
|
-
*/
|
|
462
|
+
|
|
854
463
|
export interface ImageDetail {
|
|
855
|
-
|
|
856
|
-
* <p>The AWS account ID associated with the public registry to which this image
|
|
857
|
-
* belongs.</p>
|
|
858
|
-
*/
|
|
464
|
+
|
|
859
465
|
registryId?: string;
|
|
860
|
-
|
|
861
|
-
* <p>The name of the repository to which this image belongs.</p>
|
|
862
|
-
*/
|
|
466
|
+
|
|
863
467
|
repositoryName?: string;
|
|
864
|
-
|
|
865
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
866
|
-
*/
|
|
468
|
+
|
|
867
469
|
imageDigest?: string;
|
|
868
|
-
|
|
869
|
-
* <p>The list of tags associated with this image.</p>
|
|
870
|
-
*/
|
|
470
|
+
|
|
871
471
|
imageTags?: string[];
|
|
872
|
-
|
|
873
|
-
* <p>The size, in bytes, of the image in the repository.</p>
|
|
874
|
-
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
875
|
-
* list.</p>
|
|
876
|
-
* <note>
|
|
877
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
878
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
879
|
-
* command shows the uncompressed image size, so it may return a larger image size than the
|
|
880
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
881
|
-
* </note>
|
|
882
|
-
*/
|
|
472
|
+
|
|
883
473
|
imageSizeInBytes?: number;
|
|
884
|
-
|
|
885
|
-
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
886
|
-
* image was pushed to the repository. </p>
|
|
887
|
-
*/
|
|
474
|
+
|
|
888
475
|
imagePushedAt?: Date;
|
|
889
|
-
|
|
890
|
-
* <p>The media type of the image manifest.</p>
|
|
891
|
-
*/
|
|
476
|
+
|
|
892
477
|
imageManifestMediaType?: string;
|
|
893
|
-
|
|
894
|
-
* <p>The artifact media type of the image.</p>
|
|
895
|
-
*/
|
|
478
|
+
|
|
896
479
|
artifactMediaType?: string;
|
|
897
480
|
}
|
|
898
481
|
export declare namespace ImageDetail {
|
|
899
|
-
|
|
900
|
-
* @internal
|
|
901
|
-
*/
|
|
482
|
+
|
|
902
483
|
const filterSensitiveLog: (obj: ImageDetail) => any;
|
|
903
484
|
}
|
|
904
485
|
export interface DescribeImagesResponse {
|
|
905
|
-
|
|
906
|
-
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
907
|
-
* image.</p>
|
|
908
|
-
*/
|
|
486
|
+
|
|
909
487
|
imageDetails?: ImageDetail[];
|
|
910
|
-
|
|
911
|
-
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
912
|
-
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
913
|
-
* <code>maxResults</code>, this value can be used to retrieve the next page of results.
|
|
914
|
-
* This value is <code>null</code> when there are no more results to return.</p>
|
|
915
|
-
*/
|
|
488
|
+
|
|
916
489
|
nextToken?: string;
|
|
917
490
|
}
|
|
918
491
|
export declare namespace DescribeImagesResponse {
|
|
919
|
-
|
|
920
|
-
* @internal
|
|
921
|
-
*/
|
|
492
|
+
|
|
922
493
|
const filterSensitiveLog: (obj: DescribeImagesResponse) => any;
|
|
923
494
|
}
|
|
924
|
-
|
|
925
|
-
* <p>The image requested does not exist in the specified repository.</p>
|
|
926
|
-
*/
|
|
495
|
+
|
|
927
496
|
export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
|
|
928
497
|
name: "ImageNotFoundException";
|
|
929
498
|
$fault: "client";
|
|
930
499
|
message?: string;
|
|
931
500
|
}
|
|
932
501
|
export declare namespace ImageNotFoundException {
|
|
933
|
-
|
|
934
|
-
* @internal
|
|
935
|
-
*/
|
|
502
|
+
|
|
936
503
|
const filterSensitiveLog: (obj: ImageNotFoundException) => any;
|
|
937
504
|
}
|
|
938
505
|
export interface DescribeImageTagsRequest {
|
|
939
|
-
|
|
940
|
-
* <p>The AWS account ID associated with the public registry that contains the repository in
|
|
941
|
-
* which to describe images. If you do not specify a registry, the default public registry is assumed.</p>
|
|
942
|
-
*/
|
|
506
|
+
|
|
943
507
|
registryId?: string;
|
|
944
|
-
|
|
945
|
-
* <p>The name of the repository that contains the image tag details to describe.</p>
|
|
946
|
-
*/
|
|
508
|
+
|
|
947
509
|
repositoryName: string | undefined;
|
|
948
|
-
|
|
949
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
950
|
-
* <code>DescribeImageTags</code> request where <code>maxResults</code> was used and the
|
|
951
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
952
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
953
|
-
* <code>null</code> when there are no more results to return. This option cannot be used
|
|
954
|
-
* when you specify images with <code>imageIds</code>.</p>
|
|
955
|
-
*/
|
|
510
|
+
|
|
956
511
|
nextToken?: string;
|
|
957
|
-
|
|
958
|
-
* <p>The maximum number of repository results returned by <code>DescribeImageTags</code> in
|
|
959
|
-
* paginated output. When this parameter is used, <code>DescribeImageTags</code> only returns
|
|
960
|
-
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
961
|
-
* response element. The remaining results of the initial request can be seen by sending
|
|
962
|
-
* another <code>DescribeImageTags</code> request with the returned <code>nextToken</code>
|
|
963
|
-
* value. This value can be between 1 and 1000. If this parameter
|
|
964
|
-
* is not used, then <code>DescribeImageTags</code> returns up to 100
|
|
965
|
-
* results and a <code>nextToken</code> value, if applicable. This option cannot be used when
|
|
966
|
-
* you specify images with <code>imageIds</code>.</p>
|
|
967
|
-
*/
|
|
512
|
+
|
|
968
513
|
maxResults?: number;
|
|
969
514
|
}
|
|
970
515
|
export declare namespace DescribeImageTagsRequest {
|
|
971
|
-
|
|
972
|
-
* @internal
|
|
973
|
-
*/
|
|
516
|
+
|
|
974
517
|
const filterSensitiveLog: (obj: DescribeImageTagsRequest) => any;
|
|
975
518
|
}
|
|
976
|
-
|
|
977
|
-
* <p>An object that describes the image tag details returned by a <a>DescribeImageTags</a> action.</p>
|
|
978
|
-
*/
|
|
519
|
+
|
|
979
520
|
export interface ReferencedImageDetail {
|
|
980
|
-
|
|
981
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
982
|
-
*/
|
|
521
|
+
|
|
983
522
|
imageDigest?: string;
|
|
984
|
-
|
|
985
|
-
* <p>The size, in bytes, of the image in the repository.</p>
|
|
986
|
-
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
987
|
-
* list.</p>
|
|
988
|
-
* <note>
|
|
989
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
990
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
991
|
-
* command shows the uncompressed image size, so it may return a larger image size than the
|
|
992
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
993
|
-
* </note>
|
|
994
|
-
*/
|
|
523
|
+
|
|
995
524
|
imageSizeInBytes?: number;
|
|
996
|
-
|
|
997
|
-
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
998
|
-
* image tag was pushed to the repository.</p>
|
|
999
|
-
*/
|
|
525
|
+
|
|
1000
526
|
imagePushedAt?: Date;
|
|
1001
|
-
|
|
1002
|
-
* <p>The media type of the image manifest.</p>
|
|
1003
|
-
*/
|
|
527
|
+
|
|
1004
528
|
imageManifestMediaType?: string;
|
|
1005
|
-
|
|
1006
|
-
* <p>The artifact media type of the image.</p>
|
|
1007
|
-
*/
|
|
529
|
+
|
|
1008
530
|
artifactMediaType?: string;
|
|
1009
531
|
}
|
|
1010
532
|
export declare namespace ReferencedImageDetail {
|
|
1011
|
-
|
|
1012
|
-
* @internal
|
|
1013
|
-
*/
|
|
533
|
+
|
|
1014
534
|
const filterSensitiveLog: (obj: ReferencedImageDetail) => any;
|
|
1015
535
|
}
|
|
1016
|
-
|
|
1017
|
-
* <p>An object representing the image tag details for an image.</p>
|
|
1018
|
-
*/
|
|
536
|
+
|
|
1019
537
|
export interface ImageTagDetail {
|
|
1020
|
-
|
|
1021
|
-
* <p>The tag associated with the image.</p>
|
|
1022
|
-
*/
|
|
538
|
+
|
|
1023
539
|
imageTag?: string;
|
|
1024
|
-
|
|
1025
|
-
* <p>The time stamp indicating when the image tag was created.</p>
|
|
1026
|
-
*/
|
|
540
|
+
|
|
1027
541
|
createdAt?: Date;
|
|
1028
|
-
|
|
1029
|
-
* <p>An object that describes the details of an image.</p>
|
|
1030
|
-
*/
|
|
542
|
+
|
|
1031
543
|
imageDetail?: ReferencedImageDetail;
|
|
1032
544
|
}
|
|
1033
545
|
export declare namespace ImageTagDetail {
|
|
1034
|
-
|
|
1035
|
-
* @internal
|
|
1036
|
-
*/
|
|
546
|
+
|
|
1037
547
|
const filterSensitiveLog: (obj: ImageTagDetail) => any;
|
|
1038
548
|
}
|
|
1039
549
|
export interface DescribeImageTagsResponse {
|
|
1040
|
-
|
|
1041
|
-
* <p>The image tag details for the images in the requested repository.</p>
|
|
1042
|
-
*/
|
|
550
|
+
|
|
1043
551
|
imageTagDetails?: ImageTagDetail[];
|
|
1044
|
-
|
|
1045
|
-
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImageTags</code>
|
|
1046
|
-
* request. When the results of a <code>DescribeImageTags</code> request exceed
|
|
1047
|
-
* <code>maxResults</code>, this value can be used to retrieve the next page of results.
|
|
1048
|
-
* This value is <code>null</code> when there are no more results to return.</p>
|
|
1049
|
-
*/
|
|
552
|
+
|
|
1050
553
|
nextToken?: string;
|
|
1051
554
|
}
|
|
1052
555
|
export declare namespace DescribeImageTagsResponse {
|
|
1053
|
-
|
|
1054
|
-
* @internal
|
|
1055
|
-
*/
|
|
556
|
+
|
|
1056
557
|
const filterSensitiveLog: (obj: DescribeImageTagsResponse) => any;
|
|
1057
558
|
}
|
|
1058
559
|
export interface DescribeRegistriesRequest {
|
|
1059
|
-
|
|
1060
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1061
|
-
* <code>DescribeRegistries</code> request where <code>maxResults</code> was used and the
|
|
1062
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
1063
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
1064
|
-
* <code>null</code> when there are no more results to return.</p>
|
|
1065
|
-
* <note>
|
|
1066
|
-
* <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
1067
|
-
* </note>
|
|
1068
|
-
*/
|
|
560
|
+
|
|
1069
561
|
nextToken?: string;
|
|
1070
|
-
|
|
1071
|
-
* <p>The maximum number of repository results returned by <code>DescribeRegistries</code> in
|
|
1072
|
-
* paginated output. When this parameter is used, <code>DescribeRegistries</code> only returns
|
|
1073
|
-
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
1074
|
-
* response element. The remaining results of the initial request can be seen by sending
|
|
1075
|
-
* another <code>DescribeRegistries</code> request with the returned <code>nextToken</code>
|
|
1076
|
-
* value. This value can be between 1 and 1000. If this parameter
|
|
1077
|
-
* is not used, then <code>DescribeRegistries</code> returns up to 100
|
|
1078
|
-
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
1079
|
-
*/
|
|
562
|
+
|
|
1080
563
|
maxResults?: number;
|
|
1081
564
|
}
|
|
1082
565
|
export declare namespace DescribeRegistriesRequest {
|
|
1083
|
-
|
|
1084
|
-
* @internal
|
|
1085
|
-
*/
|
|
566
|
+
|
|
1086
567
|
const filterSensitiveLog: (obj: DescribeRegistriesRequest) => any;
|
|
1087
568
|
}
|
|
1088
569
|
export declare enum RegistryAliasStatus {
|
|
@@ -1090,747 +571,419 @@ export declare enum RegistryAliasStatus {
|
|
|
1090
571
|
PENDING = "PENDING",
|
|
1091
572
|
REJECTED = "REJECTED"
|
|
1092
573
|
}
|
|
1093
|
-
|
|
1094
|
-
* <p>An object representing the aliases for a public registry. A public registry is given an
|
|
1095
|
-
* alias upon creation but a custom alias can be set using the Amazon ECR console. For more
|
|
1096
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html">Registries</a> in the
|
|
1097
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1098
|
-
*/
|
|
574
|
+
|
|
1099
575
|
export interface RegistryAlias {
|
|
1100
|
-
|
|
1101
|
-
* <p>The name of the registry alias.</p>
|
|
1102
|
-
*/
|
|
576
|
+
|
|
1103
577
|
name: string | undefined;
|
|
1104
|
-
|
|
1105
|
-
* <p>The status of the registry alias.</p>
|
|
1106
|
-
*/
|
|
578
|
+
|
|
1107
579
|
status: RegistryAliasStatus | string | undefined;
|
|
1108
|
-
|
|
1109
|
-
* <p>Whether or not the registry alias is the primary alias for the registry. If true, the
|
|
1110
|
-
* alias is the primary registry alias and is displayed in both the repository URL and the
|
|
1111
|
-
* image URI used in the <code>docker pull</code> commands on the Amazon ECR Public Gallery.</p>
|
|
1112
|
-
* <note>
|
|
1113
|
-
* <p>A registry alias that is not the primary registry alias can be used in the repository
|
|
1114
|
-
* URI in a <code>docker pull</code> command.</p>
|
|
1115
|
-
* </note>
|
|
1116
|
-
*/
|
|
580
|
+
|
|
1117
581
|
primaryRegistryAlias: boolean | undefined;
|
|
1118
|
-
|
|
1119
|
-
* <p>Whether or not the registry alias is the default alias for the registry. When the first
|
|
1120
|
-
* public repository is created, your public registry is assigned a default registry
|
|
1121
|
-
* alias.</p>
|
|
1122
|
-
*/
|
|
582
|
+
|
|
1123
583
|
defaultRegistryAlias: boolean | undefined;
|
|
1124
584
|
}
|
|
1125
585
|
export declare namespace RegistryAlias {
|
|
1126
|
-
|
|
1127
|
-
* @internal
|
|
1128
|
-
*/
|
|
586
|
+
|
|
1129
587
|
const filterSensitiveLog: (obj: RegistryAlias) => any;
|
|
1130
588
|
}
|
|
1131
|
-
|
|
1132
|
-
* <p>The details of a public registry.</p>
|
|
1133
|
-
*/
|
|
589
|
+
|
|
1134
590
|
export interface Registry {
|
|
1135
|
-
|
|
1136
|
-
* <p>The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1137
|
-
*/
|
|
591
|
+
|
|
1138
592
|
registryId: string | undefined;
|
|
1139
|
-
|
|
1140
|
-
* <p>The Amazon Resource Name (ARN) of the public registry.</p>
|
|
1141
|
-
*/
|
|
593
|
+
|
|
1142
594
|
registryArn: string | undefined;
|
|
1143
|
-
|
|
1144
|
-
* <p>The URI of a public registry. The URI contains a universal prefix and the registry
|
|
1145
|
-
* alias.</p>
|
|
1146
|
-
*/
|
|
595
|
+
|
|
1147
596
|
registryUri: string | undefined;
|
|
1148
|
-
|
|
1149
|
-
* <p>Whether the account is verified. This indicates whether the account is an AWS
|
|
1150
|
-
* Marketplace vendor. If an account is verified, each public repository will received a
|
|
1151
|
-
* verified account badge on the Amazon ECR Public Gallery.</p>
|
|
1152
|
-
*/
|
|
597
|
+
|
|
1153
598
|
verified: boolean | undefined;
|
|
1154
|
-
|
|
1155
|
-
* <p>An array of objects representing the aliases for a public registry.</p>
|
|
1156
|
-
*/
|
|
599
|
+
|
|
1157
600
|
aliases: RegistryAlias[] | undefined;
|
|
1158
601
|
}
|
|
1159
602
|
export declare namespace Registry {
|
|
1160
|
-
|
|
1161
|
-
* @internal
|
|
1162
|
-
*/
|
|
603
|
+
|
|
1163
604
|
const filterSensitiveLog: (obj: Registry) => any;
|
|
1164
605
|
}
|
|
1165
606
|
export interface DescribeRegistriesResponse {
|
|
1166
|
-
|
|
1167
|
-
* <p>An object containing the details for a public registry.</p>
|
|
1168
|
-
*/
|
|
607
|
+
|
|
1169
608
|
registries: Registry[] | undefined;
|
|
1170
|
-
|
|
1171
|
-
* <p>The <code>nextToken</code> value to include in a future
|
|
1172
|
-
* <code>DescribeRepositories</code> request. When the results of a
|
|
1173
|
-
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
|
|
1174
|
-
* be used to retrieve the next page of results. This value is <code>null</code> when there
|
|
1175
|
-
* are no more results to return.</p>
|
|
1176
|
-
*/
|
|
609
|
+
|
|
1177
610
|
nextToken?: string;
|
|
1178
611
|
}
|
|
1179
612
|
export declare namespace DescribeRegistriesResponse {
|
|
1180
|
-
|
|
1181
|
-
* @internal
|
|
1182
|
-
*/
|
|
613
|
+
|
|
1183
614
|
const filterSensitiveLog: (obj: DescribeRegistriesResponse) => any;
|
|
1184
615
|
}
|
|
1185
616
|
export interface DescribeRepositoriesRequest {
|
|
1186
|
-
|
|
1187
|
-
* <p>The AWS account ID associated with the registry that contains the repositories to be
|
|
1188
|
-
* described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1189
|
-
*/
|
|
617
|
+
|
|
1190
618
|
registryId?: string;
|
|
1191
|
-
|
|
1192
|
-
* <p>A list of repositories to describe. If this parameter is omitted, then all repositories
|
|
1193
|
-
* in a registry are described.</p>
|
|
1194
|
-
*/
|
|
619
|
+
|
|
1195
620
|
repositoryNames?: string[];
|
|
1196
|
-
|
|
1197
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1198
|
-
* <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the
|
|
1199
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
1200
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
1201
|
-
* <code>null</code> when there are no more results to return. This option cannot be used
|
|
1202
|
-
* when you specify repositories with <code>repositoryNames</code>.</p>
|
|
1203
|
-
* <note>
|
|
1204
|
-
* <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
1205
|
-
* </note>
|
|
1206
|
-
*/
|
|
621
|
+
|
|
1207
622
|
nextToken?: string;
|
|
1208
|
-
|
|
1209
|
-
* <p>The maximum number of repository results returned by <code>DescribeRepositories</code>
|
|
1210
|
-
* in paginated output. When this parameter is used, <code>DescribeRepositories</code> only
|
|
1211
|
-
* returns <code>maxResults</code> results in a single page along with a
|
|
1212
|
-
* <code>nextToken</code> response element. The remaining results of the initial request
|
|
1213
|
-
* can be seen by sending another <code>DescribeRepositories</code> request with the returned
|
|
1214
|
-
* <code>nextToken</code> value. This value can be between 1 and
|
|
1215
|
-
* 1000. If this parameter is not used, then <code>DescribeRepositories</code>
|
|
1216
|
-
* returns up to 100 results and a <code>nextToken</code> value, if
|
|
1217
|
-
* applicable. This option cannot be used when you specify repositories with
|
|
1218
|
-
* <code>repositoryNames</code>.</p>
|
|
1219
|
-
*/
|
|
623
|
+
|
|
1220
624
|
maxResults?: number;
|
|
1221
625
|
}
|
|
1222
626
|
export declare namespace DescribeRepositoriesRequest {
|
|
1223
|
-
|
|
1224
|
-
* @internal
|
|
1225
|
-
*/
|
|
627
|
+
|
|
1226
628
|
const filterSensitiveLog: (obj: DescribeRepositoriesRequest) => any;
|
|
1227
629
|
}
|
|
1228
630
|
export interface DescribeRepositoriesResponse {
|
|
1229
|
-
|
|
1230
|
-
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
1231
|
-
*/
|
|
631
|
+
|
|
1232
632
|
repositories?: Repository[];
|
|
1233
|
-
|
|
1234
|
-
* <p>The <code>nextToken</code> value to include in a future
|
|
1235
|
-
* <code>DescribeRepositories</code> request. When the results of a
|
|
1236
|
-
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
|
|
1237
|
-
* be used to retrieve the next page of results. This value is <code>null</code> when there
|
|
1238
|
-
* are no more results to return.</p>
|
|
1239
|
-
*/
|
|
633
|
+
|
|
1240
634
|
nextToken?: string;
|
|
1241
635
|
}
|
|
1242
636
|
export declare namespace DescribeRepositoriesResponse {
|
|
1243
|
-
|
|
1244
|
-
* @internal
|
|
1245
|
-
*/
|
|
637
|
+
|
|
1246
638
|
const filterSensitiveLog: (obj: DescribeRepositoriesResponse) => any;
|
|
1247
639
|
}
|
|
1248
640
|
export interface GetAuthorizationTokenRequest {
|
|
1249
641
|
}
|
|
1250
642
|
export declare namespace GetAuthorizationTokenRequest {
|
|
1251
|
-
|
|
1252
|
-
* @internal
|
|
1253
|
-
*/
|
|
643
|
+
|
|
1254
644
|
const filterSensitiveLog: (obj: GetAuthorizationTokenRequest) => any;
|
|
1255
645
|
}
|
|
1256
646
|
export interface GetAuthorizationTokenResponse {
|
|
1257
|
-
|
|
1258
|
-
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
1259
|
-
*/
|
|
647
|
+
|
|
1260
648
|
authorizationData?: AuthorizationData;
|
|
1261
649
|
}
|
|
1262
650
|
export declare namespace GetAuthorizationTokenResponse {
|
|
1263
|
-
|
|
1264
|
-
* @internal
|
|
1265
|
-
*/
|
|
651
|
+
|
|
1266
652
|
const filterSensitiveLog: (obj: GetAuthorizationTokenResponse) => any;
|
|
1267
653
|
}
|
|
1268
654
|
export interface GetRegistryCatalogDataRequest {
|
|
1269
655
|
}
|
|
1270
656
|
export declare namespace GetRegistryCatalogDataRequest {
|
|
1271
|
-
|
|
1272
|
-
* @internal
|
|
1273
|
-
*/
|
|
657
|
+
|
|
1274
658
|
const filterSensitiveLog: (obj: GetRegistryCatalogDataRequest) => any;
|
|
1275
659
|
}
|
|
1276
|
-
|
|
1277
|
-
* <p>The metadata for a public registry.</p>
|
|
1278
|
-
*/
|
|
660
|
+
|
|
1279
661
|
export interface RegistryCatalogData {
|
|
1280
|
-
|
|
1281
|
-
* <p>The display name for a public registry. This appears on the Amazon ECR Public Gallery.</p>
|
|
1282
|
-
* <important>
|
|
1283
|
-
* <p>Only accounts that have the verified account badge can have a registry display
|
|
1284
|
-
* name.</p>
|
|
1285
|
-
* </important>
|
|
1286
|
-
*/
|
|
662
|
+
|
|
1287
663
|
displayName?: string;
|
|
1288
664
|
}
|
|
1289
665
|
export declare namespace RegistryCatalogData {
|
|
1290
|
-
|
|
1291
|
-
* @internal
|
|
1292
|
-
*/
|
|
666
|
+
|
|
1293
667
|
const filterSensitiveLog: (obj: RegistryCatalogData) => any;
|
|
1294
668
|
}
|
|
1295
669
|
export interface GetRegistryCatalogDataResponse {
|
|
1296
|
-
|
|
1297
|
-
* <p>The catalog metadata for the public registry.</p>
|
|
1298
|
-
*/
|
|
670
|
+
|
|
1299
671
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
1300
672
|
}
|
|
1301
673
|
export declare namespace GetRegistryCatalogDataResponse {
|
|
1302
|
-
|
|
1303
|
-
* @internal
|
|
1304
|
-
*/
|
|
674
|
+
|
|
1305
675
|
const filterSensitiveLog: (obj: GetRegistryCatalogDataResponse) => any;
|
|
1306
676
|
}
|
|
1307
677
|
export interface GetRepositoryCatalogDataRequest {
|
|
1308
|
-
|
|
1309
|
-
* <p>The AWS account ID associated with the registry that contains the repositories to be
|
|
1310
|
-
* described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1311
|
-
*/
|
|
678
|
+
|
|
1312
679
|
registryId?: string;
|
|
1313
|
-
|
|
1314
|
-
* <p>The name of the repository to retrieve the catalog metadata for.</p>
|
|
1315
|
-
*/
|
|
680
|
+
|
|
1316
681
|
repositoryName: string | undefined;
|
|
1317
682
|
}
|
|
1318
683
|
export declare namespace GetRepositoryCatalogDataRequest {
|
|
1319
|
-
|
|
1320
|
-
* @internal
|
|
1321
|
-
*/
|
|
684
|
+
|
|
1322
685
|
const filterSensitiveLog: (obj: GetRepositoryCatalogDataRequest) => any;
|
|
1323
686
|
}
|
|
1324
687
|
export interface GetRepositoryCatalogDataResponse {
|
|
1325
|
-
|
|
1326
|
-
* <p>The catalog metadata for the repository.</p>
|
|
1327
|
-
*/
|
|
688
|
+
|
|
1328
689
|
catalogData?: RepositoryCatalogData;
|
|
1329
690
|
}
|
|
1330
691
|
export declare namespace GetRepositoryCatalogDataResponse {
|
|
1331
|
-
|
|
1332
|
-
* @internal
|
|
1333
|
-
*/
|
|
692
|
+
|
|
1334
693
|
const filterSensitiveLog: (obj: GetRepositoryCatalogDataResponse) => any;
|
|
1335
694
|
}
|
|
1336
695
|
export interface GetRepositoryPolicyRequest {
|
|
1337
|
-
|
|
1338
|
-
* <p>The AWS account ID associated with the public registry that contains the repository.
|
|
1339
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1340
|
-
*/
|
|
696
|
+
|
|
1341
697
|
registryId?: string;
|
|
1342
|
-
|
|
1343
|
-
* <p>The name of the repository with the policy to retrieve.</p>
|
|
1344
|
-
*/
|
|
698
|
+
|
|
1345
699
|
repositoryName: string | undefined;
|
|
1346
700
|
}
|
|
1347
701
|
export declare namespace GetRepositoryPolicyRequest {
|
|
1348
|
-
|
|
1349
|
-
* @internal
|
|
1350
|
-
*/
|
|
702
|
+
|
|
1351
703
|
const filterSensitiveLog: (obj: GetRepositoryPolicyRequest) => any;
|
|
1352
704
|
}
|
|
1353
705
|
export interface GetRepositoryPolicyResponse {
|
|
1354
|
-
|
|
1355
|
-
* <p>The registry ID associated with the request.</p>
|
|
1356
|
-
*/
|
|
706
|
+
|
|
1357
707
|
registryId?: string;
|
|
1358
|
-
|
|
1359
|
-
* <p>The repository name associated with the request.</p>
|
|
1360
|
-
*/
|
|
708
|
+
|
|
1361
709
|
repositoryName?: string;
|
|
1362
|
-
|
|
1363
|
-
* <p>The repository policy text associated with the repository. The policy text will be in
|
|
1364
|
-
* JSON format.</p>
|
|
1365
|
-
*/
|
|
710
|
+
|
|
1366
711
|
policyText?: string;
|
|
1367
712
|
}
|
|
1368
713
|
export declare namespace GetRepositoryPolicyResponse {
|
|
1369
|
-
|
|
1370
|
-
* @internal
|
|
1371
|
-
*/
|
|
714
|
+
|
|
1372
715
|
const filterSensitiveLog: (obj: GetRepositoryPolicyResponse) => any;
|
|
1373
716
|
}
|
|
1374
|
-
|
|
1375
|
-
* <p>An object representing an Amazon ECR image.</p>
|
|
1376
|
-
*/
|
|
717
|
+
|
|
1377
718
|
export interface Image {
|
|
1378
|
-
|
|
1379
|
-
* <p>The AWS account ID associated with the registry containing the image.</p>
|
|
1380
|
-
*/
|
|
719
|
+
|
|
1381
720
|
registryId?: string;
|
|
1382
|
-
|
|
1383
|
-
* <p>The name of the repository associated with the image.</p>
|
|
1384
|
-
*/
|
|
721
|
+
|
|
1385
722
|
repositoryName?: string;
|
|
1386
|
-
|
|
1387
|
-
* <p>An object containing the image tag and image digest associated with an image.</p>
|
|
1388
|
-
*/
|
|
723
|
+
|
|
1389
724
|
imageId?: ImageIdentifier;
|
|
1390
|
-
|
|
1391
|
-
* <p>The image manifest associated with the image.</p>
|
|
1392
|
-
*/
|
|
725
|
+
|
|
1393
726
|
imageManifest?: string;
|
|
1394
|
-
|
|
1395
|
-
* <p>The manifest media type of the image.</p>
|
|
1396
|
-
*/
|
|
727
|
+
|
|
1397
728
|
imageManifestMediaType?: string;
|
|
1398
729
|
}
|
|
1399
730
|
export declare namespace Image {
|
|
1400
|
-
|
|
1401
|
-
* @internal
|
|
1402
|
-
*/
|
|
731
|
+
|
|
1403
732
|
const filterSensitiveLog: (obj: Image) => any;
|
|
1404
733
|
}
|
|
1405
|
-
|
|
1406
|
-
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
1407
|
-
* or image tag after the last push.</p>
|
|
1408
|
-
*/
|
|
734
|
+
|
|
1409
735
|
export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
1410
736
|
name: "ImageAlreadyExistsException";
|
|
1411
737
|
$fault: "client";
|
|
1412
738
|
message?: string;
|
|
1413
739
|
}
|
|
1414
740
|
export declare namespace ImageAlreadyExistsException {
|
|
1415
|
-
|
|
1416
|
-
* @internal
|
|
1417
|
-
*/
|
|
741
|
+
|
|
1418
742
|
const filterSensitiveLog: (obj: ImageAlreadyExistsException) => any;
|
|
1419
743
|
}
|
|
1420
|
-
|
|
1421
|
-
* <p>The specified image digest does not match the digest that Amazon ECR calculated for the
|
|
1422
|
-
* image.</p>
|
|
1423
|
-
*/
|
|
744
|
+
|
|
1424
745
|
export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
|
|
1425
746
|
name: "ImageDigestDoesNotMatchException";
|
|
1426
747
|
$fault: "client";
|
|
1427
748
|
message?: string;
|
|
1428
749
|
}
|
|
1429
750
|
export declare namespace ImageDigestDoesNotMatchException {
|
|
1430
|
-
|
|
1431
|
-
* @internal
|
|
1432
|
-
*/
|
|
751
|
+
|
|
1433
752
|
const filterSensitiveLog: (obj: ImageDigestDoesNotMatchException) => any;
|
|
1434
753
|
}
|
|
1435
|
-
|
|
1436
|
-
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
1437
|
-
* configured for tag immutability.</p>
|
|
1438
|
-
*/
|
|
754
|
+
|
|
1439
755
|
export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
1440
756
|
name: "ImageTagAlreadyExistsException";
|
|
1441
757
|
$fault: "client";
|
|
1442
758
|
message?: string;
|
|
1443
759
|
}
|
|
1444
760
|
export declare namespace ImageTagAlreadyExistsException {
|
|
1445
|
-
|
|
1446
|
-
* @internal
|
|
1447
|
-
*/
|
|
761
|
+
|
|
1448
762
|
const filterSensitiveLog: (obj: ImageTagAlreadyExistsException) => any;
|
|
1449
763
|
}
|
|
1450
764
|
export interface InitiateLayerUploadRequest {
|
|
1451
|
-
|
|
1452
|
-
* <p>The AWS account ID associated with the registry to which you intend to upload layers.
|
|
1453
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1454
|
-
*/
|
|
765
|
+
|
|
1455
766
|
registryId?: string;
|
|
1456
|
-
|
|
1457
|
-
* <p>The name of the repository to which you intend to upload layers.</p>
|
|
1458
|
-
*/
|
|
767
|
+
|
|
1459
768
|
repositoryName: string | undefined;
|
|
1460
769
|
}
|
|
1461
770
|
export declare namespace InitiateLayerUploadRequest {
|
|
1462
|
-
|
|
1463
|
-
* @internal
|
|
1464
|
-
*/
|
|
771
|
+
|
|
1465
772
|
const filterSensitiveLog: (obj: InitiateLayerUploadRequest) => any;
|
|
1466
773
|
}
|
|
1467
774
|
export interface InitiateLayerUploadResponse {
|
|
1468
|
-
|
|
1469
|
-
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a> operations.</p>
|
|
1470
|
-
*/
|
|
775
|
+
|
|
1471
776
|
uploadId?: string;
|
|
1472
|
-
|
|
1473
|
-
* <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
|
|
1474
|
-
*/
|
|
777
|
+
|
|
1475
778
|
partSize?: number;
|
|
1476
779
|
}
|
|
1477
780
|
export declare namespace InitiateLayerUploadResponse {
|
|
1478
|
-
|
|
1479
|
-
* @internal
|
|
1480
|
-
*/
|
|
781
|
+
|
|
1481
782
|
const filterSensitiveLog: (obj: InitiateLayerUploadResponse) => any;
|
|
1482
783
|
}
|
|
1483
|
-
|
|
1484
|
-
* <p>The layer part size is not valid, or the first byte specified is not consecutive to the
|
|
1485
|
-
* last byte of a previous layer part upload.</p>
|
|
1486
|
-
*/
|
|
784
|
+
|
|
1487
785
|
export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
|
|
1488
786
|
name: "InvalidLayerPartException";
|
|
1489
787
|
$fault: "client";
|
|
1490
|
-
|
|
1491
|
-
* <p>The AWS account ID associated with the layer part.</p>
|
|
1492
|
-
*/
|
|
788
|
+
|
|
1493
789
|
registryId?: string;
|
|
1494
|
-
|
|
1495
|
-
* <p>The name of the repository.</p>
|
|
1496
|
-
*/
|
|
790
|
+
|
|
1497
791
|
repositoryName?: string;
|
|
1498
|
-
|
|
1499
|
-
* <p>The upload ID associated with the layer part.</p>
|
|
1500
|
-
*/
|
|
792
|
+
|
|
1501
793
|
uploadId?: string;
|
|
1502
|
-
|
|
1503
|
-
* <p>The position of the last byte of the layer part.</p>
|
|
1504
|
-
*/
|
|
794
|
+
|
|
1505
795
|
lastValidByteReceived?: number;
|
|
1506
796
|
message?: string;
|
|
1507
797
|
}
|
|
1508
798
|
export declare namespace InvalidLayerPartException {
|
|
1509
|
-
|
|
1510
|
-
* @internal
|
|
1511
|
-
*/
|
|
799
|
+
|
|
1512
800
|
const filterSensitiveLog: (obj: InvalidLayerPartException) => any;
|
|
1513
801
|
}
|
|
1514
|
-
|
|
1515
|
-
* <p>The specified layers could not be found, or the specified layer is not valid for this
|
|
1516
|
-
* repository.</p>
|
|
1517
|
-
*/
|
|
802
|
+
|
|
1518
803
|
export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1519
804
|
name: "LayersNotFoundException";
|
|
1520
805
|
$fault: "client";
|
|
1521
806
|
message?: string;
|
|
1522
807
|
}
|
|
1523
808
|
export declare namespace LayersNotFoundException {
|
|
1524
|
-
|
|
1525
|
-
* @internal
|
|
1526
|
-
*/
|
|
809
|
+
|
|
1527
810
|
const filterSensitiveLog: (obj: LayersNotFoundException) => any;
|
|
1528
811
|
}
|
|
1529
812
|
export interface ListTagsForResourceRequest {
|
|
1530
|
-
|
|
1531
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
|
|
1532
|
-
* supported resource is an Amazon ECR Public repository.</p>
|
|
1533
|
-
*/
|
|
813
|
+
|
|
1534
814
|
resourceArn: string | undefined;
|
|
1535
815
|
}
|
|
1536
816
|
export declare namespace ListTagsForResourceRequest {
|
|
1537
|
-
|
|
1538
|
-
* @internal
|
|
1539
|
-
*/
|
|
817
|
+
|
|
1540
818
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1541
819
|
}
|
|
1542
820
|
export interface ListTagsForResourceResponse {
|
|
1543
|
-
|
|
1544
|
-
* <p>The tags for the resource.</p>
|
|
1545
|
-
*/
|
|
821
|
+
|
|
1546
822
|
tags?: Tag[];
|
|
1547
823
|
}
|
|
1548
824
|
export declare namespace ListTagsForResourceResponse {
|
|
1549
|
-
|
|
1550
|
-
* @internal
|
|
1551
|
-
*/
|
|
825
|
+
|
|
1552
826
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1553
827
|
}
|
|
1554
828
|
export interface PutImageRequest {
|
|
1555
|
-
|
|
1556
|
-
* <p>The AWS account ID associated with the public registry that contains the repository in
|
|
1557
|
-
* which to put the image. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1558
|
-
*/
|
|
829
|
+
|
|
1559
830
|
registryId?: string;
|
|
1560
|
-
|
|
1561
|
-
* <p>The name of the repository in which to put the image.</p>
|
|
1562
|
-
*/
|
|
831
|
+
|
|
1563
832
|
repositoryName: string | undefined;
|
|
1564
|
-
|
|
1565
|
-
* <p>The image manifest corresponding to the image to be uploaded.</p>
|
|
1566
|
-
*/
|
|
833
|
+
|
|
1567
834
|
imageManifest: string | undefined;
|
|
1568
|
-
|
|
1569
|
-
* <p>The media type of the image manifest. If you push an image manifest that does not
|
|
1570
|
-
* contain the <code>mediaType</code> field, you must specify the
|
|
1571
|
-
* <code>imageManifestMediaType</code> in the request.</p>
|
|
1572
|
-
*/
|
|
835
|
+
|
|
1573
836
|
imageManifestMediaType?: string;
|
|
1574
|
-
|
|
1575
|
-
* <p>The tag to associate with the image. This parameter is required for images that use the
|
|
1576
|
-
* Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
|
|
1577
|
-
*/
|
|
837
|
+
|
|
1578
838
|
imageTag?: string;
|
|
1579
|
-
|
|
1580
|
-
* <p>The image digest of the image manifest corresponding to the image.</p>
|
|
1581
|
-
*/
|
|
839
|
+
|
|
1582
840
|
imageDigest?: string;
|
|
1583
841
|
}
|
|
1584
842
|
export declare namespace PutImageRequest {
|
|
1585
|
-
|
|
1586
|
-
* @internal
|
|
1587
|
-
*/
|
|
843
|
+
|
|
1588
844
|
const filterSensitiveLog: (obj: PutImageRequest) => any;
|
|
1589
845
|
}
|
|
1590
846
|
export interface PutImageResponse {
|
|
1591
|
-
|
|
1592
|
-
* <p>Details of the image uploaded.</p>
|
|
1593
|
-
*/
|
|
847
|
+
|
|
1594
848
|
image?: Image;
|
|
1595
849
|
}
|
|
1596
850
|
export declare namespace PutImageResponse {
|
|
1597
|
-
|
|
1598
|
-
* @internal
|
|
1599
|
-
*/
|
|
851
|
+
|
|
1600
852
|
const filterSensitiveLog: (obj: PutImageResponse) => any;
|
|
1601
853
|
}
|
|
1602
|
-
|
|
1603
|
-
* <p>The manifest list is referencing an image that does not exist.</p>
|
|
1604
|
-
*/
|
|
854
|
+
|
|
1605
855
|
export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1606
856
|
name: "ReferencedImagesNotFoundException";
|
|
1607
857
|
$fault: "client";
|
|
1608
858
|
message?: string;
|
|
1609
859
|
}
|
|
1610
860
|
export declare namespace ReferencedImagesNotFoundException {
|
|
1611
|
-
|
|
1612
|
-
* @internal
|
|
1613
|
-
*/
|
|
861
|
+
|
|
1614
862
|
const filterSensitiveLog: (obj: ReferencedImagesNotFoundException) => any;
|
|
1615
863
|
}
|
|
1616
864
|
export interface PutRegistryCatalogDataRequest {
|
|
1617
|
-
|
|
1618
|
-
* <p>The display name for a public registry. The display name is shown as the repository
|
|
1619
|
-
* author in the Amazon ECR Public Gallery.</p>
|
|
1620
|
-
* <note>
|
|
1621
|
-
* <p>The registry display name is only publicly visible in the Amazon ECR Public Gallery for
|
|
1622
|
-
* verified accounts.</p>
|
|
1623
|
-
* </note>
|
|
1624
|
-
*/
|
|
865
|
+
|
|
1625
866
|
displayName?: string;
|
|
1626
867
|
}
|
|
1627
868
|
export declare namespace PutRegistryCatalogDataRequest {
|
|
1628
|
-
|
|
1629
|
-
* @internal
|
|
1630
|
-
*/
|
|
869
|
+
|
|
1631
870
|
const filterSensitiveLog: (obj: PutRegistryCatalogDataRequest) => any;
|
|
1632
871
|
}
|
|
1633
872
|
export interface PutRegistryCatalogDataResponse {
|
|
1634
|
-
|
|
1635
|
-
* <p>The catalog data for the public registry.</p>
|
|
1636
|
-
*/
|
|
873
|
+
|
|
1637
874
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
1638
875
|
}
|
|
1639
876
|
export declare namespace PutRegistryCatalogDataResponse {
|
|
1640
|
-
|
|
1641
|
-
* @internal
|
|
1642
|
-
*/
|
|
877
|
+
|
|
1643
878
|
const filterSensitiveLog: (obj: PutRegistryCatalogDataResponse) => any;
|
|
1644
879
|
}
|
|
1645
880
|
export interface PutRepositoryCatalogDataRequest {
|
|
1646
|
-
|
|
1647
|
-
* <p>The AWS account ID associated with the public registry the repository is in.
|
|
1648
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1649
|
-
*/
|
|
881
|
+
|
|
1650
882
|
registryId?: string;
|
|
1651
|
-
|
|
1652
|
-
* <p>The name of the repository to create or update the catalog data for.</p>
|
|
1653
|
-
*/
|
|
883
|
+
|
|
1654
884
|
repositoryName: string | undefined;
|
|
1655
|
-
|
|
1656
|
-
* <p>An object containing the catalog data for a repository. This data is publicly visible in
|
|
1657
|
-
* the Amazon ECR Public Gallery.</p>
|
|
1658
|
-
*/
|
|
885
|
+
|
|
1659
886
|
catalogData: RepositoryCatalogDataInput | undefined;
|
|
1660
887
|
}
|
|
1661
888
|
export declare namespace PutRepositoryCatalogDataRequest {
|
|
1662
|
-
|
|
1663
|
-
* @internal
|
|
1664
|
-
*/
|
|
889
|
+
|
|
1665
890
|
const filterSensitiveLog: (obj: PutRepositoryCatalogDataRequest) => any;
|
|
1666
891
|
}
|
|
1667
892
|
export interface PutRepositoryCatalogDataResponse {
|
|
1668
|
-
|
|
1669
|
-
* <p>The catalog data for the repository.</p>
|
|
1670
|
-
*/
|
|
893
|
+
|
|
1671
894
|
catalogData?: RepositoryCatalogData;
|
|
1672
895
|
}
|
|
1673
896
|
export declare namespace PutRepositoryCatalogDataResponse {
|
|
1674
|
-
|
|
1675
|
-
* @internal
|
|
1676
|
-
*/
|
|
897
|
+
|
|
1677
898
|
const filterSensitiveLog: (obj: PutRepositoryCatalogDataResponse) => any;
|
|
1678
899
|
}
|
|
1679
900
|
export interface SetRepositoryPolicyRequest {
|
|
1680
|
-
|
|
1681
|
-
* <p>The AWS account ID associated with the registry that contains the repository.
|
|
1682
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1683
|
-
*/
|
|
901
|
+
|
|
1684
902
|
registryId?: string;
|
|
1685
|
-
|
|
1686
|
-
* <p>The name of the repository to receive the policy.</p>
|
|
1687
|
-
*/
|
|
903
|
+
|
|
1688
904
|
repositoryName: string | undefined;
|
|
1689
|
-
|
|
1690
|
-
* <p>The JSON repository policy text to apply to the repository. For more information, see
|
|
1691
|
-
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR Repository
|
|
1692
|
-
* Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1693
|
-
*/
|
|
905
|
+
|
|
1694
906
|
policyText: string | undefined;
|
|
1695
|
-
|
|
1696
|
-
* <p>If the policy you are attempting to set on a repository policy would prevent you from
|
|
1697
|
-
* setting another policy in the future, you must force the <a>SetRepositoryPolicy</a> operation. This is intended to prevent accidental
|
|
1698
|
-
* repository lock outs.</p>
|
|
1699
|
-
*/
|
|
907
|
+
|
|
1700
908
|
force?: boolean;
|
|
1701
909
|
}
|
|
1702
910
|
export declare namespace SetRepositoryPolicyRequest {
|
|
1703
|
-
|
|
1704
|
-
* @internal
|
|
1705
|
-
*/
|
|
911
|
+
|
|
1706
912
|
const filterSensitiveLog: (obj: SetRepositoryPolicyRequest) => any;
|
|
1707
913
|
}
|
|
1708
914
|
export interface SetRepositoryPolicyResponse {
|
|
1709
|
-
|
|
1710
|
-
* <p>The registry ID associated with the request.</p>
|
|
1711
|
-
*/
|
|
915
|
+
|
|
1712
916
|
registryId?: string;
|
|
1713
|
-
|
|
1714
|
-
* <p>The repository name associated with the request.</p>
|
|
1715
|
-
*/
|
|
917
|
+
|
|
1716
918
|
repositoryName?: string;
|
|
1717
|
-
|
|
1718
|
-
* <p>The JSON repository policy text applied to the repository.</p>
|
|
1719
|
-
*/
|
|
919
|
+
|
|
1720
920
|
policyText?: string;
|
|
1721
921
|
}
|
|
1722
922
|
export declare namespace SetRepositoryPolicyResponse {
|
|
1723
|
-
|
|
1724
|
-
* @internal
|
|
1725
|
-
*/
|
|
923
|
+
|
|
1726
924
|
const filterSensitiveLog: (obj: SetRepositoryPolicyResponse) => any;
|
|
1727
925
|
}
|
|
1728
926
|
export interface TagResourceRequest {
|
|
1729
|
-
|
|
1730
|
-
* <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the
|
|
1731
|
-
* supported resource is an Amazon ECR Public repository.</p>
|
|
1732
|
-
*/
|
|
927
|
+
|
|
1733
928
|
resourceArn: string | undefined;
|
|
1734
|
-
|
|
1735
|
-
* <p>The tags to add to the resource. A tag is an array of key-value pairs.
|
|
1736
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
1737
|
-
*/
|
|
929
|
+
|
|
1738
930
|
tags: Tag[] | undefined;
|
|
1739
931
|
}
|
|
1740
932
|
export declare namespace TagResourceRequest {
|
|
1741
|
-
|
|
1742
|
-
* @internal
|
|
1743
|
-
*/
|
|
933
|
+
|
|
1744
934
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1745
935
|
}
|
|
1746
936
|
export interface TagResourceResponse {
|
|
1747
937
|
}
|
|
1748
938
|
export declare namespace TagResourceResponse {
|
|
1749
|
-
|
|
1750
|
-
* @internal
|
|
1751
|
-
*/
|
|
939
|
+
|
|
1752
940
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1753
941
|
}
|
|
1754
942
|
export interface UntagResourceRequest {
|
|
1755
|
-
|
|
1756
|
-
* <p>The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported
|
|
1757
|
-
* resource is an Amazon ECR Public repository.</p>
|
|
1758
|
-
*/
|
|
943
|
+
|
|
1759
944
|
resourceArn: string | undefined;
|
|
1760
|
-
|
|
1761
|
-
* <p>The keys of the tags to be removed.</p>
|
|
1762
|
-
*/
|
|
945
|
+
|
|
1763
946
|
tagKeys: string[] | undefined;
|
|
1764
947
|
}
|
|
1765
948
|
export declare namespace UntagResourceRequest {
|
|
1766
|
-
|
|
1767
|
-
* @internal
|
|
1768
|
-
*/
|
|
949
|
+
|
|
1769
950
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1770
951
|
}
|
|
1771
952
|
export interface UntagResourceResponse {
|
|
1772
953
|
}
|
|
1773
954
|
export declare namespace UntagResourceResponse {
|
|
1774
|
-
|
|
1775
|
-
* @internal
|
|
1776
|
-
*/
|
|
955
|
+
|
|
1777
956
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1778
957
|
}
|
|
1779
958
|
export interface UploadLayerPartRequest {
|
|
1780
|
-
|
|
1781
|
-
* <p>The AWS account ID associated with the registry to which you are uploading layer parts.
|
|
1782
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1783
|
-
*/
|
|
959
|
+
|
|
1784
960
|
registryId?: string;
|
|
1785
|
-
|
|
1786
|
-
* <p>The name of the repository to which you are uploading layer parts.</p>
|
|
1787
|
-
*/
|
|
961
|
+
|
|
1788
962
|
repositoryName: string | undefined;
|
|
1789
|
-
|
|
1790
|
-
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
1791
|
-
* associate with the layer part upload.</p>
|
|
1792
|
-
*/
|
|
963
|
+
|
|
1793
964
|
uploadId: string | undefined;
|
|
1794
|
-
|
|
1795
|
-
* <p>The position of the first byte of the layer part witin the overall image layer.</p>
|
|
1796
|
-
*/
|
|
965
|
+
|
|
1797
966
|
partFirstByte: number | undefined;
|
|
1798
|
-
|
|
1799
|
-
* <p>The position of the last byte of the layer part within the overall image layer.</p>
|
|
1800
|
-
*/
|
|
967
|
+
|
|
1801
968
|
partLastByte: number | undefined;
|
|
1802
|
-
|
|
1803
|
-
* <p>The base64-encoded layer part payload.</p>
|
|
1804
|
-
*/
|
|
969
|
+
|
|
1805
970
|
layerPartBlob: Uint8Array | undefined;
|
|
1806
971
|
}
|
|
1807
972
|
export declare namespace UploadLayerPartRequest {
|
|
1808
|
-
|
|
1809
|
-
* @internal
|
|
1810
|
-
*/
|
|
973
|
+
|
|
1811
974
|
const filterSensitiveLog: (obj: UploadLayerPartRequest) => any;
|
|
1812
975
|
}
|
|
1813
976
|
export interface UploadLayerPartResponse {
|
|
1814
|
-
|
|
1815
|
-
* <p>The registry ID associated with the request.</p>
|
|
1816
|
-
*/
|
|
977
|
+
|
|
1817
978
|
registryId?: string;
|
|
1818
|
-
|
|
1819
|
-
* <p>The repository name associated with the request.</p>
|
|
1820
|
-
*/
|
|
979
|
+
|
|
1821
980
|
repositoryName?: string;
|
|
1822
|
-
|
|
1823
|
-
* <p>The upload ID associated with the request.</p>
|
|
1824
|
-
*/
|
|
981
|
+
|
|
1825
982
|
uploadId?: string;
|
|
1826
|
-
|
|
1827
|
-
* <p>The integer value of the last byte received in the request.</p>
|
|
1828
|
-
*/
|
|
983
|
+
|
|
1829
984
|
lastByteReceived?: number;
|
|
1830
985
|
}
|
|
1831
986
|
export declare namespace UploadLayerPartResponse {
|
|
1832
|
-
|
|
1833
|
-
* @internal
|
|
1834
|
-
*/
|
|
987
|
+
|
|
1835
988
|
const filterSensitiveLog: (obj: UploadLayerPartResponse) => any;
|
|
1836
989
|
}
|