@aws-sdk/client-ecr 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +80 -96
- package/dist-es/models/models_0.js +80 -96
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetImageCommand.d.ts +4 -4
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -2
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +4 -4
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +2 -2
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +160 -80
- package/dist-types/ts3.4/models/models_0.d.ts +108 -80
- package/package.json +35 -35
|
@@ -20,11 +20,16 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* @public
|
|
23
|
+
* @enum
|
|
23
24
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
InvalidLayerDigest
|
|
26
|
-
MissingLayerDigest
|
|
27
|
-
}
|
|
25
|
+
export declare const LayerFailureCode: {
|
|
26
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
27
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
28
33
|
/**
|
|
29
34
|
* @public
|
|
30
35
|
* <p>An object representing an Amazon ECR image layer failure.</p>
|
|
@@ -45,11 +50,16 @@ export interface LayerFailure {
|
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
47
52
|
* @public
|
|
53
|
+
* @enum
|
|
48
54
|
*/
|
|
49
|
-
export declare
|
|
50
|
-
AVAILABLE
|
|
51
|
-
UNAVAILABLE
|
|
52
|
-
}
|
|
55
|
+
export declare const LayerAvailability: {
|
|
56
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
57
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
53
63
|
/**
|
|
54
64
|
* @public
|
|
55
65
|
* <p>An object representing an Amazon ECR image layer.</p>
|
|
@@ -164,16 +174,21 @@ export interface BatchDeleteImageRequest {
|
|
|
164
174
|
}
|
|
165
175
|
/**
|
|
166
176
|
* @public
|
|
177
|
+
* @enum
|
|
167
178
|
*/
|
|
168
|
-
export declare
|
|
169
|
-
ImageNotFound
|
|
170
|
-
ImageReferencedByManifestList
|
|
171
|
-
ImageTagDoesNotMatchDigest
|
|
172
|
-
InvalidImageDigest
|
|
173
|
-
InvalidImageTag
|
|
174
|
-
KmsError
|
|
175
|
-
MissingDigestAndTag
|
|
176
|
-
}
|
|
179
|
+
export declare const ImageFailureCode: {
|
|
180
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
181
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
182
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
183
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
184
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
185
|
+
readonly KmsError: "KmsError";
|
|
186
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
177
192
|
/**
|
|
178
193
|
* @public
|
|
179
194
|
* <p>An object representing an Amazon ECR image failure.</p>
|
|
@@ -283,10 +298,15 @@ export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
|
283
298
|
}
|
|
284
299
|
/**
|
|
285
300
|
* @public
|
|
301
|
+
* @enum
|
|
286
302
|
*/
|
|
287
|
-
export declare
|
|
288
|
-
REPOSITORY_NOT_FOUND
|
|
289
|
-
}
|
|
303
|
+
export declare const ScanningConfigurationFailureCode: {
|
|
304
|
+
readonly REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export type ScanningConfigurationFailureCode = (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
|
|
290
310
|
/**
|
|
291
311
|
* @public
|
|
292
312
|
* <p>The details about any failures associated with the scanning configuration of a
|
|
@@ -308,10 +328,15 @@ export interface RepositoryScanningConfigurationFailure {
|
|
|
308
328
|
}
|
|
309
329
|
/**
|
|
310
330
|
* @public
|
|
331
|
+
* @enum
|
|
311
332
|
*/
|
|
312
|
-
export declare
|
|
313
|
-
WILDCARD
|
|
314
|
-
}
|
|
333
|
+
export declare const ScanningRepositoryFilterType: {
|
|
334
|
+
readonly WILDCARD: "WILDCARD";
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export type ScanningRepositoryFilterType = (typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
|
|
315
340
|
/**
|
|
316
341
|
* @public
|
|
317
342
|
* <p>The details of a scanning repository filter. For more information on how to use
|
|
@@ -330,12 +355,17 @@ export interface ScanningRepositoryFilter {
|
|
|
330
355
|
}
|
|
331
356
|
/**
|
|
332
357
|
* @public
|
|
358
|
+
* @enum
|
|
333
359
|
*/
|
|
334
|
-
export declare
|
|
335
|
-
CONTINUOUS_SCAN
|
|
336
|
-
MANUAL
|
|
337
|
-
SCAN_ON_PUSH
|
|
338
|
-
}
|
|
360
|
+
export declare const ScanFrequency: {
|
|
361
|
+
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
362
|
+
readonly MANUAL: "MANUAL";
|
|
363
|
+
readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
|
|
339
369
|
/**
|
|
340
370
|
* @public
|
|
341
371
|
* <p>The details of the scanning configuration for a repository.</p>
|
|
@@ -591,11 +621,16 @@ export declare class UnsupportedUpstreamRegistryException extends __BaseExceptio
|
|
|
591
621
|
}
|
|
592
622
|
/**
|
|
593
623
|
* @public
|
|
624
|
+
* @enum
|
|
594
625
|
*/
|
|
595
|
-
export declare
|
|
596
|
-
AES256
|
|
597
|
-
KMS
|
|
598
|
-
}
|
|
626
|
+
export declare const EncryptionType: {
|
|
627
|
+
readonly AES256: "AES256";
|
|
628
|
+
readonly KMS: "KMS";
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
599
634
|
/**
|
|
600
635
|
* @public
|
|
601
636
|
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
@@ -649,11 +684,16 @@ export interface ImageScanningConfiguration {
|
|
|
649
684
|
}
|
|
650
685
|
/**
|
|
651
686
|
* @public
|
|
687
|
+
* @enum
|
|
652
688
|
*/
|
|
653
|
-
export declare
|
|
654
|
-
IMMUTABLE
|
|
655
|
-
MUTABLE
|
|
656
|
-
}
|
|
689
|
+
export declare const ImageTagMutability: {
|
|
690
|
+
readonly IMMUTABLE: "IMMUTABLE";
|
|
691
|
+
readonly MUTABLE: "MUTABLE";
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
export type ImageTagMutability = (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
657
697
|
/**
|
|
658
698
|
* @public
|
|
659
699
|
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
@@ -1031,12 +1071,17 @@ export interface DescribeImageReplicationStatusRequest {
|
|
|
1031
1071
|
}
|
|
1032
1072
|
/**
|
|
1033
1073
|
* @public
|
|
1074
|
+
* @enum
|
|
1034
1075
|
*/
|
|
1035
|
-
export declare
|
|
1036
|
-
COMPLETE
|
|
1037
|
-
FAILED
|
|
1038
|
-
IN_PROGRESS
|
|
1039
|
-
}
|
|
1076
|
+
export declare const ReplicationStatus: {
|
|
1077
|
+
readonly COMPLETE: "COMPLETE";
|
|
1078
|
+
readonly FAILED: "FAILED";
|
|
1079
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
1040
1085
|
/**
|
|
1041
1086
|
* @public
|
|
1042
1087
|
* <p>The status of the replication process for an image.</p>
|
|
@@ -1090,12 +1135,17 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
1090
1135
|
}
|
|
1091
1136
|
/**
|
|
1092
1137
|
* @public
|
|
1138
|
+
* @enum
|
|
1093
1139
|
*/
|
|
1094
|
-
export declare
|
|
1095
|
-
ANY
|
|
1096
|
-
TAGGED
|
|
1097
|
-
UNTAGGED
|
|
1098
|
-
}
|
|
1140
|
+
export declare const TagStatus: {
|
|
1141
|
+
readonly ANY: "ANY";
|
|
1142
|
+
readonly TAGGED: "TAGGED";
|
|
1143
|
+
readonly UNTAGGED: "UNTAGGED";
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
|
|
1099
1149
|
/**
|
|
1100
1150
|
* @public
|
|
1101
1151
|
* <p>An object representing a filter on a <a>DescribeImages</a>
|
|
@@ -1155,15 +1205,20 @@ export interface DescribeImagesRequest {
|
|
|
1155
1205
|
}
|
|
1156
1206
|
/**
|
|
1157
1207
|
* @public
|
|
1208
|
+
* @enum
|
|
1158
1209
|
*/
|
|
1159
|
-
export declare
|
|
1160
|
-
CRITICAL
|
|
1161
|
-
HIGH
|
|
1162
|
-
INFORMATIONAL
|
|
1163
|
-
LOW
|
|
1164
|
-
MEDIUM
|
|
1165
|
-
UNDEFINED
|
|
1166
|
-
}
|
|
1210
|
+
export declare const FindingSeverity: {
|
|
1211
|
+
readonly CRITICAL: "CRITICAL";
|
|
1212
|
+
readonly HIGH: "HIGH";
|
|
1213
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
1214
|
+
readonly LOW: "LOW";
|
|
1215
|
+
readonly MEDIUM: "MEDIUM";
|
|
1216
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
export type FindingSeverity = (typeof FindingSeverity)[keyof typeof FindingSeverity];
|
|
1167
1222
|
/**
|
|
1168
1223
|
* @public
|
|
1169
1224
|
* <p>A summary of the last completed image scan.</p>
|
|
@@ -1184,17 +1239,22 @@ export interface ImageScanFindingsSummary {
|
|
|
1184
1239
|
}
|
|
1185
1240
|
/**
|
|
1186
1241
|
* @public
|
|
1242
|
+
* @enum
|
|
1187
1243
|
*/
|
|
1188
|
-
export declare
|
|
1189
|
-
ACTIVE
|
|
1190
|
-
COMPLETE
|
|
1191
|
-
FAILED
|
|
1192
|
-
FINDINGS_UNAVAILABLE
|
|
1193
|
-
IN_PROGRESS
|
|
1194
|
-
PENDING
|
|
1195
|
-
SCAN_ELIGIBILITY_EXPIRED
|
|
1196
|
-
UNSUPPORTED_IMAGE
|
|
1197
|
-
}
|
|
1244
|
+
export declare const ScanStatus: {
|
|
1245
|
+
readonly ACTIVE: "ACTIVE";
|
|
1246
|
+
readonly COMPLETE: "COMPLETE";
|
|
1247
|
+
readonly FAILED: "FAILED";
|
|
1248
|
+
readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
|
|
1249
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1250
|
+
readonly PENDING: "PENDING";
|
|
1251
|
+
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
1252
|
+
readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* @public
|
|
1256
|
+
*/
|
|
1257
|
+
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
1198
1258
|
/**
|
|
1199
1259
|
* @public
|
|
1200
1260
|
* <p>The current status of an image scan.</p>
|
|
@@ -1865,10 +1925,15 @@ export interface ReplicationDestination {
|
|
|
1865
1925
|
}
|
|
1866
1926
|
/**
|
|
1867
1927
|
* @public
|
|
1928
|
+
* @enum
|
|
1868
1929
|
*/
|
|
1869
|
-
export declare
|
|
1870
|
-
PREFIX_MATCH
|
|
1871
|
-
}
|
|
1930
|
+
export declare const RepositoryFilterType: {
|
|
1931
|
+
readonly PREFIX_MATCH: "PREFIX_MATCH";
|
|
1932
|
+
};
|
|
1933
|
+
/**
|
|
1934
|
+
* @public
|
|
1935
|
+
*/
|
|
1936
|
+
export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
|
|
1872
1937
|
/**
|
|
1873
1938
|
* @public
|
|
1874
1939
|
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
@@ -2196,10 +2261,15 @@ export interface GetLifecyclePolicyPreviewRequest {
|
|
|
2196
2261
|
}
|
|
2197
2262
|
/**
|
|
2198
2263
|
* @public
|
|
2264
|
+
* @enum
|
|
2199
2265
|
*/
|
|
2200
|
-
export declare
|
|
2201
|
-
EXPIRE
|
|
2202
|
-
}
|
|
2266
|
+
export declare const ImageActionType: {
|
|
2267
|
+
readonly EXPIRE: "EXPIRE";
|
|
2268
|
+
};
|
|
2269
|
+
/**
|
|
2270
|
+
* @public
|
|
2271
|
+
*/
|
|
2272
|
+
export type ImageActionType = (typeof ImageActionType)[keyof typeof ImageActionType];
|
|
2203
2273
|
/**
|
|
2204
2274
|
* @public
|
|
2205
2275
|
* <p>The type of action to be taken.</p>
|
|
@@ -2239,13 +2309,18 @@ export interface LifecyclePolicyPreviewResult {
|
|
|
2239
2309
|
}
|
|
2240
2310
|
/**
|
|
2241
2311
|
* @public
|
|
2312
|
+
* @enum
|
|
2242
2313
|
*/
|
|
2243
|
-
export declare
|
|
2244
|
-
COMPLETE
|
|
2245
|
-
EXPIRED
|
|
2246
|
-
FAILED
|
|
2247
|
-
IN_PROGRESS
|
|
2248
|
-
}
|
|
2314
|
+
export declare const LifecyclePolicyPreviewStatus: {
|
|
2315
|
+
readonly COMPLETE: "COMPLETE";
|
|
2316
|
+
readonly EXPIRED: "EXPIRED";
|
|
2317
|
+
readonly FAILED: "FAILED";
|
|
2318
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2319
|
+
};
|
|
2320
|
+
/**
|
|
2321
|
+
* @public
|
|
2322
|
+
*/
|
|
2323
|
+
export type LifecyclePolicyPreviewStatus = (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
|
|
2249
2324
|
/**
|
|
2250
2325
|
* @public
|
|
2251
2326
|
* <p>The summary of the lifecycle policy preview request.</p>
|
|
@@ -2349,11 +2424,16 @@ export interface RegistryScanningRule {
|
|
|
2349
2424
|
}
|
|
2350
2425
|
/**
|
|
2351
2426
|
* @public
|
|
2427
|
+
* @enum
|
|
2352
2428
|
*/
|
|
2353
|
-
export declare
|
|
2354
|
-
BASIC
|
|
2355
|
-
ENHANCED
|
|
2356
|
-
}
|
|
2429
|
+
export declare const ScanType: {
|
|
2430
|
+
readonly BASIC: "BASIC";
|
|
2431
|
+
readonly ENHANCED: "ENHANCED";
|
|
2432
|
+
};
|
|
2433
|
+
/**
|
|
2434
|
+
* @public
|
|
2435
|
+
*/
|
|
2436
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
2357
2437
|
/**
|
|
2358
2438
|
* @public
|
|
2359
2439
|
* <p>The scanning configuration for a private registry.</p>
|
|
@@ -5,19 +5,23 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
5
5
|
repositoryName: string | undefined;
|
|
6
6
|
layerDigests: string[] | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare
|
|
9
|
-
InvalidLayerDigest
|
|
10
|
-
MissingLayerDigest
|
|
11
|
-
}
|
|
8
|
+
export declare const LayerFailureCode: {
|
|
9
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
10
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
11
|
+
};
|
|
12
|
+
export type LayerFailureCode =
|
|
13
|
+
(typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
12
14
|
export interface LayerFailure {
|
|
13
15
|
layerDigest?: string;
|
|
14
16
|
failureCode?: LayerFailureCode | string;
|
|
15
17
|
failureReason?: string;
|
|
16
18
|
}
|
|
17
|
-
export declare
|
|
18
|
-
AVAILABLE
|
|
19
|
-
UNAVAILABLE
|
|
20
|
-
}
|
|
19
|
+
export declare const LayerAvailability: {
|
|
20
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
21
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
22
|
+
};
|
|
23
|
+
export type LayerAvailability =
|
|
24
|
+
(typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
21
25
|
export interface Layer {
|
|
22
26
|
layerDigest?: string;
|
|
23
27
|
layerAvailability?: LayerAvailability | string;
|
|
@@ -56,15 +60,17 @@ export interface BatchDeleteImageRequest {
|
|
|
56
60
|
repositoryName: string | undefined;
|
|
57
61
|
imageIds: ImageIdentifier[] | undefined;
|
|
58
62
|
}
|
|
59
|
-
export declare
|
|
60
|
-
ImageNotFound
|
|
61
|
-
ImageReferencedByManifestList
|
|
62
|
-
ImageTagDoesNotMatchDigest
|
|
63
|
-
InvalidImageDigest
|
|
64
|
-
InvalidImageTag
|
|
65
|
-
KmsError
|
|
66
|
-
MissingDigestAndTag
|
|
67
|
-
}
|
|
63
|
+
export declare const ImageFailureCode: {
|
|
64
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
65
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
66
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
67
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
68
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
69
|
+
readonly KmsError: "KmsError";
|
|
70
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
71
|
+
};
|
|
72
|
+
export type ImageFailureCode =
|
|
73
|
+
(typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
68
74
|
export interface ImageFailure {
|
|
69
75
|
imageId?: ImageIdentifier;
|
|
70
76
|
failureCode?: ImageFailureCode | string;
|
|
@@ -94,26 +100,31 @@ export interface BatchGetImageResponse {
|
|
|
94
100
|
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
95
101
|
repositoryNames: string[] | undefined;
|
|
96
102
|
}
|
|
97
|
-
export declare
|
|
98
|
-
REPOSITORY_NOT_FOUND
|
|
99
|
-
}
|
|
103
|
+
export declare const ScanningConfigurationFailureCode: {
|
|
104
|
+
readonly REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND";
|
|
105
|
+
};
|
|
106
|
+
export type ScanningConfigurationFailureCode =
|
|
107
|
+
(typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
|
|
100
108
|
export interface RepositoryScanningConfigurationFailure {
|
|
101
109
|
repositoryName?: string;
|
|
102
110
|
failureCode?: ScanningConfigurationFailureCode | string;
|
|
103
111
|
failureReason?: string;
|
|
104
112
|
}
|
|
105
|
-
export declare
|
|
106
|
-
WILDCARD
|
|
107
|
-
}
|
|
113
|
+
export declare const ScanningRepositoryFilterType: {
|
|
114
|
+
readonly WILDCARD: "WILDCARD";
|
|
115
|
+
};
|
|
116
|
+
export type ScanningRepositoryFilterType =
|
|
117
|
+
(typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
|
|
108
118
|
export interface ScanningRepositoryFilter {
|
|
109
119
|
filter: string | undefined;
|
|
110
120
|
filterType: ScanningRepositoryFilterType | string | undefined;
|
|
111
121
|
}
|
|
112
|
-
export declare
|
|
113
|
-
CONTINUOUS_SCAN
|
|
114
|
-
MANUAL
|
|
115
|
-
SCAN_ON_PUSH
|
|
116
|
-
}
|
|
122
|
+
export declare const ScanFrequency: {
|
|
123
|
+
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
124
|
+
readonly MANUAL: "MANUAL";
|
|
125
|
+
readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
|
|
126
|
+
};
|
|
127
|
+
export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
|
|
117
128
|
export interface RepositoryScanningConfiguration {
|
|
118
129
|
repositoryArn?: string;
|
|
119
130
|
repositoryName?: string;
|
|
@@ -223,10 +234,12 @@ export declare class UnsupportedUpstreamRegistryException extends __BaseExceptio
|
|
|
223
234
|
>
|
|
224
235
|
);
|
|
225
236
|
}
|
|
226
|
-
export declare
|
|
227
|
-
AES256
|
|
228
|
-
KMS
|
|
229
|
-
}
|
|
237
|
+
export declare const EncryptionType: {
|
|
238
|
+
readonly AES256: "AES256";
|
|
239
|
+
readonly KMS: "KMS";
|
|
240
|
+
};
|
|
241
|
+
export type EncryptionType =
|
|
242
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
230
243
|
export interface EncryptionConfiguration {
|
|
231
244
|
encryptionType: EncryptionType | string | undefined;
|
|
232
245
|
kmsKey?: string;
|
|
@@ -234,10 +247,12 @@ export interface EncryptionConfiguration {
|
|
|
234
247
|
export interface ImageScanningConfiguration {
|
|
235
248
|
scanOnPush?: boolean;
|
|
236
249
|
}
|
|
237
|
-
export declare
|
|
238
|
-
IMMUTABLE
|
|
239
|
-
MUTABLE
|
|
240
|
-
}
|
|
250
|
+
export declare const ImageTagMutability: {
|
|
251
|
+
readonly IMMUTABLE: "IMMUTABLE";
|
|
252
|
+
readonly MUTABLE: "MUTABLE";
|
|
253
|
+
};
|
|
254
|
+
export type ImageTagMutability =
|
|
255
|
+
(typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
241
256
|
export interface Tag {
|
|
242
257
|
Key?: string;
|
|
243
258
|
Value?: string;
|
|
@@ -381,11 +396,13 @@ export interface DescribeImageReplicationStatusRequest {
|
|
|
381
396
|
imageId: ImageIdentifier | undefined;
|
|
382
397
|
registryId?: string;
|
|
383
398
|
}
|
|
384
|
-
export declare
|
|
385
|
-
COMPLETE
|
|
386
|
-
FAILED
|
|
387
|
-
IN_PROGRESS
|
|
388
|
-
}
|
|
399
|
+
export declare const ReplicationStatus: {
|
|
400
|
+
readonly COMPLETE: "COMPLETE";
|
|
401
|
+
readonly FAILED: "FAILED";
|
|
402
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
403
|
+
};
|
|
404
|
+
export type ReplicationStatus =
|
|
405
|
+
(typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
389
406
|
export interface ImageReplicationStatus {
|
|
390
407
|
region?: string;
|
|
391
408
|
registryId?: string;
|
|
@@ -404,11 +421,12 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
404
421
|
opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>
|
|
405
422
|
);
|
|
406
423
|
}
|
|
407
|
-
export declare
|
|
408
|
-
ANY
|
|
409
|
-
TAGGED
|
|
410
|
-
UNTAGGED
|
|
411
|
-
}
|
|
424
|
+
export declare const TagStatus: {
|
|
425
|
+
readonly ANY: "ANY";
|
|
426
|
+
readonly TAGGED: "TAGGED";
|
|
427
|
+
readonly UNTAGGED: "UNTAGGED";
|
|
428
|
+
};
|
|
429
|
+
export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
|
|
412
430
|
export interface DescribeImagesFilter {
|
|
413
431
|
tagStatus?: TagStatus | string;
|
|
414
432
|
}
|
|
@@ -420,29 +438,32 @@ export interface DescribeImagesRequest {
|
|
|
420
438
|
maxResults?: number;
|
|
421
439
|
filter?: DescribeImagesFilter;
|
|
422
440
|
}
|
|
423
|
-
export declare
|
|
424
|
-
CRITICAL
|
|
425
|
-
HIGH
|
|
426
|
-
INFORMATIONAL
|
|
427
|
-
LOW
|
|
428
|
-
MEDIUM
|
|
429
|
-
UNDEFINED
|
|
430
|
-
}
|
|
441
|
+
export declare const FindingSeverity: {
|
|
442
|
+
readonly CRITICAL: "CRITICAL";
|
|
443
|
+
readonly HIGH: "HIGH";
|
|
444
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
445
|
+
readonly LOW: "LOW";
|
|
446
|
+
readonly MEDIUM: "MEDIUM";
|
|
447
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
448
|
+
};
|
|
449
|
+
export type FindingSeverity =
|
|
450
|
+
(typeof FindingSeverity)[keyof typeof FindingSeverity];
|
|
431
451
|
export interface ImageScanFindingsSummary {
|
|
432
452
|
imageScanCompletedAt?: Date;
|
|
433
453
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
434
454
|
findingSeverityCounts?: Record<string, number>;
|
|
435
455
|
}
|
|
436
|
-
export declare
|
|
437
|
-
ACTIVE
|
|
438
|
-
COMPLETE
|
|
439
|
-
FAILED
|
|
440
|
-
FINDINGS_UNAVAILABLE
|
|
441
|
-
IN_PROGRESS
|
|
442
|
-
PENDING
|
|
443
|
-
SCAN_ELIGIBILITY_EXPIRED
|
|
444
|
-
UNSUPPORTED_IMAGE
|
|
445
|
-
}
|
|
456
|
+
export declare const ScanStatus: {
|
|
457
|
+
readonly ACTIVE: "ACTIVE";
|
|
458
|
+
readonly COMPLETE: "COMPLETE";
|
|
459
|
+
readonly FAILED: "FAILED";
|
|
460
|
+
readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
|
|
461
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
462
|
+
readonly PENDING: "PENDING";
|
|
463
|
+
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
464
|
+
readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
|
|
465
|
+
};
|
|
466
|
+
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
446
467
|
export interface ImageScanStatus {
|
|
447
468
|
status?: ScanStatus | string;
|
|
448
469
|
description?: string;
|
|
@@ -610,9 +631,11 @@ export interface ReplicationDestination {
|
|
|
610
631
|
region: string | undefined;
|
|
611
632
|
registryId: string | undefined;
|
|
612
633
|
}
|
|
613
|
-
export declare
|
|
614
|
-
PREFIX_MATCH
|
|
615
|
-
}
|
|
634
|
+
export declare const RepositoryFilterType: {
|
|
635
|
+
readonly PREFIX_MATCH: "PREFIX_MATCH";
|
|
636
|
+
};
|
|
637
|
+
export type RepositoryFilterType =
|
|
638
|
+
(typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
|
|
616
639
|
export interface RepositoryFilter {
|
|
617
640
|
filter: string | undefined;
|
|
618
641
|
filterType: RepositoryFilterType | string | undefined;
|
|
@@ -693,9 +716,11 @@ export interface GetLifecyclePolicyPreviewRequest {
|
|
|
693
716
|
maxResults?: number;
|
|
694
717
|
filter?: LifecyclePolicyPreviewFilter;
|
|
695
718
|
}
|
|
696
|
-
export declare
|
|
697
|
-
EXPIRE
|
|
698
|
-
}
|
|
719
|
+
export declare const ImageActionType: {
|
|
720
|
+
readonly EXPIRE: "EXPIRE";
|
|
721
|
+
};
|
|
722
|
+
export type ImageActionType =
|
|
723
|
+
(typeof ImageActionType)[keyof typeof ImageActionType];
|
|
699
724
|
export interface LifecyclePolicyRuleAction {
|
|
700
725
|
type?: ImageActionType | string;
|
|
701
726
|
}
|
|
@@ -706,12 +731,14 @@ export interface LifecyclePolicyPreviewResult {
|
|
|
706
731
|
action?: LifecyclePolicyRuleAction;
|
|
707
732
|
appliedRulePriority?: number;
|
|
708
733
|
}
|
|
709
|
-
export declare
|
|
710
|
-
COMPLETE
|
|
711
|
-
EXPIRED
|
|
712
|
-
FAILED
|
|
713
|
-
IN_PROGRESS
|
|
714
|
-
}
|
|
734
|
+
export declare const LifecyclePolicyPreviewStatus: {
|
|
735
|
+
readonly COMPLETE: "COMPLETE";
|
|
736
|
+
readonly EXPIRED: "EXPIRED";
|
|
737
|
+
readonly FAILED: "FAILED";
|
|
738
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
739
|
+
};
|
|
740
|
+
export type LifecyclePolicyPreviewStatus =
|
|
741
|
+
(typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
|
|
715
742
|
export interface LifecyclePolicyPreviewSummary {
|
|
716
743
|
expiringImageTotalCount?: number;
|
|
717
744
|
}
|
|
@@ -744,10 +771,11 @@ export interface RegistryScanningRule {
|
|
|
744
771
|
scanFrequency: ScanFrequency | string | undefined;
|
|
745
772
|
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
746
773
|
}
|
|
747
|
-
export declare
|
|
748
|
-
BASIC
|
|
749
|
-
ENHANCED
|
|
750
|
-
}
|
|
774
|
+
export declare const ScanType: {
|
|
775
|
+
readonly BASIC: "BASIC";
|
|
776
|
+
readonly ENHANCED: "ENHANCED";
|
|
777
|
+
};
|
|
778
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
751
779
|
export interface RegistryScanningConfiguration {
|
|
752
780
|
scanType?: ScanType | string;
|
|
753
781
|
rules?: RegistryScanningRule[];
|