@aws-sdk/client-ecr 3.741.0 → 3.744.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/dist-cjs/index.js CHANGED
@@ -904,6 +904,7 @@ var ScanStatus = {
904
904
  FAILED: "FAILED",
905
905
  FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
906
906
  IN_PROGRESS: "IN_PROGRESS",
907
+ LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
907
908
  PENDING: "PENDING",
908
909
  SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
909
910
  UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE"
@@ -414,6 +414,7 @@ export const ScanStatus = {
414
414
  FAILED: "FAILED",
415
415
  FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
416
416
  IN_PROGRESS: "IN_PROGRESS",
417
+ LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
417
418
  PENDING: "PENDING",
418
419
  SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
419
420
  UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE",
@@ -54,7 +54,7 @@ declare const DescribeImageScanFindingsCommand_base: {
54
54
  * // imageTag: "STRING_VALUE",
55
55
  * // },
56
56
  * // imageScanStatus: { // ImageScanStatus
57
- * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
57
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE" || "LIMIT_EXCEEDED",
58
58
  * // description: "STRING_VALUE",
59
59
  * // },
60
60
  * // imageScanFindings: { // ImageScanFindings
@@ -69,7 +69,7 @@ declare const DescribeImagesCommand_base: {
69
69
  * // imageSizeInBytes: Number("long"),
70
70
  * // imagePushedAt: new Date("TIMESTAMP"),
71
71
  * // imageScanStatus: { // ImageScanStatus
72
- * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
72
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE" || "LIMIT_EXCEEDED",
73
73
  * // description: "STRING_VALUE",
74
74
  * // },
75
75
  * // imageScanFindingsSummary: { // ImageScanFindingsSummary
@@ -27,9 +27,11 @@ declare const StartImageScanCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Starts an image vulnerability scan. An image scan can only be started once per 24
30
+ * <p>Starts a basic image vulnerability scan.</p>
31
+ * <p> A basic image scan can only be started once per 24
31
32
  * hours on an individual image. This limit includes if an image was scanned on initial
32
- * push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
33
+ * push. You can start up to 100,000 basic scans per 24 hours. This limit includes both scans on initial push
34
+ * and scans initiated by the StartImageScan API. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-basic.html">Basic scanning</a> in the
33
35
  * <i>Amazon Elastic Container Registry User Guide</i>.</p>
34
36
  * @example
35
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -55,7 +57,7 @@ declare const StartImageScanCommand_base: {
55
57
  * // imageTag: "STRING_VALUE",
56
58
  * // },
57
59
  * // imageScanStatus: { // ImageScanStatus
58
- * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
60
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE" || "LIMIT_EXCEEDED",
59
61
  * // description: "STRING_VALUE",
60
62
  * // },
61
63
  * // };
@@ -1772,6 +1772,7 @@ export declare const ScanStatus: {
1772
1772
  readonly FAILED: "FAILED";
1773
1773
  readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
1774
1774
  readonly IN_PROGRESS: "IN_PROGRESS";
1775
+ readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
1775
1776
  readonly PENDING: "PENDING";
1776
1777
  readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
1777
1778
  readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
@@ -2838,10 +2839,10 @@ export interface GetAccountSettingResponse {
2838
2839
  */
2839
2840
  export interface GetAuthorizationTokenRequest {
2840
2841
  /**
2841
- * @deprecated
2842
- *
2843
2842
  * <p>A list of Amazon Web Services account IDs that are associated with the registries for which to get
2844
2843
  * AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
2844
+ *
2845
+ * @deprecated
2845
2846
  * @public
2846
2847
  */
2847
2848
  registryIds?: string[] | undefined;
@@ -575,6 +575,7 @@ export declare const ScanStatus: {
575
575
  readonly FAILED: "FAILED";
576
576
  readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
577
577
  readonly IN_PROGRESS: "IN_PROGRESS";
578
+ readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
578
579
  readonly PENDING: "PENDING";
579
580
  readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
580
581
  readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
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.741.0",
4
+ "version": "3.744.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecr",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.741.0",
23
+ "@aws-sdk/core": "3.744.0",
24
+ "@aws-sdk/credential-provider-node": "3.744.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.734.0",
28
+ "@aws-sdk/middleware-user-agent": "3.744.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.734.0",
31
+ "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.734.0",
33
+ "@aws-sdk/util-user-agent-node": "3.744.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.1",
35
+ "@smithy/core": "^3.1.2",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.2",
41
- "@smithy/middleware-retry": "^4.0.3",
42
- "@smithy/middleware-serde": "^4.0.1",
40
+ "@smithy/middleware-endpoint": "^4.0.3",
41
+ "@smithy/middleware-retry": "^4.0.4",
42
+ "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
45
  "@smithy/node-http-handler": "^4.0.2",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.2",
47
+ "@smithy/smithy-client": "^4.1.3",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.3",
54
- "@smithy/util-defaults-mode-node": "^4.0.3",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.4",
54
+ "@smithy/util-defaults-mode-node": "^4.0.4",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",