@aws-sdk/client-artifact 3.726.1 → 3.730.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",
|
|
6
|
-
const _data = { version: "1.0", parameters: {
|
|
4
|
+
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
+
const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [u]: true, "default": false, "type": "Boolean" }, j = { [u]: false, "type": "String" }, k = { [x]: "Endpoint" }, l = { [v]: d, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [x]: "UseFIPS" }, n = { [v]: d, [w]: [{ [x]: "UseDualStack" }, true] }, o = { [x]: "UseDualStack" }, p = {}, q = { [v]: "getAttr", [w]: [{ [x]: h }, "supportsFIPS"] }, r = { [v]: d, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: h }, "supportsDualStack"] }] }, s = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, t = [{ [x]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [v]: c, [w]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [v]: c, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: h }], rules: [{ conditions: [l, n], rules: [{ conditions: [{ [v]: d, [w]: [a, q] }, r], rules: [{ endpoint: { url: "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [l, { [v]: d, [w]: [o, b] }], rules: [{ conditions: [{ [v]: d, [w]: [q, a] }], rules: [{ endpoint: { url: "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [{ [v]: d, [w]: [m, b] }, n], rules: [{ conditions: [r], rules: [{ endpoint: { url: "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: s, headers: p }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: {
|
|
1
|
+
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
+
const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [u]: true, "default": false, "type": "Boolean" }, j = { [u]: false, "type": "String" }, k = { [x]: "Endpoint" }, l = { [v]: d, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [x]: "UseFIPS" }, n = { [v]: d, [w]: [{ [x]: "UseDualStack" }, true] }, o = { [x]: "UseDualStack" }, p = {}, q = { [v]: "getAttr", [w]: [{ [x]: h }, "supportsFIPS"] }, r = { [v]: d, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: h }, "supportsDualStack"] }] }, s = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, t = [{ [x]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [v]: c, [w]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [v]: c, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: h }], rules: [{ conditions: [l, n], rules: [{ conditions: [{ [v]: d, [w]: [a, q] }, r], rules: [{ endpoint: { url: "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [l, { [v]: d, [w]: [o, b] }], rules: [{ conditions: [{ [v]: d, [w]: [q, a] }], rules: [{ endpoint: { url: "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [{ [v]: d, [w]: [m, b] }, n], rules: [{ conditions: [r], rules: [{ endpoint: { url: "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: p }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: s, headers: p }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
|
|
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 | Provider<string>;
|
|
7
6
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
7
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | Provider<string>;
|
|
10
10
|
}
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
12
|
defaultSigningName: string;
|
|
@@ -33,8 +33,8 @@ export declare const commonParams: {
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
-
Region?: string;
|
|
37
36
|
UseDualStack?: boolean;
|
|
38
37
|
UseFIPS?: boolean;
|
|
39
38
|
Endpoint?: string;
|
|
39
|
+
Region?: string;
|
|
40
40
|
}
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
9
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
10
|
endpoint?:
|
|
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
|
|
|
15
14
|
| Provider<Endpoint>
|
|
16
15
|
| EndpointV2
|
|
17
16
|
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | Provider<string>;
|
|
18
18
|
}
|
|
19
19
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
20
|
defaultSigningName: string;
|
|
@@ -44,8 +44,8 @@ export declare const commonParams: {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
-
Region?: string;
|
|
48
47
|
UseDualStack?: boolean;
|
|
49
48
|
UseFIPS?: boolean;
|
|
50
49
|
Endpoint?: string;
|
|
50
|
+
Region?: string;
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-artifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Artifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.730.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",
|
|
@@ -20,19 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@aws-sdk/core": "3.723.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
23
|
+
"@aws-sdk/core": "3.730.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.730.0",
|
|
27
25
|
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
26
|
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
27
|
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.730.0",
|
|
31
29
|
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
30
|
"@aws-sdk/types": "3.723.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.730.0",
|
|
34
32
|
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.730.0",
|
|
36
34
|
"@smithy/config-resolver": "^4.0.0",
|
|
37
35
|
"@smithy/core": "^3.0.0",
|
|
38
36
|
"@smithy/fetch-http-handler": "^5.0.0",
|