@aws-sdk/client-ecr 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/ECR.js +0 -11
- package/dist-cjs/ECRClient.js +0 -16
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -29
- package/dist-cjs/commands/BatchGetImageCommand.js +0 -27
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -25
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +0 -24
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -30
- package/dist-cjs/commands/DescribeRegistryCommand.js +0 -26
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -24
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -31
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +0 -31
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListImagesCommand.js +0 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +0 -24
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +0 -26
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +0 -34
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -26
- package/dist-cjs/commands/StartImageScanCommand.js +0 -27
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +38 -0
- package/dist-cjs/endpoints.js +10 -1
- package/dist-cjs/index.js +5 -45
- package/dist-cjs/models/models_0.js +0 -381
- package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -10
- package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +0 -10
- package/dist-cjs/pagination/ListImagesPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForImageScanComplete.js +0 -9
- package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +0 -9
- package/dist-es/commands/index.js +35 -0
- package/dist-es/endpoints.js +10 -1
- package/dist-es/index.js +5 -45
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +35 -0
- package/dist-types/index.d.ts +5 -45
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/ECR.d.ts +36 -216
- package/dist-types/ts3.4/ECRClient.d.ts +24 -97
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -20
- 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/DescribeImageReplicationStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListImagesCommand.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 -28
- package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/index.d.ts +35 -0
- package/dist-types/ts3.4/index.d.ts +5 -45
- package/dist-types/ts3.4/models/models_0.d.ts +478 -1712
- package/dist-types/ts3.4/pagination/index.d.ts +6 -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/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +33 -33
|
@@ -1,199 +1,117 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
3
|
-
|
|
4
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
|
|
5
|
-
* check. If you do not specify a registry, the default registry is assumed.</p>
|
|
6
|
-
*/
|
|
3
|
+
|
|
7
4
|
registryId?: string;
|
|
8
|
-
|
|
9
|
-
* <p>The name of the repository that is associated with the image layers to check.</p>
|
|
10
|
-
*/
|
|
5
|
+
|
|
11
6
|
repositoryName: string | undefined;
|
|
12
|
-
|
|
13
|
-
* <p>The digests of the image layers to check.</p>
|
|
14
|
-
*/
|
|
7
|
+
|
|
15
8
|
layerDigests: string[] | undefined;
|
|
16
9
|
}
|
|
17
10
|
export declare namespace BatchCheckLayerAvailabilityRequest {
|
|
18
|
-
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
11
|
+
|
|
21
12
|
const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityRequest) => any;
|
|
22
13
|
}
|
|
23
14
|
export declare enum LayerFailureCode {
|
|
24
15
|
InvalidLayerDigest = "InvalidLayerDigest",
|
|
25
16
|
MissingLayerDigest = "MissingLayerDigest"
|
|
26
17
|
}
|
|
27
|
-
|
|
28
|
-
* <p>An object representing an Amazon ECR image layer failure.</p>
|
|
29
|
-
*/
|
|
18
|
+
|
|
30
19
|
export interface LayerFailure {
|
|
31
|
-
|
|
32
|
-
* <p>The layer digest associated with the failure.</p>
|
|
33
|
-
*/
|
|
20
|
+
|
|
34
21
|
layerDigest?: string;
|
|
35
|
-
|
|
36
|
-
* <p>The failure code associated with the failure.</p>
|
|
37
|
-
*/
|
|
22
|
+
|
|
38
23
|
failureCode?: LayerFailureCode | string;
|
|
39
|
-
|
|
40
|
-
* <p>The reason for the failure.</p>
|
|
41
|
-
*/
|
|
24
|
+
|
|
42
25
|
failureReason?: string;
|
|
43
26
|
}
|
|
44
27
|
export declare namespace LayerFailure {
|
|
45
|
-
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
28
|
+
|
|
48
29
|
const filterSensitiveLog: (obj: LayerFailure) => any;
|
|
49
30
|
}
|
|
50
31
|
export declare enum LayerAvailability {
|
|
51
32
|
AVAILABLE = "AVAILABLE",
|
|
52
33
|
UNAVAILABLE = "UNAVAILABLE"
|
|
53
34
|
}
|
|
54
|
-
|
|
55
|
-
* <p>An object representing an Amazon ECR image layer.</p>
|
|
56
|
-
*/
|
|
35
|
+
|
|
57
36
|
export interface Layer {
|
|
58
|
-
|
|
59
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
60
|
-
*/
|
|
37
|
+
|
|
61
38
|
layerDigest?: string;
|
|
62
|
-
|
|
63
|
-
* <p>The availability status of the image layer.</p>
|
|
64
|
-
*/
|
|
39
|
+
|
|
65
40
|
layerAvailability?: LayerAvailability | string;
|
|
66
|
-
|
|
67
|
-
* <p>The size, in bytes, of the image layer.</p>
|
|
68
|
-
*/
|
|
41
|
+
|
|
69
42
|
layerSize?: number;
|
|
70
|
-
|
|
71
|
-
* <p>The media type of the layer, such as
|
|
72
|
-
* <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
|
|
73
|
-
* <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
|
|
74
|
-
*/
|
|
43
|
+
|
|
75
44
|
mediaType?: string;
|
|
76
45
|
}
|
|
77
46
|
export declare namespace Layer {
|
|
78
|
-
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
47
|
+
|
|
81
48
|
const filterSensitiveLog: (obj: Layer) => any;
|
|
82
49
|
}
|
|
83
50
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
84
|
-
|
|
85
|
-
* <p>A list of image layer objects corresponding to the image layer references in the
|
|
86
|
-
* request.</p>
|
|
87
|
-
*/
|
|
51
|
+
|
|
88
52
|
layers?: Layer[];
|
|
89
|
-
|
|
90
|
-
* <p>Any failures associated with the call.</p>
|
|
91
|
-
*/
|
|
53
|
+
|
|
92
54
|
failures?: LayerFailure[];
|
|
93
55
|
}
|
|
94
56
|
export declare namespace BatchCheckLayerAvailabilityResponse {
|
|
95
|
-
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
57
|
+
|
|
98
58
|
const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityResponse) => any;
|
|
99
59
|
}
|
|
100
|
-
|
|
101
|
-
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
102
|
-
* request.</p>
|
|
103
|
-
*/
|
|
60
|
+
|
|
104
61
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
105
62
|
name: "InvalidParameterException";
|
|
106
63
|
$fault: "client";
|
|
107
|
-
|
|
108
|
-
* <p>The error message associated with the exception.</p>
|
|
109
|
-
*/
|
|
64
|
+
|
|
110
65
|
message?: string;
|
|
111
66
|
}
|
|
112
67
|
export declare namespace InvalidParameterException {
|
|
113
|
-
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
68
|
+
|
|
116
69
|
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
117
70
|
}
|
|
118
|
-
|
|
119
|
-
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
120
|
-
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
121
|
-
*/
|
|
71
|
+
|
|
122
72
|
export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
|
|
123
73
|
name: "RepositoryNotFoundException";
|
|
124
74
|
$fault: "client";
|
|
125
|
-
|
|
126
|
-
* <p>The error message associated with the exception.</p>
|
|
127
|
-
*/
|
|
75
|
+
|
|
128
76
|
message?: string;
|
|
129
77
|
}
|
|
130
78
|
export declare namespace RepositoryNotFoundException {
|
|
131
|
-
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
79
|
+
|
|
134
80
|
const filterSensitiveLog: (obj: RepositoryNotFoundException) => any;
|
|
135
81
|
}
|
|
136
|
-
|
|
137
|
-
* <p>These errors are usually caused by a server-side issue.</p>
|
|
138
|
-
*/
|
|
82
|
+
|
|
139
83
|
export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
140
84
|
name: "ServerException";
|
|
141
85
|
$fault: "server";
|
|
142
|
-
|
|
143
|
-
* <p>The error message associated with the exception.</p>
|
|
144
|
-
*/
|
|
86
|
+
|
|
145
87
|
message?: string;
|
|
146
88
|
}
|
|
147
89
|
export declare namespace ServerException {
|
|
148
|
-
|
|
149
|
-
* @internal
|
|
150
|
-
*/
|
|
90
|
+
|
|
151
91
|
const filterSensitiveLog: (obj: ServerException) => any;
|
|
152
92
|
}
|
|
153
|
-
|
|
154
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
155
|
-
*/
|
|
93
|
+
|
|
156
94
|
export interface ImageIdentifier {
|
|
157
|
-
|
|
158
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
159
|
-
*/
|
|
95
|
+
|
|
160
96
|
imageDigest?: string;
|
|
161
|
-
|
|
162
|
-
* <p>The tag used for the image.</p>
|
|
163
|
-
*/
|
|
97
|
+
|
|
164
98
|
imageTag?: string;
|
|
165
99
|
}
|
|
166
100
|
export declare namespace ImageIdentifier {
|
|
167
|
-
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
101
|
+
|
|
170
102
|
const filterSensitiveLog: (obj: ImageIdentifier) => any;
|
|
171
103
|
}
|
|
172
|
-
|
|
173
|
-
* <p>Deletes specified images within a specified repository. Images are specified with
|
|
174
|
-
* either the <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
175
|
-
*/
|
|
104
|
+
|
|
176
105
|
export interface BatchDeleteImageRequest {
|
|
177
|
-
|
|
178
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the image to delete.
|
|
179
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
180
|
-
*/
|
|
106
|
+
|
|
181
107
|
registryId?: string;
|
|
182
|
-
|
|
183
|
-
* <p>The repository that contains the image to delete.</p>
|
|
184
|
-
*/
|
|
108
|
+
|
|
185
109
|
repositoryName: string | undefined;
|
|
186
|
-
|
|
187
|
-
* <p>A list of image ID references that correspond to images to delete. The format of the
|
|
188
|
-
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
189
|
-
* <code>imageDigest=digest</code>.</p>
|
|
190
|
-
*/
|
|
110
|
+
|
|
191
111
|
imageIds: ImageIdentifier[] | undefined;
|
|
192
112
|
}
|
|
193
113
|
export declare namespace BatchDeleteImageRequest {
|
|
194
|
-
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
114
|
+
|
|
197
115
|
const filterSensitiveLog: (obj: BatchDeleteImageRequest) => any;
|
|
198
116
|
}
|
|
199
117
|
export declare enum ImageFailureCode {
|
|
@@ -205,772 +123,439 @@ export declare enum ImageFailureCode {
|
|
|
205
123
|
KmsError = "KmsError",
|
|
206
124
|
MissingDigestAndTag = "MissingDigestAndTag"
|
|
207
125
|
}
|
|
208
|
-
|
|
209
|
-
* <p>An object representing an Amazon ECR image failure.</p>
|
|
210
|
-
*/
|
|
126
|
+
|
|
211
127
|
export interface ImageFailure {
|
|
212
|
-
|
|
213
|
-
* <p>The image ID associated with the failure.</p>
|
|
214
|
-
*/
|
|
128
|
+
|
|
215
129
|
imageId?: ImageIdentifier;
|
|
216
|
-
|
|
217
|
-
* <p>The code associated with the failure.</p>
|
|
218
|
-
*/
|
|
130
|
+
|
|
219
131
|
failureCode?: ImageFailureCode | string;
|
|
220
|
-
|
|
221
|
-
* <p>The reason for the failure.</p>
|
|
222
|
-
*/
|
|
132
|
+
|
|
223
133
|
failureReason?: string;
|
|
224
134
|
}
|
|
225
135
|
export declare namespace ImageFailure {
|
|
226
|
-
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
136
|
+
|
|
229
137
|
const filterSensitiveLog: (obj: ImageFailure) => any;
|
|
230
138
|
}
|
|
231
139
|
export interface BatchDeleteImageResponse {
|
|
232
|
-
|
|
233
|
-
* <p>The image IDs of the deleted images.</p>
|
|
234
|
-
*/
|
|
140
|
+
|
|
235
141
|
imageIds?: ImageIdentifier[];
|
|
236
|
-
|
|
237
|
-
* <p>Any failures associated with the call.</p>
|
|
238
|
-
*/
|
|
142
|
+
|
|
239
143
|
failures?: ImageFailure[];
|
|
240
144
|
}
|
|
241
145
|
export declare namespace BatchDeleteImageResponse {
|
|
242
|
-
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
146
|
+
|
|
245
147
|
const filterSensitiveLog: (obj: BatchDeleteImageResponse) => any;
|
|
246
148
|
}
|
|
247
149
|
export interface BatchGetImageRequest {
|
|
248
|
-
|
|
249
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the images to
|
|
250
|
-
* describe. If you do not specify a registry, the default registry is assumed.</p>
|
|
251
|
-
*/
|
|
150
|
+
|
|
252
151
|
registryId?: string;
|
|
253
|
-
|
|
254
|
-
* <p>The repository that contains the images to describe.</p>
|
|
255
|
-
*/
|
|
152
|
+
|
|
256
153
|
repositoryName: string | undefined;
|
|
257
|
-
|
|
258
|
-
* <p>A list of image ID references that correspond to images to describe. The format of the
|
|
259
|
-
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
260
|
-
* <code>imageDigest=digest</code>.</p>
|
|
261
|
-
*/
|
|
154
|
+
|
|
262
155
|
imageIds: ImageIdentifier[] | undefined;
|
|
263
|
-
|
|
264
|
-
* <p>The accepted media types for the request.</p>
|
|
265
|
-
* <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
|
|
266
|
-
* <code>application/vnd.docker.distribution.manifest.v2+json</code> |
|
|
267
|
-
* <code>application/vnd.oci.image.manifest.v1+json</code>
|
|
268
|
-
* </p>
|
|
269
|
-
*/
|
|
156
|
+
|
|
270
157
|
acceptedMediaTypes?: string[];
|
|
271
158
|
}
|
|
272
159
|
export declare namespace BatchGetImageRequest {
|
|
273
|
-
|
|
274
|
-
* @internal
|
|
275
|
-
*/
|
|
160
|
+
|
|
276
161
|
const filterSensitiveLog: (obj: BatchGetImageRequest) => any;
|
|
277
162
|
}
|
|
278
|
-
|
|
279
|
-
* <p>An object representing an Amazon ECR image.</p>
|
|
280
|
-
*/
|
|
163
|
+
|
|
281
164
|
export interface Image {
|
|
282
|
-
|
|
283
|
-
* <p>The Amazon Web Services account ID associated with the registry containing the image.</p>
|
|
284
|
-
*/
|
|
165
|
+
|
|
285
166
|
registryId?: string;
|
|
286
|
-
|
|
287
|
-
* <p>The name of the repository associated with the image.</p>
|
|
288
|
-
*/
|
|
167
|
+
|
|
289
168
|
repositoryName?: string;
|
|
290
|
-
|
|
291
|
-
* <p>An object containing the image tag and image digest associated with an image.</p>
|
|
292
|
-
*/
|
|
169
|
+
|
|
293
170
|
imageId?: ImageIdentifier;
|
|
294
|
-
|
|
295
|
-
* <p>The image manifest associated with the image.</p>
|
|
296
|
-
*/
|
|
171
|
+
|
|
297
172
|
imageManifest?: string;
|
|
298
|
-
|
|
299
|
-
* <p>The manifest media type of the image.</p>
|
|
300
|
-
*/
|
|
173
|
+
|
|
301
174
|
imageManifestMediaType?: string;
|
|
302
175
|
}
|
|
303
176
|
export declare namespace Image {
|
|
304
|
-
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
177
|
+
|
|
307
178
|
const filterSensitiveLog: (obj: Image) => any;
|
|
308
179
|
}
|
|
309
180
|
export interface BatchGetImageResponse {
|
|
310
|
-
|
|
311
|
-
* <p>A list of image objects corresponding to the image references in the request.</p>
|
|
312
|
-
*/
|
|
181
|
+
|
|
313
182
|
images?: Image[];
|
|
314
|
-
|
|
315
|
-
* <p>Any failures associated with the call.</p>
|
|
316
|
-
*/
|
|
183
|
+
|
|
317
184
|
failures?: ImageFailure[];
|
|
318
185
|
}
|
|
319
186
|
export declare namespace BatchGetImageResponse {
|
|
320
|
-
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
187
|
+
|
|
323
188
|
const filterSensitiveLog: (obj: BatchGetImageResponse) => any;
|
|
324
189
|
}
|
|
325
190
|
export interface CompleteLayerUploadRequest {
|
|
326
|
-
|
|
327
|
-
* <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
|
|
328
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
329
|
-
*/
|
|
191
|
+
|
|
330
192
|
registryId?: string;
|
|
331
|
-
|
|
332
|
-
* <p>The name of the repository to associate with the image layer.</p>
|
|
333
|
-
*/
|
|
193
|
+
|
|
334
194
|
repositoryName: string | undefined;
|
|
335
|
-
|
|
336
|
-
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
337
|
-
* associate with the image layer.</p>
|
|
338
|
-
*/
|
|
195
|
+
|
|
339
196
|
uploadId: string | undefined;
|
|
340
|
-
|
|
341
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
342
|
-
*/
|
|
197
|
+
|
|
343
198
|
layerDigests: string[] | undefined;
|
|
344
199
|
}
|
|
345
200
|
export declare namespace CompleteLayerUploadRequest {
|
|
346
|
-
|
|
347
|
-
* @internal
|
|
348
|
-
*/
|
|
201
|
+
|
|
349
202
|
const filterSensitiveLog: (obj: CompleteLayerUploadRequest) => any;
|
|
350
203
|
}
|
|
351
204
|
export interface CompleteLayerUploadResponse {
|
|
352
|
-
|
|
353
|
-
* <p>The registry ID associated with the request.</p>
|
|
354
|
-
*/
|
|
205
|
+
|
|
355
206
|
registryId?: string;
|
|
356
|
-
|
|
357
|
-
* <p>The repository name associated with the request.</p>
|
|
358
|
-
*/
|
|
207
|
+
|
|
359
208
|
repositoryName?: string;
|
|
360
|
-
|
|
361
|
-
* <p>The upload ID associated with the layer.</p>
|
|
362
|
-
*/
|
|
209
|
+
|
|
363
210
|
uploadId?: string;
|
|
364
|
-
|
|
365
|
-
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
366
|
-
*/
|
|
211
|
+
|
|
367
212
|
layerDigest?: string;
|
|
368
213
|
}
|
|
369
214
|
export declare namespace CompleteLayerUploadResponse {
|
|
370
|
-
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
215
|
+
|
|
373
216
|
const filterSensitiveLog: (obj: CompleteLayerUploadResponse) => any;
|
|
374
217
|
}
|
|
375
|
-
|
|
376
|
-
* <p>The specified layer upload does not contain any layer parts.</p>
|
|
377
|
-
*/
|
|
218
|
+
|
|
378
219
|
export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
|
|
379
220
|
name: "EmptyUploadException";
|
|
380
221
|
$fault: "client";
|
|
381
|
-
|
|
382
|
-
* <p>The error message associated with the exception.</p>
|
|
383
|
-
*/
|
|
222
|
+
|
|
384
223
|
message?: string;
|
|
385
224
|
}
|
|
386
225
|
export declare namespace EmptyUploadException {
|
|
387
|
-
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
226
|
+
|
|
390
227
|
const filterSensitiveLog: (obj: EmptyUploadException) => any;
|
|
391
228
|
}
|
|
392
|
-
|
|
393
|
-
* <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
|
|
394
|
-
* not match the digest specified.</p>
|
|
395
|
-
*/
|
|
229
|
+
|
|
396
230
|
export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
|
|
397
231
|
name: "InvalidLayerException";
|
|
398
232
|
$fault: "client";
|
|
399
|
-
|
|
400
|
-
* <p>The error message associated with the exception.</p>
|
|
401
|
-
*/
|
|
233
|
+
|
|
402
234
|
message?: string;
|
|
403
235
|
}
|
|
404
236
|
export declare namespace InvalidLayerException {
|
|
405
|
-
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
237
|
+
|
|
408
238
|
const filterSensitiveLog: (obj: InvalidLayerException) => any;
|
|
409
239
|
}
|
|
410
|
-
|
|
411
|
-
* <p>The operation failed due to a KMS exception.</p>
|
|
412
|
-
*/
|
|
240
|
+
|
|
413
241
|
export interface KmsException extends __SmithyException, $MetadataBearer {
|
|
414
242
|
name: "KmsException";
|
|
415
243
|
$fault: "client";
|
|
416
244
|
message?: string;
|
|
417
|
-
|
|
418
|
-
* <p>The error code returned by KMS.</p>
|
|
419
|
-
*/
|
|
245
|
+
|
|
420
246
|
kmsError?: string;
|
|
421
247
|
}
|
|
422
248
|
export declare namespace KmsException {
|
|
423
|
-
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
249
|
+
|
|
426
250
|
const filterSensitiveLog: (obj: KmsException) => any;
|
|
427
251
|
}
|
|
428
|
-
|
|
429
|
-
* <p>The image layer already exists in the associated repository.</p>
|
|
430
|
-
*/
|
|
252
|
+
|
|
431
253
|
export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
432
254
|
name: "LayerAlreadyExistsException";
|
|
433
255
|
$fault: "client";
|
|
434
|
-
|
|
435
|
-
* <p>The error message associated with the exception.</p>
|
|
436
|
-
*/
|
|
256
|
+
|
|
437
257
|
message?: string;
|
|
438
258
|
}
|
|
439
259
|
export declare namespace LayerAlreadyExistsException {
|
|
440
|
-
|
|
441
|
-
* @internal
|
|
442
|
-
*/
|
|
260
|
+
|
|
443
261
|
const filterSensitiveLog: (obj: LayerAlreadyExistsException) => any;
|
|
444
262
|
}
|
|
445
|
-
|
|
446
|
-
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
447
|
-
*/
|
|
263
|
+
|
|
448
264
|
export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
|
|
449
265
|
name: "LayerPartTooSmallException";
|
|
450
266
|
$fault: "client";
|
|
451
|
-
|
|
452
|
-
* <p>The error message associated with the exception.</p>
|
|
453
|
-
*/
|
|
267
|
+
|
|
454
268
|
message?: string;
|
|
455
269
|
}
|
|
456
270
|
export declare namespace LayerPartTooSmallException {
|
|
457
|
-
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
271
|
+
|
|
460
272
|
const filterSensitiveLog: (obj: LayerPartTooSmallException) => any;
|
|
461
273
|
}
|
|
462
|
-
|
|
463
|
-
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
464
|
-
* repository.</p>
|
|
465
|
-
*/
|
|
274
|
+
|
|
466
275
|
export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
|
|
467
276
|
name: "UploadNotFoundException";
|
|
468
277
|
$fault: "client";
|
|
469
|
-
|
|
470
|
-
* <p>The error message associated with the exception.</p>
|
|
471
|
-
*/
|
|
278
|
+
|
|
472
279
|
message?: string;
|
|
473
280
|
}
|
|
474
281
|
export declare namespace UploadNotFoundException {
|
|
475
|
-
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
282
|
+
|
|
478
283
|
const filterSensitiveLog: (obj: UploadNotFoundException) => any;
|
|
479
284
|
}
|
|
480
285
|
export declare enum EncryptionType {
|
|
481
286
|
AES256 = "AES256",
|
|
482
287
|
KMS = "KMS"
|
|
483
288
|
}
|
|
484
|
-
|
|
485
|
-
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
486
|
-
* your repository are encrypted at rest.</p>
|
|
487
|
-
* <p>By default, when no encryption configuration is set or the <code>AES256</code>
|
|
488
|
-
* encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
|
|
489
|
-
* keys which encrypts your data at rest using an AES-256 encryption algorithm. This does
|
|
490
|
-
* not require any action on your part.</p>
|
|
491
|
-
* <p>For more control over the encryption of the contents of your repository, you can use
|
|
492
|
-
* server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
|
|
493
|
-
* images. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
|
|
494
|
-
* rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
495
|
-
*/
|
|
289
|
+
|
|
496
290
|
export interface EncryptionConfiguration {
|
|
497
|
-
|
|
498
|
-
* <p>The encryption type to use.</p>
|
|
499
|
-
* <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
|
|
500
|
-
* be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
|
|
501
|
-
* use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key
|
|
502
|
-
* for Amazon ECR, or specify your own KMS key, which you already created. For more
|
|
503
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
|
|
504
|
-
* encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
|
|
505
|
-
* <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
|
|
506
|
-
* <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
|
|
507
|
-
* with Amazon S3-managed encryption keys which encrypts the images in the repository using an
|
|
508
|
-
* AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
509
|
-
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
510
|
-
* <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
|
|
511
|
-
*/
|
|
291
|
+
|
|
512
292
|
encryptionType: EncryptionType | string | undefined;
|
|
513
|
-
|
|
514
|
-
* <p>If you use the <code>KMS</code> encryption type, specify the KMS key to use for
|
|
515
|
-
* encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key
|
|
516
|
-
* must exist in the same Region as the repository. If no key is specified, the default
|
|
517
|
-
* Amazon Web Services managed KMS key for Amazon ECR will be used.</p>
|
|
518
|
-
*/
|
|
293
|
+
|
|
519
294
|
kmsKey?: string;
|
|
520
295
|
}
|
|
521
296
|
export declare namespace EncryptionConfiguration {
|
|
522
|
-
|
|
523
|
-
* @internal
|
|
524
|
-
*/
|
|
297
|
+
|
|
525
298
|
const filterSensitiveLog: (obj: EncryptionConfiguration) => any;
|
|
526
299
|
}
|
|
527
|
-
|
|
528
|
-
* <p>The image scanning configuration for a repository.</p>
|
|
529
|
-
*/
|
|
300
|
+
|
|
530
301
|
export interface ImageScanningConfiguration {
|
|
531
|
-
|
|
532
|
-
* <p>The setting that determines whether images are scanned after being pushed to a
|
|
533
|
-
* repository. If set to <code>true</code>, images will be scanned after being pushed. If
|
|
534
|
-
* this parameter is not specified, it will default to <code>false</code> and images will
|
|
535
|
-
* not be scanned unless a scan is manually started with the <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html">API_StartImageScan</a> API.</p>
|
|
536
|
-
*/
|
|
302
|
+
|
|
537
303
|
scanOnPush?: boolean;
|
|
538
304
|
}
|
|
539
305
|
export declare namespace ImageScanningConfiguration {
|
|
540
|
-
|
|
541
|
-
* @internal
|
|
542
|
-
*/
|
|
306
|
+
|
|
543
307
|
const filterSensitiveLog: (obj: ImageScanningConfiguration) => any;
|
|
544
308
|
}
|
|
545
309
|
export declare enum ImageTagMutability {
|
|
546
310
|
IMMUTABLE = "IMMUTABLE",
|
|
547
311
|
MUTABLE = "MUTABLE"
|
|
548
312
|
}
|
|
549
|
-
|
|
550
|
-
* <p>The metadata that you apply to a resource to help you categorize and organize them.
|
|
551
|
-
* Each tag consists of a key and an optional value, both of which you define.
|
|
552
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
553
|
-
* a maximum length of 256 characters.</p>
|
|
554
|
-
*/
|
|
313
|
+
|
|
555
314
|
export interface Tag {
|
|
556
|
-
|
|
557
|
-
* <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
|
|
558
|
-
* that acts like a category for more specific tag values.</p>
|
|
559
|
-
*/
|
|
315
|
+
|
|
560
316
|
Key?: string;
|
|
561
|
-
|
|
562
|
-
* <p>The optional part of a key-value pair that make up a tag. A <code>value</code> acts as
|
|
563
|
-
* a descriptor within a tag category (key).</p>
|
|
564
|
-
*/
|
|
317
|
+
|
|
565
318
|
Value?: string;
|
|
566
319
|
}
|
|
567
320
|
export declare namespace Tag {
|
|
568
|
-
|
|
569
|
-
* @internal
|
|
570
|
-
*/
|
|
321
|
+
|
|
571
322
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
572
323
|
}
|
|
573
324
|
export interface CreateRepositoryRequest {
|
|
574
|
-
|
|
575
|
-
* <p>The AWS account ID associated with the registry to create the repository.
|
|
576
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
577
|
-
*/
|
|
325
|
+
|
|
578
326
|
registryId?: string;
|
|
579
|
-
|
|
580
|
-
* <p>The name to use for the repository. The repository name may be specified on its own
|
|
581
|
-
* (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
|
|
582
|
-
* the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>
|
|
583
|
-
*/
|
|
327
|
+
|
|
584
328
|
repositoryName: string | undefined;
|
|
585
|
-
|
|
586
|
-
* <p>The metadata that you apply to the repository to help you categorize and organize
|
|
587
|
-
* them. Each tag consists of a key and an optional value, both of which you define.
|
|
588
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
589
|
-
* a maximum length of 256 characters.</p>
|
|
590
|
-
*/
|
|
329
|
+
|
|
591
330
|
tags?: Tag[];
|
|
592
|
-
|
|
593
|
-
* <p>The tag mutability setting for the repository. If this parameter is omitted, the
|
|
594
|
-
* default setting of <code>MUTABLE</code> will be used which will allow image tags to be
|
|
595
|
-
* overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
|
|
596
|
-
* repository will be immutable which will prevent them from being overwritten.</p>
|
|
597
|
-
*/
|
|
331
|
+
|
|
598
332
|
imageTagMutability?: ImageTagMutability | string;
|
|
599
|
-
|
|
600
|
-
* <p>The image scanning configuration for the repository. This determines whether images
|
|
601
|
-
* are scanned for known vulnerabilities after being pushed to the repository.</p>
|
|
602
|
-
*/
|
|
333
|
+
|
|
603
334
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
604
|
-
|
|
605
|
-
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
606
|
-
* your repository are encrypted at rest.</p>
|
|
607
|
-
*/
|
|
335
|
+
|
|
608
336
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
609
337
|
}
|
|
610
338
|
export declare namespace CreateRepositoryRequest {
|
|
611
|
-
|
|
612
|
-
* @internal
|
|
613
|
-
*/
|
|
339
|
+
|
|
614
340
|
const filterSensitiveLog: (obj: CreateRepositoryRequest) => any;
|
|
615
341
|
}
|
|
616
|
-
|
|
617
|
-
* <p>An object representing a repository.</p>
|
|
618
|
-
*/
|
|
342
|
+
|
|
619
343
|
export interface Repository {
|
|
620
|
-
|
|
621
|
-
* <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
|
|
622
|
-
* repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
|
|
623
|
-
* For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
|
|
624
|
-
*/
|
|
344
|
+
|
|
625
345
|
repositoryArn?: string;
|
|
626
|
-
|
|
627
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.</p>
|
|
628
|
-
*/
|
|
346
|
+
|
|
629
347
|
registryId?: string;
|
|
630
|
-
|
|
631
|
-
* <p>The name of the repository.</p>
|
|
632
|
-
*/
|
|
348
|
+
|
|
633
349
|
repositoryName?: string;
|
|
634
|
-
|
|
635
|
-
* <p>The URI for the repository. You can use this URI for container image <code>push</code>
|
|
636
|
-
* and <code>pull</code> operations.</p>
|
|
637
|
-
*/
|
|
350
|
+
|
|
638
351
|
repositoryUri?: string;
|
|
639
|
-
|
|
640
|
-
* <p>The date and time, in JavaScript date format, when the repository was created.</p>
|
|
641
|
-
*/
|
|
352
|
+
|
|
642
353
|
createdAt?: Date;
|
|
643
|
-
|
|
644
|
-
* <p>The tag mutability setting for the repository.</p>
|
|
645
|
-
*/
|
|
354
|
+
|
|
646
355
|
imageTagMutability?: ImageTagMutability | string;
|
|
647
|
-
|
|
648
|
-
* <p>The image scanning configuration for a repository.</p>
|
|
649
|
-
*/
|
|
356
|
+
|
|
650
357
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
651
|
-
|
|
652
|
-
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
653
|
-
* your repository are encrypted at rest.</p>
|
|
654
|
-
*/
|
|
358
|
+
|
|
655
359
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
656
360
|
}
|
|
657
361
|
export declare namespace Repository {
|
|
658
|
-
|
|
659
|
-
* @internal
|
|
660
|
-
*/
|
|
362
|
+
|
|
661
363
|
const filterSensitiveLog: (obj: Repository) => any;
|
|
662
364
|
}
|
|
663
365
|
export interface CreateRepositoryResponse {
|
|
664
|
-
|
|
665
|
-
* <p>The repository that was created.</p>
|
|
666
|
-
*/
|
|
366
|
+
|
|
667
367
|
repository?: Repository;
|
|
668
368
|
}
|
|
669
369
|
export declare namespace CreateRepositoryResponse {
|
|
670
|
-
|
|
671
|
-
* @internal
|
|
672
|
-
*/
|
|
370
|
+
|
|
673
371
|
const filterSensitiveLog: (obj: CreateRepositoryResponse) => any;
|
|
674
372
|
}
|
|
675
|
-
|
|
676
|
-
* <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
677
|
-
* a maximum length of 256 characters.</p>
|
|
678
|
-
*/
|
|
373
|
+
|
|
679
374
|
export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
|
|
680
375
|
name: "InvalidTagParameterException";
|
|
681
376
|
$fault: "client";
|
|
682
377
|
message?: string;
|
|
683
378
|
}
|
|
684
379
|
export declare namespace InvalidTagParameterException {
|
|
685
|
-
|
|
686
|
-
* @internal
|
|
687
|
-
*/
|
|
380
|
+
|
|
688
381
|
const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
|
|
689
382
|
}
|
|
690
|
-
|
|
691
|
-
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
692
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
693
|
-
* the Amazon Elastic Container Registry User Guide.</p>
|
|
694
|
-
*/
|
|
383
|
+
|
|
695
384
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
696
385
|
name: "LimitExceededException";
|
|
697
386
|
$fault: "client";
|
|
698
|
-
|
|
699
|
-
* <p>The error message associated with the exception.</p>
|
|
700
|
-
*/
|
|
387
|
+
|
|
701
388
|
message?: string;
|
|
702
389
|
}
|
|
703
390
|
export declare namespace LimitExceededException {
|
|
704
|
-
|
|
705
|
-
* @internal
|
|
706
|
-
*/
|
|
391
|
+
|
|
707
392
|
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
708
393
|
}
|
|
709
|
-
|
|
710
|
-
* <p>The specified repository already exists in the specified registry.</p>
|
|
711
|
-
*/
|
|
394
|
+
|
|
712
395
|
export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
713
396
|
name: "RepositoryAlreadyExistsException";
|
|
714
397
|
$fault: "client";
|
|
715
|
-
|
|
716
|
-
* <p>The error message associated with the exception.</p>
|
|
717
|
-
*/
|
|
398
|
+
|
|
718
399
|
message?: string;
|
|
719
400
|
}
|
|
720
401
|
export declare namespace RepositoryAlreadyExistsException {
|
|
721
|
-
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
402
|
+
|
|
724
403
|
const filterSensitiveLog: (obj: RepositoryAlreadyExistsException) => any;
|
|
725
404
|
}
|
|
726
|
-
|
|
727
|
-
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
728
|
-
* can be applied to a repository is 50.</p>
|
|
729
|
-
*/
|
|
405
|
+
|
|
730
406
|
export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
|
|
731
407
|
name: "TooManyTagsException";
|
|
732
408
|
$fault: "client";
|
|
733
409
|
message?: string;
|
|
734
410
|
}
|
|
735
411
|
export declare namespace TooManyTagsException {
|
|
736
|
-
|
|
737
|
-
* @internal
|
|
738
|
-
*/
|
|
412
|
+
|
|
739
413
|
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
740
414
|
}
|
|
741
415
|
export interface DeleteLifecyclePolicyRequest {
|
|
742
|
-
|
|
743
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
744
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
745
|
-
*/
|
|
416
|
+
|
|
746
417
|
registryId?: string;
|
|
747
|
-
|
|
748
|
-
* <p>The name of the repository.</p>
|
|
749
|
-
*/
|
|
418
|
+
|
|
750
419
|
repositoryName: string | undefined;
|
|
751
420
|
}
|
|
752
421
|
export declare namespace DeleteLifecyclePolicyRequest {
|
|
753
|
-
|
|
754
|
-
* @internal
|
|
755
|
-
*/
|
|
422
|
+
|
|
756
423
|
const filterSensitiveLog: (obj: DeleteLifecyclePolicyRequest) => any;
|
|
757
424
|
}
|
|
758
425
|
export interface DeleteLifecyclePolicyResponse {
|
|
759
|
-
|
|
760
|
-
* <p>The registry ID associated with the request.</p>
|
|
761
|
-
*/
|
|
426
|
+
|
|
762
427
|
registryId?: string;
|
|
763
|
-
|
|
764
|
-
* <p>The repository name associated with the request.</p>
|
|
765
|
-
*/
|
|
428
|
+
|
|
766
429
|
repositoryName?: string;
|
|
767
|
-
|
|
768
|
-
* <p>The JSON lifecycle policy text.</p>
|
|
769
|
-
*/
|
|
430
|
+
|
|
770
431
|
lifecyclePolicyText?: string;
|
|
771
|
-
|
|
772
|
-
* <p>The time stamp of the last time that the lifecycle policy was run.</p>
|
|
773
|
-
*/
|
|
432
|
+
|
|
774
433
|
lastEvaluatedAt?: Date;
|
|
775
434
|
}
|
|
776
435
|
export declare namespace DeleteLifecyclePolicyResponse {
|
|
777
|
-
|
|
778
|
-
* @internal
|
|
779
|
-
*/
|
|
436
|
+
|
|
780
437
|
const filterSensitiveLog: (obj: DeleteLifecyclePolicyResponse) => any;
|
|
781
438
|
}
|
|
782
|
-
|
|
783
|
-
* <p>The lifecycle policy could not be found, and no policy is set to the
|
|
784
|
-
* repository.</p>
|
|
785
|
-
*/
|
|
439
|
+
|
|
786
440
|
export interface LifecyclePolicyNotFoundException extends __SmithyException, $MetadataBearer {
|
|
787
441
|
name: "LifecyclePolicyNotFoundException";
|
|
788
442
|
$fault: "client";
|
|
789
443
|
message?: string;
|
|
790
444
|
}
|
|
791
445
|
export declare namespace LifecyclePolicyNotFoundException {
|
|
792
|
-
|
|
793
|
-
* @internal
|
|
794
|
-
*/
|
|
446
|
+
|
|
795
447
|
const filterSensitiveLog: (obj: LifecyclePolicyNotFoundException) => any;
|
|
796
448
|
}
|
|
797
449
|
export interface DeleteRegistryPolicyRequest {
|
|
798
450
|
}
|
|
799
451
|
export declare namespace DeleteRegistryPolicyRequest {
|
|
800
|
-
|
|
801
|
-
* @internal
|
|
802
|
-
*/
|
|
452
|
+
|
|
803
453
|
const filterSensitiveLog: (obj: DeleteRegistryPolicyRequest) => any;
|
|
804
454
|
}
|
|
805
455
|
export interface DeleteRegistryPolicyResponse {
|
|
806
|
-
|
|
807
|
-
* <p>The registry ID associated with the request.</p>
|
|
808
|
-
*/
|
|
456
|
+
|
|
809
457
|
registryId?: string;
|
|
810
|
-
|
|
811
|
-
* <p>The contents of the registry permissions policy that was deleted.</p>
|
|
812
|
-
*/
|
|
458
|
+
|
|
813
459
|
policyText?: string;
|
|
814
460
|
}
|
|
815
461
|
export declare namespace DeleteRegistryPolicyResponse {
|
|
816
|
-
|
|
817
|
-
* @internal
|
|
818
|
-
*/
|
|
462
|
+
|
|
819
463
|
const filterSensitiveLog: (obj: DeleteRegistryPolicyResponse) => any;
|
|
820
464
|
}
|
|
821
|
-
|
|
822
|
-
* <p>The registry doesn't have an associated registry policy.</p>
|
|
823
|
-
*/
|
|
465
|
+
|
|
824
466
|
export interface RegistryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
|
|
825
467
|
name: "RegistryPolicyNotFoundException";
|
|
826
468
|
$fault: "client";
|
|
827
469
|
message?: string;
|
|
828
470
|
}
|
|
829
471
|
export declare namespace RegistryPolicyNotFoundException {
|
|
830
|
-
|
|
831
|
-
* @internal
|
|
832
|
-
*/
|
|
472
|
+
|
|
833
473
|
const filterSensitiveLog: (obj: RegistryPolicyNotFoundException) => any;
|
|
834
474
|
}
|
|
835
|
-
|
|
836
|
-
* <p>There was an exception validating this request.</p>
|
|
837
|
-
*/
|
|
475
|
+
|
|
838
476
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
839
477
|
name: "ValidationException";
|
|
840
478
|
$fault: "client";
|
|
841
479
|
message?: string;
|
|
842
480
|
}
|
|
843
481
|
export declare namespace ValidationException {
|
|
844
|
-
|
|
845
|
-
* @internal
|
|
846
|
-
*/
|
|
482
|
+
|
|
847
483
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
848
484
|
}
|
|
849
485
|
export interface DeleteRepositoryRequest {
|
|
850
|
-
|
|
851
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository to
|
|
852
|
-
* delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
853
|
-
*/
|
|
486
|
+
|
|
854
487
|
registryId?: string;
|
|
855
|
-
|
|
856
|
-
* <p>The name of the repository to delete.</p>
|
|
857
|
-
*/
|
|
488
|
+
|
|
858
489
|
repositoryName: string | undefined;
|
|
859
|
-
|
|
860
|
-
* <p> If a repository contains images, forces the deletion.</p>
|
|
861
|
-
*/
|
|
490
|
+
|
|
862
491
|
force?: boolean;
|
|
863
492
|
}
|
|
864
493
|
export declare namespace DeleteRepositoryRequest {
|
|
865
|
-
|
|
866
|
-
* @internal
|
|
867
|
-
*/
|
|
494
|
+
|
|
868
495
|
const filterSensitiveLog: (obj: DeleteRepositoryRequest) => any;
|
|
869
496
|
}
|
|
870
497
|
export interface DeleteRepositoryResponse {
|
|
871
|
-
|
|
872
|
-
* <p>The repository that was deleted.</p>
|
|
873
|
-
*/
|
|
498
|
+
|
|
874
499
|
repository?: Repository;
|
|
875
500
|
}
|
|
876
501
|
export declare namespace DeleteRepositoryResponse {
|
|
877
|
-
|
|
878
|
-
* @internal
|
|
879
|
-
*/
|
|
502
|
+
|
|
880
503
|
const filterSensitiveLog: (obj: DeleteRepositoryResponse) => any;
|
|
881
504
|
}
|
|
882
|
-
|
|
883
|
-
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
884
|
-
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
885
|
-
*/
|
|
505
|
+
|
|
886
506
|
export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
|
|
887
507
|
name: "RepositoryNotEmptyException";
|
|
888
508
|
$fault: "client";
|
|
889
|
-
|
|
890
|
-
* <p>The error message associated with the exception.</p>
|
|
891
|
-
*/
|
|
509
|
+
|
|
892
510
|
message?: string;
|
|
893
511
|
}
|
|
894
512
|
export declare namespace RepositoryNotEmptyException {
|
|
895
|
-
|
|
896
|
-
* @internal
|
|
897
|
-
*/
|
|
513
|
+
|
|
898
514
|
const filterSensitiveLog: (obj: RepositoryNotEmptyException) => any;
|
|
899
515
|
}
|
|
900
516
|
export interface DeleteRepositoryPolicyRequest {
|
|
901
|
-
|
|
902
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository policy
|
|
903
|
-
* to delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
904
|
-
*/
|
|
517
|
+
|
|
905
518
|
registryId?: string;
|
|
906
|
-
|
|
907
|
-
* <p>The name of the repository that is associated with the repository policy to
|
|
908
|
-
* delete.</p>
|
|
909
|
-
*/
|
|
519
|
+
|
|
910
520
|
repositoryName: string | undefined;
|
|
911
521
|
}
|
|
912
522
|
export declare namespace DeleteRepositoryPolicyRequest {
|
|
913
|
-
|
|
914
|
-
* @internal
|
|
915
|
-
*/
|
|
523
|
+
|
|
916
524
|
const filterSensitiveLog: (obj: DeleteRepositoryPolicyRequest) => any;
|
|
917
525
|
}
|
|
918
526
|
export interface DeleteRepositoryPolicyResponse {
|
|
919
|
-
|
|
920
|
-
* <p>The registry ID associated with the request.</p>
|
|
921
|
-
*/
|
|
527
|
+
|
|
922
528
|
registryId?: string;
|
|
923
|
-
|
|
924
|
-
* <p>The repository name associated with the request.</p>
|
|
925
|
-
*/
|
|
529
|
+
|
|
926
530
|
repositoryName?: string;
|
|
927
|
-
|
|
928
|
-
* <p>The JSON repository policy that was deleted from the repository.</p>
|
|
929
|
-
*/
|
|
531
|
+
|
|
930
532
|
policyText?: string;
|
|
931
533
|
}
|
|
932
534
|
export declare namespace DeleteRepositoryPolicyResponse {
|
|
933
|
-
|
|
934
|
-
* @internal
|
|
935
|
-
*/
|
|
535
|
+
|
|
936
536
|
const filterSensitiveLog: (obj: DeleteRepositoryPolicyResponse) => any;
|
|
937
537
|
}
|
|
938
|
-
|
|
939
|
-
* <p>The specified repository and registry combination does not have an associated
|
|
940
|
-
* repository policy.</p>
|
|
941
|
-
*/
|
|
538
|
+
|
|
942
539
|
export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
|
|
943
540
|
name: "RepositoryPolicyNotFoundException";
|
|
944
541
|
$fault: "client";
|
|
945
|
-
|
|
946
|
-
* <p>The error message associated with the exception.</p>
|
|
947
|
-
*/
|
|
542
|
+
|
|
948
543
|
message?: string;
|
|
949
544
|
}
|
|
950
545
|
export declare namespace RepositoryPolicyNotFoundException {
|
|
951
|
-
|
|
952
|
-
* @internal
|
|
953
|
-
*/
|
|
546
|
+
|
|
954
547
|
const filterSensitiveLog: (obj: RepositoryPolicyNotFoundException) => any;
|
|
955
548
|
}
|
|
956
549
|
export interface DescribeImageReplicationStatusRequest {
|
|
957
|
-
|
|
958
|
-
* <p>The name of the repository that the image is in.</p>
|
|
959
|
-
*/
|
|
550
|
+
|
|
960
551
|
repositoryName: string | undefined;
|
|
961
|
-
|
|
962
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
963
|
-
*/
|
|
552
|
+
|
|
964
553
|
imageId: ImageIdentifier | undefined;
|
|
965
|
-
|
|
966
|
-
* <p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>
|
|
967
|
-
*/
|
|
554
|
+
|
|
968
555
|
registryId?: string;
|
|
969
556
|
}
|
|
970
557
|
export declare namespace DescribeImageReplicationStatusRequest {
|
|
971
|
-
|
|
972
|
-
* @internal
|
|
973
|
-
*/
|
|
558
|
+
|
|
974
559
|
const filterSensitiveLog: (obj: DescribeImageReplicationStatusRequest) => any;
|
|
975
560
|
}
|
|
976
561
|
export declare enum ReplicationStatus {
|
|
@@ -978,65 +563,41 @@ export declare enum ReplicationStatus {
|
|
|
978
563
|
FAILED = "FAILED",
|
|
979
564
|
IN_PROGRESS = "IN_PROGRESS"
|
|
980
565
|
}
|
|
981
|
-
|
|
982
|
-
* <p>The status of the replication process for an image.</p>
|
|
983
|
-
*/
|
|
566
|
+
|
|
984
567
|
export interface ImageReplicationStatus {
|
|
985
|
-
|
|
986
|
-
* <p>The destination Region for the image replication.</p>
|
|
987
|
-
*/
|
|
568
|
+
|
|
988
569
|
region?: string;
|
|
989
|
-
|
|
990
|
-
* <p>The AWS account ID associated with the registry to which the image belongs.</p>
|
|
991
|
-
*/
|
|
570
|
+
|
|
992
571
|
registryId?: string;
|
|
993
|
-
|
|
994
|
-
* <p>The image replication status.</p>
|
|
995
|
-
*/
|
|
572
|
+
|
|
996
573
|
status?: ReplicationStatus | string;
|
|
997
|
-
|
|
998
|
-
* <p>The failure code for a replication that has failed.</p>
|
|
999
|
-
*/
|
|
574
|
+
|
|
1000
575
|
failureCode?: string;
|
|
1001
576
|
}
|
|
1002
577
|
export declare namespace ImageReplicationStatus {
|
|
1003
|
-
|
|
1004
|
-
* @internal
|
|
1005
|
-
*/
|
|
578
|
+
|
|
1006
579
|
const filterSensitiveLog: (obj: ImageReplicationStatus) => any;
|
|
1007
580
|
}
|
|
1008
581
|
export interface DescribeImageReplicationStatusResponse {
|
|
1009
|
-
|
|
1010
|
-
* <p>The repository name associated with the request.</p>
|
|
1011
|
-
*/
|
|
582
|
+
|
|
1012
583
|
repositoryName?: string;
|
|
1013
|
-
|
|
1014
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1015
|
-
*/
|
|
584
|
+
|
|
1016
585
|
imageId?: ImageIdentifier;
|
|
1017
|
-
|
|
1018
|
-
* <p>The replication status details for the images in the specified repository.</p>
|
|
1019
|
-
*/
|
|
586
|
+
|
|
1020
587
|
replicationStatuses?: ImageReplicationStatus[];
|
|
1021
588
|
}
|
|
1022
589
|
export declare namespace DescribeImageReplicationStatusResponse {
|
|
1023
|
-
|
|
1024
|
-
* @internal
|
|
1025
|
-
*/
|
|
590
|
+
|
|
1026
591
|
const filterSensitiveLog: (obj: DescribeImageReplicationStatusResponse) => any;
|
|
1027
592
|
}
|
|
1028
|
-
|
|
1029
|
-
* <p>The image requested does not exist in the specified repository.</p>
|
|
1030
|
-
*/
|
|
593
|
+
|
|
1031
594
|
export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1032
595
|
name: "ImageNotFoundException";
|
|
1033
596
|
$fault: "client";
|
|
1034
597
|
message?: string;
|
|
1035
598
|
}
|
|
1036
599
|
export declare namespace ImageNotFoundException {
|
|
1037
|
-
|
|
1038
|
-
* @internal
|
|
1039
|
-
*/
|
|
600
|
+
|
|
1040
601
|
const filterSensitiveLog: (obj: ImageNotFoundException) => any;
|
|
1041
602
|
}
|
|
1042
603
|
export declare enum TagStatus {
|
|
@@ -1044,69 +605,31 @@ export declare enum TagStatus {
|
|
|
1044
605
|
TAGGED = "TAGGED",
|
|
1045
606
|
UNTAGGED = "UNTAGGED"
|
|
1046
607
|
}
|
|
1047
|
-
|
|
1048
|
-
* <p>An object representing a filter on a <a>DescribeImages</a>
|
|
1049
|
-
* operation.</p>
|
|
1050
|
-
*/
|
|
608
|
+
|
|
1051
609
|
export interface DescribeImagesFilter {
|
|
1052
|
-
|
|
1053
|
-
* <p>The tag status with which to filter your <a>DescribeImages</a> results. You
|
|
1054
|
-
* can filter results based on whether they are <code>TAGGED</code> or
|
|
1055
|
-
* <code>UNTAGGED</code>.</p>
|
|
1056
|
-
*/
|
|
610
|
+
|
|
1057
611
|
tagStatus?: TagStatus | string;
|
|
1058
612
|
}
|
|
1059
613
|
export declare namespace DescribeImagesFilter {
|
|
1060
|
-
|
|
1061
|
-
* @internal
|
|
1062
|
-
*/
|
|
614
|
+
|
|
1063
615
|
const filterSensitiveLog: (obj: DescribeImagesFilter) => any;
|
|
1064
616
|
}
|
|
1065
617
|
export interface DescribeImagesRequest {
|
|
1066
|
-
|
|
1067
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1068
|
-
* which to describe images. If you do not specify a registry, the default registry is assumed.</p>
|
|
1069
|
-
*/
|
|
618
|
+
|
|
1070
619
|
registryId?: string;
|
|
1071
|
-
|
|
1072
|
-
* <p>The repository that contains the images to describe.</p>
|
|
1073
|
-
*/
|
|
620
|
+
|
|
1074
621
|
repositoryName: string | undefined;
|
|
1075
|
-
|
|
1076
|
-
* <p>The list of image IDs for the requested repository.</p>
|
|
1077
|
-
*/
|
|
622
|
+
|
|
1078
623
|
imageIds?: ImageIdentifier[];
|
|
1079
|
-
|
|
1080
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1081
|
-
* <code>DescribeImages</code> request where <code>maxResults</code> was used and the
|
|
1082
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
1083
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
1084
|
-
* <code>null</code> when there are no more results to return. This option cannot be
|
|
1085
|
-
* used when you specify images with <code>imageIds</code>.</p>
|
|
1086
|
-
*/
|
|
624
|
+
|
|
1087
625
|
nextToken?: string;
|
|
1088
|
-
|
|
1089
|
-
* <p>The maximum number of repository results returned by <code>DescribeImages</code> in
|
|
1090
|
-
* paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
1091
|
-
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
1092
|
-
* response element. The remaining results of the initial request can be seen by sending
|
|
1093
|
-
* another <code>DescribeImages</code> request with the returned <code>nextToken</code>
|
|
1094
|
-
* value. This value can be between 1 and 1000. If this
|
|
1095
|
-
* parameter is not used, then <code>DescribeImages</code> returns up to
|
|
1096
|
-
* 100 results and a <code>nextToken</code> value, if applicable. This
|
|
1097
|
-
* option cannot be used when you specify images with <code>imageIds</code>.</p>
|
|
1098
|
-
*/
|
|
626
|
+
|
|
1099
627
|
maxResults?: number;
|
|
1100
|
-
|
|
1101
|
-
* <p>The filter key and value with which to filter your <code>DescribeImages</code>
|
|
1102
|
-
* results.</p>
|
|
1103
|
-
*/
|
|
628
|
+
|
|
1104
629
|
filter?: DescribeImagesFilter;
|
|
1105
630
|
}
|
|
1106
631
|
export declare namespace DescribeImagesRequest {
|
|
1107
|
-
|
|
1108
|
-
* @internal
|
|
1109
|
-
*/
|
|
632
|
+
|
|
1110
633
|
const filterSensitiveLog: (obj: DescribeImagesRequest) => any;
|
|
1111
634
|
}
|
|
1112
635
|
export declare enum FindingSeverity {
|
|
@@ -1117,29 +640,19 @@ export declare enum FindingSeverity {
|
|
|
1117
640
|
MEDIUM = "MEDIUM",
|
|
1118
641
|
UNDEFINED = "UNDEFINED"
|
|
1119
642
|
}
|
|
1120
|
-
|
|
1121
|
-
* <p>A summary of the last completed image scan.</p>
|
|
1122
|
-
*/
|
|
643
|
+
|
|
1123
644
|
export interface ImageScanFindingsSummary {
|
|
1124
|
-
|
|
1125
|
-
* <p>The time of the last completed image scan.</p>
|
|
1126
|
-
*/
|
|
645
|
+
|
|
1127
646
|
imageScanCompletedAt?: Date;
|
|
1128
|
-
|
|
1129
|
-
* <p>The time when the vulnerability data was last scanned.</p>
|
|
1130
|
-
*/
|
|
647
|
+
|
|
1131
648
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
1132
|
-
|
|
1133
|
-
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
1134
|
-
*/
|
|
649
|
+
|
|
1135
650
|
findingSeverityCounts?: {
|
|
1136
651
|
[key: string]: number;
|
|
1137
652
|
};
|
|
1138
653
|
}
|
|
1139
654
|
export declare namespace ImageScanFindingsSummary {
|
|
1140
|
-
|
|
1141
|
-
* @internal
|
|
1142
|
-
*/
|
|
655
|
+
|
|
1143
656
|
const filterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
|
|
1144
657
|
}
|
|
1145
658
|
export declare enum ScanStatus {
|
|
@@ -1147,747 +660,379 @@ export declare enum ScanStatus {
|
|
|
1147
660
|
FAILED = "FAILED",
|
|
1148
661
|
IN_PROGRESS = "IN_PROGRESS"
|
|
1149
662
|
}
|
|
1150
|
-
|
|
1151
|
-
* <p>The current status of an image scan.</p>
|
|
1152
|
-
*/
|
|
663
|
+
|
|
1153
664
|
export interface ImageScanStatus {
|
|
1154
|
-
|
|
1155
|
-
* <p>The current state of an image scan.</p>
|
|
1156
|
-
*/
|
|
665
|
+
|
|
1157
666
|
status?: ScanStatus | string;
|
|
1158
|
-
|
|
1159
|
-
* <p>The description of the image scan status.</p>
|
|
1160
|
-
*/
|
|
667
|
+
|
|
1161
668
|
description?: string;
|
|
1162
669
|
}
|
|
1163
670
|
export declare namespace ImageScanStatus {
|
|
1164
|
-
|
|
1165
|
-
* @internal
|
|
1166
|
-
*/
|
|
671
|
+
|
|
1167
672
|
const filterSensitiveLog: (obj: ImageScanStatus) => any;
|
|
1168
673
|
}
|
|
1169
|
-
|
|
1170
|
-
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
1171
|
-
* operation.</p>
|
|
1172
|
-
*/
|
|
674
|
+
|
|
1173
675
|
export interface ImageDetail {
|
|
1174
|
-
|
|
1175
|
-
* <p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>
|
|
1176
|
-
*/
|
|
676
|
+
|
|
1177
677
|
registryId?: string;
|
|
1178
|
-
|
|
1179
|
-
* <p>The name of the repository to which this image belongs.</p>
|
|
1180
|
-
*/
|
|
678
|
+
|
|
1181
679
|
repositoryName?: string;
|
|
1182
|
-
|
|
1183
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
1184
|
-
*/
|
|
680
|
+
|
|
1185
681
|
imageDigest?: string;
|
|
1186
|
-
|
|
1187
|
-
* <p>The list of tags associated with this image.</p>
|
|
1188
|
-
*/
|
|
682
|
+
|
|
1189
683
|
imageTags?: string[];
|
|
1190
|
-
|
|
1191
|
-
* <p>The size, in bytes, of the image in the repository.</p>
|
|
1192
|
-
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
1193
|
-
* list.</p>
|
|
1194
|
-
* <note>
|
|
1195
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
1196
|
-
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
1197
|
-
* images</code> command shows the uncompressed image size, so it may return a
|
|
1198
|
-
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
1199
|
-
* </note>
|
|
1200
|
-
*/
|
|
684
|
+
|
|
1201
685
|
imageSizeInBytes?: number;
|
|
1202
|
-
|
|
1203
|
-
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
1204
|
-
* image was pushed to the repository. </p>
|
|
1205
|
-
*/
|
|
686
|
+
|
|
1206
687
|
imagePushedAt?: Date;
|
|
1207
|
-
|
|
1208
|
-
* <p>The current state of the scan.</p>
|
|
1209
|
-
*/
|
|
688
|
+
|
|
1210
689
|
imageScanStatus?: ImageScanStatus;
|
|
1211
|
-
|
|
1212
|
-
* <p>A summary of the last completed image scan.</p>
|
|
1213
|
-
*/
|
|
690
|
+
|
|
1214
691
|
imageScanFindingsSummary?: ImageScanFindingsSummary;
|
|
1215
|
-
|
|
1216
|
-
* <p>The media type of the image manifest.</p>
|
|
1217
|
-
*/
|
|
692
|
+
|
|
1218
693
|
imageManifestMediaType?: string;
|
|
1219
|
-
|
|
1220
|
-
* <p>The artifact media type of the image.</p>
|
|
1221
|
-
*/
|
|
694
|
+
|
|
1222
695
|
artifactMediaType?: string;
|
|
1223
696
|
}
|
|
1224
697
|
export declare namespace ImageDetail {
|
|
1225
|
-
|
|
1226
|
-
* @internal
|
|
1227
|
-
*/
|
|
698
|
+
|
|
1228
699
|
const filterSensitiveLog: (obj: ImageDetail) => any;
|
|
1229
700
|
}
|
|
1230
701
|
export interface DescribeImagesResponse {
|
|
1231
|
-
|
|
1232
|
-
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
1233
|
-
* image.</p>
|
|
1234
|
-
*/
|
|
702
|
+
|
|
1235
703
|
imageDetails?: ImageDetail[];
|
|
1236
|
-
|
|
1237
|
-
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
1238
|
-
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
1239
|
-
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
1240
|
-
* results. This value is <code>null</code> when there are no more results to
|
|
1241
|
-
* return.</p>
|
|
1242
|
-
*/
|
|
704
|
+
|
|
1243
705
|
nextToken?: string;
|
|
1244
706
|
}
|
|
1245
707
|
export declare namespace DescribeImagesResponse {
|
|
1246
|
-
|
|
1247
|
-
* @internal
|
|
1248
|
-
*/
|
|
708
|
+
|
|
1249
709
|
const filterSensitiveLog: (obj: DescribeImagesResponse) => any;
|
|
1250
710
|
}
|
|
1251
711
|
export interface DescribeImageScanFindingsRequest {
|
|
1252
|
-
|
|
1253
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1254
|
-
* which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
|
|
1255
|
-
*/
|
|
712
|
+
|
|
1256
713
|
registryId?: string;
|
|
1257
|
-
|
|
1258
|
-
* <p>The repository for the image for which to describe the scan findings.</p>
|
|
1259
|
-
*/
|
|
714
|
+
|
|
1260
715
|
repositoryName: string | undefined;
|
|
1261
|
-
|
|
1262
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1263
|
-
*/
|
|
716
|
+
|
|
1264
717
|
imageId: ImageIdentifier | undefined;
|
|
1265
|
-
|
|
1266
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1267
|
-
* <code>DescribeImageScanFindings</code> request where <code>maxResults</code> was
|
|
1268
|
-
* used and the results exceeded the value of that parameter. Pagination continues from the
|
|
1269
|
-
* end of the previous results that returned the <code>nextToken</code> value. This value
|
|
1270
|
-
* is null when there are no more results to return.</p>
|
|
1271
|
-
*/
|
|
718
|
+
|
|
1272
719
|
nextToken?: string;
|
|
1273
|
-
|
|
1274
|
-
* <p>The maximum number of image scan results returned by
|
|
1275
|
-
* <code>DescribeImageScanFindings</code> in paginated output. When this parameter is
|
|
1276
|
-
* used, <code>DescribeImageScanFindings</code> only returns <code>maxResults</code>
|
|
1277
|
-
* results in a single page along with a <code>nextToken</code> response element. The
|
|
1278
|
-
* remaining results of the initial request can be seen by sending another
|
|
1279
|
-
* <code>DescribeImageScanFindings</code> request with the returned
|
|
1280
|
-
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
1281
|
-
* parameter is not used, then <code>DescribeImageScanFindings</code> returns up to 100
|
|
1282
|
-
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
1283
|
-
*/
|
|
720
|
+
|
|
1284
721
|
maxResults?: number;
|
|
1285
722
|
}
|
|
1286
723
|
export declare namespace DescribeImageScanFindingsRequest {
|
|
1287
|
-
|
|
1288
|
-
* @internal
|
|
1289
|
-
*/
|
|
724
|
+
|
|
1290
725
|
const filterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
|
|
1291
726
|
}
|
|
1292
|
-
|
|
1293
|
-
* <p>This data type is used in the <a>ImageScanFinding</a> data type.</p>
|
|
1294
|
-
*/
|
|
727
|
+
|
|
1295
728
|
export interface Attribute {
|
|
1296
|
-
|
|
1297
|
-
* <p>The attribute key.</p>
|
|
1298
|
-
*/
|
|
729
|
+
|
|
1299
730
|
key: string | undefined;
|
|
1300
|
-
|
|
1301
|
-
* <p>The value assigned to the attribute key.</p>
|
|
1302
|
-
*/
|
|
731
|
+
|
|
1303
732
|
value?: string;
|
|
1304
733
|
}
|
|
1305
734
|
export declare namespace Attribute {
|
|
1306
|
-
|
|
1307
|
-
* @internal
|
|
1308
|
-
*/
|
|
735
|
+
|
|
1309
736
|
const filterSensitiveLog: (obj: Attribute) => any;
|
|
1310
737
|
}
|
|
1311
|
-
|
|
1312
|
-
* <p>Contains information about an image scan finding.</p>
|
|
1313
|
-
*/
|
|
738
|
+
|
|
1314
739
|
export interface ImageScanFinding {
|
|
1315
|
-
|
|
1316
|
-
* <p>The name associated with the finding, usually a CVE number.</p>
|
|
1317
|
-
*/
|
|
740
|
+
|
|
1318
741
|
name?: string;
|
|
1319
|
-
|
|
1320
|
-
* <p>The description of the finding.</p>
|
|
1321
|
-
*/
|
|
742
|
+
|
|
1322
743
|
description?: string;
|
|
1323
|
-
|
|
1324
|
-
* <p>A link containing additional details about the security vulnerability.</p>
|
|
1325
|
-
*/
|
|
744
|
+
|
|
1326
745
|
uri?: string;
|
|
1327
|
-
|
|
1328
|
-
* <p>The finding severity.</p>
|
|
1329
|
-
*/
|
|
746
|
+
|
|
1330
747
|
severity?: FindingSeverity | string;
|
|
1331
|
-
|
|
1332
|
-
* <p>A collection of attributes of the host from which the finding is generated.</p>
|
|
1333
|
-
*/
|
|
748
|
+
|
|
1334
749
|
attributes?: Attribute[];
|
|
1335
750
|
}
|
|
1336
751
|
export declare namespace ImageScanFinding {
|
|
1337
|
-
|
|
1338
|
-
* @internal
|
|
1339
|
-
*/
|
|
752
|
+
|
|
1340
753
|
const filterSensitiveLog: (obj: ImageScanFinding) => any;
|
|
1341
754
|
}
|
|
1342
|
-
|
|
1343
|
-
* <p>The details of an image scan.</p>
|
|
1344
|
-
*/
|
|
755
|
+
|
|
1345
756
|
export interface ImageScanFindings {
|
|
1346
|
-
|
|
1347
|
-
* <p>The time of the last completed image scan.</p>
|
|
1348
|
-
*/
|
|
757
|
+
|
|
1349
758
|
imageScanCompletedAt?: Date;
|
|
1350
|
-
|
|
1351
|
-
* <p>The time when the vulnerability data was last scanned.</p>
|
|
1352
|
-
*/
|
|
759
|
+
|
|
1353
760
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
1354
|
-
|
|
1355
|
-
* <p>The findings from the image scan.</p>
|
|
1356
|
-
*/
|
|
761
|
+
|
|
1357
762
|
findings?: ImageScanFinding[];
|
|
1358
|
-
|
|
1359
|
-
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
1360
|
-
*/
|
|
763
|
+
|
|
1361
764
|
findingSeverityCounts?: {
|
|
1362
765
|
[key: string]: number;
|
|
1363
766
|
};
|
|
1364
767
|
}
|
|
1365
768
|
export declare namespace ImageScanFindings {
|
|
1366
|
-
|
|
1367
|
-
* @internal
|
|
1368
|
-
*/
|
|
769
|
+
|
|
1369
770
|
const filterSensitiveLog: (obj: ImageScanFindings) => any;
|
|
1370
771
|
}
|
|
1371
772
|
export interface DescribeImageScanFindingsResponse {
|
|
1372
|
-
|
|
1373
|
-
* <p>The registry ID associated with the request.</p>
|
|
1374
|
-
*/
|
|
773
|
+
|
|
1375
774
|
registryId?: string;
|
|
1376
|
-
|
|
1377
|
-
* <p>The repository name associated with the request.</p>
|
|
1378
|
-
*/
|
|
775
|
+
|
|
1379
776
|
repositoryName?: string;
|
|
1380
|
-
|
|
1381
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1382
|
-
*/
|
|
777
|
+
|
|
1383
778
|
imageId?: ImageIdentifier;
|
|
1384
|
-
|
|
1385
|
-
* <p>The current state of the scan.</p>
|
|
1386
|
-
*/
|
|
779
|
+
|
|
1387
780
|
imageScanStatus?: ImageScanStatus;
|
|
1388
|
-
|
|
1389
|
-
* <p>The information contained in the image scan findings.</p>
|
|
1390
|
-
*/
|
|
781
|
+
|
|
1391
782
|
imageScanFindings?: ImageScanFindings;
|
|
1392
|
-
|
|
1393
|
-
* <p>The <code>nextToken</code> value to include in a future
|
|
1394
|
-
* <code>DescribeImageScanFindings</code> request. When the results of a
|
|
1395
|
-
* <code>DescribeImageScanFindings</code> request exceed <code>maxResults</code>, this
|
|
1396
|
-
* value can be used to retrieve the next page of results. This value is null when there
|
|
1397
|
-
* are no more results to return.</p>
|
|
1398
|
-
*/
|
|
783
|
+
|
|
1399
784
|
nextToken?: string;
|
|
1400
785
|
}
|
|
1401
786
|
export declare namespace DescribeImageScanFindingsResponse {
|
|
1402
|
-
|
|
1403
|
-
* @internal
|
|
1404
|
-
*/
|
|
787
|
+
|
|
1405
788
|
const filterSensitiveLog: (obj: DescribeImageScanFindingsResponse) => any;
|
|
1406
789
|
}
|
|
1407
|
-
|
|
1408
|
-
* <p>The specified image scan could not be found. Ensure that image scanning is enabled on
|
|
1409
|
-
* the repository and try again.</p>
|
|
1410
|
-
*/
|
|
790
|
+
|
|
1411
791
|
export interface ScanNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1412
792
|
name: "ScanNotFoundException";
|
|
1413
793
|
$fault: "client";
|
|
1414
794
|
message?: string;
|
|
1415
795
|
}
|
|
1416
796
|
export declare namespace ScanNotFoundException {
|
|
1417
|
-
|
|
1418
|
-
* @internal
|
|
1419
|
-
*/
|
|
797
|
+
|
|
1420
798
|
const filterSensitiveLog: (obj: ScanNotFoundException) => any;
|
|
1421
799
|
}
|
|
1422
800
|
export interface DescribeRegistryRequest {
|
|
1423
801
|
}
|
|
1424
802
|
export declare namespace DescribeRegistryRequest {
|
|
1425
|
-
|
|
1426
|
-
* @internal
|
|
1427
|
-
*/
|
|
803
|
+
|
|
1428
804
|
const filterSensitiveLog: (obj: DescribeRegistryRequest) => any;
|
|
1429
805
|
}
|
|
1430
|
-
|
|
1431
|
-
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
1432
|
-
*/
|
|
806
|
+
|
|
1433
807
|
export interface ReplicationDestination {
|
|
1434
|
-
|
|
1435
|
-
* <p>The Region to replicate to.</p>
|
|
1436
|
-
*/
|
|
808
|
+
|
|
1437
809
|
region: string | undefined;
|
|
1438
|
-
|
|
1439
|
-
* <p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
|
|
1440
|
-
* cross-Region replication within your own registry, specify your own account ID.</p>
|
|
1441
|
-
*/
|
|
810
|
+
|
|
1442
811
|
registryId: string | undefined;
|
|
1443
812
|
}
|
|
1444
813
|
export declare namespace ReplicationDestination {
|
|
1445
|
-
|
|
1446
|
-
* @internal
|
|
1447
|
-
*/
|
|
814
|
+
|
|
1448
815
|
const filterSensitiveLog: (obj: ReplicationDestination) => any;
|
|
1449
816
|
}
|
|
1450
817
|
export declare enum RepositoryFilterType {
|
|
1451
818
|
PREFIX_MATCH = "PREFIX_MATCH"
|
|
1452
819
|
}
|
|
1453
|
-
|
|
1454
|
-
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
1455
|
-
* replication rule provides a method for controlling which repositories in a private
|
|
1456
|
-
* registry are replicated. If no repository filter is specified, all images in the
|
|
1457
|
-
* repository are replicated.</p>
|
|
1458
|
-
*/
|
|
820
|
+
|
|
1459
821
|
export interface RepositoryFilter {
|
|
1460
|
-
|
|
1461
|
-
* <p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is
|
|
1462
|
-
* specified, this value is required and should be the repository name prefix to configure
|
|
1463
|
-
* replication for.</p>
|
|
1464
|
-
*/
|
|
822
|
+
|
|
1465
823
|
filter: string | undefined;
|
|
1466
|
-
|
|
1467
|
-
* <p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,
|
|
1468
|
-
* which is a repository name prefix specified with the <code>filter</code>
|
|
1469
|
-
* parameter.</p>
|
|
1470
|
-
*/
|
|
824
|
+
|
|
1471
825
|
filterType: RepositoryFilterType | string | undefined;
|
|
1472
826
|
}
|
|
1473
827
|
export declare namespace RepositoryFilter {
|
|
1474
|
-
|
|
1475
|
-
* @internal
|
|
1476
|
-
*/
|
|
828
|
+
|
|
1477
829
|
const filterSensitiveLog: (obj: RepositoryFilter) => any;
|
|
1478
830
|
}
|
|
1479
|
-
|
|
1480
|
-
* <p>An array of objects representing the replication destinations and repository filters
|
|
1481
|
-
* for a replication configuration.</p>
|
|
1482
|
-
*/
|
|
831
|
+
|
|
1483
832
|
export interface ReplicationRule {
|
|
1484
|
-
|
|
1485
|
-
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
1486
|
-
*/
|
|
833
|
+
|
|
1487
834
|
destinations: ReplicationDestination[] | undefined;
|
|
1488
|
-
|
|
1489
|
-
* <p>An array of objects representing the filters for a replication rule. Specifying a
|
|
1490
|
-
* repository filter for a replication rule provides a method for controlling which
|
|
1491
|
-
* repositories in a private registry are replicated.</p>
|
|
1492
|
-
*/
|
|
835
|
+
|
|
1493
836
|
repositoryFilters?: RepositoryFilter[];
|
|
1494
837
|
}
|
|
1495
838
|
export declare namespace ReplicationRule {
|
|
1496
|
-
|
|
1497
|
-
* @internal
|
|
1498
|
-
*/
|
|
839
|
+
|
|
1499
840
|
const filterSensitiveLog: (obj: ReplicationRule) => any;
|
|
1500
841
|
}
|
|
1501
|
-
|
|
1502
|
-
* <p>The replication configuration for a registry.</p>
|
|
1503
|
-
*/
|
|
842
|
+
|
|
1504
843
|
export interface ReplicationConfiguration {
|
|
1505
|
-
|
|
1506
|
-
* <p>An array of objects representing the replication destinations and repository filters
|
|
1507
|
-
* for a replication configuration.</p>
|
|
1508
|
-
*/
|
|
844
|
+
|
|
1509
845
|
rules: ReplicationRule[] | undefined;
|
|
1510
846
|
}
|
|
1511
847
|
export declare namespace ReplicationConfiguration {
|
|
1512
|
-
|
|
1513
|
-
* @internal
|
|
1514
|
-
*/
|
|
848
|
+
|
|
1515
849
|
const filterSensitiveLog: (obj: ReplicationConfiguration) => any;
|
|
1516
850
|
}
|
|
1517
851
|
export interface DescribeRegistryResponse {
|
|
1518
|
-
|
|
1519
|
-
* <p>The ID of the registry.</p>
|
|
1520
|
-
*/
|
|
852
|
+
|
|
1521
853
|
registryId?: string;
|
|
1522
|
-
|
|
1523
|
-
* <p>The replication configuration for the registry.</p>
|
|
1524
|
-
*/
|
|
854
|
+
|
|
1525
855
|
replicationConfiguration?: ReplicationConfiguration;
|
|
1526
856
|
}
|
|
1527
857
|
export declare namespace DescribeRegistryResponse {
|
|
1528
|
-
|
|
1529
|
-
* @internal
|
|
1530
|
-
*/
|
|
858
|
+
|
|
1531
859
|
const filterSensitiveLog: (obj: DescribeRegistryResponse) => any;
|
|
1532
860
|
}
|
|
1533
861
|
export interface DescribeRepositoriesRequest {
|
|
1534
|
-
|
|
1535
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
|
|
1536
|
-
* described. If you do not specify a registry, the default registry is assumed.</p>
|
|
1537
|
-
*/
|
|
862
|
+
|
|
1538
863
|
registryId?: string;
|
|
1539
|
-
|
|
1540
|
-
* <p>A list of repositories to describe. If this parameter is omitted, then all
|
|
1541
|
-
* repositories in a registry are described.</p>
|
|
1542
|
-
*/
|
|
864
|
+
|
|
1543
865
|
repositoryNames?: string[];
|
|
1544
|
-
|
|
1545
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1546
|
-
* <code>DescribeRepositories</code> request where <code>maxResults</code> was used and
|
|
1547
|
-
* the results exceeded the value of that parameter. Pagination continues from the end of
|
|
1548
|
-
* the previous results that returned the <code>nextToken</code> value. This value is
|
|
1549
|
-
* <code>null</code> when there are no more results to return. This option cannot be
|
|
1550
|
-
* used when you specify repositories with <code>repositoryNames</code>.</p>
|
|
1551
|
-
* <note>
|
|
1552
|
-
* <p>This token should be treated as an opaque identifier that is only used to
|
|
1553
|
-
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
1554
|
-
* </note>
|
|
1555
|
-
*/
|
|
866
|
+
|
|
1556
867
|
nextToken?: string;
|
|
1557
|
-
|
|
1558
|
-
* <p>The maximum number of repository results returned by <code>DescribeRepositories</code>
|
|
1559
|
-
* in paginated output. When this parameter is used, <code>DescribeRepositories</code> only
|
|
1560
|
-
* returns <code>maxResults</code> results in a single page along with a
|
|
1561
|
-
* <code>nextToken</code> response element. The remaining results of the initial
|
|
1562
|
-
* request can be seen by sending another <code>DescribeRepositories</code> request with
|
|
1563
|
-
* the returned <code>nextToken</code> value. This value can be between 1
|
|
1564
|
-
* and 1000. If this parameter is not used, then
|
|
1565
|
-
* <code>DescribeRepositories</code> returns up to 100 results and a
|
|
1566
|
-
* <code>nextToken</code> value, if applicable. This option cannot be used when you
|
|
1567
|
-
* specify repositories with <code>repositoryNames</code>.</p>
|
|
1568
|
-
*/
|
|
868
|
+
|
|
1569
869
|
maxResults?: number;
|
|
1570
870
|
}
|
|
1571
871
|
export declare namespace DescribeRepositoriesRequest {
|
|
1572
|
-
|
|
1573
|
-
* @internal
|
|
1574
|
-
*/
|
|
872
|
+
|
|
1575
873
|
const filterSensitiveLog: (obj: DescribeRepositoriesRequest) => any;
|
|
1576
874
|
}
|
|
1577
875
|
export interface DescribeRepositoriesResponse {
|
|
1578
|
-
|
|
1579
|
-
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
1580
|
-
*/
|
|
876
|
+
|
|
1581
877
|
repositories?: Repository[];
|
|
1582
|
-
|
|
1583
|
-
* <p>The <code>nextToken</code> value to include in a future
|
|
1584
|
-
* <code>DescribeRepositories</code> request. When the results of a
|
|
1585
|
-
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value
|
|
1586
|
-
* can be used to retrieve the next page of results. This value is <code>null</code> when
|
|
1587
|
-
* there are no more results to return.</p>
|
|
1588
|
-
*/
|
|
878
|
+
|
|
1589
879
|
nextToken?: string;
|
|
1590
880
|
}
|
|
1591
881
|
export declare namespace DescribeRepositoriesResponse {
|
|
1592
|
-
|
|
1593
|
-
* @internal
|
|
1594
|
-
*/
|
|
882
|
+
|
|
1595
883
|
const filterSensitiveLog: (obj: DescribeRepositoriesResponse) => any;
|
|
1596
884
|
}
|
|
1597
885
|
export interface GetAuthorizationTokenRequest {
|
|
1598
|
-
|
|
1599
|
-
* @deprecated
|
|
1600
|
-
*
|
|
1601
|
-
* <p>A list of Amazon Web Services account IDs that are associated with the registries for which to get
|
|
1602
|
-
* AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
|
|
1603
|
-
*/
|
|
886
|
+
|
|
1604
887
|
registryIds?: string[];
|
|
1605
888
|
}
|
|
1606
889
|
export declare namespace GetAuthorizationTokenRequest {
|
|
1607
|
-
|
|
1608
|
-
* @internal
|
|
1609
|
-
*/
|
|
890
|
+
|
|
1610
891
|
const filterSensitiveLog: (obj: GetAuthorizationTokenRequest) => any;
|
|
1611
892
|
}
|
|
1612
|
-
|
|
1613
|
-
* <p>An object representing authorization data for an Amazon ECR registry.</p>
|
|
1614
|
-
*/
|
|
893
|
+
|
|
1615
894
|
export interface AuthorizationData {
|
|
1616
|
-
|
|
1617
|
-
* <p>A base64-encoded string that contains authorization data for the specified Amazon ECR
|
|
1618
|
-
* registry. When the string is decoded, it is presented in the format
|
|
1619
|
-
* <code>user:password</code> for private registry authentication using <code>docker
|
|
1620
|
-
* login</code>.</p>
|
|
1621
|
-
*/
|
|
895
|
+
|
|
1622
896
|
authorizationToken?: string;
|
|
1623
|
-
|
|
1624
|
-
* <p>The Unix time in seconds and milliseconds when the authorization token expires.
|
|
1625
|
-
* Authorization tokens are valid for 12 hours.</p>
|
|
1626
|
-
*/
|
|
897
|
+
|
|
1627
898
|
expiresAt?: Date;
|
|
1628
|
-
|
|
1629
|
-
* <p>The registry URL to use for this authorization token in a <code>docker login</code>
|
|
1630
|
-
* command. The Amazon ECR registry URL format is
|
|
1631
|
-
* <code>https://aws_account_id.dkr.ecr.region.amazonaws.com</code>. For example,
|
|
1632
|
-
* <code>https://012345678910.dkr.ecr.us-east-1.amazonaws.com</code>.. </p>
|
|
1633
|
-
*/
|
|
899
|
+
|
|
1634
900
|
proxyEndpoint?: string;
|
|
1635
901
|
}
|
|
1636
902
|
export declare namespace AuthorizationData {
|
|
1637
|
-
|
|
1638
|
-
* @internal
|
|
1639
|
-
*/
|
|
903
|
+
|
|
1640
904
|
const filterSensitiveLog: (obj: AuthorizationData) => any;
|
|
1641
905
|
}
|
|
1642
906
|
export interface GetAuthorizationTokenResponse {
|
|
1643
|
-
|
|
1644
|
-
* <p>A list of authorization token data objects that correspond to the
|
|
1645
|
-
* <code>registryIds</code> values in the request.</p>
|
|
1646
|
-
*/
|
|
907
|
+
|
|
1647
908
|
authorizationData?: AuthorizationData[];
|
|
1648
909
|
}
|
|
1649
910
|
export declare namespace GetAuthorizationTokenResponse {
|
|
1650
|
-
|
|
1651
|
-
* @internal
|
|
1652
|
-
*/
|
|
911
|
+
|
|
1653
912
|
const filterSensitiveLog: (obj: GetAuthorizationTokenResponse) => any;
|
|
1654
913
|
}
|
|
1655
914
|
export interface GetDownloadUrlForLayerRequest {
|
|
1656
|
-
|
|
1657
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the image layer to
|
|
1658
|
-
* download. If you do not specify a registry, the default registry is assumed.</p>
|
|
1659
|
-
*/
|
|
915
|
+
|
|
1660
916
|
registryId?: string;
|
|
1661
|
-
|
|
1662
|
-
* <p>The name of the repository that is associated with the image layer to download.</p>
|
|
1663
|
-
*/
|
|
917
|
+
|
|
1664
918
|
repositoryName: string | undefined;
|
|
1665
|
-
|
|
1666
|
-
* <p>The digest of the image layer to download.</p>
|
|
1667
|
-
*/
|
|
919
|
+
|
|
1668
920
|
layerDigest: string | undefined;
|
|
1669
921
|
}
|
|
1670
922
|
export declare namespace GetDownloadUrlForLayerRequest {
|
|
1671
|
-
|
|
1672
|
-
* @internal
|
|
1673
|
-
*/
|
|
923
|
+
|
|
1674
924
|
const filterSensitiveLog: (obj: GetDownloadUrlForLayerRequest) => any;
|
|
1675
925
|
}
|
|
1676
926
|
export interface GetDownloadUrlForLayerResponse {
|
|
1677
|
-
|
|
1678
|
-
* <p>The pre-signed Amazon S3 download URL for the requested layer.</p>
|
|
1679
|
-
*/
|
|
927
|
+
|
|
1680
928
|
downloadUrl?: string;
|
|
1681
|
-
|
|
1682
|
-
* <p>The digest of the image layer to download.</p>
|
|
1683
|
-
*/
|
|
929
|
+
|
|
1684
930
|
layerDigest?: string;
|
|
1685
931
|
}
|
|
1686
932
|
export declare namespace GetDownloadUrlForLayerResponse {
|
|
1687
|
-
|
|
1688
|
-
* @internal
|
|
1689
|
-
*/
|
|
933
|
+
|
|
1690
934
|
const filterSensitiveLog: (obj: GetDownloadUrlForLayerResponse) => any;
|
|
1691
935
|
}
|
|
1692
|
-
|
|
1693
|
-
* <p>The specified layer is not available because it is not associated with an image.
|
|
1694
|
-
* Unassociated image layers may be cleaned up at any time.</p>
|
|
1695
|
-
*/
|
|
936
|
+
|
|
1696
937
|
export interface LayerInaccessibleException extends __SmithyException, $MetadataBearer {
|
|
1697
938
|
name: "LayerInaccessibleException";
|
|
1698
939
|
$fault: "client";
|
|
1699
|
-
|
|
1700
|
-
* <p>The error message associated with the exception.</p>
|
|
1701
|
-
*/
|
|
940
|
+
|
|
1702
941
|
message?: string;
|
|
1703
942
|
}
|
|
1704
943
|
export declare namespace LayerInaccessibleException {
|
|
1705
|
-
|
|
1706
|
-
* @internal
|
|
1707
|
-
*/
|
|
944
|
+
|
|
1708
945
|
const filterSensitiveLog: (obj: LayerInaccessibleException) => any;
|
|
1709
946
|
}
|
|
1710
|
-
|
|
1711
|
-
* <p>The specified layers could not be found, or the specified layer is not valid for this
|
|
1712
|
-
* repository.</p>
|
|
1713
|
-
*/
|
|
947
|
+
|
|
1714
948
|
export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1715
949
|
name: "LayersNotFoundException";
|
|
1716
950
|
$fault: "client";
|
|
1717
|
-
|
|
1718
|
-
* <p>The error message associated with the exception.</p>
|
|
1719
|
-
*/
|
|
951
|
+
|
|
1720
952
|
message?: string;
|
|
1721
953
|
}
|
|
1722
954
|
export declare namespace LayersNotFoundException {
|
|
1723
|
-
|
|
1724
|
-
* @internal
|
|
1725
|
-
*/
|
|
955
|
+
|
|
1726
956
|
const filterSensitiveLog: (obj: LayersNotFoundException) => any;
|
|
1727
957
|
}
|
|
1728
958
|
export interface GetLifecyclePolicyRequest {
|
|
1729
|
-
|
|
1730
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
1731
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
1732
|
-
*/
|
|
959
|
+
|
|
1733
960
|
registryId?: string;
|
|
1734
|
-
|
|
1735
|
-
* <p>The name of the repository.</p>
|
|
1736
|
-
*/
|
|
961
|
+
|
|
1737
962
|
repositoryName: string | undefined;
|
|
1738
963
|
}
|
|
1739
964
|
export declare namespace GetLifecyclePolicyRequest {
|
|
1740
|
-
|
|
1741
|
-
* @internal
|
|
1742
|
-
*/
|
|
965
|
+
|
|
1743
966
|
const filterSensitiveLog: (obj: GetLifecyclePolicyRequest) => any;
|
|
1744
967
|
}
|
|
1745
968
|
export interface GetLifecyclePolicyResponse {
|
|
1746
|
-
|
|
1747
|
-
* <p>The registry ID associated with the request.</p>
|
|
1748
|
-
*/
|
|
969
|
+
|
|
1749
970
|
registryId?: string;
|
|
1750
|
-
|
|
1751
|
-
* <p>The repository name associated with the request.</p>
|
|
1752
|
-
*/
|
|
971
|
+
|
|
1753
972
|
repositoryName?: string;
|
|
1754
|
-
|
|
1755
|
-
* <p>The JSON lifecycle policy text.</p>
|
|
1756
|
-
*/
|
|
973
|
+
|
|
1757
974
|
lifecyclePolicyText?: string;
|
|
1758
|
-
|
|
1759
|
-
* <p>The time stamp of the last time that the lifecycle policy was run.</p>
|
|
1760
|
-
*/
|
|
975
|
+
|
|
1761
976
|
lastEvaluatedAt?: Date;
|
|
1762
977
|
}
|
|
1763
978
|
export declare namespace GetLifecyclePolicyResponse {
|
|
1764
|
-
|
|
1765
|
-
* @internal
|
|
1766
|
-
*/
|
|
979
|
+
|
|
1767
980
|
const filterSensitiveLog: (obj: GetLifecyclePolicyResponse) => any;
|
|
1768
981
|
}
|
|
1769
|
-
|
|
1770
|
-
* <p>The filter for the lifecycle policy preview.</p>
|
|
1771
|
-
*/
|
|
982
|
+
|
|
1772
983
|
export interface LifecyclePolicyPreviewFilter {
|
|
1773
|
-
|
|
1774
|
-
* <p>The tag status of the image.</p>
|
|
1775
|
-
*/
|
|
984
|
+
|
|
1776
985
|
tagStatus?: TagStatus | string;
|
|
1777
986
|
}
|
|
1778
987
|
export declare namespace LifecyclePolicyPreviewFilter {
|
|
1779
|
-
|
|
1780
|
-
* @internal
|
|
1781
|
-
*/
|
|
988
|
+
|
|
1782
989
|
const filterSensitiveLog: (obj: LifecyclePolicyPreviewFilter) => any;
|
|
1783
990
|
}
|
|
1784
991
|
export interface GetLifecyclePolicyPreviewRequest {
|
|
1785
|
-
|
|
1786
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
1787
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
1788
|
-
*/
|
|
992
|
+
|
|
1789
993
|
registryId?: string;
|
|
1790
|
-
|
|
1791
|
-
* <p>The name of the repository.</p>
|
|
1792
|
-
*/
|
|
994
|
+
|
|
1793
995
|
repositoryName: string | undefined;
|
|
1794
|
-
|
|
1795
|
-
* <p>The list of imageIDs to be included.</p>
|
|
1796
|
-
*/
|
|
996
|
+
|
|
1797
997
|
imageIds?: ImageIdentifier[];
|
|
1798
|
-
|
|
1799
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1800
|
-
* <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code>
|
|
1801
|
-
* was used and the
|
|
1802
|
-
results exceeded the value of that parameter. Pagination continues
|
|
1803
|
-
* from the end of the
|
|
1804
|
-
previous results that returned the <code>nextToken</code> value.
|
|
1805
|
-
* This value is
|
|
1806
|
-
<code>null</code> when there are no more results to return. This option
|
|
1807
|
-
* cannot be used when you specify images with <code>imageIds</code>.</p>
|
|
1808
|
-
*/
|
|
998
|
+
|
|
1809
999
|
nextToken?: string;
|
|
1810
|
-
|
|
1811
|
-
* <p>The maximum number of repository results returned by
|
|
1812
|
-
* <code>GetLifecyclePolicyPreviewRequest</code> in
|
|
1813
|
-
paginated output. When this
|
|
1814
|
-
* parameter is used, <code>GetLifecyclePolicyPreviewRequest</code> only returns
|
|
1815
|
-
* <code>maxResults</code> results in a single page along with a
|
|
1816
|
-
* <code>nextToken</code>
|
|
1817
|
-
response element. The remaining results of the initial request
|
|
1818
|
-
* can be seen by sending
|
|
1819
|
-
another <code>GetLifecyclePolicyPreviewRequest</code> request
|
|
1820
|
-
* with the returned <code>nextToken</code>
|
|
1821
|
-
value. This value can be between
|
|
1822
|
-
* 1 and 1000. If this
|
|
1823
|
-
parameter is not used, then
|
|
1824
|
-
* <code>GetLifecyclePolicyPreviewRequest</code> returns up to
|
|
1825
|
-
100
|
|
1826
|
-
* results and a <code>nextToken</code> value, if
|
|
1827
|
-
applicable. This option cannot be used
|
|
1828
|
-
* when you specify images with <code>imageIds</code>.</p>
|
|
1829
|
-
*/
|
|
1000
|
+
|
|
1830
1001
|
maxResults?: number;
|
|
1831
|
-
|
|
1832
|
-
* <p>An optional parameter that filters results based on image tag status and all tags, if
|
|
1833
|
-
* tagged.</p>
|
|
1834
|
-
*/
|
|
1002
|
+
|
|
1835
1003
|
filter?: LifecyclePolicyPreviewFilter;
|
|
1836
1004
|
}
|
|
1837
1005
|
export declare namespace GetLifecyclePolicyPreviewRequest {
|
|
1838
|
-
|
|
1839
|
-
* @internal
|
|
1840
|
-
*/
|
|
1006
|
+
|
|
1841
1007
|
const filterSensitiveLog: (obj: GetLifecyclePolicyPreviewRequest) => any;
|
|
1842
1008
|
}
|
|
1843
1009
|
export declare enum ImageActionType {
|
|
1844
1010
|
EXPIRE = "EXPIRE"
|
|
1845
1011
|
}
|
|
1846
|
-
|
|
1847
|
-
* <p>The type of action to be taken.</p>
|
|
1848
|
-
*/
|
|
1012
|
+
|
|
1849
1013
|
export interface LifecyclePolicyRuleAction {
|
|
1850
|
-
|
|
1851
|
-
* <p>The type of action to be taken.</p>
|
|
1852
|
-
*/
|
|
1014
|
+
|
|
1853
1015
|
type?: ImageActionType | string;
|
|
1854
1016
|
}
|
|
1855
1017
|
export declare namespace LifecyclePolicyRuleAction {
|
|
1856
|
-
|
|
1857
|
-
* @internal
|
|
1858
|
-
*/
|
|
1018
|
+
|
|
1859
1019
|
const filterSensitiveLog: (obj: LifecyclePolicyRuleAction) => any;
|
|
1860
1020
|
}
|
|
1861
|
-
|
|
1862
|
-
* <p>The result of the lifecycle policy preview.</p>
|
|
1863
|
-
*/
|
|
1021
|
+
|
|
1864
1022
|
export interface LifecyclePolicyPreviewResult {
|
|
1865
|
-
|
|
1866
|
-
* <p>The list of tags associated with this image.</p>
|
|
1867
|
-
*/
|
|
1023
|
+
|
|
1868
1024
|
imageTags?: string[];
|
|
1869
|
-
|
|
1870
|
-
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
1871
|
-
*/
|
|
1025
|
+
|
|
1872
1026
|
imageDigest?: string;
|
|
1873
|
-
|
|
1874
|
-
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
1875
|
-
* image was pushed to the repository.</p>
|
|
1876
|
-
*/
|
|
1027
|
+
|
|
1877
1028
|
imagePushedAt?: Date;
|
|
1878
|
-
|
|
1879
|
-
* <p>The type of action to be taken.</p>
|
|
1880
|
-
*/
|
|
1029
|
+
|
|
1881
1030
|
action?: LifecyclePolicyRuleAction;
|
|
1882
|
-
|
|
1883
|
-
* <p>The priority of the applied rule.</p>
|
|
1884
|
-
*/
|
|
1031
|
+
|
|
1885
1032
|
appliedRulePriority?: number;
|
|
1886
1033
|
}
|
|
1887
1034
|
export declare namespace LifecyclePolicyPreviewResult {
|
|
1888
|
-
|
|
1889
|
-
* @internal
|
|
1890
|
-
*/
|
|
1035
|
+
|
|
1891
1036
|
const filterSensitiveLog: (obj: LifecyclePolicyPreviewResult) => any;
|
|
1892
1037
|
}
|
|
1893
1038
|
export declare enum LifecyclePolicyPreviewStatus {
|
|
@@ -1896,884 +1041,505 @@ export declare enum LifecyclePolicyPreviewStatus {
|
|
|
1896
1041
|
FAILED = "FAILED",
|
|
1897
1042
|
IN_PROGRESS = "IN_PROGRESS"
|
|
1898
1043
|
}
|
|
1899
|
-
|
|
1900
|
-
* <p>The summary of the lifecycle policy preview request.</p>
|
|
1901
|
-
*/
|
|
1044
|
+
|
|
1902
1045
|
export interface LifecyclePolicyPreviewSummary {
|
|
1903
|
-
|
|
1904
|
-
* <p>The number of expiring images.</p>
|
|
1905
|
-
*/
|
|
1046
|
+
|
|
1906
1047
|
expiringImageTotalCount?: number;
|
|
1907
1048
|
}
|
|
1908
1049
|
export declare namespace LifecyclePolicyPreviewSummary {
|
|
1909
|
-
|
|
1910
|
-
* @internal
|
|
1911
|
-
*/
|
|
1050
|
+
|
|
1912
1051
|
const filterSensitiveLog: (obj: LifecyclePolicyPreviewSummary) => any;
|
|
1913
1052
|
}
|
|
1914
1053
|
export interface GetLifecyclePolicyPreviewResponse {
|
|
1915
|
-
|
|
1916
|
-
* <p>The registry ID associated with the request.</p>
|
|
1917
|
-
*/
|
|
1054
|
+
|
|
1918
1055
|
registryId?: string;
|
|
1919
|
-
|
|
1920
|
-
* <p>The repository name associated with the request.</p>
|
|
1921
|
-
*/
|
|
1056
|
+
|
|
1922
1057
|
repositoryName?: string;
|
|
1923
|
-
|
|
1924
|
-
* <p>The JSON lifecycle policy text.</p>
|
|
1925
|
-
*/
|
|
1058
|
+
|
|
1926
1059
|
lifecyclePolicyText?: string;
|
|
1927
|
-
|
|
1928
|
-
* <p>The status of the lifecycle policy preview request.</p>
|
|
1929
|
-
*/
|
|
1060
|
+
|
|
1930
1061
|
status?: LifecyclePolicyPreviewStatus | string;
|
|
1931
|
-
|
|
1932
|
-
* <p>The <code>nextToken</code> value to include in a future
|
|
1933
|
-
* <code>GetLifecyclePolicyPreview</code> request. When the results of a
|
|
1934
|
-
* <code>GetLifecyclePolicyPreview</code> request exceed <code>maxResults</code>, this
|
|
1935
|
-
* value can be used to retrieve the next page of results. This value is <code>null</code>
|
|
1936
|
-
* when there are no more results to return.</p>
|
|
1937
|
-
*/
|
|
1062
|
+
|
|
1938
1063
|
nextToken?: string;
|
|
1939
|
-
|
|
1940
|
-
* <p>The results of the lifecycle policy preview request.</p>
|
|
1941
|
-
*/
|
|
1064
|
+
|
|
1942
1065
|
previewResults?: LifecyclePolicyPreviewResult[];
|
|
1943
|
-
|
|
1944
|
-
* <p>The list of images that is returned as a result of the action.</p>
|
|
1945
|
-
*/
|
|
1066
|
+
|
|
1946
1067
|
summary?: LifecyclePolicyPreviewSummary;
|
|
1947
1068
|
}
|
|
1948
1069
|
export declare namespace GetLifecyclePolicyPreviewResponse {
|
|
1949
|
-
|
|
1950
|
-
* @internal
|
|
1951
|
-
*/
|
|
1070
|
+
|
|
1952
1071
|
const filterSensitiveLog: (obj: GetLifecyclePolicyPreviewResponse) => any;
|
|
1953
1072
|
}
|
|
1954
|
-
|
|
1955
|
-
* <p>There is no dry run for this repository.</p>
|
|
1956
|
-
*/
|
|
1073
|
+
|
|
1957
1074
|
export interface LifecyclePolicyPreviewNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1958
1075
|
name: "LifecyclePolicyPreviewNotFoundException";
|
|
1959
1076
|
$fault: "client";
|
|
1960
1077
|
message?: string;
|
|
1961
1078
|
}
|
|
1962
1079
|
export declare namespace LifecyclePolicyPreviewNotFoundException {
|
|
1963
|
-
|
|
1964
|
-
* @internal
|
|
1965
|
-
*/
|
|
1080
|
+
|
|
1966
1081
|
const filterSensitiveLog: (obj: LifecyclePolicyPreviewNotFoundException) => any;
|
|
1967
1082
|
}
|
|
1968
1083
|
export interface GetRegistryPolicyRequest {
|
|
1969
1084
|
}
|
|
1970
1085
|
export declare namespace GetRegistryPolicyRequest {
|
|
1971
|
-
|
|
1972
|
-
* @internal
|
|
1973
|
-
*/
|
|
1086
|
+
|
|
1974
1087
|
const filterSensitiveLog: (obj: GetRegistryPolicyRequest) => any;
|
|
1975
1088
|
}
|
|
1976
1089
|
export interface GetRegistryPolicyResponse {
|
|
1977
|
-
|
|
1978
|
-
* <p>The ID of the registry.</p>
|
|
1979
|
-
*/
|
|
1090
|
+
|
|
1980
1091
|
registryId?: string;
|
|
1981
|
-
|
|
1982
|
-
* <p>The JSON text of the permissions policy for a registry.</p>
|
|
1983
|
-
*/
|
|
1092
|
+
|
|
1984
1093
|
policyText?: string;
|
|
1985
1094
|
}
|
|
1986
1095
|
export declare namespace GetRegistryPolicyResponse {
|
|
1987
|
-
|
|
1988
|
-
* @internal
|
|
1989
|
-
*/
|
|
1096
|
+
|
|
1990
1097
|
const filterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
|
|
1991
1098
|
}
|
|
1992
1099
|
export interface GetRepositoryPolicyRequest {
|
|
1993
|
-
|
|
1994
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
1995
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
1996
|
-
*/
|
|
1100
|
+
|
|
1997
1101
|
registryId?: string;
|
|
1998
|
-
|
|
1999
|
-
* <p>The name of the repository with the policy to retrieve.</p>
|
|
2000
|
-
*/
|
|
1102
|
+
|
|
2001
1103
|
repositoryName: string | undefined;
|
|
2002
1104
|
}
|
|
2003
1105
|
export declare namespace GetRepositoryPolicyRequest {
|
|
2004
|
-
|
|
2005
|
-
* @internal
|
|
2006
|
-
*/
|
|
1106
|
+
|
|
2007
1107
|
const filterSensitiveLog: (obj: GetRepositoryPolicyRequest) => any;
|
|
2008
1108
|
}
|
|
2009
1109
|
export interface GetRepositoryPolicyResponse {
|
|
2010
|
-
|
|
2011
|
-
* <p>The registry ID associated with the request.</p>
|
|
2012
|
-
*/
|
|
1110
|
+
|
|
2013
1111
|
registryId?: string;
|
|
2014
|
-
|
|
2015
|
-
* <p>The repository name associated with the request.</p>
|
|
2016
|
-
*/
|
|
1112
|
+
|
|
2017
1113
|
repositoryName?: string;
|
|
2018
|
-
|
|
2019
|
-
* <p>The JSON repository policy text associated with the repository.</p>
|
|
2020
|
-
*/
|
|
1114
|
+
|
|
2021
1115
|
policyText?: string;
|
|
2022
1116
|
}
|
|
2023
1117
|
export declare namespace GetRepositoryPolicyResponse {
|
|
2024
|
-
|
|
2025
|
-
* @internal
|
|
2026
|
-
*/
|
|
1118
|
+
|
|
2027
1119
|
const filterSensitiveLog: (obj: GetRepositoryPolicyResponse) => any;
|
|
2028
1120
|
}
|
|
2029
1121
|
export interface InitiateLayerUploadRequest {
|
|
2030
|
-
|
|
2031
|
-
* <p>The Amazon Web Services account ID associated with the registry to which you intend to upload
|
|
2032
|
-
* layers. If you do not specify a registry, the default registry is assumed.</p>
|
|
2033
|
-
*/
|
|
1122
|
+
|
|
2034
1123
|
registryId?: string;
|
|
2035
|
-
|
|
2036
|
-
* <p>The name of the repository to which you intend to upload layers.</p>
|
|
2037
|
-
*/
|
|
1124
|
+
|
|
2038
1125
|
repositoryName: string | undefined;
|
|
2039
1126
|
}
|
|
2040
1127
|
export declare namespace InitiateLayerUploadRequest {
|
|
2041
|
-
|
|
2042
|
-
* @internal
|
|
2043
|
-
*/
|
|
1128
|
+
|
|
2044
1129
|
const filterSensitiveLog: (obj: InitiateLayerUploadRequest) => any;
|
|
2045
1130
|
}
|
|
2046
1131
|
export interface InitiateLayerUploadResponse {
|
|
2047
|
-
|
|
2048
|
-
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a>
|
|
2049
|
-
* operations.</p>
|
|
2050
|
-
*/
|
|
1132
|
+
|
|
2051
1133
|
uploadId?: string;
|
|
2052
|
-
|
|
2053
|
-
* <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
|
|
2054
|
-
*/
|
|
1134
|
+
|
|
2055
1135
|
partSize?: number;
|
|
2056
1136
|
}
|
|
2057
1137
|
export declare namespace InitiateLayerUploadResponse {
|
|
2058
|
-
|
|
2059
|
-
* @internal
|
|
2060
|
-
*/
|
|
1138
|
+
|
|
2061
1139
|
const filterSensitiveLog: (obj: InitiateLayerUploadResponse) => any;
|
|
2062
1140
|
}
|
|
2063
|
-
|
|
2064
|
-
* <p>An object representing a filter on a <a>ListImages</a> operation.</p>
|
|
2065
|
-
*/
|
|
1141
|
+
|
|
2066
1142
|
export interface ListImagesFilter {
|
|
2067
|
-
|
|
2068
|
-
* <p>The tag status with which to filter your <a>ListImages</a> results. You can
|
|
2069
|
-
* filter results based on whether they are <code>TAGGED</code> or
|
|
2070
|
-
* <code>UNTAGGED</code>.</p>
|
|
2071
|
-
*/
|
|
1143
|
+
|
|
2072
1144
|
tagStatus?: TagStatus | string;
|
|
2073
1145
|
}
|
|
2074
1146
|
export declare namespace ListImagesFilter {
|
|
2075
|
-
|
|
2076
|
-
* @internal
|
|
2077
|
-
*/
|
|
1147
|
+
|
|
2078
1148
|
const filterSensitiveLog: (obj: ListImagesFilter) => any;
|
|
2079
1149
|
}
|
|
2080
1150
|
export interface ListImagesRequest {
|
|
2081
|
-
|
|
2082
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2083
|
-
* which to list images. If you do not specify a registry, the default registry is assumed.</p>
|
|
2084
|
-
*/
|
|
1151
|
+
|
|
2085
1152
|
registryId?: string;
|
|
2086
|
-
|
|
2087
|
-
* <p>The repository with image IDs to be listed.</p>
|
|
2088
|
-
*/
|
|
1153
|
+
|
|
2089
1154
|
repositoryName: string | undefined;
|
|
2090
|
-
|
|
2091
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2092
|
-
* <code>ListImages</code> request where <code>maxResults</code> was used and the
|
|
2093
|
-
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
2094
|
-
* previous results that returned the <code>nextToken</code> value. This value is
|
|
2095
|
-
* <code>null</code> when there are no more results to return.</p>
|
|
2096
|
-
* <note>
|
|
2097
|
-
* <p>This token should be treated as an opaque identifier that is only used to
|
|
2098
|
-
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
2099
|
-
* </note>
|
|
2100
|
-
*/
|
|
1155
|
+
|
|
2101
1156
|
nextToken?: string;
|
|
2102
|
-
|
|
2103
|
-
* <p>The maximum number of image results returned by <code>ListImages</code> in paginated
|
|
2104
|
-
* output. When this parameter is used, <code>ListImages</code> only returns
|
|
2105
|
-
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
2106
|
-
* response element. The remaining results of the initial request can be seen by sending
|
|
2107
|
-
* another <code>ListImages</code> request with the returned <code>nextToken</code> value.
|
|
2108
|
-
* This value can be between 1 and 1000. If this parameter is
|
|
2109
|
-
* not used, then <code>ListImages</code> returns up to 100 results and a
|
|
2110
|
-
* <code>nextToken</code> value, if applicable.</p>
|
|
2111
|
-
*/
|
|
1157
|
+
|
|
2112
1158
|
maxResults?: number;
|
|
2113
|
-
|
|
2114
|
-
* <p>The filter key and value with which to filter your <code>ListImages</code>
|
|
2115
|
-
* results.</p>
|
|
2116
|
-
*/
|
|
1159
|
+
|
|
2117
1160
|
filter?: ListImagesFilter;
|
|
2118
1161
|
}
|
|
2119
1162
|
export declare namespace ListImagesRequest {
|
|
2120
|
-
|
|
2121
|
-
* @internal
|
|
2122
|
-
*/
|
|
1163
|
+
|
|
2123
1164
|
const filterSensitiveLog: (obj: ListImagesRequest) => any;
|
|
2124
1165
|
}
|
|
2125
1166
|
export interface ListImagesResponse {
|
|
2126
|
-
|
|
2127
|
-
* <p>The list of image IDs for the requested repository.</p>
|
|
2128
|
-
*/
|
|
1167
|
+
|
|
2129
1168
|
imageIds?: ImageIdentifier[];
|
|
2130
|
-
|
|
2131
|
-
* <p>The <code>nextToken</code> value to include in a future <code>ListImages</code>
|
|
2132
|
-
* request. When the results of a <code>ListImages</code> request exceed
|
|
2133
|
-
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
2134
|
-
* results. This value is <code>null</code> when there are no more results to
|
|
2135
|
-
* return.</p>
|
|
2136
|
-
*/
|
|
1169
|
+
|
|
2137
1170
|
nextToken?: string;
|
|
2138
1171
|
}
|
|
2139
1172
|
export declare namespace ListImagesResponse {
|
|
2140
|
-
|
|
2141
|
-
* @internal
|
|
2142
|
-
*/
|
|
1173
|
+
|
|
2143
1174
|
const filterSensitiveLog: (obj: ListImagesResponse) => any;
|
|
2144
1175
|
}
|
|
2145
1176
|
export interface ListTagsForResourceRequest {
|
|
2146
|
-
|
|
2147
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
|
|
2148
|
-
* only supported resource is an Amazon ECR repository.</p>
|
|
2149
|
-
*/
|
|
1177
|
+
|
|
2150
1178
|
resourceArn: string | undefined;
|
|
2151
1179
|
}
|
|
2152
1180
|
export declare namespace ListTagsForResourceRequest {
|
|
2153
|
-
|
|
2154
|
-
* @internal
|
|
2155
|
-
*/
|
|
1181
|
+
|
|
2156
1182
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
2157
1183
|
}
|
|
2158
1184
|
export interface ListTagsForResourceResponse {
|
|
2159
|
-
|
|
2160
|
-
* <p>The tags for the resource.</p>
|
|
2161
|
-
*/
|
|
1185
|
+
|
|
2162
1186
|
tags?: Tag[];
|
|
2163
1187
|
}
|
|
2164
1188
|
export declare namespace ListTagsForResourceResponse {
|
|
2165
|
-
|
|
2166
|
-
* @internal
|
|
2167
|
-
*/
|
|
1189
|
+
|
|
2168
1190
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
2169
1191
|
}
|
|
2170
|
-
|
|
2171
|
-
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
2172
|
-
* or image tag after the last push.</p>
|
|
2173
|
-
*/
|
|
1192
|
+
|
|
2174
1193
|
export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
2175
1194
|
name: "ImageAlreadyExistsException";
|
|
2176
1195
|
$fault: "client";
|
|
2177
|
-
|
|
2178
|
-
* <p>The error message associated with the exception.</p>
|
|
2179
|
-
*/
|
|
1196
|
+
|
|
2180
1197
|
message?: string;
|
|
2181
1198
|
}
|
|
2182
1199
|
export declare namespace ImageAlreadyExistsException {
|
|
2183
|
-
|
|
2184
|
-
* @internal
|
|
2185
|
-
*/
|
|
1200
|
+
|
|
2186
1201
|
const filterSensitiveLog: (obj: ImageAlreadyExistsException) => any;
|
|
2187
1202
|
}
|
|
2188
|
-
|
|
2189
|
-
* <p>The specified image digest does not match the digest that Amazon ECR calculated for the
|
|
2190
|
-
* image.</p>
|
|
2191
|
-
*/
|
|
1203
|
+
|
|
2192
1204
|
export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
|
|
2193
1205
|
name: "ImageDigestDoesNotMatchException";
|
|
2194
1206
|
$fault: "client";
|
|
2195
1207
|
message?: string;
|
|
2196
1208
|
}
|
|
2197
1209
|
export declare namespace ImageDigestDoesNotMatchException {
|
|
2198
|
-
|
|
2199
|
-
* @internal
|
|
2200
|
-
*/
|
|
1210
|
+
|
|
2201
1211
|
const filterSensitiveLog: (obj: ImageDigestDoesNotMatchException) => any;
|
|
2202
1212
|
}
|
|
2203
|
-
|
|
2204
|
-
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
2205
|
-
* configured for tag immutability.</p>
|
|
2206
|
-
*/
|
|
1213
|
+
|
|
2207
1214
|
export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
2208
1215
|
name: "ImageTagAlreadyExistsException";
|
|
2209
1216
|
$fault: "client";
|
|
2210
1217
|
message?: string;
|
|
2211
1218
|
}
|
|
2212
1219
|
export declare namespace ImageTagAlreadyExistsException {
|
|
2213
|
-
|
|
2214
|
-
* @internal
|
|
2215
|
-
*/
|
|
1220
|
+
|
|
2216
1221
|
const filterSensitiveLog: (obj: ImageTagAlreadyExistsException) => any;
|
|
2217
1222
|
}
|
|
2218
1223
|
export interface PutImageRequest {
|
|
2219
|
-
|
|
2220
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2221
|
-
* which to put the image. If you do not specify a registry, the default registry is assumed.</p>
|
|
2222
|
-
*/
|
|
1224
|
+
|
|
2223
1225
|
registryId?: string;
|
|
2224
|
-
|
|
2225
|
-
* <p>The name of the repository in which to put the image.</p>
|
|
2226
|
-
*/
|
|
1226
|
+
|
|
2227
1227
|
repositoryName: string | undefined;
|
|
2228
|
-
|
|
2229
|
-
* <p>The image manifest corresponding to the image to be uploaded.</p>
|
|
2230
|
-
*/
|
|
1228
|
+
|
|
2231
1229
|
imageManifest: string | undefined;
|
|
2232
|
-
|
|
2233
|
-
* <p>The media type of the image manifest. If you push an image manifest that does not
|
|
2234
|
-
* contain the <code>mediaType</code> field, you must specify the
|
|
2235
|
-
* <code>imageManifestMediaType</code> in the request.</p>
|
|
2236
|
-
*/
|
|
1230
|
+
|
|
2237
1231
|
imageManifestMediaType?: string;
|
|
2238
|
-
|
|
2239
|
-
* <p>The tag to associate with the image. This parameter is required for images that use
|
|
2240
|
-
* the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
|
|
2241
|
-
*/
|
|
1232
|
+
|
|
2242
1233
|
imageTag?: string;
|
|
2243
|
-
|
|
2244
|
-
* <p>The image digest of the image manifest corresponding to the image.</p>
|
|
2245
|
-
*/
|
|
1234
|
+
|
|
2246
1235
|
imageDigest?: string;
|
|
2247
1236
|
}
|
|
2248
1237
|
export declare namespace PutImageRequest {
|
|
2249
|
-
|
|
2250
|
-
* @internal
|
|
2251
|
-
*/
|
|
1238
|
+
|
|
2252
1239
|
const filterSensitiveLog: (obj: PutImageRequest) => any;
|
|
2253
1240
|
}
|
|
2254
1241
|
export interface PutImageResponse {
|
|
2255
|
-
|
|
2256
|
-
* <p>Details of the image uploaded.</p>
|
|
2257
|
-
*/
|
|
1242
|
+
|
|
2258
1243
|
image?: Image;
|
|
2259
1244
|
}
|
|
2260
1245
|
export declare namespace PutImageResponse {
|
|
2261
|
-
|
|
2262
|
-
* @internal
|
|
2263
|
-
*/
|
|
1246
|
+
|
|
2264
1247
|
const filterSensitiveLog: (obj: PutImageResponse) => any;
|
|
2265
1248
|
}
|
|
2266
|
-
|
|
2267
|
-
* <p>The manifest list is referencing an image that does not exist.</p>
|
|
2268
|
-
*/
|
|
1249
|
+
|
|
2269
1250
|
export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
|
|
2270
1251
|
name: "ReferencedImagesNotFoundException";
|
|
2271
1252
|
$fault: "client";
|
|
2272
1253
|
message?: string;
|
|
2273
1254
|
}
|
|
2274
1255
|
export declare namespace ReferencedImagesNotFoundException {
|
|
2275
|
-
|
|
2276
|
-
* @internal
|
|
2277
|
-
*/
|
|
1256
|
+
|
|
2278
1257
|
const filterSensitiveLog: (obj: ReferencedImagesNotFoundException) => any;
|
|
2279
1258
|
}
|
|
2280
1259
|
export interface PutImageScanningConfigurationRequest {
|
|
2281
|
-
|
|
2282
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2283
|
-
* which to update the image scanning configuration setting.
|
|
2284
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2285
|
-
*/
|
|
1260
|
+
|
|
2286
1261
|
registryId?: string;
|
|
2287
|
-
|
|
2288
|
-
* <p>The name of the repository in which to update the image scanning configuration
|
|
2289
|
-
* setting.</p>
|
|
2290
|
-
*/
|
|
1262
|
+
|
|
2291
1263
|
repositoryName: string | undefined;
|
|
2292
|
-
|
|
2293
|
-
* <p>The image scanning configuration for the repository. This setting determines whether
|
|
2294
|
-
* images are scanned for known vulnerabilities after being pushed to the
|
|
2295
|
-
* repository.</p>
|
|
2296
|
-
*/
|
|
1264
|
+
|
|
2297
1265
|
imageScanningConfiguration: ImageScanningConfiguration | undefined;
|
|
2298
1266
|
}
|
|
2299
1267
|
export declare namespace PutImageScanningConfigurationRequest {
|
|
2300
|
-
|
|
2301
|
-
* @internal
|
|
2302
|
-
*/
|
|
1268
|
+
|
|
2303
1269
|
const filterSensitiveLog: (obj: PutImageScanningConfigurationRequest) => any;
|
|
2304
1270
|
}
|
|
2305
1271
|
export interface PutImageScanningConfigurationResponse {
|
|
2306
|
-
|
|
2307
|
-
* <p>The registry ID associated with the request.</p>
|
|
2308
|
-
*/
|
|
1272
|
+
|
|
2309
1273
|
registryId?: string;
|
|
2310
|
-
|
|
2311
|
-
* <p>The repository name associated with the request.</p>
|
|
2312
|
-
*/
|
|
1274
|
+
|
|
2313
1275
|
repositoryName?: string;
|
|
2314
|
-
|
|
2315
|
-
* <p>The image scanning configuration setting for the repository.</p>
|
|
2316
|
-
*/
|
|
1276
|
+
|
|
2317
1277
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
2318
1278
|
}
|
|
2319
1279
|
export declare namespace PutImageScanningConfigurationResponse {
|
|
2320
|
-
|
|
2321
|
-
* @internal
|
|
2322
|
-
*/
|
|
1280
|
+
|
|
2323
1281
|
const filterSensitiveLog: (obj: PutImageScanningConfigurationResponse) => any;
|
|
2324
1282
|
}
|
|
2325
1283
|
export interface PutImageTagMutabilityRequest {
|
|
2326
|
-
|
|
2327
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2328
|
-
* which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.</p>
|
|
2329
|
-
*/
|
|
1284
|
+
|
|
2330
1285
|
registryId?: string;
|
|
2331
|
-
|
|
2332
|
-
* <p>The name of the repository in which to update the image tag mutability
|
|
2333
|
-
* settings.</p>
|
|
2334
|
-
*/
|
|
1286
|
+
|
|
2335
1287
|
repositoryName: string | undefined;
|
|
2336
|
-
|
|
2337
|
-
* <p>The tag mutability setting for the repository. If <code>MUTABLE</code> is specified,
|
|
2338
|
-
* image tags can be overwritten. If <code>IMMUTABLE</code> is specified, all image tags
|
|
2339
|
-
* within the repository will be immutable which will prevent them from being
|
|
2340
|
-
* overwritten.</p>
|
|
2341
|
-
*/
|
|
1288
|
+
|
|
2342
1289
|
imageTagMutability: ImageTagMutability | string | undefined;
|
|
2343
1290
|
}
|
|
2344
1291
|
export declare namespace PutImageTagMutabilityRequest {
|
|
2345
|
-
|
|
2346
|
-
* @internal
|
|
2347
|
-
*/
|
|
1292
|
+
|
|
2348
1293
|
const filterSensitiveLog: (obj: PutImageTagMutabilityRequest) => any;
|
|
2349
1294
|
}
|
|
2350
1295
|
export interface PutImageTagMutabilityResponse {
|
|
2351
|
-
|
|
2352
|
-
* <p>The registry ID associated with the request.</p>
|
|
2353
|
-
*/
|
|
1296
|
+
|
|
2354
1297
|
registryId?: string;
|
|
2355
|
-
|
|
2356
|
-
* <p>The repository name associated with the request.</p>
|
|
2357
|
-
*/
|
|
1298
|
+
|
|
2358
1299
|
repositoryName?: string;
|
|
2359
|
-
|
|
2360
|
-
* <p>The image tag mutability setting for the repository.</p>
|
|
2361
|
-
*/
|
|
1300
|
+
|
|
2362
1301
|
imageTagMutability?: ImageTagMutability | string;
|
|
2363
1302
|
}
|
|
2364
1303
|
export declare namespace PutImageTagMutabilityResponse {
|
|
2365
|
-
|
|
2366
|
-
* @internal
|
|
2367
|
-
*/
|
|
1304
|
+
|
|
2368
1305
|
const filterSensitiveLog: (obj: PutImageTagMutabilityResponse) => any;
|
|
2369
1306
|
}
|
|
2370
1307
|
export interface PutLifecyclePolicyRequest {
|
|
2371
|
-
|
|
2372
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you
|
|
2373
|
-
* do
|
|
2374
|
-
not specify a registry, the default registry is assumed.</p>
|
|
2375
|
-
*/
|
|
1308
|
+
|
|
2376
1309
|
registryId?: string;
|
|
2377
|
-
|
|
2378
|
-
* <p>The name of the repository to receive the policy.</p>
|
|
2379
|
-
*/
|
|
1310
|
+
|
|
2380
1311
|
repositoryName: string | undefined;
|
|
2381
|
-
|
|
2382
|
-
* <p>The JSON repository policy text to apply to the repository.</p>
|
|
2383
|
-
*/
|
|
1312
|
+
|
|
2384
1313
|
lifecyclePolicyText: string | undefined;
|
|
2385
1314
|
}
|
|
2386
1315
|
export declare namespace PutLifecyclePolicyRequest {
|
|
2387
|
-
|
|
2388
|
-
* @internal
|
|
2389
|
-
*/
|
|
1316
|
+
|
|
2390
1317
|
const filterSensitiveLog: (obj: PutLifecyclePolicyRequest) => any;
|
|
2391
1318
|
}
|
|
2392
1319
|
export interface PutLifecyclePolicyResponse {
|
|
2393
|
-
|
|
2394
|
-
* <p>The registry ID associated with the request.</p>
|
|
2395
|
-
*/
|
|
1320
|
+
|
|
2396
1321
|
registryId?: string;
|
|
2397
|
-
|
|
2398
|
-
* <p>The repository name associated with the request.</p>
|
|
2399
|
-
*/
|
|
1322
|
+
|
|
2400
1323
|
repositoryName?: string;
|
|
2401
|
-
|
|
2402
|
-
* <p>The JSON repository policy text.</p>
|
|
2403
|
-
*/
|
|
1324
|
+
|
|
2404
1325
|
lifecyclePolicyText?: string;
|
|
2405
1326
|
}
|
|
2406
1327
|
export declare namespace PutLifecyclePolicyResponse {
|
|
2407
|
-
|
|
2408
|
-
* @internal
|
|
2409
|
-
*/
|
|
1328
|
+
|
|
2410
1329
|
const filterSensitiveLog: (obj: PutLifecyclePolicyResponse) => any;
|
|
2411
1330
|
}
|
|
2412
1331
|
export interface PutRegistryPolicyRequest {
|
|
2413
|
-
|
|
2414
|
-
* <p>The JSON policy text to apply to your registry. The policy text follows the same
|
|
2415
|
-
* format as IAM policy text. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry
|
|
2416
|
-
* permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
2417
|
-
*/
|
|
1332
|
+
|
|
2418
1333
|
policyText: string | undefined;
|
|
2419
1334
|
}
|
|
2420
1335
|
export declare namespace PutRegistryPolicyRequest {
|
|
2421
|
-
|
|
2422
|
-
* @internal
|
|
2423
|
-
*/
|
|
1336
|
+
|
|
2424
1337
|
const filterSensitiveLog: (obj: PutRegistryPolicyRequest) => any;
|
|
2425
1338
|
}
|
|
2426
1339
|
export interface PutRegistryPolicyResponse {
|
|
2427
|
-
|
|
2428
|
-
* <p>The registry ID.</p>
|
|
2429
|
-
*/
|
|
1340
|
+
|
|
2430
1341
|
registryId?: string;
|
|
2431
|
-
|
|
2432
|
-
* <p>The JSON policy text for your registry.</p>
|
|
2433
|
-
*/
|
|
1342
|
+
|
|
2434
1343
|
policyText?: string;
|
|
2435
1344
|
}
|
|
2436
1345
|
export declare namespace PutRegistryPolicyResponse {
|
|
2437
|
-
|
|
2438
|
-
* @internal
|
|
2439
|
-
*/
|
|
1346
|
+
|
|
2440
1347
|
const filterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
|
|
2441
1348
|
}
|
|
2442
1349
|
export interface PutReplicationConfigurationRequest {
|
|
2443
|
-
|
|
2444
|
-
* <p>An object representing the replication configuration for a registry.</p>
|
|
2445
|
-
*/
|
|
1350
|
+
|
|
2446
1351
|
replicationConfiguration: ReplicationConfiguration | undefined;
|
|
2447
1352
|
}
|
|
2448
1353
|
export declare namespace PutReplicationConfigurationRequest {
|
|
2449
|
-
|
|
2450
|
-
* @internal
|
|
2451
|
-
*/
|
|
1354
|
+
|
|
2452
1355
|
const filterSensitiveLog: (obj: PutReplicationConfigurationRequest) => any;
|
|
2453
1356
|
}
|
|
2454
1357
|
export interface PutReplicationConfigurationResponse {
|
|
2455
|
-
|
|
2456
|
-
* <p>The contents of the replication configuration for the registry.</p>
|
|
2457
|
-
*/
|
|
1358
|
+
|
|
2458
1359
|
replicationConfiguration?: ReplicationConfiguration;
|
|
2459
1360
|
}
|
|
2460
1361
|
export declare namespace PutReplicationConfigurationResponse {
|
|
2461
|
-
|
|
2462
|
-
* @internal
|
|
2463
|
-
*/
|
|
1362
|
+
|
|
2464
1363
|
const filterSensitiveLog: (obj: PutReplicationConfigurationResponse) => any;
|
|
2465
1364
|
}
|
|
2466
1365
|
export interface SetRepositoryPolicyRequest {
|
|
2467
|
-
|
|
2468
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2469
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2470
|
-
*/
|
|
1366
|
+
|
|
2471
1367
|
registryId?: string;
|
|
2472
|
-
|
|
2473
|
-
* <p>The name of the repository to receive the policy.</p>
|
|
2474
|
-
*/
|
|
1368
|
+
|
|
2475
1369
|
repositoryName: string | undefined;
|
|
2476
|
-
|
|
2477
|
-
* <p>The JSON repository policy text to apply to the repository. For more information, see
|
|
2478
|
-
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR repository
|
|
2479
|
-
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
2480
|
-
*/
|
|
1370
|
+
|
|
2481
1371
|
policyText: string | undefined;
|
|
2482
|
-
|
|
2483
|
-
* <p>If the policy you are attempting to set on a repository policy would prevent you from
|
|
2484
|
-
* setting another policy in the future, you must force the <a>SetRepositoryPolicy</a> operation. This is intended to prevent accidental
|
|
2485
|
-
* repository lock outs.</p>
|
|
2486
|
-
*/
|
|
1372
|
+
|
|
2487
1373
|
force?: boolean;
|
|
2488
1374
|
}
|
|
2489
1375
|
export declare namespace SetRepositoryPolicyRequest {
|
|
2490
|
-
|
|
2491
|
-
* @internal
|
|
2492
|
-
*/
|
|
1376
|
+
|
|
2493
1377
|
const filterSensitiveLog: (obj: SetRepositoryPolicyRequest) => any;
|
|
2494
1378
|
}
|
|
2495
1379
|
export interface SetRepositoryPolicyResponse {
|
|
2496
|
-
|
|
2497
|
-
* <p>The registry ID associated with the request.</p>
|
|
2498
|
-
*/
|
|
1380
|
+
|
|
2499
1381
|
registryId?: string;
|
|
2500
|
-
|
|
2501
|
-
* <p>The repository name associated with the request.</p>
|
|
2502
|
-
*/
|
|
1382
|
+
|
|
2503
1383
|
repositoryName?: string;
|
|
2504
|
-
|
|
2505
|
-
* <p>The JSON repository policy text applied to the repository.</p>
|
|
2506
|
-
*/
|
|
1384
|
+
|
|
2507
1385
|
policyText?: string;
|
|
2508
1386
|
}
|
|
2509
1387
|
export declare namespace SetRepositoryPolicyResponse {
|
|
2510
|
-
|
|
2511
|
-
* @internal
|
|
2512
|
-
*/
|
|
1388
|
+
|
|
2513
1389
|
const filterSensitiveLog: (obj: SetRepositoryPolicyResponse) => any;
|
|
2514
1390
|
}
|
|
2515
1391
|
export interface StartImageScanRequest {
|
|
2516
|
-
|
|
2517
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2518
|
-
* which to start an image scan request. If you do not specify a registry, the default registry is assumed.</p>
|
|
2519
|
-
*/
|
|
1392
|
+
|
|
2520
1393
|
registryId?: string;
|
|
2521
|
-
|
|
2522
|
-
* <p>The name of the repository that contains the images to scan.</p>
|
|
2523
|
-
*/
|
|
1394
|
+
|
|
2524
1395
|
repositoryName: string | undefined;
|
|
2525
|
-
|
|
2526
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
2527
|
-
*/
|
|
1396
|
+
|
|
2528
1397
|
imageId: ImageIdentifier | undefined;
|
|
2529
1398
|
}
|
|
2530
1399
|
export declare namespace StartImageScanRequest {
|
|
2531
|
-
|
|
2532
|
-
* @internal
|
|
2533
|
-
*/
|
|
1400
|
+
|
|
2534
1401
|
const filterSensitiveLog: (obj: StartImageScanRequest) => any;
|
|
2535
1402
|
}
|
|
2536
1403
|
export interface StartImageScanResponse {
|
|
2537
|
-
|
|
2538
|
-
* <p>The registry ID associated with the request.</p>
|
|
2539
|
-
*/
|
|
1404
|
+
|
|
2540
1405
|
registryId?: string;
|
|
2541
|
-
|
|
2542
|
-
* <p>The repository name associated with the request.</p>
|
|
2543
|
-
*/
|
|
1406
|
+
|
|
2544
1407
|
repositoryName?: string;
|
|
2545
|
-
|
|
2546
|
-
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
2547
|
-
*/
|
|
1408
|
+
|
|
2548
1409
|
imageId?: ImageIdentifier;
|
|
2549
|
-
|
|
2550
|
-
* <p>The current state of the scan.</p>
|
|
2551
|
-
*/
|
|
1410
|
+
|
|
2552
1411
|
imageScanStatus?: ImageScanStatus;
|
|
2553
1412
|
}
|
|
2554
1413
|
export declare namespace StartImageScanResponse {
|
|
2555
|
-
|
|
2556
|
-
* @internal
|
|
2557
|
-
*/
|
|
1414
|
+
|
|
2558
1415
|
const filterSensitiveLog: (obj: StartImageScanResponse) => any;
|
|
2559
1416
|
}
|
|
2560
|
-
|
|
2561
|
-
* <p>The image is of a type that cannot be scanned.</p>
|
|
2562
|
-
*/
|
|
1417
|
+
|
|
2563
1418
|
export interface UnsupportedImageTypeException extends __SmithyException, $MetadataBearer {
|
|
2564
1419
|
name: "UnsupportedImageTypeException";
|
|
2565
1420
|
$fault: "client";
|
|
2566
1421
|
message?: string;
|
|
2567
1422
|
}
|
|
2568
1423
|
export declare namespace UnsupportedImageTypeException {
|
|
2569
|
-
|
|
2570
|
-
* @internal
|
|
2571
|
-
*/
|
|
1424
|
+
|
|
2572
1425
|
const filterSensitiveLog: (obj: UnsupportedImageTypeException) => any;
|
|
2573
1426
|
}
|
|
2574
|
-
|
|
2575
|
-
* <p>The previous lifecycle policy preview request has not completed. Wait and try
|
|
2576
|
-
* again.</p>
|
|
2577
|
-
*/
|
|
1427
|
+
|
|
2578
1428
|
export interface LifecyclePolicyPreviewInProgressException extends __SmithyException, $MetadataBearer {
|
|
2579
1429
|
name: "LifecyclePolicyPreviewInProgressException";
|
|
2580
1430
|
$fault: "client";
|
|
2581
1431
|
message?: string;
|
|
2582
1432
|
}
|
|
2583
1433
|
export declare namespace LifecyclePolicyPreviewInProgressException {
|
|
2584
|
-
|
|
2585
|
-
* @internal
|
|
2586
|
-
*/
|
|
1434
|
+
|
|
2587
1435
|
const filterSensitiveLog: (obj: LifecyclePolicyPreviewInProgressException) => any;
|
|
2588
1436
|
}
|
|
2589
1437
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
2590
|
-
|
|
2591
|
-
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2592
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2593
|
-
*/
|
|
1438
|
+
|
|
2594
1439
|
registryId?: string;
|
|
2595
|
-
|
|
2596
|
-
* <p>The name of the repository to be evaluated.</p>
|
|
2597
|
-
*/
|
|
1440
|
+
|
|
2598
1441
|
repositoryName: string | undefined;
|
|
2599
|
-
|
|
2600
|
-
* <p>The policy to be evaluated against. If you do not specify a policy, the current policy
|
|
2601
|
-
* for the repository is used.</p>
|
|
2602
|
-
*/
|
|
1442
|
+
|
|
2603
1443
|
lifecyclePolicyText?: string;
|
|
2604
1444
|
}
|
|
2605
1445
|
export declare namespace StartLifecyclePolicyPreviewRequest {
|
|
2606
|
-
|
|
2607
|
-
* @internal
|
|
2608
|
-
*/
|
|
1446
|
+
|
|
2609
1447
|
const filterSensitiveLog: (obj: StartLifecyclePolicyPreviewRequest) => any;
|
|
2610
1448
|
}
|
|
2611
1449
|
export interface StartLifecyclePolicyPreviewResponse {
|
|
2612
|
-
|
|
2613
|
-
* <p>The registry ID associated with the request.</p>
|
|
2614
|
-
*/
|
|
1450
|
+
|
|
2615
1451
|
registryId?: string;
|
|
2616
|
-
|
|
2617
|
-
* <p>The repository name associated with the request.</p>
|
|
2618
|
-
*/
|
|
1452
|
+
|
|
2619
1453
|
repositoryName?: string;
|
|
2620
|
-
|
|
2621
|
-
* <p>The JSON repository policy text.</p>
|
|
2622
|
-
*/
|
|
1454
|
+
|
|
2623
1455
|
lifecyclePolicyText?: string;
|
|
2624
|
-
|
|
2625
|
-
* <p>The status of the lifecycle policy preview request.</p>
|
|
2626
|
-
*/
|
|
1456
|
+
|
|
2627
1457
|
status?: LifecyclePolicyPreviewStatus | string;
|
|
2628
1458
|
}
|
|
2629
1459
|
export declare namespace StartLifecyclePolicyPreviewResponse {
|
|
2630
|
-
|
|
2631
|
-
* @internal
|
|
2632
|
-
*/
|
|
1460
|
+
|
|
2633
1461
|
const filterSensitiveLog: (obj: StartLifecyclePolicyPreviewResponse) => any;
|
|
2634
1462
|
}
|
|
2635
1463
|
export interface TagResourceRequest {
|
|
2636
|
-
|
|
2637
|
-
* <p>The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported
|
|
2638
|
-
* resource is an Amazon ECR repository.</p>
|
|
2639
|
-
*/
|
|
1464
|
+
|
|
2640
1465
|
resourceArn: string | undefined;
|
|
2641
|
-
|
|
2642
|
-
* <p>The tags to add to the resource. A tag is an array of key-value pairs.
|
|
2643
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
2644
|
-
* a maximum length of 256 characters.</p>
|
|
2645
|
-
*/
|
|
1466
|
+
|
|
2646
1467
|
tags: Tag[] | undefined;
|
|
2647
1468
|
}
|
|
2648
1469
|
export declare namespace TagResourceRequest {
|
|
2649
|
-
|
|
2650
|
-
* @internal
|
|
2651
|
-
*/
|
|
1470
|
+
|
|
2652
1471
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
2653
1472
|
}
|
|
2654
1473
|
export interface TagResourceResponse {
|
|
2655
1474
|
}
|
|
2656
1475
|
export declare namespace TagResourceResponse {
|
|
2657
|
-
|
|
2658
|
-
* @internal
|
|
2659
|
-
*/
|
|
1476
|
+
|
|
2660
1477
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
2661
1478
|
}
|
|
2662
1479
|
export interface UntagResourceRequest {
|
|
2663
|
-
|
|
2664
|
-
* <p>The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported
|
|
2665
|
-
* resource is an Amazon ECR repository.</p>
|
|
2666
|
-
*/
|
|
1480
|
+
|
|
2667
1481
|
resourceArn: string | undefined;
|
|
2668
|
-
|
|
2669
|
-
* <p>The keys of the tags to be removed.</p>
|
|
2670
|
-
*/
|
|
1482
|
+
|
|
2671
1483
|
tagKeys: string[] | undefined;
|
|
2672
1484
|
}
|
|
2673
1485
|
export declare namespace UntagResourceRequest {
|
|
2674
|
-
|
|
2675
|
-
* @internal
|
|
2676
|
-
*/
|
|
1486
|
+
|
|
2677
1487
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
2678
1488
|
}
|
|
2679
1489
|
export interface UntagResourceResponse {
|
|
2680
1490
|
}
|
|
2681
1491
|
export declare namespace UntagResourceResponse {
|
|
2682
|
-
|
|
2683
|
-
* @internal
|
|
2684
|
-
*/
|
|
1492
|
+
|
|
2685
1493
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
2686
1494
|
}
|
|
2687
|
-
|
|
2688
|
-
* <p>The layer part size is not valid, or the first byte specified is not consecutive to
|
|
2689
|
-
* the last byte of a previous layer part upload.</p>
|
|
2690
|
-
*/
|
|
1495
|
+
|
|
2691
1496
|
export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
|
|
2692
1497
|
name: "InvalidLayerPartException";
|
|
2693
1498
|
$fault: "client";
|
|
2694
|
-
|
|
2695
|
-
* <p>The registry ID associated with the exception.</p>
|
|
2696
|
-
*/
|
|
1499
|
+
|
|
2697
1500
|
registryId?: string;
|
|
2698
|
-
|
|
2699
|
-
* <p>The repository name associated with the exception.</p>
|
|
2700
|
-
*/
|
|
1501
|
+
|
|
2701
1502
|
repositoryName?: string;
|
|
2702
|
-
|
|
2703
|
-
* <p>The upload ID associated with the exception.</p>
|
|
2704
|
-
*/
|
|
1503
|
+
|
|
2705
1504
|
uploadId?: string;
|
|
2706
|
-
|
|
2707
|
-
* <p>The last valid byte received from the layer part upload that is associated with the
|
|
2708
|
-
* exception.</p>
|
|
2709
|
-
*/
|
|
1505
|
+
|
|
2710
1506
|
lastValidByteReceived?: number;
|
|
2711
|
-
|
|
2712
|
-
* <p>The error message associated with the exception.</p>
|
|
2713
|
-
*/
|
|
1507
|
+
|
|
2714
1508
|
message?: string;
|
|
2715
1509
|
}
|
|
2716
1510
|
export declare namespace InvalidLayerPartException {
|
|
2717
|
-
|
|
2718
|
-
* @internal
|
|
2719
|
-
*/
|
|
1511
|
+
|
|
2720
1512
|
const filterSensitiveLog: (obj: InvalidLayerPartException) => any;
|
|
2721
1513
|
}
|
|
2722
1514
|
export interface UploadLayerPartRequest {
|
|
2723
|
-
|
|
2724
|
-
* <p>The Amazon Web Services account ID associated with the registry to which you are uploading layer
|
|
2725
|
-
* parts. If you do not specify a registry, the default registry is assumed.</p>
|
|
2726
|
-
*/
|
|
1515
|
+
|
|
2727
1516
|
registryId?: string;
|
|
2728
|
-
|
|
2729
|
-
* <p>The name of the repository to which you are uploading layer parts.</p>
|
|
2730
|
-
*/
|
|
1517
|
+
|
|
2731
1518
|
repositoryName: string | undefined;
|
|
2732
|
-
|
|
2733
|
-
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
2734
|
-
* associate with the layer part upload.</p>
|
|
2735
|
-
*/
|
|
1519
|
+
|
|
2736
1520
|
uploadId: string | undefined;
|
|
2737
|
-
|
|
2738
|
-
* <p>The position of the first byte of the layer part witin the overall image layer.</p>
|
|
2739
|
-
*/
|
|
1521
|
+
|
|
2740
1522
|
partFirstByte: number | undefined;
|
|
2741
|
-
|
|
2742
|
-
* <p>The position of the last byte of the layer part within the overall image layer.</p>
|
|
2743
|
-
*/
|
|
1523
|
+
|
|
2744
1524
|
partLastByte: number | undefined;
|
|
2745
|
-
|
|
2746
|
-
* <p>The base64-encoded layer part payload.</p>
|
|
2747
|
-
*/
|
|
1525
|
+
|
|
2748
1526
|
layerPartBlob: Uint8Array | undefined;
|
|
2749
1527
|
}
|
|
2750
1528
|
export declare namespace UploadLayerPartRequest {
|
|
2751
|
-
|
|
2752
|
-
* @internal
|
|
2753
|
-
*/
|
|
1529
|
+
|
|
2754
1530
|
const filterSensitiveLog: (obj: UploadLayerPartRequest) => any;
|
|
2755
1531
|
}
|
|
2756
1532
|
export interface UploadLayerPartResponse {
|
|
2757
|
-
|
|
2758
|
-
* <p>The registry ID associated with the request.</p>
|
|
2759
|
-
*/
|
|
1533
|
+
|
|
2760
1534
|
registryId?: string;
|
|
2761
|
-
|
|
2762
|
-
* <p>The repository name associated with the request.</p>
|
|
2763
|
-
*/
|
|
1535
|
+
|
|
2764
1536
|
repositoryName?: string;
|
|
2765
|
-
|
|
2766
|
-
* <p>The upload ID associated with the request.</p>
|
|
2767
|
-
*/
|
|
1537
|
+
|
|
2768
1538
|
uploadId?: string;
|
|
2769
|
-
|
|
2770
|
-
* <p>The integer value of the last byte received in the request.</p>
|
|
2771
|
-
*/
|
|
1539
|
+
|
|
2772
1540
|
lastByteReceived?: number;
|
|
2773
1541
|
}
|
|
2774
1542
|
export declare namespace UploadLayerPartResponse {
|
|
2775
|
-
|
|
2776
|
-
* @internal
|
|
2777
|
-
*/
|
|
1543
|
+
|
|
2778
1544
|
const filterSensitiveLog: (obj: UploadLayerPartResponse) => any;
|
|
2779
1545
|
}
|