@effect-aws/client-organizations 1.10.9 → 1.11.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/Errors.d.ts +1 -1
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/OrganizationsClientInstance.d.ts +3 -1
- package/dist/cjs/OrganizationsClientInstance.d.ts.map +1 -1
- package/dist/cjs/OrganizationsClientInstance.js +6 -4
- package/dist/cjs/OrganizationsClientInstance.js.map +1 -1
- package/dist/cjs/OrganizationsService.d.ts +24 -3
- package/dist/cjs/OrganizationsService.d.ts.map +1 -1
- package/dist/cjs/OrganizationsService.js +30 -9
- package/dist/cjs/OrganizationsService.js.map +1 -1
- package/dist/cjs/OrganizationsServiceConfig.d.ts +2 -1
- package/dist/cjs/OrganizationsServiceConfig.d.ts.map +1 -1
- package/dist/cjs/OrganizationsServiceConfig.js +34 -9
- package/dist/cjs/OrganizationsServiceConfig.js.map +1 -1
- package/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/OrganizationsClientInstance.d.ts +3 -1
- package/dist/dts/OrganizationsClientInstance.d.ts.map +1 -1
- package/dist/dts/OrganizationsService.d.ts +24 -3
- package/dist/dts/OrganizationsService.d.ts.map +1 -1
- package/dist/dts/OrganizationsServiceConfig.d.ts +2 -1
- package/dist/dts/OrganizationsServiceConfig.d.ts.map +1 -1
- package/dist/esm/OrganizationsClientInstance.js +3 -1
- package/dist/esm/OrganizationsClientInstance.js.map +1 -1
- package/dist/esm/OrganizationsService.js +25 -4
- package/dist/esm/OrganizationsService.js.map +1 -1
- package/dist/esm/OrganizationsServiceConfig.js +4 -2
- package/dist/esm/OrganizationsServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -1
- package/src/OrganizationsClientInstance.ts +3 -1
- package/src/OrganizationsService.ts +326 -4
- package/src/OrganizationsServiceConfig.ts +4 -2
|
@@ -166,6 +166,24 @@ import {
|
|
|
166
166
|
type MoveAccountCommandOutput,
|
|
167
167
|
type OrganizationsClient,
|
|
168
168
|
type OrganizationsClientConfig,
|
|
169
|
+
paginateListAccounts,
|
|
170
|
+
paginateListAccountsForParent,
|
|
171
|
+
paginateListAccountsWithInvalidEffectivePolicy,
|
|
172
|
+
paginateListAWSServiceAccessForOrganization,
|
|
173
|
+
paginateListChildren,
|
|
174
|
+
paginateListCreateAccountStatus,
|
|
175
|
+
paginateListDelegatedAdministrators,
|
|
176
|
+
paginateListDelegatedServicesForAccount,
|
|
177
|
+
paginateListEffectivePolicyValidationErrors,
|
|
178
|
+
paginateListHandshakesForAccount,
|
|
179
|
+
paginateListHandshakesForOrganization,
|
|
180
|
+
paginateListOrganizationalUnitsForParent,
|
|
181
|
+
paginateListParents,
|
|
182
|
+
paginateListPolicies,
|
|
183
|
+
paginateListPoliciesForTarget,
|
|
184
|
+
paginateListRoots,
|
|
185
|
+
paginateListTagsForResource,
|
|
186
|
+
paginateListTargetsForPolicy,
|
|
169
187
|
PutResourcePolicyCommand,
|
|
170
188
|
type PutResourcePolicyCommandInput,
|
|
171
189
|
type PutResourcePolicyCommandOutput,
|
|
@@ -194,10 +212,13 @@ import {
|
|
|
194
212
|
type UpdateResponsibilityTransferCommandInput,
|
|
195
213
|
type UpdateResponsibilityTransferCommandOutput,
|
|
196
214
|
} from "@aws-sdk/client-organizations";
|
|
197
|
-
import
|
|
198
|
-
import
|
|
199
|
-
import type {
|
|
200
|
-
import
|
|
215
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
216
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
217
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
218
|
+
import type * as Cause from "effect/Cause";
|
|
219
|
+
import * as Effect from "effect/Effect";
|
|
220
|
+
import * as Layer from "effect/Layer";
|
|
221
|
+
import type * as Stream from "effect/Stream";
|
|
201
222
|
import type {
|
|
202
223
|
AccessDeniedError,
|
|
203
224
|
AccessDeniedForDependencyError,
|
|
@@ -321,6 +342,27 @@ const commands = {
|
|
|
321
342
|
UpdateResponsibilityTransferCommand,
|
|
322
343
|
};
|
|
323
344
|
|
|
345
|
+
const paginators = {
|
|
346
|
+
paginateListAWSServiceAccessForOrganization,
|
|
347
|
+
paginateListAccounts,
|
|
348
|
+
paginateListAccountsForParent,
|
|
349
|
+
paginateListAccountsWithInvalidEffectivePolicy,
|
|
350
|
+
paginateListChildren,
|
|
351
|
+
paginateListCreateAccountStatus,
|
|
352
|
+
paginateListDelegatedAdministrators,
|
|
353
|
+
paginateListDelegatedServicesForAccount,
|
|
354
|
+
paginateListEffectivePolicyValidationErrors,
|
|
355
|
+
paginateListHandshakesForAccount,
|
|
356
|
+
paginateListHandshakesForOrganization,
|
|
357
|
+
paginateListOrganizationalUnitsForParent,
|
|
358
|
+
paginateListParents,
|
|
359
|
+
paginateListPolicies,
|
|
360
|
+
paginateListPoliciesForTarget,
|
|
361
|
+
paginateListRoots,
|
|
362
|
+
paginateListTagsForResource,
|
|
363
|
+
paginateListTargetsForPolicy,
|
|
364
|
+
};
|
|
365
|
+
|
|
324
366
|
interface OrganizationsService$ {
|
|
325
367
|
readonly _: unique symbol;
|
|
326
368
|
|
|
@@ -1030,6 +1072,22 @@ interface OrganizationsService$ {
|
|
|
1030
1072
|
| UnsupportedAPIEndpointError
|
|
1031
1073
|
>;
|
|
1032
1074
|
|
|
1075
|
+
listAWSServiceAccessForOrganizationStream(
|
|
1076
|
+
args: ListAWSServiceAccessForOrganizationCommandInput,
|
|
1077
|
+
options?: HttpHandlerOptions,
|
|
1078
|
+
): Stream.Stream<
|
|
1079
|
+
ListAWSServiceAccessForOrganizationCommandOutput,
|
|
1080
|
+
| Cause.TimeoutException
|
|
1081
|
+
| SdkError
|
|
1082
|
+
| AccessDeniedError
|
|
1083
|
+
| AWSOrganizationsNotInUseError
|
|
1084
|
+
| ConstraintViolationError
|
|
1085
|
+
| InvalidInputError
|
|
1086
|
+
| ServiceError
|
|
1087
|
+
| TooManyRequestsError
|
|
1088
|
+
| UnsupportedAPIEndpointError
|
|
1089
|
+
>;
|
|
1090
|
+
|
|
1033
1091
|
/**
|
|
1034
1092
|
* @see {@link ListAccountsCommand}
|
|
1035
1093
|
*/
|
|
@@ -1047,6 +1105,20 @@ interface OrganizationsService$ {
|
|
|
1047
1105
|
| TooManyRequestsError
|
|
1048
1106
|
>;
|
|
1049
1107
|
|
|
1108
|
+
listAccountsStream(
|
|
1109
|
+
args: ListAccountsCommandInput,
|
|
1110
|
+
options?: HttpHandlerOptions,
|
|
1111
|
+
): Stream.Stream<
|
|
1112
|
+
ListAccountsCommandOutput,
|
|
1113
|
+
| Cause.TimeoutException
|
|
1114
|
+
| SdkError
|
|
1115
|
+
| AccessDeniedError
|
|
1116
|
+
| AWSOrganizationsNotInUseError
|
|
1117
|
+
| InvalidInputError
|
|
1118
|
+
| ServiceError
|
|
1119
|
+
| TooManyRequestsError
|
|
1120
|
+
>;
|
|
1121
|
+
|
|
1050
1122
|
/**
|
|
1051
1123
|
* @see {@link ListAccountsForParentCommand}
|
|
1052
1124
|
*/
|
|
@@ -1065,6 +1137,21 @@ interface OrganizationsService$ {
|
|
|
1065
1137
|
| TooManyRequestsError
|
|
1066
1138
|
>;
|
|
1067
1139
|
|
|
1140
|
+
listAccountsForParentStream(
|
|
1141
|
+
args: ListAccountsForParentCommandInput,
|
|
1142
|
+
options?: HttpHandlerOptions,
|
|
1143
|
+
): Stream.Stream<
|
|
1144
|
+
ListAccountsForParentCommandOutput,
|
|
1145
|
+
| Cause.TimeoutException
|
|
1146
|
+
| SdkError
|
|
1147
|
+
| AccessDeniedError
|
|
1148
|
+
| AWSOrganizationsNotInUseError
|
|
1149
|
+
| InvalidInputError
|
|
1150
|
+
| ParentNotFoundError
|
|
1151
|
+
| ServiceError
|
|
1152
|
+
| TooManyRequestsError
|
|
1153
|
+
>;
|
|
1154
|
+
|
|
1068
1155
|
/**
|
|
1069
1156
|
* @see {@link ListAccountsWithInvalidEffectivePolicyCommand}
|
|
1070
1157
|
*/
|
|
@@ -1085,6 +1172,23 @@ interface OrganizationsService$ {
|
|
|
1085
1172
|
| UnsupportedAPIEndpointError
|
|
1086
1173
|
>;
|
|
1087
1174
|
|
|
1175
|
+
listAccountsWithInvalidEffectivePolicyStream(
|
|
1176
|
+
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
|
|
1177
|
+
options?: HttpHandlerOptions,
|
|
1178
|
+
): Stream.Stream<
|
|
1179
|
+
ListAccountsWithInvalidEffectivePolicyCommandOutput,
|
|
1180
|
+
| Cause.TimeoutException
|
|
1181
|
+
| SdkError
|
|
1182
|
+
| AccessDeniedError
|
|
1183
|
+
| AWSOrganizationsNotInUseError
|
|
1184
|
+
| ConstraintViolationError
|
|
1185
|
+
| EffectivePolicyNotFoundError
|
|
1186
|
+
| InvalidInputError
|
|
1187
|
+
| ServiceError
|
|
1188
|
+
| TooManyRequestsError
|
|
1189
|
+
| UnsupportedAPIEndpointError
|
|
1190
|
+
>;
|
|
1191
|
+
|
|
1088
1192
|
/**
|
|
1089
1193
|
* @see {@link ListChildrenCommand}
|
|
1090
1194
|
*/
|
|
@@ -1103,6 +1207,21 @@ interface OrganizationsService$ {
|
|
|
1103
1207
|
| TooManyRequestsError
|
|
1104
1208
|
>;
|
|
1105
1209
|
|
|
1210
|
+
listChildrenStream(
|
|
1211
|
+
args: ListChildrenCommandInput,
|
|
1212
|
+
options?: HttpHandlerOptions,
|
|
1213
|
+
): Stream.Stream<
|
|
1214
|
+
ListChildrenCommandOutput,
|
|
1215
|
+
| Cause.TimeoutException
|
|
1216
|
+
| SdkError
|
|
1217
|
+
| AccessDeniedError
|
|
1218
|
+
| AWSOrganizationsNotInUseError
|
|
1219
|
+
| InvalidInputError
|
|
1220
|
+
| ParentNotFoundError
|
|
1221
|
+
| ServiceError
|
|
1222
|
+
| TooManyRequestsError
|
|
1223
|
+
>;
|
|
1224
|
+
|
|
1106
1225
|
/**
|
|
1107
1226
|
* @see {@link ListCreateAccountStatusCommand}
|
|
1108
1227
|
*/
|
|
@@ -1121,6 +1240,21 @@ interface OrganizationsService$ {
|
|
|
1121
1240
|
| UnsupportedAPIEndpointError
|
|
1122
1241
|
>;
|
|
1123
1242
|
|
|
1243
|
+
listCreateAccountStatusStream(
|
|
1244
|
+
args: ListCreateAccountStatusCommandInput,
|
|
1245
|
+
options?: HttpHandlerOptions,
|
|
1246
|
+
): Stream.Stream<
|
|
1247
|
+
ListCreateAccountStatusCommandOutput,
|
|
1248
|
+
| Cause.TimeoutException
|
|
1249
|
+
| SdkError
|
|
1250
|
+
| AccessDeniedError
|
|
1251
|
+
| AWSOrganizationsNotInUseError
|
|
1252
|
+
| InvalidInputError
|
|
1253
|
+
| ServiceError
|
|
1254
|
+
| TooManyRequestsError
|
|
1255
|
+
| UnsupportedAPIEndpointError
|
|
1256
|
+
>;
|
|
1257
|
+
|
|
1124
1258
|
/**
|
|
1125
1259
|
* @see {@link ListDelegatedAdministratorsCommand}
|
|
1126
1260
|
*/
|
|
@@ -1140,6 +1274,22 @@ interface OrganizationsService$ {
|
|
|
1140
1274
|
| UnsupportedAPIEndpointError
|
|
1141
1275
|
>;
|
|
1142
1276
|
|
|
1277
|
+
listDelegatedAdministratorsStream(
|
|
1278
|
+
args: ListDelegatedAdministratorsCommandInput,
|
|
1279
|
+
options?: HttpHandlerOptions,
|
|
1280
|
+
): Stream.Stream<
|
|
1281
|
+
ListDelegatedAdministratorsCommandOutput,
|
|
1282
|
+
| Cause.TimeoutException
|
|
1283
|
+
| SdkError
|
|
1284
|
+
| AccessDeniedError
|
|
1285
|
+
| AWSOrganizationsNotInUseError
|
|
1286
|
+
| ConstraintViolationError
|
|
1287
|
+
| InvalidInputError
|
|
1288
|
+
| ServiceError
|
|
1289
|
+
| TooManyRequestsError
|
|
1290
|
+
| UnsupportedAPIEndpointError
|
|
1291
|
+
>;
|
|
1292
|
+
|
|
1143
1293
|
/**
|
|
1144
1294
|
* @see {@link ListDelegatedServicesForAccountCommand}
|
|
1145
1295
|
*/
|
|
@@ -1161,6 +1311,24 @@ interface OrganizationsService$ {
|
|
|
1161
1311
|
| UnsupportedAPIEndpointError
|
|
1162
1312
|
>;
|
|
1163
1313
|
|
|
1314
|
+
listDelegatedServicesForAccountStream(
|
|
1315
|
+
args: ListDelegatedServicesForAccountCommandInput,
|
|
1316
|
+
options?: HttpHandlerOptions,
|
|
1317
|
+
): Stream.Stream<
|
|
1318
|
+
ListDelegatedServicesForAccountCommandOutput,
|
|
1319
|
+
| Cause.TimeoutException
|
|
1320
|
+
| SdkError
|
|
1321
|
+
| AccessDeniedError
|
|
1322
|
+
| AccountNotFoundError
|
|
1323
|
+
| AccountNotRegisteredError
|
|
1324
|
+
| AWSOrganizationsNotInUseError
|
|
1325
|
+
| ConstraintViolationError
|
|
1326
|
+
| InvalidInputError
|
|
1327
|
+
| ServiceError
|
|
1328
|
+
| TooManyRequestsError
|
|
1329
|
+
| UnsupportedAPIEndpointError
|
|
1330
|
+
>;
|
|
1331
|
+
|
|
1164
1332
|
/**
|
|
1165
1333
|
* @see {@link ListEffectivePolicyValidationErrorsCommand}
|
|
1166
1334
|
*/
|
|
@@ -1182,6 +1350,24 @@ interface OrganizationsService$ {
|
|
|
1182
1350
|
| UnsupportedAPIEndpointError
|
|
1183
1351
|
>;
|
|
1184
1352
|
|
|
1353
|
+
listEffectivePolicyValidationErrorsStream(
|
|
1354
|
+
args: ListEffectivePolicyValidationErrorsCommandInput,
|
|
1355
|
+
options?: HttpHandlerOptions,
|
|
1356
|
+
): Stream.Stream<
|
|
1357
|
+
ListEffectivePolicyValidationErrorsCommandOutput,
|
|
1358
|
+
| Cause.TimeoutException
|
|
1359
|
+
| SdkError
|
|
1360
|
+
| AccessDeniedError
|
|
1361
|
+
| AccountNotFoundError
|
|
1362
|
+
| AWSOrganizationsNotInUseError
|
|
1363
|
+
| ConstraintViolationError
|
|
1364
|
+
| EffectivePolicyNotFoundError
|
|
1365
|
+
| InvalidInputError
|
|
1366
|
+
| ServiceError
|
|
1367
|
+
| TooManyRequestsError
|
|
1368
|
+
| UnsupportedAPIEndpointError
|
|
1369
|
+
>;
|
|
1370
|
+
|
|
1185
1371
|
/**
|
|
1186
1372
|
* @see {@link ListHandshakesForAccountCommand}
|
|
1187
1373
|
*/
|
|
@@ -1199,6 +1385,20 @@ interface OrganizationsService$ {
|
|
|
1199
1385
|
| TooManyRequestsError
|
|
1200
1386
|
>;
|
|
1201
1387
|
|
|
1388
|
+
listHandshakesForAccountStream(
|
|
1389
|
+
args: ListHandshakesForAccountCommandInput,
|
|
1390
|
+
options?: HttpHandlerOptions,
|
|
1391
|
+
): Stream.Stream<
|
|
1392
|
+
ListHandshakesForAccountCommandOutput,
|
|
1393
|
+
| Cause.TimeoutException
|
|
1394
|
+
| SdkError
|
|
1395
|
+
| AccessDeniedError
|
|
1396
|
+
| ConcurrentModificationError
|
|
1397
|
+
| InvalidInputError
|
|
1398
|
+
| ServiceError
|
|
1399
|
+
| TooManyRequestsError
|
|
1400
|
+
>;
|
|
1401
|
+
|
|
1202
1402
|
/**
|
|
1203
1403
|
* @see {@link ListHandshakesForOrganizationCommand}
|
|
1204
1404
|
*/
|
|
@@ -1217,6 +1417,21 @@ interface OrganizationsService$ {
|
|
|
1217
1417
|
| TooManyRequestsError
|
|
1218
1418
|
>;
|
|
1219
1419
|
|
|
1420
|
+
listHandshakesForOrganizationStream(
|
|
1421
|
+
args: ListHandshakesForOrganizationCommandInput,
|
|
1422
|
+
options?: HttpHandlerOptions,
|
|
1423
|
+
): Stream.Stream<
|
|
1424
|
+
ListHandshakesForOrganizationCommandOutput,
|
|
1425
|
+
| Cause.TimeoutException
|
|
1426
|
+
| SdkError
|
|
1427
|
+
| AccessDeniedError
|
|
1428
|
+
| AWSOrganizationsNotInUseError
|
|
1429
|
+
| ConcurrentModificationError
|
|
1430
|
+
| InvalidInputError
|
|
1431
|
+
| ServiceError
|
|
1432
|
+
| TooManyRequestsError
|
|
1433
|
+
>;
|
|
1434
|
+
|
|
1220
1435
|
/**
|
|
1221
1436
|
* @see {@link ListInboundResponsibilityTransfersCommand}
|
|
1222
1437
|
*/
|
|
@@ -1255,6 +1470,21 @@ interface OrganizationsService$ {
|
|
|
1255
1470
|
| TooManyRequestsError
|
|
1256
1471
|
>;
|
|
1257
1472
|
|
|
1473
|
+
listOrganizationalUnitsForParentStream(
|
|
1474
|
+
args: ListOrganizationalUnitsForParentCommandInput,
|
|
1475
|
+
options?: HttpHandlerOptions,
|
|
1476
|
+
): Stream.Stream<
|
|
1477
|
+
ListOrganizationalUnitsForParentCommandOutput,
|
|
1478
|
+
| Cause.TimeoutException
|
|
1479
|
+
| SdkError
|
|
1480
|
+
| AccessDeniedError
|
|
1481
|
+
| AWSOrganizationsNotInUseError
|
|
1482
|
+
| InvalidInputError
|
|
1483
|
+
| ParentNotFoundError
|
|
1484
|
+
| ServiceError
|
|
1485
|
+
| TooManyRequestsError
|
|
1486
|
+
>;
|
|
1487
|
+
|
|
1258
1488
|
/**
|
|
1259
1489
|
* @see {@link ListOutboundResponsibilityTransfersCommand}
|
|
1260
1490
|
*/
|
|
@@ -1292,6 +1522,21 @@ interface OrganizationsService$ {
|
|
|
1292
1522
|
| TooManyRequestsError
|
|
1293
1523
|
>;
|
|
1294
1524
|
|
|
1525
|
+
listParentsStream(
|
|
1526
|
+
args: ListParentsCommandInput,
|
|
1527
|
+
options?: HttpHandlerOptions,
|
|
1528
|
+
): Stream.Stream<
|
|
1529
|
+
ListParentsCommandOutput,
|
|
1530
|
+
| Cause.TimeoutException
|
|
1531
|
+
| SdkError
|
|
1532
|
+
| AccessDeniedError
|
|
1533
|
+
| AWSOrganizationsNotInUseError
|
|
1534
|
+
| ChildNotFoundError
|
|
1535
|
+
| InvalidInputError
|
|
1536
|
+
| ServiceError
|
|
1537
|
+
| TooManyRequestsError
|
|
1538
|
+
>;
|
|
1539
|
+
|
|
1295
1540
|
/**
|
|
1296
1541
|
* @see {@link ListPoliciesCommand}
|
|
1297
1542
|
*/
|
|
@@ -1310,6 +1555,21 @@ interface OrganizationsService$ {
|
|
|
1310
1555
|
| UnsupportedAPIEndpointError
|
|
1311
1556
|
>;
|
|
1312
1557
|
|
|
1558
|
+
listPoliciesStream(
|
|
1559
|
+
args: ListPoliciesCommandInput,
|
|
1560
|
+
options?: HttpHandlerOptions,
|
|
1561
|
+
): Stream.Stream<
|
|
1562
|
+
ListPoliciesCommandOutput,
|
|
1563
|
+
| Cause.TimeoutException
|
|
1564
|
+
| SdkError
|
|
1565
|
+
| AccessDeniedError
|
|
1566
|
+
| AWSOrganizationsNotInUseError
|
|
1567
|
+
| InvalidInputError
|
|
1568
|
+
| ServiceError
|
|
1569
|
+
| TooManyRequestsError
|
|
1570
|
+
| UnsupportedAPIEndpointError
|
|
1571
|
+
>;
|
|
1572
|
+
|
|
1313
1573
|
/**
|
|
1314
1574
|
* @see {@link ListPoliciesForTargetCommand}
|
|
1315
1575
|
*/
|
|
@@ -1329,6 +1589,22 @@ interface OrganizationsService$ {
|
|
|
1329
1589
|
| UnsupportedAPIEndpointError
|
|
1330
1590
|
>;
|
|
1331
1591
|
|
|
1592
|
+
listPoliciesForTargetStream(
|
|
1593
|
+
args: ListPoliciesForTargetCommandInput,
|
|
1594
|
+
options?: HttpHandlerOptions,
|
|
1595
|
+
): Stream.Stream<
|
|
1596
|
+
ListPoliciesForTargetCommandOutput,
|
|
1597
|
+
| Cause.TimeoutException
|
|
1598
|
+
| SdkError
|
|
1599
|
+
| AccessDeniedError
|
|
1600
|
+
| AWSOrganizationsNotInUseError
|
|
1601
|
+
| InvalidInputError
|
|
1602
|
+
| ServiceError
|
|
1603
|
+
| TargetNotFoundError
|
|
1604
|
+
| TooManyRequestsError
|
|
1605
|
+
| UnsupportedAPIEndpointError
|
|
1606
|
+
>;
|
|
1607
|
+
|
|
1332
1608
|
/**
|
|
1333
1609
|
* @see {@link ListRootsCommand}
|
|
1334
1610
|
*/
|
|
@@ -1346,6 +1622,20 @@ interface OrganizationsService$ {
|
|
|
1346
1622
|
| TooManyRequestsError
|
|
1347
1623
|
>;
|
|
1348
1624
|
|
|
1625
|
+
listRootsStream(
|
|
1626
|
+
args: ListRootsCommandInput,
|
|
1627
|
+
options?: HttpHandlerOptions,
|
|
1628
|
+
): Stream.Stream<
|
|
1629
|
+
ListRootsCommandOutput,
|
|
1630
|
+
| Cause.TimeoutException
|
|
1631
|
+
| SdkError
|
|
1632
|
+
| AccessDeniedError
|
|
1633
|
+
| AWSOrganizationsNotInUseError
|
|
1634
|
+
| InvalidInputError
|
|
1635
|
+
| ServiceError
|
|
1636
|
+
| TooManyRequestsError
|
|
1637
|
+
>;
|
|
1638
|
+
|
|
1349
1639
|
/**
|
|
1350
1640
|
* @see {@link ListTagsForResourceCommand}
|
|
1351
1641
|
*/
|
|
@@ -1364,6 +1654,21 @@ interface OrganizationsService$ {
|
|
|
1364
1654
|
| TooManyRequestsError
|
|
1365
1655
|
>;
|
|
1366
1656
|
|
|
1657
|
+
listTagsForResourceStream(
|
|
1658
|
+
args: ListTagsForResourceCommandInput,
|
|
1659
|
+
options?: HttpHandlerOptions,
|
|
1660
|
+
): Stream.Stream<
|
|
1661
|
+
ListTagsForResourceCommandOutput,
|
|
1662
|
+
| Cause.TimeoutException
|
|
1663
|
+
| SdkError
|
|
1664
|
+
| AccessDeniedError
|
|
1665
|
+
| AWSOrganizationsNotInUseError
|
|
1666
|
+
| InvalidInputError
|
|
1667
|
+
| ServiceError
|
|
1668
|
+
| TargetNotFoundError
|
|
1669
|
+
| TooManyRequestsError
|
|
1670
|
+
>;
|
|
1671
|
+
|
|
1367
1672
|
/**
|
|
1368
1673
|
* @see {@link ListTargetsForPolicyCommand}
|
|
1369
1674
|
*/
|
|
@@ -1383,6 +1688,22 @@ interface OrganizationsService$ {
|
|
|
1383
1688
|
| UnsupportedAPIEndpointError
|
|
1384
1689
|
>;
|
|
1385
1690
|
|
|
1691
|
+
listTargetsForPolicyStream(
|
|
1692
|
+
args: ListTargetsForPolicyCommandInput,
|
|
1693
|
+
options?: HttpHandlerOptions,
|
|
1694
|
+
): Stream.Stream<
|
|
1695
|
+
ListTargetsForPolicyCommandOutput,
|
|
1696
|
+
| Cause.TimeoutException
|
|
1697
|
+
| SdkError
|
|
1698
|
+
| AccessDeniedError
|
|
1699
|
+
| AWSOrganizationsNotInUseError
|
|
1700
|
+
| InvalidInputError
|
|
1701
|
+
| PolicyNotFoundError
|
|
1702
|
+
| ServiceError
|
|
1703
|
+
| TooManyRequestsError
|
|
1704
|
+
| UnsupportedAPIEndpointError
|
|
1705
|
+
>;
|
|
1706
|
+
|
|
1386
1707
|
/**
|
|
1387
1708
|
* @see {@link MoveAccountCommand}
|
|
1388
1709
|
*/
|
|
@@ -1610,6 +1931,7 @@ export const makeOrganizationsService = Effect.gen(function*() {
|
|
|
1610
1931
|
errorTags: AllServiceErrors,
|
|
1611
1932
|
resolveClientConfig: OrganizationsServiceConfig.toOrganizationsClientConfig,
|
|
1612
1933
|
},
|
|
1934
|
+
paginators,
|
|
1613
1935
|
);
|
|
1614
1936
|
});
|
|
1615
1937
|
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { OrganizationsClientConfig } from "@aws-sdk/client-organizations";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as FiberRef from "effect/FiberRef";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import { globalValue } from "effect/GlobalValue";
|
|
10
|
+
import * as Layer from "effect/Layer";
|
|
9
11
|
import type { OrganizationsService } from "./OrganizationsService.js";
|
|
10
12
|
|
|
11
13
|
/**
|