@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
package/models/models_0.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException
|
|
|
2
2
|
|
|
3
3
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
4
4
|
/**
|
|
5
|
-
* <p>The
|
|
5
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
|
|
6
6
|
* check. If you do not specify a registry, the default registry is assumed.</p>
|
|
7
7
|
*/
|
|
8
8
|
registryId?: string;
|
|
@@ -190,7 +190,7 @@ export namespace ServerException {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* <p>An object with identifying information for an Amazon ECR
|
|
193
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
194
194
|
*/
|
|
195
195
|
export interface ImageIdentifier {
|
|
196
196
|
/**
|
|
@@ -219,7 +219,7 @@ export namespace ImageIdentifier {
|
|
|
219
219
|
*/
|
|
220
220
|
export interface BatchDeleteImageRequest {
|
|
221
221
|
/**
|
|
222
|
-
* <p>The
|
|
222
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the image to delete.
|
|
223
223
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
224
224
|
*/
|
|
225
225
|
registryId?: string;
|
|
@@ -308,8 +308,8 @@ export namespace BatchDeleteImageResponse {
|
|
|
308
308
|
|
|
309
309
|
export interface BatchGetImageRequest {
|
|
310
310
|
/**
|
|
311
|
-
* <p>The
|
|
312
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
311
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the images to
|
|
312
|
+
* describe. If you do not specify a registry, the default registry is assumed.</p>
|
|
313
313
|
*/
|
|
314
314
|
registryId?: string;
|
|
315
315
|
|
|
@@ -349,7 +349,7 @@ export namespace BatchGetImageRequest {
|
|
|
349
349
|
*/
|
|
350
350
|
export interface Image {
|
|
351
351
|
/**
|
|
352
|
-
* <p>The
|
|
352
|
+
* <p>The Amazon Web Services account ID associated with the registry containing the image.</p>
|
|
353
353
|
*/
|
|
354
354
|
registryId?: string;
|
|
355
355
|
|
|
@@ -406,7 +406,7 @@ export namespace BatchGetImageResponse {
|
|
|
406
406
|
|
|
407
407
|
export interface CompleteLayerUploadRequest {
|
|
408
408
|
/**
|
|
409
|
-
* <p>The
|
|
409
|
+
* <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
|
|
410
410
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
411
411
|
*/
|
|
412
412
|
registryId?: string;
|
|
@@ -519,7 +519,7 @@ export interface KmsException extends __SmithyException, $MetadataBearer {
|
|
|
519
519
|
$fault: "client";
|
|
520
520
|
message?: string;
|
|
521
521
|
/**
|
|
522
|
-
* <p>The error code returned by
|
|
522
|
+
* <p>The error code returned by KMS.</p>
|
|
523
523
|
*/
|
|
524
524
|
kmsError?: string;
|
|
525
525
|
}
|
|
@@ -610,33 +610,33 @@ export enum EncryptionType {
|
|
|
610
610
|
* keys which encrypts your data at rest using an AES-256 encryption algorithm. This does
|
|
611
611
|
* not require any action on your part.</p>
|
|
612
612
|
* <p>For more control over the encryption of the contents of your repository, you can use
|
|
613
|
-
* server-side encryption with
|
|
614
|
-
*
|
|
613
|
+
* server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
|
|
614
|
+
* images. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
|
|
615
615
|
* rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
616
616
|
*/
|
|
617
617
|
export interface EncryptionConfiguration {
|
|
618
618
|
/**
|
|
619
619
|
* <p>The encryption type to use.</p>
|
|
620
620
|
* <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
|
|
621
|
-
* be encrypted using server-side encryption with
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting
|
|
625
|
-
*
|
|
621
|
+
* be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
|
|
622
|
+
* use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key
|
|
623
|
+
* for Amazon ECR, or specify your own KMS key, which you already created. For more
|
|
624
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
|
|
625
|
+
* encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
|
|
626
626
|
* <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
|
|
627
627
|
* <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
|
|
628
628
|
* with Amazon S3-managed encryption keys which encrypts the images in the repository using an
|
|
629
|
-
* AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting
|
|
630
|
-
*
|
|
631
|
-
*
|
|
629
|
+
* AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
630
|
+
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
631
|
+
* <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
|
|
632
632
|
*/
|
|
633
633
|
encryptionType: EncryptionType | string | undefined;
|
|
634
634
|
|
|
635
635
|
/**
|
|
636
|
-
* <p>If you use the <code>KMS</code> encryption type, specify the
|
|
637
|
-
* encryption. The alias, key ID, or full ARN of the
|
|
638
|
-
* exist in the same Region as the repository. If no key is specified, the default
|
|
639
|
-
* managed
|
|
636
|
+
* <p>If you use the <code>KMS</code> encryption type, specify the KMS key to use for
|
|
637
|
+
* encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key
|
|
638
|
+
* must exist in the same Region as the repository. If no key is specified, the default
|
|
639
|
+
* Amazon Web Services managed KMS key for Amazon ECR will be used.</p>
|
|
640
640
|
*/
|
|
641
641
|
kmsKey?: string;
|
|
642
642
|
}
|
|
@@ -658,7 +658,7 @@ export interface ImageScanningConfiguration {
|
|
|
658
658
|
* <p>The setting that determines whether images are scanned after being pushed to a
|
|
659
659
|
* repository. If set to <code>true</code>, images will be scanned after being pushed. If
|
|
660
660
|
* this parameter is not specified, it will default to <code>false</code> and images will
|
|
661
|
-
* not be scanned unless a scan is manually started with the <a>
|
|
661
|
+
* not be scanned unless a scan is manually started with the <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html">API_StartImageScan</a> API.</p>
|
|
662
662
|
*/
|
|
663
663
|
scanOnPush?: boolean;
|
|
664
664
|
}
|
|
@@ -707,6 +707,12 @@ export namespace Tag {
|
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
export interface CreateRepositoryRequest {
|
|
710
|
+
/**
|
|
711
|
+
* <p>The AWS account ID associated with the registry to create the repository.
|
|
712
|
+
* If you do not specify a registry, the default registry is assumed.</p>
|
|
713
|
+
*/
|
|
714
|
+
registryId?: string;
|
|
715
|
+
|
|
710
716
|
/**
|
|
711
717
|
* <p>The name to use for the repository. The repository name may be specified on its own
|
|
712
718
|
* (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
|
|
@@ -758,13 +764,13 @@ export namespace CreateRepositoryRequest {
|
|
|
758
764
|
export interface Repository {
|
|
759
765
|
/**
|
|
760
766
|
* <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
|
|
761
|
-
* repository,
|
|
767
|
+
* repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
|
|
762
768
|
* For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
|
|
763
769
|
*/
|
|
764
770
|
repositoryArn?: string;
|
|
765
771
|
|
|
766
772
|
/**
|
|
767
|
-
* <p>The
|
|
773
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.</p>
|
|
768
774
|
*/
|
|
769
775
|
registryId?: string;
|
|
770
776
|
|
|
@@ -847,7 +853,7 @@ export namespace InvalidTagParameterException {
|
|
|
847
853
|
|
|
848
854
|
/**
|
|
849
855
|
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
850
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR
|
|
856
|
+
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
851
857
|
* the Amazon Elastic Container Registry User Guide.</p>
|
|
852
858
|
*/
|
|
853
859
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
@@ -910,7 +916,7 @@ export namespace TooManyTagsException {
|
|
|
910
916
|
|
|
911
917
|
export interface DeleteLifecyclePolicyRequest {
|
|
912
918
|
/**
|
|
913
|
-
* <p>The
|
|
919
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
914
920
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
915
921
|
*/
|
|
916
922
|
registryId?: string;
|
|
@@ -1030,9 +1036,27 @@ export namespace RegistryPolicyNotFoundException {
|
|
|
1030
1036
|
});
|
|
1031
1037
|
}
|
|
1032
1038
|
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>There was an exception validating this request.</p>
|
|
1041
|
+
*/
|
|
1042
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
1043
|
+
name: "ValidationException";
|
|
1044
|
+
$fault: "client";
|
|
1045
|
+
message?: string;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
export namespace ValidationException {
|
|
1049
|
+
/**
|
|
1050
|
+
* @internal
|
|
1051
|
+
*/
|
|
1052
|
+
export const filterSensitiveLog = (obj: ValidationException): any => ({
|
|
1053
|
+
...obj,
|
|
1054
|
+
});
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1033
1057
|
export interface DeleteRepositoryRequest {
|
|
1034
1058
|
/**
|
|
1035
|
-
* <p>The
|
|
1059
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository to
|
|
1036
1060
|
* delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
1037
1061
|
*/
|
|
1038
1062
|
registryId?: string;
|
|
@@ -1097,8 +1121,8 @@ export namespace RepositoryNotEmptyException {
|
|
|
1097
1121
|
|
|
1098
1122
|
export interface DeleteRepositoryPolicyRequest {
|
|
1099
1123
|
/**
|
|
1100
|
-
* <p>The
|
|
1101
|
-
* delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
1124
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository policy
|
|
1125
|
+
* to delete. If you do not specify a registry, the default registry is assumed.</p>
|
|
1102
1126
|
*/
|
|
1103
1127
|
registryId?: string;
|
|
1104
1128
|
|
|
@@ -1166,6 +1190,116 @@ export namespace RepositoryPolicyNotFoundException {
|
|
|
1166
1190
|
});
|
|
1167
1191
|
}
|
|
1168
1192
|
|
|
1193
|
+
export interface DescribeImageReplicationStatusRequest {
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The name of the repository that the image is in.</p>
|
|
1196
|
+
*/
|
|
1197
|
+
repositoryName: string | undefined;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1201
|
+
*/
|
|
1202
|
+
imageId: ImageIdentifier | undefined;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* <p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>
|
|
1206
|
+
*/
|
|
1207
|
+
registryId?: string;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export namespace DescribeImageReplicationStatusRequest {
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
*/
|
|
1214
|
+
export const filterSensitiveLog = (obj: DescribeImageReplicationStatusRequest): any => ({
|
|
1215
|
+
...obj,
|
|
1216
|
+
});
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
export enum ReplicationStatus {
|
|
1220
|
+
COMPLETE = "COMPLETE",
|
|
1221
|
+
FAILED = "FAILED",
|
|
1222
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* <p>The status of the replication process for an image.</p>
|
|
1227
|
+
*/
|
|
1228
|
+
export interface ImageReplicationStatus {
|
|
1229
|
+
/**
|
|
1230
|
+
* <p>The destination Region for the image replication.</p>
|
|
1231
|
+
*/
|
|
1232
|
+
region?: string;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The AWS account ID associated with the registry to which the image belongs.</p>
|
|
1236
|
+
*/
|
|
1237
|
+
registryId?: string;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* <p>The image replication status.</p>
|
|
1241
|
+
*/
|
|
1242
|
+
status?: ReplicationStatus | string;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>The failure code for a replication that has failed.</p>
|
|
1246
|
+
*/
|
|
1247
|
+
failureCode?: string;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
export namespace ImageReplicationStatus {
|
|
1251
|
+
/**
|
|
1252
|
+
* @internal
|
|
1253
|
+
*/
|
|
1254
|
+
export const filterSensitiveLog = (obj: ImageReplicationStatus): any => ({
|
|
1255
|
+
...obj,
|
|
1256
|
+
});
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
export interface DescribeImageReplicationStatusResponse {
|
|
1260
|
+
/**
|
|
1261
|
+
* <p>The repository name associated with the request.</p>
|
|
1262
|
+
*/
|
|
1263
|
+
repositoryName?: string;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1267
|
+
*/
|
|
1268
|
+
imageId?: ImageIdentifier;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>The replication status details for the images in the specified repository.</p>
|
|
1272
|
+
*/
|
|
1273
|
+
replicationStatuses?: ImageReplicationStatus[];
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export namespace DescribeImageReplicationStatusResponse {
|
|
1277
|
+
/**
|
|
1278
|
+
* @internal
|
|
1279
|
+
*/
|
|
1280
|
+
export const filterSensitiveLog = (obj: DescribeImageReplicationStatusResponse): any => ({
|
|
1281
|
+
...obj,
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* <p>The image requested does not exist in the specified repository.</p>
|
|
1287
|
+
*/
|
|
1288
|
+
export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1289
|
+
name: "ImageNotFoundException";
|
|
1290
|
+
$fault: "client";
|
|
1291
|
+
message?: string;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
export namespace ImageNotFoundException {
|
|
1295
|
+
/**
|
|
1296
|
+
* @internal
|
|
1297
|
+
*/
|
|
1298
|
+
export const filterSensitiveLog = (obj: ImageNotFoundException): any => ({
|
|
1299
|
+
...obj,
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1169
1303
|
export enum TagStatus {
|
|
1170
1304
|
ANY = "ANY",
|
|
1171
1305
|
TAGGED = "TAGGED",
|
|
@@ -1196,8 +1330,8 @@ export namespace DescribeImagesFilter {
|
|
|
1196
1330
|
|
|
1197
1331
|
export interface DescribeImagesRequest {
|
|
1198
1332
|
/**
|
|
1199
|
-
* <p>The
|
|
1200
|
-
* to describe images. If you do not specify a registry, the default registry is assumed.</p>
|
|
1333
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1334
|
+
* which to describe images. If you do not specify a registry, the default registry is assumed.</p>
|
|
1201
1335
|
*/
|
|
1202
1336
|
registryId?: string;
|
|
1203
1337
|
|
|
@@ -1324,7 +1458,7 @@ export namespace ImageScanStatus {
|
|
|
1324
1458
|
*/
|
|
1325
1459
|
export interface ImageDetail {
|
|
1326
1460
|
/**
|
|
1327
|
-
* <p>The
|
|
1461
|
+
* <p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>
|
|
1328
1462
|
*/
|
|
1329
1463
|
registryId?: string;
|
|
1330
1464
|
|
|
@@ -1418,29 +1552,10 @@ export namespace DescribeImagesResponse {
|
|
|
1418
1552
|
});
|
|
1419
1553
|
}
|
|
1420
1554
|
|
|
1421
|
-
/**
|
|
1422
|
-
* <p>The image requested does not exist in the specified repository.</p>
|
|
1423
|
-
*/
|
|
1424
|
-
export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1425
|
-
name: "ImageNotFoundException";
|
|
1426
|
-
$fault: "client";
|
|
1427
|
-
message?: string;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
export namespace ImageNotFoundException {
|
|
1431
|
-
/**
|
|
1432
|
-
* @internal
|
|
1433
|
-
*/
|
|
1434
|
-
export const filterSensitiveLog = (obj: ImageNotFoundException): any => ({
|
|
1435
|
-
...obj,
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
1555
|
export interface DescribeImageScanFindingsRequest {
|
|
1440
1556
|
/**
|
|
1441
|
-
* <p>The
|
|
1442
|
-
* which to describe the image scan findings for. If you do not specify a registry, the
|
|
1443
|
-
* default registry is assumed.</p>
|
|
1557
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1558
|
+
* which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
|
|
1444
1559
|
*/
|
|
1445
1560
|
registryId?: string;
|
|
1446
1561
|
|
|
@@ -1450,7 +1565,7 @@ export interface DescribeImageScanFindingsRequest {
|
|
|
1450
1565
|
repositoryName: string | undefined;
|
|
1451
1566
|
|
|
1452
1567
|
/**
|
|
1453
|
-
* <p>An object with identifying information for an Amazon ECR
|
|
1568
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1454
1569
|
*/
|
|
1455
1570
|
imageId: ImageIdentifier | undefined;
|
|
1456
1571
|
|
|
@@ -1595,7 +1710,7 @@ export interface DescribeImageScanFindingsResponse {
|
|
|
1595
1710
|
repositoryName?: string;
|
|
1596
1711
|
|
|
1597
1712
|
/**
|
|
1598
|
-
* <p>An object with identifying information for an Amazon ECR
|
|
1713
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1599
1714
|
*/
|
|
1600
1715
|
imageId?: ImageIdentifier;
|
|
1601
1716
|
|
|
@@ -1659,16 +1774,17 @@ export namespace DescribeRegistryRequest {
|
|
|
1659
1774
|
}
|
|
1660
1775
|
|
|
1661
1776
|
/**
|
|
1662
|
-
* <p>An array of objects representing the
|
|
1777
|
+
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
1663
1778
|
*/
|
|
1664
1779
|
export interface ReplicationDestination {
|
|
1665
1780
|
/**
|
|
1666
|
-
* <p>
|
|
1781
|
+
* <p>The Region to replicate to.</p>
|
|
1667
1782
|
*/
|
|
1668
1783
|
region: string | undefined;
|
|
1669
1784
|
|
|
1670
1785
|
/**
|
|
1671
|
-
* <p>The account ID of the
|
|
1786
|
+
* <p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
|
|
1787
|
+
* cross-Region replication within your own registry, specify your own account ID.</p>
|
|
1672
1788
|
*/
|
|
1673
1789
|
registryId: string | undefined;
|
|
1674
1790
|
}
|
|
@@ -1682,16 +1798,57 @@ export namespace ReplicationDestination {
|
|
|
1682
1798
|
});
|
|
1683
1799
|
}
|
|
1684
1800
|
|
|
1801
|
+
export enum RepositoryFilterType {
|
|
1802
|
+
PREFIX_MATCH = "PREFIX_MATCH",
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1685
1805
|
/**
|
|
1686
|
-
* <p>
|
|
1687
|
-
*
|
|
1688
|
-
*
|
|
1806
|
+
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
1807
|
+
* replication rule provides a method for controlling which repositories in a private
|
|
1808
|
+
* registry are replicated. If no repository filter is specified, all images in the
|
|
1809
|
+
* repository are replicated.</p>
|
|
1810
|
+
*/
|
|
1811
|
+
export interface RepositoryFilter {
|
|
1812
|
+
/**
|
|
1813
|
+
* <p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is
|
|
1814
|
+
* specified, this value is required and should be the repository name prefix to configure
|
|
1815
|
+
* replication for.</p>
|
|
1816
|
+
*/
|
|
1817
|
+
filter: string | undefined;
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* <p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,
|
|
1821
|
+
* which is a repository name prefix specified with the <code>filter</code>
|
|
1822
|
+
* parameter.</p>
|
|
1823
|
+
*/
|
|
1824
|
+
filterType: RepositoryFilterType | string | undefined;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
export namespace RepositoryFilter {
|
|
1828
|
+
/**
|
|
1829
|
+
* @internal
|
|
1830
|
+
*/
|
|
1831
|
+
export const filterSensitiveLog = (obj: RepositoryFilter): any => ({
|
|
1832
|
+
...obj,
|
|
1833
|
+
});
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* <p>An array of objects representing the replication destinations and repository filters
|
|
1838
|
+
* for a replication configuration.</p>
|
|
1689
1839
|
*/
|
|
1690
1840
|
export interface ReplicationRule {
|
|
1691
1841
|
/**
|
|
1692
|
-
* <p>An array of objects representing the
|
|
1842
|
+
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
1693
1843
|
*/
|
|
1694
1844
|
destinations: ReplicationDestination[] | undefined;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* <p>An array of objects representing the filters for a replication rule. Specifying a
|
|
1848
|
+
* repository filter for a replication rule provides a method for controlling which
|
|
1849
|
+
* repositories in a private registry are replicated.</p>
|
|
1850
|
+
*/
|
|
1851
|
+
repositoryFilters?: RepositoryFilter[];
|
|
1695
1852
|
}
|
|
1696
1853
|
|
|
1697
1854
|
export namespace ReplicationRule {
|
|
@@ -1708,9 +1865,8 @@ export namespace ReplicationRule {
|
|
|
1708
1865
|
*/
|
|
1709
1866
|
export interface ReplicationConfiguration {
|
|
1710
1867
|
/**
|
|
1711
|
-
* <p>An array of objects representing the replication
|
|
1712
|
-
*
|
|
1713
|
-
* rule may contain one or more replication destinations.</p>
|
|
1868
|
+
* <p>An array of objects representing the replication destinations and repository filters
|
|
1869
|
+
* for a replication configuration.</p>
|
|
1714
1870
|
*/
|
|
1715
1871
|
rules: ReplicationRule[] | undefined;
|
|
1716
1872
|
}
|
|
@@ -1745,27 +1901,9 @@ export namespace DescribeRegistryResponse {
|
|
|
1745
1901
|
});
|
|
1746
1902
|
}
|
|
1747
1903
|
|
|
1748
|
-
/**
|
|
1749
|
-
* <p>There was an exception validating this request.</p>
|
|
1750
|
-
*/
|
|
1751
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
1752
|
-
name: "ValidationException";
|
|
1753
|
-
$fault: "client";
|
|
1754
|
-
message?: string;
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
export namespace ValidationException {
|
|
1758
|
-
/**
|
|
1759
|
-
* @internal
|
|
1760
|
-
*/
|
|
1761
|
-
export const filterSensitiveLog = (obj: ValidationException): any => ({
|
|
1762
|
-
...obj,
|
|
1763
|
-
});
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
1904
|
export interface DescribeRepositoriesRequest {
|
|
1767
1905
|
/**
|
|
1768
|
-
* <p>The
|
|
1906
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
|
|
1769
1907
|
* described. If you do not specify a registry, the default registry is assumed.</p>
|
|
1770
1908
|
*/
|
|
1771
1909
|
registryId?: string;
|
|
@@ -1843,7 +1981,7 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1843
1981
|
/**
|
|
1844
1982
|
* @deprecated
|
|
1845
1983
|
*
|
|
1846
|
-
* <p>A list of
|
|
1984
|
+
* <p>A list of Amazon Web Services account IDs that are associated with the registries for which to get
|
|
1847
1985
|
* AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
|
|
1848
1986
|
*/
|
|
1849
1987
|
registryIds?: string[];
|
|
@@ -1913,7 +2051,7 @@ export namespace GetAuthorizationTokenResponse {
|
|
|
1913
2051
|
|
|
1914
2052
|
export interface GetDownloadUrlForLayerRequest {
|
|
1915
2053
|
/**
|
|
1916
|
-
* <p>The
|
|
2054
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the image layer to
|
|
1917
2055
|
* download. If you do not specify a registry, the default registry is assumed.</p>
|
|
1918
2056
|
*/
|
|
1919
2057
|
registryId?: string;
|
|
@@ -2005,7 +2143,7 @@ export namespace LayersNotFoundException {
|
|
|
2005
2143
|
|
|
2006
2144
|
export interface GetLifecyclePolicyRequest {
|
|
2007
2145
|
/**
|
|
2008
|
-
* <p>The
|
|
2146
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2009
2147
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2010
2148
|
*/
|
|
2011
2149
|
registryId?: string;
|
|
@@ -2077,7 +2215,7 @@ export namespace LifecyclePolicyPreviewFilter {
|
|
|
2077
2215
|
|
|
2078
2216
|
export interface GetLifecyclePolicyPreviewRequest {
|
|
2079
2217
|
/**
|
|
2080
|
-
* <p>The
|
|
2218
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2081
2219
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2082
2220
|
*/
|
|
2083
2221
|
registryId?: string;
|
|
@@ -2324,7 +2462,7 @@ export namespace GetRegistryPolicyResponse {
|
|
|
2324
2462
|
|
|
2325
2463
|
export interface GetRepositoryPolicyRequest {
|
|
2326
2464
|
/**
|
|
2327
|
-
* <p>The
|
|
2465
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2328
2466
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2329
2467
|
*/
|
|
2330
2468
|
registryId?: string;
|
|
@@ -2372,8 +2510,8 @@ export namespace GetRepositoryPolicyResponse {
|
|
|
2372
2510
|
|
|
2373
2511
|
export interface InitiateLayerUploadRequest {
|
|
2374
2512
|
/**
|
|
2375
|
-
* <p>The
|
|
2376
|
-
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2513
|
+
* <p>The Amazon Web Services account ID associated with the registry to which you intend to upload
|
|
2514
|
+
* layers. If you do not specify a registry, the default registry is assumed.</p>
|
|
2377
2515
|
*/
|
|
2378
2516
|
registryId?: string;
|
|
2379
2517
|
|
|
@@ -2437,8 +2575,8 @@ export namespace ListImagesFilter {
|
|
|
2437
2575
|
|
|
2438
2576
|
export interface ListImagesRequest {
|
|
2439
2577
|
/**
|
|
2440
|
-
* <p>The
|
|
2441
|
-
* to list images. If you do not specify a registry, the default registry is assumed.</p>
|
|
2578
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2579
|
+
* which to list images. If you do not specify a registry, the default registry is assumed.</p>
|
|
2442
2580
|
*/
|
|
2443
2581
|
registryId?: string;
|
|
2444
2582
|
|
|
@@ -2608,8 +2746,8 @@ export namespace ImageTagAlreadyExistsException {
|
|
|
2608
2746
|
|
|
2609
2747
|
export interface PutImageRequest {
|
|
2610
2748
|
/**
|
|
2611
|
-
* <p>The
|
|
2612
|
-
* to put the image. If you do not specify a registry, the default registry is assumed.</p>
|
|
2749
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2750
|
+
* which to put the image. If you do not specify a registry, the default registry is assumed.</p>
|
|
2613
2751
|
*/
|
|
2614
2752
|
registryId?: string;
|
|
2615
2753
|
|
|
@@ -2687,7 +2825,7 @@ export namespace ReferencedImagesNotFoundException {
|
|
|
2687
2825
|
|
|
2688
2826
|
export interface PutImageScanningConfigurationRequest {
|
|
2689
2827
|
/**
|
|
2690
|
-
* <p>The
|
|
2828
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2691
2829
|
* which to update the image scanning configuration setting.
|
|
2692
2830
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2693
2831
|
*/
|
|
@@ -2744,8 +2882,8 @@ export namespace PutImageScanningConfigurationResponse {
|
|
|
2744
2882
|
|
|
2745
2883
|
export interface PutImageTagMutabilityRequest {
|
|
2746
2884
|
/**
|
|
2747
|
-
* <p>The
|
|
2748
|
-
* to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.</p>
|
|
2885
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2886
|
+
* which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.</p>
|
|
2749
2887
|
*/
|
|
2750
2888
|
registryId?: string;
|
|
2751
2889
|
|
|
@@ -2801,7 +2939,7 @@ export namespace PutImageTagMutabilityResponse {
|
|
|
2801
2939
|
|
|
2802
2940
|
export interface PutLifecyclePolicyRequest {
|
|
2803
2941
|
/**
|
|
2804
|
-
* <p>The
|
|
2942
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you
|
|
2805
2943
|
* do
not specify a registry, the default registry is assumed.</p>
|
|
2806
2944
|
*/
|
|
2807
2945
|
registryId?: string;
|
|
@@ -2925,7 +3063,7 @@ export namespace PutReplicationConfigurationResponse {
|
|
|
2925
3063
|
|
|
2926
3064
|
export interface SetRepositoryPolicyRequest {
|
|
2927
3065
|
/**
|
|
2928
|
-
* <p>The
|
|
3066
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
2929
3067
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
2930
3068
|
*/
|
|
2931
3069
|
registryId?: string;
|
|
@@ -2937,8 +3075,8 @@ export interface SetRepositoryPolicyRequest {
|
|
|
2937
3075
|
|
|
2938
3076
|
/**
|
|
2939
3077
|
* <p>The JSON repository policy text to apply to the repository. For more information, see
|
|
2940
|
-
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR
|
|
2941
|
-
*
|
|
3078
|
+
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR repository
|
|
3079
|
+
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
2942
3080
|
*/
|
|
2943
3081
|
policyText: string | undefined;
|
|
2944
3082
|
|
|
@@ -2987,7 +3125,7 @@ export namespace SetRepositoryPolicyResponse {
|
|
|
2987
3125
|
|
|
2988
3126
|
export interface StartImageScanRequest {
|
|
2989
3127
|
/**
|
|
2990
|
-
* <p>The
|
|
3128
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
2991
3129
|
* which to start an image scan request. If you do not specify a registry, the default registry is assumed.</p>
|
|
2992
3130
|
*/
|
|
2993
3131
|
registryId?: string;
|
|
@@ -2998,7 +3136,7 @@ export interface StartImageScanRequest {
|
|
|
2998
3136
|
repositoryName: string | undefined;
|
|
2999
3137
|
|
|
3000
3138
|
/**
|
|
3001
|
-
* <p>An object with identifying information for an Amazon ECR
|
|
3139
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
3002
3140
|
*/
|
|
3003
3141
|
imageId: ImageIdentifier | undefined;
|
|
3004
3142
|
}
|
|
@@ -3024,7 +3162,7 @@ export interface StartImageScanResponse {
|
|
|
3024
3162
|
repositoryName?: string;
|
|
3025
3163
|
|
|
3026
3164
|
/**
|
|
3027
|
-
* <p>An object with identifying information for an Amazon ECR
|
|
3165
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
3028
3166
|
*/
|
|
3029
3167
|
imageId?: ImageIdentifier;
|
|
3030
3168
|
|
|
@@ -3082,7 +3220,7 @@ export namespace LifecyclePolicyPreviewInProgressException {
|
|
|
3082
3220
|
|
|
3083
3221
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
3084
3222
|
/**
|
|
3085
|
-
* <p>The
|
|
3223
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
3086
3224
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
3087
3225
|
*/
|
|
3088
3226
|
registryId?: string;
|
|
@@ -3252,7 +3390,7 @@ export namespace InvalidLayerPartException {
|
|
|
3252
3390
|
|
|
3253
3391
|
export interface UploadLayerPartRequest {
|
|
3254
3392
|
/**
|
|
3255
|
-
* <p>The
|
|
3393
|
+
* <p>The Amazon Web Services account ID associated with the registry to which you are uploading layer
|
|
3256
3394
|
* parts. If you do not specify a registry, the default registry is assumed.</p>
|
|
3257
3395
|
*/
|
|
3258
3396
|
registryId?: string;
|