@aws-sdk/client-ecr 3.408.0 → 3.410.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.
Files changed (54) hide show
  1. package/dist-cjs/endpoint/ruleset.js +2 -2
  2. package/dist-cjs/protocols/Aws_json1_1.js +15 -0
  3. package/dist-cjs/runtimeExtensions.js +3 -0
  4. package/dist-es/endpoint/ruleset.js +2 -2
  5. package/dist-es/protocols/Aws_json1_1.js +15 -0
  6. package/dist-es/runtimeExtensions.js +3 -0
  7. package/dist-types/ECR.d.ts +2 -2
  8. package/dist-types/ECRClient.d.ts +2 -2
  9. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +4 -4
  10. package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -3
  11. package/dist-types/commands/BatchGetImageCommand.d.ts +2 -2
  12. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +3 -3
  13. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -6
  15. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
  20. package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -2
  22. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
  23. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
  24. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -0
  25. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +6 -3
  26. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +3 -3
  27. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +2 -2
  28. package/dist-types/commands/ListImagesCommand.d.ts +2 -2
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/PutImageCommand.d.ts +2 -3
  31. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
  32. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +2 -2
  33. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -0
  34. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
  35. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +6 -6
  36. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +4 -4
  37. package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
  38. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +4 -1
  39. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  40. package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -2
  41. package/dist-types/extensionConfiguration.d.ts +2 -1
  42. package/dist-types/index.d.ts +2 -2
  43. package/dist-types/models/models_0.d.ts +26 -23
  44. package/dist-types/runtimeConfig.browser.d.ts +4 -1
  45. package/dist-types/runtimeConfig.d.ts +4 -1
  46. package/dist-types/runtimeConfig.native.d.ts +4 -1
  47. package/dist-types/runtimeExtensions.d.ts +1 -1
  48. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  49. package/dist-types/ts3.4/models/models_0.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  53. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  54. package/package.json +29 -29
@@ -38,8 +38,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
38
38
  * // { // ListTagsForResourceResponse
39
39
  * // tags: [ // TagList
40
40
  * // { // Tag
41
- * // Key: "STRING_VALUE",
42
- * // Value: "STRING_VALUE",
41
+ * // Key: "STRING_VALUE", // required
42
+ * // Value: "STRING_VALUE", // required
43
43
  * // },
44
44
  * // ],
45
45
  * // };
@@ -24,11 +24,10 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates or updates the image manifest and tags associated with an image.</p>
27
- * <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
27
+ * <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
28
28
  * is called once to create or update the image manifest and the tags associated with the
29
29
  * image.</p>
30
- *
31
- * <note>
30
+ * <note>
32
31
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
33
32
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
34
33
  * </note>
@@ -27,8 +27,8 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
27
27
  * <p>The <code>PutImageScanningConfiguration</code> API is being deprecated, in favor
28
28
  * of specifying the image scanning configuration at the registry level. For more
29
29
  * information, see <a>PutRegistryScanningConfiguration</a>.</p>
30
- * </important>
31
- * <p>Updates the image scanning configuration for the specified repository.</p>
30
+ * </important>
31
+ * <p>Updates the image scanning configuration for the specified repository.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -35,14 +35,14 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
35
35
  * const input = { // PutImageTagMutabilityRequest
36
36
  * registryId: "STRING_VALUE",
37
37
  * repositoryName: "STRING_VALUE", // required
38
- * imageTagMutability: "STRING_VALUE", // required
38
+ * imageTagMutability: "MUTABLE" || "IMMUTABLE", // required
39
39
  * };
40
40
  * const command = new PutImageTagMutabilityCommand(input);
41
41
  * const response = await client.send(command);
42
42
  * // { // PutImageTagMutabilityResponse
43
43
  * // registryId: "STRING_VALUE",
44
44
  * // repositoryName: "STRING_VALUE",
45
- * // imageTagMutability: "STRING_VALUE",
45
+ * // imageTagMutability: "MUTABLE" || "IMMUTABLE",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -64,6 +64,9 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
64
64
  * @throws {@link ServerException} (server fault)
65
65
  * <p>These errors are usually caused by a server-side issue.</p>
66
66
  *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>There was an exception validating this request.</p>
69
+ *
67
70
  * @throws {@link ECRServiceException}
68
71
  * <p>Base exception class for all service exceptions from ECR service.</p>
69
72
  *
@@ -24,7 +24,7 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates or updates the permissions policy for your registry.</p>
27
- * <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
27
+ * <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
28
28
  * 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>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
@@ -31,14 +31,14 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
31
31
  * // const { ECRClient, PutRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
32
32
  * const client = new ECRClient(config);
33
33
  * const input = { // PutRegistryScanningConfigurationRequest
34
- * scanType: "STRING_VALUE",
34
+ * scanType: "BASIC" || "ENHANCED",
35
35
  * rules: [ // RegistryScanningRuleList
36
36
  * { // RegistryScanningRule
37
- * scanFrequency: "STRING_VALUE", // required
37
+ * scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required
38
38
  * repositoryFilters: [ // ScanningRepositoryFilterList // required
39
39
  * { // ScanningRepositoryFilter
40
40
  * filter: "STRING_VALUE", // required
41
- * filterType: "STRING_VALUE", // required
41
+ * filterType: "WILDCARD", // required
42
42
  * },
43
43
  * ],
44
44
  * },
@@ -48,14 +48,14 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
48
48
  * const response = await client.send(command);
49
49
  * // { // PutRegistryScanningConfigurationResponse
50
50
  * // registryScanningConfiguration: { // RegistryScanningConfiguration
51
- * // scanType: "STRING_VALUE",
51
+ * // scanType: "BASIC" || "ENHANCED",
52
52
  * // rules: [ // RegistryScanningRuleList
53
53
  * // { // RegistryScanningRule
54
- * // scanFrequency: "STRING_VALUE", // required
54
+ * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required
55
55
  * // repositoryFilters: [ // ScanningRepositoryFilterList // required
56
56
  * // { // ScanningRepositoryFilter
57
57
  * // filter: "STRING_VALUE", // required
58
- * // filterType: "STRING_VALUE", // required
58
+ * // filterType: "WILDCARD", // required
59
59
  * // },
60
60
  * // ],
61
61
  * // },
@@ -29,11 +29,11 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
29
29
  * 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
30
30
  * service-linked roles for Amazon ECR</a> in the
31
31
  * <i>Amazon Elastic Container Registry User Guide</i>.</p>
32
- * <note>
32
+ * <note>
33
33
  * <p>When configuring cross-account replication, the destination account must grant the
34
34
  * source account permission to replicate. This permission is controlled using a
35
35
  * registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
36
- * </note>
36
+ * </note>
37
37
  * @example
38
38
  * Use a bare-bones client and the command you need to make an API call.
39
39
  * ```javascript
@@ -53,7 +53,7 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
53
53
  * repositoryFilters: [ // RepositoryFilterList
54
54
  * { // RepositoryFilter
55
55
  * filter: "STRING_VALUE", // required
56
- * filterType: "STRING_VALUE", // required
56
+ * filterType: "PREFIX_MATCH", // required
57
57
  * },
58
58
  * ],
59
59
  * },
@@ -75,7 +75,7 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
75
75
  * // repositoryFilters: [ // RepositoryFilterList
76
76
  * // { // RepositoryFilter
77
77
  * // filter: "STRING_VALUE", // required
78
- * // filterType: "STRING_VALUE", // required
78
+ * // filterType: "PREFIX_MATCH", // required
79
79
  * // },
80
80
  * // ],
81
81
  * // },
@@ -51,7 +51,7 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
51
51
  * // imageTag: "STRING_VALUE",
52
52
  * // },
53
53
  * // imageScanStatus: { // ImageScanStatus
54
- * // status: "STRING_VALUE",
54
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
55
55
  * // description: "STRING_VALUE",
56
56
  * // },
57
57
  * // };
@@ -42,7 +42,7 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
42
42
  * // registryId: "STRING_VALUE",
43
43
  * // repositoryName: "STRING_VALUE",
44
44
  * // lifecyclePolicyText: "STRING_VALUE",
45
- * // status: "STRING_VALUE",
45
+ * // status: "IN_PROGRESS" || "COMPLETE" || "EXPIRED" || "FAILED",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -72,6 +72,9 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
72
72
  * @throws {@link ServerException} (server fault)
73
73
  * <p>These errors are usually caused by a server-side issue.</p>
74
74
  *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>There was an exception validating this request.</p>
77
+ *
75
78
  * @throws {@link ECRServiceException}
76
79
  * <p>Base exception class for all service exceptions from ECR service.</p>
77
80
  *
@@ -35,8 +35,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
35
35
  * resourceArn: "STRING_VALUE", // required
36
36
  * tags: [ // TagList // required
37
37
  * { // Tag
38
- * Key: "STRING_VALUE",
39
- * Value: "STRING_VALUE",
38
+ * Key: "STRING_VALUE", // required
39
+ * Value: "STRING_VALUE", // required
40
40
  * },
41
41
  * ],
42
42
  * };
@@ -24,10 +24,10 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
24
24
  /**
25
25
  * @public
26
26
  * <p>Uploads an image layer part to Amazon ECR.</p>
27
- * <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
27
+ * <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
28
28
  * of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
29
29
  * is called once per each new image layer part.</p>
30
- * <note>
30
+ * <note>
31
31
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
32
32
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
33
33
  * </note>
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface ECRExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface ECRExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * <fullname>Amazon Elastic Container Registry</fullname>
3
- * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
3
+ * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
4
4
  * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
5
5
  * provides a secure, scalable, and reliable registry for your Docker or Open Container
6
6
  * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
7
7
  * permissions using IAM so that specific users or Amazon EC2 instances can access
8
8
  * repositories and images.</p>
9
- * <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
9
+ * <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
10
10
  * <i>Amazon Web Services General Reference</i>.</p>
11
11
  *
12
12
  * @packageDocumentation
@@ -267,7 +267,7 @@ export interface BatchGetImageRequest {
267
267
  /**
268
268
  * @public
269
269
  * <p>The accepted media types for the request.</p>
270
- * <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
270
+ * <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
271
271
  * <code>application/vnd.docker.distribution.manifest.v2+json</code> |
272
272
  * <code>application/vnd.oci.image.manifest.v1+json</code>
273
273
  * </p>
@@ -697,11 +697,11 @@ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType
697
697
  * @public
698
698
  * <p>The encryption configuration for the repository. This determines how the contents of
699
699
  * your repository are encrypted at rest.</p>
700
- * <p>By default, when no encryption configuration is set or the <code>AES256</code>
700
+ * <p>By default, when no encryption configuration is set or the <code>AES256</code>
701
701
  * encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
702
702
  * keys which encrypts your data at rest using an AES-256 encryption algorithm. This does
703
703
  * not require any action on your part.</p>
704
- * <p>For more control over the encryption of the contents of your repository, you can use
704
+ * <p>For more control over the encryption of the contents of your repository, you can use
705
705
  * server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
706
706
  * images. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
707
707
  * rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
@@ -710,14 +710,14 @@ export interface EncryptionConfiguration {
710
710
  /**
711
711
  * @public
712
712
  * <p>The encryption type to use.</p>
713
- * <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
713
+ * <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
714
714
  * be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
715
715
  * use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key
716
716
  * for Amazon ECR, or specify your own KMS key, which you already created. For more
717
717
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
718
718
  * encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
719
719
  * <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
720
- * <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
720
+ * <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
721
721
  * with Amazon S3-managed encryption keys which encrypts the images in the repository using an
722
722
  * AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
723
723
  * server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
@@ -771,12 +771,12 @@ export interface Tag {
771
771
  * <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
772
772
  * that acts like a category for more specific tag values.</p>
773
773
  */
774
- Key?: string;
774
+ Key: string | undefined;
775
775
  /**
776
776
  * @public
777
777
  * <p>A <code>value</code> acts as a descriptor within a tag category (key).</p>
778
778
  */
779
- Value?: string;
779
+ Value: string | undefined;
780
780
  }
781
781
  /**
782
782
  * @public
@@ -793,6 +793,8 @@ export interface CreateRepositoryRequest {
793
793
  * <p>The name to use for the repository. The repository name may be specified on its own
794
794
  * (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
795
795
  * the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>
796
+ * <p>The repository name must start with a letter and can only contain lowercase letters,
797
+ * numbers, hyphens, underscores, and forward slashes.</p>
796
798
  */
797
799
  repositoryName: string | undefined;
798
800
  /**
@@ -833,7 +835,7 @@ export interface Repository {
833
835
  * @public
834
836
  * <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
835
837
  * repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
836
- * For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
838
+ * For example, <code>arn:aws:ecr:region:012345678910:repository-namespace/repository-name</code>.</p>
837
839
  */
838
840
  repositoryArn?: string;
839
841
  /**
@@ -1425,14 +1427,14 @@ export interface ImageDetail {
1425
1427
  /**
1426
1428
  * @public
1427
1429
  * <p>The size, in bytes, of the image in the repository.</p>
1428
- * <p>If the image is a manifest list, this will be the max size of all manifests in the
1430
+ * <p>If the image is a manifest list, this will be the max size of all manifests in the
1429
1431
  * list.</p>
1430
- * <note>
1432
+ * <note>
1431
1433
  * <p>Beginning with Docker version 1.9, the Docker client compresses image layers
1432
1434
  * before pushing them to a V2 Docker registry. The output of the <code>docker
1433
1435
  * images</code> command shows the uncompressed image size, so it may return a
1434
1436
  * larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
1435
- * </note>
1437
+ * </note>
1436
1438
  */
1437
1439
  imageSizeInBytes?: number;
1438
1440
  /**
@@ -1465,14 +1467,14 @@ export interface ImageDetail {
1465
1467
  * @public
1466
1468
  * <p>The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded
1467
1469
  * the last image pull.</p>
1468
- * <note>
1470
+ * <note>
1469
1471
  * <p>Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For
1470
1472
  * example, if you pull an image once a day then the <code>lastRecordedPullTime</code>
1471
1473
  * timestamp will indicate the exact time that the image was last pulled. However, if
1472
1474
  * you pull an image once an hour, because Amazon ECR refreshes the
1473
1475
  * <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the
1474
1476
  * result may not be the exact time that the image was last pulled.</p>
1475
- * </note>
1477
+ * </note>
1476
1478
  */
1477
1479
  lastRecordedPullTime?: Date;
1478
1480
  }
@@ -2174,8 +2176,8 @@ export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof Re
2174
2176
  * @public
2175
2177
  * <p>The filter settings used with image replication. Specifying a repository filter to a
2176
2178
  * replication rule provides a method for controlling which repositories in a private
2177
- * registry are replicated. If no repository filter is specified, all images in the
2178
- * repository are replicated.</p>
2179
+ * registry are replicated. If no filters are added, the contents of all repositories are
2180
+ * replicated.</p>
2179
2181
  */
2180
2182
  export interface RepositoryFilter {
2181
2183
  /**
@@ -2263,10 +2265,10 @@ export interface DescribeRepositoriesRequest {
2263
2265
  * the previous results that returned the <code>nextToken</code> value. This value is
2264
2266
  * <code>null</code> when there are no more results to return. This option cannot be
2265
2267
  * used when you specify repositories with <code>repositoryNames</code>.</p>
2266
- * <note>
2268
+ * <note>
2267
2269
  * <p>This token should be treated as an opaque identifier that is only used to
2268
2270
  * retrieve the next items in a list and not for other programmatic purposes.</p>
2269
- * </note>
2271
+ * </note>
2270
2272
  */
2271
2273
  nextToken?: string;
2272
2274
  /**
@@ -2701,8 +2703,9 @@ export interface RegistryScanningRule {
2701
2703
  * <p>The frequency that scans are performed at for a private registry. When the
2702
2704
  * <code>ENHANCED</code> scan type is specified, the supported scan frequencies are
2703
2705
  * <code>CONTINUOUS_SCAN</code> and <code>SCAN_ON_PUSH</code>. When the
2704
- * <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> and
2705
- * <code>MANUAL</code> scan frequencies are supported.</p>
2706
+ * <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> scan
2707
+ * frequency is supported. If scan on push is not specified, then the <code>MANUAL</code>
2708
+ * scan frequency is set by default.</p>
2706
2709
  */
2707
2710
  scanFrequency: ScanFrequency | string | undefined;
2708
2711
  /**
@@ -2858,10 +2861,10 @@ export interface ListImagesRequest {
2858
2861
  * results exceeded the value of that parameter. Pagination continues from the end of the
2859
2862
  * previous results that returned the <code>nextToken</code> value. This value is
2860
2863
  * <code>null</code> when there are no more results to return.</p>
2861
- * <note>
2864
+ * <note>
2862
2865
  * <p>This token should be treated as an opaque identifier that is only used to
2863
2866
  * retrieve the next items in a list and not for other programmatic purposes.</p>
2864
- * </note>
2867
+ * </note>
2865
2868
  */
2866
2869
  nextToken?: string;
2867
2870
  /**
@@ -3189,12 +3192,12 @@ export interface PutRegistryScanningConfigurationRequest {
3189
3192
  /**
3190
3193
  * @public
3191
3194
  * <p>The scanning type to set for the registry.</p>
3192
- * <p>When a registry scanning configuration is not defined, by default the
3195
+ * <p>When a registry scanning configuration is not defined, by default the
3193
3196
  * <code>BASIC</code> scan type is used. When basic scanning is used, you may specify
3194
3197
  * filters to determine which individual repositories, or all repositories, are scanned
3195
3198
  * when new images are pushed to those repositories. Alternatively, you can do manual scans
3196
3199
  * of images with basic scanning.</p>
3197
- * <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated
3200
+ * <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated
3198
3201
  * vulnerability scanning. You may choose between continuous scanning or scan on push and
3199
3202
  * you may specify filters to determine which individual repositories, or all repositories,
3200
3203
  * are scanned.</p>
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { ECRClientConfig } from "./ECRClient";
5
5
  export declare const getRuntimeConfig: (config: ECRClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { ECRExtensionConfiguration } from "./extensionConfiguration";
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: ECRExtensionConfiguration): void;
6
+ configure(extensionConfiguration: ECRExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface ECRExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -254,8 +254,8 @@ export declare const ImageTagMutability: {
254
254
  export type ImageTagMutability =
255
255
  (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
256
256
  export interface Tag {
257
- Key?: string;
258
- Value?: string;
257
+ Key: string | undefined;
258
+ Value: string | undefined;
259
259
  }
260
260
  export interface CreateRepositoryRequest {
261
261
  registryId?: string;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { ECRExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: ECRExtensionConfiguration): void;
3
+ configure(extensionConfiguration: ECRExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr",
3
3
  "description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.410.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,40 +21,40 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.410.0",
25
+ "@aws-sdk/credential-provider-node": "3.410.0",
26
+ "@aws-sdk/middleware-host-header": "3.410.0",
27
+ "@aws-sdk/middleware-logger": "3.410.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
+ "@aws-sdk/middleware-signing": "3.410.0",
30
+ "@aws-sdk/middleware-user-agent": "3.410.0",
31
+ "@aws-sdk/types": "3.410.0",
32
+ "@aws-sdk/util-endpoints": "3.410.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
34
+ "@aws-sdk/util-user-agent-node": "3.410.0",
35
+ "@smithy/config-resolver": "^2.0.7",
36
+ "@smithy/fetch-http-handler": "^2.1.2",
37
+ "@smithy/hash-node": "^2.0.6",
38
+ "@smithy/invalid-dependency": "^2.0.6",
39
+ "@smithy/middleware-content-length": "^2.0.8",
40
+ "@smithy/middleware-endpoint": "^2.0.6",
41
+ "@smithy/middleware-retry": "^2.0.9",
42
+ "@smithy/middleware-serde": "^2.0.6",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.9",
45
+ "@smithy/node-http-handler": "^2.1.2",
46
+ "@smithy/protocol-http": "^3.0.2",
47
+ "@smithy/smithy-client": "^2.1.3",
48
+ "@smithy/types": "^2.3.0",
49
+ "@smithy/url-parser": "^2.0.6",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
54
+ "@smithy/util-defaults-mode-node": "^2.0.9",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
- "@smithy/util-waiter": "^2.0.5",
57
+ "@smithy/util-waiter": "^2.0.6",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {