@aws-sdk/client-ecr 3.929.0 → 3.931.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 =
|
|
6
|
-
const _data = { version: "1.0", parameters: {
|
|
4
|
+
const E = "required", F = "fn", G = "argv", H = "ref", I = "url", J = "properties", K = "headers";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [E]: true, "default": false, "type": "boolean" }, i = { [E]: false, "type": "string" }, j = { [H]: "Endpoint" }, k = { [F]: c, [G]: [{ [H]: "UseFIPS" }, true] }, l = { [F]: c, [G]: [{ [H]: "UseDualStack" }, true] }, m = {}, n = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws"] }, o = { [F]: c, [G]: [{ [H]: "UseFIPS" }, false] }, p = { [F]: c, [G]: [{ [H]: "UseDualStack" }, false] }, q = { [I]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [J]: {}, [K]: {} }, r = { [I]: "https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: {}, [K]: {} }, s = { [I]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [J]: {}, [K]: {} }, t = { [I]: "https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: {}, [K]: {} }, u = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-us-gov"] }, v = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-cn"] }, w = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso"] }, x = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-b"] }, y = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-e"] }, z = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-f"] }, A = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-eusc"] }, B = { [F]: "getAttr", [G]: [{ [H]: g }, "supportsFIPS"] }, C = { [F]: c, [G]: [true, { [F]: "getAttr", [G]: [{ [H]: g }, "supportsDualStack"] }] }, D = [{ [H]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [F]: b, [G]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [I]: j, [J]: m, [K]: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [F]: b, [G]: D }], rules: [{ conditions: [{ [F]: "aws.partition", [G]: D, assign: g }], rules: [{ conditions: [n, o, p], endpoint: q, type: e }, { conditions: [n, o, l], endpoint: r, type: e }, { conditions: [n, k, p], endpoint: s, type: e }, { conditions: [n, k, l], endpoint: t, type: e }, { conditions: [u, o, p], endpoint: q, type: e }, { conditions: [u, o, l], endpoint: r, type: e }, { conditions: [u, k, p], endpoint: s, type: e }, { conditions: [u, k, l], endpoint: t, type: e }, { conditions: [v, o, p], endpoint: q, type: e }, { conditions: [v, o, l], endpoint: r, type: e }, { conditions: [v, k, p], endpoint: s, type: e }, { conditions: [v, k, l], endpoint: t, type: e }, { conditions: [w, o, p], endpoint: q, type: e }, { conditions: [w, o, l], endpoint: r, type: e }, { conditions: [w, k, p], endpoint: s, type: e }, { conditions: [w, k, l], endpoint: t, type: e }, { conditions: [x, o, p], endpoint: q, type: e }, { conditions: [x, o, l], endpoint: r, type: e }, { conditions: [x, k, p], endpoint: s, type: e }, { conditions: [x, k, l], endpoint: t, type: e }, { conditions: [y, o, p], endpoint: q, type: e }, { conditions: [y, o, l], endpoint: r, type: e }, { conditions: [y, k, p], endpoint: s, type: e }, { conditions: [y, k, l], endpoint: t, type: e }, { conditions: [z, o, p], endpoint: q, type: e }, { conditions: [z, o, l], endpoint: r, type: e }, { conditions: [z, k, p], endpoint: s, type: e }, { conditions: [z, k, l], endpoint: t, type: e }, { conditions: [A, o, p], endpoint: q, type: e }, { conditions: [A, o, l], endpoint: r, type: e }, { conditions: [A, k, p], endpoint: s, type: e }, { conditions: [A, k, l], endpoint: t, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [F]: c, [G]: [a, B] }, C], rules: [{ endpoint: { [I]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: m, [K]: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, p], rules: [{ conditions: [{ [F]: c, [G]: [B, a] }], rules: [{ endpoint: s, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [C], rules: [{ endpoint: { [I]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: m, [K]: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: q, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
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 =
|
|
3
|
-
const _data = { version: "1.0", parameters: {
|
|
1
|
+
const E = "required", F = "fn", G = "argv", H = "ref", I = "url", J = "properties", K = "headers";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [E]: true, "default": false, "type": "boolean" }, i = { [E]: false, "type": "string" }, j = { [H]: "Endpoint" }, k = { [F]: c, [G]: [{ [H]: "UseFIPS" }, true] }, l = { [F]: c, [G]: [{ [H]: "UseDualStack" }, true] }, m = {}, n = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws"] }, o = { [F]: c, [G]: [{ [H]: "UseFIPS" }, false] }, p = { [F]: c, [G]: [{ [H]: "UseDualStack" }, false] }, q = { [I]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [J]: {}, [K]: {} }, r = { [I]: "https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: {}, [K]: {} }, s = { [I]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [J]: {}, [K]: {} }, t = { [I]: "https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: {}, [K]: {} }, u = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-us-gov"] }, v = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-cn"] }, w = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso"] }, x = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-b"] }, y = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-e"] }, z = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-iso-f"] }, A = { [F]: "stringEquals", [G]: [{ [F]: "getAttr", [G]: [{ [H]: g }, "name"] }, "aws-eusc"] }, B = { [F]: "getAttr", [G]: [{ [H]: g }, "supportsFIPS"] }, C = { [F]: c, [G]: [true, { [F]: "getAttr", [G]: [{ [H]: g }, "supportsDualStack"] }] }, D = [{ [H]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [F]: b, [G]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [I]: j, [J]: m, [K]: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [F]: b, [G]: D }], rules: [{ conditions: [{ [F]: "aws.partition", [G]: D, assign: g }], rules: [{ conditions: [n, o, p], endpoint: q, type: e }, { conditions: [n, o, l], endpoint: r, type: e }, { conditions: [n, k, p], endpoint: s, type: e }, { conditions: [n, k, l], endpoint: t, type: e }, { conditions: [u, o, p], endpoint: q, type: e }, { conditions: [u, o, l], endpoint: r, type: e }, { conditions: [u, k, p], endpoint: s, type: e }, { conditions: [u, k, l], endpoint: t, type: e }, { conditions: [v, o, p], endpoint: q, type: e }, { conditions: [v, o, l], endpoint: r, type: e }, { conditions: [v, k, p], endpoint: s, type: e }, { conditions: [v, k, l], endpoint: t, type: e }, { conditions: [w, o, p], endpoint: q, type: e }, { conditions: [w, o, l], endpoint: r, type: e }, { conditions: [w, k, p], endpoint: s, type: e }, { conditions: [w, k, l], endpoint: t, type: e }, { conditions: [x, o, p], endpoint: q, type: e }, { conditions: [x, o, l], endpoint: r, type: e }, { conditions: [x, k, p], endpoint: s, type: e }, { conditions: [x, k, l], endpoint: t, type: e }, { conditions: [y, o, p], endpoint: q, type: e }, { conditions: [y, o, l], endpoint: r, type: e }, { conditions: [y, k, p], endpoint: s, type: e }, { conditions: [y, k, l], endpoint: t, type: e }, { conditions: [z, o, p], endpoint: q, type: e }, { conditions: [z, o, l], endpoint: r, type: e }, { conditions: [z, k, p], endpoint: s, type: e }, { conditions: [z, k, l], endpoint: t, type: e }, { conditions: [A, o, p], endpoint: q, type: e }, { conditions: [A, o, l], endpoint: r, type: e }, { conditions: [A, k, p], endpoint: s, type: e }, { conditions: [A, k, l], endpoint: t, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [F]: c, [G]: [a, B] }, C], rules: [{ endpoint: { [I]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: m, [K]: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, p], rules: [{ conditions: [{ [F]: c, [G]: [B, a] }], rules: [{ endpoint: s, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [C], rules: [{ endpoint: { [I]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: m, [K]: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: q, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -3,10 +3,10 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | undefined | Provider<string | undefined>;
|
|
7
6
|
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
7
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
11
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
@@ -31,8 +31,8 @@ export declare const commonParams: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
-
Region?: string | undefined;
|
|
35
34
|
UseDualStack?: boolean | undefined;
|
|
36
35
|
UseFIPS?: boolean | undefined;
|
|
37
36
|
Endpoint?: string | undefined;
|
|
37
|
+
Region?: string | undefined;
|
|
38
38
|
}
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | undefined | Provider<string | undefined>;
|
|
9
8
|
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
9
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
10
|
endpoint?:
|
|
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
|
|
|
15
14
|
| Provider<Endpoint>
|
|
16
15
|
| EndpointV2
|
|
17
16
|
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
18
18
|
}
|
|
19
19
|
export type ClientResolvedEndpointParameters = Pick<
|
|
20
20
|
ClientInputEndpointParameters,
|
|
@@ -44,8 +44,8 @@ export declare const commonParams: {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
-
Region?: string | undefined;
|
|
48
47
|
UseDualStack?: boolean | undefined;
|
|
49
48
|
UseFIPS?: boolean | undefined;
|
|
50
49
|
Endpoint?: string | undefined;
|
|
50
|
+
Region?: string | undefined;
|
|
51
51
|
}
|
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.931.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,43 +20,43 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
|
-
"@smithy/util-waiter": "^4.2.
|
|
59
|
+
"@smithy/util-waiter": "^4.2.5",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|