@aws-sdk/client-connect 3.1031.0 → 3.1033.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/endpoint/bdd.js +52 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +3 -3
- package/dist-es/endpoint/bdd.js +49 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/schemas/schemas_0.js +3 -3
- package/dist-types/commands/ListTestCaseExecutionsCommand.d.ts +2 -2
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +2 -2
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
|
+
const k = "ref";
|
|
6
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
|
+
const _data = {
|
|
8
|
+
conditions: [
|
|
9
|
+
[c, [g]],
|
|
10
|
+
[c, j],
|
|
11
|
+
["aws.partition", j, d],
|
|
12
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
13
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
14
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
15
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
16
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
17
|
+
],
|
|
18
|
+
results: [
|
|
19
|
+
[a],
|
|
20
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
21
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
22
|
+
[g, i],
|
|
23
|
+
["https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
25
|
+
["https://connect.{Region}.amazonaws.com", i],
|
|
26
|
+
["https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
27
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
28
|
+
["https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
29
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
30
|
+
["https://connect.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
31
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
const root = 2;
|
|
35
|
+
const r = 100_000_000;
|
|
36
|
+
const nodes = new Int32Array([
|
|
37
|
+
-1, 1, -1,
|
|
38
|
+
0, 13, 3,
|
|
39
|
+
1, 4, r + 12,
|
|
40
|
+
2, 5, r + 12,
|
|
41
|
+
3, 8, 6,
|
|
42
|
+
4, 7, r + 11,
|
|
43
|
+
5, r + 9, r + 10,
|
|
44
|
+
4, 11, 9,
|
|
45
|
+
6, 10, r + 8,
|
|
46
|
+
7, r + 6, r + 7,
|
|
47
|
+
5, 12, r + 5,
|
|
48
|
+
6, r + 4, r + 5,
|
|
49
|
+
3, r + 1, 14,
|
|
50
|
+
4, r + 2, r + 3,
|
|
51
|
+
]);
|
|
52
|
+
exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
-
const
|
|
6
|
+
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new util_endpoints_2.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0, util_endpoints_2.
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
@@ -6438,7 +6438,7 @@ exports.ListTestCaseExecutionRecordsResponse$ = [3, n0, _LTCERRi,
|
|
|
6438
6438
|
exports.ListTestCaseExecutionsRequest$ = [3, n0, _LTCER,
|
|
6439
6439
|
0,
|
|
6440
6440
|
[_II, _TCI, _TCN, _STtar, _ETnd, _St, _NT, _MR],
|
|
6441
|
-
[[0, 1], [0, { [_hQ]: _tCI }], [0, { [_hQ]: _tCN }], [
|
|
6441
|
+
[[0, 1], [0, { [_hQ]: _tCI }], [0, { [_hQ]: _tCN }], [1, { [_hQ]: _sT }], [1, { [_hQ]: _eT }], [0, { [_hQ]: _st }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
6442
6442
|
];
|
|
6443
6443
|
exports.ListTestCaseExecutionsResponse$ = [3, n0, _LTCERi,
|
|
6444
6444
|
0,
|
|
@@ -7813,7 +7813,7 @@ exports.StartTaskContactResponse$ = [3, n0, _STCRta,
|
|
|
7813
7813
|
exports.StartTestCaseExecutionRequest$ = [3, n0, _STCER,
|
|
7814
7814
|
0,
|
|
7815
7815
|
[_II, _TCI, _CT],
|
|
7816
|
-
[[0, 1], [0, 1], 0], 2
|
|
7816
|
+
[[0, 1], [0, 1], [0, 4]], 2
|
|
7817
7817
|
];
|
|
7818
7818
|
exports.StartTestCaseExecutionResponse$ = [3, n0, _STCERt,
|
|
7819
7819
|
0,
|
|
@@ -7883,7 +7883,7 @@ exports.StopContactStreamingResponse$ = [3, n0, _SCSRtop,
|
|
|
7883
7883
|
exports.StopTestCaseExecutionRequest$ = [3, n0, _STCERto,
|
|
7884
7884
|
0,
|
|
7885
7885
|
[_II, _TCEI, _TCI, _CT],
|
|
7886
|
-
[[0, 1], [0, 1], [0, 1], 0], 3
|
|
7886
|
+
[[0, 1], [0, 1], [0, 1], [0, 4]], 3
|
|
7887
7887
|
];
|
|
7888
7888
|
exports.StopTestCaseExecutionResponse$ = [3, n0, _STCERtop,
|
|
7889
7889
|
0,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const k = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, j],
|
|
8
|
+
["aws.partition", j, d],
|
|
9
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
14
|
+
],
|
|
15
|
+
results: [
|
|
16
|
+
[a],
|
|
17
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
18
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
19
|
+
[g, i],
|
|
20
|
+
["https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
21
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
22
|
+
["https://connect.{Region}.amazonaws.com", i],
|
|
23
|
+
["https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
24
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
25
|
+
["https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
|
+
["https://connect.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
28
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
29
|
+
]
|
|
30
|
+
};
|
|
31
|
+
const root = 2;
|
|
32
|
+
const r = 100_000_000;
|
|
33
|
+
const nodes = new Int32Array([
|
|
34
|
+
-1, 1, -1,
|
|
35
|
+
0, 13, 3,
|
|
36
|
+
1, 4, r + 12,
|
|
37
|
+
2, 5, r + 12,
|
|
38
|
+
3, 8, 6,
|
|
39
|
+
4, 7, r + 11,
|
|
40
|
+
5, r + 9, r + 10,
|
|
41
|
+
4, 11, 9,
|
|
42
|
+
6, 10, r + 8,
|
|
43
|
+
7, r + 6, r + 7,
|
|
44
|
+
5, 12, r + 5,
|
|
45
|
+
6, r + 4, r + 5,
|
|
46
|
+
3, r + 1, 14,
|
|
47
|
+
4, r + 2, r + 3,
|
|
48
|
+
]);
|
|
49
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions,
|
|
3
|
-
import {
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
|
|
3
|
+
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () =>
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
10
|
endpointParams: endpointParams,
|
|
11
11
|
logger: context.logger,
|
|
12
12
|
}));
|
|
@@ -6404,7 +6404,7 @@ export var ListTestCaseExecutionRecordsResponse$ = [3, n0, _LTCERRi,
|
|
|
6404
6404
|
export var ListTestCaseExecutionsRequest$ = [3, n0, _LTCER,
|
|
6405
6405
|
0,
|
|
6406
6406
|
[_II, _TCI, _TCN, _STtar, _ETnd, _St, _NT, _MR],
|
|
6407
|
-
[[0, 1], [0, { [_hQ]: _tCI }], [0, { [_hQ]: _tCN }], [
|
|
6407
|
+
[[0, 1], [0, { [_hQ]: _tCI }], [0, { [_hQ]: _tCN }], [1, { [_hQ]: _sT }], [1, { [_hQ]: _eT }], [0, { [_hQ]: _st }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
6408
6408
|
];
|
|
6409
6409
|
export var ListTestCaseExecutionsResponse$ = [3, n0, _LTCERi,
|
|
6410
6410
|
0,
|
|
@@ -7779,7 +7779,7 @@ export var StartTaskContactResponse$ = [3, n0, _STCRta,
|
|
|
7779
7779
|
export var StartTestCaseExecutionRequest$ = [3, n0, _STCER,
|
|
7780
7780
|
0,
|
|
7781
7781
|
[_II, _TCI, _CT],
|
|
7782
|
-
[[0, 1], [0, 1], 0], 2
|
|
7782
|
+
[[0, 1], [0, 1], [0, 4]], 2
|
|
7783
7783
|
];
|
|
7784
7784
|
export var StartTestCaseExecutionResponse$ = [3, n0, _STCERt,
|
|
7785
7785
|
0,
|
|
@@ -7849,7 +7849,7 @@ export var StopContactStreamingResponse$ = [3, n0, _SCSRtop,
|
|
|
7849
7849
|
export var StopTestCaseExecutionRequest$ = [3, n0, _STCERto,
|
|
7850
7850
|
0,
|
|
7851
7851
|
[_II, _TCEI, _TCI, _CT],
|
|
7852
|
-
[[0, 1], [0, 1], [0, 1], 0], 3
|
|
7852
|
+
[[0, 1], [0, 1], [0, 1], [0, 4]], 3
|
|
7853
7853
|
];
|
|
7854
7854
|
export var StopTestCaseExecutionResponse$ = [3, n0, _STCERtop,
|
|
7855
7855
|
0,
|
|
@@ -40,8 +40,8 @@ declare const ListTestCaseExecutionsCommand_base: {
|
|
|
40
40
|
* InstanceId: "STRING_VALUE", // required
|
|
41
41
|
* TestCaseId: "STRING_VALUE",
|
|
42
42
|
* TestCaseName: "STRING_VALUE",
|
|
43
|
-
* StartTime:
|
|
44
|
-
* EndTime:
|
|
43
|
+
* StartTime: Number("long"),
|
|
44
|
+
* EndTime: Number("long"),
|
|
45
45
|
* Status: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
|
|
46
46
|
* NextToken: "STRING_VALUE",
|
|
47
47
|
* MaxResults: Number("int"),
|
|
@@ -4259,7 +4259,7 @@ export interface TestCase {
|
|
|
4259
4259
|
*/
|
|
4260
4260
|
EntryPoint?: TestCaseEntryPoint | undefined;
|
|
4261
4261
|
/**
|
|
4262
|
-
* <p>Defines the test attributes for precise data representation.</p>
|
|
4262
|
+
* <p>Defines the test attributes for precise data representation. The value must be a valid JSON string.</p>
|
|
4263
4263
|
* @public
|
|
4264
4264
|
*/
|
|
4265
4265
|
InitializationData?: string | undefined;
|
|
@@ -4653,12 +4653,12 @@ export interface ListTestCaseExecutionsRequest {
|
|
|
4653
4653
|
* <p>Filter executions that started after this time.</p>
|
|
4654
4654
|
* @public
|
|
4655
4655
|
*/
|
|
4656
|
-
StartTime?:
|
|
4656
|
+
StartTime?: number | undefined;
|
|
4657
4657
|
/**
|
|
4658
4658
|
* <p>Filter executions that started before this time.</p>
|
|
4659
4659
|
* @public
|
|
4660
4660
|
*/
|
|
4661
|
-
EndTime?:
|
|
4661
|
+
EndTime?: number | undefined;
|
|
4662
4662
|
/**
|
|
4663
4663
|
* <p>Filter executions by status.</p>
|
|
4664
4664
|
* @public
|
|
@@ -1380,8 +1380,8 @@ export interface ListTestCaseExecutionsRequest {
|
|
|
1380
1380
|
InstanceId: string | undefined;
|
|
1381
1381
|
TestCaseId?: string | undefined;
|
|
1382
1382
|
TestCaseName?: string | undefined;
|
|
1383
|
-
StartTime?:
|
|
1384
|
-
EndTime?:
|
|
1383
|
+
StartTime?: number | undefined;
|
|
1384
|
+
EndTime?: number | undefined;
|
|
1385
1385
|
Status?: TestCaseExecutionStatus | undefined;
|
|
1386
1386
|
NextToken?: string | undefined;
|
|
1387
1387
|
MaxResults?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1033.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.2",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.33",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.32",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.12",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.7",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.18",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.16",
|
|
36
36
|
"@smithy/core": "^3.23.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -1,7 +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 = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
|
-
exports.ruleSet = _data;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
-
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" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
|
-
export const ruleSet = _data;
|