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