@aws-sdk/client-organizations 3.1151.0 → 3.1152.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/index.js
CHANGED
|
@@ -69,47 +69,37 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1151.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
76
|
-
const
|
|
77
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g =
|
|
76
|
+
const l = "ref", m = "authSchemes", n = "signingRegion";
|
|
77
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [l]: "Endpoint" }, h = { [l]: d }, i = { [m]: [{ "name": "sigv4", [n]: "us-gov-west-1" }] }, j = { [m]: [{ "name": "sigv4", [n]: "{PartitionResult#implicitGlobalRegion}" }] }, k = [{ [l]: "Region" }];
|
|
78
78
|
const _data = {
|
|
79
79
|
conditions: [
|
|
80
|
-
[c, [
|
|
81
|
-
[c,
|
|
82
|
-
["aws.partition",
|
|
83
|
-
[e, [{ [
|
|
84
|
-
[e, [{ [
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[g, [l, "aws-us-gov"]],
|
|
89
|
-
[g, [l, "aws-iso"]],
|
|
90
|
-
[e, [{ fn: f, argv: [k, "supportsFIPS"] }, b]],
|
|
91
|
-
[g, [l, "aws-iso-b"]],
|
|
92
|
-
[g, [l, "aws-iso-f"]]
|
|
80
|
+
[c, [g]],
|
|
81
|
+
[c, k],
|
|
82
|
+
["aws.partition", k, d],
|
|
83
|
+
[e, [{ [l]: "UseFIPS" }, b]],
|
|
84
|
+
[e, [{ [l]: "UseDualStack" }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
|
|
86
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
87
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]]
|
|
93
88
|
],
|
|
94
89
|
results: [
|
|
95
90
|
[a],
|
|
96
91
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
97
92
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
98
|
-
[
|
|
99
|
-
["https://organizations.us-
|
|
100
|
-
["https://organizations
|
|
101
|
-
["https://organizations
|
|
102
|
-
["https://organizations.us-gov-west-1.amazonaws.com", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-gov-west-1" }] }],
|
|
103
|
-
["https://organizations.us-iso-east-1.c2s.ic.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-iso-east-1" }] }],
|
|
104
|
-
["https://organizations.us-isob-east-1.sc2s.sgov.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-isob-east-1" }] }],
|
|
105
|
-
["https://organizations.us-isof-south-1.csp.hci.ic.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-isof-south-1" }] }],
|
|
106
|
-
["https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", m],
|
|
93
|
+
[g, {}],
|
|
94
|
+
["https://organizations.us-gov-west-1.amazonaws.com", i],
|
|
95
|
+
["https://organizations.us-gov-west-1.api.aws", i],
|
|
96
|
+
["https://organizations-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
107
97
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
108
|
-
["https://organizations-fips.{
|
|
98
|
+
["https://organizations-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
109
99
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
110
|
-
["https://organizations.{
|
|
100
|
+
["https://organizations.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
111
101
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
112
|
-
["https://organizations.{
|
|
102
|
+
["https://organizations.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
113
103
|
[a, "Invalid Configuration: Missing Region"]
|
|
114
104
|
]
|
|
115
105
|
};
|
|
@@ -117,25 +107,19 @@ const root = 2;
|
|
|
117
107
|
const r = 100_000_000;
|
|
118
108
|
const nodes = new Int32Array([
|
|
119
109
|
-1, 1, -1,
|
|
120
|
-
0,
|
|
121
|
-
1, 4, r +
|
|
122
|
-
2, 5, r +
|
|
123
|
-
3,
|
|
124
|
-
4,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
6, r + 5, 16,
|
|
134
|
-
8, r + 7, 17,
|
|
135
|
-
10, r + 13, r + 14,
|
|
136
|
-
5, 19, r + 12,
|
|
137
|
-
10, r + 11, r + 12,
|
|
138
|
-
3, r + 1, 21,
|
|
110
|
+
0, 14, 3,
|
|
111
|
+
1, 4, r + 13,
|
|
112
|
+
2, 5, r + 13,
|
|
113
|
+
3, 8, 6,
|
|
114
|
+
4, 7, r + 12,
|
|
115
|
+
7, r + 10, r + 11,
|
|
116
|
+
4, 11, 9,
|
|
117
|
+
5, r + 4, 10,
|
|
118
|
+
6, r + 8, r + 9,
|
|
119
|
+
5, r + 5, 12,
|
|
120
|
+
6, 13, r + 7,
|
|
121
|
+
7, r + 6, r + 7,
|
|
122
|
+
3, r + 1, 15,
|
|
139
123
|
4, r + 2, r + 3,
|
|
140
124
|
]);
|
|
141
125
|
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,41 +1,31 @@
|
|
|
1
1
|
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
-
const
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g =
|
|
2
|
+
const l = "ref", m = "authSchemes", n = "signingRegion";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [l]: "Endpoint" }, h = { [l]: d }, i = { [m]: [{ "name": "sigv4", [n]: "us-gov-west-1" }] }, j = { [m]: [{ "name": "sigv4", [n]: "{PartitionResult#implicitGlobalRegion}" }] }, k = [{ [l]: "Region" }];
|
|
4
4
|
const _data = {
|
|
5
5
|
conditions: [
|
|
6
|
-
[c, [
|
|
7
|
-
[c,
|
|
8
|
-
["aws.partition",
|
|
9
|
-
[e, [{ [
|
|
10
|
-
[e, [{ [
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[g, [l, "aws-us-gov"]],
|
|
15
|
-
[g, [l, "aws-iso"]],
|
|
16
|
-
[e, [{ fn: f, argv: [k, "supportsFIPS"] }, b]],
|
|
17
|
-
[g, [l, "aws-iso-b"]],
|
|
18
|
-
[g, [l, "aws-iso-f"]]
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, k],
|
|
8
|
+
["aws.partition", k, d],
|
|
9
|
+
[e, [{ [l]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [l]: "UseDualStack" }, b]],
|
|
11
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]]
|
|
19
14
|
],
|
|
20
15
|
results: [
|
|
21
16
|
[a],
|
|
22
17
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
23
18
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
24
|
-
[
|
|
25
|
-
["https://organizations.us-
|
|
26
|
-
["https://organizations
|
|
27
|
-
["https://organizations
|
|
28
|
-
["https://organizations.us-gov-west-1.amazonaws.com", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-gov-west-1" }] }],
|
|
29
|
-
["https://organizations.us-iso-east-1.c2s.ic.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-iso-east-1" }] }],
|
|
30
|
-
["https://organizations.us-isob-east-1.sc2s.sgov.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-isob-east-1" }] }],
|
|
31
|
-
["https://organizations.us-isof-south-1.csp.hci.ic.gov", { authSchemes: [{ name: h, signingName: i, signingRegion: "us-isof-south-1" }] }],
|
|
32
|
-
["https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", m],
|
|
19
|
+
[g, {}],
|
|
20
|
+
["https://organizations.us-gov-west-1.amazonaws.com", i],
|
|
21
|
+
["https://organizations.us-gov-west-1.api.aws", i],
|
|
22
|
+
["https://organizations-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
33
23
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
34
|
-
["https://organizations-fips.{
|
|
24
|
+
["https://organizations-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
35
25
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
36
|
-
["https://organizations.{
|
|
26
|
+
["https://organizations.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
37
27
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
38
|
-
["https://organizations.{
|
|
28
|
+
["https://organizations.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
39
29
|
[a, "Invalid Configuration: Missing Region"]
|
|
40
30
|
]
|
|
41
31
|
};
|
|
@@ -43,25 +33,19 @@ const root = 2;
|
|
|
43
33
|
const r = 100_000_000;
|
|
44
34
|
const nodes = new Int32Array([
|
|
45
35
|
-1, 1, -1,
|
|
46
|
-
0,
|
|
47
|
-
1, 4, r +
|
|
48
|
-
2, 5, r +
|
|
49
|
-
3,
|
|
50
|
-
4,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
6, r + 5, 16,
|
|
60
|
-
8, r + 7, 17,
|
|
61
|
-
10, r + 13, r + 14,
|
|
62
|
-
5, 19, r + 12,
|
|
63
|
-
10, r + 11, r + 12,
|
|
64
|
-
3, r + 1, 21,
|
|
36
|
+
0, 14, 3,
|
|
37
|
+
1, 4, r + 13,
|
|
38
|
+
2, 5, r + 13,
|
|
39
|
+
3, 8, 6,
|
|
40
|
+
4, 7, r + 12,
|
|
41
|
+
7, r + 10, r + 11,
|
|
42
|
+
4, 11, 9,
|
|
43
|
+
5, r + 4, 10,
|
|
44
|
+
6, r + 8, r + 9,
|
|
45
|
+
5, r + 5, 12,
|
|
46
|
+
6, 13, r + 7,
|
|
47
|
+
7, r + 6, r + 7,
|
|
48
|
+
3, r + 1, 15,
|
|
65
49
|
4, r + 2, r + 3,
|
|
66
50
|
]);
|
|
67
51
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -3,10 +3,10 @@ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2,
|
|
|
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
|
/**
|
|
12
12
|
* @public
|
|
@@ -43,8 +43,8 @@ export declare const commonParams: {
|
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
46
|
-
Region?: string | undefined;
|
|
47
46
|
UseDualStack?: boolean | undefined;
|
|
48
47
|
UseFIPS?: boolean | undefined;
|
|
49
48
|
Endpoint?: string | undefined;
|
|
49
|
+
Region?: string | undefined;
|
|
50
50
|
}
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1152.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-organizations",
|
|
6
6
|
"license": "Apache-2.0",
|