@aws-sdk/client-organizations 3.321.1 → 3.326.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/commands/AcceptHandshakeCommand.d.ts +32 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +32 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +4 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +15 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +15 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +19 -0
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +10 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +32 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +14 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +15 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +11 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +32 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +19 -0
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +10 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +12 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +4 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +16 -0
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +4 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +32 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +16 -0
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +32 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +4 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +12 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +17 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +17 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +12 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +18 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +18 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +12 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +35 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +35 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +13 -0
- package/dist-types/commands/ListParentsCommand.d.ts +12 -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 +19 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +14 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +4 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +12 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +4 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +10 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +16 -0
- package/package.json +16 -16
|
@@ -31,6 +31,16 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeResourcePolicyResponse
|
|
35
|
+
* // ResourcePolicy: { // ResourcePolicy
|
|
36
|
+
* // ResourcePolicySummary: { // ResourcePolicySummary
|
|
37
|
+
* // Id: "STRING_VALUE",
|
|
38
|
+
* // Arn: "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // Content: "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
34
44
|
* ```
|
|
35
45
|
*
|
|
36
46
|
* @param DescribeResourcePolicyCommandInput - {@link DescribeResourcePolicyCommandInput}
|
|
@@ -264,6 +274,8 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
264
274
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
265
275
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
266
276
|
*
|
|
277
|
+
* @throws {@link OrganizationsServiceException}
|
|
278
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
267
279
|
*
|
|
268
280
|
*/
|
|
269
281
|
export declare class DescribeResourcePolicyCommand extends $Command<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -46,6 +46,8 @@ export interface DetachPolicyCommandOutput extends __MetadataBearer {
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new DetachPolicyCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
49
51
|
* ```
|
|
50
52
|
*
|
|
51
53
|
* @param DetachPolicyCommandInput - {@link DetachPolicyCommandInput}
|
|
@@ -398,6 +400,8 @@ export interface DetachPolicyCommandOutput extends __MetadataBearer {
|
|
|
398
400
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
399
401
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
400
402
|
*
|
|
403
|
+
* @throws {@link OrganizationsServiceException}
|
|
404
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
401
405
|
*
|
|
402
406
|
* @example To detach a policy from a root, OU, or account
|
|
403
407
|
* ```javascript
|
|
@@ -86,6 +86,8 @@ export interface DisableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
86
86
|
* };
|
|
87
87
|
* const command = new DisableAWSServiceAccessCommand(input);
|
|
88
88
|
* const response = await client.send(command);
|
|
89
|
+
* // {};
|
|
90
|
+
*
|
|
89
91
|
* ```
|
|
90
92
|
*
|
|
91
93
|
* @param DisableAWSServiceAccessCommandInput - {@link DisableAWSServiceAccessCommandInput}
|
|
@@ -424,6 +426,8 @@ export interface DisableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
424
426
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
425
427
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
426
428
|
*
|
|
429
|
+
* @throws {@link OrganizationsServiceException}
|
|
430
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
427
431
|
*
|
|
428
432
|
*/
|
|
429
433
|
export declare class DisableAWSServiceAccessCommand extends $Command<DisableAWSServiceAccessCommandInput, DisableAWSServiceAccessCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -42,6 +42,20 @@ export interface DisablePolicyTypeCommandOutput extends DisablePolicyTypeRespons
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DisablePolicyTypeCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // DisablePolicyTypeResponse
|
|
46
|
+
* // Root: { // Root
|
|
47
|
+
* // Id: "STRING_VALUE",
|
|
48
|
+
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // Name: "STRING_VALUE",
|
|
50
|
+
* // PolicyTypes: [ // PolicyTypes
|
|
51
|
+
* // { // PolicyTypeSummary
|
|
52
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY",
|
|
53
|
+
* // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
45
59
|
* ```
|
|
46
60
|
*
|
|
47
61
|
* @param DisablePolicyTypeCommandInput - {@link DisablePolicyTypeCommandInput}
|
|
@@ -394,6 +408,8 @@ export interface DisablePolicyTypeCommandOutput extends DisablePolicyTypeRespons
|
|
|
394
408
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
395
409
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
396
410
|
*
|
|
411
|
+
* @throws {@link OrganizationsServiceException}
|
|
412
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
397
413
|
*
|
|
398
414
|
* @example To disable a policy type in a root
|
|
399
415
|
* ```javascript
|
|
@@ -50,6 +50,8 @@ export interface EnableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new EnableAWSServiceAccessCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // {};
|
|
54
|
+
*
|
|
53
55
|
* ```
|
|
54
56
|
*
|
|
55
57
|
* @param EnableAWSServiceAccessCommandInput - {@link EnableAWSServiceAccessCommandInput}
|
|
@@ -388,6 +390,8 @@ export interface EnableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
388
390
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
389
391
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
390
392
|
*
|
|
393
|
+
* @throws {@link OrganizationsServiceException}
|
|
394
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
391
395
|
*
|
|
392
396
|
*/
|
|
393
397
|
export declare class EnableAWSServiceAccessCommand extends $Command<EnableAWSServiceAccessCommandInput, EnableAWSServiceAccessCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -54,6 +54,36 @@ export interface EnableAllFeaturesCommandOutput extends EnableAllFeaturesRespons
|
|
|
54
54
|
* const input = {};
|
|
55
55
|
* const command = new EnableAllFeaturesCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
57
|
+
* // { // EnableAllFeaturesResponse
|
|
58
|
+
* // Handshake: { // Handshake
|
|
59
|
+
* // Id: "STRING_VALUE",
|
|
60
|
+
* // Arn: "STRING_VALUE",
|
|
61
|
+
* // Parties: [ // HandshakeParties
|
|
62
|
+
* // { // HandshakeParty
|
|
63
|
+
* // Id: "STRING_VALUE", // required
|
|
64
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
|
|
68
|
+
* // RequestedTimestamp: new Date("TIMESTAMP"),
|
|
69
|
+
* // ExpirationTimestamp: new Date("TIMESTAMP"),
|
|
70
|
+
* // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
71
|
+
* // Resources: [ // HandshakeResources
|
|
72
|
+
* // { // HandshakeResource
|
|
73
|
+
* // Value: "STRING_VALUE",
|
|
74
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
75
|
+
* // Resources: [
|
|
76
|
+
* // {
|
|
77
|
+
* // Value: "STRING_VALUE",
|
|
78
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
79
|
+
* // Resources: "<HandshakeResources>",
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
57
87
|
* ```
|
|
58
88
|
*
|
|
59
89
|
* @param EnableAllFeaturesCommandInput - {@link EnableAllFeaturesCommandInput}
|
|
@@ -251,6 +281,8 @@ export interface EnableAllFeaturesCommandOutput extends EnableAllFeaturesRespons
|
|
|
251
281
|
* <i>Organizations User Guide.</i>
|
|
252
282
|
* </p>
|
|
253
283
|
*
|
|
284
|
+
* @throws {@link OrganizationsServiceException}
|
|
285
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
254
286
|
*
|
|
255
287
|
* @example To enable all features in an organization
|
|
256
288
|
* ```javascript
|
|
@@ -42,6 +42,20 @@ export interface EnablePolicyTypeCommandOutput extends EnablePolicyTypeResponse,
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new EnablePolicyTypeCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // EnablePolicyTypeResponse
|
|
46
|
+
* // Root: { // Root
|
|
47
|
+
* // Id: "STRING_VALUE",
|
|
48
|
+
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // Name: "STRING_VALUE",
|
|
50
|
+
* // PolicyTypes: [ // PolicyTypes
|
|
51
|
+
* // { // PolicyTypeSummary
|
|
52
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY",
|
|
53
|
+
* // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
45
59
|
* ```
|
|
46
60
|
*
|
|
47
61
|
* @param EnablePolicyTypeCommandInput - {@link EnablePolicyTypeCommandInput}
|
|
@@ -397,6 +411,8 @@ export interface EnablePolicyTypeCommandOutput extends EnablePolicyTypeResponse,
|
|
|
397
411
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
398
412
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
399
413
|
*
|
|
414
|
+
* @throws {@link OrganizationsServiceException}
|
|
415
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
400
416
|
*
|
|
401
417
|
* @example To enable a policy type in a root
|
|
402
418
|
* ```javascript
|
|
@@ -66,6 +66,36 @@ export interface InviteAccountToOrganizationCommandOutput extends InviteAccountT
|
|
|
66
66
|
* };
|
|
67
67
|
* const command = new InviteAccountToOrganizationCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
69
|
+
* // { // InviteAccountToOrganizationResponse
|
|
70
|
+
* // Handshake: { // Handshake
|
|
71
|
+
* // Id: "STRING_VALUE",
|
|
72
|
+
* // Arn: "STRING_VALUE",
|
|
73
|
+
* // Parties: [ // HandshakeParties
|
|
74
|
+
* // { // HandshakeParty
|
|
75
|
+
* // Id: "STRING_VALUE", // required
|
|
76
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
|
|
80
|
+
* // RequestedTimestamp: new Date("TIMESTAMP"),
|
|
81
|
+
* // ExpirationTimestamp: new Date("TIMESTAMP"),
|
|
82
|
+
* // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
83
|
+
* // Resources: [ // HandshakeResources
|
|
84
|
+
* // { // HandshakeResource
|
|
85
|
+
* // Value: "STRING_VALUE",
|
|
86
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
87
|
+
* // Resources: [
|
|
88
|
+
* // {
|
|
89
|
+
* // Value: "STRING_VALUE",
|
|
90
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
91
|
+
* // Resources: "<HandshakeResources>",
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // };
|
|
98
|
+
*
|
|
69
99
|
* ```
|
|
70
100
|
*
|
|
71
101
|
* @param InviteAccountToOrganizationCommandInput - {@link InviteAccountToOrganizationCommandInput}
|
|
@@ -479,6 +509,8 @@ export interface InviteAccountToOrganizationCommandOutput extends InviteAccountT
|
|
|
479
509
|
* <i>Organizations User Guide.</i>
|
|
480
510
|
* </p>
|
|
481
511
|
*
|
|
512
|
+
* @throws {@link OrganizationsServiceException}
|
|
513
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
482
514
|
*
|
|
483
515
|
* @example To invite an account to join an organization
|
|
484
516
|
* ```javascript
|
|
@@ -92,6 +92,8 @@ export interface LeaveOrganizationCommandOutput extends __MetadataBearer {
|
|
|
92
92
|
* const input = {};
|
|
93
93
|
* const command = new LeaveOrganizationCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
+
* // {};
|
|
96
|
+
*
|
|
95
97
|
* ```
|
|
96
98
|
*
|
|
97
99
|
* @param LeaveOrganizationCommandInput - {@link LeaveOrganizationCommandInput}
|
|
@@ -437,6 +439,8 @@ export interface LeaveOrganizationCommandOutput extends __MetadataBearer {
|
|
|
437
439
|
* <i>Organizations User Guide.</i>
|
|
438
440
|
* </p>
|
|
439
441
|
*
|
|
442
|
+
* @throws {@link OrganizationsServiceException}
|
|
443
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
440
444
|
*
|
|
441
445
|
* @example To leave an organization as a member account
|
|
442
446
|
* ```javascript
|
|
@@ -40,6 +40,16 @@ export interface ListAWSServiceAccessForOrganizationCommandOutput extends ListAW
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListAWSServiceAccessForOrganizationCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAWSServiceAccessForOrganizationResponse
|
|
44
|
+
* // EnabledServicePrincipals: [ // EnabledServicePrincipals
|
|
45
|
+
* // { // EnabledServicePrincipal
|
|
46
|
+
* // ServicePrincipal: "STRING_VALUE",
|
|
47
|
+
* // DateEnabled: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
43
53
|
* ```
|
|
44
54
|
*
|
|
45
55
|
* @param ListAWSServiceAccessForOrganizationCommandInput - {@link ListAWSServiceAccessForOrganizationCommandInput}
|
|
@@ -374,6 +384,8 @@ export interface ListAWSServiceAccessForOrganizationCommandOutput extends ListAW
|
|
|
374
384
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
375
385
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
376
386
|
*
|
|
387
|
+
* @throws {@link OrganizationsServiceException}
|
|
388
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
377
389
|
*
|
|
378
390
|
*/
|
|
379
391
|
export declare class ListAWSServiceAccessForOrganizationCommand extends $Command<ListAWSServiceAccessForOrganizationCommandInput, ListAWSServiceAccessForOrganizationCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -43,6 +43,21 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListAccountsCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ListAccountsResponse
|
|
47
|
+
* // Accounts: [ // Accounts
|
|
48
|
+
* // { // Account
|
|
49
|
+
* // Id: "STRING_VALUE",
|
|
50
|
+
* // Arn: "STRING_VALUE",
|
|
51
|
+
* // Email: "STRING_VALUE",
|
|
52
|
+
* // Name: "STRING_VALUE",
|
|
53
|
+
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
54
|
+
* // JoinedMethod: "INVITED" || "CREATED",
|
|
55
|
+
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
46
61
|
* ```
|
|
47
62
|
*
|
|
48
63
|
* @param ListAccountsCommandInput - {@link ListAccountsCommandInput}
|
|
@@ -177,6 +192,8 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
177
192
|
* <i>Organizations User Guide.</i>
|
|
178
193
|
* </p>
|
|
179
194
|
*
|
|
195
|
+
* @throws {@link OrganizationsServiceException}
|
|
196
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
180
197
|
*
|
|
181
198
|
* @example To retrieve a list of all of the accounts in an organization
|
|
182
199
|
* ```javascript
|
|
@@ -47,6 +47,21 @@ export interface ListAccountsForParentCommandOutput extends ListAccountsForParen
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new ListAccountsForParentCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // ListAccountsForParentResponse
|
|
51
|
+
* // Accounts: [ // Accounts
|
|
52
|
+
* // { // Account
|
|
53
|
+
* // Id: "STRING_VALUE",
|
|
54
|
+
* // Arn: "STRING_VALUE",
|
|
55
|
+
* // Email: "STRING_VALUE",
|
|
56
|
+
* // Name: "STRING_VALUE",
|
|
57
|
+
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
58
|
+
* // JoinedMethod: "INVITED" || "CREATED",
|
|
59
|
+
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
50
65
|
* ```
|
|
51
66
|
*
|
|
52
67
|
* @param ListAccountsForParentCommandInput - {@link ListAccountsForParentCommandInput}
|
|
@@ -184,6 +199,8 @@ export interface ListAccountsForParentCommandOutput extends ListAccountsForParen
|
|
|
184
199
|
* <i>Organizations User Guide.</i>
|
|
185
200
|
* </p>
|
|
186
201
|
*
|
|
202
|
+
* @throws {@link OrganizationsServiceException}
|
|
203
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
187
204
|
*
|
|
188
205
|
* @example To retrieve a list of all of the accounts in a root or OU
|
|
189
206
|
* ```javascript
|
|
@@ -46,6 +46,16 @@ export interface ListChildrenCommandOutput extends ListChildrenResponse, __Metad
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new ListChildrenCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // ListChildrenResponse
|
|
50
|
+
* // Children: [ // Children
|
|
51
|
+
* // { // Child
|
|
52
|
+
* // Id: "STRING_VALUE",
|
|
53
|
+
* // Type: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
49
59
|
* ```
|
|
50
60
|
*
|
|
51
61
|
* @param ListChildrenCommandInput - {@link ListChildrenCommandInput}
|
|
@@ -183,6 +193,8 @@ export interface ListChildrenCommandOutput extends ListChildrenResponse, __Metad
|
|
|
183
193
|
* <i>Organizations User Guide.</i>
|
|
184
194
|
* </p>
|
|
185
195
|
*
|
|
196
|
+
* @throws {@link OrganizationsServiceException}
|
|
197
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
186
198
|
*
|
|
187
199
|
* @example To retrieve a list of all of the child accounts and OUs in a parent root or OU
|
|
188
200
|
* ```javascript
|
|
@@ -46,6 +46,22 @@ export interface ListCreateAccountStatusCommandOutput extends ListCreateAccountS
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new ListCreateAccountStatusCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // ListCreateAccountStatusResponse
|
|
50
|
+
* // CreateAccountStatuses: [ // CreateAccountStatuses
|
|
51
|
+
* // { // CreateAccountStatus
|
|
52
|
+
* // Id: "STRING_VALUE",
|
|
53
|
+
* // AccountName: "STRING_VALUE",
|
|
54
|
+
* // State: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
55
|
+
* // RequestedTimestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // CompletedTimestamp: new Date("TIMESTAMP"),
|
|
57
|
+
* // AccountId: "STRING_VALUE",
|
|
58
|
+
* // GovCloudAccountId: "STRING_VALUE",
|
|
59
|
+
* // FailureReason: "ACCOUNT_LIMIT_EXCEEDED" || "EMAIL_ALREADY_EXISTS" || "INVALID_ADDRESS" || "INVALID_EMAIL" || "CONCURRENT_ACCOUNT_MODIFICATION" || "INTERNAL_FAILURE" || "GOVCLOUD_ACCOUNT_ALREADY_EXISTS" || "MISSING_BUSINESS_VALIDATION" || "FAILED_BUSINESS_VALIDATION" || "PENDING_BUSINESS_VALIDATION" || "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION" || "UNKNOWN_BUSINESS_VALIDATION" || "MISSING_PAYMENT_INSTRUMENT" || "INVALID_PAYMENT_INSTRUMENT" || "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
49
65
|
* ```
|
|
50
66
|
*
|
|
51
67
|
* @param ListCreateAccountStatusCommandInput - {@link ListCreateAccountStatusCommandInput}
|
|
@@ -183,6 +199,8 @@ export interface ListCreateAccountStatusCommandOutput extends ListCreateAccountS
|
|
|
183
199
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
184
200
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
185
201
|
*
|
|
202
|
+
* @throws {@link OrganizationsServiceException}
|
|
203
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
186
204
|
*
|
|
187
205
|
* @example To get a list of completed account creation requests made in the organization
|
|
188
206
|
* ```javascript
|
|
@@ -36,6 +36,22 @@ export interface ListDelegatedAdministratorsCommandOutput extends ListDelegatedA
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListDelegatedAdministratorsCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListDelegatedAdministratorsResponse
|
|
40
|
+
* // DelegatedAdministrators: [ // DelegatedAdministrators
|
|
41
|
+
* // { // DelegatedAdministrator
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // Arn: "STRING_VALUE",
|
|
44
|
+
* // Email: "STRING_VALUE",
|
|
45
|
+
* // Name: "STRING_VALUE",
|
|
46
|
+
* // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
|
|
47
|
+
* // JoinedMethod: "INVITED" || "CREATED",
|
|
48
|
+
* // JoinedTimestamp: new Date("TIMESTAMP"),
|
|
49
|
+
* // DelegationEnabledDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // NextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
39
55
|
* ```
|
|
40
56
|
*
|
|
41
57
|
* @param ListDelegatedAdministratorsCommandInput - {@link ListDelegatedAdministratorsCommandInput}
|
|
@@ -370,6 +386,8 @@ export interface ListDelegatedAdministratorsCommandOutput extends ListDelegatedA
|
|
|
370
386
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
371
387
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
372
388
|
*
|
|
389
|
+
* @throws {@link OrganizationsServiceException}
|
|
390
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
373
391
|
*
|
|
374
392
|
*/
|
|
375
393
|
export declare class ListDelegatedAdministratorsCommand extends $Command<ListDelegatedAdministratorsCommandInput, ListDelegatedAdministratorsCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -36,6 +36,16 @@ export interface ListDelegatedServicesForAccountCommandOutput extends ListDelega
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListDelegatedServicesForAccountCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListDelegatedServicesForAccountResponse
|
|
40
|
+
* // DelegatedServices: [ // DelegatedServices
|
|
41
|
+
* // { // DelegatedService
|
|
42
|
+
* // ServicePrincipal: "STRING_VALUE",
|
|
43
|
+
* // DelegationEnabledDate: new Date("TIMESTAMP"),
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
39
49
|
* ```
|
|
40
50
|
*
|
|
41
51
|
* @param ListDelegatedServicesForAccountCommandInput - {@link ListDelegatedServicesForAccountCommandInput}
|
|
@@ -378,6 +388,8 @@ export interface ListDelegatedServicesForAccountCommandOutput extends ListDelega
|
|
|
378
388
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
379
389
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
380
390
|
*
|
|
391
|
+
* @throws {@link OrganizationsServiceException}
|
|
392
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
381
393
|
*
|
|
382
394
|
*/
|
|
383
395
|
export declare class ListDelegatedServicesForAccountCommand extends $Command<ListDelegatedServicesForAccountCommandInput, ListDelegatedServicesForAccountCommandOutput, OrganizationsClientResolvedConfig> {
|
|
@@ -50,6 +50,39 @@ export interface ListHandshakesForAccountCommandOutput extends ListHandshakesFor
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new ListHandshakesForAccountCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // { // ListHandshakesForAccountResponse
|
|
54
|
+
* // Handshakes: [ // Handshakes
|
|
55
|
+
* // { // Handshake
|
|
56
|
+
* // Id: "STRING_VALUE",
|
|
57
|
+
* // Arn: "STRING_VALUE",
|
|
58
|
+
* // Parties: [ // HandshakeParties
|
|
59
|
+
* // { // HandshakeParty
|
|
60
|
+
* // Id: "STRING_VALUE", // required
|
|
61
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
|
|
65
|
+
* // RequestedTimestamp: new Date("TIMESTAMP"),
|
|
66
|
+
* // ExpirationTimestamp: new Date("TIMESTAMP"),
|
|
67
|
+
* // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
68
|
+
* // Resources: [ // HandshakeResources
|
|
69
|
+
* // { // HandshakeResource
|
|
70
|
+
* // Value: "STRING_VALUE",
|
|
71
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
72
|
+
* // Resources: [
|
|
73
|
+
* // {
|
|
74
|
+
* // Value: "STRING_VALUE",
|
|
75
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
76
|
+
* // Resources: "<HandshakeResources>",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // NextToken: "STRING_VALUE",
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
53
86
|
* ```
|
|
54
87
|
*
|
|
55
88
|
* @param ListHandshakesForAccountCommandInput - {@link ListHandshakesForAccountCommandInput}
|
|
@@ -184,6 +217,8 @@ export interface ListHandshakesForAccountCommandOutput extends ListHandshakesFor
|
|
|
184
217
|
* <i>Organizations User Guide.</i>
|
|
185
218
|
* </p>
|
|
186
219
|
*
|
|
220
|
+
* @throws {@link OrganizationsServiceException}
|
|
221
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
187
222
|
*
|
|
188
223
|
* @example To retrieve a list of the handshakes sent to an account
|
|
189
224
|
* ```javascript
|
|
@@ -53,6 +53,39 @@ export interface ListHandshakesForOrganizationCommandOutput extends ListHandshak
|
|
|
53
53
|
* };
|
|
54
54
|
* const command = new ListHandshakesForOrganizationCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
|
+
* // { // ListHandshakesForOrganizationResponse
|
|
57
|
+
* // Handshakes: [ // Handshakes
|
|
58
|
+
* // { // Handshake
|
|
59
|
+
* // Id: "STRING_VALUE",
|
|
60
|
+
* // Arn: "STRING_VALUE",
|
|
61
|
+
* // Parties: [ // HandshakeParties
|
|
62
|
+
* // { // HandshakeParty
|
|
63
|
+
* // Id: "STRING_VALUE", // required
|
|
64
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
|
|
68
|
+
* // RequestedTimestamp: new Date("TIMESTAMP"),
|
|
69
|
+
* // ExpirationTimestamp: new Date("TIMESTAMP"),
|
|
70
|
+
* // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
71
|
+
* // Resources: [ // HandshakeResources
|
|
72
|
+
* // { // HandshakeResource
|
|
73
|
+
* // Value: "STRING_VALUE",
|
|
74
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
75
|
+
* // Resources: [
|
|
76
|
+
* // {
|
|
77
|
+
* // Value: "STRING_VALUE",
|
|
78
|
+
* // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
|
|
79
|
+
* // Resources: "<HandshakeResources>",
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // NextToken: "STRING_VALUE",
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
56
89
|
* ```
|
|
57
90
|
*
|
|
58
91
|
* @param ListHandshakesForOrganizationCommandInput - {@link ListHandshakesForOrganizationCommandInput}
|
|
@@ -191,6 +224,8 @@ export interface ListHandshakesForOrganizationCommandOutput extends ListHandshak
|
|
|
191
224
|
* <i>Organizations User Guide.</i>
|
|
192
225
|
* </p>
|
|
193
226
|
*
|
|
227
|
+
* @throws {@link OrganizationsServiceException}
|
|
228
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
194
229
|
*
|
|
195
230
|
* @example To retrieve a list of the handshakes associated with an organization
|
|
196
231
|
* ```javascript
|
|
@@ -43,6 +43,17 @@ export interface ListOrganizationalUnitsForParentCommandOutput extends ListOrgan
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListOrganizationalUnitsForParentCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ListOrganizationalUnitsForParentResponse
|
|
47
|
+
* // OrganizationalUnits: [ // OrganizationalUnits
|
|
48
|
+
* // { // OrganizationalUnit
|
|
49
|
+
* // Id: "STRING_VALUE",
|
|
50
|
+
* // Arn: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
46
57
|
* ```
|
|
47
58
|
*
|
|
48
59
|
* @param ListOrganizationalUnitsForParentCommandInput - {@link ListOrganizationalUnitsForParentCommandInput}
|
|
@@ -180,6 +191,8 @@ export interface ListOrganizationalUnitsForParentCommandOutput extends ListOrgan
|
|
|
180
191
|
* <i>Organizations User Guide.</i>
|
|
181
192
|
* </p>
|
|
182
193
|
*
|
|
194
|
+
* @throws {@link OrganizationsServiceException}
|
|
195
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
183
196
|
*
|
|
184
197
|
* @example To retrieve a list of all of the child OUs in a parent root or OU
|
|
185
198
|
* ```javascript
|
|
@@ -48,6 +48,16 @@ export interface ListParentsCommandOutput extends ListParentsResponse, __Metadat
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new ListParentsCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // ListParentsResponse
|
|
52
|
+
* // Parents: [ // Parents
|
|
53
|
+
* // { // Parent
|
|
54
|
+
* // Id: "STRING_VALUE",
|
|
55
|
+
* // Type: "ROOT" || "ORGANIZATIONAL_UNIT",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
51
61
|
* ```
|
|
52
62
|
*
|
|
53
63
|
* @param ListParentsCommandInput - {@link ListParentsCommandInput}
|
|
@@ -186,6 +196,8 @@ export interface ListParentsCommandOutput extends ListParentsResponse, __Metadat
|
|
|
186
196
|
* <i>Organizations User Guide.</i>
|
|
187
197
|
* </p>
|
|
188
198
|
*
|
|
199
|
+
* @throws {@link OrganizationsServiceException}
|
|
200
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
189
201
|
*
|
|
190
202
|
* @example To retrieve a list of all of the parents of a child OU or account
|
|
191
203
|
* ```javascript
|
|
@@ -43,6 +43,20 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListPoliciesCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ListPoliciesResponse
|
|
47
|
+
* // Policies: [ // Policies
|
|
48
|
+
* // { // PolicySummary
|
|
49
|
+
* // Id: "STRING_VALUE",
|
|
50
|
+
* // Arn: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY",
|
|
54
|
+
* // AwsManaged: true || false,
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // NextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
46
60
|
* ```
|
|
47
61
|
*
|
|
48
62
|
* @param ListPoliciesCommandInput - {@link ListPoliciesCommandInput}
|
|
@@ -180,6 +194,8 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
180
194
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
181
195
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
182
196
|
*
|
|
197
|
+
* @throws {@link OrganizationsServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from Organizations service.</p>
|
|
183
199
|
*
|
|
184
200
|
* @example To retrieve a list policies in the organization
|
|
185
201
|
* ```javascript
|