@aws-sdk/client-organizations 3.533.0 → 3.540.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/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/Organizations.d.ts +15 -1
- package/dist-types/OrganizationsClient.d.ts +1 -1
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/AttachPolicyCommand.d.ts +2 -1
- package/dist-types/commands/CancelHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/CloseAccountCommand.d.ts +2 -1
- package/dist-types/commands/CreateAccountCommand.d.ts +2 -1
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +2 -1
- package/dist-types/commands/CreateOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/CreatePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAccountCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/DescribePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +2 -1
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +2 -1
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +2 -1
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +2 -1
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +2 -1
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +2 -1
- package/dist-types/commands/ListChildrenCommand.d.ts +2 -1
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +2 -1
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +2 -1
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +2 -1
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +2 -1
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +2 -1
- package/dist-types/commands/ListParentsCommand.d.ts +2 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +2 -1
- package/dist-types/commands/ListRootsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +2 -1
- package/dist-types/commands/MoveAccountCommand.d.ts +2 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +2 -1
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +319 -319
- package/dist-types/ts3.4/Organizations.d.ts +14 -0
- package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -4407,9 +4407,6 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(Organizations
|
|
|
4407
4407
|
// src/pagination/ListTargetsForPolicyPaginator.ts
|
|
4408
4408
|
|
|
4409
4409
|
var paginateListTargetsForPolicy = (0, import_core.createPaginator)(OrganizationsClient, ListTargetsForPolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
4410
|
-
|
|
4411
|
-
// src/index.ts
|
|
4412
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
4413
4410
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4414
4411
|
|
|
4415
4412
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -95,6 +95,7 @@ export interface Organizations {
|
|
|
95
95
|
/**
|
|
96
96
|
* @see {@link CreateOrganizationCommand}
|
|
97
97
|
*/
|
|
98
|
+
createOrganization(): Promise<CreateOrganizationCommandOutput>;
|
|
98
99
|
createOrganization(args: CreateOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrganizationCommandOutput>;
|
|
99
100
|
createOrganization(args: CreateOrganizationCommandInput, cb: (err: any, data?: CreateOrganizationCommandOutput) => void): void;
|
|
100
101
|
createOrganization(args: CreateOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOrganizationCommandOutput) => void): void;
|
|
@@ -119,6 +120,7 @@ export interface Organizations {
|
|
|
119
120
|
/**
|
|
120
121
|
* @see {@link DeleteOrganizationCommand}
|
|
121
122
|
*/
|
|
123
|
+
deleteOrganization(): Promise<DeleteOrganizationCommandOutput>;
|
|
122
124
|
deleteOrganization(args: DeleteOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOrganizationCommandOutput>;
|
|
123
125
|
deleteOrganization(args: DeleteOrganizationCommandInput, cb: (err: any, data?: DeleteOrganizationCommandOutput) => void): void;
|
|
124
126
|
deleteOrganization(args: DeleteOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOrganizationCommandOutput) => void): void;
|
|
@@ -137,6 +139,7 @@ export interface Organizations {
|
|
|
137
139
|
/**
|
|
138
140
|
* @see {@link DeleteResourcePolicyCommand}
|
|
139
141
|
*/
|
|
142
|
+
deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
|
|
140
143
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
141
144
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
142
145
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
@@ -173,6 +176,7 @@ export interface Organizations {
|
|
|
173
176
|
/**
|
|
174
177
|
* @see {@link DescribeOrganizationCommand}
|
|
175
178
|
*/
|
|
179
|
+
describeOrganization(): Promise<DescribeOrganizationCommandOutput>;
|
|
176
180
|
describeOrganization(args: DescribeOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationCommandOutput>;
|
|
177
181
|
describeOrganization(args: DescribeOrganizationCommandInput, cb: (err: any, data?: DescribeOrganizationCommandOutput) => void): void;
|
|
178
182
|
describeOrganization(args: DescribeOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationCommandOutput) => void): void;
|
|
@@ -191,6 +195,7 @@ export interface Organizations {
|
|
|
191
195
|
/**
|
|
192
196
|
* @see {@link DescribeResourcePolicyCommand}
|
|
193
197
|
*/
|
|
198
|
+
describeResourcePolicy(): Promise<DescribeResourcePolicyCommandOutput>;
|
|
194
199
|
describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePolicyCommandOutput>;
|
|
195
200
|
describeResourcePolicy(args: DescribeResourcePolicyCommandInput, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
|
|
196
201
|
describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
|
|
@@ -215,6 +220,7 @@ export interface Organizations {
|
|
|
215
220
|
/**
|
|
216
221
|
* @see {@link EnableAllFeaturesCommand}
|
|
217
222
|
*/
|
|
223
|
+
enableAllFeatures(): Promise<EnableAllFeaturesCommandOutput>;
|
|
218
224
|
enableAllFeatures(args: EnableAllFeaturesCommandInput, options?: __HttpHandlerOptions): Promise<EnableAllFeaturesCommandOutput>;
|
|
219
225
|
enableAllFeatures(args: EnableAllFeaturesCommandInput, cb: (err: any, data?: EnableAllFeaturesCommandOutput) => void): void;
|
|
220
226
|
enableAllFeatures(args: EnableAllFeaturesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableAllFeaturesCommandOutput) => void): void;
|
|
@@ -239,12 +245,14 @@ export interface Organizations {
|
|
|
239
245
|
/**
|
|
240
246
|
* @see {@link LeaveOrganizationCommand}
|
|
241
247
|
*/
|
|
248
|
+
leaveOrganization(): Promise<LeaveOrganizationCommandOutput>;
|
|
242
249
|
leaveOrganization(args: LeaveOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<LeaveOrganizationCommandOutput>;
|
|
243
250
|
leaveOrganization(args: LeaveOrganizationCommandInput, cb: (err: any, data?: LeaveOrganizationCommandOutput) => void): void;
|
|
244
251
|
leaveOrganization(args: LeaveOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LeaveOrganizationCommandOutput) => void): void;
|
|
245
252
|
/**
|
|
246
253
|
* @see {@link ListAccountsCommand}
|
|
247
254
|
*/
|
|
255
|
+
listAccounts(): Promise<ListAccountsCommandOutput>;
|
|
248
256
|
listAccounts(args: ListAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountsCommandOutput>;
|
|
249
257
|
listAccounts(args: ListAccountsCommandInput, cb: (err: any, data?: ListAccountsCommandOutput) => void): void;
|
|
250
258
|
listAccounts(args: ListAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountsCommandOutput) => void): void;
|
|
@@ -257,6 +265,7 @@ export interface Organizations {
|
|
|
257
265
|
/**
|
|
258
266
|
* @see {@link ListAWSServiceAccessForOrganizationCommand}
|
|
259
267
|
*/
|
|
268
|
+
listAWSServiceAccessForOrganization(): Promise<ListAWSServiceAccessForOrganizationCommandOutput>;
|
|
260
269
|
listAWSServiceAccessForOrganization(args: ListAWSServiceAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListAWSServiceAccessForOrganizationCommandOutput>;
|
|
261
270
|
listAWSServiceAccessForOrganization(args: ListAWSServiceAccessForOrganizationCommandInput, cb: (err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void): void;
|
|
262
271
|
listAWSServiceAccessForOrganization(args: ListAWSServiceAccessForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void): void;
|
|
@@ -269,12 +278,14 @@ export interface Organizations {
|
|
|
269
278
|
/**
|
|
270
279
|
* @see {@link ListCreateAccountStatusCommand}
|
|
271
280
|
*/
|
|
281
|
+
listCreateAccountStatus(): Promise<ListCreateAccountStatusCommandOutput>;
|
|
272
282
|
listCreateAccountStatus(args: ListCreateAccountStatusCommandInput, options?: __HttpHandlerOptions): Promise<ListCreateAccountStatusCommandOutput>;
|
|
273
283
|
listCreateAccountStatus(args: ListCreateAccountStatusCommandInput, cb: (err: any, data?: ListCreateAccountStatusCommandOutput) => void): void;
|
|
274
284
|
listCreateAccountStatus(args: ListCreateAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCreateAccountStatusCommandOutput) => void): void;
|
|
275
285
|
/**
|
|
276
286
|
* @see {@link ListDelegatedAdministratorsCommand}
|
|
277
287
|
*/
|
|
288
|
+
listDelegatedAdministrators(): Promise<ListDelegatedAdministratorsCommandOutput>;
|
|
278
289
|
listDelegatedAdministrators(args: ListDelegatedAdministratorsCommandInput, options?: __HttpHandlerOptions): Promise<ListDelegatedAdministratorsCommandOutput>;
|
|
279
290
|
listDelegatedAdministrators(args: ListDelegatedAdministratorsCommandInput, cb: (err: any, data?: ListDelegatedAdministratorsCommandOutput) => void): void;
|
|
280
291
|
listDelegatedAdministrators(args: ListDelegatedAdministratorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDelegatedAdministratorsCommandOutput) => void): void;
|
|
@@ -287,12 +298,14 @@ export interface Organizations {
|
|
|
287
298
|
/**
|
|
288
299
|
* @see {@link ListHandshakesForAccountCommand}
|
|
289
300
|
*/
|
|
301
|
+
listHandshakesForAccount(): Promise<ListHandshakesForAccountCommandOutput>;
|
|
290
302
|
listHandshakesForAccount(args: ListHandshakesForAccountCommandInput, options?: __HttpHandlerOptions): Promise<ListHandshakesForAccountCommandOutput>;
|
|
291
303
|
listHandshakesForAccount(args: ListHandshakesForAccountCommandInput, cb: (err: any, data?: ListHandshakesForAccountCommandOutput) => void): void;
|
|
292
304
|
listHandshakesForAccount(args: ListHandshakesForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHandshakesForAccountCommandOutput) => void): void;
|
|
293
305
|
/**
|
|
294
306
|
* @see {@link ListHandshakesForOrganizationCommand}
|
|
295
307
|
*/
|
|
308
|
+
listHandshakesForOrganization(): Promise<ListHandshakesForOrganizationCommandOutput>;
|
|
296
309
|
listHandshakesForOrganization(args: ListHandshakesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListHandshakesForOrganizationCommandOutput>;
|
|
297
310
|
listHandshakesForOrganization(args: ListHandshakesForOrganizationCommandInput, cb: (err: any, data?: ListHandshakesForOrganizationCommandOutput) => void): void;
|
|
298
311
|
listHandshakesForOrganization(args: ListHandshakesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHandshakesForOrganizationCommandOutput) => void): void;
|
|
@@ -323,6 +336,7 @@ export interface Organizations {
|
|
|
323
336
|
/**
|
|
324
337
|
* @see {@link ListRootsCommand}
|
|
325
338
|
*/
|
|
339
|
+
listRoots(): Promise<ListRootsCommandOutput>;
|
|
326
340
|
listRoots(args: ListRootsCommandInput, options?: __HttpHandlerOptions): Promise<ListRootsCommandOutput>;
|
|
327
341
|
listRoots(args: ListRootsCommandInput, cb: (err: any, data?: ListRootsCommandOutput) => void): void;
|
|
328
342
|
listRoots(args: ListRootsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRootsCommandOutput) => void): void;
|
|
@@ -388,7 +402,6 @@ export interface Organizations {
|
|
|
388
402
|
updatePolicy(args: UpdatePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePolicyCommandOutput) => void): void;
|
|
389
403
|
}
|
|
390
404
|
/**
|
|
391
|
-
* @public
|
|
392
405
|
* <p>Organizations is a web service that enables you to consolidate your multiple
|
|
393
406
|
* Amazon Web Services accounts into an <i>organization</i> and centrally manage your
|
|
394
407
|
* accounts and their resources.</p>
|
|
@@ -461,6 +474,7 @@ export interface Organizations {
|
|
|
461
474
|
* Organizations API calls with CloudTrail</a> in the
|
|
462
475
|
* <i>Organizations User Guide</i>. To learn more about CloudTrail, including how to turn it
|
|
463
476
|
* on and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">CloudTrail User Guide</a>.</p>
|
|
477
|
+
* @public
|
|
464
478
|
*/
|
|
465
479
|
export declare class Organizations extends OrganizationsClient implements Organizations {
|
|
466
480
|
}
|
|
@@ -206,7 +206,6 @@ export type OrganizationsClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
206
206
|
export interface OrganizationsClientResolvedConfig extends OrganizationsClientResolvedConfigType {
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
|
-
* @public
|
|
210
209
|
* <p>Organizations is a web service that enables you to consolidate your multiple
|
|
211
210
|
* Amazon Web Services accounts into an <i>organization</i> and centrally manage your
|
|
212
211
|
* accounts and their resources.</p>
|
|
@@ -279,6 +278,7 @@ export interface OrganizationsClientResolvedConfig extends OrganizationsClientRe
|
|
|
279
278
|
* Organizations API calls with CloudTrail</a> in the
|
|
280
279
|
* <i>Organizations User Guide</i>. To learn more about CloudTrail, including how to turn it
|
|
281
280
|
* on and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">CloudTrail User Guide</a>.</p>
|
|
281
|
+
* @public
|
|
282
282
|
*/
|
|
283
283
|
export declare class OrganizationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OrganizationsClientResolvedConfig> {
|
|
284
284
|
/**
|
|
@@ -22,10 +22,10 @@ export interface AcceptHandshakeCommandOutput extends AcceptHandshakeResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const AcceptHandshakeCommand_base: {
|
|
24
24
|
new (input: AcceptHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: AcceptHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Sends a response to the originator of a handshake agreeing to the action proposed by
|
|
30
30
|
* the handshake request.</p>
|
|
31
31
|
* <p>You can only call this operation by the following principals when they also have the
|
|
@@ -314,6 +314,7 @@ declare const AcceptHandshakeCommand_base: {
|
|
|
314
314
|
* @throws {@link OrganizationsServiceException}
|
|
315
315
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
316
316
|
*
|
|
317
|
+
* @public
|
|
317
318
|
* @example To accept a handshake from another account
|
|
318
319
|
* ```javascript
|
|
319
320
|
* // Bill is the owner of an organization, and he invites Juan's account (222222222222) to join his organization. The following example shows Juan's account accepting the handshake and thus agreeing to the invitation.
|
|
@@ -22,10 +22,10 @@ export interface AttachPolicyCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const AttachPolicyCommand_base: {
|
|
24
24
|
new (input: AttachPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<AttachPolicyCommandInput, AttachPolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: AttachPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<AttachPolicyCommandInput, AttachPolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Attaches a policy to a root, an organizational unit (OU), or an individual account.
|
|
30
30
|
* How the policy affects accounts depends on the type of policy. Refer to the
|
|
31
31
|
* <i>Organizations User Guide</i> for information about each policy type:</p>
|
|
@@ -427,6 +427,7 @@ declare const AttachPolicyCommand_base: {
|
|
|
427
427
|
* @throws {@link OrganizationsServiceException}
|
|
428
428
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
429
429
|
*
|
|
430
|
+
* @public
|
|
430
431
|
* @example To attach a policy to an OU
|
|
431
432
|
* ```javascript
|
|
432
433
|
* // The following example shows how to attach a service control policy (SCP) to an OU:
|
|
@@ -22,10 +22,10 @@ export interface CancelHandshakeCommandOutput extends CancelHandshakeResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const CancelHandshakeCommand_base: {
|
|
24
24
|
new (input: CancelHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<CancelHandshakeCommandInput, CancelHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CancelHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<CancelHandshakeCommandInput, CancelHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Cancels a handshake. Canceling a handshake sets the handshake state to
|
|
30
30
|
* <code>CANCELED</code>.</p>
|
|
31
31
|
* <p>This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use <a>DeclineHandshake</a> instead. After a handshake is canceled, the recipient
|
|
@@ -220,6 +220,7 @@ declare const CancelHandshakeCommand_base: {
|
|
|
220
220
|
* @throws {@link OrganizationsServiceException}
|
|
221
221
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
222
222
|
*
|
|
223
|
+
* @public
|
|
223
224
|
* @example To cancel a handshake sent to a member account
|
|
224
225
|
* ```javascript
|
|
225
226
|
* // Bill previously sent an invitation to Susan's account to join his organization. He changes his mind and decides to cancel the invitation before Susan accepts it. The following example shows Bill's cancellation:
|
|
@@ -22,10 +22,10 @@ export interface CloseAccountCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const CloseAccountCommand_base: {
|
|
24
24
|
new (input: CloseAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CloseAccountCommandInput, CloseAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CloseAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CloseAccountCommandInput, CloseAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Closes an Amazon Web Services member account within an organization. You can close an account when
|
|
30
30
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all
|
|
31
31
|
* features are enabled </a>. You can't close the management account with this API.
|
|
@@ -438,6 +438,7 @@ declare const CloseAccountCommand_base: {
|
|
|
438
438
|
* @throws {@link OrganizationsServiceException}
|
|
439
439
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
440
440
|
*
|
|
441
|
+
* @public
|
|
441
442
|
*/
|
|
442
443
|
export declare class CloseAccountCommand extends CloseAccountCommand_base {
|
|
443
444
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateAccountCommand_base: {
|
|
24
24
|
new (input: CreateAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccountCommandInput, CreateAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccountCommandInput, CreateAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates an Amazon Web Services account that is automatically a member of the organization whose
|
|
30
30
|
* credentials made the request. This is an asynchronous request that Amazon Web Services performs in the
|
|
31
31
|
* background. Because <code>CreateAccount</code> operates asynchronously, it can return a
|
|
@@ -478,6 +478,7 @@ declare const CreateAccountCommand_base: {
|
|
|
478
478
|
* @throws {@link OrganizationsServiceException}
|
|
479
479
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
480
480
|
*
|
|
481
|
+
* @public
|
|
481
482
|
* @example To create a new account that is automatically part of the organization
|
|
482
483
|
* ```javascript
|
|
483
484
|
* // The owner of an organization creates a member account in the organization. The following example shows that when the organization owner creates the member account, the account is preconfigured with the name "Production Account" and an owner email address of susan@example.com. An IAM role is automatically created using the default name because the roleName parameter is not used. AWS Organizations sends Susan a "Welcome to AWS" email:
|
|
@@ -22,10 +22,10 @@ export interface CreateGovCloudAccountCommandOutput extends CreateGovCloudAccoun
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateGovCloudAccountCommand_base: {
|
|
24
24
|
new (input: CreateGovCloudAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateGovCloudAccountCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>This action is available if all of the following are true:</p>
|
|
30
30
|
* <ul>
|
|
31
31
|
* <li>
|
|
@@ -530,6 +530,7 @@ declare const CreateGovCloudAccountCommand_base: {
|
|
|
530
530
|
* @throws {@link OrganizationsServiceException}
|
|
531
531
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
532
532
|
*
|
|
533
|
+
* @public
|
|
533
534
|
*/
|
|
534
535
|
export declare class CreateGovCloudAccountCommand extends CreateGovCloudAccountCommand_base {
|
|
535
536
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateOrganizationCommand_base: {
|
|
24
24
|
new (input: CreateOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrganizationCommandInput, CreateOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [CreateOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateOrganizationCommandInput, CreateOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates an Amazon Web Services organization. The account whose user is calling the
|
|
30
30
|
* <code>CreateOrganization</code> operation automatically becomes the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">management account</a> of the new organization.</p>
|
|
31
31
|
* <p>This operation must be called using credentials from the account that is to become the
|
|
@@ -408,6 +408,7 @@ declare const CreateOrganizationCommand_base: {
|
|
|
408
408
|
* @throws {@link OrganizationsServiceException}
|
|
409
409
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
410
410
|
*
|
|
411
|
+
* @public
|
|
411
412
|
* @example To create a new organization with all features enabled
|
|
412
413
|
* ```javascript
|
|
413
414
|
* // Bill wants to create an organization using credentials from account 111111111111. The following example shows that the account becomes the master account in the new organization. Because he does not specify a feature set, the new organization defaults to all features enabled and service control policies enabled on the root:
|
|
@@ -22,10 +22,10 @@ export interface CreateOrganizationalUnitCommandOutput extends CreateOrganizatio
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateOrganizationalUnitCommand_base: {
|
|
24
24
|
new (input: CreateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates an organizational unit (OU) within a root or parent OU. An OU is a container
|
|
30
30
|
* for accounts that enables you to organize your accounts to apply policies according to
|
|
31
31
|
* your business requirements. The number of levels deep that you can nest OUs is dependent
|
|
@@ -405,6 +405,7 @@ declare const CreateOrganizationalUnitCommand_base: {
|
|
|
405
405
|
* @throws {@link OrganizationsServiceException}
|
|
406
406
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
407
407
|
*
|
|
408
|
+
* @public
|
|
408
409
|
* @example To create a new organization unit
|
|
409
410
|
* ```javascript
|
|
410
411
|
* // The following example shows how to create an OU that is named AccountingOU. The new OU is directly under the root.:
|
|
@@ -22,10 +22,10 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreatePolicyCommand_base: {
|
|
24
24
|
new (input: CreatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyCommandInput, CreatePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyCommandInput, CreatePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a policy of a specified type that you can attach to a root, an organizational
|
|
30
30
|
* unit (OU), or an individual Amazon Web Services account.</p>
|
|
31
31
|
* <p>For more information about policies and their use, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html">Managing
|
|
@@ -423,6 +423,7 @@ declare const CreatePolicyCommand_base: {
|
|
|
423
423
|
* @throws {@link OrganizationsServiceException}
|
|
424
424
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
425
425
|
*
|
|
426
|
+
* @public
|
|
426
427
|
* @example To create a service control policy
|
|
427
428
|
* ```javascript
|
|
428
429
|
* // The following example shows how to create a service control policy (SCP) that is named AllowAllS3Actions. The JSON string in the content parameter specifies the content in the policy. The parameter string is escaped with backslashes to ensure that the embedded double quotes in the JSON policy are treated as literals in the parameter, which itself is surrounded by double quotes:
|
|
@@ -22,10 +22,10 @@ export interface DeclineHandshakeCommandOutput extends DeclineHandshakeResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeclineHandshakeCommand_base: {
|
|
24
24
|
new (input: DeclineHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<DeclineHandshakeCommandInput, DeclineHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeclineHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<DeclineHandshakeCommandInput, DeclineHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Declines a handshake request. This sets the handshake state to <code>DECLINED</code>
|
|
30
30
|
* and effectively deactivates the request.</p>
|
|
31
31
|
* <p>This operation can be called only from the account that received the handshake. The originator of the handshake can use <a>CancelHandshake</a>
|
|
@@ -221,6 +221,7 @@ declare const DeclineHandshakeCommand_base: {
|
|
|
221
221
|
* @throws {@link OrganizationsServiceException}
|
|
222
222
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
223
223
|
*
|
|
224
|
+
* @public
|
|
224
225
|
* @example To decline a handshake sent from the master account
|
|
225
226
|
* ```javascript
|
|
226
227
|
* // The following example shows Susan declining an invitation to join Bill's organization. The DeclineHandshake operation returns a handshake object, showing that the state is now DECLINED:
|
|
@@ -21,10 +21,10 @@ export interface DeleteOrganizationCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
}
|
|
22
22
|
declare const DeleteOrganizationCommand_base: {
|
|
23
23
|
new (input: DeleteOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteOrganizationCommandInput, DeleteOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
24
|
+
new (...[input]: [] | [DeleteOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteOrganizationCommandInput, DeleteOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
24
25
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
26
|
};
|
|
26
27
|
/**
|
|
27
|
-
* @public
|
|
28
28
|
* <p>Deletes the organization. You can delete an organization only by using credentials
|
|
29
29
|
* from the management account. The organization must be empty of member accounts.</p>
|
|
30
30
|
* @example
|
|
@@ -181,6 +181,7 @@ declare const DeleteOrganizationCommand_base: {
|
|
|
181
181
|
* @throws {@link OrganizationsServiceException}
|
|
182
182
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
183
183
|
*
|
|
184
|
+
* @public
|
|
184
185
|
*/
|
|
185
186
|
export declare class DeleteOrganizationCommand extends DeleteOrganizationCommand_base {
|
|
186
187
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteOrganizationalUnitCommandOutput extends __MetadataBearer
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteOrganizationalUnitCommand_base: {
|
|
24
24
|
new (input: DeleteOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteOrganizationalUnitCommandInput, DeleteOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteOrganizationalUnitCommandInput, DeleteOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes an organizational unit (OU) from a root or another OU. You must first remove
|
|
30
30
|
* all accounts and child OUs from the OU that you want to delete.</p>
|
|
31
31
|
* <p>This operation can be called only from the organization's management account.</p>
|
|
@@ -189,6 +189,7 @@ declare const DeleteOrganizationalUnitCommand_base: {
|
|
|
189
189
|
* @throws {@link OrganizationsServiceException}
|
|
190
190
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
191
191
|
*
|
|
192
|
+
* @public
|
|
192
193
|
* @example To delete an organization unit
|
|
193
194
|
* ```javascript
|
|
194
195
|
* // The following example shows how to delete an OU. The example assumes that you previously removed all accounts and other OUs from the OU:
|
|
@@ -22,10 +22,10 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeletePolicyCommand_base: {
|
|
24
24
|
new (input: DeletePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified policy from your organization. Before you perform this
|
|
30
30
|
* operation, you must first detach the policy from all organizational units (OUs), roots,
|
|
31
31
|
* and accounts.</p>
|
|
@@ -193,6 +193,7 @@ declare const DeletePolicyCommand_base: {
|
|
|
193
193
|
* @throws {@link OrganizationsServiceException}
|
|
194
194
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
195
195
|
*
|
|
196
|
+
* @public
|
|
196
197
|
* @example To delete a policy
|
|
197
198
|
* ```javascript
|
|
198
199
|
* // The following example shows how to delete a policy from an organization. The example assumes that you previously detached the policy from all entities:
|
|
@@ -21,10 +21,10 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
}
|
|
22
22
|
declare const DeleteResourcePolicyCommand_base: {
|
|
23
23
|
new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
24
|
+
new (...[input]: [] | [DeleteResourcePolicyCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
24
25
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
26
|
};
|
|
26
27
|
/**
|
|
27
|
-
* @public
|
|
28
28
|
* <p>Deletes the resource policy from your organization.</p>
|
|
29
29
|
* <p>You can only call this operation from the organization's management account.</p>
|
|
30
30
|
* @example
|
|
@@ -277,6 +277,7 @@ declare const DeleteResourcePolicyCommand_base: {
|
|
|
277
277
|
* @throws {@link OrganizationsServiceException}
|
|
278
278
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
279
279
|
*
|
|
280
|
+
* @public
|
|
280
281
|
*/
|
|
281
282
|
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
282
283
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeregisterDelegatedAdministratorCommandOutput extends __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeregisterDelegatedAdministratorCommand_base: {
|
|
24
24
|
new (input: DeregisterDelegatedAdministratorCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterDelegatedAdministratorCommandInput, DeregisterDelegatedAdministratorCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeregisterDelegatedAdministratorCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterDelegatedAdministratorCommandInput, DeregisterDelegatedAdministratorCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Removes the specified member Amazon Web Services account as a delegated administrator for the
|
|
30
30
|
* specified Amazon Web Services service.</p>
|
|
31
31
|
* <important>
|
|
@@ -402,6 +402,7 @@ declare const DeregisterDelegatedAdministratorCommand_base: {
|
|
|
402
402
|
* @throws {@link OrganizationsServiceException}
|
|
403
403
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
404
404
|
*
|
|
405
|
+
* @public
|
|
405
406
|
*/
|
|
406
407
|
export declare class DeregisterDelegatedAdministratorCommand extends DeregisterDelegatedAdministratorCommand_base {
|
|
407
408
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeAccountCommandOutput extends DescribeAccountResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeAccountCommand_base: {
|
|
24
24
|
new (input: DescribeAccountCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAccountCommandInput, DescribeAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeAccountCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAccountCommandInput, DescribeAccountCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves Organizations-related information about the specified account.</p>
|
|
30
30
|
* <p>This operation can be called only from the organization's
|
|
31
31
|
* management account or by a member account that is a delegated administrator for an Amazon Web Services service.</p>
|
|
@@ -192,6 +192,7 @@ declare const DescribeAccountCommand_base: {
|
|
|
192
192
|
* @throws {@link OrganizationsServiceException}
|
|
193
193
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
194
194
|
*
|
|
195
|
+
* @public
|
|
195
196
|
* @example To get the details about an account
|
|
196
197
|
* ```javascript
|
|
197
198
|
* // The following example shows a user in the master account (111111111111) asking for details about account 555555555555:
|
|
@@ -22,10 +22,10 @@ export interface DescribeCreateAccountStatusCommandOutput extends DescribeCreate
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeCreateAccountStatusCommand_base: {
|
|
24
24
|
new (input: DescribeCreateAccountStatusCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCreateAccountStatusCommandInput, DescribeCreateAccountStatusCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeCreateAccountStatusCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCreateAccountStatusCommandInput, DescribeCreateAccountStatusCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves the current status of an asynchronous request to create an account.</p>
|
|
30
30
|
* <p>This operation can be called only from the organization's
|
|
31
31
|
* management account or by a member account that is a delegated administrator for an Amazon Web Services service.</p>
|
|
@@ -195,6 +195,7 @@ declare const DescribeCreateAccountStatusCommand_base: {
|
|
|
195
195
|
* @throws {@link OrganizationsServiceException}
|
|
196
196
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
197
197
|
*
|
|
198
|
+
* @public
|
|
198
199
|
* @example To get information about a request to create an account
|
|
199
200
|
* ```javascript
|
|
200
201
|
* // The following example shows how to request the status about a previous request to create an account in an organization. This operation can be called only by a principal from the organization's master account. In the example, the specified "createAccountRequestId" comes from the response of the original call to "CreateAccount":
|
|
@@ -22,10 +22,10 @@ export interface DescribeEffectivePolicyCommandOutput extends DescribeEffectiveP
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeEffectivePolicyCommand_base: {
|
|
24
24
|
new (input: DescribeEffectivePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEffectivePolicyCommandInput, DescribeEffectivePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeEffectivePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEffectivePolicyCommandInput, DescribeEffectivePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns the contents of the effective policy for specified policy type and account.
|
|
30
30
|
* The effective policy is the aggregation of any policies of the specified type that the
|
|
31
31
|
* account inherits, plus any policy of that type that is directly attached to the
|
|
@@ -403,6 +403,7 @@ declare const DescribeEffectivePolicyCommand_base: {
|
|
|
403
403
|
* @throws {@link OrganizationsServiceException}
|
|
404
404
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
405
405
|
*
|
|
406
|
+
* @public
|
|
406
407
|
*/
|
|
407
408
|
export declare class DescribeEffectivePolicyCommand extends DescribeEffectivePolicyCommand_base {
|
|
408
409
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeHandshakeCommandOutput extends DescribeHandshakeRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeHandshakeCommand_base: {
|
|
24
24
|
new (input: DescribeHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHandshakeCommandInput, DescribeHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHandshakeCommandInput, DescribeHandshakeCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves information about a previously requested handshake. The handshake ID comes
|
|
30
30
|
* from the response to the original <a>InviteAccountToOrganization</a>
|
|
31
31
|
* operation that generated the handshake.</p>
|
|
@@ -212,6 +212,7 @@ declare const DescribeHandshakeCommand_base: {
|
|
|
212
212
|
* @throws {@link OrganizationsServiceException}
|
|
213
213
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
214
214
|
*
|
|
215
|
+
* @public
|
|
215
216
|
* @example To get information about a handshake
|
|
216
217
|
* ```javascript
|
|
217
218
|
* // The following example shows you how to request details about a handshake. The handshake ID comes either from the original call to "InviteAccountToOrganization", or from a call to "ListHandshakesForAccount" or "ListHandshakesForOrganization":
|
|
@@ -22,10 +22,10 @@ export interface DescribeOrganizationCommandOutput extends DescribeOrganizationR
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeOrganizationCommand_base: {
|
|
24
24
|
new (input: DescribeOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeOrganizationCommandInput, DescribeOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [DescribeOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeOrganizationCommandInput, DescribeOrganizationCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves information about the organization that the user's account belongs
|
|
30
30
|
* to.</p>
|
|
31
31
|
* <p>This operation can be called from any account in the organization.</p>
|
|
@@ -95,6 +95,7 @@ declare const DescribeOrganizationCommand_base: {
|
|
|
95
95
|
* @throws {@link OrganizationsServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
97
97
|
*
|
|
98
|
+
* @public
|
|
98
99
|
* @example To get information about an organization
|
|
99
100
|
* ```javascript
|
|
100
101
|
* // The following example shows how to request information about the current user's organization:/n/n
|