@aws-sdk/client-ecr 3.533.0 → 3.535.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/ECR.d.ts +9 -1
- package/dist-types/ECRClient.d.ts +1 -1
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -1
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetImageCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -1
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +2 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +2 -1
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRegistryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +2 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -1
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +2 -1
- package/dist-types/commands/ListImagesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutImageCommand.d.ts +2 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +2 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +2 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +2 -1
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullThroughCacheRuleCommand.d.ts +2 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -1
- package/dist-types/commands/ValidatePullThroughCacheRuleCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +492 -492
- package/dist-types/ts3.4/ECR.d.ts +8 -0
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullThroughCacheRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ValidatePullThroughCacheRuleCommand.d.ts +9 -0
- package/package.json +41 -41
|
@@ -5,19 +5,19 @@ import { ECRServiceException as __BaseException } from "./ECRServiceException";
|
|
|
5
5
|
*/
|
|
6
6
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
7
7
|
/**
|
|
8
|
-
* @public
|
|
9
8
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
|
|
10
9
|
* check. If you do not specify a registry, the default registry is assumed.</p>
|
|
10
|
+
* @public
|
|
11
11
|
*/
|
|
12
12
|
registryId?: string;
|
|
13
13
|
/**
|
|
14
|
-
* @public
|
|
15
14
|
* <p>The name of the repository that is associated with the image layers to check.</p>
|
|
15
|
+
* @public
|
|
16
16
|
*/
|
|
17
17
|
repositoryName: string | undefined;
|
|
18
18
|
/**
|
|
19
|
-
* @public
|
|
20
19
|
* <p>The digests of the image layers to check.</p>
|
|
20
|
+
* @public
|
|
21
21
|
*/
|
|
22
22
|
layerDigests: string[] | undefined;
|
|
23
23
|
}
|
|
@@ -34,23 +34,23 @@ export declare const LayerFailureCode: {
|
|
|
34
34
|
*/
|
|
35
35
|
export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
36
36
|
/**
|
|
37
|
-
* @public
|
|
38
37
|
* <p>An object representing an Amazon ECR image layer failure.</p>
|
|
38
|
+
* @public
|
|
39
39
|
*/
|
|
40
40
|
export interface LayerFailure {
|
|
41
41
|
/**
|
|
42
|
-
* @public
|
|
43
42
|
* <p>The layer digest associated with the failure.</p>
|
|
43
|
+
* @public
|
|
44
44
|
*/
|
|
45
45
|
layerDigest?: string;
|
|
46
46
|
/**
|
|
47
|
-
* @public
|
|
48
47
|
* <p>The failure code associated with the failure.</p>
|
|
48
|
+
* @public
|
|
49
49
|
*/
|
|
50
50
|
failureCode?: LayerFailureCode;
|
|
51
51
|
/**
|
|
52
|
-
* @public
|
|
53
52
|
* <p>The reason for the failure.</p>
|
|
53
|
+
* @public
|
|
54
54
|
*/
|
|
55
55
|
failureReason?: string;
|
|
56
56
|
}
|
|
@@ -67,30 +67,30 @@ export declare const LayerAvailability: {
|
|
|
67
67
|
*/
|
|
68
68
|
export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>An object representing an Amazon ECR image layer.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
export interface Layer {
|
|
74
74
|
/**
|
|
75
|
-
* @public
|
|
76
75
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
76
|
+
* @public
|
|
77
77
|
*/
|
|
78
78
|
layerDigest?: string;
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The availability status of the image layer.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
layerAvailability?: LayerAvailability;
|
|
84
84
|
/**
|
|
85
|
-
* @public
|
|
86
85
|
* <p>The size, in bytes, of the image layer.</p>
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
layerSize?: number;
|
|
89
89
|
/**
|
|
90
|
-
* @public
|
|
91
90
|
* <p>The media type of the layer, such as
|
|
92
91
|
* <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
|
|
93
92
|
* <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
|
|
93
|
+
* @public
|
|
94
94
|
*/
|
|
95
95
|
mediaType?: string;
|
|
96
96
|
}
|
|
@@ -99,21 +99,21 @@ export interface Layer {
|
|
|
99
99
|
*/
|
|
100
100
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
102
|
* <p>A list of image layer objects corresponding to the image layer references in the
|
|
104
103
|
* request.</p>
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
layers?: Layer[];
|
|
107
107
|
/**
|
|
108
|
-
* @public
|
|
109
108
|
* <p>Any failures associated with the call.</p>
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
failures?: LayerFailure[];
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* @public
|
|
115
114
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
116
115
|
* request.</p>
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
export declare class InvalidParameterException extends __BaseException {
|
|
119
119
|
readonly name: "InvalidParameterException";
|
|
@@ -124,9 +124,9 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
124
124
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
129
128
|
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
129
|
+
* @public
|
|
130
130
|
*/
|
|
131
131
|
export declare class RepositoryNotFoundException extends __BaseException {
|
|
132
132
|
readonly name: "RepositoryNotFoundException";
|
|
@@ -137,8 +137,8 @@ export declare class RepositoryNotFoundException extends __BaseException {
|
|
|
137
137
|
constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
-
* @public
|
|
141
140
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
141
|
+
* @public
|
|
142
142
|
*/
|
|
143
143
|
export declare class ServerException extends __BaseException {
|
|
144
144
|
readonly name: "ServerException";
|
|
@@ -149,43 +149,43 @@ export declare class ServerException extends __BaseException {
|
|
|
149
149
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
export interface ImageIdentifier {
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
imageDigest?: string;
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <p>The tag used for the image.</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
imageTag?: string;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
|
-
* @public
|
|
169
168
|
* <p>Deletes specified images within a specified repository. Images are specified with
|
|
170
169
|
* either the <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
170
|
+
* @public
|
|
171
171
|
*/
|
|
172
172
|
export interface BatchDeleteImageRequest {
|
|
173
173
|
/**
|
|
174
|
-
* @public
|
|
175
174
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image to delete.
|
|
176
175
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
176
|
+
* @public
|
|
177
177
|
*/
|
|
178
178
|
registryId?: string;
|
|
179
179
|
/**
|
|
180
|
-
* @public
|
|
181
180
|
* <p>The repository that contains the image to delete.</p>
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
repositoryName: string | undefined;
|
|
184
184
|
/**
|
|
185
|
-
* @public
|
|
186
185
|
* <p>A list of image ID references that correspond to images to delete. The format of the
|
|
187
186
|
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
188
187
|
* <code>imageDigest=digest</code>.</p>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
imageIds: ImageIdentifier[] | undefined;
|
|
191
191
|
}
|
|
@@ -210,23 +210,23 @@ export declare const ImageFailureCode: {
|
|
|
210
210
|
*/
|
|
211
211
|
export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
212
212
|
/**
|
|
213
|
-
* @public
|
|
214
213
|
* <p>An object representing an Amazon ECR image failure.</p>
|
|
214
|
+
* @public
|
|
215
215
|
*/
|
|
216
216
|
export interface ImageFailure {
|
|
217
217
|
/**
|
|
218
|
-
* @public
|
|
219
218
|
* <p>The image ID associated with the failure.</p>
|
|
219
|
+
* @public
|
|
220
220
|
*/
|
|
221
221
|
imageId?: ImageIdentifier;
|
|
222
222
|
/**
|
|
223
|
-
* @public
|
|
224
223
|
* <p>The code associated with the failure.</p>
|
|
224
|
+
* @public
|
|
225
225
|
*/
|
|
226
226
|
failureCode?: ImageFailureCode;
|
|
227
227
|
/**
|
|
228
|
-
* @public
|
|
229
228
|
* <p>The reason for the failure.</p>
|
|
229
|
+
* @public
|
|
230
230
|
*/
|
|
231
231
|
failureReason?: string;
|
|
232
232
|
}
|
|
@@ -235,13 +235,13 @@ export interface ImageFailure {
|
|
|
235
235
|
*/
|
|
236
236
|
export interface BatchDeleteImageResponse {
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* <p>The image IDs of the deleted images.</p>
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
imageIds?: ImageIdentifier[];
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>Any failures associated with the call.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
failures?: ImageFailure[];
|
|
247
247
|
}
|
|
@@ -250,61 +250,61 @@ export interface BatchDeleteImageResponse {
|
|
|
250
250
|
*/
|
|
251
251
|
export interface BatchGetImageRequest {
|
|
252
252
|
/**
|
|
253
|
-
* @public
|
|
254
253
|
* <p>The Amazon Web Services account ID associated with the registry that contains the images to
|
|
255
254
|
* describe. If you do not specify a registry, the default registry is assumed.</p>
|
|
255
|
+
* @public
|
|
256
256
|
*/
|
|
257
257
|
registryId?: string;
|
|
258
258
|
/**
|
|
259
|
-
* @public
|
|
260
259
|
* <p>The repository that contains the images to describe.</p>
|
|
260
|
+
* @public
|
|
261
261
|
*/
|
|
262
262
|
repositoryName: string | undefined;
|
|
263
263
|
/**
|
|
264
|
-
* @public
|
|
265
264
|
* <p>A list of image ID references that correspond to images to describe. The format of the
|
|
266
265
|
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
267
266
|
* <code>imageDigest=digest</code>.</p>
|
|
267
|
+
* @public
|
|
268
268
|
*/
|
|
269
269
|
imageIds: ImageIdentifier[] | undefined;
|
|
270
270
|
/**
|
|
271
|
-
* @public
|
|
272
271
|
* <p>The accepted media types for the request.</p>
|
|
273
272
|
* <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
|
|
274
273
|
* <code>application/vnd.docker.distribution.manifest.v2+json</code> |
|
|
275
274
|
* <code>application/vnd.oci.image.manifest.v1+json</code>
|
|
276
275
|
* </p>
|
|
276
|
+
* @public
|
|
277
277
|
*/
|
|
278
278
|
acceptedMediaTypes?: string[];
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
|
-
* @public
|
|
282
281
|
* <p>An object representing an Amazon ECR image.</p>
|
|
282
|
+
* @public
|
|
283
283
|
*/
|
|
284
284
|
export interface Image {
|
|
285
285
|
/**
|
|
286
|
-
* @public
|
|
287
286
|
* <p>The Amazon Web Services account ID associated with the registry containing the image.</p>
|
|
287
|
+
* @public
|
|
288
288
|
*/
|
|
289
289
|
registryId?: string;
|
|
290
290
|
/**
|
|
291
|
-
* @public
|
|
292
291
|
* <p>The name of the repository associated with the image.</p>
|
|
292
|
+
* @public
|
|
293
293
|
*/
|
|
294
294
|
repositoryName?: string;
|
|
295
295
|
/**
|
|
296
|
-
* @public
|
|
297
296
|
* <p>An object containing the image tag and image digest associated with an image.</p>
|
|
297
|
+
* @public
|
|
298
298
|
*/
|
|
299
299
|
imageId?: ImageIdentifier;
|
|
300
300
|
/**
|
|
301
|
-
* @public
|
|
302
301
|
* <p>The image manifest associated with the image.</p>
|
|
302
|
+
* @public
|
|
303
303
|
*/
|
|
304
304
|
imageManifest?: string;
|
|
305
305
|
/**
|
|
306
|
-
* @public
|
|
307
306
|
* <p>The manifest media type of the image.</p>
|
|
307
|
+
* @public
|
|
308
308
|
*/
|
|
309
309
|
imageManifestMediaType?: string;
|
|
310
310
|
}
|
|
@@ -313,21 +313,21 @@ export interface Image {
|
|
|
313
313
|
*/
|
|
314
314
|
export interface BatchGetImageResponse {
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>A list of image objects corresponding to the image references in the request.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
images?: Image[];
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>Any failures associated with the call.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
failures?: ImageFailure[];
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
329
328
|
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
330
329
|
* the Amazon Elastic Container Registry User Guide.</p>
|
|
330
|
+
* @public
|
|
331
331
|
*/
|
|
332
332
|
export declare class LimitExceededException extends __BaseException {
|
|
333
333
|
readonly name: "LimitExceededException";
|
|
@@ -338,10 +338,10 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
338
338
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
339
339
|
}
|
|
340
340
|
/**
|
|
341
|
-
* @public
|
|
342
341
|
* <p>The image or images were unable to be pulled using the pull through cache rule. This
|
|
343
342
|
* is usually caused because of an issue with the Secrets Manager secret containing the credentials
|
|
344
343
|
* for the upstream registry.</p>
|
|
344
|
+
* @public
|
|
345
345
|
*/
|
|
346
346
|
export declare class UnableToGetUpstreamImageException extends __BaseException {
|
|
347
347
|
readonly name: "UnableToGetUpstreamImageException";
|
|
@@ -356,8 +356,8 @@ export declare class UnableToGetUpstreamImageException extends __BaseException {
|
|
|
356
356
|
*/
|
|
357
357
|
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
358
358
|
/**
|
|
359
|
-
* @public
|
|
360
359
|
* <p>One or more repository names to get the scanning configuration for.</p>
|
|
360
|
+
* @public
|
|
361
361
|
*/
|
|
362
362
|
repositoryNames: string[] | undefined;
|
|
363
363
|
}
|
|
@@ -373,24 +373,24 @@ export declare const ScanningConfigurationFailureCode: {
|
|
|
373
373
|
*/
|
|
374
374
|
export type ScanningConfigurationFailureCode = (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
|
|
375
375
|
/**
|
|
376
|
-
* @public
|
|
377
376
|
* <p>The details about any failures associated with the scanning configuration of a
|
|
378
377
|
* repository.</p>
|
|
378
|
+
* @public
|
|
379
379
|
*/
|
|
380
380
|
export interface RepositoryScanningConfigurationFailure {
|
|
381
381
|
/**
|
|
382
|
-
* @public
|
|
383
382
|
* <p>The name of the repository.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
repositoryName?: string;
|
|
386
386
|
/**
|
|
387
|
-
* @public
|
|
388
387
|
* <p>The failure code.</p>
|
|
388
|
+
* @public
|
|
389
389
|
*/
|
|
390
390
|
failureCode?: ScanningConfigurationFailureCode;
|
|
391
391
|
/**
|
|
392
|
-
* @public
|
|
393
392
|
* <p>The reason for the failure.</p>
|
|
393
|
+
* @public
|
|
394
394
|
*/
|
|
395
395
|
failureReason?: string;
|
|
396
396
|
}
|
|
@@ -406,20 +406,20 @@ export declare const ScanningRepositoryFilterType: {
|
|
|
406
406
|
*/
|
|
407
407
|
export type ScanningRepositoryFilterType = (typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* <p>The details of a scanning repository filter. For more information on how to use
|
|
411
410
|
* filters, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters">Using
|
|
412
411
|
* filters</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
412
|
+
* @public
|
|
413
413
|
*/
|
|
414
414
|
export interface ScanningRepositoryFilter {
|
|
415
415
|
/**
|
|
416
|
-
* @public
|
|
417
416
|
* <p>The filter to use when scanning.</p>
|
|
417
|
+
* @public
|
|
418
418
|
*/
|
|
419
419
|
filter: string | undefined;
|
|
420
420
|
/**
|
|
421
|
-
* @public
|
|
422
421
|
* <p>The type associated with the filter.</p>
|
|
422
|
+
* @public
|
|
423
423
|
*/
|
|
424
424
|
filterType: ScanningRepositoryFilterType | undefined;
|
|
425
425
|
}
|
|
@@ -437,33 +437,33 @@ export declare const ScanFrequency: {
|
|
|
437
437
|
*/
|
|
438
438
|
export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
|
|
439
439
|
/**
|
|
440
|
-
* @public
|
|
441
440
|
* <p>The details of the scanning configuration for a repository.</p>
|
|
441
|
+
* @public
|
|
442
442
|
*/
|
|
443
443
|
export interface RepositoryScanningConfiguration {
|
|
444
444
|
/**
|
|
445
|
-
* @public
|
|
446
445
|
* <p>The ARN of the repository.</p>
|
|
446
|
+
* @public
|
|
447
447
|
*/
|
|
448
448
|
repositoryArn?: string;
|
|
449
449
|
/**
|
|
450
|
-
* @public
|
|
451
450
|
* <p>The name of the repository.</p>
|
|
451
|
+
* @public
|
|
452
452
|
*/
|
|
453
453
|
repositoryName?: string;
|
|
454
454
|
/**
|
|
455
|
-
* @public
|
|
456
455
|
* <p>Whether or not scan on push is configured for the repository.</p>
|
|
456
|
+
* @public
|
|
457
457
|
*/
|
|
458
458
|
scanOnPush?: boolean;
|
|
459
459
|
/**
|
|
460
|
-
* @public
|
|
461
460
|
* <p>The scan frequency for the repository.</p>
|
|
461
|
+
* @public
|
|
462
462
|
*/
|
|
463
463
|
scanFrequency?: ScanFrequency;
|
|
464
464
|
/**
|
|
465
|
-
* @public
|
|
466
465
|
* <p>The scan filters applied to the repository.</p>
|
|
466
|
+
* @public
|
|
467
467
|
*/
|
|
468
468
|
appliedScanFilters?: ScanningRepositoryFilter[];
|
|
469
469
|
}
|
|
@@ -472,19 +472,19 @@ export interface RepositoryScanningConfiguration {
|
|
|
472
472
|
*/
|
|
473
473
|
export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
474
474
|
/**
|
|
475
|
-
* @public
|
|
476
475
|
* <p>The scanning configuration for the requested repositories.</p>
|
|
476
|
+
* @public
|
|
477
477
|
*/
|
|
478
478
|
scanningConfigurations?: RepositoryScanningConfiguration[];
|
|
479
479
|
/**
|
|
480
|
-
* @public
|
|
481
480
|
* <p>Any failures associated with the call.</p>
|
|
481
|
+
* @public
|
|
482
482
|
*/
|
|
483
483
|
failures?: RepositoryScanningConfigurationFailure[];
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
|
-
* @public
|
|
487
486
|
* <p>There was an exception validating this request.</p>
|
|
487
|
+
* @public
|
|
488
488
|
*/
|
|
489
489
|
export declare class ValidationException extends __BaseException {
|
|
490
490
|
readonly name: "ValidationException";
|
|
@@ -499,25 +499,25 @@ export declare class ValidationException extends __BaseException {
|
|
|
499
499
|
*/
|
|
500
500
|
export interface CompleteLayerUploadRequest {
|
|
501
501
|
/**
|
|
502
|
-
* @public
|
|
503
502
|
* <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
|
|
504
503
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
504
|
+
* @public
|
|
505
505
|
*/
|
|
506
506
|
registryId?: string;
|
|
507
507
|
/**
|
|
508
|
-
* @public
|
|
509
508
|
* <p>The name of the repository to associate with the image layer.</p>
|
|
509
|
+
* @public
|
|
510
510
|
*/
|
|
511
511
|
repositoryName: string | undefined;
|
|
512
512
|
/**
|
|
513
|
-
* @public
|
|
514
513
|
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
515
514
|
* associate with the image layer.</p>
|
|
515
|
+
* @public
|
|
516
516
|
*/
|
|
517
517
|
uploadId: string | undefined;
|
|
518
518
|
/**
|
|
519
|
-
* @public
|
|
520
519
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
520
|
+
* @public
|
|
521
521
|
*/
|
|
522
522
|
layerDigests: string[] | undefined;
|
|
523
523
|
}
|
|
@@ -526,29 +526,29 @@ export interface CompleteLayerUploadRequest {
|
|
|
526
526
|
*/
|
|
527
527
|
export interface CompleteLayerUploadResponse {
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>The registry ID associated with the request.</p>
|
|
530
|
+
* @public
|
|
531
531
|
*/
|
|
532
532
|
registryId?: string;
|
|
533
533
|
/**
|
|
534
|
-
* @public
|
|
535
534
|
* <p>The repository name associated with the request.</p>
|
|
535
|
+
* @public
|
|
536
536
|
*/
|
|
537
537
|
repositoryName?: string;
|
|
538
538
|
/**
|
|
539
|
-
* @public
|
|
540
539
|
* <p>The upload ID associated with the layer.</p>
|
|
540
|
+
* @public
|
|
541
541
|
*/
|
|
542
542
|
uploadId?: string;
|
|
543
543
|
/**
|
|
544
|
-
* @public
|
|
545
544
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
545
|
+
* @public
|
|
546
546
|
*/
|
|
547
547
|
layerDigest?: string;
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
|
-
* @public
|
|
551
550
|
* <p>The specified layer upload does not contain any layer parts.</p>
|
|
551
|
+
* @public
|
|
552
552
|
*/
|
|
553
553
|
export declare class EmptyUploadException extends __BaseException {
|
|
554
554
|
readonly name: "EmptyUploadException";
|
|
@@ -559,9 +559,9 @@ export declare class EmptyUploadException extends __BaseException {
|
|
|
559
559
|
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
560
560
|
}
|
|
561
561
|
/**
|
|
562
|
-
* @public
|
|
563
562
|
* <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
|
|
564
563
|
* not match the digest specified.</p>
|
|
564
|
+
* @public
|
|
565
565
|
*/
|
|
566
566
|
export declare class InvalidLayerException extends __BaseException {
|
|
567
567
|
readonly name: "InvalidLayerException";
|
|
@@ -572,15 +572,15 @@ export declare class InvalidLayerException extends __BaseException {
|
|
|
572
572
|
constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
|
|
573
573
|
}
|
|
574
574
|
/**
|
|
575
|
-
* @public
|
|
576
575
|
* <p>The operation failed due to a KMS exception.</p>
|
|
576
|
+
* @public
|
|
577
577
|
*/
|
|
578
578
|
export declare class KmsException extends __BaseException {
|
|
579
579
|
readonly name: "KmsException";
|
|
580
580
|
readonly $fault: "client";
|
|
581
581
|
/**
|
|
582
|
-
* @public
|
|
583
582
|
* <p>The error code returned by KMS.</p>
|
|
583
|
+
* @public
|
|
584
584
|
*/
|
|
585
585
|
kmsError?: string;
|
|
586
586
|
/**
|
|
@@ -589,8 +589,8 @@ export declare class KmsException extends __BaseException {
|
|
|
589
589
|
constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
|
|
590
590
|
}
|
|
591
591
|
/**
|
|
592
|
-
* @public
|
|
593
592
|
* <p>The image layer already exists in the associated repository.</p>
|
|
593
|
+
* @public
|
|
594
594
|
*/
|
|
595
595
|
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
596
596
|
readonly name: "LayerAlreadyExistsException";
|
|
@@ -601,8 +601,8 @@ export declare class LayerAlreadyExistsException extends __BaseException {
|
|
|
601
601
|
constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
|
|
602
602
|
}
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
export declare class LayerPartTooSmallException extends __BaseException {
|
|
608
608
|
readonly name: "LayerPartTooSmallException";
|
|
@@ -613,9 +613,9 @@ export declare class LayerPartTooSmallException extends __BaseException {
|
|
|
613
613
|
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
614
614
|
}
|
|
615
615
|
/**
|
|
616
|
-
* @public
|
|
617
616
|
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
618
617
|
* repository.</p>
|
|
618
|
+
* @public
|
|
619
619
|
*/
|
|
620
620
|
export declare class UploadNotFoundException extends __BaseException {
|
|
621
621
|
readonly name: "UploadNotFoundException";
|
|
@@ -646,12 +646,11 @@ export type UpstreamRegistry = (typeof UpstreamRegistry)[keyof typeof UpstreamRe
|
|
|
646
646
|
*/
|
|
647
647
|
export interface CreatePullThroughCacheRuleRequest {
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>The repository name prefix to use when caching images from the source registry.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
ecrRepositoryPrefix: string | undefined;
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>The registry URL of the upstream public registry to use as the source for the pull
|
|
656
655
|
* through cache rule. The following is the syntax to use for each supported upstream
|
|
657
656
|
* registry.</p>
|
|
@@ -684,23 +683,24 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
684
683
|
* </p>
|
|
685
684
|
* </li>
|
|
686
685
|
* </ul>
|
|
686
|
+
* @public
|
|
687
687
|
*/
|
|
688
688
|
upstreamRegistryUrl: string | undefined;
|
|
689
689
|
/**
|
|
690
|
-
* @public
|
|
691
690
|
* <p>The Amazon Web Services account ID associated with the registry to create the pull through cache
|
|
692
691
|
* rule for. If you do not specify a registry, the default registry is assumed.</p>
|
|
692
|
+
* @public
|
|
693
693
|
*/
|
|
694
694
|
registryId?: string;
|
|
695
695
|
/**
|
|
696
|
-
* @public
|
|
697
696
|
* <p>The name of the upstream registry.</p>
|
|
697
|
+
* @public
|
|
698
698
|
*/
|
|
699
699
|
upstreamRegistry?: UpstreamRegistry;
|
|
700
700
|
/**
|
|
701
|
-
* @public
|
|
702
701
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate
|
|
703
702
|
* to the upstream registry.</p>
|
|
703
|
+
* @public
|
|
704
704
|
*/
|
|
705
705
|
credentialArn?: string;
|
|
706
706
|
}
|
|
@@ -709,42 +709,42 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
709
709
|
*/
|
|
710
710
|
export interface CreatePullThroughCacheRuleResponse {
|
|
711
711
|
/**
|
|
712
|
-
* @public
|
|
713
712
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
713
|
+
* @public
|
|
714
714
|
*/
|
|
715
715
|
ecrRepositoryPrefix?: string;
|
|
716
716
|
/**
|
|
717
|
-
* @public
|
|
718
717
|
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
718
|
+
* @public
|
|
719
719
|
*/
|
|
720
720
|
upstreamRegistryUrl?: string;
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>The date and time, in JavaScript date format, when the pull through cache rule was
|
|
724
723
|
* created.</p>
|
|
724
|
+
* @public
|
|
725
725
|
*/
|
|
726
726
|
createdAt?: Date;
|
|
727
727
|
/**
|
|
728
|
-
* @public
|
|
729
728
|
* <p>The registry ID associated with the request.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
registryId?: string;
|
|
732
732
|
/**
|
|
733
|
-
* @public
|
|
734
733
|
* <p>The name of the upstream registry associated with the pull through cache rule.</p>
|
|
734
|
+
* @public
|
|
735
735
|
*/
|
|
736
736
|
upstreamRegistry?: UpstreamRegistry;
|
|
737
737
|
/**
|
|
738
|
-
* @public
|
|
739
738
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache
|
|
740
739
|
* rule.</p>
|
|
740
|
+
* @public
|
|
741
741
|
*/
|
|
742
742
|
credentialArn?: string;
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
|
-
* @public
|
|
746
745
|
* <p>A pull through cache rule with these settings already exists for the private
|
|
747
746
|
* registry.</p>
|
|
747
|
+
* @public
|
|
748
748
|
*/
|
|
749
749
|
export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
|
|
750
750
|
readonly name: "PullThroughCacheRuleAlreadyExistsException";
|
|
@@ -755,9 +755,9 @@ export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseEx
|
|
|
755
755
|
constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
|
|
756
756
|
}
|
|
757
757
|
/**
|
|
758
|
-
* @public
|
|
759
758
|
* <p>The ARN of the secret specified in the pull through cache rule was not found. Update
|
|
760
759
|
* the pull through cache rule with a valid secret ARN and try again.</p>
|
|
760
|
+
* @public
|
|
761
761
|
*/
|
|
762
762
|
export declare class SecretNotFoundException extends __BaseException {
|
|
763
763
|
readonly name: "SecretNotFoundException";
|
|
@@ -768,9 +768,9 @@ export declare class SecretNotFoundException extends __BaseException {
|
|
|
768
768
|
constructor(opts: __ExceptionOptionType<SecretNotFoundException, __BaseException>);
|
|
769
769
|
}
|
|
770
770
|
/**
|
|
771
|
-
* @public
|
|
772
771
|
* <p>The secret is unable to be accessed. Verify the resource permissions for the secret
|
|
773
772
|
* and try again.</p>
|
|
773
|
+
* @public
|
|
774
774
|
*/
|
|
775
775
|
export declare class UnableToAccessSecretException extends __BaseException {
|
|
776
776
|
readonly name: "UnableToAccessSecretException";
|
|
@@ -781,9 +781,9 @@ export declare class UnableToAccessSecretException extends __BaseException {
|
|
|
781
781
|
constructor(opts: __ExceptionOptionType<UnableToAccessSecretException, __BaseException>);
|
|
782
782
|
}
|
|
783
783
|
/**
|
|
784
|
-
* @public
|
|
785
784
|
* <p>The secret is accessible but is unable to be decrypted. Verify the resource
|
|
786
785
|
* permisisons and try again.</p>
|
|
786
|
+
* @public
|
|
787
787
|
*/
|
|
788
788
|
export declare class UnableToDecryptSecretValueException extends __BaseException {
|
|
789
789
|
readonly name: "UnableToDecryptSecretValueException";
|
|
@@ -794,8 +794,8 @@ export declare class UnableToDecryptSecretValueException extends __BaseException
|
|
|
794
794
|
constructor(opts: __ExceptionOptionType<UnableToDecryptSecretValueException, __BaseException>);
|
|
795
795
|
}
|
|
796
796
|
/**
|
|
797
|
-
* @public
|
|
798
797
|
* <p>The specified upstream registry isn't supported.</p>
|
|
798
|
+
* @public
|
|
799
799
|
*/
|
|
800
800
|
export declare class UnsupportedUpstreamRegistryException extends __BaseException {
|
|
801
801
|
readonly name: "UnsupportedUpstreamRegistryException";
|
|
@@ -818,7 +818,6 @@ export declare const EncryptionType: {
|
|
|
818
818
|
*/
|
|
819
819
|
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
823
822
|
* your repository are encrypted at rest.</p>
|
|
824
823
|
* <p>By default, when no encryption configuration is set or the <code>AES256</code>
|
|
@@ -829,10 +828,10 @@ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType
|
|
|
829
828
|
* server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
|
|
830
829
|
* images. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
|
|
831
830
|
* rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
831
|
+
* @public
|
|
832
832
|
*/
|
|
833
833
|
export interface EncryptionConfiguration {
|
|
834
834
|
/**
|
|
835
|
-
* @public
|
|
836
835
|
* <p>The encryption type to use.</p>
|
|
837
836
|
* <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
|
|
838
837
|
* be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
|
|
@@ -846,28 +845,29 @@ export interface EncryptionConfiguration {
|
|
|
846
845
|
* AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
847
846
|
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
848
847
|
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
848
|
+
* @public
|
|
849
849
|
*/
|
|
850
850
|
encryptionType: EncryptionType | undefined;
|
|
851
851
|
/**
|
|
852
|
-
* @public
|
|
853
852
|
* <p>If you use the <code>KMS</code> encryption type, specify the KMS key to use for
|
|
854
853
|
* encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key
|
|
855
854
|
* must exist in the same Region as the repository. If no key is specified, the default
|
|
856
855
|
* Amazon Web Services managed KMS key for Amazon ECR will be used.</p>
|
|
856
|
+
* @public
|
|
857
857
|
*/
|
|
858
858
|
kmsKey?: string;
|
|
859
859
|
}
|
|
860
860
|
/**
|
|
861
|
-
* @public
|
|
862
861
|
* <p>The image scanning configuration for a repository.</p>
|
|
862
|
+
* @public
|
|
863
863
|
*/
|
|
864
864
|
export interface ImageScanningConfiguration {
|
|
865
865
|
/**
|
|
866
|
-
* @public
|
|
867
866
|
* <p>The setting that determines whether images are scanned after being pushed to a
|
|
868
867
|
* repository. If set to <code>true</code>, images will be scanned after being pushed. If
|
|
869
868
|
* this parameter is not specified, it will default to <code>false</code> and images will
|
|
870
869
|
* 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>
|
|
870
|
+
* @public
|
|
871
871
|
*/
|
|
872
872
|
scanOnPush?: boolean;
|
|
873
873
|
}
|
|
@@ -884,21 +884,21 @@ export declare const ImageTagMutability: {
|
|
|
884
884
|
*/
|
|
885
885
|
export type ImageTagMutability = (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
886
886
|
/**
|
|
887
|
-
* @public
|
|
888
887
|
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
889
888
|
* consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
890
889
|
* a maximum length of 256 characters.</p>
|
|
890
|
+
* @public
|
|
891
891
|
*/
|
|
892
892
|
export interface Tag {
|
|
893
893
|
/**
|
|
894
|
-
* @public
|
|
895
894
|
* <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
|
|
896
895
|
* that acts like a category for more specific tag values.</p>
|
|
896
|
+
* @public
|
|
897
897
|
*/
|
|
898
898
|
Key: string | undefined;
|
|
899
899
|
/**
|
|
900
|
-
* @public
|
|
901
900
|
* <p>A <code>value</code> acts as a descriptor within a tag category (key).</p>
|
|
901
|
+
* @public
|
|
902
902
|
*/
|
|
903
903
|
Value: string | undefined;
|
|
904
904
|
}
|
|
@@ -907,96 +907,96 @@ export interface Tag {
|
|
|
907
907
|
*/
|
|
908
908
|
export interface CreateRepositoryRequest {
|
|
909
909
|
/**
|
|
910
|
-
* @public
|
|
911
910
|
* <p>The Amazon Web Services account ID associated with the registry to create the repository.
|
|
912
911
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
912
|
+
* @public
|
|
913
913
|
*/
|
|
914
914
|
registryId?: string;
|
|
915
915
|
/**
|
|
916
|
-
* @public
|
|
917
916
|
* <p>The name to use for the repository. The repository name may be specified on its own
|
|
918
917
|
* (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
|
|
919
918
|
* the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>
|
|
920
919
|
* <p>The repository name must start with a letter and can only contain lowercase letters,
|
|
921
920
|
* numbers, hyphens, underscores, and forward slashes.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
repositoryName: string | undefined;
|
|
924
924
|
/**
|
|
925
|
-
* @public
|
|
926
925
|
* <p>The metadata that you apply to the repository to help you categorize and organize
|
|
927
926
|
* them. Each tag consists of a key and an optional value, both of which you define.
|
|
928
927
|
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
929
928
|
* a maximum length of 256 characters.</p>
|
|
929
|
+
* @public
|
|
930
930
|
*/
|
|
931
931
|
tags?: Tag[];
|
|
932
932
|
/**
|
|
933
|
-
* @public
|
|
934
933
|
* <p>The tag mutability setting for the repository. If this parameter is omitted, the
|
|
935
934
|
* default setting of <code>MUTABLE</code> will be used which will allow image tags to be
|
|
936
935
|
* overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
|
|
937
936
|
* repository will be immutable which will prevent them from being overwritten.</p>
|
|
937
|
+
* @public
|
|
938
938
|
*/
|
|
939
939
|
imageTagMutability?: ImageTagMutability;
|
|
940
940
|
/**
|
|
941
|
-
* @public
|
|
942
941
|
* <p>The image scanning configuration for the repository. This determines whether images
|
|
943
942
|
* are scanned for known vulnerabilities after being pushed to the repository.</p>
|
|
943
|
+
* @public
|
|
944
944
|
*/
|
|
945
945
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
946
946
|
/**
|
|
947
|
-
* @public
|
|
948
947
|
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
949
948
|
* your repository are encrypted at rest.</p>
|
|
949
|
+
* @public
|
|
950
950
|
*/
|
|
951
951
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
952
952
|
}
|
|
953
953
|
/**
|
|
954
|
-
* @public
|
|
955
954
|
* <p>An object representing a repository.</p>
|
|
955
|
+
* @public
|
|
956
956
|
*/
|
|
957
957
|
export interface Repository {
|
|
958
958
|
/**
|
|
959
|
-
* @public
|
|
960
959
|
* <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
|
|
961
960
|
* repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
|
|
962
961
|
* For example, <code>arn:aws:ecr:region:012345678910:repository-namespace/repository-name</code>.</p>
|
|
962
|
+
* @public
|
|
963
963
|
*/
|
|
964
964
|
repositoryArn?: string;
|
|
965
965
|
/**
|
|
966
|
-
* @public
|
|
967
966
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.</p>
|
|
967
|
+
* @public
|
|
968
968
|
*/
|
|
969
969
|
registryId?: string;
|
|
970
970
|
/**
|
|
971
|
-
* @public
|
|
972
971
|
* <p>The name of the repository.</p>
|
|
972
|
+
* @public
|
|
973
973
|
*/
|
|
974
974
|
repositoryName?: string;
|
|
975
975
|
/**
|
|
976
|
-
* @public
|
|
977
976
|
* <p>The URI for the repository. You can use this URI for container image <code>push</code>
|
|
978
977
|
* and <code>pull</code> operations.</p>
|
|
978
|
+
* @public
|
|
979
979
|
*/
|
|
980
980
|
repositoryUri?: string;
|
|
981
981
|
/**
|
|
982
|
-
* @public
|
|
983
982
|
* <p>The date and time, in JavaScript date format, when the repository was created.</p>
|
|
983
|
+
* @public
|
|
984
984
|
*/
|
|
985
985
|
createdAt?: Date;
|
|
986
986
|
/**
|
|
987
|
-
* @public
|
|
988
987
|
* <p>The tag mutability setting for the repository.</p>
|
|
988
|
+
* @public
|
|
989
989
|
*/
|
|
990
990
|
imageTagMutability?: ImageTagMutability;
|
|
991
991
|
/**
|
|
992
|
-
* @public
|
|
993
992
|
* <p>The image scanning configuration for a repository.</p>
|
|
993
|
+
* @public
|
|
994
994
|
*/
|
|
995
995
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
996
996
|
/**
|
|
997
|
-
* @public
|
|
998
997
|
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
999
998
|
* your repository are encrypted at rest.</p>
|
|
999
|
+
* @public
|
|
1000
1000
|
*/
|
|
1001
1001
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
1002
1002
|
}
|
|
@@ -1005,15 +1005,15 @@ export interface Repository {
|
|
|
1005
1005
|
*/
|
|
1006
1006
|
export interface CreateRepositoryResponse {
|
|
1007
1007
|
/**
|
|
1008
|
-
* @public
|
|
1009
1008
|
* <p>The repository that was created.</p>
|
|
1009
|
+
* @public
|
|
1010
1010
|
*/
|
|
1011
1011
|
repository?: Repository;
|
|
1012
1012
|
}
|
|
1013
1013
|
/**
|
|
1014
|
-
* @public
|
|
1015
1014
|
* <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
1016
1015
|
* a maximum length of 256 characters.</p>
|
|
1016
|
+
* @public
|
|
1017
1017
|
*/
|
|
1018
1018
|
export declare class InvalidTagParameterException extends __BaseException {
|
|
1019
1019
|
readonly name: "InvalidTagParameterException";
|
|
@@ -1024,8 +1024,8 @@ export declare class InvalidTagParameterException extends __BaseException {
|
|
|
1024
1024
|
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
1025
1025
|
}
|
|
1026
1026
|
/**
|
|
1027
|
-
* @public
|
|
1028
1027
|
* <p>The specified repository already exists in the specified registry.</p>
|
|
1028
|
+
* @public
|
|
1029
1029
|
*/
|
|
1030
1030
|
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
1031
1031
|
readonly name: "RepositoryAlreadyExistsException";
|
|
@@ -1036,9 +1036,9 @@ export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
|
1036
1036
|
constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
|
|
1037
1037
|
}
|
|
1038
1038
|
/**
|
|
1039
|
-
* @public
|
|
1040
1039
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
1041
1040
|
* can be applied to a repository is 50.</p>
|
|
1041
|
+
* @public
|
|
1042
1042
|
*/
|
|
1043
1043
|
export declare class TooManyTagsException extends __BaseException {
|
|
1044
1044
|
readonly name: "TooManyTagsException";
|
|
@@ -1053,14 +1053,14 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
1053
1053
|
*/
|
|
1054
1054
|
export interface DeleteLifecyclePolicyRequest {
|
|
1055
1055
|
/**
|
|
1056
|
-
* @public
|
|
1057
1056
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
1058
1057
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
1058
|
+
* @public
|
|
1059
1059
|
*/
|
|
1060
1060
|
registryId?: string;
|
|
1061
1061
|
/**
|
|
1062
|
-
* @public
|
|
1063
1062
|
* <p>The name of the repository.</p>
|
|
1063
|
+
* @public
|
|
1064
1064
|
*/
|
|
1065
1065
|
repositoryName: string | undefined;
|
|
1066
1066
|
}
|
|
@@ -1069,30 +1069,30 @@ export interface DeleteLifecyclePolicyRequest {
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
export interface DeleteLifecyclePolicyResponse {
|
|
1071
1071
|
/**
|
|
1072
|
-
* @public
|
|
1073
1072
|
* <p>The registry ID associated with the request.</p>
|
|
1073
|
+
* @public
|
|
1074
1074
|
*/
|
|
1075
1075
|
registryId?: string;
|
|
1076
1076
|
/**
|
|
1077
|
-
* @public
|
|
1078
1077
|
* <p>The repository name associated with the request.</p>
|
|
1078
|
+
* @public
|
|
1079
1079
|
*/
|
|
1080
1080
|
repositoryName?: string;
|
|
1081
1081
|
/**
|
|
1082
|
-
* @public
|
|
1083
1082
|
* <p>The JSON lifecycle policy text.</p>
|
|
1083
|
+
* @public
|
|
1084
1084
|
*/
|
|
1085
1085
|
lifecyclePolicyText?: string;
|
|
1086
1086
|
/**
|
|
1087
|
-
* @public
|
|
1088
1087
|
* <p>The time stamp of the last time that the lifecycle policy was run.</p>
|
|
1088
|
+
* @public
|
|
1089
1089
|
*/
|
|
1090
1090
|
lastEvaluatedAt?: Date;
|
|
1091
1091
|
}
|
|
1092
1092
|
/**
|
|
1093
|
-
* @public
|
|
1094
1093
|
* <p>The lifecycle policy could not be found, and no policy is set to the
|
|
1095
1094
|
* repository.</p>
|
|
1095
|
+
* @public
|
|
1096
1096
|
*/
|
|
1097
1097
|
export declare class LifecyclePolicyNotFoundException extends __BaseException {
|
|
1098
1098
|
readonly name: "LifecyclePolicyNotFoundException";
|
|
@@ -1107,15 +1107,15 @@ export declare class LifecyclePolicyNotFoundException extends __BaseException {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
export interface DeletePullThroughCacheRuleRequest {
|
|
1109
1109
|
/**
|
|
1110
|
-
* @public
|
|
1111
1110
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule to
|
|
1112
1111
|
* delete.</p>
|
|
1112
|
+
* @public
|
|
1113
1113
|
*/
|
|
1114
1114
|
ecrRepositoryPrefix: string | undefined;
|
|
1115
1115
|
/**
|
|
1116
|
-
* @public
|
|
1117
1116
|
* <p>The Amazon Web Services account ID associated with the registry that contains the pull through cache
|
|
1118
1117
|
* rule. If you do not specify a registry, the default registry is assumed.</p>
|
|
1118
|
+
* @public
|
|
1119
1119
|
*/
|
|
1120
1120
|
registryId?: string;
|
|
1121
1121
|
}
|
|
@@ -1124,36 +1124,36 @@ export interface DeletePullThroughCacheRuleRequest {
|
|
|
1124
1124
|
*/
|
|
1125
1125
|
export interface DeletePullThroughCacheRuleResponse {
|
|
1126
1126
|
/**
|
|
1127
|
-
* @public
|
|
1128
1127
|
* <p>The Amazon ECR repository prefix associated with the request.</p>
|
|
1128
|
+
* @public
|
|
1129
1129
|
*/
|
|
1130
1130
|
ecrRepositoryPrefix?: string;
|
|
1131
1131
|
/**
|
|
1132
|
-
* @public
|
|
1133
1132
|
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
1133
|
+
* @public
|
|
1134
1134
|
*/
|
|
1135
1135
|
upstreamRegistryUrl?: string;
|
|
1136
1136
|
/**
|
|
1137
|
-
* @public
|
|
1138
1137
|
* <p>The timestamp associated with the pull through cache rule.</p>
|
|
1138
|
+
* @public
|
|
1139
1139
|
*/
|
|
1140
1140
|
createdAt?: Date;
|
|
1141
1141
|
/**
|
|
1142
|
-
* @public
|
|
1143
1142
|
* <p>The registry ID associated with the request.</p>
|
|
1143
|
+
* @public
|
|
1144
1144
|
*/
|
|
1145
1145
|
registryId?: string;
|
|
1146
1146
|
/**
|
|
1147
|
-
* @public
|
|
1148
1147
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache
|
|
1149
1148
|
* rule.</p>
|
|
1149
|
+
* @public
|
|
1150
1150
|
*/
|
|
1151
1151
|
credentialArn?: string;
|
|
1152
1152
|
}
|
|
1153
1153
|
/**
|
|
1154
|
-
* @public
|
|
1155
1154
|
* <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
|
|
1156
1155
|
* try again.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
|
|
1159
1159
|
readonly name: "PullThroughCacheRuleNotFoundException";
|
|
@@ -1173,19 +1173,19 @@ export interface DeleteRegistryPolicyRequest {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
export interface DeleteRegistryPolicyResponse {
|
|
1175
1175
|
/**
|
|
1176
|
-
* @public
|
|
1177
1176
|
* <p>The registry ID associated with the request.</p>
|
|
1177
|
+
* @public
|
|
1178
1178
|
*/
|
|
1179
1179
|
registryId?: string;
|
|
1180
1180
|
/**
|
|
1181
|
-
* @public
|
|
1182
1181
|
* <p>The contents of the registry permissions policy that was deleted.</p>
|
|
1182
|
+
* @public
|
|
1183
1183
|
*/
|
|
1184
1184
|
policyText?: string;
|
|
1185
1185
|
}
|
|
1186
1186
|
/**
|
|
1187
|
-
* @public
|
|
1188
1187
|
* <p>The registry doesn't have an associated registry policy.</p>
|
|
1188
|
+
* @public
|
|
1189
1189
|
*/
|
|
1190
1190
|
export declare class RegistryPolicyNotFoundException extends __BaseException {
|
|
1191
1191
|
readonly name: "RegistryPolicyNotFoundException";
|
|
@@ -1200,20 +1200,20 @@ export declare class RegistryPolicyNotFoundException extends __BaseException {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
export interface DeleteRepositoryRequest {
|
|
1202
1202
|
/**
|
|
1203
|
-
* @public
|
|
1204
1203
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository to
|
|
1205
1204
|
* delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
1205
|
+
* @public
|
|
1206
1206
|
*/
|
|
1207
1207
|
registryId?: string;
|
|
1208
1208
|
/**
|
|
1209
|
-
* @public
|
|
1210
1209
|
* <p>The name of the repository to delete.</p>
|
|
1210
|
+
* @public
|
|
1211
1211
|
*/
|
|
1212
1212
|
repositoryName: string | undefined;
|
|
1213
1213
|
/**
|
|
1214
|
-
* @public
|
|
1215
1214
|
* <p>If true, deleting the repository force deletes the contents of the repository. If
|
|
1216
1215
|
* false, the repository must be empty before attempting to delete it.</p>
|
|
1216
|
+
* @public
|
|
1217
1217
|
*/
|
|
1218
1218
|
force?: boolean;
|
|
1219
1219
|
}
|
|
@@ -1222,15 +1222,15 @@ export interface DeleteRepositoryRequest {
|
|
|
1222
1222
|
*/
|
|
1223
1223
|
export interface DeleteRepositoryResponse {
|
|
1224
1224
|
/**
|
|
1225
|
-
* @public
|
|
1226
1225
|
* <p>The repository that was deleted.</p>
|
|
1226
|
+
* @public
|
|
1227
1227
|
*/
|
|
1228
1228
|
repository?: Repository;
|
|
1229
1229
|
}
|
|
1230
1230
|
/**
|
|
1231
|
-
* @public
|
|
1232
1231
|
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
1233
1232
|
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
1233
|
+
* @public
|
|
1234
1234
|
*/
|
|
1235
1235
|
export declare class RepositoryNotEmptyException extends __BaseException {
|
|
1236
1236
|
readonly name: "RepositoryNotEmptyException";
|
|
@@ -1245,15 +1245,15 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
1245
1245
|
*/
|
|
1246
1246
|
export interface DeleteRepositoryPolicyRequest {
|
|
1247
1247
|
/**
|
|
1248
|
-
* @public
|
|
1249
1248
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository policy
|
|
1250
1249
|
* to delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
1250
|
+
* @public
|
|
1251
1251
|
*/
|
|
1252
1252
|
registryId?: string;
|
|
1253
1253
|
/**
|
|
1254
|
-
* @public
|
|
1255
1254
|
* <p>The name of the repository that is associated with the repository policy to
|
|
1256
1255
|
* delete.</p>
|
|
1256
|
+
* @public
|
|
1257
1257
|
*/
|
|
1258
1258
|
repositoryName: string | undefined;
|
|
1259
1259
|
}
|
|
@@ -1262,25 +1262,25 @@ export interface DeleteRepositoryPolicyRequest {
|
|
|
1262
1262
|
*/
|
|
1263
1263
|
export interface DeleteRepositoryPolicyResponse {
|
|
1264
1264
|
/**
|
|
1265
|
-
* @public
|
|
1266
1265
|
* <p>The registry ID associated with the request.</p>
|
|
1266
|
+
* @public
|
|
1267
1267
|
*/
|
|
1268
1268
|
registryId?: string;
|
|
1269
1269
|
/**
|
|
1270
|
-
* @public
|
|
1271
1270
|
* <p>The repository name associated with the request.</p>
|
|
1271
|
+
* @public
|
|
1272
1272
|
*/
|
|
1273
1273
|
repositoryName?: string;
|
|
1274
1274
|
/**
|
|
1275
|
-
* @public
|
|
1276
1275
|
* <p>The JSON repository policy that was deleted from the repository.</p>
|
|
1276
|
+
* @public
|
|
1277
1277
|
*/
|
|
1278
1278
|
policyText?: string;
|
|
1279
1279
|
}
|
|
1280
1280
|
/**
|
|
1281
|
-
* @public
|
|
1282
1281
|
* <p>The specified repository and registry combination does not have an associated
|
|
1283
1282
|
* repository policy.</p>
|
|
1283
|
+
* @public
|
|
1284
1284
|
*/
|
|
1285
1285
|
export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
1286
1286
|
readonly name: "RepositoryPolicyNotFoundException";
|
|
@@ -1295,18 +1295,18 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
export interface DescribeImageReplicationStatusRequest {
|
|
1297
1297
|
/**
|
|
1298
|
-
* @public
|
|
1299
1298
|
* <p>The name of the repository that the image is in.</p>
|
|
1299
|
+
* @public
|
|
1300
1300
|
*/
|
|
1301
1301
|
repositoryName: string | undefined;
|
|
1302
1302
|
/**
|
|
1303
|
-
* @public
|
|
1304
1303
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1304
|
+
* @public
|
|
1305
1305
|
*/
|
|
1306
1306
|
imageId: ImageIdentifier | undefined;
|
|
1307
1307
|
/**
|
|
1308
|
-
* @public
|
|
1309
1308
|
* <p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>
|
|
1309
|
+
* @public
|
|
1310
1310
|
*/
|
|
1311
1311
|
registryId?: string;
|
|
1312
1312
|
}
|
|
@@ -1324,28 +1324,28 @@ export declare const ReplicationStatus: {
|
|
|
1324
1324
|
*/
|
|
1325
1325
|
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
1326
1326
|
/**
|
|
1327
|
-
* @public
|
|
1328
1327
|
* <p>The status of the replication process for an image.</p>
|
|
1328
|
+
* @public
|
|
1329
1329
|
*/
|
|
1330
1330
|
export interface ImageReplicationStatus {
|
|
1331
1331
|
/**
|
|
1332
|
-
* @public
|
|
1333
1332
|
* <p>The destination Region for the image replication.</p>
|
|
1333
|
+
* @public
|
|
1334
1334
|
*/
|
|
1335
1335
|
region?: string;
|
|
1336
1336
|
/**
|
|
1337
|
-
* @public
|
|
1338
1337
|
* <p>The Amazon Web Services account ID associated with the registry to which the image belongs.</p>
|
|
1338
|
+
* @public
|
|
1339
1339
|
*/
|
|
1340
1340
|
registryId?: string;
|
|
1341
1341
|
/**
|
|
1342
|
-
* @public
|
|
1343
1342
|
* <p>The image replication status.</p>
|
|
1343
|
+
* @public
|
|
1344
1344
|
*/
|
|
1345
1345
|
status?: ReplicationStatus;
|
|
1346
1346
|
/**
|
|
1347
|
-
* @public
|
|
1348
1347
|
* <p>The failure code for a replication that has failed.</p>
|
|
1348
|
+
* @public
|
|
1349
1349
|
*/
|
|
1350
1350
|
failureCode?: string;
|
|
1351
1351
|
}
|
|
@@ -1354,24 +1354,24 @@ export interface ImageReplicationStatus {
|
|
|
1354
1354
|
*/
|
|
1355
1355
|
export interface DescribeImageReplicationStatusResponse {
|
|
1356
1356
|
/**
|
|
1357
|
-
* @public
|
|
1358
1357
|
* <p>The repository name associated with the request.</p>
|
|
1358
|
+
* @public
|
|
1359
1359
|
*/
|
|
1360
1360
|
repositoryName?: string;
|
|
1361
1361
|
/**
|
|
1362
|
-
* @public
|
|
1363
1362
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1363
|
+
* @public
|
|
1364
1364
|
*/
|
|
1365
1365
|
imageId?: ImageIdentifier;
|
|
1366
1366
|
/**
|
|
1367
|
-
* @public
|
|
1368
1367
|
* <p>The replication status details for the images in the specified repository.</p>
|
|
1368
|
+
* @public
|
|
1369
1369
|
*/
|
|
1370
1370
|
replicationStatuses?: ImageReplicationStatus[];
|
|
1371
1371
|
}
|
|
1372
1372
|
/**
|
|
1373
|
-
* @public
|
|
1374
1373
|
* <p>The image requested does not exist in the specified repository.</p>
|
|
1374
|
+
* @public
|
|
1375
1375
|
*/
|
|
1376
1376
|
export declare class ImageNotFoundException extends __BaseException {
|
|
1377
1377
|
readonly name: "ImageNotFoundException";
|
|
@@ -1395,16 +1395,16 @@ export declare const TagStatus: {
|
|
|
1395
1395
|
*/
|
|
1396
1396
|
export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
|
|
1397
1397
|
/**
|
|
1398
|
-
* @public
|
|
1399
1398
|
* <p>An object representing a filter on a <a>DescribeImages</a>
|
|
1400
1399
|
* operation.</p>
|
|
1400
|
+
* @public
|
|
1401
1401
|
*/
|
|
1402
1402
|
export interface DescribeImagesFilter {
|
|
1403
1403
|
/**
|
|
1404
|
-
* @public
|
|
1405
1404
|
* <p>The tag status with which to filter your <a>DescribeImages</a> results. You
|
|
1406
1405
|
* can filter results based on whether they are <code>TAGGED</code> or
|
|
1407
1406
|
* <code>UNTAGGED</code>.</p>
|
|
1407
|
+
* @public
|
|
1408
1408
|
*/
|
|
1409
1409
|
tagStatus?: TagStatus;
|
|
1410
1410
|
}
|
|
@@ -1413,33 +1413,32 @@ export interface DescribeImagesFilter {
|
|
|
1413
1413
|
*/
|
|
1414
1414
|
export interface DescribeImagesRequest {
|
|
1415
1415
|
/**
|
|
1416
|
-
* @public
|
|
1417
1416
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1418
1417
|
* which to describe images. If you do not specify a registry, the default registry is assumed.</p>
|
|
1418
|
+
* @public
|
|
1419
1419
|
*/
|
|
1420
1420
|
registryId?: string;
|
|
1421
1421
|
/**
|
|
1422
|
-
* @public
|
|
1423
1422
|
* <p>The repository that contains the images to describe.</p>
|
|
1423
|
+
* @public
|
|
1424
1424
|
*/
|
|
1425
1425
|
repositoryName: string | undefined;
|
|
1426
1426
|
/**
|
|
1427
|
-
* @public
|
|
1428
1427
|
* <p>The list of image IDs for the requested repository.</p>
|
|
1428
|
+
* @public
|
|
1429
1429
|
*/
|
|
1430
1430
|
imageIds?: ImageIdentifier[];
|
|
1431
1431
|
/**
|
|
1432
|
-
* @public
|
|
1433
1432
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1434
1433
|
* <code>DescribeImages</code> request where <code>maxResults</code> was used and the
|
|
1435
1434
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
1436
1435
|
* previous results that returned the <code>nextToken</code> value. This value is
|
|
1437
1436
|
* <code>null</code> when there are no more results to return. This option cannot be
|
|
1438
1437
|
* used when you specify images with <code>imageIds</code>.</p>
|
|
1438
|
+
* @public
|
|
1439
1439
|
*/
|
|
1440
1440
|
nextToken?: string;
|
|
1441
1441
|
/**
|
|
1442
|
-
* @public
|
|
1443
1442
|
* <p>The maximum number of repository results returned by <code>DescribeImages</code> in
|
|
1444
1443
|
* paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
1445
1444
|
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
@@ -1449,12 +1448,13 @@ export interface DescribeImagesRequest {
|
|
|
1449
1448
|
* parameter is not used, then <code>DescribeImages</code> returns up to
|
|
1450
1449
|
* 100 results and a <code>nextToken</code> value, if applicable. This
|
|
1451
1450
|
* option cannot be used when you specify images with <code>imageIds</code>.</p>
|
|
1451
|
+
* @public
|
|
1452
1452
|
*/
|
|
1453
1453
|
maxResults?: number;
|
|
1454
1454
|
/**
|
|
1455
|
-
* @public
|
|
1456
1455
|
* <p>The filter key and value with which to filter your <code>DescribeImages</code>
|
|
1457
1456
|
* results.</p>
|
|
1457
|
+
* @public
|
|
1458
1458
|
*/
|
|
1459
1459
|
filter?: DescribeImagesFilter;
|
|
1460
1460
|
}
|
|
@@ -1475,23 +1475,23 @@ export declare const FindingSeverity: {
|
|
|
1475
1475
|
*/
|
|
1476
1476
|
export type FindingSeverity = (typeof FindingSeverity)[keyof typeof FindingSeverity];
|
|
1477
1477
|
/**
|
|
1478
|
-
* @public
|
|
1479
1478
|
* <p>A summary of the last completed image scan.</p>
|
|
1479
|
+
* @public
|
|
1480
1480
|
*/
|
|
1481
1481
|
export interface ImageScanFindingsSummary {
|
|
1482
1482
|
/**
|
|
1483
|
-
* @public
|
|
1484
1483
|
* <p>The time of the last completed image scan.</p>
|
|
1484
|
+
* @public
|
|
1485
1485
|
*/
|
|
1486
1486
|
imageScanCompletedAt?: Date;
|
|
1487
1487
|
/**
|
|
1488
|
-
* @public
|
|
1489
1488
|
* <p>The time when the vulnerability data was last scanned.</p>
|
|
1489
|
+
* @public
|
|
1490
1490
|
*/
|
|
1491
1491
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
1492
1492
|
/**
|
|
1493
|
-
* @public
|
|
1494
1493
|
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
1494
|
+
* @public
|
|
1495
1495
|
*/
|
|
1496
1496
|
findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
|
|
1497
1497
|
}
|
|
@@ -1514,49 +1514,48 @@ export declare const ScanStatus: {
|
|
|
1514
1514
|
*/
|
|
1515
1515
|
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
1516
1516
|
/**
|
|
1517
|
-
* @public
|
|
1518
1517
|
* <p>The current status of an image scan.</p>
|
|
1518
|
+
* @public
|
|
1519
1519
|
*/
|
|
1520
1520
|
export interface ImageScanStatus {
|
|
1521
1521
|
/**
|
|
1522
|
-
* @public
|
|
1523
1522
|
* <p>The current state of an image scan.</p>
|
|
1523
|
+
* @public
|
|
1524
1524
|
*/
|
|
1525
1525
|
status?: ScanStatus;
|
|
1526
1526
|
/**
|
|
1527
|
-
* @public
|
|
1528
1527
|
* <p>The description of the image scan status.</p>
|
|
1528
|
+
* @public
|
|
1529
1529
|
*/
|
|
1530
1530
|
description?: string;
|
|
1531
1531
|
}
|
|
1532
1532
|
/**
|
|
1533
|
-
* @public
|
|
1534
1533
|
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
1535
1534
|
* operation.</p>
|
|
1535
|
+
* @public
|
|
1536
1536
|
*/
|
|
1537
1537
|
export interface ImageDetail {
|
|
1538
1538
|
/**
|
|
1539
|
-
* @public
|
|
1540
1539
|
* <p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>
|
|
1540
|
+
* @public
|
|
1541
1541
|
*/
|
|
1542
1542
|
registryId?: string;
|
|
1543
1543
|
/**
|
|
1544
|
-
* @public
|
|
1545
1544
|
* <p>The name of the repository to which this image belongs.</p>
|
|
1545
|
+
* @public
|
|
1546
1546
|
*/
|
|
1547
1547
|
repositoryName?: string;
|
|
1548
1548
|
/**
|
|
1549
|
-
* @public
|
|
1550
1549
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
1550
|
+
* @public
|
|
1551
1551
|
*/
|
|
1552
1552
|
imageDigest?: string;
|
|
1553
1553
|
/**
|
|
1554
|
-
* @public
|
|
1555
1554
|
* <p>The list of tags associated with this image.</p>
|
|
1555
|
+
* @public
|
|
1556
1556
|
*/
|
|
1557
1557
|
imageTags?: string[];
|
|
1558
1558
|
/**
|
|
1559
|
-
* @public
|
|
1560
1559
|
* <p>The size, in bytes, of the image in the repository.</p>
|
|
1561
1560
|
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
1562
1561
|
* list.</p>
|
|
@@ -1566,36 +1565,36 @@ export interface ImageDetail {
|
|
|
1566
1565
|
* images</code> command shows the uncompressed image size, so it may return a
|
|
1567
1566
|
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
1568
1567
|
* </note>
|
|
1568
|
+
* @public
|
|
1569
1569
|
*/
|
|
1570
1570
|
imageSizeInBytes?: number;
|
|
1571
1571
|
/**
|
|
1572
|
-
* @public
|
|
1573
1572
|
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
1574
1573
|
* image was pushed to the repository. </p>
|
|
1574
|
+
* @public
|
|
1575
1575
|
*/
|
|
1576
1576
|
imagePushedAt?: Date;
|
|
1577
1577
|
/**
|
|
1578
|
-
* @public
|
|
1579
1578
|
* <p>The current state of the scan.</p>
|
|
1579
|
+
* @public
|
|
1580
1580
|
*/
|
|
1581
1581
|
imageScanStatus?: ImageScanStatus;
|
|
1582
1582
|
/**
|
|
1583
|
-
* @public
|
|
1584
1583
|
* <p>A summary of the last completed image scan.</p>
|
|
1584
|
+
* @public
|
|
1585
1585
|
*/
|
|
1586
1586
|
imageScanFindingsSummary?: ImageScanFindingsSummary;
|
|
1587
1587
|
/**
|
|
1588
|
-
* @public
|
|
1589
1588
|
* <p>The media type of the image manifest.</p>
|
|
1589
|
+
* @public
|
|
1590
1590
|
*/
|
|
1591
1591
|
imageManifestMediaType?: string;
|
|
1592
1592
|
/**
|
|
1593
|
-
* @public
|
|
1594
1593
|
* <p>The artifact media type of the image.</p>
|
|
1594
|
+
* @public
|
|
1595
1595
|
*/
|
|
1596
1596
|
artifactMediaType?: string;
|
|
1597
1597
|
/**
|
|
1598
|
-
* @public
|
|
1599
1598
|
* <p>The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded
|
|
1600
1599
|
* the last image pull.</p>
|
|
1601
1600
|
* <note>
|
|
@@ -1606,6 +1605,7 @@ export interface ImageDetail {
|
|
|
1606
1605
|
* <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the
|
|
1607
1606
|
* result may not be the exact time that the image was last pulled.</p>
|
|
1608
1607
|
* </note>
|
|
1608
|
+
* @public
|
|
1609
1609
|
*/
|
|
1610
1610
|
lastRecordedPullTime?: Date;
|
|
1611
1611
|
}
|
|
@@ -1614,18 +1614,18 @@ export interface ImageDetail {
|
|
|
1614
1614
|
*/
|
|
1615
1615
|
export interface DescribeImagesResponse {
|
|
1616
1616
|
/**
|
|
1617
|
-
* @public
|
|
1618
1617
|
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
1619
1618
|
* image.</p>
|
|
1619
|
+
* @public
|
|
1620
1620
|
*/
|
|
1621
1621
|
imageDetails?: ImageDetail[];
|
|
1622
1622
|
/**
|
|
1623
|
-
* @public
|
|
1624
1623
|
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
1625
1624
|
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
1626
1625
|
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
1627
1626
|
* results. This value is <code>null</code> when there are no more results to
|
|
1628
1627
|
* return.</p>
|
|
1628
|
+
* @public
|
|
1629
1629
|
*/
|
|
1630
1630
|
nextToken?: string;
|
|
1631
1631
|
}
|
|
@@ -1634,32 +1634,31 @@ export interface DescribeImagesResponse {
|
|
|
1634
1634
|
*/
|
|
1635
1635
|
export interface DescribeImageScanFindingsRequest {
|
|
1636
1636
|
/**
|
|
1637
|
-
* @public
|
|
1638
1637
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1639
1638
|
* which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
|
|
1639
|
+
* @public
|
|
1640
1640
|
*/
|
|
1641
1641
|
registryId?: string;
|
|
1642
1642
|
/**
|
|
1643
|
-
* @public
|
|
1644
1643
|
* <p>The repository for the image for which to describe the scan findings.</p>
|
|
1644
|
+
* @public
|
|
1645
1645
|
*/
|
|
1646
1646
|
repositoryName: string | undefined;
|
|
1647
1647
|
/**
|
|
1648
|
-
* @public
|
|
1649
1648
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1649
|
+
* @public
|
|
1650
1650
|
*/
|
|
1651
1651
|
imageId: ImageIdentifier | undefined;
|
|
1652
1652
|
/**
|
|
1653
|
-
* @public
|
|
1654
1653
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1655
1654
|
* <code>DescribeImageScanFindings</code> request where <code>maxResults</code> was
|
|
1656
1655
|
* used and the results exceeded the value of that parameter. Pagination continues from the
|
|
1657
1656
|
* end of the previous results that returned the <code>nextToken</code> value. This value
|
|
1658
1657
|
* is null when there are no more results to return.</p>
|
|
1658
|
+
* @public
|
|
1659
1659
|
*/
|
|
1660
1660
|
nextToken?: string;
|
|
1661
1661
|
/**
|
|
1662
|
-
* @public
|
|
1663
1662
|
* <p>The maximum number of image scan results returned by
|
|
1664
1663
|
* <code>DescribeImageScanFindings</code> in paginated output. When this parameter is
|
|
1665
1664
|
* used, <code>DescribeImageScanFindings</code> only returns <code>maxResults</code>
|
|
@@ -1669,465 +1668,466 @@ export interface DescribeImageScanFindingsRequest {
|
|
|
1669
1668
|
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
1670
1669
|
* parameter is not used, then <code>DescribeImageScanFindings</code> returns up to 100
|
|
1671
1670
|
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
1671
|
+
* @public
|
|
1672
1672
|
*/
|
|
1673
1673
|
maxResults?: number;
|
|
1674
1674
|
}
|
|
1675
1675
|
/**
|
|
1676
|
-
* @public
|
|
1677
1676
|
* <p>The CVSS score for a finding.</p>
|
|
1677
|
+
* @public
|
|
1678
1678
|
*/
|
|
1679
1679
|
export interface CvssScore {
|
|
1680
1680
|
/**
|
|
1681
|
-
* @public
|
|
1682
1681
|
* <p>The base CVSS score used for the finding.</p>
|
|
1682
|
+
* @public
|
|
1683
1683
|
*/
|
|
1684
1684
|
baseScore?: number;
|
|
1685
1685
|
/**
|
|
1686
|
-
* @public
|
|
1687
1686
|
* <p>The vector string of the CVSS score.</p>
|
|
1687
|
+
* @public
|
|
1688
1688
|
*/
|
|
1689
1689
|
scoringVector?: string;
|
|
1690
1690
|
/**
|
|
1691
|
-
* @public
|
|
1692
1691
|
* <p>The source of the CVSS score.</p>
|
|
1692
|
+
* @public
|
|
1693
1693
|
*/
|
|
1694
1694
|
source?: string;
|
|
1695
1695
|
/**
|
|
1696
|
-
* @public
|
|
1697
1696
|
* <p>The version of CVSS used for the score.</p>
|
|
1697
|
+
* @public
|
|
1698
1698
|
*/
|
|
1699
1699
|
version?: string;
|
|
1700
1700
|
}
|
|
1701
1701
|
/**
|
|
1702
|
-
* @public
|
|
1703
1702
|
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
1703
|
+
* @public
|
|
1704
1704
|
*/
|
|
1705
1705
|
export interface VulnerablePackage {
|
|
1706
1706
|
/**
|
|
1707
|
-
* @public
|
|
1708
1707
|
* <p>The architecture of the vulnerable package.</p>
|
|
1708
|
+
* @public
|
|
1709
1709
|
*/
|
|
1710
1710
|
arch?: string;
|
|
1711
1711
|
/**
|
|
1712
|
-
* @public
|
|
1713
1712
|
* <p>The epoch of the vulnerable package.</p>
|
|
1713
|
+
* @public
|
|
1714
1714
|
*/
|
|
1715
1715
|
epoch?: number;
|
|
1716
1716
|
/**
|
|
1717
|
-
* @public
|
|
1718
1717
|
* <p>The file path of the vulnerable package.</p>
|
|
1718
|
+
* @public
|
|
1719
1719
|
*/
|
|
1720
1720
|
filePath?: string;
|
|
1721
1721
|
/**
|
|
1722
|
-
* @public
|
|
1723
1722
|
* <p>The name of the vulnerable package.</p>
|
|
1723
|
+
* @public
|
|
1724
1724
|
*/
|
|
1725
1725
|
name?: string;
|
|
1726
1726
|
/**
|
|
1727
|
-
* @public
|
|
1728
1727
|
* <p>The package manager of the vulnerable package.</p>
|
|
1728
|
+
* @public
|
|
1729
1729
|
*/
|
|
1730
1730
|
packageManager?: string;
|
|
1731
1731
|
/**
|
|
1732
|
-
* @public
|
|
1733
1732
|
* <p>The release of the vulnerable package.</p>
|
|
1733
|
+
* @public
|
|
1734
1734
|
*/
|
|
1735
1735
|
release?: string;
|
|
1736
1736
|
/**
|
|
1737
|
-
* @public
|
|
1738
1737
|
* <p>The source layer hash of the vulnerable package.</p>
|
|
1738
|
+
* @public
|
|
1739
1739
|
*/
|
|
1740
1740
|
sourceLayerHash?: string;
|
|
1741
1741
|
/**
|
|
1742
|
-
* @public
|
|
1743
1742
|
* <p>The version of the vulnerable package.</p>
|
|
1743
|
+
* @public
|
|
1744
1744
|
*/
|
|
1745
1745
|
version?: string;
|
|
1746
1746
|
}
|
|
1747
1747
|
/**
|
|
1748
|
-
* @public
|
|
1749
1748
|
* <p>Information about a package vulnerability finding.</p>
|
|
1749
|
+
* @public
|
|
1750
1750
|
*/
|
|
1751
1751
|
export interface PackageVulnerabilityDetails {
|
|
1752
1752
|
/**
|
|
1753
|
-
* @public
|
|
1754
1753
|
* <p>An object that contains details about the CVSS score of a finding.</p>
|
|
1754
|
+
* @public
|
|
1755
1755
|
*/
|
|
1756
1756
|
cvss?: CvssScore[];
|
|
1757
1757
|
/**
|
|
1758
|
-
* @public
|
|
1759
1758
|
* <p>One or more URLs that contain details about this vulnerability type.</p>
|
|
1759
|
+
* @public
|
|
1760
1760
|
*/
|
|
1761
1761
|
referenceUrls?: string[];
|
|
1762
1762
|
/**
|
|
1763
|
-
* @public
|
|
1764
1763
|
* <p>One or more vulnerabilities related to the one identified in this finding.</p>
|
|
1764
|
+
* @public
|
|
1765
1765
|
*/
|
|
1766
1766
|
relatedVulnerabilities?: string[];
|
|
1767
1767
|
/**
|
|
1768
|
-
* @public
|
|
1769
1768
|
* <p>The source of the vulnerability information.</p>
|
|
1769
|
+
* @public
|
|
1770
1770
|
*/
|
|
1771
1771
|
source?: string;
|
|
1772
1772
|
/**
|
|
1773
|
-
* @public
|
|
1774
1773
|
* <p>A URL to the source of the vulnerability information.</p>
|
|
1774
|
+
* @public
|
|
1775
1775
|
*/
|
|
1776
1776
|
sourceUrl?: string;
|
|
1777
1777
|
/**
|
|
1778
|
-
* @public
|
|
1779
1778
|
* <p>The date and time that this vulnerability was first added to the vendor's
|
|
1780
1779
|
* database.</p>
|
|
1780
|
+
* @public
|
|
1781
1781
|
*/
|
|
1782
1782
|
vendorCreatedAt?: Date;
|
|
1783
1783
|
/**
|
|
1784
|
-
* @public
|
|
1785
1784
|
* <p>The severity the vendor has given to this vulnerability type.</p>
|
|
1785
|
+
* @public
|
|
1786
1786
|
*/
|
|
1787
1787
|
vendorSeverity?: string;
|
|
1788
1788
|
/**
|
|
1789
|
-
* @public
|
|
1790
1789
|
* <p>The date and time the vendor last updated this vulnerability in their database.</p>
|
|
1790
|
+
* @public
|
|
1791
1791
|
*/
|
|
1792
1792
|
vendorUpdatedAt?: Date;
|
|
1793
1793
|
/**
|
|
1794
|
-
* @public
|
|
1795
1794
|
* <p>The ID given to this vulnerability.</p>
|
|
1795
|
+
* @public
|
|
1796
1796
|
*/
|
|
1797
1797
|
vulnerabilityId?: string;
|
|
1798
1798
|
/**
|
|
1799
|
-
* @public
|
|
1800
1799
|
* <p>The packages impacted by this vulnerability.</p>
|
|
1800
|
+
* @public
|
|
1801
1801
|
*/
|
|
1802
1802
|
vulnerablePackages?: VulnerablePackage[];
|
|
1803
1803
|
}
|
|
1804
1804
|
/**
|
|
1805
|
-
* @public
|
|
1806
1805
|
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
1806
|
+
* @public
|
|
1807
1807
|
*/
|
|
1808
1808
|
export interface Recommendation {
|
|
1809
1809
|
/**
|
|
1810
|
-
* @public
|
|
1811
1810
|
* <p>The URL address to the CVE remediation recommendations.</p>
|
|
1811
|
+
* @public
|
|
1812
1812
|
*/
|
|
1813
1813
|
url?: string;
|
|
1814
1814
|
/**
|
|
1815
|
-
* @public
|
|
1816
1815
|
* <p>The recommended course of action to remediate the finding.</p>
|
|
1816
|
+
* @public
|
|
1817
1817
|
*/
|
|
1818
1818
|
text?: string;
|
|
1819
1819
|
}
|
|
1820
1820
|
/**
|
|
1821
|
-
* @public
|
|
1822
1821
|
* <p>Information on how to remediate a finding.</p>
|
|
1822
|
+
* @public
|
|
1823
1823
|
*/
|
|
1824
1824
|
export interface Remediation {
|
|
1825
1825
|
/**
|
|
1826
|
-
* @public
|
|
1827
1826
|
* <p>An object that contains information about the recommended course of action to
|
|
1828
1827
|
* remediate the finding.</p>
|
|
1828
|
+
* @public
|
|
1829
1829
|
*/
|
|
1830
1830
|
recommendation?: Recommendation;
|
|
1831
1831
|
}
|
|
1832
1832
|
/**
|
|
1833
|
-
* @public
|
|
1834
1833
|
* <p>The image details of the Amazon ECR container image.</p>
|
|
1834
|
+
* @public
|
|
1835
1835
|
*/
|
|
1836
1836
|
export interface AwsEcrContainerImageDetails {
|
|
1837
1837
|
/**
|
|
1838
|
-
* @public
|
|
1839
1838
|
* <p>The architecture of the Amazon ECR container image.</p>
|
|
1839
|
+
* @public
|
|
1840
1840
|
*/
|
|
1841
1841
|
architecture?: string;
|
|
1842
1842
|
/**
|
|
1843
|
-
* @public
|
|
1844
1843
|
* <p>The image author of the Amazon ECR container image.</p>
|
|
1844
|
+
* @public
|
|
1845
1845
|
*/
|
|
1846
1846
|
author?: string;
|
|
1847
1847
|
/**
|
|
1848
|
-
* @public
|
|
1849
1848
|
* <p>The image hash of the Amazon ECR container image.</p>
|
|
1849
|
+
* @public
|
|
1850
1850
|
*/
|
|
1851
1851
|
imageHash?: string;
|
|
1852
1852
|
/**
|
|
1853
|
-
* @public
|
|
1854
1853
|
* <p>The image tags attached to the Amazon ECR container image.</p>
|
|
1854
|
+
* @public
|
|
1855
1855
|
*/
|
|
1856
1856
|
imageTags?: string[];
|
|
1857
1857
|
/**
|
|
1858
|
-
* @public
|
|
1859
1858
|
* <p>The platform of the Amazon ECR container image.</p>
|
|
1859
|
+
* @public
|
|
1860
1860
|
*/
|
|
1861
1861
|
platform?: string;
|
|
1862
1862
|
/**
|
|
1863
|
-
* @public
|
|
1864
1863
|
* <p>The date and time the Amazon ECR container image was pushed.</p>
|
|
1864
|
+
* @public
|
|
1865
1865
|
*/
|
|
1866
1866
|
pushedAt?: Date;
|
|
1867
1867
|
/**
|
|
1868
|
-
* @public
|
|
1869
1868
|
* <p>The registry the Amazon ECR container image belongs to.</p>
|
|
1869
|
+
* @public
|
|
1870
1870
|
*/
|
|
1871
1871
|
registry?: string;
|
|
1872
1872
|
/**
|
|
1873
|
-
* @public
|
|
1874
1873
|
* <p>The name of the repository the Amazon ECR container image resides in.</p>
|
|
1874
|
+
* @public
|
|
1875
1875
|
*/
|
|
1876
1876
|
repositoryName?: string;
|
|
1877
1877
|
}
|
|
1878
1878
|
/**
|
|
1879
|
-
* @public
|
|
1880
1879
|
* <p>Contains details about the resource involved in the finding.</p>
|
|
1880
|
+
* @public
|
|
1881
1881
|
*/
|
|
1882
1882
|
export interface ResourceDetails {
|
|
1883
1883
|
/**
|
|
1884
|
-
* @public
|
|
1885
1884
|
* <p>An object that contains details about the Amazon ECR container image involved in the
|
|
1886
1885
|
* finding.</p>
|
|
1886
|
+
* @public
|
|
1887
1887
|
*/
|
|
1888
1888
|
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
1889
1889
|
}
|
|
1890
1890
|
/**
|
|
1891
|
-
* @public
|
|
1892
1891
|
* <p>Details about the resource involved in a finding.</p>
|
|
1892
|
+
* @public
|
|
1893
1893
|
*/
|
|
1894
1894
|
export interface Resource {
|
|
1895
1895
|
/**
|
|
1896
|
-
* @public
|
|
1897
1896
|
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
1897
|
+
* @public
|
|
1898
1898
|
*/
|
|
1899
1899
|
details?: ResourceDetails;
|
|
1900
1900
|
/**
|
|
1901
|
-
* @public
|
|
1902
1901
|
* <p>The ID of the resource.</p>
|
|
1902
|
+
* @public
|
|
1903
1903
|
*/
|
|
1904
1904
|
id?: string;
|
|
1905
1905
|
/**
|
|
1906
|
-
* @public
|
|
1907
1906
|
* <p>The tags attached to the resource.</p>
|
|
1907
|
+
* @public
|
|
1908
1908
|
*/
|
|
1909
1909
|
tags?: Record<string, string>;
|
|
1910
1910
|
/**
|
|
1911
|
-
* @public
|
|
1912
1911
|
* <p>The type of resource.</p>
|
|
1912
|
+
* @public
|
|
1913
1913
|
*/
|
|
1914
1914
|
type?: string;
|
|
1915
1915
|
}
|
|
1916
1916
|
/**
|
|
1917
|
-
* @public
|
|
1918
1917
|
* <p>Details on adjustments Amazon Inspector made to the CVSS score for a finding.</p>
|
|
1918
|
+
* @public
|
|
1919
1919
|
*/
|
|
1920
1920
|
export interface CvssScoreAdjustment {
|
|
1921
1921
|
/**
|
|
1922
|
-
* @public
|
|
1923
1922
|
* <p>The metric used to adjust the CVSS score.</p>
|
|
1923
|
+
* @public
|
|
1924
1924
|
*/
|
|
1925
1925
|
metric?: string;
|
|
1926
1926
|
/**
|
|
1927
|
-
* @public
|
|
1928
1927
|
* <p>The reason the CVSS score has been adjustment.</p>
|
|
1928
|
+
* @public
|
|
1929
1929
|
*/
|
|
1930
1930
|
reason?: string;
|
|
1931
1931
|
}
|
|
1932
1932
|
/**
|
|
1933
|
-
* @public
|
|
1934
1933
|
* <p>Information about the CVSS score.</p>
|
|
1934
|
+
* @public
|
|
1935
1935
|
*/
|
|
1936
1936
|
export interface CvssScoreDetails {
|
|
1937
1937
|
/**
|
|
1938
|
-
* @public
|
|
1939
1938
|
* <p>An object that contains details about adjustment Amazon Inspector made to the CVSS score.</p>
|
|
1939
|
+
* @public
|
|
1940
1940
|
*/
|
|
1941
1941
|
adjustments?: CvssScoreAdjustment[];
|
|
1942
1942
|
/**
|
|
1943
|
-
* @public
|
|
1944
1943
|
* <p>The CVSS score.</p>
|
|
1944
|
+
* @public
|
|
1945
1945
|
*/
|
|
1946
1946
|
score?: number;
|
|
1947
1947
|
/**
|
|
1948
|
-
* @public
|
|
1949
1948
|
* <p>The source for the CVSS score.</p>
|
|
1949
|
+
* @public
|
|
1950
1950
|
*/
|
|
1951
1951
|
scoreSource?: string;
|
|
1952
1952
|
/**
|
|
1953
|
-
* @public
|
|
1954
1953
|
* <p>The vector for the CVSS score.</p>
|
|
1954
|
+
* @public
|
|
1955
1955
|
*/
|
|
1956
1956
|
scoringVector?: string;
|
|
1957
1957
|
/**
|
|
1958
|
-
* @public
|
|
1959
1958
|
* <p>The CVSS version used in scoring.</p>
|
|
1959
|
+
* @public
|
|
1960
1960
|
*/
|
|
1961
1961
|
version?: string;
|
|
1962
1962
|
}
|
|
1963
1963
|
/**
|
|
1964
|
-
* @public
|
|
1965
1964
|
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
1965
|
+
* @public
|
|
1966
1966
|
*/
|
|
1967
1967
|
export interface ScoreDetails {
|
|
1968
1968
|
/**
|
|
1969
|
-
* @public
|
|
1970
1969
|
* <p>An object that contains details about the CVSS score given to a finding.</p>
|
|
1970
|
+
* @public
|
|
1971
1971
|
*/
|
|
1972
1972
|
cvss?: CvssScoreDetails;
|
|
1973
1973
|
}
|
|
1974
1974
|
/**
|
|
1975
|
-
* @public
|
|
1976
1975
|
* <p>The details of an enhanced image scan. This is returned when enhanced scanning is
|
|
1977
1976
|
* enabled for your private registry.</p>
|
|
1977
|
+
* @public
|
|
1978
1978
|
*/
|
|
1979
1979
|
export interface EnhancedImageScanFinding {
|
|
1980
1980
|
/**
|
|
1981
|
-
* @public
|
|
1982
1981
|
* <p>The Amazon Web Services account ID associated with the image.</p>
|
|
1982
|
+
* @public
|
|
1983
1983
|
*/
|
|
1984
1984
|
awsAccountId?: string;
|
|
1985
1985
|
/**
|
|
1986
|
-
* @public
|
|
1987
1986
|
* <p>The description of the finding.</p>
|
|
1987
|
+
* @public
|
|
1988
1988
|
*/
|
|
1989
1989
|
description?: string;
|
|
1990
1990
|
/**
|
|
1991
|
-
* @public
|
|
1992
1991
|
* <p>The Amazon Resource Number (ARN) of the finding.</p>
|
|
1992
|
+
* @public
|
|
1993
1993
|
*/
|
|
1994
1994
|
findingArn?: string;
|
|
1995
1995
|
/**
|
|
1996
|
-
* @public
|
|
1997
1996
|
* <p>The date and time that the finding was first observed.</p>
|
|
1997
|
+
* @public
|
|
1998
1998
|
*/
|
|
1999
1999
|
firstObservedAt?: Date;
|
|
2000
2000
|
/**
|
|
2001
|
-
* @public
|
|
2002
2001
|
* <p>The date and time that the finding was last observed.</p>
|
|
2002
|
+
* @public
|
|
2003
2003
|
*/
|
|
2004
2004
|
lastObservedAt?: Date;
|
|
2005
2005
|
/**
|
|
2006
|
-
* @public
|
|
2007
2006
|
* <p>An object that contains the details of a package vulnerability finding.</p>
|
|
2007
|
+
* @public
|
|
2008
2008
|
*/
|
|
2009
2009
|
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
2010
2010
|
/**
|
|
2011
|
-
* @public
|
|
2012
2011
|
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
2012
|
+
* @public
|
|
2013
2013
|
*/
|
|
2014
2014
|
remediation?: Remediation;
|
|
2015
2015
|
/**
|
|
2016
|
-
* @public
|
|
2017
2016
|
* <p>Contains information on the resources involved in a finding.</p>
|
|
2017
|
+
* @public
|
|
2018
2018
|
*/
|
|
2019
2019
|
resources?: Resource[];
|
|
2020
2020
|
/**
|
|
2021
|
-
* @public
|
|
2022
2021
|
* <p>The Amazon Inspector score given to the finding.</p>
|
|
2022
|
+
* @public
|
|
2023
2023
|
*/
|
|
2024
2024
|
score?: number;
|
|
2025
2025
|
/**
|
|
2026
|
-
* @public
|
|
2027
2026
|
* <p>An object that contains details of the Amazon Inspector score.</p>
|
|
2027
|
+
* @public
|
|
2028
2028
|
*/
|
|
2029
2029
|
scoreDetails?: ScoreDetails;
|
|
2030
2030
|
/**
|
|
2031
|
-
* @public
|
|
2032
2031
|
* <p>The severity of the finding.</p>
|
|
2032
|
+
* @public
|
|
2033
2033
|
*/
|
|
2034
2034
|
severity?: string;
|
|
2035
2035
|
/**
|
|
2036
|
-
* @public
|
|
2037
2036
|
* <p>The status of the finding.</p>
|
|
2037
|
+
* @public
|
|
2038
2038
|
*/
|
|
2039
2039
|
status?: string;
|
|
2040
2040
|
/**
|
|
2041
|
-
* @public
|
|
2042
2041
|
* <p>The title of the finding.</p>
|
|
2042
|
+
* @public
|
|
2043
2043
|
*/
|
|
2044
2044
|
title?: string;
|
|
2045
2045
|
/**
|
|
2046
|
-
* @public
|
|
2047
2046
|
* <p>The type of the finding.</p>
|
|
2047
|
+
* @public
|
|
2048
2048
|
*/
|
|
2049
2049
|
type?: string;
|
|
2050
2050
|
/**
|
|
2051
|
-
* @public
|
|
2052
2051
|
* <p>The date and time the finding was last updated at.</p>
|
|
2052
|
+
* @public
|
|
2053
2053
|
*/
|
|
2054
2054
|
updatedAt?: Date;
|
|
2055
2055
|
}
|
|
2056
2056
|
/**
|
|
2057
|
-
* @public
|
|
2058
2057
|
* <p>This data type is used in the <a>ImageScanFinding</a> data type.</p>
|
|
2058
|
+
* @public
|
|
2059
2059
|
*/
|
|
2060
2060
|
export interface Attribute {
|
|
2061
2061
|
/**
|
|
2062
|
-
* @public
|
|
2063
2062
|
* <p>The attribute key.</p>
|
|
2063
|
+
* @public
|
|
2064
2064
|
*/
|
|
2065
2065
|
key: string | undefined;
|
|
2066
2066
|
/**
|
|
2067
|
-
* @public
|
|
2068
2067
|
* <p>The value assigned to the attribute key.</p>
|
|
2068
|
+
* @public
|
|
2069
2069
|
*/
|
|
2070
2070
|
value?: string;
|
|
2071
2071
|
}
|
|
2072
2072
|
/**
|
|
2073
|
-
* @public
|
|
2074
2073
|
* <p>Contains information about an image scan finding.</p>
|
|
2074
|
+
* @public
|
|
2075
2075
|
*/
|
|
2076
2076
|
export interface ImageScanFinding {
|
|
2077
2077
|
/**
|
|
2078
|
-
* @public
|
|
2079
2078
|
* <p>The name associated with the finding, usually a CVE number.</p>
|
|
2079
|
+
* @public
|
|
2080
2080
|
*/
|
|
2081
2081
|
name?: string;
|
|
2082
2082
|
/**
|
|
2083
|
-
* @public
|
|
2084
2083
|
* <p>The description of the finding.</p>
|
|
2084
|
+
* @public
|
|
2085
2085
|
*/
|
|
2086
2086
|
description?: string;
|
|
2087
2087
|
/**
|
|
2088
|
-
* @public
|
|
2089
2088
|
* <p>A link containing additional details about the security vulnerability.</p>
|
|
2089
|
+
* @public
|
|
2090
2090
|
*/
|
|
2091
2091
|
uri?: string;
|
|
2092
2092
|
/**
|
|
2093
|
-
* @public
|
|
2094
2093
|
* <p>The finding severity.</p>
|
|
2094
|
+
* @public
|
|
2095
2095
|
*/
|
|
2096
2096
|
severity?: FindingSeverity;
|
|
2097
2097
|
/**
|
|
2098
|
-
* @public
|
|
2099
2098
|
* <p>A collection of attributes of the host from which the finding is generated.</p>
|
|
2099
|
+
* @public
|
|
2100
2100
|
*/
|
|
2101
2101
|
attributes?: Attribute[];
|
|
2102
2102
|
}
|
|
2103
2103
|
/**
|
|
2104
|
-
* @public
|
|
2105
2104
|
* <p>The details of an image scan.</p>
|
|
2105
|
+
* @public
|
|
2106
2106
|
*/
|
|
2107
2107
|
export interface ImageScanFindings {
|
|
2108
2108
|
/**
|
|
2109
|
-
* @public
|
|
2110
2109
|
* <p>The time of the last completed image scan.</p>
|
|
2110
|
+
* @public
|
|
2111
2111
|
*/
|
|
2112
2112
|
imageScanCompletedAt?: Date;
|
|
2113
2113
|
/**
|
|
2114
|
-
* @public
|
|
2115
2114
|
* <p>The time when the vulnerability data was last scanned.</p>
|
|
2115
|
+
* @public
|
|
2116
2116
|
*/
|
|
2117
2117
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
2118
2118
|
/**
|
|
2119
|
-
* @public
|
|
2120
2119
|
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
2120
|
+
* @public
|
|
2121
2121
|
*/
|
|
2122
2122
|
findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
|
|
2123
2123
|
/**
|
|
2124
|
-
* @public
|
|
2125
2124
|
* <p>The findings from the image scan.</p>
|
|
2125
|
+
* @public
|
|
2126
2126
|
*/
|
|
2127
2127
|
findings?: ImageScanFinding[];
|
|
2128
2128
|
/**
|
|
2129
|
-
* @public
|
|
2130
2129
|
* <p>Details about the enhanced scan findings from Amazon Inspector.</p>
|
|
2130
|
+
* @public
|
|
2131
2131
|
*/
|
|
2132
2132
|
enhancedFindings?: EnhancedImageScanFinding[];
|
|
2133
2133
|
}
|
|
@@ -2136,44 +2136,44 @@ export interface ImageScanFindings {
|
|
|
2136
2136
|
*/
|
|
2137
2137
|
export interface DescribeImageScanFindingsResponse {
|
|
2138
2138
|
/**
|
|
2139
|
-
* @public
|
|
2140
2139
|
* <p>The registry ID associated with the request.</p>
|
|
2140
|
+
* @public
|
|
2141
2141
|
*/
|
|
2142
2142
|
registryId?: string;
|
|
2143
2143
|
/**
|
|
2144
|
-
* @public
|
|
2145
2144
|
* <p>The repository name associated with the request.</p>
|
|
2145
|
+
* @public
|
|
2146
2146
|
*/
|
|
2147
2147
|
repositoryName?: string;
|
|
2148
2148
|
/**
|
|
2149
|
-
* @public
|
|
2150
2149
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
2150
|
+
* @public
|
|
2151
2151
|
*/
|
|
2152
2152
|
imageId?: ImageIdentifier;
|
|
2153
2153
|
/**
|
|
2154
|
-
* @public
|
|
2155
2154
|
* <p>The current state of the scan.</p>
|
|
2155
|
+
* @public
|
|
2156
2156
|
*/
|
|
2157
2157
|
imageScanStatus?: ImageScanStatus;
|
|
2158
2158
|
/**
|
|
2159
|
-
* @public
|
|
2160
2159
|
* <p>The information contained in the image scan findings.</p>
|
|
2160
|
+
* @public
|
|
2161
2161
|
*/
|
|
2162
2162
|
imageScanFindings?: ImageScanFindings;
|
|
2163
2163
|
/**
|
|
2164
|
-
* @public
|
|
2165
2164
|
* <p>The <code>nextToken</code> value to include in a future
|
|
2166
2165
|
* <code>DescribeImageScanFindings</code> request. When the results of a
|
|
2167
2166
|
* <code>DescribeImageScanFindings</code> request exceed <code>maxResults</code>, this
|
|
2168
2167
|
* value can be used to retrieve the next page of results. This value is null when there
|
|
2169
2168
|
* are no more results to return.</p>
|
|
2169
|
+
* @public
|
|
2170
2170
|
*/
|
|
2171
2171
|
nextToken?: string;
|
|
2172
2172
|
}
|
|
2173
2173
|
/**
|
|
2174
|
-
* @public
|
|
2175
2174
|
* <p>The specified image scan could not be found. Ensure that image scanning is enabled on
|
|
2176
2175
|
* the repository and try again.</p>
|
|
2176
|
+
* @public
|
|
2177
2177
|
*/
|
|
2178
2178
|
export declare class ScanNotFoundException extends __BaseException {
|
|
2179
2179
|
readonly name: "ScanNotFoundException";
|
|
@@ -2188,30 +2188,29 @@ export declare class ScanNotFoundException extends __BaseException {
|
|
|
2188
2188
|
*/
|
|
2189
2189
|
export interface DescribePullThroughCacheRulesRequest {
|
|
2190
2190
|
/**
|
|
2191
|
-
* @public
|
|
2192
2191
|
* <p>The Amazon Web Services account ID associated with the registry to return the pull through cache
|
|
2193
2192
|
* rules for. If you do not specify a registry, the default registry is assumed.</p>
|
|
2193
|
+
* @public
|
|
2194
2194
|
*/
|
|
2195
2195
|
registryId?: string;
|
|
2196
2196
|
/**
|
|
2197
|
-
* @public
|
|
2198
2197
|
* <p>The Amazon ECR repository prefixes associated with the pull through cache rules to return.
|
|
2199
2198
|
* If no repository prefix value is specified, all pull through cache rules are
|
|
2200
2199
|
* returned.</p>
|
|
2200
|
+
* @public
|
|
2201
2201
|
*/
|
|
2202
2202
|
ecrRepositoryPrefixes?: string[];
|
|
2203
2203
|
/**
|
|
2204
|
-
* @public
|
|
2205
2204
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2206
2205
|
* <code>DescribePullThroughCacheRulesRequest</code> request where
|
|
2207
2206
|
* <code>maxResults</code> was used and the results exceeded the value of that
|
|
2208
2207
|
* parameter. Pagination continues from the end of the previous results that returned the
|
|
2209
2208
|
* <code>nextToken</code> value. This value is null when there are no more results to
|
|
2210
2209
|
* return.</p>
|
|
2210
|
+
* @public
|
|
2211
2211
|
*/
|
|
2212
2212
|
nextToken?: string;
|
|
2213
2213
|
/**
|
|
2214
|
-
* @public
|
|
2215
2214
|
* <p>The maximum number of pull through cache rules returned by
|
|
2216
2215
|
* <code>DescribePullThroughCacheRulesRequest</code> in paginated output. When this
|
|
2217
2216
|
* parameter is used, <code>DescribePullThroughCacheRulesRequest</code> only returns
|
|
@@ -2221,50 +2220,51 @@ export interface DescribePullThroughCacheRulesRequest {
|
|
|
2221
2220
|
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
2222
2221
|
* parameter is not used, then <code>DescribePullThroughCacheRulesRequest</code> returns up
|
|
2223
2222
|
* to 100 results and a <code>nextToken</code> value, if applicable.</p>
|
|
2223
|
+
* @public
|
|
2224
2224
|
*/
|
|
2225
2225
|
maxResults?: number;
|
|
2226
2226
|
}
|
|
2227
2227
|
/**
|
|
2228
|
-
* @public
|
|
2229
2228
|
* <p>The details of a pull through cache rule.</p>
|
|
2229
|
+
* @public
|
|
2230
2230
|
*/
|
|
2231
2231
|
export interface PullThroughCacheRule {
|
|
2232
2232
|
/**
|
|
2233
|
-
* @public
|
|
2234
2233
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
2234
|
+
* @public
|
|
2235
2235
|
*/
|
|
2236
2236
|
ecrRepositoryPrefix?: string;
|
|
2237
2237
|
/**
|
|
2238
|
-
* @public
|
|
2239
2238
|
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
2239
|
+
* @public
|
|
2240
2240
|
*/
|
|
2241
2241
|
upstreamRegistryUrl?: string;
|
|
2242
2242
|
/**
|
|
2243
|
-
* @public
|
|
2244
2243
|
* <p>The date and time the pull through cache was created.</p>
|
|
2244
|
+
* @public
|
|
2245
2245
|
*/
|
|
2246
2246
|
createdAt?: Date;
|
|
2247
2247
|
/**
|
|
2248
|
-
* @public
|
|
2249
2248
|
* <p>The Amazon Web Services account ID associated with the registry the pull through cache rule is
|
|
2250
2249
|
* associated with.</p>
|
|
2250
|
+
* @public
|
|
2251
2251
|
*/
|
|
2252
2252
|
registryId?: string;
|
|
2253
2253
|
/**
|
|
2254
|
-
* @public
|
|
2255
2254
|
* <p>The ARN of the Secrets Manager secret associated with the pull through cache rule.</p>
|
|
2255
|
+
* @public
|
|
2256
2256
|
*/
|
|
2257
2257
|
credentialArn?: string;
|
|
2258
2258
|
/**
|
|
2259
|
-
* @public
|
|
2260
2259
|
* <p>The name of the upstream source registry associated with the pull through cache
|
|
2261
2260
|
* rule.</p>
|
|
2261
|
+
* @public
|
|
2262
2262
|
*/
|
|
2263
2263
|
upstreamRegistry?: UpstreamRegistry;
|
|
2264
2264
|
/**
|
|
2265
|
-
* @public
|
|
2266
2265
|
* <p>The date and time, in JavaScript date format, when the pull through cache rule was
|
|
2267
2266
|
* last updated.</p>
|
|
2267
|
+
* @public
|
|
2268
2268
|
*/
|
|
2269
2269
|
updatedAt?: Date;
|
|
2270
2270
|
}
|
|
@@ -2273,17 +2273,17 @@ export interface PullThroughCacheRule {
|
|
|
2273
2273
|
*/
|
|
2274
2274
|
export interface DescribePullThroughCacheRulesResponse {
|
|
2275
2275
|
/**
|
|
2276
|
-
* @public
|
|
2277
2276
|
* <p>The details of the pull through cache rules.</p>
|
|
2277
|
+
* @public
|
|
2278
2278
|
*/
|
|
2279
2279
|
pullThroughCacheRules?: PullThroughCacheRule[];
|
|
2280
2280
|
/**
|
|
2281
|
-
* @public
|
|
2282
2281
|
* <p>The <code>nextToken</code> value to include in a future
|
|
2283
2282
|
* <code>DescribePullThroughCacheRulesRequest</code> request. When the results of a
|
|
2284
2283
|
* <code>DescribePullThroughCacheRulesRequest</code> request exceed
|
|
2285
2284
|
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
2286
2285
|
* results. This value is null when there are no more results to return.</p>
|
|
2286
|
+
* @public
|
|
2287
2287
|
*/
|
|
2288
2288
|
nextToken?: string;
|
|
2289
2289
|
}
|
|
@@ -2293,19 +2293,19 @@ export interface DescribePullThroughCacheRulesResponse {
|
|
|
2293
2293
|
export interface DescribeRegistryRequest {
|
|
2294
2294
|
}
|
|
2295
2295
|
/**
|
|
2296
|
-
* @public
|
|
2297
2296
|
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
2297
|
+
* @public
|
|
2298
2298
|
*/
|
|
2299
2299
|
export interface ReplicationDestination {
|
|
2300
2300
|
/**
|
|
2301
|
-
* @public
|
|
2302
2301
|
* <p>The Region to replicate to.</p>
|
|
2302
|
+
* @public
|
|
2303
2303
|
*/
|
|
2304
2304
|
region: string | undefined;
|
|
2305
2305
|
/**
|
|
2306
|
-
* @public
|
|
2307
2306
|
* <p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
|
|
2308
2307
|
* cross-Region replication within your own registry, specify your own account ID.</p>
|
|
2308
|
+
* @public
|
|
2309
2309
|
*/
|
|
2310
2310
|
registryId: string | undefined;
|
|
2311
2311
|
}
|
|
@@ -2321,56 +2321,56 @@ export declare const RepositoryFilterType: {
|
|
|
2321
2321
|
*/
|
|
2322
2322
|
export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
|
|
2323
2323
|
/**
|
|
2324
|
-
* @public
|
|
2325
2324
|
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
2326
2325
|
* replication rule provides a method for controlling which repositories in a private
|
|
2327
2326
|
* registry are replicated. If no filters are added, the contents of all repositories are
|
|
2328
2327
|
* replicated.</p>
|
|
2328
|
+
* @public
|
|
2329
2329
|
*/
|
|
2330
2330
|
export interface RepositoryFilter {
|
|
2331
2331
|
/**
|
|
2332
|
-
* @public
|
|
2333
2332
|
* <p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is
|
|
2334
2333
|
* specified, this value is required and should be the repository name prefix to configure
|
|
2335
2334
|
* replication for.</p>
|
|
2335
|
+
* @public
|
|
2336
2336
|
*/
|
|
2337
2337
|
filter: string | undefined;
|
|
2338
2338
|
/**
|
|
2339
|
-
* @public
|
|
2340
2339
|
* <p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,
|
|
2341
2340
|
* which is a repository name prefix specified with the <code>filter</code>
|
|
2342
2341
|
* parameter.</p>
|
|
2342
|
+
* @public
|
|
2343
2343
|
*/
|
|
2344
2344
|
filterType: RepositoryFilterType | undefined;
|
|
2345
2345
|
}
|
|
2346
2346
|
/**
|
|
2347
|
-
* @public
|
|
2348
2347
|
* <p>An array of objects representing the replication destinations and repository filters
|
|
2349
2348
|
* for a replication configuration.</p>
|
|
2349
|
+
* @public
|
|
2350
2350
|
*/
|
|
2351
2351
|
export interface ReplicationRule {
|
|
2352
2352
|
/**
|
|
2353
|
-
* @public
|
|
2354
2353
|
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
2354
|
+
* @public
|
|
2355
2355
|
*/
|
|
2356
2356
|
destinations: ReplicationDestination[] | undefined;
|
|
2357
2357
|
/**
|
|
2358
|
-
* @public
|
|
2359
2358
|
* <p>An array of objects representing the filters for a replication rule. Specifying a
|
|
2360
2359
|
* repository filter for a replication rule provides a method for controlling which
|
|
2361
2360
|
* repositories in a private registry are replicated.</p>
|
|
2361
|
+
* @public
|
|
2362
2362
|
*/
|
|
2363
2363
|
repositoryFilters?: RepositoryFilter[];
|
|
2364
2364
|
}
|
|
2365
2365
|
/**
|
|
2366
|
-
* @public
|
|
2367
2366
|
* <p>The replication configuration for a registry.</p>
|
|
2367
|
+
* @public
|
|
2368
2368
|
*/
|
|
2369
2369
|
export interface ReplicationConfiguration {
|
|
2370
2370
|
/**
|
|
2371
|
-
* @public
|
|
2372
2371
|
* <p>An array of objects representing the replication destinations and repository filters
|
|
2373
2372
|
* for a replication configuration.</p>
|
|
2373
|
+
* @public
|
|
2374
2374
|
*/
|
|
2375
2375
|
rules: ReplicationRule[] | undefined;
|
|
2376
2376
|
}
|
|
@@ -2379,13 +2379,13 @@ export interface ReplicationConfiguration {
|
|
|
2379
2379
|
*/
|
|
2380
2380
|
export interface DescribeRegistryResponse {
|
|
2381
2381
|
/**
|
|
2382
|
-
* @public
|
|
2383
2382
|
* <p>The ID of the registry.</p>
|
|
2383
|
+
* @public
|
|
2384
2384
|
*/
|
|
2385
2385
|
registryId?: string;
|
|
2386
2386
|
/**
|
|
2387
|
-
* @public
|
|
2388
2387
|
* <p>The replication configuration for the registry.</p>
|
|
2388
|
+
* @public
|
|
2389
2389
|
*/
|
|
2390
2390
|
replicationConfiguration?: ReplicationConfiguration;
|
|
2391
2391
|
}
|
|
@@ -2394,19 +2394,18 @@ export interface DescribeRegistryResponse {
|
|
|
2394
2394
|
*/
|
|
2395
2395
|
export interface DescribeRepositoriesRequest {
|
|
2396
2396
|
/**
|
|
2397
|
-
* @public
|
|
2398
2397
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
|
|
2399
2398
|
* described. If you do not specify a registry, the default registry is assumed.</p>
|
|
2399
|
+
* @public
|
|
2400
2400
|
*/
|
|
2401
2401
|
registryId?: string;
|
|
2402
2402
|
/**
|
|
2403
|
-
* @public
|
|
2404
2403
|
* <p>A list of repositories to describe. If this parameter is omitted, then all
|
|
2405
2404
|
* repositories in a registry are described.</p>
|
|
2405
|
+
* @public
|
|
2406
2406
|
*/
|
|
2407
2407
|
repositoryNames?: string[];
|
|
2408
2408
|
/**
|
|
2409
|
-
* @public
|
|
2410
2409
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2411
2410
|
* <code>DescribeRepositories</code> request where <code>maxResults</code> was used and
|
|
2412
2411
|
* the results exceeded the value of that parameter. Pagination continues from the end of
|
|
@@ -2417,10 +2416,10 @@ export interface DescribeRepositoriesRequest {
|
|
|
2417
2416
|
* <p>This token should be treated as an opaque identifier that is only used to
|
|
2418
2417
|
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
2419
2418
|
* </note>
|
|
2419
|
+
* @public
|
|
2420
2420
|
*/
|
|
2421
2421
|
nextToken?: string;
|
|
2422
2422
|
/**
|
|
2423
|
-
* @public
|
|
2424
2423
|
* <p>The maximum number of repository results returned by <code>DescribeRepositories</code>
|
|
2425
2424
|
* in paginated output. When this parameter is used, <code>DescribeRepositories</code> only
|
|
2426
2425
|
* returns <code>maxResults</code> results in a single page along with a
|
|
@@ -2431,6 +2430,7 @@ export interface DescribeRepositoriesRequest {
|
|
|
2431
2430
|
* <code>DescribeRepositories</code> returns up to 100 results and a
|
|
2432
2431
|
* <code>nextToken</code> value, if applicable. This option cannot be used when you
|
|
2433
2432
|
* specify repositories with <code>repositoryNames</code>.</p>
|
|
2433
|
+
* @public
|
|
2434
2434
|
*/
|
|
2435
2435
|
maxResults?: number;
|
|
2436
2436
|
}
|
|
@@ -2439,17 +2439,17 @@ export interface DescribeRepositoriesRequest {
|
|
|
2439
2439
|
*/
|
|
2440
2440
|
export interface DescribeRepositoriesResponse {
|
|
2441
2441
|
/**
|
|
2442
|
-
* @public
|
|
2443
2442
|
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
2443
|
+
* @public
|
|
2444
2444
|
*/
|
|
2445
2445
|
repositories?: Repository[];
|
|
2446
2446
|
/**
|
|
2447
|
-
* @public
|
|
2448
2447
|
* <p>The <code>nextToken</code> value to include in a future
|
|
2449
2448
|
* <code>DescribeRepositories</code> request. When the results of a
|
|
2450
2449
|
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value
|
|
2451
2450
|
* can be used to retrieve the next page of results. This value is <code>null</code> when
|
|
2452
2451
|
* there are no more results to return.</p>
|
|
2452
|
+
* @public
|
|
2453
2453
|
*/
|
|
2454
2454
|
nextToken?: string;
|
|
2455
2455
|
}
|
|
@@ -2458,39 +2458,39 @@ export interface DescribeRepositoriesResponse {
|
|
|
2458
2458
|
*/
|
|
2459
2459
|
export interface GetAuthorizationTokenRequest {
|
|
2460
2460
|
/**
|
|
2461
|
-
* @public
|
|
2462
2461
|
* @deprecated
|
|
2463
2462
|
*
|
|
2464
2463
|
* <p>A list of Amazon Web Services account IDs that are associated with the registries for which to get
|
|
2465
2464
|
* AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
|
|
2465
|
+
* @public
|
|
2466
2466
|
*/
|
|
2467
2467
|
registryIds?: string[];
|
|
2468
2468
|
}
|
|
2469
2469
|
/**
|
|
2470
|
-
* @public
|
|
2471
2470
|
* <p>An object representing authorization data for an Amazon ECR registry.</p>
|
|
2471
|
+
* @public
|
|
2472
2472
|
*/
|
|
2473
2473
|
export interface AuthorizationData {
|
|
2474
2474
|
/**
|
|
2475
|
-
* @public
|
|
2476
2475
|
* <p>A base64-encoded string that contains authorization data for the specified Amazon ECR
|
|
2477
2476
|
* registry. When the string is decoded, it is presented in the format
|
|
2478
2477
|
* <code>user:password</code> for private registry authentication using <code>docker
|
|
2479
2478
|
* login</code>.</p>
|
|
2479
|
+
* @public
|
|
2480
2480
|
*/
|
|
2481
2481
|
authorizationToken?: string;
|
|
2482
2482
|
/**
|
|
2483
|
-
* @public
|
|
2484
2483
|
* <p>The Unix time in seconds and milliseconds when the authorization token expires.
|
|
2485
2484
|
* Authorization tokens are valid for 12 hours.</p>
|
|
2485
|
+
* @public
|
|
2486
2486
|
*/
|
|
2487
2487
|
expiresAt?: Date;
|
|
2488
2488
|
/**
|
|
2489
|
-
* @public
|
|
2490
2489
|
* <p>The registry URL to use for this authorization token in a <code>docker login</code>
|
|
2491
2490
|
* command. The Amazon ECR registry URL format is
|
|
2492
2491
|
* <code>https://aws_account_id.dkr.ecr.region.amazonaws.com</code>. For example,
|
|
2493
2492
|
* <code>https://012345678910.dkr.ecr.us-east-1.amazonaws.com</code>.. </p>
|
|
2493
|
+
* @public
|
|
2494
2494
|
*/
|
|
2495
2495
|
proxyEndpoint?: string;
|
|
2496
2496
|
}
|
|
@@ -2499,9 +2499,9 @@ export interface AuthorizationData {
|
|
|
2499
2499
|
*/
|
|
2500
2500
|
export interface GetAuthorizationTokenResponse {
|
|
2501
2501
|
/**
|
|
2502
|
-
* @public
|
|
2503
2502
|
* <p>A list of authorization token data objects that correspond to the
|
|
2504
2503
|
* <code>registryIds</code> values in the request.</p>
|
|
2504
|
+
* @public
|
|
2505
2505
|
*/
|
|
2506
2506
|
authorizationData?: AuthorizationData[];
|
|
2507
2507
|
}
|
|
@@ -2510,19 +2510,19 @@ export interface GetAuthorizationTokenResponse {
|
|
|
2510
2510
|
*/
|
|
2511
2511
|
export interface GetDownloadUrlForLayerRequest {
|
|
2512
2512
|
/**
|
|
2513
|
-
* @public
|
|
2514
2513
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image layer to
|
|
2515
2514
|
* download. If you do not specify a registry, the default registry is assumed.</p>
|
|
2515
|
+
* @public
|
|
2516
2516
|
*/
|
|
2517
2517
|
registryId?: string;
|
|
2518
2518
|
/**
|
|
2519
|
-
* @public
|
|
2520
2519
|
* <p>The name of the repository that is associated with the image layer to download.</p>
|
|
2520
|
+
* @public
|
|
2521
2521
|
*/
|
|
2522
2522
|
repositoryName: string | undefined;
|
|
2523
2523
|
/**
|
|
2524
|
-
* @public
|
|
2525
2524
|
* <p>The digest of the image layer to download.</p>
|
|
2525
|
+
* @public
|
|
2526
2526
|
*/
|
|
2527
2527
|
layerDigest: string | undefined;
|
|
2528
2528
|
}
|
|
@@ -2531,20 +2531,20 @@ export interface GetDownloadUrlForLayerRequest {
|
|
|
2531
2531
|
*/
|
|
2532
2532
|
export interface GetDownloadUrlForLayerResponse {
|
|
2533
2533
|
/**
|
|
2534
|
-
* @public
|
|
2535
2534
|
* <p>The pre-signed Amazon S3 download URL for the requested layer.</p>
|
|
2535
|
+
* @public
|
|
2536
2536
|
*/
|
|
2537
2537
|
downloadUrl?: string;
|
|
2538
2538
|
/**
|
|
2539
|
-
* @public
|
|
2540
2539
|
* <p>The digest of the image layer to download.</p>
|
|
2540
|
+
* @public
|
|
2541
2541
|
*/
|
|
2542
2542
|
layerDigest?: string;
|
|
2543
2543
|
}
|
|
2544
2544
|
/**
|
|
2545
|
-
* @public
|
|
2546
2545
|
* <p>The specified layer is not available because it is not associated with an image.
|
|
2547
2546
|
* Unassociated image layers may be cleaned up at any time.</p>
|
|
2547
|
+
* @public
|
|
2548
2548
|
*/
|
|
2549
2549
|
export declare class LayerInaccessibleException extends __BaseException {
|
|
2550
2550
|
readonly name: "LayerInaccessibleException";
|
|
@@ -2555,9 +2555,9 @@ export declare class LayerInaccessibleException extends __BaseException {
|
|
|
2555
2555
|
constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
|
|
2556
2556
|
}
|
|
2557
2557
|
/**
|
|
2558
|
-
* @public
|
|
2559
2558
|
* <p>The specified layers could not be found, or the specified layer is not valid for this
|
|
2560
2559
|
* repository.</p>
|
|
2560
|
+
* @public
|
|
2561
2561
|
*/
|
|
2562
2562
|
export declare class LayersNotFoundException extends __BaseException {
|
|
2563
2563
|
readonly name: "LayersNotFoundException";
|
|
@@ -2568,9 +2568,9 @@ export declare class LayersNotFoundException extends __BaseException {
|
|
|
2568
2568
|
constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
|
|
2569
2569
|
}
|
|
2570
2570
|
/**
|
|
2571
|
-
* @public
|
|
2572
2571
|
* <p>There was an issue getting the upstream layer matching the pull through cache
|
|
2573
2572
|
* rule.</p>
|
|
2573
|
+
* @public
|
|
2574
2574
|
*/
|
|
2575
2575
|
export declare class UnableToGetUpstreamLayerException extends __BaseException {
|
|
2576
2576
|
readonly name: "UnableToGetUpstreamLayerException";
|
|
@@ -2585,14 +2585,14 @@ export declare class UnableToGetUpstreamLayerException extends __BaseException {
|
|
|
2585
2585
|
*/
|
|
2586
2586
|
export interface GetLifecyclePolicyRequest {
|
|
2587
2587
|
/**
|
|
2588
|
-
* @public
|
|
2589
2588
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2590
2589
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2590
|
+
* @public
|
|
2591
2591
|
*/
|
|
2592
2592
|
registryId?: string;
|
|
2593
2593
|
/**
|
|
2594
|
-
* @public
|
|
2595
2594
|
* <p>The name of the repository.</p>
|
|
2595
|
+
* @public
|
|
2596
2596
|
*/
|
|
2597
2597
|
repositoryName: string | undefined;
|
|
2598
2598
|
}
|
|
@@ -2601,34 +2601,34 @@ export interface GetLifecyclePolicyRequest {
|
|
|
2601
2601
|
*/
|
|
2602
2602
|
export interface GetLifecyclePolicyResponse {
|
|
2603
2603
|
/**
|
|
2604
|
-
* @public
|
|
2605
2604
|
* <p>The registry ID associated with the request.</p>
|
|
2605
|
+
* @public
|
|
2606
2606
|
*/
|
|
2607
2607
|
registryId?: string;
|
|
2608
2608
|
/**
|
|
2609
|
-
* @public
|
|
2610
2609
|
* <p>The repository name associated with the request.</p>
|
|
2610
|
+
* @public
|
|
2611
2611
|
*/
|
|
2612
2612
|
repositoryName?: string;
|
|
2613
2613
|
/**
|
|
2614
|
-
* @public
|
|
2615
2614
|
* <p>The JSON lifecycle policy text.</p>
|
|
2615
|
+
* @public
|
|
2616
2616
|
*/
|
|
2617
2617
|
lifecyclePolicyText?: string;
|
|
2618
2618
|
/**
|
|
2619
|
-
* @public
|
|
2620
2619
|
* <p>The time stamp of the last time that the lifecycle policy was run.</p>
|
|
2620
|
+
* @public
|
|
2621
2621
|
*/
|
|
2622
2622
|
lastEvaluatedAt?: Date;
|
|
2623
2623
|
}
|
|
2624
2624
|
/**
|
|
2625
|
-
* @public
|
|
2626
2625
|
* <p>The filter for the lifecycle policy preview.</p>
|
|
2626
|
+
* @public
|
|
2627
2627
|
*/
|
|
2628
2628
|
export interface LifecyclePolicyPreviewFilter {
|
|
2629
2629
|
/**
|
|
2630
|
-
* @public
|
|
2631
2630
|
* <p>The tag status of the image.</p>
|
|
2631
|
+
* @public
|
|
2632
2632
|
*/
|
|
2633
2633
|
tagStatus?: TagStatus;
|
|
2634
2634
|
}
|
|
@@ -2637,23 +2637,22 @@ export interface LifecyclePolicyPreviewFilter {
|
|
|
2637
2637
|
*/
|
|
2638
2638
|
export interface GetLifecyclePolicyPreviewRequest {
|
|
2639
2639
|
/**
|
|
2640
|
-
* @public
|
|
2641
2640
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2642
2641
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2642
|
+
* @public
|
|
2643
2643
|
*/
|
|
2644
2644
|
registryId?: string;
|
|
2645
2645
|
/**
|
|
2646
|
-
* @public
|
|
2647
2646
|
* <p>The name of the repository.</p>
|
|
2647
|
+
* @public
|
|
2648
2648
|
*/
|
|
2649
2649
|
repositoryName: string | undefined;
|
|
2650
2650
|
/**
|
|
2651
|
-
* @public
|
|
2652
2651
|
* <p>The list of imageIDs to be included.</p>
|
|
2652
|
+
* @public
|
|
2653
2653
|
*/
|
|
2654
2654
|
imageIds?: ImageIdentifier[];
|
|
2655
2655
|
/**
|
|
2656
|
-
* @public
|
|
2657
2656
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2658
2657
|
* <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code>
|
|
2659
2658
|
* was used and the
|
|
@@ -2663,10 +2662,10 @@ export interface GetLifecyclePolicyPreviewRequest {
|
|
|
2663
2662
|
* This value is
|
|
2664
2663
|
<code>null</code> when there are no more results to return. This option
|
|
2665
2664
|
* cannot be used when you specify images with <code>imageIds</code>.</p>
|
|
2665
|
+
* @public
|
|
2666
2666
|
*/
|
|
2667
2667
|
nextToken?: string;
|
|
2668
2668
|
/**
|
|
2669
|
-
* @public
|
|
2670
2669
|
* <p>The maximum number of repository results returned by
|
|
2671
2670
|
* <code>GetLifecyclePolicyPreviewRequest</code> in
|
|
2672
2671
|
paginated output. When this
|
|
@@ -2685,12 +2684,13 @@ export interface GetLifecyclePolicyPreviewRequest {
|
|
|
2685
2684
|
* results and a <code>nextToken</code> value, if
|
|
2686
2685
|
applicable. This option cannot be used
|
|
2687
2686
|
* when you specify images with <code>imageIds</code>.</p>
|
|
2687
|
+
* @public
|
|
2688
2688
|
*/
|
|
2689
2689
|
maxResults?: number;
|
|
2690
2690
|
/**
|
|
2691
|
-
* @public
|
|
2692
2691
|
* <p>An optional parameter that filters results based on image tag status and all tags, if
|
|
2693
2692
|
* tagged.</p>
|
|
2693
|
+
* @public
|
|
2694
2694
|
*/
|
|
2695
2695
|
filter?: LifecyclePolicyPreviewFilter;
|
|
2696
2696
|
}
|
|
@@ -2706,45 +2706,45 @@ export declare const ImageActionType: {
|
|
|
2706
2706
|
*/
|
|
2707
2707
|
export type ImageActionType = (typeof ImageActionType)[keyof typeof ImageActionType];
|
|
2708
2708
|
/**
|
|
2709
|
-
* @public
|
|
2710
2709
|
* <p>The type of action to be taken.</p>
|
|
2710
|
+
* @public
|
|
2711
2711
|
*/
|
|
2712
2712
|
export interface LifecyclePolicyRuleAction {
|
|
2713
2713
|
/**
|
|
2714
|
-
* @public
|
|
2715
2714
|
* <p>The type of action to be taken.</p>
|
|
2715
|
+
* @public
|
|
2716
2716
|
*/
|
|
2717
2717
|
type?: ImageActionType;
|
|
2718
2718
|
}
|
|
2719
2719
|
/**
|
|
2720
|
-
* @public
|
|
2721
2720
|
* <p>The result of the lifecycle policy preview.</p>
|
|
2721
|
+
* @public
|
|
2722
2722
|
*/
|
|
2723
2723
|
export interface LifecyclePolicyPreviewResult {
|
|
2724
2724
|
/**
|
|
2725
|
-
* @public
|
|
2726
2725
|
* <p>The list of tags associated with this image.</p>
|
|
2726
|
+
* @public
|
|
2727
2727
|
*/
|
|
2728
2728
|
imageTags?: string[];
|
|
2729
2729
|
/**
|
|
2730
|
-
* @public
|
|
2731
2730
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
2731
|
+
* @public
|
|
2732
2732
|
*/
|
|
2733
2733
|
imageDigest?: string;
|
|
2734
2734
|
/**
|
|
2735
|
-
* @public
|
|
2736
2735
|
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
2737
2736
|
* image was pushed to the repository.</p>
|
|
2737
|
+
* @public
|
|
2738
2738
|
*/
|
|
2739
2739
|
imagePushedAt?: Date;
|
|
2740
2740
|
/**
|
|
2741
|
-
* @public
|
|
2742
2741
|
* <p>The type of action to be taken.</p>
|
|
2742
|
+
* @public
|
|
2743
2743
|
*/
|
|
2744
2744
|
action?: LifecyclePolicyRuleAction;
|
|
2745
2745
|
/**
|
|
2746
|
-
* @public
|
|
2747
2746
|
* <p>The priority of the applied rule.</p>
|
|
2747
|
+
* @public
|
|
2748
2748
|
*/
|
|
2749
2749
|
appliedRulePriority?: number;
|
|
2750
2750
|
}
|
|
@@ -2763,13 +2763,13 @@ export declare const LifecyclePolicyPreviewStatus: {
|
|
|
2763
2763
|
*/
|
|
2764
2764
|
export type LifecyclePolicyPreviewStatus = (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
|
|
2765
2765
|
/**
|
|
2766
|
-
* @public
|
|
2767
2766
|
* <p>The summary of the lifecycle policy preview request.</p>
|
|
2767
|
+
* @public
|
|
2768
2768
|
*/
|
|
2769
2769
|
export interface LifecyclePolicyPreviewSummary {
|
|
2770
2770
|
/**
|
|
2771
|
-
* @public
|
|
2772
2771
|
* <p>The number of expiring images.</p>
|
|
2772
|
+
* @public
|
|
2773
2773
|
*/
|
|
2774
2774
|
expiringImageTotalCount?: number;
|
|
2775
2775
|
}
|
|
@@ -2778,48 +2778,48 @@ export interface LifecyclePolicyPreviewSummary {
|
|
|
2778
2778
|
*/
|
|
2779
2779
|
export interface GetLifecyclePolicyPreviewResponse {
|
|
2780
2780
|
/**
|
|
2781
|
-
* @public
|
|
2782
2781
|
* <p>The registry ID associated with the request.</p>
|
|
2782
|
+
* @public
|
|
2783
2783
|
*/
|
|
2784
2784
|
registryId?: string;
|
|
2785
2785
|
/**
|
|
2786
|
-
* @public
|
|
2787
2786
|
* <p>The repository name associated with the request.</p>
|
|
2787
|
+
* @public
|
|
2788
2788
|
*/
|
|
2789
2789
|
repositoryName?: string;
|
|
2790
2790
|
/**
|
|
2791
|
-
* @public
|
|
2792
2791
|
* <p>The JSON lifecycle policy text.</p>
|
|
2792
|
+
* @public
|
|
2793
2793
|
*/
|
|
2794
2794
|
lifecyclePolicyText?: string;
|
|
2795
2795
|
/**
|
|
2796
|
-
* @public
|
|
2797
2796
|
* <p>The status of the lifecycle policy preview request.</p>
|
|
2797
|
+
* @public
|
|
2798
2798
|
*/
|
|
2799
2799
|
status?: LifecyclePolicyPreviewStatus;
|
|
2800
2800
|
/**
|
|
2801
|
-
* @public
|
|
2802
2801
|
* <p>The <code>nextToken</code> value to include in a future
|
|
2803
2802
|
* <code>GetLifecyclePolicyPreview</code> request. When the results of a
|
|
2804
2803
|
* <code>GetLifecyclePolicyPreview</code> request exceed <code>maxResults</code>, this
|
|
2805
2804
|
* value can be used to retrieve the next page of results. This value is <code>null</code>
|
|
2806
2805
|
* when there are no more results to return.</p>
|
|
2806
|
+
* @public
|
|
2807
2807
|
*/
|
|
2808
2808
|
nextToken?: string;
|
|
2809
2809
|
/**
|
|
2810
|
-
* @public
|
|
2811
2810
|
* <p>The results of the lifecycle policy preview request.</p>
|
|
2811
|
+
* @public
|
|
2812
2812
|
*/
|
|
2813
2813
|
previewResults?: LifecyclePolicyPreviewResult[];
|
|
2814
2814
|
/**
|
|
2815
|
-
* @public
|
|
2816
2815
|
* <p>The list of images that is returned as a result of the action.</p>
|
|
2816
|
+
* @public
|
|
2817
2817
|
*/
|
|
2818
2818
|
summary?: LifecyclePolicyPreviewSummary;
|
|
2819
2819
|
}
|
|
2820
2820
|
/**
|
|
2821
|
-
* @public
|
|
2822
2821
|
* <p>There is no dry run for this repository.</p>
|
|
2822
|
+
* @public
|
|
2823
2823
|
*/
|
|
2824
2824
|
export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
|
|
2825
2825
|
readonly name: "LifecyclePolicyPreviewNotFoundException";
|
|
@@ -2839,13 +2839,13 @@ export interface GetRegistryPolicyRequest {
|
|
|
2839
2839
|
*/
|
|
2840
2840
|
export interface GetRegistryPolicyResponse {
|
|
2841
2841
|
/**
|
|
2842
|
-
* @public
|
|
2843
2842
|
* <p>The ID of the registry.</p>
|
|
2843
|
+
* @public
|
|
2844
2844
|
*/
|
|
2845
2845
|
registryId?: string;
|
|
2846
2846
|
/**
|
|
2847
|
-
* @public
|
|
2848
2847
|
* <p>The JSON text of the permissions policy for a registry.</p>
|
|
2848
|
+
* @public
|
|
2849
2849
|
*/
|
|
2850
2850
|
policyText?: string;
|
|
2851
2851
|
}
|
|
@@ -2855,24 +2855,24 @@ export interface GetRegistryPolicyResponse {
|
|
|
2855
2855
|
export interface GetRegistryScanningConfigurationRequest {
|
|
2856
2856
|
}
|
|
2857
2857
|
/**
|
|
2858
|
-
* @public
|
|
2859
2858
|
* <p>The details of a scanning rule for a private registry.</p>
|
|
2859
|
+
* @public
|
|
2860
2860
|
*/
|
|
2861
2861
|
export interface RegistryScanningRule {
|
|
2862
2862
|
/**
|
|
2863
|
-
* @public
|
|
2864
2863
|
* <p>The frequency that scans are performed at for a private registry. When the
|
|
2865
2864
|
* <code>ENHANCED</code> scan type is specified, the supported scan frequencies are
|
|
2866
2865
|
* <code>CONTINUOUS_SCAN</code> and <code>SCAN_ON_PUSH</code>. When the
|
|
2867
2866
|
* <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> scan
|
|
2868
2867
|
* frequency is supported. If scan on push is not specified, then the <code>MANUAL</code>
|
|
2869
2868
|
* scan frequency is set by default.</p>
|
|
2869
|
+
* @public
|
|
2870
2870
|
*/
|
|
2871
2871
|
scanFrequency: ScanFrequency | undefined;
|
|
2872
2872
|
/**
|
|
2873
|
-
* @public
|
|
2874
2873
|
* <p>The repository filters associated with the scanning configuration for a private
|
|
2875
2874
|
* registry.</p>
|
|
2875
|
+
* @public
|
|
2876
2876
|
*/
|
|
2877
2877
|
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
2878
2878
|
}
|
|
@@ -2889,18 +2889,18 @@ export declare const ScanType: {
|
|
|
2889
2889
|
*/
|
|
2890
2890
|
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
2891
2891
|
/**
|
|
2892
|
-
* @public
|
|
2893
2892
|
* <p>The scanning configuration for a private registry.</p>
|
|
2893
|
+
* @public
|
|
2894
2894
|
*/
|
|
2895
2895
|
export interface RegistryScanningConfiguration {
|
|
2896
2896
|
/**
|
|
2897
|
-
* @public
|
|
2898
2897
|
* <p>The type of scanning configured for the registry.</p>
|
|
2898
|
+
* @public
|
|
2899
2899
|
*/
|
|
2900
2900
|
scanType?: ScanType;
|
|
2901
2901
|
/**
|
|
2902
|
-
* @public
|
|
2903
2902
|
* <p>The scanning rules associated with the registry.</p>
|
|
2903
|
+
* @public
|
|
2904
2904
|
*/
|
|
2905
2905
|
rules?: RegistryScanningRule[];
|
|
2906
2906
|
}
|
|
@@ -2909,13 +2909,13 @@ export interface RegistryScanningConfiguration {
|
|
|
2909
2909
|
*/
|
|
2910
2910
|
export interface GetRegistryScanningConfigurationResponse {
|
|
2911
2911
|
/**
|
|
2912
|
-
* @public
|
|
2913
2912
|
* <p>The ID of the registry.</p>
|
|
2913
|
+
* @public
|
|
2914
2914
|
*/
|
|
2915
2915
|
registryId?: string;
|
|
2916
2916
|
/**
|
|
2917
|
-
* @public
|
|
2918
2917
|
* <p>The scanning configuration for the registry.</p>
|
|
2918
|
+
* @public
|
|
2919
2919
|
*/
|
|
2920
2920
|
scanningConfiguration?: RegistryScanningConfiguration;
|
|
2921
2921
|
}
|
|
@@ -2924,14 +2924,14 @@ export interface GetRegistryScanningConfigurationResponse {
|
|
|
2924
2924
|
*/
|
|
2925
2925
|
export interface GetRepositoryPolicyRequest {
|
|
2926
2926
|
/**
|
|
2927
|
-
* @public
|
|
2928
2927
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2929
2928
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2929
|
+
* @public
|
|
2930
2930
|
*/
|
|
2931
2931
|
registryId?: string;
|
|
2932
2932
|
/**
|
|
2933
|
-
* @public
|
|
2934
2933
|
* <p>The name of the repository with the policy to retrieve.</p>
|
|
2934
|
+
* @public
|
|
2935
2935
|
*/
|
|
2936
2936
|
repositoryName: string | undefined;
|
|
2937
2937
|
}
|
|
@@ -2940,18 +2940,18 @@ export interface GetRepositoryPolicyRequest {
|
|
|
2940
2940
|
*/
|
|
2941
2941
|
export interface GetRepositoryPolicyResponse {
|
|
2942
2942
|
/**
|
|
2943
|
-
* @public
|
|
2944
2943
|
* <p>The registry ID associated with the request.</p>
|
|
2944
|
+
* @public
|
|
2945
2945
|
*/
|
|
2946
2946
|
registryId?: string;
|
|
2947
2947
|
/**
|
|
2948
|
-
* @public
|
|
2949
2948
|
* <p>The repository name associated with the request.</p>
|
|
2949
|
+
* @public
|
|
2950
2950
|
*/
|
|
2951
2951
|
repositoryName?: string;
|
|
2952
2952
|
/**
|
|
2953
|
-
* @public
|
|
2954
2953
|
* <p>The JSON repository policy text associated with the repository.</p>
|
|
2954
|
+
* @public
|
|
2955
2955
|
*/
|
|
2956
2956
|
policyText?: string;
|
|
2957
2957
|
}
|
|
@@ -2960,14 +2960,14 @@ export interface GetRepositoryPolicyResponse {
|
|
|
2960
2960
|
*/
|
|
2961
2961
|
export interface InitiateLayerUploadRequest {
|
|
2962
2962
|
/**
|
|
2963
|
-
* @public
|
|
2964
2963
|
* <p>The Amazon Web Services account ID associated with the registry to which you intend to upload
|
|
2965
2964
|
* layers. If you do not specify a registry, the default registry is assumed.</p>
|
|
2965
|
+
* @public
|
|
2966
2966
|
*/
|
|
2967
2967
|
registryId?: string;
|
|
2968
2968
|
/**
|
|
2969
|
-
* @public
|
|
2970
2969
|
* <p>The name of the repository to which you intend to upload layers.</p>
|
|
2970
|
+
* @public
|
|
2971
2971
|
*/
|
|
2972
2972
|
repositoryName: string | undefined;
|
|
2973
2973
|
}
|
|
@@ -2976,27 +2976,27 @@ export interface InitiateLayerUploadRequest {
|
|
|
2976
2976
|
*/
|
|
2977
2977
|
export interface InitiateLayerUploadResponse {
|
|
2978
2978
|
/**
|
|
2979
|
-
* @public
|
|
2980
2979
|
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a>
|
|
2981
2980
|
* operations.</p>
|
|
2981
|
+
* @public
|
|
2982
2982
|
*/
|
|
2983
2983
|
uploadId?: string;
|
|
2984
2984
|
/**
|
|
2985
|
-
* @public
|
|
2986
2985
|
* <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
|
|
2986
|
+
* @public
|
|
2987
2987
|
*/
|
|
2988
2988
|
partSize?: number;
|
|
2989
2989
|
}
|
|
2990
2990
|
/**
|
|
2991
|
-
* @public
|
|
2992
2991
|
* <p>An object representing a filter on a <a>ListImages</a> operation.</p>
|
|
2992
|
+
* @public
|
|
2993
2993
|
*/
|
|
2994
2994
|
export interface ListImagesFilter {
|
|
2995
2995
|
/**
|
|
2996
|
-
* @public
|
|
2997
2996
|
* <p>The tag status with which to filter your <a>ListImages</a> results. You can
|
|
2998
2997
|
* filter results based on whether they are <code>TAGGED</code> or
|
|
2999
2998
|
* <code>UNTAGGED</code>.</p>
|
|
2999
|
+
* @public
|
|
3000
3000
|
*/
|
|
3001
3001
|
tagStatus?: TagStatus;
|
|
3002
3002
|
}
|
|
@@ -3005,18 +3005,17 @@ export interface ListImagesFilter {
|
|
|
3005
3005
|
*/
|
|
3006
3006
|
export interface ListImagesRequest {
|
|
3007
3007
|
/**
|
|
3008
|
-
* @public
|
|
3009
3008
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
3010
3009
|
* which to list images. If you do not specify a registry, the default registry is assumed.</p>
|
|
3010
|
+
* @public
|
|
3011
3011
|
*/
|
|
3012
3012
|
registryId?: string;
|
|
3013
3013
|
/**
|
|
3014
|
-
* @public
|
|
3015
3014
|
* <p>The repository with image IDs to be listed.</p>
|
|
3015
|
+
* @public
|
|
3016
3016
|
*/
|
|
3017
3017
|
repositoryName: string | undefined;
|
|
3018
3018
|
/**
|
|
3019
|
-
* @public
|
|
3020
3019
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
3021
3020
|
* <code>ListImages</code> request where <code>maxResults</code> was used and the
|
|
3022
3021
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
@@ -3026,10 +3025,10 @@ export interface ListImagesRequest {
|
|
|
3026
3025
|
* <p>This token should be treated as an opaque identifier that is only used to
|
|
3027
3026
|
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
3028
3027
|
* </note>
|
|
3028
|
+
* @public
|
|
3029
3029
|
*/
|
|
3030
3030
|
nextToken?: string;
|
|
3031
3031
|
/**
|
|
3032
|
-
* @public
|
|
3033
3032
|
* <p>The maximum number of image results returned by <code>ListImages</code> in paginated
|
|
3034
3033
|
* output. When this parameter is used, <code>ListImages</code> only returns
|
|
3035
3034
|
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
@@ -3038,12 +3037,13 @@ export interface ListImagesRequest {
|
|
|
3038
3037
|
* This value can be between 1 and 1000. If this parameter is
|
|
3039
3038
|
* not used, then <code>ListImages</code> returns up to 100 results and a
|
|
3040
3039
|
* <code>nextToken</code> value, if applicable.</p>
|
|
3040
|
+
* @public
|
|
3041
3041
|
*/
|
|
3042
3042
|
maxResults?: number;
|
|
3043
3043
|
/**
|
|
3044
|
-
* @public
|
|
3045
3044
|
* <p>The filter key and value with which to filter your <code>ListImages</code>
|
|
3046
3045
|
* results.</p>
|
|
3046
|
+
* @public
|
|
3047
3047
|
*/
|
|
3048
3048
|
filter?: ListImagesFilter;
|
|
3049
3049
|
}
|
|
@@ -3052,17 +3052,17 @@ export interface ListImagesRequest {
|
|
|
3052
3052
|
*/
|
|
3053
3053
|
export interface ListImagesResponse {
|
|
3054
3054
|
/**
|
|
3055
|
-
* @public
|
|
3056
3055
|
* <p>The list of image IDs for the requested repository.</p>
|
|
3056
|
+
* @public
|
|
3057
3057
|
*/
|
|
3058
3058
|
imageIds?: ImageIdentifier[];
|
|
3059
3059
|
/**
|
|
3060
|
-
* @public
|
|
3061
3060
|
* <p>The <code>nextToken</code> value to include in a future <code>ListImages</code>
|
|
3062
3061
|
* request. When the results of a <code>ListImages</code> request exceed
|
|
3063
3062
|
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
3064
3063
|
* results. This value is <code>null</code> when there are no more results to
|
|
3065
3064
|
* return.</p>
|
|
3065
|
+
* @public
|
|
3066
3066
|
*/
|
|
3067
3067
|
nextToken?: string;
|
|
3068
3068
|
}
|
|
@@ -3071,9 +3071,9 @@ export interface ListImagesResponse {
|
|
|
3071
3071
|
*/
|
|
3072
3072
|
export interface ListTagsForResourceRequest {
|
|
3073
3073
|
/**
|
|
3074
|
-
* @public
|
|
3075
3074
|
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
|
|
3076
3075
|
* only supported resource is an Amazon ECR repository.</p>
|
|
3076
|
+
* @public
|
|
3077
3077
|
*/
|
|
3078
3078
|
resourceArn: string | undefined;
|
|
3079
3079
|
}
|
|
@@ -3082,15 +3082,15 @@ export interface ListTagsForResourceRequest {
|
|
|
3082
3082
|
*/
|
|
3083
3083
|
export interface ListTagsForResourceResponse {
|
|
3084
3084
|
/**
|
|
3085
|
-
* @public
|
|
3086
3085
|
* <p>The tags for the resource.</p>
|
|
3086
|
+
* @public
|
|
3087
3087
|
*/
|
|
3088
3088
|
tags?: Tag[];
|
|
3089
3089
|
}
|
|
3090
3090
|
/**
|
|
3091
|
-
* @public
|
|
3092
3091
|
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
3093
3092
|
* or image tag after the last push.</p>
|
|
3093
|
+
* @public
|
|
3094
3094
|
*/
|
|
3095
3095
|
export declare class ImageAlreadyExistsException extends __BaseException {
|
|
3096
3096
|
readonly name: "ImageAlreadyExistsException";
|
|
@@ -3101,9 +3101,9 @@ export declare class ImageAlreadyExistsException extends __BaseException {
|
|
|
3101
3101
|
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
3102
3102
|
}
|
|
3103
3103
|
/**
|
|
3104
|
-
* @public
|
|
3105
3104
|
* <p>The specified image digest does not match the digest that Amazon ECR calculated for the
|
|
3106
3105
|
* image.</p>
|
|
3106
|
+
* @public
|
|
3107
3107
|
*/
|
|
3108
3108
|
export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
3109
3109
|
readonly name: "ImageDigestDoesNotMatchException";
|
|
@@ -3114,9 +3114,9 @@ export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
|
3114
3114
|
constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
|
|
3115
3115
|
}
|
|
3116
3116
|
/**
|
|
3117
|
-
* @public
|
|
3118
3117
|
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
3119
3118
|
* configured for tag immutability.</p>
|
|
3119
|
+
* @public
|
|
3120
3120
|
*/
|
|
3121
3121
|
export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
3122
3122
|
readonly name: "ImageTagAlreadyExistsException";
|
|
@@ -3131,37 +3131,37 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
|
3131
3131
|
*/
|
|
3132
3132
|
export interface PutImageRequest {
|
|
3133
3133
|
/**
|
|
3134
|
-
* @public
|
|
3135
3134
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
3136
3135
|
* which to put the image. If you do not specify a registry, the default registry is assumed.</p>
|
|
3136
|
+
* @public
|
|
3137
3137
|
*/
|
|
3138
3138
|
registryId?: string;
|
|
3139
3139
|
/**
|
|
3140
|
-
* @public
|
|
3141
3140
|
* <p>The name of the repository in which to put the image.</p>
|
|
3141
|
+
* @public
|
|
3142
3142
|
*/
|
|
3143
3143
|
repositoryName: string | undefined;
|
|
3144
3144
|
/**
|
|
3145
|
-
* @public
|
|
3146
3145
|
* <p>The image manifest corresponding to the image to be uploaded.</p>
|
|
3146
|
+
* @public
|
|
3147
3147
|
*/
|
|
3148
3148
|
imageManifest: string | undefined;
|
|
3149
3149
|
/**
|
|
3150
|
-
* @public
|
|
3151
3150
|
* <p>The media type of the image manifest. If you push an image manifest that does not
|
|
3152
3151
|
* contain the <code>mediaType</code> field, you must specify the
|
|
3153
3152
|
* <code>imageManifestMediaType</code> in the request.</p>
|
|
3153
|
+
* @public
|
|
3154
3154
|
*/
|
|
3155
3155
|
imageManifestMediaType?: string;
|
|
3156
3156
|
/**
|
|
3157
|
-
* @public
|
|
3158
3157
|
* <p>The tag to associate with the image. This parameter is required for images that use
|
|
3159
3158
|
* the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
|
|
3159
|
+
* @public
|
|
3160
3160
|
*/
|
|
3161
3161
|
imageTag?: string;
|
|
3162
3162
|
/**
|
|
3163
|
-
* @public
|
|
3164
3163
|
* <p>The image digest of the image manifest corresponding to the image.</p>
|
|
3164
|
+
* @public
|
|
3165
3165
|
*/
|
|
3166
3166
|
imageDigest?: string;
|
|
3167
3167
|
}
|
|
@@ -3170,14 +3170,14 @@ export interface PutImageRequest {
|
|
|
3170
3170
|
*/
|
|
3171
3171
|
export interface PutImageResponse {
|
|
3172
3172
|
/**
|
|
3173
|
-
* @public
|
|
3174
3173
|
* <p>Details of the image uploaded.</p>
|
|
3174
|
+
* @public
|
|
3175
3175
|
*/
|
|
3176
3176
|
image?: Image;
|
|
3177
3177
|
}
|
|
3178
3178
|
/**
|
|
3179
|
-
* @public
|
|
3180
3179
|
* <p>The manifest list is referencing an image that does not exist.</p>
|
|
3180
|
+
* @public
|
|
3181
3181
|
*/
|
|
3182
3182
|
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
3183
3183
|
readonly name: "ReferencedImagesNotFoundException";
|
|
@@ -3192,23 +3192,23 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
|
3192
3192
|
*/
|
|
3193
3193
|
export interface PutImageScanningConfigurationRequest {
|
|
3194
3194
|
/**
|
|
3195
|
-
* @public
|
|
3196
3195
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
3197
3196
|
* which to update the image scanning configuration setting.
|
|
3198
3197
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
3198
|
+
* @public
|
|
3199
3199
|
*/
|
|
3200
3200
|
registryId?: string;
|
|
3201
3201
|
/**
|
|
3202
|
-
* @public
|
|
3203
3202
|
* <p>The name of the repository in which to update the image scanning configuration
|
|
3204
3203
|
* setting.</p>
|
|
3204
|
+
* @public
|
|
3205
3205
|
*/
|
|
3206
3206
|
repositoryName: string | undefined;
|
|
3207
3207
|
/**
|
|
3208
|
-
* @public
|
|
3209
3208
|
* <p>The image scanning configuration for the repository. This setting determines whether
|
|
3210
3209
|
* images are scanned for known vulnerabilities after being pushed to the
|
|
3211
3210
|
* repository.</p>
|
|
3211
|
+
* @public
|
|
3212
3212
|
*/
|
|
3213
3213
|
imageScanningConfiguration: ImageScanningConfiguration | undefined;
|
|
3214
3214
|
}
|
|
@@ -3217,18 +3217,18 @@ export interface PutImageScanningConfigurationRequest {
|
|
|
3217
3217
|
*/
|
|
3218
3218
|
export interface PutImageScanningConfigurationResponse {
|
|
3219
3219
|
/**
|
|
3220
|
-
* @public
|
|
3221
3220
|
* <p>The registry ID associated with the request.</p>
|
|
3221
|
+
* @public
|
|
3222
3222
|
*/
|
|
3223
3223
|
registryId?: string;
|
|
3224
3224
|
/**
|
|
3225
|
-
* @public
|
|
3226
3225
|
* <p>The repository name associated with the request.</p>
|
|
3226
|
+
* @public
|
|
3227
3227
|
*/
|
|
3228
3228
|
repositoryName?: string;
|
|
3229
3229
|
/**
|
|
3230
|
-
* @public
|
|
3231
3230
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
3231
|
+
* @public
|
|
3232
3232
|
*/
|
|
3233
3233
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
3234
3234
|
}
|
|
@@ -3237,23 +3237,23 @@ export interface PutImageScanningConfigurationResponse {
|
|
|
3237
3237
|
*/
|
|
3238
3238
|
export interface PutImageTagMutabilityRequest {
|
|
3239
3239
|
/**
|
|
3240
|
-
* @public
|
|
3241
3240
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
3242
3241
|
* which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.</p>
|
|
3242
|
+
* @public
|
|
3243
3243
|
*/
|
|
3244
3244
|
registryId?: string;
|
|
3245
3245
|
/**
|
|
3246
|
-
* @public
|
|
3247
3246
|
* <p>The name of the repository in which to update the image tag mutability
|
|
3248
3247
|
* settings.</p>
|
|
3248
|
+
* @public
|
|
3249
3249
|
*/
|
|
3250
3250
|
repositoryName: string | undefined;
|
|
3251
3251
|
/**
|
|
3252
|
-
* @public
|
|
3253
3252
|
* <p>The tag mutability setting for the repository. If <code>MUTABLE</code> is specified,
|
|
3254
3253
|
* image tags can be overwritten. If <code>IMMUTABLE</code> is specified, all image tags
|
|
3255
3254
|
* within the repository will be immutable which will prevent them from being
|
|
3256
3255
|
* overwritten.</p>
|
|
3256
|
+
* @public
|
|
3257
3257
|
*/
|
|
3258
3258
|
imageTagMutability: ImageTagMutability | undefined;
|
|
3259
3259
|
}
|
|
@@ -3262,18 +3262,18 @@ export interface PutImageTagMutabilityRequest {
|
|
|
3262
3262
|
*/
|
|
3263
3263
|
export interface PutImageTagMutabilityResponse {
|
|
3264
3264
|
/**
|
|
3265
|
-
* @public
|
|
3266
3265
|
* <p>The registry ID associated with the request.</p>
|
|
3266
|
+
* @public
|
|
3267
3267
|
*/
|
|
3268
3268
|
registryId?: string;
|
|
3269
3269
|
/**
|
|
3270
|
-
* @public
|
|
3271
3270
|
* <p>The repository name associated with the request.</p>
|
|
3271
|
+
* @public
|
|
3272
3272
|
*/
|
|
3273
3273
|
repositoryName?: string;
|
|
3274
3274
|
/**
|
|
3275
|
-
* @public
|
|
3276
3275
|
* <p>The image tag mutability setting for the repository.</p>
|
|
3276
|
+
* @public
|
|
3277
3277
|
*/
|
|
3278
3278
|
imageTagMutability?: ImageTagMutability;
|
|
3279
3279
|
}
|
|
@@ -3282,20 +3282,20 @@ export interface PutImageTagMutabilityResponse {
|
|
|
3282
3282
|
*/
|
|
3283
3283
|
export interface PutLifecyclePolicyRequest {
|
|
3284
3284
|
/**
|
|
3285
|
-
* @public
|
|
3286
3285
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you
|
|
3287
3286
|
* do
|
|
3288
3287
|
not specify a registry, the default registry is assumed.</p>
|
|
3288
|
+
* @public
|
|
3289
3289
|
*/
|
|
3290
3290
|
registryId?: string;
|
|
3291
3291
|
/**
|
|
3292
|
-
* @public
|
|
3293
3292
|
* <p>The name of the repository to receive the policy.</p>
|
|
3293
|
+
* @public
|
|
3294
3294
|
*/
|
|
3295
3295
|
repositoryName: string | undefined;
|
|
3296
3296
|
/**
|
|
3297
|
-
* @public
|
|
3298
3297
|
* <p>The JSON repository policy text to apply to the repository.</p>
|
|
3298
|
+
* @public
|
|
3299
3299
|
*/
|
|
3300
3300
|
lifecyclePolicyText: string | undefined;
|
|
3301
3301
|
}
|
|
@@ -3304,18 +3304,18 @@ export interface PutLifecyclePolicyRequest {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
export interface PutLifecyclePolicyResponse {
|
|
3306
3306
|
/**
|
|
3307
|
-
* @public
|
|
3308
3307
|
* <p>The registry ID associated with the request.</p>
|
|
3308
|
+
* @public
|
|
3309
3309
|
*/
|
|
3310
3310
|
registryId?: string;
|
|
3311
3311
|
/**
|
|
3312
|
-
* @public
|
|
3313
3312
|
* <p>The repository name associated with the request.</p>
|
|
3313
|
+
* @public
|
|
3314
3314
|
*/
|
|
3315
3315
|
repositoryName?: string;
|
|
3316
3316
|
/**
|
|
3317
|
-
* @public
|
|
3318
3317
|
* <p>The JSON repository policy text.</p>
|
|
3318
|
+
* @public
|
|
3319
3319
|
*/
|
|
3320
3320
|
lifecyclePolicyText?: string;
|
|
3321
3321
|
}
|
|
@@ -3324,10 +3324,10 @@ export interface PutLifecyclePolicyResponse {
|
|
|
3324
3324
|
*/
|
|
3325
3325
|
export interface PutRegistryPolicyRequest {
|
|
3326
3326
|
/**
|
|
3327
|
-
* @public
|
|
3328
3327
|
* <p>The JSON policy text to apply to your registry. The policy text follows the same
|
|
3329
3328
|
* format as IAM policy text. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry
|
|
3330
3329
|
* permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
3330
|
+
* @public
|
|
3331
3331
|
*/
|
|
3332
3332
|
policyText: string | undefined;
|
|
3333
3333
|
}
|
|
@@ -3336,13 +3336,13 @@ export interface PutRegistryPolicyRequest {
|
|
|
3336
3336
|
*/
|
|
3337
3337
|
export interface PutRegistryPolicyResponse {
|
|
3338
3338
|
/**
|
|
3339
|
-
* @public
|
|
3340
3339
|
* <p>The registry ID.</p>
|
|
3340
|
+
* @public
|
|
3341
3341
|
*/
|
|
3342
3342
|
registryId?: string;
|
|
3343
3343
|
/**
|
|
3344
|
-
* @public
|
|
3345
3344
|
* <p>The JSON policy text for your registry.</p>
|
|
3345
|
+
* @public
|
|
3346
3346
|
*/
|
|
3347
3347
|
policyText?: string;
|
|
3348
3348
|
}
|
|
@@ -3351,7 +3351,6 @@ export interface PutRegistryPolicyResponse {
|
|
|
3351
3351
|
*/
|
|
3352
3352
|
export interface PutRegistryScanningConfigurationRequest {
|
|
3353
3353
|
/**
|
|
3354
|
-
* @public
|
|
3355
3354
|
* <p>The scanning type to set for the registry.</p>
|
|
3356
3355
|
* <p>When a registry scanning configuration is not defined, by default the
|
|
3357
3356
|
* <code>BASIC</code> scan type is used. When basic scanning is used, you may specify
|
|
@@ -3362,12 +3361,13 @@ export interface PutRegistryScanningConfigurationRequest {
|
|
|
3362
3361
|
* vulnerability scanning. You may choose between continuous scanning or scan on push and
|
|
3363
3362
|
* you may specify filters to determine which individual repositories, or all repositories,
|
|
3364
3363
|
* are scanned.</p>
|
|
3364
|
+
* @public
|
|
3365
3365
|
*/
|
|
3366
3366
|
scanType?: ScanType;
|
|
3367
3367
|
/**
|
|
3368
|
-
* @public
|
|
3369
3368
|
* <p>The scanning rules to use for the registry. A scanning rule is used to determine which
|
|
3370
3369
|
* repository filters are used and at what frequency scanning will occur.</p>
|
|
3370
|
+
* @public
|
|
3371
3371
|
*/
|
|
3372
3372
|
rules?: RegistryScanningRule[];
|
|
3373
3373
|
}
|
|
@@ -3376,8 +3376,8 @@ export interface PutRegistryScanningConfigurationRequest {
|
|
|
3376
3376
|
*/
|
|
3377
3377
|
export interface PutRegistryScanningConfigurationResponse {
|
|
3378
3378
|
/**
|
|
3379
|
-
* @public
|
|
3380
3379
|
* <p>The scanning configuration for your registry.</p>
|
|
3380
|
+
* @public
|
|
3381
3381
|
*/
|
|
3382
3382
|
registryScanningConfiguration?: RegistryScanningConfiguration;
|
|
3383
3383
|
}
|
|
@@ -3386,8 +3386,8 @@ export interface PutRegistryScanningConfigurationResponse {
|
|
|
3386
3386
|
*/
|
|
3387
3387
|
export interface PutReplicationConfigurationRequest {
|
|
3388
3388
|
/**
|
|
3389
|
-
* @public
|
|
3390
3389
|
* <p>An object representing the replication configuration for a registry.</p>
|
|
3390
|
+
* @public
|
|
3391
3391
|
*/
|
|
3392
3392
|
replicationConfiguration: ReplicationConfiguration | undefined;
|
|
3393
3393
|
}
|
|
@@ -3396,8 +3396,8 @@ export interface PutReplicationConfigurationRequest {
|
|
|
3396
3396
|
*/
|
|
3397
3397
|
export interface PutReplicationConfigurationResponse {
|
|
3398
3398
|
/**
|
|
3399
|
-
* @public
|
|
3400
3399
|
* <p>The contents of the replication configuration for the registry.</p>
|
|
3400
|
+
* @public
|
|
3401
3401
|
*/
|
|
3402
3402
|
replicationConfiguration?: ReplicationConfiguration;
|
|
3403
3403
|
}
|
|
@@ -3406,28 +3406,28 @@ export interface PutReplicationConfigurationResponse {
|
|
|
3406
3406
|
*/
|
|
3407
3407
|
export interface SetRepositoryPolicyRequest {
|
|
3408
3408
|
/**
|
|
3409
|
-
* @public
|
|
3410
3409
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
3411
3410
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
3411
|
+
* @public
|
|
3412
3412
|
*/
|
|
3413
3413
|
registryId?: string;
|
|
3414
3414
|
/**
|
|
3415
|
-
* @public
|
|
3416
3415
|
* <p>The name of the repository to receive the policy.</p>
|
|
3416
|
+
* @public
|
|
3417
3417
|
*/
|
|
3418
3418
|
repositoryName: string | undefined;
|
|
3419
3419
|
/**
|
|
3420
|
-
* @public
|
|
3421
3420
|
* <p>The JSON repository policy text to apply to the repository. For more information, see
|
|
3422
3421
|
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR repository
|
|
3423
3422
|
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
3423
|
+
* @public
|
|
3424
3424
|
*/
|
|
3425
3425
|
policyText: string | undefined;
|
|
3426
3426
|
/**
|
|
3427
|
-
* @public
|
|
3428
3427
|
* <p>If the policy you are attempting to set on a repository policy would prevent you from
|
|
3429
3428
|
* setting another policy in the future, you must force the <a>SetRepositoryPolicy</a> operation. This is intended to prevent accidental
|
|
3430
3429
|
* repository lock outs.</p>
|
|
3430
|
+
* @public
|
|
3431
3431
|
*/
|
|
3432
3432
|
force?: boolean;
|
|
3433
3433
|
}
|
|
@@ -3436,18 +3436,18 @@ export interface SetRepositoryPolicyRequest {
|
|
|
3436
3436
|
*/
|
|
3437
3437
|
export interface SetRepositoryPolicyResponse {
|
|
3438
3438
|
/**
|
|
3439
|
-
* @public
|
|
3440
3439
|
* <p>The registry ID associated with the request.</p>
|
|
3440
|
+
* @public
|
|
3441
3441
|
*/
|
|
3442
3442
|
registryId?: string;
|
|
3443
3443
|
/**
|
|
3444
|
-
* @public
|
|
3445
3444
|
* <p>The repository name associated with the request.</p>
|
|
3445
|
+
* @public
|
|
3446
3446
|
*/
|
|
3447
3447
|
repositoryName?: string;
|
|
3448
3448
|
/**
|
|
3449
|
-
* @public
|
|
3450
3449
|
* <p>The JSON repository policy text applied to the repository.</p>
|
|
3450
|
+
* @public
|
|
3451
3451
|
*/
|
|
3452
3452
|
policyText?: string;
|
|
3453
3453
|
}
|
|
@@ -3456,19 +3456,19 @@ export interface SetRepositoryPolicyResponse {
|
|
|
3456
3456
|
*/
|
|
3457
3457
|
export interface StartImageScanRequest {
|
|
3458
3458
|
/**
|
|
3459
|
-
* @public
|
|
3460
3459
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
3461
3460
|
* which to start an image scan request. If you do not specify a registry, the default registry is assumed.</p>
|
|
3461
|
+
* @public
|
|
3462
3462
|
*/
|
|
3463
3463
|
registryId?: string;
|
|
3464
3464
|
/**
|
|
3465
|
-
* @public
|
|
3466
3465
|
* <p>The name of the repository that contains the images to scan.</p>
|
|
3466
|
+
* @public
|
|
3467
3467
|
*/
|
|
3468
3468
|
repositoryName: string | undefined;
|
|
3469
3469
|
/**
|
|
3470
|
-
* @public
|
|
3471
3470
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
3471
|
+
* @public
|
|
3472
3472
|
*/
|
|
3473
3473
|
imageId: ImageIdentifier | undefined;
|
|
3474
3474
|
}
|
|
@@ -3477,29 +3477,29 @@ export interface StartImageScanRequest {
|
|
|
3477
3477
|
*/
|
|
3478
3478
|
export interface StartImageScanResponse {
|
|
3479
3479
|
/**
|
|
3480
|
-
* @public
|
|
3481
3480
|
* <p>The registry ID associated with the request.</p>
|
|
3481
|
+
* @public
|
|
3482
3482
|
*/
|
|
3483
3483
|
registryId?: string;
|
|
3484
3484
|
/**
|
|
3485
|
-
* @public
|
|
3486
3485
|
* <p>The repository name associated with the request.</p>
|
|
3486
|
+
* @public
|
|
3487
3487
|
*/
|
|
3488
3488
|
repositoryName?: string;
|
|
3489
3489
|
/**
|
|
3490
|
-
* @public
|
|
3491
3490
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
3491
|
+
* @public
|
|
3492
3492
|
*/
|
|
3493
3493
|
imageId?: ImageIdentifier;
|
|
3494
3494
|
/**
|
|
3495
|
-
* @public
|
|
3496
3495
|
* <p>The current state of the scan.</p>
|
|
3496
|
+
* @public
|
|
3497
3497
|
*/
|
|
3498
3498
|
imageScanStatus?: ImageScanStatus;
|
|
3499
3499
|
}
|
|
3500
3500
|
/**
|
|
3501
|
-
* @public
|
|
3502
3501
|
* <p>The image is of a type that cannot be scanned.</p>
|
|
3502
|
+
* @public
|
|
3503
3503
|
*/
|
|
3504
3504
|
export declare class UnsupportedImageTypeException extends __BaseException {
|
|
3505
3505
|
readonly name: "UnsupportedImageTypeException";
|
|
@@ -3510,9 +3510,9 @@ export declare class UnsupportedImageTypeException extends __BaseException {
|
|
|
3510
3510
|
constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
|
|
3511
3511
|
}
|
|
3512
3512
|
/**
|
|
3513
|
-
* @public
|
|
3514
3513
|
* <p>The previous lifecycle policy preview request has not completed. Wait and try
|
|
3515
3514
|
* again.</p>
|
|
3515
|
+
* @public
|
|
3516
3516
|
*/
|
|
3517
3517
|
export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
|
|
3518
3518
|
readonly name: "LifecyclePolicyPreviewInProgressException";
|
|
@@ -3527,20 +3527,20 @@ export declare class LifecyclePolicyPreviewInProgressException extends __BaseExc
|
|
|
3527
3527
|
*/
|
|
3528
3528
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
3529
3529
|
/**
|
|
3530
|
-
* @public
|
|
3531
3530
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
3532
3531
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
3532
|
+
* @public
|
|
3533
3533
|
*/
|
|
3534
3534
|
registryId?: string;
|
|
3535
3535
|
/**
|
|
3536
|
-
* @public
|
|
3537
3536
|
* <p>The name of the repository to be evaluated.</p>
|
|
3537
|
+
* @public
|
|
3538
3538
|
*/
|
|
3539
3539
|
repositoryName: string | undefined;
|
|
3540
3540
|
/**
|
|
3541
|
-
* @public
|
|
3542
3541
|
* <p>The policy to be evaluated against. If you do not specify a policy, the current policy
|
|
3543
3542
|
* for the repository is used.</p>
|
|
3543
|
+
* @public
|
|
3544
3544
|
*/
|
|
3545
3545
|
lifecyclePolicyText?: string;
|
|
3546
3546
|
}
|
|
@@ -3549,23 +3549,23 @@ export interface StartLifecyclePolicyPreviewRequest {
|
|
|
3549
3549
|
*/
|
|
3550
3550
|
export interface StartLifecyclePolicyPreviewResponse {
|
|
3551
3551
|
/**
|
|
3552
|
-
* @public
|
|
3553
3552
|
* <p>The registry ID associated with the request.</p>
|
|
3553
|
+
* @public
|
|
3554
3554
|
*/
|
|
3555
3555
|
registryId?: string;
|
|
3556
3556
|
/**
|
|
3557
|
-
* @public
|
|
3558
3557
|
* <p>The repository name associated with the request.</p>
|
|
3558
|
+
* @public
|
|
3559
3559
|
*/
|
|
3560
3560
|
repositoryName?: string;
|
|
3561
3561
|
/**
|
|
3562
|
-
* @public
|
|
3563
3562
|
* <p>The JSON repository policy text.</p>
|
|
3563
|
+
* @public
|
|
3564
3564
|
*/
|
|
3565
3565
|
lifecyclePolicyText?: string;
|
|
3566
3566
|
/**
|
|
3567
|
-
* @public
|
|
3568
3567
|
* <p>The status of the lifecycle policy preview request.</p>
|
|
3568
|
+
* @public
|
|
3569
3569
|
*/
|
|
3570
3570
|
status?: LifecyclePolicyPreviewStatus;
|
|
3571
3571
|
}
|
|
@@ -3574,16 +3574,16 @@ export interface StartLifecyclePolicyPreviewResponse {
|
|
|
3574
3574
|
*/
|
|
3575
3575
|
export interface TagResourceRequest {
|
|
3576
3576
|
/**
|
|
3577
|
-
* @public
|
|
3578
3577
|
* <p>The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported
|
|
3579
3578
|
* resource is an Amazon ECR repository.</p>
|
|
3579
|
+
* @public
|
|
3580
3580
|
*/
|
|
3581
3581
|
resourceArn: string | undefined;
|
|
3582
3582
|
/**
|
|
3583
|
-
* @public
|
|
3584
3583
|
* <p>The tags to add to the resource. A tag is an array of key-value pairs.
|
|
3585
3584
|
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
3586
3585
|
* a maximum length of 256 characters.</p>
|
|
3586
|
+
* @public
|
|
3587
3587
|
*/
|
|
3588
3588
|
tags: Tag[] | undefined;
|
|
3589
3589
|
}
|
|
@@ -3597,14 +3597,14 @@ export interface TagResourceResponse {
|
|
|
3597
3597
|
*/
|
|
3598
3598
|
export interface UntagResourceRequest {
|
|
3599
3599
|
/**
|
|
3600
|
-
* @public
|
|
3601
3600
|
* <p>The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported
|
|
3602
3601
|
* resource is an Amazon ECR repository.</p>
|
|
3602
|
+
* @public
|
|
3603
3603
|
*/
|
|
3604
3604
|
resourceArn: string | undefined;
|
|
3605
3605
|
/**
|
|
3606
|
-
* @public
|
|
3607
3606
|
* <p>The keys of the tags to be removed.</p>
|
|
3607
|
+
* @public
|
|
3608
3608
|
*/
|
|
3609
3609
|
tagKeys: string[] | undefined;
|
|
3610
3610
|
}
|
|
@@ -3618,20 +3618,20 @@ export interface UntagResourceResponse {
|
|
|
3618
3618
|
*/
|
|
3619
3619
|
export interface UpdatePullThroughCacheRuleRequest {
|
|
3620
3620
|
/**
|
|
3621
|
-
* @public
|
|
3622
3621
|
* <p>The Amazon Web Services account ID associated with the registry associated with the pull through
|
|
3623
3622
|
* cache rule. If you do not specify a registry, the default registry is assumed.</p>
|
|
3623
|
+
* @public
|
|
3624
3624
|
*/
|
|
3625
3625
|
registryId?: string;
|
|
3626
3626
|
/**
|
|
3627
|
-
* @public
|
|
3628
3627
|
* <p>The repository name prefix to use when caching images from the source registry.</p>
|
|
3628
|
+
* @public
|
|
3629
3629
|
*/
|
|
3630
3630
|
ecrRepositoryPrefix: string | undefined;
|
|
3631
3631
|
/**
|
|
3632
|
-
* @public
|
|
3633
3632
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate
|
|
3634
3633
|
* to the upstream registry.</p>
|
|
3634
|
+
* @public
|
|
3635
3635
|
*/
|
|
3636
3636
|
credentialArn: string | undefined;
|
|
3637
3637
|
}
|
|
@@ -3640,55 +3640,55 @@ export interface UpdatePullThroughCacheRuleRequest {
|
|
|
3640
3640
|
*/
|
|
3641
3641
|
export interface UpdatePullThroughCacheRuleResponse {
|
|
3642
3642
|
/**
|
|
3643
|
-
* @public
|
|
3644
3643
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
3644
|
+
* @public
|
|
3645
3645
|
*/
|
|
3646
3646
|
ecrRepositoryPrefix?: string;
|
|
3647
3647
|
/**
|
|
3648
|
-
* @public
|
|
3649
3648
|
* <p>The registry ID associated with the request.</p>
|
|
3649
|
+
* @public
|
|
3650
3650
|
*/
|
|
3651
3651
|
registryId?: string;
|
|
3652
3652
|
/**
|
|
3653
|
-
* @public
|
|
3654
3653
|
* <p>The date and time, in JavaScript date format, when the pull through cache rule was
|
|
3655
3654
|
* updated.</p>
|
|
3655
|
+
* @public
|
|
3656
3656
|
*/
|
|
3657
3657
|
updatedAt?: Date;
|
|
3658
3658
|
/**
|
|
3659
|
-
* @public
|
|
3660
3659
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache
|
|
3661
3660
|
* rule.</p>
|
|
3661
|
+
* @public
|
|
3662
3662
|
*/
|
|
3663
3663
|
credentialArn?: string;
|
|
3664
3664
|
}
|
|
3665
3665
|
/**
|
|
3666
|
-
* @public
|
|
3667
3666
|
* <p>The layer part size is not valid, or the first byte specified is not consecutive to
|
|
3668
3667
|
* the last byte of a previous layer part upload.</p>
|
|
3668
|
+
* @public
|
|
3669
3669
|
*/
|
|
3670
3670
|
export declare class InvalidLayerPartException extends __BaseException {
|
|
3671
3671
|
readonly name: "InvalidLayerPartException";
|
|
3672
3672
|
readonly $fault: "client";
|
|
3673
3673
|
/**
|
|
3674
|
-
* @public
|
|
3675
3674
|
* <p>The registry ID associated with the exception.</p>
|
|
3675
|
+
* @public
|
|
3676
3676
|
*/
|
|
3677
3677
|
registryId?: string;
|
|
3678
3678
|
/**
|
|
3679
|
-
* @public
|
|
3680
3679
|
* <p>The repository name associated with the exception.</p>
|
|
3680
|
+
* @public
|
|
3681
3681
|
*/
|
|
3682
3682
|
repositoryName?: string;
|
|
3683
3683
|
/**
|
|
3684
|
-
* @public
|
|
3685
3684
|
* <p>The upload ID associated with the exception.</p>
|
|
3685
|
+
* @public
|
|
3686
3686
|
*/
|
|
3687
3687
|
uploadId?: string;
|
|
3688
3688
|
/**
|
|
3689
|
-
* @public
|
|
3690
3689
|
* <p>The last valid byte received from the layer part upload that is associated with the
|
|
3691
3690
|
* exception.</p>
|
|
3691
|
+
* @public
|
|
3692
3692
|
*/
|
|
3693
3693
|
lastValidByteReceived?: number;
|
|
3694
3694
|
/**
|
|
@@ -3701,35 +3701,35 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
3701
3701
|
*/
|
|
3702
3702
|
export interface UploadLayerPartRequest {
|
|
3703
3703
|
/**
|
|
3704
|
-
* @public
|
|
3705
3704
|
* <p>The Amazon Web Services account ID associated with the registry to which you are uploading layer
|
|
3706
3705
|
* parts. If you do not specify a registry, the default registry is assumed.</p>
|
|
3706
|
+
* @public
|
|
3707
3707
|
*/
|
|
3708
3708
|
registryId?: string;
|
|
3709
3709
|
/**
|
|
3710
|
-
* @public
|
|
3711
3710
|
* <p>The name of the repository to which you are uploading layer parts.</p>
|
|
3711
|
+
* @public
|
|
3712
3712
|
*/
|
|
3713
3713
|
repositoryName: string | undefined;
|
|
3714
3714
|
/**
|
|
3715
|
-
* @public
|
|
3716
3715
|
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
3717
3716
|
* associate with the layer part upload.</p>
|
|
3717
|
+
* @public
|
|
3718
3718
|
*/
|
|
3719
3719
|
uploadId: string | undefined;
|
|
3720
3720
|
/**
|
|
3721
|
-
* @public
|
|
3722
3721
|
* <p>The position of the first byte of the layer part witin the overall image layer.</p>
|
|
3722
|
+
* @public
|
|
3723
3723
|
*/
|
|
3724
3724
|
partFirstByte: number | undefined;
|
|
3725
3725
|
/**
|
|
3726
|
-
* @public
|
|
3727
3726
|
* <p>The position of the last byte of the layer part within the overall image layer.</p>
|
|
3727
|
+
* @public
|
|
3728
3728
|
*/
|
|
3729
3729
|
partLastByte: number | undefined;
|
|
3730
3730
|
/**
|
|
3731
|
-
* @public
|
|
3732
3731
|
* <p>The base64-encoded layer part payload.</p>
|
|
3732
|
+
* @public
|
|
3733
3733
|
*/
|
|
3734
3734
|
layerPartBlob: Uint8Array | undefined;
|
|
3735
3735
|
}
|
|
@@ -3738,23 +3738,23 @@ export interface UploadLayerPartRequest {
|
|
|
3738
3738
|
*/
|
|
3739
3739
|
export interface UploadLayerPartResponse {
|
|
3740
3740
|
/**
|
|
3741
|
-
* @public
|
|
3742
3741
|
* <p>The registry ID associated with the request.</p>
|
|
3742
|
+
* @public
|
|
3743
3743
|
*/
|
|
3744
3744
|
registryId?: string;
|
|
3745
3745
|
/**
|
|
3746
|
-
* @public
|
|
3747
3746
|
* <p>The repository name associated with the request.</p>
|
|
3747
|
+
* @public
|
|
3748
3748
|
*/
|
|
3749
3749
|
repositoryName?: string;
|
|
3750
3750
|
/**
|
|
3751
|
-
* @public
|
|
3752
3751
|
* <p>The upload ID associated with the request.</p>
|
|
3752
|
+
* @public
|
|
3753
3753
|
*/
|
|
3754
3754
|
uploadId?: string;
|
|
3755
3755
|
/**
|
|
3756
|
-
* @public
|
|
3757
3756
|
* <p>The integer value of the last byte received in the request.</p>
|
|
3757
|
+
* @public
|
|
3758
3758
|
*/
|
|
3759
3759
|
lastByteReceived?: number;
|
|
3760
3760
|
}
|
|
@@ -3763,14 +3763,14 @@ export interface UploadLayerPartResponse {
|
|
|
3763
3763
|
*/
|
|
3764
3764
|
export interface ValidatePullThroughCacheRuleRequest {
|
|
3765
3765
|
/**
|
|
3766
|
-
* @public
|
|
3767
3766
|
* <p>The repository name prefix associated with the pull through cache rule.</p>
|
|
3767
|
+
* @public
|
|
3768
3768
|
*/
|
|
3769
3769
|
ecrRepositoryPrefix: string | undefined;
|
|
3770
3770
|
/**
|
|
3771
|
-
* @public
|
|
3772
3771
|
* <p>The registry ID associated with the pull through cache rule.
|
|
3773
3772
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
3773
|
+
* @public
|
|
3774
3774
|
*/
|
|
3775
3775
|
registryId?: string;
|
|
3776
3776
|
}
|
|
@@ -3779,39 +3779,39 @@ export interface ValidatePullThroughCacheRuleRequest {
|
|
|
3779
3779
|
*/
|
|
3780
3780
|
export interface ValidatePullThroughCacheRuleResponse {
|
|
3781
3781
|
/**
|
|
3782
|
-
* @public
|
|
3783
3782
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
3783
|
+
* @public
|
|
3784
3784
|
*/
|
|
3785
3785
|
ecrRepositoryPrefix?: string;
|
|
3786
3786
|
/**
|
|
3787
|
-
* @public
|
|
3788
3787
|
* <p>The registry ID associated with the request.</p>
|
|
3788
|
+
* @public
|
|
3789
3789
|
*/
|
|
3790
3790
|
registryId?: string;
|
|
3791
3791
|
/**
|
|
3792
|
-
* @public
|
|
3793
3792
|
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
3793
|
+
* @public
|
|
3794
3794
|
*/
|
|
3795
3795
|
upstreamRegistryUrl?: string;
|
|
3796
3796
|
/**
|
|
3797
|
-
* @public
|
|
3798
3797
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache
|
|
3799
3798
|
* rule.</p>
|
|
3799
|
+
* @public
|
|
3800
3800
|
*/
|
|
3801
3801
|
credentialArn?: string;
|
|
3802
3802
|
/**
|
|
3803
|
-
* @public
|
|
3804
3803
|
* <p>Whether or not the pull through cache rule was validated. If <code>true</code>, Amazon ECR
|
|
3805
3804
|
* was able to reach the upstream registry and authentication was successful. If
|
|
3806
3805
|
* <code>false</code>, there was an issue and validation failed. The
|
|
3807
3806
|
* <code>failure</code> reason indicates the cause.</p>
|
|
3807
|
+
* @public
|
|
3808
3808
|
*/
|
|
3809
3809
|
isValid?: boolean;
|
|
3810
3810
|
/**
|
|
3811
|
-
* @public
|
|
3812
3811
|
* <p>The reason the validation failed. For more details about possible causes and how to
|
|
3813
3812
|
* address them, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html">Using pull through cache
|
|
3814
3813
|
* rules</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
3814
|
+
* @public
|
|
3815
3815
|
*/
|
|
3816
3816
|
failure?: string;
|
|
3817
3817
|
}
|