@aws-sdk/client-organizations 3.1020.0 → 3.1022.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/schemas/schemas_0.js +15 -13
- package/dist-es/schemas/schemas_0.js +15 -13
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +1 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +3 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -0
- package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +3 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +1 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
|
@@ -258,7 +258,7 @@ const _OUI = "OrganizationalUnitId";
|
|
|
258
258
|
const _OUNEE = "OrganizationalUnitNotEmptyException";
|
|
259
259
|
const _OUNFE = "OrganizationalUnitNotFoundException";
|
|
260
260
|
const _OUr = "OrganizationalUnits";
|
|
261
|
-
const _P = "
|
|
261
|
+
const _P = "Paths";
|
|
262
262
|
const _PC = "PolicyContent";
|
|
263
263
|
const _PCIPE = "PolicyChangesInProgressException";
|
|
264
264
|
const _PHI = "ParentHandshakeId";
|
|
@@ -285,7 +285,8 @@ const _Pa = "Parties";
|
|
|
285
285
|
const _Par = "Parents";
|
|
286
286
|
const _Pare = "Parent";
|
|
287
287
|
const _Pat = "Path";
|
|
288
|
-
const _Po = "
|
|
288
|
+
const _Po = "Policy";
|
|
289
|
+
const _Pol = "Policies";
|
|
289
290
|
const _R = "Reason";
|
|
290
291
|
const _RAFO = "RemoveAccountFromOrganization";
|
|
291
292
|
const _RAFOR = "RemoveAccountFromOrganizationRequest";
|
|
@@ -681,8 +682,8 @@ exports.AcceptHandshakeResponse$ = [3, n0, _AHRc,
|
|
|
681
682
|
];
|
|
682
683
|
exports.Account$ = [3, n0, _A,
|
|
683
684
|
0,
|
|
684
|
-
[_I, _Ar, _E, _N, _S, _St, _JM, _JT],
|
|
685
|
-
[0, 0, [() => Email, 0], [() => AccountName, 0], 0, 0, 0, 4]
|
|
685
|
+
[_I, _Ar, _E, _N, _S, _St, _P, _JM, _JT],
|
|
686
|
+
[0, 0, [() => Email, 0], [() => AccountName, 0], 0, 0, 64 | 0, 0, 4]
|
|
686
687
|
];
|
|
687
688
|
exports.AttachPolicyRequest$ = [3, n0, _APR,
|
|
688
689
|
0,
|
|
@@ -761,7 +762,7 @@ exports.CreatePolicyRequest$ = [3, n0, _CPR,
|
|
|
761
762
|
];
|
|
762
763
|
exports.CreatePolicyResponse$ = [3, n0, _CPRr,
|
|
763
764
|
0,
|
|
764
|
-
[
|
|
765
|
+
[_Po],
|
|
765
766
|
[() => exports.Policy$]
|
|
766
767
|
];
|
|
767
768
|
exports.DeclineHandshakeRequest$ = [3, n0, _DHR,
|
|
@@ -861,7 +862,7 @@ exports.DescribePolicyRequest$ = [3, n0, _DPRe,
|
|
|
861
862
|
];
|
|
862
863
|
exports.DescribePolicyResponse$ = [3, n0, _DPRes,
|
|
863
864
|
0,
|
|
864
|
-
[
|
|
865
|
+
[_Po],
|
|
865
866
|
[() => exports.Policy$]
|
|
866
867
|
];
|
|
867
868
|
exports.DescribeResourcePolicyResponse$ = [3, n0, _DRPR,
|
|
@@ -1136,7 +1137,7 @@ exports.ListPoliciesForTargetRequest$ = [3, n0, _LPFTR,
|
|
|
1136
1137
|
];
|
|
1137
1138
|
exports.ListPoliciesForTargetResponse$ = [3, n0, _LPFTRi,
|
|
1138
1139
|
0,
|
|
1139
|
-
[
|
|
1140
|
+
[_Pol, _NT],
|
|
1140
1141
|
[() => Policies, 0]
|
|
1141
1142
|
];
|
|
1142
1143
|
exports.ListPoliciesRequest$ = [3, n0, _LPRis,
|
|
@@ -1146,7 +1147,7 @@ exports.ListPoliciesRequest$ = [3, n0, _LPRis,
|
|
|
1146
1147
|
];
|
|
1147
1148
|
exports.ListPoliciesResponse$ = [3, n0, _LPRist,
|
|
1148
1149
|
0,
|
|
1149
|
-
[
|
|
1150
|
+
[_Pol, _NT],
|
|
1150
1151
|
[() => Policies, 0]
|
|
1151
1152
|
];
|
|
1152
1153
|
exports.ListRootsRequest$ = [3, n0, _LRR,
|
|
@@ -1191,15 +1192,15 @@ exports.Organization$ = [3, n0, _O,
|
|
|
1191
1192
|
];
|
|
1192
1193
|
exports.OrganizationalUnit$ = [3, n0, _OU,
|
|
1193
1194
|
0,
|
|
1194
|
-
[_I, _Ar, _N],
|
|
1195
|
-
[0, 0, 0]
|
|
1195
|
+
[_I, _Ar, _N, _Pat],
|
|
1196
|
+
[0, 0, 0, 0]
|
|
1196
1197
|
];
|
|
1197
1198
|
exports.Parent$ = [3, n0, _Pare,
|
|
1198
1199
|
0,
|
|
1199
1200
|
[_I, _T],
|
|
1200
1201
|
[0, 0]
|
|
1201
1202
|
];
|
|
1202
|
-
exports.Policy$ = [3, n0,
|
|
1203
|
+
exports.Policy$ = [3, n0, _Po,
|
|
1203
1204
|
0,
|
|
1204
1205
|
[_PS, _Co],
|
|
1205
1206
|
[() => exports.PolicySummary$, 0]
|
|
@@ -1306,7 +1307,7 @@ exports.UpdatePolicyRequest$ = [3, n0, _UPR,
|
|
|
1306
1307
|
];
|
|
1307
1308
|
exports.UpdatePolicyResponse$ = [3, n0, _UPRp,
|
|
1308
1309
|
0,
|
|
1309
|
-
[
|
|
1310
|
+
[_Po],
|
|
1310
1311
|
[() => exports.Policy$]
|
|
1311
1312
|
];
|
|
1312
1313
|
exports.UpdateResponsibilityTransferRequest$ = [3, n0, _URTR,
|
|
@@ -1363,7 +1364,8 @@ var OrganizationalUnits = [1, n0, _OUr,
|
|
|
1363
1364
|
var Parents = [1, n0, _Par,
|
|
1364
1365
|
0, () => exports.Parent$
|
|
1365
1366
|
];
|
|
1366
|
-
var
|
|
1367
|
+
var Paths = 64 | 0;
|
|
1368
|
+
var Policies = [1, n0, _Pol,
|
|
1367
1369
|
0, () => exports.PolicySummary$
|
|
1368
1370
|
];
|
|
1369
1371
|
var PolicyIds = 64 | 0;
|
|
@@ -251,7 +251,7 @@ const _OUI = "OrganizationalUnitId";
|
|
|
251
251
|
const _OUNEE = "OrganizationalUnitNotEmptyException";
|
|
252
252
|
const _OUNFE = "OrganizationalUnitNotFoundException";
|
|
253
253
|
const _OUr = "OrganizationalUnits";
|
|
254
|
-
const _P = "
|
|
254
|
+
const _P = "Paths";
|
|
255
255
|
const _PC = "PolicyContent";
|
|
256
256
|
const _PCIPE = "PolicyChangesInProgressException";
|
|
257
257
|
const _PHI = "ParentHandshakeId";
|
|
@@ -278,7 +278,8 @@ const _Pa = "Parties";
|
|
|
278
278
|
const _Par = "Parents";
|
|
279
279
|
const _Pare = "Parent";
|
|
280
280
|
const _Pat = "Path";
|
|
281
|
-
const _Po = "
|
|
281
|
+
const _Po = "Policy";
|
|
282
|
+
const _Pol = "Policies";
|
|
282
283
|
const _R = "Reason";
|
|
283
284
|
const _RAFO = "RemoveAccountFromOrganization";
|
|
284
285
|
const _RAFOR = "RemoveAccountFromOrganizationRequest";
|
|
@@ -674,8 +675,8 @@ export var AcceptHandshakeResponse$ = [3, n0, _AHRc,
|
|
|
674
675
|
];
|
|
675
676
|
export var Account$ = [3, n0, _A,
|
|
676
677
|
0,
|
|
677
|
-
[_I, _Ar, _E, _N, _S, _St, _JM, _JT],
|
|
678
|
-
[0, 0, [() => Email, 0], [() => AccountName, 0], 0, 0, 0, 4]
|
|
678
|
+
[_I, _Ar, _E, _N, _S, _St, _P, _JM, _JT],
|
|
679
|
+
[0, 0, [() => Email, 0], [() => AccountName, 0], 0, 0, 64 | 0, 0, 4]
|
|
679
680
|
];
|
|
680
681
|
export var AttachPolicyRequest$ = [3, n0, _APR,
|
|
681
682
|
0,
|
|
@@ -754,7 +755,7 @@ export var CreatePolicyRequest$ = [3, n0, _CPR,
|
|
|
754
755
|
];
|
|
755
756
|
export var CreatePolicyResponse$ = [3, n0, _CPRr,
|
|
756
757
|
0,
|
|
757
|
-
[
|
|
758
|
+
[_Po],
|
|
758
759
|
[() => Policy$]
|
|
759
760
|
];
|
|
760
761
|
export var DeclineHandshakeRequest$ = [3, n0, _DHR,
|
|
@@ -854,7 +855,7 @@ export var DescribePolicyRequest$ = [3, n0, _DPRe,
|
|
|
854
855
|
];
|
|
855
856
|
export var DescribePolicyResponse$ = [3, n0, _DPRes,
|
|
856
857
|
0,
|
|
857
|
-
[
|
|
858
|
+
[_Po],
|
|
858
859
|
[() => Policy$]
|
|
859
860
|
];
|
|
860
861
|
export var DescribeResourcePolicyResponse$ = [3, n0, _DRPR,
|
|
@@ -1129,7 +1130,7 @@ export var ListPoliciesForTargetRequest$ = [3, n0, _LPFTR,
|
|
|
1129
1130
|
];
|
|
1130
1131
|
export var ListPoliciesForTargetResponse$ = [3, n0, _LPFTRi,
|
|
1131
1132
|
0,
|
|
1132
|
-
[
|
|
1133
|
+
[_Pol, _NT],
|
|
1133
1134
|
[() => Policies, 0]
|
|
1134
1135
|
];
|
|
1135
1136
|
export var ListPoliciesRequest$ = [3, n0, _LPRis,
|
|
@@ -1139,7 +1140,7 @@ export var ListPoliciesRequest$ = [3, n0, _LPRis,
|
|
|
1139
1140
|
];
|
|
1140
1141
|
export var ListPoliciesResponse$ = [3, n0, _LPRist,
|
|
1141
1142
|
0,
|
|
1142
|
-
[
|
|
1143
|
+
[_Pol, _NT],
|
|
1143
1144
|
[() => Policies, 0]
|
|
1144
1145
|
];
|
|
1145
1146
|
export var ListRootsRequest$ = [3, n0, _LRR,
|
|
@@ -1184,15 +1185,15 @@ export var Organization$ = [3, n0, _O,
|
|
|
1184
1185
|
];
|
|
1185
1186
|
export var OrganizationalUnit$ = [3, n0, _OU,
|
|
1186
1187
|
0,
|
|
1187
|
-
[_I, _Ar, _N],
|
|
1188
|
-
[0, 0, 0]
|
|
1188
|
+
[_I, _Ar, _N, _Pat],
|
|
1189
|
+
[0, 0, 0, 0]
|
|
1189
1190
|
];
|
|
1190
1191
|
export var Parent$ = [3, n0, _Pare,
|
|
1191
1192
|
0,
|
|
1192
1193
|
[_I, _T],
|
|
1193
1194
|
[0, 0]
|
|
1194
1195
|
];
|
|
1195
|
-
export var Policy$ = [3, n0,
|
|
1196
|
+
export var Policy$ = [3, n0, _Po,
|
|
1196
1197
|
0,
|
|
1197
1198
|
[_PS, _Co],
|
|
1198
1199
|
[() => PolicySummary$, 0]
|
|
@@ -1299,7 +1300,7 @@ export var UpdatePolicyRequest$ = [3, n0, _UPR,
|
|
|
1299
1300
|
];
|
|
1300
1301
|
export var UpdatePolicyResponse$ = [3, n0, _UPRp,
|
|
1301
1302
|
0,
|
|
1302
|
-
[
|
|
1303
|
+
[_Po],
|
|
1303
1304
|
[() => Policy$]
|
|
1304
1305
|
];
|
|
1305
1306
|
export var UpdateResponsibilityTransferRequest$ = [3, n0, _URTR,
|
|
@@ -1356,7 +1357,8 @@ var OrganizationalUnits = [1, n0, _OUr,
|
|
|
1356
1357
|
var Parents = [1, n0, _Par,
|
|
1357
1358
|
0, () => Parent$
|
|
1358
1359
|
];
|
|
1359
|
-
var
|
|
1360
|
+
var Paths = 64 | 0;
|
|
1361
|
+
var Policies = [1, n0, _Pol,
|
|
1360
1362
|
0, () => PolicySummary$
|
|
1361
1363
|
];
|
|
1362
1364
|
var PolicyIds = 64 | 0;
|
|
@@ -50,6 +50,9 @@ declare const DescribeAccountCommand_base: {
|
|
|
50
50
|
* // Name: "STRING_VALUE",
|
|
51
51
|
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
52
52
|
* // State: "PENDING_ACTIVATION" || "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE" || "CLOSED",
|
|
53
|
+
* // Paths: [ // Paths
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
53
56
|
* // JoinedMethod: "INVITED" || "CREATED",
|
|
54
57
|
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
55
58
|
* // },
|
|
@@ -58,6 +58,9 @@ declare const ListAccountsCommand_base: {
|
|
|
58
58
|
* // Name: "STRING_VALUE",
|
|
59
59
|
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
60
60
|
* // State: "PENDING_ACTIVATION" || "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE" || "CLOSED",
|
|
61
|
+
* // Paths: [ // Paths
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
61
64
|
* // JoinedMethod: "INVITED" || "CREATED",
|
|
62
65
|
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
63
66
|
* // },
|
|
@@ -62,6 +62,9 @@ declare const ListAccountsForParentCommand_base: {
|
|
|
62
62
|
* // Name: "STRING_VALUE",
|
|
63
63
|
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
64
64
|
* // State: "PENDING_ACTIVATION" || "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE" || "CLOSED",
|
|
65
|
+
* // Paths: [ // Paths
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
65
68
|
* // JoinedMethod: "INVITED" || "CREATED",
|
|
66
69
|
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
67
70
|
* // },
|
|
@@ -56,6 +56,9 @@ declare const ListAccountsWithInvalidEffectivePolicyCommand_base: {
|
|
|
56
56
|
* // Name: "STRING_VALUE",
|
|
57
57
|
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
58
58
|
* // State: "PENDING_ACTIVATION" || "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE" || "CLOSED",
|
|
59
|
+
* // Paths: [ // Paths
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
59
62
|
* // JoinedMethod: "INVITED" || "CREATED",
|
|
60
63
|
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
61
64
|
* // },
|
|
@@ -85,6 +85,11 @@ export interface Account {
|
|
|
85
85
|
* @public
|
|
86
86
|
*/
|
|
87
87
|
State?: AccountState | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The paths in the organization where the account exists.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
Paths?: string[] | undefined;
|
|
88
93
|
/**
|
|
89
94
|
* <p>The method by which the account joined the organization.</p>
|
|
90
95
|
* @public
|
|
@@ -751,6 +756,11 @@ export interface OrganizationalUnit {
|
|
|
751
756
|
* @public
|
|
752
757
|
*/
|
|
753
758
|
Name?: string | undefined;
|
|
759
|
+
/**
|
|
760
|
+
* <p>The path in the organization where this OU exists.</p>
|
|
761
|
+
* @public
|
|
762
|
+
*/
|
|
763
|
+
Path?: string | undefined;
|
|
754
764
|
}
|
|
755
765
|
/**
|
|
756
766
|
* @public
|
|
@@ -33,6 +33,7 @@ export interface Account {
|
|
|
33
33
|
Name?: string | undefined;
|
|
34
34
|
Status?: AccountStatus | undefined;
|
|
35
35
|
State?: AccountState | undefined;
|
|
36
|
+
Paths?: string[] | undefined;
|
|
36
37
|
JoinedMethod?: AccountJoinedMethod | undefined;
|
|
37
38
|
JoinedTimestamp?: Date | undefined;
|
|
38
39
|
}
|
|
@@ -108,6 +109,7 @@ export interface OrganizationalUnit {
|
|
|
108
109
|
Id?: string | undefined;
|
|
109
110
|
Arn?: string | undefined;
|
|
110
111
|
Name?: string | undefined;
|
|
112
|
+
Path?: string | undefined;
|
|
111
113
|
}
|
|
112
114
|
export interface CreateOrganizationalUnitResponse {
|
|
113
115
|
OrganizationalUnit?: OrganizationalUnit | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1022.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-organizations",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "^3.973.26",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.29",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.28",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.14",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
36
|
"@smithy/core": "^3.23.13",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.28",
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.46",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.16",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.12",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.12",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
56
56
|
"@smithy/util-endpoints": "^3.3.3",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.12",
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
58
|
+
"@smithy/util-retry": "^4.2.13",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|