@aws-sdk/client-organizations 3.216.0 → 3.218.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/Organizations.js +45 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +45 -0
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +16 -16
- package/dist-cjs/models/models_0.js +42 -3
- package/dist-cjs/protocols/Aws_json1_1.js +234 -3
- package/dist-es/Organizations.js +45 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +41 -0
- package/dist-es/commands/DescribeResourcePolicyCommand.js +42 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +16 -16
- package/dist-es/models/models_0.js +33 -0
- package/dist-es/protocols/Aws_json1_1.js +226 -1
- package/dist-types/Organizations.d.ts +31 -7
- package/dist-types/OrganizationsClient.d.ts +5 -2
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +1 -1
- package/dist-types/commands/CloseAccountCommand.d.ts +3 -3
- package/dist-types/commands/CreateAccountCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +38 -0
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +99 -4
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Organizations.d.ts +51 -0
- package/dist-types/ts3.4/OrganizationsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +49 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_json1_1UpdatePolicyCommand = exports.deserializeAws_json1_1UpdateOrganizationalUnitCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1RegisterDelegatedAdministratorCommand = exports.serializeAws_json1_1PutResourcePolicyCommand = exports.serializeAws_json1_1MoveAccountCommand = exports.serializeAws_json1_1ListTargetsForPolicyCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListRootsCommand = exports.serializeAws_json1_1ListPoliciesForTargetCommand = exports.serializeAws_json1_1ListPoliciesCommand = exports.serializeAws_json1_1ListParentsCommand = exports.serializeAws_json1_1ListOrganizationalUnitsForParentCommand = exports.serializeAws_json1_1ListHandshakesForOrganizationCommand = exports.serializeAws_json1_1ListHandshakesForAccountCommand = exports.serializeAws_json1_1ListDelegatedServicesForAccountCommand = exports.serializeAws_json1_1ListDelegatedAdministratorsCommand = exports.serializeAws_json1_1ListCreateAccountStatusCommand = exports.serializeAws_json1_1ListChildrenCommand = exports.serializeAws_json1_1ListAWSServiceAccessForOrganizationCommand = exports.serializeAws_json1_1ListAccountsForParentCommand = exports.serializeAws_json1_1ListAccountsCommand = exports.serializeAws_json1_1LeaveOrganizationCommand = exports.serializeAws_json1_1InviteAccountToOrganizationCommand = exports.serializeAws_json1_1EnablePolicyTypeCommand = exports.serializeAws_json1_1EnableAWSServiceAccessCommand = exports.serializeAws_json1_1EnableAllFeaturesCommand = exports.serializeAws_json1_1DisablePolicyTypeCommand = exports.serializeAws_json1_1DisableAWSServiceAccessCommand = exports.serializeAws_json1_1DetachPolicyCommand = exports.serializeAws_json1_1DescribeResourcePolicyCommand = exports.serializeAws_json1_1DescribePolicyCommand = exports.serializeAws_json1_1DescribeOrganizationalUnitCommand = exports.serializeAws_json1_1DescribeOrganizationCommand = exports.serializeAws_json1_1DescribeHandshakeCommand = exports.serializeAws_json1_1DescribeEffectivePolicyCommand = exports.serializeAws_json1_1DescribeCreateAccountStatusCommand = exports.serializeAws_json1_1DescribeAccountCommand = exports.serializeAws_json1_1DeregisterDelegatedAdministratorCommand = exports.serializeAws_json1_1DeleteResourcePolicyCommand = exports.serializeAws_json1_1DeletePolicyCommand = exports.serializeAws_json1_1DeleteOrganizationalUnitCommand = exports.serializeAws_json1_1DeleteOrganizationCommand = exports.serializeAws_json1_1DeclineHandshakeCommand = exports.serializeAws_json1_1CreatePolicyCommand = exports.serializeAws_json1_1CreateOrganizationalUnitCommand = exports.serializeAws_json1_1CreateOrganizationCommand = exports.serializeAws_json1_1CreateGovCloudAccountCommand = exports.serializeAws_json1_1CreateAccountCommand = exports.serializeAws_json1_1CloseAccountCommand = exports.serializeAws_json1_1CancelHandshakeCommand = exports.serializeAws_json1_1AttachPolicyCommand = exports.serializeAws_json1_1AcceptHandshakeCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1ListRootsCommand = exports.deserializeAws_json1_1ListPoliciesForTargetCommand = exports.deserializeAws_json1_1ListPoliciesCommand = exports.deserializeAws_json1_1ListParentsCommand = exports.deserializeAws_json1_1ListOrganizationalUnitsForParentCommand = exports.deserializeAws_json1_1ListHandshakesForOrganizationCommand = exports.deserializeAws_json1_1ListHandshakesForAccountCommand = exports.deserializeAws_json1_1ListDelegatedServicesForAccountCommand = exports.deserializeAws_json1_1ListDelegatedAdministratorsCommand = exports.deserializeAws_json1_1ListCreateAccountStatusCommand = exports.deserializeAws_json1_1ListChildrenCommand = exports.deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommand = exports.deserializeAws_json1_1ListAccountsForParentCommand = exports.deserializeAws_json1_1ListAccountsCommand = exports.deserializeAws_json1_1LeaveOrganizationCommand = exports.deserializeAws_json1_1InviteAccountToOrganizationCommand = exports.deserializeAws_json1_1EnablePolicyTypeCommand = exports.deserializeAws_json1_1EnableAWSServiceAccessCommand = exports.deserializeAws_json1_1EnableAllFeaturesCommand = exports.deserializeAws_json1_1DisablePolicyTypeCommand = exports.deserializeAws_json1_1DisableAWSServiceAccessCommand = exports.deserializeAws_json1_1DetachPolicyCommand = exports.deserializeAws_json1_1DescribeResourcePolicyCommand = exports.deserializeAws_json1_1DescribePolicyCommand = exports.deserializeAws_json1_1DescribeOrganizationalUnitCommand = exports.deserializeAws_json1_1DescribeOrganizationCommand = exports.deserializeAws_json1_1DescribeHandshakeCommand = exports.deserializeAws_json1_1DescribeEffectivePolicyCommand = exports.deserializeAws_json1_1DescribeCreateAccountStatusCommand = exports.deserializeAws_json1_1DescribeAccountCommand = exports.deserializeAws_json1_1DeregisterDelegatedAdministratorCommand = exports.deserializeAws_json1_1DeleteResourcePolicyCommand = exports.deserializeAws_json1_1DeletePolicyCommand = exports.deserializeAws_json1_1DeleteOrganizationalUnitCommand = exports.deserializeAws_json1_1DeleteOrganizationCommand = exports.deserializeAws_json1_1DeclineHandshakeCommand = exports.deserializeAws_json1_1CreatePolicyCommand = exports.deserializeAws_json1_1CreateOrganizationalUnitCommand = exports.deserializeAws_json1_1CreateOrganizationCommand = exports.deserializeAws_json1_1CreateGovCloudAccountCommand = exports.deserializeAws_json1_1CreateAccountCommand = exports.deserializeAws_json1_1CloseAccountCommand = exports.deserializeAws_json1_1CancelHandshakeCommand = exports.deserializeAws_json1_1AttachPolicyCommand = exports.deserializeAws_json1_1AcceptHandshakeCommand = exports.serializeAws_json1_1UpdatePolicyCommand = exports.serializeAws_json1_1UpdateOrganizationalUnitCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1RemoveAccountFromOrganizationCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1UpdatePolicyCommand = exports.deserializeAws_json1_1UpdateOrganizationalUnitCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1RemoveAccountFromOrganizationCommand = exports.deserializeAws_json1_1RegisterDelegatedAdministratorCommand = exports.deserializeAws_json1_1PutResourcePolicyCommand = exports.deserializeAws_json1_1MoveAccountCommand = exports.deserializeAws_json1_1ListTargetsForPolicyCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
@@ -136,6 +136,15 @@ const serializeAws_json1_1DeletePolicyCommand = async (input, context) => {
|
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
138
|
exports.serializeAws_json1_1DeletePolicyCommand = serializeAws_json1_1DeletePolicyCommand;
|
|
139
|
+
const serializeAws_json1_1DeleteResourcePolicyCommand = async (input, context) => {
|
|
140
|
+
const headers = {
|
|
141
|
+
"content-type": "application/x-amz-json-1.1",
|
|
142
|
+
"x-amz-target": "AWSOrganizationsV20161128.DeleteResourcePolicy",
|
|
143
|
+
};
|
|
144
|
+
const body = "{}";
|
|
145
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
|
+
};
|
|
147
|
+
exports.serializeAws_json1_1DeleteResourcePolicyCommand = serializeAws_json1_1DeleteResourcePolicyCommand;
|
|
139
148
|
const serializeAws_json1_1DeregisterDelegatedAdministratorCommand = async (input, context) => {
|
|
140
149
|
const headers = {
|
|
141
150
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -215,6 +224,15 @@ const serializeAws_json1_1DescribePolicyCommand = async (input, context) => {
|
|
|
215
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
225
|
};
|
|
217
226
|
exports.serializeAws_json1_1DescribePolicyCommand = serializeAws_json1_1DescribePolicyCommand;
|
|
227
|
+
const serializeAws_json1_1DescribeResourcePolicyCommand = async (input, context) => {
|
|
228
|
+
const headers = {
|
|
229
|
+
"content-type": "application/x-amz-json-1.1",
|
|
230
|
+
"x-amz-target": "AWSOrganizationsV20161128.DescribeResourcePolicy",
|
|
231
|
+
};
|
|
232
|
+
const body = "{}";
|
|
233
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
+
};
|
|
235
|
+
exports.serializeAws_json1_1DescribeResourcePolicyCommand = serializeAws_json1_1DescribeResourcePolicyCommand;
|
|
218
236
|
const serializeAws_json1_1DetachPolicyCommand = async (input, context) => {
|
|
219
237
|
const headers = {
|
|
220
238
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -464,6 +482,16 @@ const serializeAws_json1_1MoveAccountCommand = async (input, context) => {
|
|
|
464
482
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
465
483
|
};
|
|
466
484
|
exports.serializeAws_json1_1MoveAccountCommand = serializeAws_json1_1MoveAccountCommand;
|
|
485
|
+
const serializeAws_json1_1PutResourcePolicyCommand = async (input, context) => {
|
|
486
|
+
const headers = {
|
|
487
|
+
"content-type": "application/x-amz-json-1.1",
|
|
488
|
+
"x-amz-target": "AWSOrganizationsV20161128.PutResourcePolicy",
|
|
489
|
+
};
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify(serializeAws_json1_1PutResourcePolicyRequest(input, context));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
|
+
};
|
|
494
|
+
exports.serializeAws_json1_1PutResourcePolicyCommand = serializeAws_json1_1PutResourcePolicyCommand;
|
|
467
495
|
const serializeAws_json1_1RegisterDelegatedAdministratorCommand = async (input, context) => {
|
|
468
496
|
const headers = {
|
|
469
497
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1275,6 +1303,58 @@ const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) =
|
|
|
1275
1303
|
});
|
|
1276
1304
|
}
|
|
1277
1305
|
};
|
|
1306
|
+
const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
|
|
1307
|
+
if (output.statusCode >= 300) {
|
|
1308
|
+
return deserializeAws_json1_1DeleteResourcePolicyCommandError(output, context);
|
|
1309
|
+
}
|
|
1310
|
+
await collectBody(output.body, context);
|
|
1311
|
+
const response = {
|
|
1312
|
+
$metadata: deserializeMetadata(output),
|
|
1313
|
+
};
|
|
1314
|
+
return Promise.resolve(response);
|
|
1315
|
+
};
|
|
1316
|
+
exports.deserializeAws_json1_1DeleteResourcePolicyCommand = deserializeAws_json1_1DeleteResourcePolicyCommand;
|
|
1317
|
+
const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, context) => {
|
|
1318
|
+
const parsedOutput = {
|
|
1319
|
+
...output,
|
|
1320
|
+
body: await parseErrorBody(output.body, context),
|
|
1321
|
+
};
|
|
1322
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1323
|
+
switch (errorCode) {
|
|
1324
|
+
case "AWSOrganizationsNotInUseException":
|
|
1325
|
+
case "com.amazonaws.organizations#AWSOrganizationsNotInUseException":
|
|
1326
|
+
throw await deserializeAws_json1_1AWSOrganizationsNotInUseExceptionResponse(parsedOutput, context);
|
|
1327
|
+
case "AccessDeniedException":
|
|
1328
|
+
case "com.amazonaws.organizations#AccessDeniedException":
|
|
1329
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1330
|
+
case "ConcurrentModificationException":
|
|
1331
|
+
case "com.amazonaws.organizations#ConcurrentModificationException":
|
|
1332
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1333
|
+
case "ConstraintViolationException":
|
|
1334
|
+
case "com.amazonaws.organizations#ConstraintViolationException":
|
|
1335
|
+
throw await deserializeAws_json1_1ConstraintViolationExceptionResponse(parsedOutput, context);
|
|
1336
|
+
case "ResourcePolicyNotFoundException":
|
|
1337
|
+
case "com.amazonaws.organizations#ResourcePolicyNotFoundException":
|
|
1338
|
+
throw await deserializeAws_json1_1ResourcePolicyNotFoundExceptionResponse(parsedOutput, context);
|
|
1339
|
+
case "ServiceException":
|
|
1340
|
+
case "com.amazonaws.organizations#ServiceException":
|
|
1341
|
+
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1342
|
+
case "TooManyRequestsException":
|
|
1343
|
+
case "com.amazonaws.organizations#TooManyRequestsException":
|
|
1344
|
+
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
1345
|
+
case "UnsupportedAPIEndpointException":
|
|
1346
|
+
case "com.amazonaws.organizations#UnsupportedAPIEndpointException":
|
|
1347
|
+
throw await deserializeAws_json1_1UnsupportedAPIEndpointExceptionResponse(parsedOutput, context);
|
|
1348
|
+
default:
|
|
1349
|
+
const parsedBody = parsedOutput.body;
|
|
1350
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1351
|
+
output,
|
|
1352
|
+
parsedBody,
|
|
1353
|
+
exceptionCtor: OrganizationsServiceException_1.OrganizationsServiceException,
|
|
1354
|
+
errorCode,
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
};
|
|
1278
1358
|
const deserializeAws_json1_1DeregisterDelegatedAdministratorCommand = async (output, context) => {
|
|
1279
1359
|
if (output.statusCode >= 300) {
|
|
1280
1360
|
return deserializeAws_json1_1DeregisterDelegatedAdministratorCommandError(output, context);
|
|
@@ -1688,6 +1768,58 @@ const deserializeAws_json1_1DescribePolicyCommandError = async (output, context)
|
|
|
1688
1768
|
});
|
|
1689
1769
|
}
|
|
1690
1770
|
};
|
|
1771
|
+
const deserializeAws_json1_1DescribeResourcePolicyCommand = async (output, context) => {
|
|
1772
|
+
if (output.statusCode >= 300) {
|
|
1773
|
+
return deserializeAws_json1_1DescribeResourcePolicyCommandError(output, context);
|
|
1774
|
+
}
|
|
1775
|
+
const data = await parseBody(output.body, context);
|
|
1776
|
+
let contents = {};
|
|
1777
|
+
contents = deserializeAws_json1_1DescribeResourcePolicyResponse(data, context);
|
|
1778
|
+
const response = {
|
|
1779
|
+
$metadata: deserializeMetadata(output),
|
|
1780
|
+
...contents,
|
|
1781
|
+
};
|
|
1782
|
+
return Promise.resolve(response);
|
|
1783
|
+
};
|
|
1784
|
+
exports.deserializeAws_json1_1DescribeResourcePolicyCommand = deserializeAws_json1_1DescribeResourcePolicyCommand;
|
|
1785
|
+
const deserializeAws_json1_1DescribeResourcePolicyCommandError = async (output, context) => {
|
|
1786
|
+
const parsedOutput = {
|
|
1787
|
+
...output,
|
|
1788
|
+
body: await parseErrorBody(output.body, context),
|
|
1789
|
+
};
|
|
1790
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1791
|
+
switch (errorCode) {
|
|
1792
|
+
case "AWSOrganizationsNotInUseException":
|
|
1793
|
+
case "com.amazonaws.organizations#AWSOrganizationsNotInUseException":
|
|
1794
|
+
throw await deserializeAws_json1_1AWSOrganizationsNotInUseExceptionResponse(parsedOutput, context);
|
|
1795
|
+
case "AccessDeniedException":
|
|
1796
|
+
case "com.amazonaws.organizations#AccessDeniedException":
|
|
1797
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1798
|
+
case "ConstraintViolationException":
|
|
1799
|
+
case "com.amazonaws.organizations#ConstraintViolationException":
|
|
1800
|
+
throw await deserializeAws_json1_1ConstraintViolationExceptionResponse(parsedOutput, context);
|
|
1801
|
+
case "ResourcePolicyNotFoundException":
|
|
1802
|
+
case "com.amazonaws.organizations#ResourcePolicyNotFoundException":
|
|
1803
|
+
throw await deserializeAws_json1_1ResourcePolicyNotFoundExceptionResponse(parsedOutput, context);
|
|
1804
|
+
case "ServiceException":
|
|
1805
|
+
case "com.amazonaws.organizations#ServiceException":
|
|
1806
|
+
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1807
|
+
case "TooManyRequestsException":
|
|
1808
|
+
case "com.amazonaws.organizations#TooManyRequestsException":
|
|
1809
|
+
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
1810
|
+
case "UnsupportedAPIEndpointException":
|
|
1811
|
+
case "com.amazonaws.organizations#UnsupportedAPIEndpointException":
|
|
1812
|
+
throw await deserializeAws_json1_1UnsupportedAPIEndpointExceptionResponse(parsedOutput, context);
|
|
1813
|
+
default:
|
|
1814
|
+
const parsedBody = parsedOutput.body;
|
|
1815
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1816
|
+
output,
|
|
1817
|
+
parsedBody,
|
|
1818
|
+
exceptionCtor: OrganizationsServiceException_1.OrganizationsServiceException,
|
|
1819
|
+
errorCode,
|
|
1820
|
+
});
|
|
1821
|
+
}
|
|
1822
|
+
};
|
|
1691
1823
|
const deserializeAws_json1_1DetachPolicyCommand = async (output, context) => {
|
|
1692
1824
|
if (output.statusCode >= 300) {
|
|
1693
1825
|
return deserializeAws_json1_1DetachPolicyCommandError(output, context);
|
|
@@ -3012,6 +3144,61 @@ const deserializeAws_json1_1MoveAccountCommandError = async (output, context) =>
|
|
|
3012
3144
|
});
|
|
3013
3145
|
}
|
|
3014
3146
|
};
|
|
3147
|
+
const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
|
|
3148
|
+
if (output.statusCode >= 300) {
|
|
3149
|
+
return deserializeAws_json1_1PutResourcePolicyCommandError(output, context);
|
|
3150
|
+
}
|
|
3151
|
+
const data = await parseBody(output.body, context);
|
|
3152
|
+
let contents = {};
|
|
3153
|
+
contents = deserializeAws_json1_1PutResourcePolicyResponse(data, context);
|
|
3154
|
+
const response = {
|
|
3155
|
+
$metadata: deserializeMetadata(output),
|
|
3156
|
+
...contents,
|
|
3157
|
+
};
|
|
3158
|
+
return Promise.resolve(response);
|
|
3159
|
+
};
|
|
3160
|
+
exports.deserializeAws_json1_1PutResourcePolicyCommand = deserializeAws_json1_1PutResourcePolicyCommand;
|
|
3161
|
+
const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, context) => {
|
|
3162
|
+
const parsedOutput = {
|
|
3163
|
+
...output,
|
|
3164
|
+
body: await parseErrorBody(output.body, context),
|
|
3165
|
+
};
|
|
3166
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3167
|
+
switch (errorCode) {
|
|
3168
|
+
case "AWSOrganizationsNotInUseException":
|
|
3169
|
+
case "com.amazonaws.organizations#AWSOrganizationsNotInUseException":
|
|
3170
|
+
throw await deserializeAws_json1_1AWSOrganizationsNotInUseExceptionResponse(parsedOutput, context);
|
|
3171
|
+
case "AccessDeniedException":
|
|
3172
|
+
case "com.amazonaws.organizations#AccessDeniedException":
|
|
3173
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3174
|
+
case "ConcurrentModificationException":
|
|
3175
|
+
case "com.amazonaws.organizations#ConcurrentModificationException":
|
|
3176
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
3177
|
+
case "ConstraintViolationException":
|
|
3178
|
+
case "com.amazonaws.organizations#ConstraintViolationException":
|
|
3179
|
+
throw await deserializeAws_json1_1ConstraintViolationExceptionResponse(parsedOutput, context);
|
|
3180
|
+
case "InvalidInputException":
|
|
3181
|
+
case "com.amazonaws.organizations#InvalidInputException":
|
|
3182
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
3183
|
+
case "ServiceException":
|
|
3184
|
+
case "com.amazonaws.organizations#ServiceException":
|
|
3185
|
+
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3186
|
+
case "TooManyRequestsException":
|
|
3187
|
+
case "com.amazonaws.organizations#TooManyRequestsException":
|
|
3188
|
+
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
3189
|
+
case "UnsupportedAPIEndpointException":
|
|
3190
|
+
case "com.amazonaws.organizations#UnsupportedAPIEndpointException":
|
|
3191
|
+
throw await deserializeAws_json1_1UnsupportedAPIEndpointExceptionResponse(parsedOutput, context);
|
|
3192
|
+
default:
|
|
3193
|
+
const parsedBody = parsedOutput.body;
|
|
3194
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3195
|
+
output,
|
|
3196
|
+
parsedBody,
|
|
3197
|
+
exceptionCtor: OrganizationsServiceException_1.OrganizationsServiceException,
|
|
3198
|
+
errorCode,
|
|
3199
|
+
});
|
|
3200
|
+
}
|
|
3201
|
+
};
|
|
3015
3202
|
const deserializeAws_json1_1RegisterDelegatedAdministratorCommand = async (output, context) => {
|
|
3016
3203
|
if (output.statusCode >= 300) {
|
|
3017
3204
|
return deserializeAws_json1_1RegisterDelegatedAdministratorCommandError(output, context);
|
|
@@ -3711,6 +3898,15 @@ const deserializeAws_json1_1PolicyTypeNotEnabledExceptionResponse = async (parse
|
|
|
3711
3898
|
});
|
|
3712
3899
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3713
3900
|
};
|
|
3901
|
+
const deserializeAws_json1_1ResourcePolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3902
|
+
const body = parsedOutput.body;
|
|
3903
|
+
const deserialized = deserializeAws_json1_1ResourcePolicyNotFoundException(body, context);
|
|
3904
|
+
const exception = new models_0_1.ResourcePolicyNotFoundException({
|
|
3905
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3906
|
+
...deserialized,
|
|
3907
|
+
});
|
|
3908
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3909
|
+
};
|
|
3714
3910
|
const deserializeAws_json1_1RootNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3715
3911
|
const body = parsedOutput.body;
|
|
3716
3912
|
const deserialized = deserializeAws_json1_1RootNotFoundException(body, context);
|
|
@@ -4051,6 +4247,12 @@ const serializeAws_json1_1MoveAccountRequest = (input, context) => {
|
|
|
4051
4247
|
...(input.SourceParentId != null && { SourceParentId: input.SourceParentId }),
|
|
4052
4248
|
};
|
|
4053
4249
|
};
|
|
4250
|
+
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
4251
|
+
return {
|
|
4252
|
+
...(input.Content != null && { Content: input.Content }),
|
|
4253
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
4254
|
+
};
|
|
4255
|
+
};
|
|
4054
4256
|
const serializeAws_json1_1RegisterDelegatedAdministratorRequest = (input, context) => {
|
|
4055
4257
|
return {
|
|
4056
4258
|
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
@@ -4381,6 +4583,11 @@ const deserializeAws_json1_1DescribePolicyResponse = (output, context) => {
|
|
|
4381
4583
|
Policy: output.Policy != null ? deserializeAws_json1_1Policy(output.Policy, context) : undefined,
|
|
4382
4584
|
};
|
|
4383
4585
|
};
|
|
4586
|
+
const deserializeAws_json1_1DescribeResourcePolicyResponse = (output, context) => {
|
|
4587
|
+
return {
|
|
4588
|
+
ResourcePolicy: output.ResourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.ResourcePolicy, context) : undefined,
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4384
4591
|
const deserializeAws_json1_1DestinationParentNotFoundException = (output, context) => {
|
|
4385
4592
|
return {
|
|
4386
4593
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -4841,6 +5048,30 @@ const deserializeAws_json1_1PolicyTypeSummary = (output, context) => {
|
|
|
4841
5048
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4842
5049
|
};
|
|
4843
5050
|
};
|
|
5051
|
+
const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
|
|
5052
|
+
return {
|
|
5053
|
+
ResourcePolicy: output.ResourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.ResourcePolicy, context) : undefined,
|
|
5054
|
+
};
|
|
5055
|
+
};
|
|
5056
|
+
const deserializeAws_json1_1ResourcePolicy = (output, context) => {
|
|
5057
|
+
return {
|
|
5058
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
5059
|
+
ResourcePolicySummary: output.ResourcePolicySummary != null
|
|
5060
|
+
? deserializeAws_json1_1ResourcePolicySummary(output.ResourcePolicySummary, context)
|
|
5061
|
+
: undefined,
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
5064
|
+
const deserializeAws_json1_1ResourcePolicyNotFoundException = (output, context) => {
|
|
5065
|
+
return {
|
|
5066
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5067
|
+
};
|
|
5068
|
+
};
|
|
5069
|
+
const deserializeAws_json1_1ResourcePolicySummary = (output, context) => {
|
|
5070
|
+
return {
|
|
5071
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
5072
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5073
|
+
};
|
|
5074
|
+
};
|
|
4844
5075
|
const deserializeAws_json1_1Root = (output, context) => {
|
|
4845
5076
|
return {
|
|
4846
5077
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
package/dist-es/Organizations.js
CHANGED
|
@@ -11,6 +11,7 @@ import { DeclineHandshakeCommand, } from "./commands/DeclineHandshakeCommand";
|
|
|
11
11
|
import { DeleteOrganizationalUnitCommand, } from "./commands/DeleteOrganizationalUnitCommand";
|
|
12
12
|
import { DeleteOrganizationCommand, } from "./commands/DeleteOrganizationCommand";
|
|
13
13
|
import { DeletePolicyCommand, } from "./commands/DeletePolicyCommand";
|
|
14
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
14
15
|
import { DeregisterDelegatedAdministratorCommand, } from "./commands/DeregisterDelegatedAdministratorCommand";
|
|
15
16
|
import { DescribeAccountCommand, } from "./commands/DescribeAccountCommand";
|
|
16
17
|
import { DescribeCreateAccountStatusCommand, } from "./commands/DescribeCreateAccountStatusCommand";
|
|
@@ -19,6 +20,7 @@ import { DescribeHandshakeCommand, } from "./commands/DescribeHandshakeCommand";
|
|
|
19
20
|
import { DescribeOrganizationalUnitCommand, } from "./commands/DescribeOrganizationalUnitCommand";
|
|
20
21
|
import { DescribeOrganizationCommand, } from "./commands/DescribeOrganizationCommand";
|
|
21
22
|
import { DescribePolicyCommand, } from "./commands/DescribePolicyCommand";
|
|
23
|
+
import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
|
|
22
24
|
import { DetachPolicyCommand, } from "./commands/DetachPolicyCommand";
|
|
23
25
|
import { DisableAWSServiceAccessCommand, } from "./commands/DisableAWSServiceAccessCommand";
|
|
24
26
|
import { DisablePolicyTypeCommand, } from "./commands/DisablePolicyTypeCommand";
|
|
@@ -44,6 +46,7 @@ import { ListRootsCommand } from "./commands/ListRootsCommand";
|
|
|
44
46
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
45
47
|
import { ListTargetsForPolicyCommand, } from "./commands/ListTargetsForPolicyCommand";
|
|
46
48
|
import { MoveAccountCommand } from "./commands/MoveAccountCommand";
|
|
49
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
47
50
|
import { RegisterDelegatedAdministratorCommand, } from "./commands/RegisterDelegatedAdministratorCommand";
|
|
48
51
|
import { RemoveAccountFromOrganizationCommand, } from "./commands/RemoveAccountFromOrganizationCommand";
|
|
49
52
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -234,6 +237,20 @@ export class Organizations extends OrganizationsClient {
|
|
|
234
237
|
return this.send(command, optionsOrCb);
|
|
235
238
|
}
|
|
236
239
|
}
|
|
240
|
+
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
241
|
+
const command = new DeleteResourcePolicyCommand(args);
|
|
242
|
+
if (typeof optionsOrCb === "function") {
|
|
243
|
+
this.send(command, optionsOrCb);
|
|
244
|
+
}
|
|
245
|
+
else if (typeof cb === "function") {
|
|
246
|
+
if (typeof optionsOrCb !== "object")
|
|
247
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
return this.send(command, optionsOrCb);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
237
254
|
deregisterDelegatedAdministrator(args, optionsOrCb, cb) {
|
|
238
255
|
const command = new DeregisterDelegatedAdministratorCommand(args);
|
|
239
256
|
if (typeof optionsOrCb === "function") {
|
|
@@ -346,6 +363,20 @@ export class Organizations extends OrganizationsClient {
|
|
|
346
363
|
return this.send(command, optionsOrCb);
|
|
347
364
|
}
|
|
348
365
|
}
|
|
366
|
+
describeResourcePolicy(args, optionsOrCb, cb) {
|
|
367
|
+
const command = new DescribeResourcePolicyCommand(args);
|
|
368
|
+
if (typeof optionsOrCb === "function") {
|
|
369
|
+
this.send(command, optionsOrCb);
|
|
370
|
+
}
|
|
371
|
+
else if (typeof cb === "function") {
|
|
372
|
+
if (typeof optionsOrCb !== "object")
|
|
373
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
374
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
return this.send(command, optionsOrCb);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
349
380
|
detachPolicy(args, optionsOrCb, cb) {
|
|
350
381
|
const command = new DetachPolicyCommand(args);
|
|
351
382
|
if (typeof optionsOrCb === "function") {
|
|
@@ -696,6 +727,20 @@ export class Organizations extends OrganizationsClient {
|
|
|
696
727
|
return this.send(command, optionsOrCb);
|
|
697
728
|
}
|
|
698
729
|
}
|
|
730
|
+
putResourcePolicy(args, optionsOrCb, cb) {
|
|
731
|
+
const command = new PutResourcePolicyCommand(args);
|
|
732
|
+
if (typeof optionsOrCb === "function") {
|
|
733
|
+
this.send(command, optionsOrCb);
|
|
734
|
+
}
|
|
735
|
+
else if (typeof cb === "function") {
|
|
736
|
+
if (typeof optionsOrCb !== "object")
|
|
737
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
738
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
739
|
+
}
|
|
740
|
+
else {
|
|
741
|
+
return this.send(command, optionsOrCb);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
699
744
|
registerDelegatedAdministrator(args, optionsOrCb, cb) {
|
|
700
745
|
const command = new RegisterDelegatedAdministratorCommand(args);
|
|
701
746
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_json1_1DeleteResourcePolicyCommand, serializeAws_json1_1DeleteResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class DeleteResourcePolicyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "OrganizationsClient";
|
|
24
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (input) => input,
|
|
30
|
+
outputFilterSensitiveLog: (output) => output,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeResourcePolicyResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeResourcePolicyCommand, serializeAws_json1_1DescribeResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DescribeResourcePolicyCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OrganizationsClient";
|
|
25
|
+
const commandName = "DescribeResourcePolicyCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (input) => input,
|
|
31
|
+
outputFilterSensitiveLog: DescribeResourcePolicyResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DescribeResourcePolicyCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DescribeResourcePolicyCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutResourcePolicyRequestFilterSensitiveLog, PutResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1PutResourcePolicyCommand, serializeAws_json1_1PutResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class PutResourcePolicyCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OrganizationsClient";
|
|
25
|
+
const commandName = "PutResourcePolicyCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: PutResourcePolicyRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: PutResourcePolicyResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1PutResourcePolicyCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1PutResourcePolicyCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DeclineHandshakeCommand";
|
|
|
11
11
|
export * from "./DeleteOrganizationCommand";
|
|
12
12
|
export * from "./DeleteOrganizationalUnitCommand";
|
|
13
13
|
export * from "./DeletePolicyCommand";
|
|
14
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
14
15
|
export * from "./DeregisterDelegatedAdministratorCommand";
|
|
15
16
|
export * from "./DescribeAccountCommand";
|
|
16
17
|
export * from "./DescribeCreateAccountStatusCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./DescribeHandshakeCommand";
|
|
|
19
20
|
export * from "./DescribeOrganizationCommand";
|
|
20
21
|
export * from "./DescribeOrganizationalUnitCommand";
|
|
21
22
|
export * from "./DescribePolicyCommand";
|
|
23
|
+
export * from "./DescribeResourcePolicyCommand";
|
|
22
24
|
export * from "./DetachPolicyCommand";
|
|
23
25
|
export * from "./DisableAWSServiceAccessCommand";
|
|
24
26
|
export * from "./DisablePolicyTypeCommand";
|
|
@@ -44,6 +46,7 @@ export * from "./ListRootsCommand";
|
|
|
44
46
|
export * from "./ListTagsForResourceCommand";
|
|
45
47
|
export * from "./ListTargetsForPolicyCommand";
|
|
46
48
|
export * from "./MoveAccountCommand";
|
|
49
|
+
export * from "./PutResourcePolicyCommand";
|
|
47
50
|
export * from "./RegisterDelegatedAdministratorCommand";
|
|
48
51
|
export * from "./RemoveAccountFromOrganizationCommand";
|
|
49
52
|
export * from "./TagResourceCommand";
|