agent-relay 4.0.33 → 4.0.35
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/bin/agent-relay-broker-darwin-arm64 +0 -0
- package/bin/agent-relay-broker-darwin-x64 +0 -0
- package/bin/agent-relay-broker-linux-arm64 +0 -0
- package/bin/agent-relay-broker-linux-x64 +0 -0
- package/dist/index.cjs +1 -3
- package/dist/src/cli/commands/setup.js +2 -2
- package/dist/src/cli/commands/setup.js.map +1 -1
- package/node_modules/@agent-relay/cloud/package.json +2 -2
- package/node_modules/@agent-relay/config/package.json +1 -1
- package/node_modules/@agent-relay/hooks/package.json +4 -4
- package/node_modules/@agent-relay/sdk/dist/workflows/runner.d.ts.map +1 -1
- package/node_modules/@agent-relay/sdk/dist/workflows/runner.js +7 -5
- package/node_modules/@agent-relay/sdk/dist/workflows/runner.js.map +1 -1
- package/node_modules/@agent-relay/sdk/package.json +3 -3
- package/node_modules/@agent-relay/telemetry/dist/config.d.ts +1 -1
- package/node_modules/@agent-relay/telemetry/dist/config.d.ts.map +1 -1
- package/node_modules/@agent-relay/telemetry/dist/config.js +6 -3
- package/node_modules/@agent-relay/telemetry/dist/config.js.map +1 -1
- package/node_modules/@agent-relay/telemetry/package.json +1 -1
- package/node_modules/@agent-relay/trajectory/package.json +2 -2
- package/node_modules/@agent-relay/user-directory/package.json +2 -2
- package/node_modules/@agent-relay/utils/package.json +2 -2
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +18 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -4
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +9 -9
- package/packages/cloud/package.json +2 -2
- package/packages/config/package.json +1 -1
- package/packages/hooks/package.json +4 -4
- package/packages/sdk/dist/workflows/runner.d.ts.map +1 -1
- package/packages/sdk/dist/workflows/runner.js +7 -5
- package/packages/sdk/dist/workflows/runner.js.map +1 -1
- package/packages/sdk/package.json +3 -3
- package/packages/telemetry/dist/config.d.ts +1 -1
- package/packages/telemetry/dist/config.d.ts.map +1 -1
- package/packages/telemetry/dist/config.js +6 -3
- package/packages/telemetry/dist/config.js.map +1 -1
- package/packages/telemetry/package.json +1 -1
- package/packages/trajectory/package.json +2 -2
- package/packages/user-directory/package.json +2 -2
- package/packages/utils/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -134,9 +134,9 @@
|
|
|
134
134
|
"@types/ws": "^8.5.10"
|
|
135
135
|
},
|
|
136
136
|
"dependencies": {
|
|
137
|
-
"@agent-relay/config": "4.0.
|
|
137
|
+
"@agent-relay/config": "4.0.35",
|
|
138
138
|
"@relaycast/sdk": "^1.1.0",
|
|
139
|
-
"@relayfile/sdk": "
|
|
139
|
+
"@relayfile/sdk": ">=0.1.2 <1",
|
|
140
140
|
"@sinclair/typebox": "^0.34.48",
|
|
141
141
|
"agent-trajectories": "^0.5.4",
|
|
142
142
|
"chalk": "^4.1.2",
|
|
@@ -16,7 +16,7 @@ export declare function isDisabledByEnv(): boolean;
|
|
|
16
16
|
/**
|
|
17
17
|
* Check if telemetry is enabled.
|
|
18
18
|
* Order of precedence:
|
|
19
|
-
* 1. AGENT_RELAY_TELEMETRY_DISABLED=1 -> disabled
|
|
19
|
+
* 1. AGENT_RELAY_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1 -> disabled
|
|
20
20
|
* 2. ~/.agent-relay/telemetry.json -> use stored pref
|
|
21
21
|
* 3. Default -> enabled
|
|
22
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,MAAM,WAAW,cAAc;IAC7B,mDAAmD;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAED,wBAAgB,SAAS,IAAI,cAAc,CA2B1C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAWrD;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,MAAM,WAAW,cAAc;IAC7B,mDAAmD;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAED,wBAAgB,SAAS,IAAI,cAAc,CA2B1C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAWrD;AAMD,wBAAgB,eAAe,IAAI,OAAO,CAKzC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAK5C;AAED,wBAAgB,eAAe,IAAI,IAAI,CAItC;AAED,wBAAgB,gBAAgB,IAAI,IAAI,CAIvC;AAED,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,cAAc,IAAI,MAAM,CAEvC"}
|
|
@@ -47,14 +47,17 @@ export function savePrefs(prefs) {
|
|
|
47
47
|
console.error('[telemetry] Failed to save preferences:', err);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
function isTruthyEnv(value) {
|
|
51
|
+
return value === '1' || value?.toLowerCase() === 'true';
|
|
52
|
+
}
|
|
50
53
|
export function isDisabledByEnv() {
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
return (isTruthyEnv(process.env.AGENT_RELAY_TELEMETRY_DISABLED) ||
|
|
55
|
+
isTruthyEnv(process.env.DO_NOT_TRACK));
|
|
53
56
|
}
|
|
54
57
|
/**
|
|
55
58
|
* Check if telemetry is enabled.
|
|
56
59
|
* Order of precedence:
|
|
57
|
-
* 1. AGENT_RELAY_TELEMETRY_DISABLED=1 -> disabled
|
|
60
|
+
* 1. AGENT_RELAY_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1 -> disabled
|
|
58
61
|
* 2. ~/.agent-relay/telemetry.json -> use stored pref
|
|
59
62
|
* 3. Default -> enabled
|
|
60
63
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAWpD,MAAM,U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EAAE,CAAC,OAAO,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC;IAC1B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC;IAC1B,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;IACtB,SAAS,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC;IAC1B,KAAK,CAAC,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC5C,SAAS,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,OAAO,SAAS,EAAE,CAAC,UAAU,KAAK,SAAS,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO,SAAS,EAAE,CAAC,WAAW,CAAC;AACjC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/trajectory",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.35",
|
|
4
4
|
"description": "Trajectory integration utilities (trail/PDERO) for Relay",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test:watch": "vitest"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agent-relay/config": "4.0.
|
|
25
|
+
"@agent-relay/config": "4.0.35"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.19.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/user-directory",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.35",
|
|
4
4
|
"description": "User directory service for agent-relay (per-user credential storage)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test:watch": "vitest"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agent-relay/utils": "4.0.
|
|
25
|
+
"@agent-relay/utils": "4.0.35"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.19.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/utils",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.35",
|
|
4
4
|
"description": "Shared utilities for agent-relay: logging, name generation, command resolution, update checking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"vitest": "^3.2.4"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@agent-relay/config": "4.0.
|
|
114
|
+
"@agent-relay/config": "4.0.35",
|
|
115
115
|
"compare-versions": "^6.1.1"
|
|
116
116
|
},
|
|
117
117
|
"publishConfig": {
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = "stringEquals", j = { [w]: false, type: "string" }, k = { [w]: true, default: false, type: "boolean" }, l = { [z]: "Endpoint" }, m = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, o = {}, p = { [z]: "Region" }, q = { [x]: h, [y]: [{ [z]: g }, "supportsFIPS"] }, r = { [z]: g }, s = { [x]: c, [y]: [true, { [x]: h, [y]: [r, "supportsDualStack"] }] }, t = [m], u = [n], v = [p];
|
|
6
|
-
const _data = {
|
|
7
|
-
version: "1.0",
|
|
8
|
-
parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j },
|
|
9
|
-
rules: [
|
|
10
|
-
{
|
|
11
|
-
conditions: [{ [x]: b, [y]: [l] }],
|
|
12
|
-
rules: [
|
|
13
|
-
{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
14
|
-
{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
15
|
-
{ endpoint: { url: l, properties: o, headers: o }, type: e },
|
|
16
|
-
],
|
|
17
|
-
type: f,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
conditions: [{ [x]: b, [y]: v }],
|
|
21
|
-
rules: [
|
|
22
|
-
{
|
|
23
|
-
conditions: [{ [x]: "aws.partition", [y]: v, assign: g }],
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
conditions: [m, n],
|
|
27
|
-
rules: [
|
|
28
|
-
{
|
|
29
|
-
conditions: [{ [x]: c, [y]: [a, q] }, s],
|
|
30
|
-
rules: [
|
|
31
|
-
{
|
|
32
|
-
conditions: [{ [x]: i, [y]: [p, "us-east-1"] }],
|
|
33
|
-
endpoint: {
|
|
34
|
-
url: "https://cognito-identity-fips.us-east-1.amazonaws.com",
|
|
35
|
-
properties: o,
|
|
36
|
-
headers: o,
|
|
37
|
-
},
|
|
38
|
-
type: e,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
conditions: [{ [x]: i, [y]: [p, "us-east-2"] }],
|
|
42
|
-
endpoint: {
|
|
43
|
-
url: "https://cognito-identity-fips.us-east-2.amazonaws.com",
|
|
44
|
-
properties: o,
|
|
45
|
-
headers: o,
|
|
46
|
-
},
|
|
47
|
-
type: e,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
conditions: [{ [x]: i, [y]: [p, "us-west-1"] }],
|
|
51
|
-
endpoint: {
|
|
52
|
-
url: "https://cognito-identity-fips.us-west-1.amazonaws.com",
|
|
53
|
-
properties: o,
|
|
54
|
-
headers: o,
|
|
55
|
-
},
|
|
56
|
-
type: e,
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
conditions: [{ [x]: i, [y]: [p, "us-west-2"] }],
|
|
60
|
-
endpoint: {
|
|
61
|
-
url: "https://cognito-identity-fips.us-west-2.amazonaws.com",
|
|
62
|
-
properties: o,
|
|
63
|
-
headers: o,
|
|
64
|
-
},
|
|
65
|
-
type: e,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
endpoint: {
|
|
69
|
-
url: "https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
70
|
-
properties: o,
|
|
71
|
-
headers: o,
|
|
72
|
-
},
|
|
73
|
-
type: e,
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
type: f,
|
|
77
|
-
},
|
|
78
|
-
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
79
|
-
],
|
|
80
|
-
type: f,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
conditions: t,
|
|
84
|
-
rules: [
|
|
85
|
-
{
|
|
86
|
-
conditions: [{ [x]: c, [y]: [q, a] }],
|
|
87
|
-
rules: [
|
|
88
|
-
{
|
|
89
|
-
endpoint: {
|
|
90
|
-
url: "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
91
|
-
properties: o,
|
|
92
|
-
headers: o,
|
|
93
|
-
},
|
|
94
|
-
type: e,
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
type: f,
|
|
98
|
-
},
|
|
99
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
100
|
-
],
|
|
101
|
-
type: f,
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
conditions: u,
|
|
105
|
-
rules: [
|
|
106
|
-
{
|
|
107
|
-
conditions: [s],
|
|
108
|
-
rules: [
|
|
109
|
-
{
|
|
110
|
-
conditions: [{ [x]: i, [y]: ["aws", { [x]: h, [y]: [r, "name"] }] }],
|
|
111
|
-
endpoint: { url: "https://cognito-identity.{Region}.amazonaws.com", properties: o, headers: o },
|
|
112
|
-
type: e,
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
endpoint: {
|
|
116
|
-
url: "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
117
|
-
properties: o,
|
|
118
|
-
headers: o,
|
|
119
|
-
},
|
|
120
|
-
type: e,
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
type: f,
|
|
124
|
-
},
|
|
125
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
126
|
-
],
|
|
127
|
-
type: f,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
endpoint: {
|
|
131
|
-
url: "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",
|
|
132
|
-
properties: o,
|
|
133
|
-
headers: o,
|
|
134
|
-
},
|
|
135
|
-
type: e,
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
type: f,
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
type: f,
|
|
142
|
-
},
|
|
143
|
-
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
144
|
-
],
|
|
145
|
-
};
|
|
146
|
-
exports.ruleSet = _data;
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: true, default: false, type: "boolean" }, j = { [u]: false, type: "string" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "getAttr", [w]: [{ [x]: g }, "name"] }, p = { [v]: c, [w]: [{ [x]: "UseFIPS" }, false] }, q = { [v]: c, [w]: [{ [x]: "UseDualStack" }, false] }, r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, t = [{ [x]: "Region" }];
|
|
6
|
-
const _data = {
|
|
7
|
-
version: "1.0",
|
|
8
|
-
parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j },
|
|
9
|
-
rules: [
|
|
10
|
-
{
|
|
11
|
-
conditions: [{ [v]: b, [w]: [k] }],
|
|
12
|
-
rules: [
|
|
13
|
-
{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
14
|
-
{
|
|
15
|
-
rules: [
|
|
16
|
-
{
|
|
17
|
-
conditions: [m],
|
|
18
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
19
|
-
type: d,
|
|
20
|
-
},
|
|
21
|
-
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
22
|
-
],
|
|
23
|
-
type: f,
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
type: f,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
rules: [
|
|
30
|
-
{
|
|
31
|
-
conditions: [{ [v]: b, [w]: t }],
|
|
32
|
-
rules: [
|
|
33
|
-
{
|
|
34
|
-
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
35
|
-
rules: [
|
|
36
|
-
{
|
|
37
|
-
conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q],
|
|
38
|
-
endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n },
|
|
39
|
-
type: e,
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q],
|
|
43
|
-
endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n },
|
|
44
|
-
type: e,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q],
|
|
48
|
-
endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n },
|
|
49
|
-
type: e,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
conditions: [l, m],
|
|
53
|
-
rules: [
|
|
54
|
-
{
|
|
55
|
-
conditions: [{ [v]: c, [w]: [a, r] }, s],
|
|
56
|
-
rules: [
|
|
57
|
-
{
|
|
58
|
-
endpoint: {
|
|
59
|
-
url: "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
60
|
-
properties: n,
|
|
61
|
-
headers: n,
|
|
62
|
-
},
|
|
63
|
-
type: e,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
type: f,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
70
|
-
type: d,
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
type: f,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
conditions: [l, q],
|
|
77
|
-
rules: [
|
|
78
|
-
{
|
|
79
|
-
conditions: [{ [v]: c, [w]: [r, a] }],
|
|
80
|
-
rules: [
|
|
81
|
-
{
|
|
82
|
-
endpoint: {
|
|
83
|
-
url: "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
84
|
-
properties: n,
|
|
85
|
-
headers: n,
|
|
86
|
-
},
|
|
87
|
-
type: e,
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
type: f,
|
|
91
|
-
},
|
|
92
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
93
|
-
],
|
|
94
|
-
type: f,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
conditions: [p, m],
|
|
98
|
-
rules: [
|
|
99
|
-
{
|
|
100
|
-
conditions: [s],
|
|
101
|
-
rules: [
|
|
102
|
-
{
|
|
103
|
-
endpoint: {
|
|
104
|
-
url: "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
105
|
-
properties: n,
|
|
106
|
-
headers: n,
|
|
107
|
-
},
|
|
108
|
-
type: e,
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
type: f,
|
|
112
|
-
},
|
|
113
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
114
|
-
],
|
|
115
|
-
type: f,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
endpoint: { url: "https://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
119
|
-
type: e,
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
type: f,
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
type: f,
|
|
126
|
-
},
|
|
127
|
-
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
128
|
-
],
|
|
129
|
-
type: f,
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
};
|
|
133
|
-
exports.ruleSet = _data;
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
6
|
-
const _data = {
|
|
7
|
-
version: "1.0",
|
|
8
|
-
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
9
|
-
rules: [
|
|
10
|
-
{
|
|
11
|
-
conditions: [{ [v]: b, [w]: [k] }],
|
|
12
|
-
rules: [
|
|
13
|
-
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
14
|
-
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
15
|
-
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
16
|
-
],
|
|
17
|
-
type: f,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
conditions: [{ [v]: b, [w]: t }],
|
|
21
|
-
rules: [
|
|
22
|
-
{
|
|
23
|
-
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
conditions: [l, m],
|
|
27
|
-
rules: [
|
|
28
|
-
{
|
|
29
|
-
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
30
|
-
rules: [
|
|
31
|
-
{
|
|
32
|
-
endpoint: {
|
|
33
|
-
url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
34
|
-
properties: n,
|
|
35
|
-
headers: n,
|
|
36
|
-
},
|
|
37
|
-
type: e,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
type: f,
|
|
41
|
-
},
|
|
42
|
-
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
43
|
-
],
|
|
44
|
-
type: f,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
conditions: r,
|
|
48
|
-
rules: [
|
|
49
|
-
{
|
|
50
|
-
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
51
|
-
rules: [
|
|
52
|
-
{
|
|
53
|
-
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
54
|
-
endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n },
|
|
55
|
-
type: e,
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
endpoint: {
|
|
59
|
-
url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
60
|
-
properties: n,
|
|
61
|
-
headers: n,
|
|
62
|
-
},
|
|
63
|
-
type: e,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
type: f,
|
|
67
|
-
},
|
|
68
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
69
|
-
],
|
|
70
|
-
type: f,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
conditions: s,
|
|
74
|
-
rules: [
|
|
75
|
-
{
|
|
76
|
-
conditions: [q],
|
|
77
|
-
rules: [
|
|
78
|
-
{
|
|
79
|
-
endpoint: {
|
|
80
|
-
url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
81
|
-
properties: n,
|
|
82
|
-
headers: n,
|
|
83
|
-
},
|
|
84
|
-
type: e,
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
type: f,
|
|
88
|
-
},
|
|
89
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
90
|
-
],
|
|
91
|
-
type: f,
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
95
|
-
type: e,
|
|
96
|
-
},
|
|
97
|
-
],
|
|
98
|
-
type: f,
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
type: f,
|
|
102
|
-
},
|
|
103
|
-
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
104
|
-
],
|
|
105
|
-
};
|
|
106
|
-
exports.ruleSet = _data;
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
6
|
-
const _data = {
|
|
7
|
-
version: "1.0",
|
|
8
|
-
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
9
|
-
rules: [
|
|
10
|
-
{
|
|
11
|
-
conditions: [{ [v]: b, [w]: [k] }],
|
|
12
|
-
rules: [
|
|
13
|
-
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
14
|
-
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
15
|
-
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
16
|
-
],
|
|
17
|
-
type: f,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
conditions: [{ [v]: b, [w]: t }],
|
|
21
|
-
rules: [
|
|
22
|
-
{
|
|
23
|
-
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
conditions: [l, m],
|
|
27
|
-
rules: [
|
|
28
|
-
{
|
|
29
|
-
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
30
|
-
rules: [
|
|
31
|
-
{
|
|
32
|
-
endpoint: {
|
|
33
|
-
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
34
|
-
properties: n,
|
|
35
|
-
headers: n,
|
|
36
|
-
},
|
|
37
|
-
type: e,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
type: f,
|
|
41
|
-
},
|
|
42
|
-
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
43
|
-
],
|
|
44
|
-
type: f,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
conditions: r,
|
|
48
|
-
rules: [
|
|
49
|
-
{
|
|
50
|
-
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
51
|
-
rules: [
|
|
52
|
-
{
|
|
53
|
-
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
54
|
-
endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
|
|
55
|
-
type: e,
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
endpoint: {
|
|
59
|
-
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
60
|
-
properties: n,
|
|
61
|
-
headers: n,
|
|
62
|
-
},
|
|
63
|
-
type: e,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
type: f,
|
|
67
|
-
},
|
|
68
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
69
|
-
],
|
|
70
|
-
type: f,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
conditions: s,
|
|
74
|
-
rules: [
|
|
75
|
-
{
|
|
76
|
-
conditions: [q],
|
|
77
|
-
rules: [
|
|
78
|
-
{
|
|
79
|
-
endpoint: {
|
|
80
|
-
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
81
|
-
properties: n,
|
|
82
|
-
headers: n,
|
|
83
|
-
},
|
|
84
|
-
type: e,
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
type: f,
|
|
88
|
-
},
|
|
89
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
90
|
-
],
|
|
91
|
-
type: f,
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
95
|
-
type: e,
|
|
96
|
-
},
|
|
97
|
-
],
|
|
98
|
-
type: f,
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
type: f,
|
|
102
|
-
},
|
|
103
|
-
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
104
|
-
],
|
|
105
|
-
};
|
|
106
|
-
exports.ruleSet = _data;
|