@aws-sdk/client-organizations 3.299.0 → 3.300.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 +3 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +3 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +3 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +12 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +12 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +3 -0
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +10 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +12 -0
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +3 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +3 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +4 -0
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +3 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +1 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +4 -0
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +13 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +4 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +5 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +6 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +7 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +5 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +5 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +8 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +8 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +5 -0
- package/dist-types/commands/ListParentsCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +6 -0
- package/dist-types/commands/ListRootsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +5 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +5 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +9 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +4 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -56,6 +56,9 @@ export interface AcceptHandshakeCommandOutput extends AcceptHandshakeResponse, _
|
|
|
56
56
|
* import { OrganizationsClient, AcceptHandshakeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
57
57
|
* // const { OrganizationsClient, AcceptHandshakeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
58
58
|
* const client = new OrganizationsClient(config);
|
|
59
|
+
* const input = {
|
|
60
|
+
* HandshakeId: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
59
62
|
* const command = new AcceptHandshakeCommand(input);
|
|
60
63
|
* const response = await client.send(command);
|
|
61
64
|
* ```
|
|
@@ -51,6 +51,10 @@ export interface AttachPolicyCommandOutput extends __MetadataBearer {
|
|
|
51
51
|
* import { OrganizationsClient, AttachPolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
52
52
|
* // const { OrganizationsClient, AttachPolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
53
53
|
* const client = new OrganizationsClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* PolicyId: "STRING_VALUE", // required
|
|
56
|
+
* TargetId: "STRING_VALUE", // required
|
|
57
|
+
* };
|
|
54
58
|
* const command = new AttachPolicyCommand(input);
|
|
55
59
|
* const response = await client.send(command);
|
|
56
60
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface CancelHandshakeCommandOutput extends CancelHandshakeResponse, _
|
|
|
31
31
|
* import { OrganizationsClient, CancelHandshakeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
32
32
|
* // const { OrganizationsClient, CancelHandshakeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
33
33
|
* const client = new OrganizationsClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* HandshakeId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new CancelHandshakeCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -76,6 +76,9 @@ export interface CloseAccountCommandOutput extends __MetadataBearer {
|
|
|
76
76
|
* import { OrganizationsClient, CloseAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
77
77
|
* // const { OrganizationsClient, CloseAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
78
78
|
* const client = new OrganizationsClient(config);
|
|
79
|
+
* const input = {
|
|
80
|
+
* AccountId: "STRING_VALUE", // required
|
|
81
|
+
* };
|
|
79
82
|
* const command = new CloseAccountCommand(input);
|
|
80
83
|
* const response = await client.send(command);
|
|
81
84
|
* ```
|
|
@@ -100,6 +100,18 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
|
|
|
100
100
|
* import { OrganizationsClient, CreateAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
101
101
|
* // const { OrganizationsClient, CreateAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
102
102
|
* const client = new OrganizationsClient(config);
|
|
103
|
+
* const input = {
|
|
104
|
+
* Email: "STRING_VALUE", // required
|
|
105
|
+
* AccountName: "STRING_VALUE", // required
|
|
106
|
+
* RoleName: "STRING_VALUE",
|
|
107
|
+
* IamUserAccessToBilling: "ALLOW" || "DENY",
|
|
108
|
+
* Tags: [
|
|
109
|
+
* {
|
|
110
|
+
* Key: "STRING_VALUE", // required
|
|
111
|
+
* Value: "STRING_VALUE", // required
|
|
112
|
+
* },
|
|
113
|
+
* ],
|
|
114
|
+
* };
|
|
103
115
|
* const command = new CreateAccountCommand(input);
|
|
104
116
|
* const response = await client.send(command);
|
|
105
117
|
* ```
|
|
@@ -156,6 +156,18 @@ export interface CreateGovCloudAccountCommandOutput extends CreateGovCloudAccoun
|
|
|
156
156
|
* import { OrganizationsClient, CreateGovCloudAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
157
157
|
* // const { OrganizationsClient, CreateGovCloudAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
158
158
|
* const client = new OrganizationsClient(config);
|
|
159
|
+
* const input = {
|
|
160
|
+
* Email: "STRING_VALUE", // required
|
|
161
|
+
* AccountName: "STRING_VALUE", // required
|
|
162
|
+
* RoleName: "STRING_VALUE",
|
|
163
|
+
* IamUserAccessToBilling: "ALLOW" || "DENY",
|
|
164
|
+
* Tags: [
|
|
165
|
+
* {
|
|
166
|
+
* Key: "STRING_VALUE", // required
|
|
167
|
+
* Value: "STRING_VALUE", // required
|
|
168
|
+
* },
|
|
169
|
+
* ],
|
|
170
|
+
* };
|
|
159
171
|
* const command = new CreateGovCloudAccountCommand(input);
|
|
160
172
|
* const response = await client.send(command);
|
|
161
173
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
|
|
|
36
36
|
* import { OrganizationsClient, CreateOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, CreateOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* FeatureSet: "ALL" || "CONSOLIDATED_BILLING",
|
|
41
|
+
* };
|
|
39
42
|
* const command = new CreateOrganizationCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -36,6 +36,16 @@ export interface CreateOrganizationalUnitCommandOutput extends CreateOrganizatio
|
|
|
36
36
|
* import { OrganizationsClient, CreateOrganizationalUnitCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, CreateOrganizationalUnitCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* ParentId: "STRING_VALUE", // required
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* Tags: [
|
|
43
|
+
* {
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
39
49
|
* const command = new CreateOrganizationalUnitCommand(input);
|
|
40
50
|
* const response = await client.send(command);
|
|
41
51
|
* ```
|
|
@@ -32,6 +32,18 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
|
|
|
32
32
|
* import { OrganizationsClient, CreatePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
33
33
|
* // const { OrganizationsClient, CreatePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
34
34
|
* const client = new OrganizationsClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* Content: "STRING_VALUE", // required
|
|
37
|
+
* Description: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
40
|
+
* Tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
35
47
|
* const command = new CreatePolicyCommand(input);
|
|
36
48
|
* const response = await client.send(command);
|
|
37
49
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DeclineHandshakeCommandOutput extends DeclineHandshakeResponse,
|
|
|
32
32
|
* import { OrganizationsClient, DeclineHandshakeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
33
33
|
* // const { OrganizationsClient, DeclineHandshakeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
34
34
|
* const client = new OrganizationsClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* HandshakeId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DeclineHandshakeCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DeleteOrganizationCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { OrganizationsClient, DeleteOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
27
27
|
* // const { OrganizationsClient, DeleteOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
28
28
|
* const client = new OrganizationsClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DeleteOrganizationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteOrganizationalUnitCommandOutput extends __MetadataBearer
|
|
|
28
28
|
* import { OrganizationsClient, DeleteOrganizationalUnitCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DeleteOrganizationalUnitCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteOrganizationalUnitCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { OrganizationsClient, DeletePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
30
30
|
* // const { OrganizationsClient, DeletePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
31
31
|
* const client = new OrganizationsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* PolicyId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeletePolicyCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { OrganizationsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
27
27
|
* // const { OrganizationsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
28
28
|
* const client = new OrganizationsClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -39,6 +39,10 @@ export interface DeregisterDelegatedAdministratorCommandOutput extends __Metadat
|
|
|
39
39
|
* import { OrganizationsClient, DeregisterDelegatedAdministratorCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
40
40
|
* // const { OrganizationsClient, DeregisterDelegatedAdministratorCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
41
41
|
* const client = new OrganizationsClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* AccountId: "STRING_VALUE", // required
|
|
44
|
+
* ServicePrincipal: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
42
46
|
* const command = new DeregisterDelegatedAdministratorCommand(input);
|
|
43
47
|
* const response = await client.send(command);
|
|
44
48
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeAccountCommandOutput extends DescribeAccountResponse, _
|
|
|
28
28
|
* import { OrganizationsClient, DescribeAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DescribeAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeAccountCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeCreateAccountStatusCommandOutput extends DescribeCreate
|
|
|
28
28
|
* import { OrganizationsClient, DescribeCreateAccountStatusCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DescribeCreateAccountStatusCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CreateAccountRequestId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeCreateAccountStatusCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -35,6 +35,10 @@ export interface DescribeEffectivePolicyCommandOutput extends DescribeEffectiveP
|
|
|
35
35
|
* import { OrganizationsClient, DescribeEffectivePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
36
36
|
* // const { OrganizationsClient, DescribeEffectivePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
37
37
|
* const client = new OrganizationsClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* PolicyType: "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
40
|
+
* TargetId: "STRING_VALUE",
|
|
41
|
+
* };
|
|
38
42
|
* const command = new DescribeEffectivePolicyCommand(input);
|
|
39
43
|
* const response = await client.send(command);
|
|
40
44
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DescribeHandshakeCommandOutput extends DescribeHandshakeRespons
|
|
|
32
32
|
* import { OrganizationsClient, DescribeHandshakeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
33
33
|
* // const { OrganizationsClient, DescribeHandshakeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
34
34
|
* const client = new OrganizationsClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* HandshakeId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DescribeHandshakeCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -33,6 +33,7 @@ export interface DescribeOrganizationCommandOutput extends DescribeOrganizationR
|
|
|
33
33
|
* import { OrganizationsClient, DescribeOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
34
34
|
* // const { OrganizationsClient, DescribeOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
35
35
|
* const client = new OrganizationsClient(config);
|
|
36
|
+
* const input = {};
|
|
36
37
|
* const command = new DescribeOrganizationCommand(input);
|
|
37
38
|
* const response = await client.send(command);
|
|
38
39
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeOrganizationalUnitCommandOutput extends DescribeOrganiz
|
|
|
28
28
|
* import { OrganizationsClient, DescribeOrganizationalUnitCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DescribeOrganizationalUnitCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeOrganizationalUnitCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribePolicyCommandOutput extends DescribePolicyResponse, __M
|
|
|
28
28
|
* import { OrganizationsClient, DescribePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DescribePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PolicyId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribePolicyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
28
28
|
* import { OrganizationsClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface DetachPolicyCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { OrganizationsClient, DetachPolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
41
41
|
* // const { OrganizationsClient, DetachPolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
42
42
|
* const client = new OrganizationsClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* PolicyId: "STRING_VALUE", // required
|
|
45
|
+
* TargetId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
43
47
|
* const command = new DetachPolicyCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -81,6 +81,9 @@ export interface DisableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
81
81
|
* import { OrganizationsClient, DisableAWSServiceAccessCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
82
82
|
* // const { OrganizationsClient, DisableAWSServiceAccessCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
83
83
|
* const client = new OrganizationsClient(config);
|
|
84
|
+
* const input = {
|
|
85
|
+
* ServicePrincipal: "STRING_VALUE", // required
|
|
86
|
+
* };
|
|
84
87
|
* const command = new DisableAWSServiceAccessCommand(input);
|
|
85
88
|
* const response = await client.send(command);
|
|
86
89
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface DisablePolicyTypeCommandOutput extends DisablePolicyTypeRespons
|
|
|
36
36
|
* import { OrganizationsClient, DisablePolicyTypeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, DisablePolicyTypeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* RootId: "STRING_VALUE", // required
|
|
41
|
+
* PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
42
|
+
* };
|
|
39
43
|
* const command = new DisablePolicyTypeCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -45,6 +45,9 @@ export interface EnableAWSServiceAccessCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* import { OrganizationsClient, EnableAWSServiceAccessCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
46
46
|
* // const { OrganizationsClient, EnableAWSServiceAccessCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
47
47
|
* const client = new OrganizationsClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* ServicePrincipal: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
48
51
|
* const command = new EnableAWSServiceAccessCommand(input);
|
|
49
52
|
* const response = await client.send(command);
|
|
50
53
|
* ```
|
|
@@ -51,6 +51,7 @@ export interface EnableAllFeaturesCommandOutput extends EnableAllFeaturesRespons
|
|
|
51
51
|
* import { OrganizationsClient, EnableAllFeaturesCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
52
52
|
* // const { OrganizationsClient, EnableAllFeaturesCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
53
53
|
* const client = new OrganizationsClient(config);
|
|
54
|
+
* const input = {};
|
|
54
55
|
* const command = new EnableAllFeaturesCommand(input);
|
|
55
56
|
* const response = await client.send(command);
|
|
56
57
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface EnablePolicyTypeCommandOutput extends EnablePolicyTypeResponse,
|
|
|
36
36
|
* import { OrganizationsClient, EnablePolicyTypeCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, EnablePolicyTypeCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* RootId: "STRING_VALUE", // required
|
|
41
|
+
* PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
42
|
+
* };
|
|
39
43
|
* const command = new EnablePolicyTypeCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -51,6 +51,19 @@ export interface InviteAccountToOrganizationCommandOutput extends InviteAccountT
|
|
|
51
51
|
* import { OrganizationsClient, InviteAccountToOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
52
52
|
* // const { OrganizationsClient, InviteAccountToOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
53
53
|
* const client = new OrganizationsClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* Target: {
|
|
56
|
+
* Id: "STRING_VALUE", // required
|
|
57
|
+
* Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
58
|
+
* },
|
|
59
|
+
* Notes: "STRING_VALUE",
|
|
60
|
+
* Tags: [
|
|
61
|
+
* {
|
|
62
|
+
* Key: "STRING_VALUE", // required
|
|
63
|
+
* Value: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* };
|
|
54
67
|
* const command = new InviteAccountToOrganizationCommand(input);
|
|
55
68
|
* const response = await client.send(command);
|
|
56
69
|
* ```
|
|
@@ -89,6 +89,7 @@ export interface LeaveOrganizationCommandOutput extends __MetadataBearer {
|
|
|
89
89
|
* import { OrganizationsClient, LeaveOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
90
90
|
* // const { OrganizationsClient, LeaveOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
91
91
|
* const client = new OrganizationsClient(config);
|
|
92
|
+
* const input = {};
|
|
92
93
|
* const command = new LeaveOrganizationCommand(input);
|
|
93
94
|
* const response = await client.send(command);
|
|
94
95
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface ListAWSServiceAccessForOrganizationCommandOutput extends ListAW
|
|
|
34
34
|
* import { OrganizationsClient, ListAWSServiceAccessForOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
35
35
|
* // const { OrganizationsClient, ListAWSServiceAccessForOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
36
36
|
* const client = new OrganizationsClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
37
41
|
* const command = new ListAWSServiceAccessForOrganizationCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -37,6 +37,10 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
37
37
|
* import { OrganizationsClient, ListAccountsCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
38
38
|
* // const { OrganizationsClient, ListAccountsCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
39
39
|
* const client = new OrganizationsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
40
44
|
* const command = new ListAccountsCommand(input);
|
|
41
45
|
* const response = await client.send(command);
|
|
42
46
|
* ```
|
|
@@ -40,6 +40,11 @@ export interface ListAccountsForParentCommandOutput extends ListAccountsForParen
|
|
|
40
40
|
* import { OrganizationsClient, ListAccountsForParentCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
41
41
|
* // const { OrganizationsClient, ListAccountsForParentCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
42
42
|
* const client = new OrganizationsClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* ParentId: "STRING_VALUE", // required
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* };
|
|
43
48
|
* const command = new ListAccountsForParentCommand(input);
|
|
44
49
|
* const response = await client.send(command);
|
|
45
50
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface ListChildrenCommandOutput extends ListChildrenResponse, __Metad
|
|
|
38
38
|
* import { OrganizationsClient, ListChildrenCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
39
39
|
* // const { OrganizationsClient, ListChildrenCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
40
40
|
* const client = new OrganizationsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* ParentId: "STRING_VALUE", // required
|
|
43
|
+
* ChildType: "ACCOUNT" || "ORGANIZATIONAL_UNIT", // required
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* };
|
|
41
47
|
* const command = new ListChildrenCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
|
@@ -37,6 +37,13 @@ export interface ListCreateAccountStatusCommandOutput extends ListCreateAccountS
|
|
|
37
37
|
* import { OrganizationsClient, ListCreateAccountStatusCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
38
38
|
* // const { OrganizationsClient, ListCreateAccountStatusCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
39
39
|
* const client = new OrganizationsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* States: [
|
|
42
|
+
* "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
43
|
+
* ],
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* };
|
|
40
47
|
* const command = new ListCreateAccountStatusCommand(input);
|
|
41
48
|
* const response = await client.send(command);
|
|
42
49
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListDelegatedAdministratorsCommandOutput extends ListDelegatedA
|
|
|
29
29
|
* import { OrganizationsClient, ListDelegatedAdministratorsCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
30
30
|
* // const { OrganizationsClient, ListDelegatedAdministratorsCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
31
31
|
* const client = new OrganizationsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ServicePrincipal: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListDelegatedAdministratorsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListDelegatedServicesForAccountCommandOutput extends ListDelega
|
|
|
29
29
|
* import { OrganizationsClient, ListDelegatedServicesForAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
30
30
|
* // const { OrganizationsClient, ListDelegatedServicesForAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
31
31
|
* const client = new OrganizationsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListDelegatedServicesForAccountCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -40,6 +40,14 @@ export interface ListHandshakesForAccountCommandOutput extends ListHandshakesFor
|
|
|
40
40
|
* import { OrganizationsClient, ListHandshakesForAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
41
41
|
* // const { OrganizationsClient, ListHandshakesForAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
42
42
|
* const client = new OrganizationsClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* Filter: {
|
|
45
|
+
* ActionType: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
46
|
+
* ParentHandshakeId: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* };
|
|
43
51
|
* const command = new ListHandshakesForAccountCommand(input);
|
|
44
52
|
* const response = await client.send(command);
|
|
45
53
|
* ```
|
|
@@ -43,6 +43,14 @@ export interface ListHandshakesForOrganizationCommandOutput extends ListHandshak
|
|
|
43
43
|
* import { OrganizationsClient, ListHandshakesForOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
44
44
|
* // const { OrganizationsClient, ListHandshakesForOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
45
45
|
* const client = new OrganizationsClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* Filter: {
|
|
48
|
+
* ActionType: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
49
|
+
* ParentHandshakeId: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* MaxResults: Number("int"),
|
|
53
|
+
* };
|
|
46
54
|
* const command = new ListHandshakesForOrganizationCommand(input);
|
|
47
55
|
* const response = await client.send(command);
|
|
48
56
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface ListOrganizationalUnitsForParentCommandOutput extends ListOrgan
|
|
|
36
36
|
* import { OrganizationsClient, ListOrganizationalUnitsForParentCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, ListOrganizationalUnitsForParentCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* ParentId: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
39
44
|
* const command = new ListOrganizationalUnitsForParentCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -41,6 +41,11 @@ export interface ListParentsCommandOutput extends ListParentsResponse, __Metadat
|
|
|
41
41
|
* import { OrganizationsClient, ListParentsCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
42
42
|
* // const { OrganizationsClient, ListParentsCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
43
43
|
* const client = new OrganizationsClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* ChildId: "STRING_VALUE", // required
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
44
49
|
* const command = new ListParentsCommand(input);
|
|
45
50
|
* const response = await client.send(command);
|
|
46
51
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
36
36
|
* import { OrganizationsClient, ListPoliciesCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
37
37
|
* // const { OrganizationsClient, ListPoliciesCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
38
38
|
* const client = new OrganizationsClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
39
44
|
* const command = new ListPoliciesCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface ListPoliciesForTargetCommandOutput extends ListPoliciesForTarge
|
|
|
38
38
|
* import { OrganizationsClient, ListPoliciesForTargetCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
39
39
|
* // const { OrganizationsClient, ListPoliciesForTargetCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
40
40
|
* const client = new OrganizationsClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* TargetId: "STRING_VALUE", // required
|
|
43
|
+
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* };
|
|
41
47
|
* const command = new ListPoliciesForTargetCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface ListRootsCommandOutput extends ListRootsResponse, __MetadataBea
|
|
|
43
43
|
* import { OrganizationsClient, ListRootsCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
44
44
|
* // const { OrganizationsClient, ListRootsCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
45
45
|
* const client = new OrganizationsClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* };
|
|
46
50
|
* const command = new ListRootsCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
43
43
|
* import { OrganizationsClient, ListTagsForResourceCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
44
44
|
* // const { OrganizationsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
45
45
|
* const client = new OrganizationsClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* ResourceId: "STRING_VALUE", // required
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
46
50
|
* const command = new ListTagsForResourceCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -37,6 +37,11 @@ export interface ListTargetsForPolicyCommandOutput extends ListTargetsForPolicyR
|
|
|
37
37
|
* import { OrganizationsClient, ListTargetsForPolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
38
38
|
* // const { OrganizationsClient, ListTargetsForPolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
39
39
|
* const client = new OrganizationsClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* PolicyId: "STRING_VALUE", // required
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
40
45
|
* const command = new ListTargetsForPolicyCommand(input);
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface MoveAccountCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { OrganizationsClient, MoveAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
29
29
|
* // const { OrganizationsClient, MoveAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
30
30
|
* const client = new OrganizationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* SourceParentId: "STRING_VALUE", // required
|
|
34
|
+
* DestinationParentId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new MoveAccountCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
27
27
|
* import { OrganizationsClient, PutResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
28
28
|
* // const { OrganizationsClient, PutResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
29
29
|
* const client = new OrganizationsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Content: "STRING_VALUE", // required
|
|
32
|
+
* Tags: [
|
|
33
|
+
* {
|
|
34
|
+
* Key: "STRING_VALUE", // required
|
|
35
|
+
* Value: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new PutResourcePolicyCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface RegisterDelegatedAdministratorCommandOutput extends __MetadataB
|
|
|
34
34
|
* import { OrganizationsClient, RegisterDelegatedAdministratorCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
35
35
|
* // const { OrganizationsClient, RegisterDelegatedAdministratorCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
36
36
|
* const client = new OrganizationsClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* AccountId: "STRING_VALUE", // required
|
|
39
|
+
* ServicePrincipal: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
37
41
|
* const command = new RegisterDelegatedAdministratorCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -63,6 +63,9 @@ export interface RemoveAccountFromOrganizationCommandOutput extends __MetadataBe
|
|
|
63
63
|
* import { OrganizationsClient, RemoveAccountFromOrganizationCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
64
64
|
* // const { OrganizationsClient, RemoveAccountFromOrganizationCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
65
65
|
* const client = new OrganizationsClient(config);
|
|
66
|
+
* const input = {
|
|
67
|
+
* AccountId: "STRING_VALUE", // required
|
|
68
|
+
* };
|
|
66
69
|
* const command = new RemoveAccountFromOrganizationCommand(input);
|
|
67
70
|
* const response = await client.send(command);
|
|
68
71
|
* ```
|
|
@@ -42,6 +42,15 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* import { OrganizationsClient, TagResourceCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
43
43
|
* // const { OrganizationsClient, TagResourceCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
44
44
|
* const client = new OrganizationsClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* ResourceId: "STRING_VALUE", // required
|
|
47
|
+
* Tags: [ // required
|
|
48
|
+
* {
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
45
54
|
* const command = new TagResourceCommand(input);
|
|
46
55
|
* const response = await client.send(command);
|
|
47
56
|
* ```
|
|
@@ -42,6 +42,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* import { OrganizationsClient, UntagResourceCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
43
43
|
* // const { OrganizationsClient, UntagResourceCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
44
44
|
* const client = new OrganizationsClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* ResourceId: "STRING_VALUE", // required
|
|
47
|
+
* TagKeys: [ // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
45
51
|
* const command = new UntagResourceCommand(input);
|
|
46
52
|
* const response = await client.send(command);
|
|
47
53
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface UpdateOrganizationalUnitCommandOutput extends UpdateOrganizatio
|
|
|
29
29
|
* import { OrganizationsClient, UpdateOrganizationalUnitCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
30
30
|
* // const { OrganizationsClient, UpdateOrganizationalUnitCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
31
31
|
* const client = new OrganizationsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new UpdateOrganizationalUnitCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
29
29
|
* import { OrganizationsClient, UpdatePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
|
|
30
30
|
* // const { OrganizationsClient, UpdatePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
31
31
|
* const client = new OrganizationsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* PolicyId: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* Content: "STRING_VALUE",
|
|
37
|
+
* };
|
|
32
38
|
* const command = new UpdatePolicyCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|