@aws-sdk/client-ecr 3.30.0 → 3.34.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 +39 -0
- package/ECR.ts +54 -15
- package/ECRClient.ts +8 -0
- package/README.md +2 -0
- package/commands/CreateRepositoryCommand.ts +1 -1
- package/commands/DescribeImageReplicationStatusCommand.ts +102 -0
- package/commands/GetAuthorizationTokenCommand.ts +2 -2
- package/commands/GetDownloadUrlForLayerCommand.ts +2 -2
- package/commands/PutImageTagMutabilityCommand.ts +2 -2
- package/commands/PutLifecyclePolicyCommand.ts +2 -2
- package/commands/PutRegistryPolicyCommand.ts +1 -1
- package/commands/PutReplicationConfigurationCommand.ts +1 -1
- package/commands/SetRepositoryPolicyCommand.ts +1 -1
- package/commands/StartImageScanCommand.ts +3 -3
- package/dist/cjs/ECR.js +17 -0
- package/dist/cjs/ECR.js.map +1 -1
- package/dist/cjs/ECRClient.js +15 -13
- package/dist/cjs/ECRClient.js.map +1 -1
- package/dist/cjs/commands/BatchCheckLayerAvailabilityCommand.js +3 -3
- package/dist/cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDeleteImageCommand.js +3 -3
- package/dist/cjs/commands/BatchDeleteImageCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetImageCommand.js +3 -3
- package/dist/cjs/commands/BatchGetImageCommand.js.map +1 -1
- package/dist/cjs/commands/CompleteLayerUploadCommand.js +3 -3
- package/dist/cjs/commands/CompleteLayerUploadCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRepositoryCommand.js +4 -4
- package/dist/cjs/commands/CreateRepositoryCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRegistryPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRegistryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRepositoryCommand.js +3 -3
- package/dist/cjs/commands/DeleteRepositoryCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRepositoryPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRepositoryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js +61 -0
- package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js.map +1 -0
- package/dist/cjs/commands/DescribeImageScanFindingsCommand.js +3 -3
- package/dist/cjs/commands/DescribeImageScanFindingsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeImagesCommand.js +3 -3
- package/dist/cjs/commands/DescribeImagesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRegistryCommand.js +3 -3
- package/dist/cjs/commands/DescribeRegistryCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRepositoriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeRepositoriesCommand.js.map +1 -1
- package/dist/cjs/commands/GetAuthorizationTokenCommand.js +5 -5
- package/dist/cjs/commands/GetAuthorizationTokenCommand.js.map +1 -1
- package/dist/cjs/commands/GetDownloadUrlForLayerCommand.js +5 -5
- package/dist/cjs/commands/GetDownloadUrlForLayerCommand.js.map +1 -1
- package/dist/cjs/commands/GetLifecyclePolicyCommand.js +3 -3
- package/dist/cjs/commands/GetLifecyclePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetLifecyclePolicyPreviewCommand.js +3 -3
- package/dist/cjs/commands/GetLifecyclePolicyPreviewCommand.js.map +1 -1
- package/dist/cjs/commands/GetRegistryPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetRegistryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetRepositoryPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetRepositoryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/InitiateLayerUploadCommand.js +3 -3
- package/dist/cjs/commands/InitiateLayerUploadCommand.js.map +1 -1
- package/dist/cjs/commands/ListImagesCommand.js +3 -3
- package/dist/cjs/commands/ListImagesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutImageCommand.js +3 -3
- package/dist/cjs/commands/PutImageCommand.js.map +1 -1
- package/dist/cjs/commands/PutImageScanningConfigurationCommand.js +3 -3
- package/dist/cjs/commands/PutImageScanningConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/PutImageTagMutabilityCommand.js +5 -5
- package/dist/cjs/commands/PutImageTagMutabilityCommand.js.map +1 -1
- package/dist/cjs/commands/PutLifecyclePolicyCommand.js +5 -5
- package/dist/cjs/commands/PutLifecyclePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutRegistryPolicyCommand.js +4 -4
- package/dist/cjs/commands/PutRegistryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutReplicationConfigurationCommand.js +4 -4
- package/dist/cjs/commands/PutReplicationConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/SetRepositoryPolicyCommand.js +4 -4
- package/dist/cjs/commands/SetRepositoryPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/StartImageScanCommand.js +6 -6
- package/dist/cjs/commands/StartImageScanCommand.js.map +1 -1
- package/dist/cjs/commands/StartLifecyclePolicyPreviewCommand.js +3 -3
- package/dist/cjs/commands/StartLifecyclePolicyPreviewCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UploadLayerPartCommand.js +3 -3
- package/dist/cjs/commands/UploadLayerPartCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +46 -45
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +67 -21
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +40 -40
- package/dist/cjs/protocols/Aws_json1_1.js +346 -155
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForImageScanComplete.js +3 -3
- package/dist/cjs/waiters/waitForImageScanComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +3 -3
- package/dist/cjs/waiters/waitForLifecyclePolicyPreviewComplete.js.map +1 -1
- package/dist/es/ECR.js +16 -10
- package/dist/es/ECR.js.map +1 -1
- package/dist/es/ECRClient.js +1 -15
- package/dist/es/ECRClient.js.map +1 -1
- package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js +2 -34
- package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js.map +1 -1
- package/dist/es/commands/BatchDeleteImageCommand.js +2 -32
- package/dist/es/commands/BatchDeleteImageCommand.js.map +1 -1
- package/dist/es/commands/BatchGetImageCommand.js +2 -30
- package/dist/es/commands/BatchGetImageCommand.js.map +1 -1
- package/dist/es/commands/CompleteLayerUploadCommand.js +2 -35
- package/dist/es/commands/CompleteLayerUploadCommand.js.map +1 -1
- package/dist/es/commands/CreateRepositoryCommand.js +2 -28
- package/dist/es/commands/CreateRepositoryCommand.js.map +1 -1
- package/dist/es/commands/DeleteLifecyclePolicyCommand.js +2 -27
- package/dist/es/commands/DeleteLifecyclePolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteRegistryPolicyCommand.js +2 -27
- package/dist/es/commands/DeleteRegistryPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteRepositoryCommand.js +2 -29
- package/dist/es/commands/DeleteRepositoryCommand.js.map +1 -1
- package/dist/es/commands/DeleteRepositoryPolicyCommand.js +2 -27
- package/dist/es/commands/DeleteRepositoryPolicyCommand.js.map +1 -1
- package/dist/es/commands/DescribeImageReplicationStatusCommand.js +40 -0
- package/dist/es/commands/DescribeImageReplicationStatusCommand.js.map +1 -0
- package/dist/es/commands/DescribeImageScanFindingsCommand.js +2 -27
- package/dist/es/commands/DescribeImageScanFindingsCommand.js.map +1 -1
- package/dist/es/commands/DescribeImagesCommand.js +2 -33
- package/dist/es/commands/DescribeImagesCommand.js.map +1 -1
- package/dist/es/commands/DescribeRegistryCommand.js +2 -29
- package/dist/es/commands/DescribeRegistryCommand.js.map +1 -1
- package/dist/es/commands/DescribeRepositoriesCommand.js +2 -27
- package/dist/es/commands/DescribeRepositoriesCommand.js.map +1 -1
- package/dist/es/commands/GetAuthorizationTokenCommand.js +2 -34
- package/dist/es/commands/GetAuthorizationTokenCommand.js.map +1 -1
- package/dist/es/commands/GetDownloadUrlForLayerCommand.js +2 -34
- package/dist/es/commands/GetDownloadUrlForLayerCommand.js.map +1 -1
- package/dist/es/commands/GetLifecyclePolicyCommand.js +2 -27
- package/dist/es/commands/GetLifecyclePolicyCommand.js.map +1 -1
- package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js +2 -28
- package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js.map +1 -1
- package/dist/es/commands/GetRegistryPolicyCommand.js +2 -27
- package/dist/es/commands/GetRegistryPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetRepositoryPolicyCommand.js +2 -27
- package/dist/es/commands/GetRepositoryPolicyCommand.js.map +1 -1
- package/dist/es/commands/InitiateLayerUploadCommand.js +2 -34
- package/dist/es/commands/InitiateLayerUploadCommand.js.map +1 -1
- package/dist/es/commands/ListImagesCommand.js +2 -33
- package/dist/es/commands/ListImagesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/PutImageCommand.js +2 -35
- package/dist/es/commands/PutImageCommand.js.map +1 -1
- package/dist/es/commands/PutImageScanningConfigurationCommand.js +2 -27
- package/dist/es/commands/PutImageScanningConfigurationCommand.js.map +1 -1
- package/dist/es/commands/PutImageTagMutabilityCommand.js +2 -29
- package/dist/es/commands/PutImageTagMutabilityCommand.js.map +1 -1
- package/dist/es/commands/PutLifecyclePolicyCommand.js +2 -29
- package/dist/es/commands/PutLifecyclePolicyCommand.js.map +1 -1
- package/dist/es/commands/PutRegistryPolicyCommand.js +2 -29
- package/dist/es/commands/PutRegistryPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutReplicationConfigurationCommand.js +2 -37
- package/dist/es/commands/PutReplicationConfigurationCommand.js.map +1 -1
- package/dist/es/commands/SetRepositoryPolicyCommand.js +2 -29
- package/dist/es/commands/SetRepositoryPolicyCommand.js.map +1 -1
- package/dist/es/commands/StartImageScanCommand.js +2 -30
- package/dist/es/commands/StartImageScanCommand.js.map +1 -1
- package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js +2 -28
- package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -28
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UploadLayerPartCommand.js +2 -34
- package/dist/es/commands/UploadLayerPartCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +34 -377
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +40 -40
- package/dist/es/pagination/DescribeImageScanFindingsPaginator.js +16 -28
- package/dist/es/pagination/DescribeImageScanFindingsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeImagesPaginator.js +16 -28
- package/dist/es/pagination/DescribeImagesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeRepositoriesPaginator.js +16 -28
- package/dist/es/pagination/DescribeRepositoriesPaginator.js.map +1 -1
- package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js +16 -28
- package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js.map +1 -1
- package/dist/es/pagination/ListImagesPaginator.js +16 -28
- package/dist/es/pagination/ListImagesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +1080 -893
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForImageScanComplete.js +9 -18
- package/dist/es/waiters/waitForImageScanComplete.js.map +1 -1
- package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js +9 -18
- package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js.map +1 -1
- package/dist/types/ECR.d.ts +24 -15
- package/dist/types/ECRClient.d.ts +5 -2
- package/dist/types/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist/types/commands/DescribeImageReplicationStatusCommand.d.ts +35 -0
- package/dist/types/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/dist/types/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
- package/dist/types/commands/PutImageTagMutabilityCommand.d.ts +2 -2
- package/dist/types/commands/PutLifecyclePolicyCommand.d.ts +2 -2
- package/dist/types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist/types/commands/PutReplicationConfigurationCommand.d.ts +1 -1
- package/dist/types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist/types/commands/StartImageScanCommand.d.ts +3 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +210 -100
- package/dist/types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/ECR.d.ts +24 -15
- package/dist/types/ts3.4/ECRClient.d.ts +5 -2
- package/dist/types/ts3.4/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +35 -0
- package/dist/types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/StartImageScanCommand.d.ts +3 -3
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +210 -100
- package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/index.ts +1 -0
- package/models/models_0.ts +246 -108
- package/package.json +40 -40
- package/protocols/Aws_json1_1.ts +242 -10
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
|
@@ -8,6 +8,7 @@ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput }
|
|
|
8
8
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
9
9
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
10
10
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
11
|
+
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
11
12
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
12
13
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
13
14
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
@@ -42,6 +43,8 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
42
43
|
* Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
|
|
43
44
|
* permissions using IAM so that specific users or Amazon EC2 instances can access
|
|
44
45
|
* repositories and images.</p>
|
|
46
|
+
* <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
|
|
47
|
+
* <i>Amazon Web Services General Reference</i>.</p>
|
|
45
48
|
*/
|
|
46
49
|
export declare class ECR extends ECRClient {
|
|
47
50
|
/**
|
|
@@ -92,7 +95,7 @@ export declare class ECR extends ECRClient {
|
|
|
92
95
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
93
96
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
94
97
|
/**
|
|
95
|
-
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR
|
|
98
|
+
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
|
|
96
99
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
97
100
|
*/
|
|
98
101
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
@@ -124,6 +127,12 @@ export declare class ECR extends ECRClient {
|
|
|
124
127
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
125
128
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
126
129
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* <p>Returns the replication status for a specified image.</p>
|
|
132
|
+
*/
|
|
133
|
+
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageReplicationStatusCommandOutput>;
|
|
134
|
+
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
135
|
+
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
127
136
|
/**
|
|
128
137
|
* <p>Returns metadata about the images in a repository.</p>
|
|
129
138
|
* <note>
|
|
@@ -162,16 +171,16 @@ export declare class ECR extends ECRClient {
|
|
|
162
171
|
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
163
172
|
* <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
|
|
164
173
|
* decoded and used in a <code>docker login</code> command to authenticate to a registry.
|
|
165
|
-
* The
|
|
174
|
+
* The CLI offers an <code>get-login-password</code> command that simplifies the login
|
|
166
175
|
* process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
|
|
167
|
-
*
|
|
176
|
+
* authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
168
177
|
*/
|
|
169
178
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetAuthorizationTokenCommandOutput>;
|
|
170
179
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
171
180
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
172
181
|
/**
|
|
173
|
-
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You
|
|
174
|
-
*
|
|
182
|
+
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
183
|
+
* only get URLs for image layers that are referenced in an image.</p>
|
|
175
184
|
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
176
185
|
* that is not already cached.</p>
|
|
177
186
|
* <note>
|
|
@@ -260,23 +269,23 @@ export declare class ECR extends ECRClient {
|
|
|
260
269
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
261
270
|
/**
|
|
262
271
|
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
263
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image
|
|
264
|
-
*
|
|
272
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
273
|
+
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
265
274
|
*/
|
|
266
275
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, options?: __HttpHandlerOptions): Promise<PutImageTagMutabilityCommandOutput>;
|
|
267
276
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
268
277
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
269
278
|
/**
|
|
270
279
|
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
271
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle
|
|
272
|
-
*
|
|
280
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
281
|
+
* template</a>.</p>
|
|
273
282
|
*/
|
|
274
283
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecyclePolicyCommandOutput>;
|
|
275
284
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
276
285
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
277
286
|
/**
|
|
278
287
|
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
279
|
-
* <p>A registry policy is used to specify permissions for another
|
|
288
|
+
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
280
289
|
* when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
281
290
|
*/
|
|
282
291
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryPolicyCommandOutput>;
|
|
@@ -287,7 +296,7 @@ export declare class ECR extends ECRClient {
|
|
|
287
296
|
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
288
297
|
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
289
298
|
* your account for the replication process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html">Using
|
|
290
|
-
*
|
|
299
|
+
* service-linked roles for Amazon ECR</a> in the
|
|
291
300
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
292
301
|
* <note>
|
|
293
302
|
* <p>When configuring cross-account replication, the destination account must grant the
|
|
@@ -301,15 +310,15 @@ export declare class ECR extends ECRClient {
|
|
|
301
310
|
/**
|
|
302
311
|
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
303
312
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
304
|
-
*
|
|
313
|
+
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
305
314
|
*/
|
|
306
315
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<SetRepositoryPolicyCommandOutput>;
|
|
307
316
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
308
317
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
309
318
|
/**
|
|
310
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per
|
|
311
|
-
* an individual image. This limit includes if an image was scanned on initial
|
|
312
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image
|
|
319
|
+
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
320
|
+
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
321
|
+
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
313
322
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
314
323
|
*/
|
|
315
324
|
startImageScan(args: StartImageScanCommandInput, options?: __HttpHandlerOptions): Promise<StartImageScanCommandOutput>;
|
|
@@ -7,6 +7,7 @@ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput }
|
|
|
7
7
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
8
8
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
9
9
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
10
|
+
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
10
11
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
11
12
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
12
13
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
@@ -40,8 +41,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
40
41
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
41
42
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
42
43
|
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
43
|
-
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
44
|
-
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
44
|
+
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
45
|
+
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
45
46
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
46
47
|
/**
|
|
47
48
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -155,6 +156,8 @@ export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {
|
|
|
155
156
|
* Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
|
|
156
157
|
* permissions using IAM so that specific users or Amazon EC2 instances can access
|
|
157
158
|
* repositories and images.</p>
|
|
159
|
+
* <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
|
|
160
|
+
* <i>Amazon Web Services General Reference</i>.</p>
|
|
158
161
|
*/
|
|
159
162
|
export declare class ECRClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRClientResolvedConfig> {
|
|
160
163
|
/**
|
|
@@ -7,7 +7,7 @@ export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {
|
|
|
7
7
|
export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR
|
|
10
|
+
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
|
|
11
11
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { DescribeImageReplicationStatusRequest, DescribeImageReplicationStatusResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export interface DescribeImageReplicationStatusCommandInput extends DescribeImageReplicationStatusRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeImageReplicationStatusCommandOutput extends DescribeImageReplicationStatusResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the replication status for a specified image.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, DescribeImageReplicationStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, DescribeImageReplicationStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new DescribeImageReplicationStatusCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeImageReplicationStatusCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeImageReplicationStatusCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeImageReplicationStatusCommand extends $Command<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeImageReplicationStatusCommandInput;
|
|
28
|
+
constructor(input: DescribeImageReplicationStatusCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -12,9 +12,9 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
12
12
|
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
13
13
|
* <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
|
|
14
14
|
* decoded and used in a <code>docker login</code> command to authenticate to a registry.
|
|
15
|
-
* The
|
|
15
|
+
* The CLI offers an <code>get-login-password</code> command that simplifies the login
|
|
16
16
|
* process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
|
|
17
|
-
*
|
|
17
|
+
* authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -7,8 +7,8 @@ export interface GetDownloadUrlForLayerCommandInput extends GetDownloadUrlForLay
|
|
|
7
7
|
export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLayerResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You
|
|
11
|
-
*
|
|
10
|
+
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
11
|
+
* only get URLs for image layers that are referenced in an image.</p>
|
|
12
12
|
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
13
13
|
* that is not already cached.</p>
|
|
14
14
|
* <note>
|
|
@@ -8,8 +8,8 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
11
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image
|
|
12
|
-
*
|
|
11
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
12
|
+
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -8,8 +8,8 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
11
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle
|
|
12
|
-
*
|
|
11
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
12
|
+
* template</a>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
11
|
-
* <p>A registry policy is used to specify permissions for another
|
|
11
|
+
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
12
12
|
* when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,7 +11,7 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
|
|
|
11
11
|
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
12
12
|
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
13
13
|
* your account for the replication process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html">Using
|
|
14
|
-
*
|
|
14
|
+
* service-linked roles for Amazon ECR</a> in the
|
|
15
15
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
16
16
|
* <note>
|
|
17
17
|
* <p>When configuring cross-account replication, the destination account must grant the
|
|
@@ -9,7 +9,7 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
11
11
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
12
|
-
*
|
|
12
|
+
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -7,9 +7,9 @@ export interface StartImageScanCommandInput extends StartImageScanRequest {
|
|
|
7
7
|
export interface StartImageScanCommandOutput extends StartImageScanResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per
|
|
11
|
-
* an individual image. This limit includes if an image was scanned on initial
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image
|
|
10
|
+
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
11
|
+
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
12
|
+
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
13
13
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,6 +9,7 @@ export * from "./commands/DeleteLifecyclePolicyCommand";
|
|
|
9
9
|
export * from "./commands/DeleteRegistryPolicyCommand";
|
|
10
10
|
export * from "./commands/DeleteRepositoryCommand";
|
|
11
11
|
export * from "./commands/DeleteRepositoryPolicyCommand";
|
|
12
|
+
export * from "./commands/DescribeImageReplicationStatusCommand";
|
|
12
13
|
export * from "./commands/DescribeImagesCommand";
|
|
13
14
|
export * from "./pagination/DescribeImagesPaginator";
|
|
14
15
|
export * from "./commands/DescribeImageScanFindingsCommand";
|