@aws-sdk/client-ecr 3.799.0 → 3.803.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const B = "required", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "aws", j = "aws-us-gov", k = { [B]: false, "type": "String" }, l = { [B]: true, "default": false, "type": "Boolean" }, m = { [E]: "Endpoint" }, n = { [C]: c, [D]: [{ [E]: "UseFIPS" }, true] }, o = { [C]: c, [D]: [{ [E]: "UseDualStack" }, true] }, p = {}, q = { [C]: "getAttr", [D]: [{ [E]: g }, "supportsFIPS"] }, r = { [C]: c, [D]: [true, { [C]: "getAttr", [D]: [{ [E]: g }, "supportsDualStack"] }] }, s = { [C]: "getAttr", [D]: [{ [E]: g }, "name"] }, t = { [F]: "https://ecr-fips.{Region}.api.aws", [G]: {}, [H]: {} }, u = { [F]: "https://ecr-fips.{Region}.amazonaws.com", [G]: {}, [H]: {} }, v = { [F]: "https://ecr.{Region}.api.aws", [G]: {}, [H]: {} }, w = [n], x = [o], y = [{ [E]: "Region" }], z = [{ [C]: h, [D]: [i, s] }], A = [{ [C]: h, [D]: [j, s] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [C]: b, [D]: [m] }], rules: [{ conditions: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [F]: m, [G]: p, [H]: p }, type: e }], type: f }, { conditions: [{ [C]: b, [D]: y }], rules: [{ conditions: [{ [C]: "aws.partition", [D]: y, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [C]: c, [D]: [a, q] }, r], rules: [{ conditions: z, endpoint: t, type: e }, { conditions: A, endpoint: t, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: w, rules: [{ conditions: [{ [C]: c, [D]: [q, a] }], rules: [{ conditions: [{ [C]: h, [D]: [s, i] }], endpoint: u, type: e }, { conditions: [{ [C]: h, [D]: [s, j] }], endpoint: u, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: x, rules: [{ conditions: [r], rules: [{ conditions: z, endpoint: v, type: e }, { conditions: [{ [C]: h, [D]: ["aws-cn", s] }], endpoint: { [F]: "https://ecr.{Region}.api.amazonwebservices.com.cn", [G]: p, [H]: p }, type: e }, { conditions: A, endpoint: v, type: e }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const B = "required", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "aws", j = "aws-us-gov", k = { [B]: false, "type": "String" }, l = { [B]: true, "default": false, "type": "Boolean" }, m = { [E]: "Endpoint" }, n = { [C]: c, [D]: [{ [E]: "UseFIPS" }, true] }, o = { [C]: c, [D]: [{ [E]: "UseDualStack" }, true] }, p = {}, q = { [C]: "getAttr", [D]: [{ [E]: g }, "supportsFIPS"] }, r = { [C]: c, [D]: [true, { [C]: "getAttr", [D]: [{ [E]: g }, "supportsDualStack"] }] }, s = { [C]: "getAttr", [D]: [{ [E]: g }, "name"] }, t = { [F]: "https://ecr-fips.{Region}.api.aws", [G]: {}, [H]: {} }, u = { [F]: "https://ecr-fips.{Region}.amazonaws.com", [G]: {}, [H]: {} }, v = { [F]: "https://ecr.{Region}.api.aws", [G]: {}, [H]: {} }, w = [n], x = [o], y = [{ [E]: "Region" }], z = [{ [C]: h, [D]: [i, s] }], A = [{ [C]: h, [D]: [j, s] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [C]: b, [D]: [m] }], rules: [{ conditions: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [F]: m, [G]: p, [H]: p }, type: e }], type: f }, { conditions: [{ [C]: b, [D]: y }], rules: [{ conditions: [{ [C]: "aws.partition", [D]: y, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [C]: c, [D]: [a, q] }, r], rules: [{ conditions: z, endpoint: t, type: e }, { conditions: A, endpoint: t, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: w, rules: [{ conditions: [{ [C]: c, [D]: [q, a] }], rules: [{ conditions: [{ [C]: h, [D]: [s, i] }], endpoint: u, type: e }, { conditions: [{ [C]: h, [D]: [s, j] }], endpoint: u, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: x, rules: [{ conditions: [r], rules: [{ conditions: z, endpoint: v, type: e }, { conditions: [{ [C]: h, [D]: ["aws-cn", s] }], endpoint: { [F]: "https://ecr.{Region}.api.amazonwebservices.com.cn", [G]: p, [H]: p }, type: e }, { conditions: A, endpoint: v, type: e }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -29,10 +29,10 @@ declare const DescribeImagesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns metadata about the images in a repository.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>
|
|
33
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker
|
|
34
|
-
*
|
|
35
|
-
* image than the image
|
|
32
|
+
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
33
|
+
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
34
|
+
* images</code> command shows the uncompressed image size, so it may return a
|
|
35
|
+
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
36
36
|
* </note>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -664,7 +664,7 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
664
664
|
* <ul>
|
|
665
665
|
* <li>
|
|
666
666
|
* <p>Amazon ECR (<code>ecr</code>) –
|
|
667
|
-
* <code
|
|
667
|
+
* <code>dkr.ecr.<region>.amazonaws.com</code>
|
|
668
668
|
* </p>
|
|
669
669
|
* </li>
|
|
670
670
|
* <li>
|
|
@@ -1881,7 +1881,7 @@ export interface ImageDetail {
|
|
|
1881
1881
|
* <p>Starting with Docker version 1.9, the Docker client compresses image layers before
|
|
1882
1882
|
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
1883
1883
|
* command shows the uncompressed image size. Therefore, Docker might return a larger
|
|
1884
|
-
* image than the image
|
|
1884
|
+
* image than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
1885
1885
|
* </note>
|
|
1886
1886
|
* @public
|
|
1887
1887
|
*/
|
|
@@ -2942,10 +2942,6 @@ export interface GetAuthorizationTokenResponse {
|
|
|
2942
2942
|
/**
|
|
2943
2943
|
* <p>A list of authorization token data objects that correspond to the
|
|
2944
2944
|
* <code>registryIds</code> values in the request.</p>
|
|
2945
|
-
* <note>
|
|
2946
|
-
* <p>The size of the authorization token returned by Amazon ECR is not fixed. We recommend
|
|
2947
|
-
* that you don't make assumptions about the maximum size.</p>
|
|
2948
|
-
* </note>
|
|
2949
2945
|
* @public
|
|
2950
2946
|
*/
|
|
2951
2947
|
authorizationData?: AuthorizationData[] | undefined;
|
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.
|
|
4
|
+
"version": "3.803.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.799.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.803.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
40
|
"@smithy/middleware-endpoint": "^4.1.1",
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.2",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.2",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.2",
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
57
|
+
"@smithy/util-retry": "^4.0.3",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"@smithy/util-waiter": "^4.0.3",
|
|
60
60
|
"tslib": "^2.6.2"
|