@aws-sdk/client-ecr 3.934.0 → 3.936.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/README.md +40 -0
- package/dist-cjs/index.js +538 -154
- package/dist-es/ECR.js +10 -0
- package/dist-es/commands/DeregisterPullTimeUpdateExclusionCommand.js +16 -0
- package/dist-es/commands/ListImageReferrersCommand.js +16 -0
- package/dist-es/commands/ListPullTimeUpdateExclusionsCommand.js +16 -0
- package/dist-es/commands/RegisterPullTimeUpdateExclusionCommand.js +16 -0
- package/dist-es/commands/UpdateImageStorageClassCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +141 -0
- package/dist-es/models/errors.js +551 -0
- package/dist-es/models/models_0.js +1 -595
- package/dist-es/schemas/schemas_0.js +259 -52
- package/dist-types/ECR.d.ts +36 -0
- package/dist-types/ECRClient.d.ts +7 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +107 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +11 -8
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +9 -1
- package/dist-types/commands/ListImageReferrersCommand.d.ts +224 -0
- package/dist-types/commands/ListImagesCommand.d.ts +1 -0
- package/dist-types/commands/ListPullTimeUpdateExclusionsCommand.d.ts +127 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +93 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +8 -6
- package/dist-types/commands/UpdateImageStorageClassCommand.d.ts +156 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +349 -0
- package/dist-types/models/errors.d.ts +597 -0
- package/dist-types/models/models_0.d.ts +372 -812
- package/dist-types/schemas/schemas_0.d.ts +29 -0
- package/dist-types/ts3.4/ECR.d.ts +92 -0
- package/dist-types/ts3.4/ECRClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListImageReferrersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPullTimeUpdateExclusionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateImageStorageClassCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +187 -0
- package/dist-types/ts3.4/models/errors.d.ts +369 -0
- package/dist-types/ts3.4/models/models_0.d.ts +100 -461
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const LayerFailureCode: {
|
|
6
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
7
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const LayerAvailability: {
|
|
18
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
19
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
20
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const ImageFailureCode: {
|
|
31
|
+
readonly ImageInaccessible: "ImageInaccessible";
|
|
32
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
33
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
34
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
35
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
36
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
37
|
+
readonly KmsError: "KmsError";
|
|
38
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
39
|
+
readonly UpstreamAccessDenied: "UpstreamAccessDenied";
|
|
40
|
+
readonly UpstreamTooManyRequests: "UpstreamTooManyRequests";
|
|
41
|
+
readonly UpstreamUnavailable: "UpstreamUnavailable";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* @enum
|
|
50
|
+
*/
|
|
51
|
+
export declare const ScanningConfigurationFailureCode: {
|
|
52
|
+
readonly REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export type ScanningConfigurationFailureCode = (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* @enum
|
|
61
|
+
*/
|
|
62
|
+
export declare const ScanningRepositoryFilterType: {
|
|
63
|
+
readonly WILDCARD: "WILDCARD";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ScanningRepositoryFilterType = (typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @enum
|
|
72
|
+
*/
|
|
73
|
+
export declare const ScanFrequency: {
|
|
74
|
+
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
75
|
+
readonly MANUAL: "MANUAL";
|
|
76
|
+
readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @enum
|
|
85
|
+
*/
|
|
86
|
+
export declare const UpstreamRegistry: {
|
|
87
|
+
readonly AzureContainerRegistry: "azure-container-registry";
|
|
88
|
+
readonly DockerHub: "docker-hub";
|
|
89
|
+
readonly Ecr: "ecr";
|
|
90
|
+
readonly EcrPublic: "ecr-public";
|
|
91
|
+
readonly GitHubContainerRegistry: "github-container-registry";
|
|
92
|
+
readonly GitLabContainerRegistry: "gitlab-container-registry";
|
|
93
|
+
readonly K8s: "k8s";
|
|
94
|
+
readonly Quay: "quay";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type UpstreamRegistry = (typeof UpstreamRegistry)[keyof typeof UpstreamRegistry];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const EncryptionType: {
|
|
105
|
+
readonly AES256: "AES256";
|
|
106
|
+
readonly KMS: "KMS";
|
|
107
|
+
readonly KMS_DSSE: "KMS_DSSE";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const ImageTagMutability: {
|
|
118
|
+
readonly IMMUTABLE: "IMMUTABLE";
|
|
119
|
+
readonly IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION";
|
|
120
|
+
readonly MUTABLE: "MUTABLE";
|
|
121
|
+
readonly MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION";
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export type ImageTagMutability = (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* @enum
|
|
130
|
+
*/
|
|
131
|
+
export declare const ImageTagMutabilityExclusionFilterType: {
|
|
132
|
+
readonly WILDCARD: "WILDCARD";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type ImageTagMutabilityExclusionFilterType = (typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const RCTAppliedFor: {
|
|
143
|
+
readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
|
|
144
|
+
readonly REPLICATION: "REPLICATION";
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* @enum
|
|
153
|
+
*/
|
|
154
|
+
export declare const ReplicationStatus: {
|
|
155
|
+
readonly COMPLETE: "COMPLETE";
|
|
156
|
+
readonly FAILED: "FAILED";
|
|
157
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* @enum
|
|
166
|
+
*/
|
|
167
|
+
export declare const ImageStatusFilter: {
|
|
168
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
169
|
+
readonly ACTIVE: "ACTIVE";
|
|
170
|
+
readonly ANY: "ANY";
|
|
171
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export type ImageStatusFilter = (typeof ImageStatusFilter)[keyof typeof ImageStatusFilter];
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* @enum
|
|
180
|
+
*/
|
|
181
|
+
export declare const TagStatus: {
|
|
182
|
+
readonly ANY: "ANY";
|
|
183
|
+
readonly TAGGED: "TAGGED";
|
|
184
|
+
readonly UNTAGGED: "UNTAGGED";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
* @enum
|
|
193
|
+
*/
|
|
194
|
+
export declare const FindingSeverity: {
|
|
195
|
+
readonly CRITICAL: "CRITICAL";
|
|
196
|
+
readonly HIGH: "HIGH";
|
|
197
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
198
|
+
readonly LOW: "LOW";
|
|
199
|
+
readonly MEDIUM: "MEDIUM";
|
|
200
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export type FindingSeverity = (typeof FindingSeverity)[keyof typeof FindingSeverity];
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @enum
|
|
209
|
+
*/
|
|
210
|
+
export declare const ScanStatus: {
|
|
211
|
+
readonly ACTIVE: "ACTIVE";
|
|
212
|
+
readonly COMPLETE: "COMPLETE";
|
|
213
|
+
readonly FAILED: "FAILED";
|
|
214
|
+
readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
|
|
215
|
+
readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
|
|
216
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
217
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
218
|
+
readonly PENDING: "PENDING";
|
|
219
|
+
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
220
|
+
readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* @enum
|
|
229
|
+
*/
|
|
230
|
+
export declare const ImageStatus: {
|
|
231
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
232
|
+
readonly ACTIVE: "ACTIVE";
|
|
233
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export type ImageStatus = (typeof ImageStatus)[keyof typeof ImageStatus];
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* @enum
|
|
242
|
+
*/
|
|
243
|
+
export declare const RepositoryFilterType: {
|
|
244
|
+
readonly PREFIX_MATCH: "PREFIX_MATCH";
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* @enum
|
|
253
|
+
*/
|
|
254
|
+
export declare const LifecyclePolicyTargetStorageClass: {
|
|
255
|
+
readonly ARCHIVE: "ARCHIVE";
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
export type LifecyclePolicyTargetStorageClass = (typeof LifecyclePolicyTargetStorageClass)[keyof typeof LifecyclePolicyTargetStorageClass];
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* @enum
|
|
264
|
+
*/
|
|
265
|
+
export declare const ImageActionType: {
|
|
266
|
+
readonly EXPIRE: "EXPIRE";
|
|
267
|
+
readonly TRANSITION: "TRANSITION";
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export type ImageActionType = (typeof ImageActionType)[keyof typeof ImageActionType];
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
* @enum
|
|
276
|
+
*/
|
|
277
|
+
export declare const LifecyclePolicyStorageClass: {
|
|
278
|
+
readonly ARCHIVE: "ARCHIVE";
|
|
279
|
+
readonly STANDARD: "STANDARD";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export type LifecyclePolicyStorageClass = (typeof LifecyclePolicyStorageClass)[keyof typeof LifecyclePolicyStorageClass];
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
* @enum
|
|
288
|
+
*/
|
|
289
|
+
export declare const LifecyclePolicyPreviewStatus: {
|
|
290
|
+
readonly COMPLETE: "COMPLETE";
|
|
291
|
+
readonly EXPIRED: "EXPIRED";
|
|
292
|
+
readonly FAILED: "FAILED";
|
|
293
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export type LifecyclePolicyPreviewStatus = (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* @enum
|
|
302
|
+
*/
|
|
303
|
+
export declare const ScanType: {
|
|
304
|
+
readonly BASIC: "BASIC";
|
|
305
|
+
readonly ENHANCED: "ENHANCED";
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @enum
|
|
314
|
+
*/
|
|
315
|
+
export declare const ArtifactStatusFilter: {
|
|
316
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
317
|
+
readonly ACTIVE: "ACTIVE";
|
|
318
|
+
readonly ANY: "ANY";
|
|
319
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
export type ArtifactStatusFilter = (typeof ArtifactStatusFilter)[keyof typeof ArtifactStatusFilter];
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* @enum
|
|
328
|
+
*/
|
|
329
|
+
export declare const ArtifactStatus: {
|
|
330
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
331
|
+
readonly ACTIVE: "ACTIVE";
|
|
332
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
export type ArtifactStatus = (typeof ArtifactStatus)[keyof typeof ArtifactStatus];
|
|
338
|
+
/**
|
|
339
|
+
* @public
|
|
340
|
+
* @enum
|
|
341
|
+
*/
|
|
342
|
+
export declare const TargetStorageClass: {
|
|
343
|
+
readonly ARCHIVE: "ARCHIVE";
|
|
344
|
+
readonly STANDARD: "STANDARD";
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
export type TargetStorageClass = (typeof TargetStorageClass)[keyof typeof TargetStorageClass];
|