@aws-sdk/client-organizations 3.300.0 → 3.301.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 +1 -1
- package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CancelHandshakeCommand.d.ts +1 -1
- package/dist-types/commands/CloseAccountCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccountCommand.d.ts +3 -3
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +3 -3
- package/dist-types/commands/CreateOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +3 -3
- package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/DescribePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +1 -1
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +1 -1
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +1 -1
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +4 -4
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +1 -1
- package/dist-types/commands/ListChildrenCommand.d.ts +1 -1
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +2 -2
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +1 -1
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +2 -2
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +1 -1
- package/dist-types/commands/ListParentsCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +1 -1
- package/dist-types/commands/ListRootsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
- package/dist-types/commands/MoveAccountCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -56,7 +56,7 @@ 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 = {
|
|
59
|
+
* const input = { // AcceptHandshakeRequest
|
|
60
60
|
* HandshakeId: "STRING_VALUE", // required
|
|
61
61
|
* };
|
|
62
62
|
* const command = new AcceptHandshakeCommand(input);
|
|
@@ -51,7 +51,7 @@ 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 = {
|
|
54
|
+
* const input = { // AttachPolicyRequest
|
|
55
55
|
* PolicyId: "STRING_VALUE", // required
|
|
56
56
|
* TargetId: "STRING_VALUE", // required
|
|
57
57
|
* };
|
|
@@ -31,7 +31,7 @@ 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 = {
|
|
34
|
+
* const input = { // CancelHandshakeRequest
|
|
35
35
|
* HandshakeId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new CancelHandshakeCommand(input);
|
|
@@ -76,7 +76,7 @@ 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 = {
|
|
79
|
+
* const input = { // CloseAccountRequest
|
|
80
80
|
* AccountId: "STRING_VALUE", // required
|
|
81
81
|
* };
|
|
82
82
|
* const command = new CloseAccountCommand(input);
|
|
@@ -100,13 +100,13 @@ 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 = {
|
|
103
|
+
* const input = { // CreateAccountRequest
|
|
104
104
|
* Email: "STRING_VALUE", // required
|
|
105
105
|
* AccountName: "STRING_VALUE", // required
|
|
106
106
|
* RoleName: "STRING_VALUE",
|
|
107
107
|
* IamUserAccessToBilling: "ALLOW" || "DENY",
|
|
108
|
-
* Tags: [
|
|
109
|
-
* {
|
|
108
|
+
* Tags: [ // Tags
|
|
109
|
+
* { // Tag
|
|
110
110
|
* Key: "STRING_VALUE", // required
|
|
111
111
|
* Value: "STRING_VALUE", // required
|
|
112
112
|
* },
|
|
@@ -156,13 +156,13 @@ 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 = {
|
|
159
|
+
* const input = { // CreateGovCloudAccountRequest
|
|
160
160
|
* Email: "STRING_VALUE", // required
|
|
161
161
|
* AccountName: "STRING_VALUE", // required
|
|
162
162
|
* RoleName: "STRING_VALUE",
|
|
163
163
|
* IamUserAccessToBilling: "ALLOW" || "DENY",
|
|
164
|
-
* Tags: [
|
|
165
|
-
* {
|
|
164
|
+
* Tags: [ // Tags
|
|
165
|
+
* { // Tag
|
|
166
166
|
* Key: "STRING_VALUE", // required
|
|
167
167
|
* Value: "STRING_VALUE", // required
|
|
168
168
|
* },
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // CreateOrganizationRequest
|
|
40
40
|
* FeatureSet: "ALL" || "CONSOLIDATED_BILLING",
|
|
41
41
|
* };
|
|
42
42
|
* const command = new CreateOrganizationCommand(input);
|
|
@@ -36,11 +36,11 @@ 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 = {
|
|
39
|
+
* const input = { // CreateOrganizationalUnitRequest
|
|
40
40
|
* ParentId: "STRING_VALUE", // required
|
|
41
41
|
* Name: "STRING_VALUE", // required
|
|
42
|
-
* Tags: [
|
|
43
|
-
* {
|
|
42
|
+
* Tags: [ // Tags
|
|
43
|
+
* { // Tag
|
|
44
44
|
* Key: "STRING_VALUE", // required
|
|
45
45
|
* Value: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
@@ -32,13 +32,13 @@ 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 = {
|
|
35
|
+
* const input = { // CreatePolicyRequest
|
|
36
36
|
* Content: "STRING_VALUE", // required
|
|
37
37
|
* Description: "STRING_VALUE", // required
|
|
38
38
|
* Name: "STRING_VALUE", // required
|
|
39
39
|
* Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
40
|
-
* Tags: [
|
|
41
|
-
* {
|
|
40
|
+
* Tags: [ // Tags
|
|
41
|
+
* { // Tag
|
|
42
42
|
* Key: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // DeclineHandshakeRequest
|
|
36
36
|
* HandshakeId: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DeclineHandshakeCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DeleteOrganizationalUnitRequest
|
|
32
32
|
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteOrganizationalUnitCommand(input);
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // DeletePolicyRequest
|
|
33
33
|
* PolicyId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeletePolicyCommand(input);
|
|
@@ -39,7 +39,7 @@ 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 = {
|
|
42
|
+
* const input = { // DeregisterDelegatedAdministratorRequest
|
|
43
43
|
* AccountId: "STRING_VALUE", // required
|
|
44
44
|
* ServicePrincipal: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeAccountRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeAccountCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeCreateAccountStatusRequest
|
|
32
32
|
* CreateAccountRequestId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeCreateAccountStatusCommand(input);
|
|
@@ -35,7 +35,7 @@ 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 = {
|
|
38
|
+
* const input = { // DescribeEffectivePolicyRequest
|
|
39
39
|
* PolicyType: "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
40
40
|
* TargetId: "STRING_VALUE",
|
|
41
41
|
* };
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // DescribeHandshakeRequest
|
|
36
36
|
* HandshakeId: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DescribeHandshakeCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeOrganizationalUnitRequest
|
|
32
32
|
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeOrganizationalUnitCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribePolicyRequest
|
|
32
32
|
* PolicyId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribePolicyCommand(input);
|
|
@@ -40,7 +40,7 @@ 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 = {
|
|
43
|
+
* const input = { // DetachPolicyRequest
|
|
44
44
|
* PolicyId: "STRING_VALUE", // required
|
|
45
45
|
* TargetId: "STRING_VALUE", // required
|
|
46
46
|
* };
|
|
@@ -81,7 +81,7 @@ 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 = {
|
|
84
|
+
* const input = { // DisableAWSServiceAccessRequest
|
|
85
85
|
* ServicePrincipal: "STRING_VALUE", // required
|
|
86
86
|
* };
|
|
87
87
|
* const command = new DisableAWSServiceAccessCommand(input);
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DisablePolicyTypeRequest
|
|
40
40
|
* RootId: "STRING_VALUE", // required
|
|
41
41
|
* PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
42
42
|
* };
|
|
@@ -45,7 +45,7 @@ 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 = {
|
|
48
|
+
* const input = { // EnableAWSServiceAccessRequest
|
|
49
49
|
* ServicePrincipal: "STRING_VALUE", // required
|
|
50
50
|
* };
|
|
51
51
|
* const command = new EnableAWSServiceAccessCommand(input);
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // EnablePolicyTypeRequest
|
|
40
40
|
* RootId: "STRING_VALUE", // required
|
|
41
41
|
* PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
42
42
|
* };
|
|
@@ -51,14 +51,14 @@ 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: {
|
|
54
|
+
* const input = { // InviteAccountToOrganizationRequest
|
|
55
|
+
* Target: { // HandshakeParty
|
|
56
56
|
* Id: "STRING_VALUE", // required
|
|
57
57
|
* Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
|
|
58
58
|
* },
|
|
59
59
|
* Notes: "STRING_VALUE",
|
|
60
|
-
* Tags: [
|
|
61
|
-
* {
|
|
60
|
+
* Tags: [ // Tags
|
|
61
|
+
* { // Tag
|
|
62
62
|
* Key: "STRING_VALUE", // required
|
|
63
63
|
* Value: "STRING_VALUE", // required
|
|
64
64
|
* },
|
|
@@ -34,7 +34,7 @@ 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 = {
|
|
37
|
+
* const input = { // ListAWSServiceAccessForOrganizationRequest
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* };
|
|
@@ -37,7 +37,7 @@ 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 = {
|
|
40
|
+
* const input = { // ListAccountsRequest
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
43
43
|
* };
|
|
@@ -40,7 +40,7 @@ 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 = {
|
|
43
|
+
* const input = { // ListAccountsForParentRequest
|
|
44
44
|
* ParentId: "STRING_VALUE", // required
|
|
45
45
|
* NextToken: "STRING_VALUE",
|
|
46
46
|
* MaxResults: Number("int"),
|
|
@@ -38,7 +38,7 @@ 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 = {
|
|
41
|
+
* const input = { // ListChildrenRequest
|
|
42
42
|
* ParentId: "STRING_VALUE", // required
|
|
43
43
|
* ChildType: "ACCOUNT" || "ORGANIZATIONAL_UNIT", // required
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
@@ -37,8 +37,8 @@ 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: [
|
|
40
|
+
* const input = { // ListCreateAccountStatusRequest
|
|
41
|
+
* States: [ // CreateAccountStates
|
|
42
42
|
* "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
|
|
43
43
|
* ],
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // ListDelegatedAdministratorsRequest
|
|
33
33
|
* ServicePrincipal: "STRING_VALUE",
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
35
35
|
* MaxResults: Number("int"),
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // ListDelegatedServicesForAccountRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
35
35
|
* MaxResults: Number("int"),
|
|
@@ -40,8 +40,8 @@ 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: {
|
|
43
|
+
* const input = { // ListHandshakesForAccountRequest
|
|
44
|
+
* Filter: { // HandshakeFilter
|
|
45
45
|
* ActionType: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
46
46
|
* ParentHandshakeId: "STRING_VALUE",
|
|
47
47
|
* },
|
|
@@ -43,8 +43,8 @@ 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: {
|
|
46
|
+
* const input = { // ListHandshakesForOrganizationRequest
|
|
47
|
+
* Filter: { // HandshakeFilter
|
|
48
48
|
* ActionType: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
|
49
49
|
* ParentHandshakeId: "STRING_VALUE",
|
|
50
50
|
* },
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // ListOrganizationalUnitsForParentRequest
|
|
40
40
|
* ParentId: "STRING_VALUE", // required
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
@@ -41,7 +41,7 @@ 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 = {
|
|
44
|
+
* const input = { // ListParentsRequest
|
|
45
45
|
* ChildId: "STRING_VALUE", // required
|
|
46
46
|
* NextToken: "STRING_VALUE",
|
|
47
47
|
* MaxResults: Number("int"),
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // ListPoliciesRequest
|
|
40
40
|
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
@@ -38,7 +38,7 @@ 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 = {
|
|
41
|
+
* const input = { // ListPoliciesForTargetRequest
|
|
42
42
|
* TargetId: "STRING_VALUE", // required
|
|
43
43
|
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY", // required
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
@@ -43,7 +43,7 @@ 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 = {
|
|
46
|
+
* const input = { // ListRootsRequest
|
|
47
47
|
* NextToken: "STRING_VALUE",
|
|
48
48
|
* MaxResults: Number("int"),
|
|
49
49
|
* };
|
|
@@ -43,7 +43,7 @@ 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 = {
|
|
46
|
+
* const input = { // ListTagsForResourceRequest
|
|
47
47
|
* ResourceId: "STRING_VALUE", // required
|
|
48
48
|
* NextToken: "STRING_VALUE",
|
|
49
49
|
* };
|
|
@@ -37,7 +37,7 @@ 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 = {
|
|
40
|
+
* const input = { // ListTargetsForPolicyRequest
|
|
41
41
|
* PolicyId: "STRING_VALUE", // required
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
43
43
|
* MaxResults: Number("int"),
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // MoveAccountRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* SourceParentId: "STRING_VALUE", // required
|
|
34
34
|
* DestinationParentId: "STRING_VALUE", // required
|
|
@@ -27,10 +27,10 @@ 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 = {
|
|
30
|
+
* const input = { // PutResourcePolicyRequest
|
|
31
31
|
* Content: "STRING_VALUE", // required
|
|
32
|
-
* Tags: [
|
|
33
|
-
* {
|
|
32
|
+
* Tags: [ // Tags
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE", // required
|
|
35
35
|
* Value: "STRING_VALUE", // required
|
|
36
36
|
* },
|
|
@@ -34,7 +34,7 @@ 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 = {
|
|
37
|
+
* const input = { // RegisterDelegatedAdministratorRequest
|
|
38
38
|
* AccountId: "STRING_VALUE", // required
|
|
39
39
|
* ServicePrincipal: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -63,7 +63,7 @@ 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 = {
|
|
66
|
+
* const input = { // RemoveAccountFromOrganizationRequest
|
|
67
67
|
* AccountId: "STRING_VALUE", // required
|
|
68
68
|
* };
|
|
69
69
|
* const command = new RemoveAccountFromOrganizationCommand(input);
|
|
@@ -42,10 +42,10 @@ 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 = {
|
|
45
|
+
* const input = { // TagResourceRequest
|
|
46
46
|
* ResourceId: "STRING_VALUE", // required
|
|
47
|
-
* Tags: [ // required
|
|
48
|
-
* {
|
|
47
|
+
* Tags: [ // Tags // required
|
|
48
|
+
* { // Tag
|
|
49
49
|
* Key: "STRING_VALUE", // required
|
|
50
50
|
* Value: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
@@ -42,9 +42,9 @@ 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 = {
|
|
45
|
+
* const input = { // UntagResourceRequest
|
|
46
46
|
* ResourceId: "STRING_VALUE", // required
|
|
47
|
-
* TagKeys: [ // required
|
|
47
|
+
* TagKeys: [ // TagKeys // required
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* };
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // UpdateOrganizationalUnitRequest
|
|
33
33
|
* OrganizationalUnitId: "STRING_VALUE", // required
|
|
34
34
|
* Name: "STRING_VALUE",
|
|
35
35
|
* };
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // UpdatePolicyRequest
|
|
33
33
|
* PolicyId: "STRING_VALUE", // required
|
|
34
34
|
* Name: "STRING_VALUE",
|
|
35
35
|
* Description: "STRING_VALUE",
|
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.301.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|