@aws-sdk/client-organizations 3.296.0 → 3.297.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-types/Organizations.d.ts +56 -0
- package/dist-types/OrganizationsClient.d.ts +24 -4
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +16 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +16 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +16 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +16 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +16 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +16 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +16 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +16 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +16 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +16 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +16 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +16 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +16 -0
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +16 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +16 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +16 -0
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +16 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +16 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +16 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +16 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +16 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +16 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +16 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +16 -0
- package/dist-types/commands/ListParentsCommand.d.ts +16 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +16 -0
- package/dist-types/commands/ListRootsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +16 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +16 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +16 -0
- package/dist-types/models/OrganizationsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +398 -2
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAccountsForParentPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAccountsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChildrenPaginator.d.ts +3 -0
- package/dist-types/pagination/ListCreateAccountStatusPaginator.d.ts +3 -0
- package/dist-types/pagination/ListDelegatedAdministratorsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListDelegatedServicesForAccountPaginator.d.ts +3 -0
- package/dist-types/pagination/ListHandshakesForAccountPaginator.d.ts +3 -0
- package/dist-types/pagination/ListHandshakesForOrganizationPaginator.d.ts +3 -0
- package/dist-types/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +3 -0
- package/dist-types/pagination/ListParentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPoliciesForTargetPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRootsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +3 -0
- package/dist-types/pagination/ListTargetsForPolicyPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RemoveAccountFromOrganizationRequest } from "../models/models_0";
|
|
5
5
|
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RemoveAccountFromOrganizationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RemoveAccountFromOrganizationCommandInput extends RemoveAccountFromOrganizationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RemoveAccountFromOrganizationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RemoveAccountFromOrganizationCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the specified account from the organization.</p>
|
|
18
23
|
* <p>The removed account becomes a standalone account that isn't a member of any
|
|
19
24
|
* organization. It's no longer subject to any policies and is responsible for its own bill
|
|
@@ -62,6 +67,8 @@ export interface RemoveAccountFromOrganizationCommandOutput extends __MetadataBe
|
|
|
62
67
|
* const response = await client.send(command);
|
|
63
68
|
* ```
|
|
64
69
|
*
|
|
70
|
+
* @param RemoveAccountFromOrganizationCommandInput - {@link RemoveAccountFromOrganizationCommandInput}
|
|
71
|
+
* @returns {@link RemoveAccountFromOrganizationCommandOutput}
|
|
65
72
|
* @see {@link RemoveAccountFromOrganizationCommandInput} for command's `input` shape.
|
|
66
73
|
* @see {@link RemoveAccountFromOrganizationCommandOutput} for command's `response` shape.
|
|
67
74
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
@@ -419,11 +426,20 @@ export interface RemoveAccountFromOrganizationCommandOutput extends __MetadataBe
|
|
|
419
426
|
export declare class RemoveAccountFromOrganizationCommand extends $Command<RemoveAccountFromOrganizationCommandInput, RemoveAccountFromOrganizationCommandOutput, OrganizationsClientResolvedConfig> {
|
|
420
427
|
readonly input: RemoveAccountFromOrganizationCommandInput;
|
|
421
428
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
422
432
|
constructor(input: RemoveAccountFromOrganizationCommandInput);
|
|
423
433
|
/**
|
|
424
434
|
* @internal
|
|
425
435
|
*/
|
|
426
436
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveAccountFromOrganizationCommandInput, RemoveAccountFromOrganizationCommandOutput>;
|
|
437
|
+
/**
|
|
438
|
+
* @internal
|
|
439
|
+
*/
|
|
427
440
|
private serialize;
|
|
441
|
+
/**
|
|
442
|
+
* @internal
|
|
443
|
+
*/
|
|
428
444
|
private deserialize;
|
|
429
445
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourceRequest } from "../models/models_0";
|
|
5
5
|
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds one or more tags to the specified resource.</p>
|
|
18
23
|
* <p>Currently, you can attach tags to the following resources in Organizations.</p>
|
|
19
24
|
* <ul>
|
|
@@ -41,6 +46,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
49
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
50
|
+
* @returns {@link TagResourceCommandOutput}
|
|
44
51
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
45
52
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
46
53
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
@@ -381,11 +388,20 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
381
388
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, OrganizationsClientResolvedConfig> {
|
|
382
389
|
readonly input: TagResourceCommandInput;
|
|
383
390
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
384
394
|
constructor(input: TagResourceCommandInput);
|
|
385
395
|
/**
|
|
386
396
|
* @internal
|
|
387
397
|
*/
|
|
388
398
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
399
|
+
/**
|
|
400
|
+
* @internal
|
|
401
|
+
*/
|
|
389
402
|
private serialize;
|
|
403
|
+
/**
|
|
404
|
+
* @internal
|
|
405
|
+
*/
|
|
390
406
|
private deserialize;
|
|
391
407
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourceRequest } from "../models/models_0";
|
|
5
5
|
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes any tags with the specified keys from the specified resource.</p>
|
|
18
23
|
* <p>You can attach tags to the following resources in Organizations.</p>
|
|
19
24
|
* <ul>
|
|
@@ -41,6 +46,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
49
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
50
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
44
51
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
45
52
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
46
53
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
@@ -381,11 +388,20 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
381
388
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, OrganizationsClientResolvedConfig> {
|
|
382
389
|
readonly input: UntagResourceCommandInput;
|
|
383
390
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
384
394
|
constructor(input: UntagResourceCommandInput);
|
|
385
395
|
/**
|
|
386
396
|
* @internal
|
|
387
397
|
*/
|
|
388
398
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
399
|
+
/**
|
|
400
|
+
* @internal
|
|
401
|
+
*/
|
|
389
402
|
private serialize;
|
|
403
|
+
/**
|
|
404
|
+
* @internal
|
|
405
|
+
*/
|
|
390
406
|
private deserialize;
|
|
391
407
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateOrganizationalUnitRequest, UpdateOrganizationalUnitResponse } from "../models/models_0";
|
|
5
5
|
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateOrganizationalUnitCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateOrganizationalUnitCommandInput extends UpdateOrganizationalUnitRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateOrganizationalUnitCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateOrganizationalUnitCommandOutput extends UpdateOrganizationalUnitResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Renames the specified organizational unit (OU). The ID and ARN don't change. The child
|
|
18
23
|
* OUs and accounts remain in place, and any attached policies of the OU remain
|
|
19
24
|
* attached.</p>
|
|
@@ -28,6 +33,8 @@ export interface UpdateOrganizationalUnitCommandOutput extends UpdateOrganizatio
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UpdateOrganizationalUnitCommandInput - {@link UpdateOrganizationalUnitCommandInput}
|
|
37
|
+
* @returns {@link UpdateOrganizationalUnitCommandOutput}
|
|
31
38
|
* @see {@link UpdateOrganizationalUnitCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UpdateOrganizationalUnitCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
@@ -195,11 +202,20 @@ export interface UpdateOrganizationalUnitCommandOutput extends UpdateOrganizatio
|
|
|
195
202
|
export declare class UpdateOrganizationalUnitCommand extends $Command<UpdateOrganizationalUnitCommandInput, UpdateOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig> {
|
|
196
203
|
readonly input: UpdateOrganizationalUnitCommandInput;
|
|
197
204
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
198
208
|
constructor(input: UpdateOrganizationalUnitCommandInput);
|
|
199
209
|
/**
|
|
200
210
|
* @internal
|
|
201
211
|
*/
|
|
202
212
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOrganizationalUnitCommandInput, UpdateOrganizationalUnitCommandOutput>;
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
203
216
|
private serialize;
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
204
220
|
private deserialize;
|
|
205
221
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdatePolicyRequest, UpdatePolicyResponse } from "../models/models_0";
|
|
5
5
|
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdatePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdatePolicyCommandInput extends UpdatePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdatePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates an existing policy with a new name, description, or content. If you don't
|
|
18
23
|
* supply any parameter, that value remains unchanged. You can't change a policy's
|
|
19
24
|
* type.</p>
|
|
@@ -28,6 +33,8 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UpdatePolicyCommandInput - {@link UpdatePolicyCommandInput}
|
|
37
|
+
* @returns {@link UpdatePolicyCommandOutput}
|
|
31
38
|
* @see {@link UpdatePolicyCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UpdatePolicyCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
@@ -439,11 +446,20 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
439
446
|
export declare class UpdatePolicyCommand extends $Command<UpdatePolicyCommandInput, UpdatePolicyCommandOutput, OrganizationsClientResolvedConfig> {
|
|
440
447
|
readonly input: UpdatePolicyCommandInput;
|
|
441
448
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
442
452
|
constructor(input: UpdatePolicyCommandInput);
|
|
443
453
|
/**
|
|
444
454
|
* @internal
|
|
445
455
|
*/
|
|
446
456
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePolicyCommandInput, UpdatePolicyCommandOutput>;
|
|
457
|
+
/**
|
|
458
|
+
* @internal
|
|
459
|
+
*/
|
|
447
460
|
private serialize;
|
|
461
|
+
/**
|
|
462
|
+
* @internal
|
|
463
|
+
*/
|
|
448
464
|
private deserialize;
|
|
449
465
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Organizations service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class OrganizationsServiceException extends __ServiceException {
|