@aws-sdk/client-organizations 3.58.0 → 3.72.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/CHANGELOG.md +27 -0
- package/README.md +30 -29
- package/dist-cjs/Organizations.js +15 -0
- package/dist-cjs/commands/CloseAccountCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +44 -4
- package/dist-cjs/protocols/Aws_json1_1.js +109 -3
- package/dist-es/Organizations.js +15 -0
- package/dist-es/commands/CloseAccountCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_json1_1.js +133 -1
- package/dist-types/Organizations.d.ts +213 -205
- package/dist-types/OrganizationsClient.d.ts +31 -29
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +8 -7
- package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CloseAccountCommand.d.ts +35 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +24 -27
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +39 -40
- package/dist-types/commands/CreateOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -6
- package/dist-types/commands/DescribeAccountCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +3 -3
- 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 +12 -12
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +2 -2
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +9 -8
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +2 -2
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +1 -1
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -6
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +9 -9
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +5 -5
- 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 +1 -1
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +2 -2
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +2 -2
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +4 -3
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +5 -4
- 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 +3 -3
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +5 -5
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +7 -7
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +255 -148
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Organizations.d.ts +5 -0
- package/dist-types/ts3.4/OrganizationsClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +6 -6
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
|
3
3
|
import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput } from "../commands/AcceptHandshakeCommand";
|
|
4
4
|
import { AttachPolicyCommandInput, AttachPolicyCommandOutput } from "../commands/AttachPolicyCommand";
|
|
5
5
|
import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput } from "../commands/CancelHandshakeCommand";
|
|
6
|
+
import { CloseAccountCommandInput, CloseAccountCommandOutput } from "../commands/CloseAccountCommand";
|
|
6
7
|
import { CreateAccountCommandInput, CreateAccountCommandOutput } from "../commands/CreateAccountCommand";
|
|
7
8
|
import { CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput } from "../commands/CreateGovCloudAccountCommand";
|
|
8
9
|
import { CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput } from "../commands/CreateOrganizationalUnitCommand";
|
|
@@ -54,6 +55,7 @@ import { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "../commands
|
|
|
54
55
|
export declare const serializeAws_json1_1AcceptHandshakeCommand: (input: AcceptHandshakeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
56
|
export declare const serializeAws_json1_1AttachPolicyCommand: (input: AttachPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
57
|
export declare const serializeAws_json1_1CancelHandshakeCommand: (input: CancelHandshakeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const serializeAws_json1_1CloseAccountCommand: (input: CloseAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
59
|
export declare const serializeAws_json1_1CreateAccountCommand: (input: CreateAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_json1_1CreateGovCloudAccountCommand: (input: CreateGovCloudAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_json1_1CreateOrganizationCommand: (input: CreateOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -105,6 +107,7 @@ export declare const serializeAws_json1_1UpdatePolicyCommand: (input: UpdatePoli
|
|
|
105
107
|
export declare const deserializeAws_json1_1AcceptHandshakeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptHandshakeCommandOutput>;
|
|
106
108
|
export declare const deserializeAws_json1_1AttachPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AttachPolicyCommandOutput>;
|
|
107
109
|
export declare const deserializeAws_json1_1CancelHandshakeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelHandshakeCommandOutput>;
|
|
110
|
+
export declare const deserializeAws_json1_1CloseAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CloseAccountCommandOutput>;
|
|
108
111
|
export declare const deserializeAws_json1_1CreateAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccountCommandOutput>;
|
|
109
112
|
export declare const deserializeAws_json1_1CreateGovCloudAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGovCloudAccountCommandOutput>;
|
|
110
113
|
export declare const deserializeAws_json1_1CreateOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateOrganizationCommandOutput>;
|
|
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput } from "./commands/AcceptHandshakeCommand";
|
|
3
3
|
import { AttachPolicyCommandInput, AttachPolicyCommandOutput } from "./commands/AttachPolicyCommand";
|
|
4
4
|
import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput } from "./commands/CancelHandshakeCommand";
|
|
5
|
+
import { CloseAccountCommandInput, CloseAccountCommandOutput } from "./commands/CloseAccountCommand";
|
|
5
6
|
import { CreateAccountCommandInput, CreateAccountCommandOutput } from "./commands/CreateAccountCommand";
|
|
6
7
|
import { CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput } from "./commands/CreateGovCloudAccountCommand";
|
|
7
8
|
import { CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput } from "./commands/CreateOrganizationalUnitCommand";
|
|
@@ -66,6 +67,10 @@ export declare class Organizations extends OrganizationsClient {
|
|
|
66
67
|
cancelHandshake(args: CancelHandshakeCommandInput, cb: (err: any, data?: CancelHandshakeCommandOutput) => void): void;
|
|
67
68
|
cancelHandshake(args: CancelHandshakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelHandshakeCommandOutput) => void): void;
|
|
68
69
|
|
|
70
|
+
closeAccount(args: CloseAccountCommandInput, options?: __HttpHandlerOptions): Promise<CloseAccountCommandOutput>;
|
|
71
|
+
closeAccount(args: CloseAccountCommandInput, cb: (err: any, data?: CloseAccountCommandOutput) => void): void;
|
|
72
|
+
closeAccount(args: CloseAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CloseAccountCommandOutput) => void): void;
|
|
73
|
+
|
|
69
74
|
createAccount(args: CreateAccountCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccountCommandOutput>;
|
|
70
75
|
createAccount(args: CreateAccountCommandInput, cb: (err: any, data?: CreateAccountCommandOutput) => void): void;
|
|
71
76
|
createAccount(args: CreateAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccountCommandOutput) => void): void;
|
|
@@ -9,6 +9,7 @@ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Creden
|
|
|
9
9
|
import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput } from "./commands/AcceptHandshakeCommand";
|
|
10
10
|
import { AttachPolicyCommandInput, AttachPolicyCommandOutput } from "./commands/AttachPolicyCommand";
|
|
11
11
|
import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput } from "./commands/CancelHandshakeCommand";
|
|
12
|
+
import { CloseAccountCommandInput, CloseAccountCommandOutput } from "./commands/CloseAccountCommand";
|
|
12
13
|
import { CreateAccountCommandInput, CreateAccountCommandOutput } from "./commands/CreateAccountCommand";
|
|
13
14
|
import { CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput } from "./commands/CreateGovCloudAccountCommand";
|
|
14
15
|
import { CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput } from "./commands/CreateOrganizationalUnitCommand";
|
|
@@ -57,8 +58,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
57
58
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
58
59
|
import { UpdateOrganizationalUnitCommandInput, UpdateOrganizationalUnitCommandOutput } from "./commands/UpdateOrganizationalUnitCommand";
|
|
59
60
|
import { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "./commands/UpdatePolicyCommand";
|
|
60
|
-
export declare type ServiceInputTypes = AcceptHandshakeCommandInput | AttachPolicyCommandInput | CancelHandshakeCommandInput | CreateAccountCommandInput | CreateGovCloudAccountCommandInput | CreateOrganizationCommandInput | CreateOrganizationalUnitCommandInput | CreatePolicyCommandInput | DeclineHandshakeCommandInput | DeleteOrganizationCommandInput | DeleteOrganizationalUnitCommandInput | DeletePolicyCommandInput | DeregisterDelegatedAdministratorCommandInput | DescribeAccountCommandInput | DescribeCreateAccountStatusCommandInput | DescribeEffectivePolicyCommandInput | DescribeHandshakeCommandInput | DescribeOrganizationCommandInput | DescribeOrganizationalUnitCommandInput | DescribePolicyCommandInput | DetachPolicyCommandInput | DisableAWSServiceAccessCommandInput | DisablePolicyTypeCommandInput | EnableAWSServiceAccessCommandInput | EnableAllFeaturesCommandInput | EnablePolicyTypeCommandInput | InviteAccountToOrganizationCommandInput | LeaveOrganizationCommandInput | ListAWSServiceAccessForOrganizationCommandInput | ListAccountsCommandInput | ListAccountsForParentCommandInput | ListChildrenCommandInput | ListCreateAccountStatusCommandInput | ListDelegatedAdministratorsCommandInput | ListDelegatedServicesForAccountCommandInput | ListHandshakesForAccountCommandInput | ListHandshakesForOrganizationCommandInput | ListOrganizationalUnitsForParentCommandInput | ListParentsCommandInput | ListPoliciesCommandInput | ListPoliciesForTargetCommandInput | ListRootsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | MoveAccountCommandInput | RegisterDelegatedAdministratorCommandInput | RemoveAccountFromOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOrganizationalUnitCommandInput | UpdatePolicyCommandInput;
|
|
61
|
-
export declare type ServiceOutputTypes = AcceptHandshakeCommandOutput | AttachPolicyCommandOutput | CancelHandshakeCommandOutput | CreateAccountCommandOutput | CreateGovCloudAccountCommandOutput | CreateOrganizationCommandOutput | CreateOrganizationalUnitCommandOutput | CreatePolicyCommandOutput | DeclineHandshakeCommandOutput | DeleteOrganizationCommandOutput | DeleteOrganizationalUnitCommandOutput | DeletePolicyCommandOutput | DeregisterDelegatedAdministratorCommandOutput | DescribeAccountCommandOutput | DescribeCreateAccountStatusCommandOutput | DescribeEffectivePolicyCommandOutput | DescribeHandshakeCommandOutput | DescribeOrganizationCommandOutput | DescribeOrganizationalUnitCommandOutput | DescribePolicyCommandOutput | DetachPolicyCommandOutput | DisableAWSServiceAccessCommandOutput | DisablePolicyTypeCommandOutput | EnableAWSServiceAccessCommandOutput | EnableAllFeaturesCommandOutput | EnablePolicyTypeCommandOutput | InviteAccountToOrganizationCommandOutput | LeaveOrganizationCommandOutput | ListAWSServiceAccessForOrganizationCommandOutput | ListAccountsCommandOutput | ListAccountsForParentCommandOutput | ListChildrenCommandOutput | ListCreateAccountStatusCommandOutput | ListDelegatedAdministratorsCommandOutput | ListDelegatedServicesForAccountCommandOutput | ListHandshakesForAccountCommandOutput | ListHandshakesForOrganizationCommandOutput | ListOrganizationalUnitsForParentCommandOutput | ListParentsCommandOutput | ListPoliciesCommandOutput | ListPoliciesForTargetCommandOutput | ListRootsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | MoveAccountCommandOutput | RegisterDelegatedAdministratorCommandOutput | RemoveAccountFromOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOrganizationalUnitCommandOutput | UpdatePolicyCommandOutput;
|
|
61
|
+
export declare type ServiceInputTypes = AcceptHandshakeCommandInput | AttachPolicyCommandInput | CancelHandshakeCommandInput | CloseAccountCommandInput | CreateAccountCommandInput | CreateGovCloudAccountCommandInput | CreateOrganizationCommandInput | CreateOrganizationalUnitCommandInput | CreatePolicyCommandInput | DeclineHandshakeCommandInput | DeleteOrganizationCommandInput | DeleteOrganizationalUnitCommandInput | DeletePolicyCommandInput | DeregisterDelegatedAdministratorCommandInput | DescribeAccountCommandInput | DescribeCreateAccountStatusCommandInput | DescribeEffectivePolicyCommandInput | DescribeHandshakeCommandInput | DescribeOrganizationCommandInput | DescribeOrganizationalUnitCommandInput | DescribePolicyCommandInput | DetachPolicyCommandInput | DisableAWSServiceAccessCommandInput | DisablePolicyTypeCommandInput | EnableAWSServiceAccessCommandInput | EnableAllFeaturesCommandInput | EnablePolicyTypeCommandInput | InviteAccountToOrganizationCommandInput | LeaveOrganizationCommandInput | ListAWSServiceAccessForOrganizationCommandInput | ListAccountsCommandInput | ListAccountsForParentCommandInput | ListChildrenCommandInput | ListCreateAccountStatusCommandInput | ListDelegatedAdministratorsCommandInput | ListDelegatedServicesForAccountCommandInput | ListHandshakesForAccountCommandInput | ListHandshakesForOrganizationCommandInput | ListOrganizationalUnitsForParentCommandInput | ListParentsCommandInput | ListPoliciesCommandInput | ListPoliciesForTargetCommandInput | ListRootsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | MoveAccountCommandInput | RegisterDelegatedAdministratorCommandInput | RemoveAccountFromOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOrganizationalUnitCommandInput | UpdatePolicyCommandInput;
|
|
62
|
+
export declare type ServiceOutputTypes = AcceptHandshakeCommandOutput | AttachPolicyCommandOutput | CancelHandshakeCommandOutput | CloseAccountCommandOutput | CreateAccountCommandOutput | CreateGovCloudAccountCommandOutput | CreateOrganizationCommandOutput | CreateOrganizationalUnitCommandOutput | CreatePolicyCommandOutput | DeclineHandshakeCommandOutput | DeleteOrganizationCommandOutput | DeleteOrganizationalUnitCommandOutput | DeletePolicyCommandOutput | DeregisterDelegatedAdministratorCommandOutput | DescribeAccountCommandOutput | DescribeCreateAccountStatusCommandOutput | DescribeEffectivePolicyCommandOutput | DescribeHandshakeCommandOutput | DescribeOrganizationCommandOutput | DescribeOrganizationalUnitCommandOutput | DescribePolicyCommandOutput | DetachPolicyCommandOutput | DisableAWSServiceAccessCommandOutput | DisablePolicyTypeCommandOutput | EnableAWSServiceAccessCommandOutput | EnableAllFeaturesCommandOutput | EnablePolicyTypeCommandOutput | InviteAccountToOrganizationCommandOutput | LeaveOrganizationCommandOutput | ListAWSServiceAccessForOrganizationCommandOutput | ListAccountsCommandOutput | ListAccountsForParentCommandOutput | ListChildrenCommandOutput | ListCreateAccountStatusCommandOutput | ListDelegatedAdministratorsCommandOutput | ListDelegatedServicesForAccountCommandOutput | ListHandshakesForAccountCommandOutput | ListHandshakesForOrganizationCommandOutput | ListOrganizationalUnitsForParentCommandOutput | ListParentsCommandOutput | ListPoliciesCommandOutput | ListPoliciesForTargetCommandOutput | ListRootsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | MoveAccountCommandOutput | RegisterDelegatedAdministratorCommandOutput | RemoveAccountFromOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOrganizationalUnitCommandOutput | UpdatePolicyCommandOutput;
|
|
62
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
63
64
|
|
|
64
65
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloseAccountRequest } from "../models/models_0";
|
|
4
|
+
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
|
|
5
|
+
export interface CloseAccountCommandInput extends CloseAccountRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CloseAccountCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CloseAccountCommand extends $Command<CloseAccountCommandInput, CloseAccountCommandOutput, OrganizationsClientResolvedConfig> {
|
|
11
|
+
readonly input: CloseAccountCommandInput;
|
|
12
|
+
constructor(input: CloseAccountCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CloseAccountCommandInput, CloseAccountCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AcceptHandshakeCommand";
|
|
2
2
|
export * from "./AttachPolicyCommand";
|
|
3
3
|
export * from "./CancelHandshakeCommand";
|
|
4
|
+
export * from "./CloseAccountCommand";
|
|
4
5
|
export * from "./CreateAccountCommand";
|
|
5
6
|
export * from "./CreateGovCloudAccountCommand";
|
|
6
7
|
export * from "./CreateOrganizationCommand";
|
|
@@ -97,6 +97,7 @@ export declare enum HandshakeConstraintViolationExceptionReason {
|
|
|
97
97
|
ALREADY_IN_AN_ORGANIZATION = "ALREADY_IN_AN_ORGANIZATION",
|
|
98
98
|
HANDSHAKE_RATE_LIMIT_EXCEEDED = "HANDSHAKE_RATE_LIMIT_EXCEEDED",
|
|
99
99
|
INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES = "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES",
|
|
100
|
+
MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED = "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED",
|
|
100
101
|
ORGANIZATION_ALREADY_HAS_ALL_FEATURES = "ORGANIZATION_ALREADY_HAS_ALL_FEATURES",
|
|
101
102
|
ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD = "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD",
|
|
102
103
|
ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION = "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION",
|
|
@@ -186,6 +187,7 @@ export declare enum AccountJoinedMethod {
|
|
|
186
187
|
}
|
|
187
188
|
export declare enum AccountStatus {
|
|
188
189
|
ACTIVE = "ACTIVE",
|
|
190
|
+
PENDING_CLOSURE = "PENDING_CLOSURE",
|
|
189
191
|
SUSPENDED = "SUSPENDED"
|
|
190
192
|
}
|
|
191
193
|
|
|
@@ -210,6 +212,14 @@ export declare namespace Account {
|
|
|
210
212
|
const filterSensitiveLog: (obj: Account) => any;
|
|
211
213
|
}
|
|
212
214
|
|
|
215
|
+
export declare class AccountAlreadyClosedException extends __BaseException {
|
|
216
|
+
readonly name: "AccountAlreadyClosedException";
|
|
217
|
+
readonly $fault: "client";
|
|
218
|
+
Message?: string;
|
|
219
|
+
|
|
220
|
+
constructor(opts: __ExceptionOptionType<AccountAlreadyClosedException, __BaseException>);
|
|
221
|
+
}
|
|
222
|
+
|
|
213
223
|
export declare class AccountAlreadyRegisteredException extends __BaseException {
|
|
214
224
|
readonly name: "AccountAlreadyRegisteredException";
|
|
215
225
|
readonly $fault: "client";
|
|
@@ -265,8 +275,11 @@ export declare enum ConstraintViolationExceptionReason {
|
|
|
265
275
|
ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION = "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION",
|
|
266
276
|
ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED = "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED",
|
|
267
277
|
ACCOUNT_NUMBER_LIMIT_EXCEEDED = "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
|
|
278
|
+
CANNOT_CLOSE_MANAGEMENT_ACCOUNT = "CANNOT_CLOSE_MANAGEMENT_ACCOUNT",
|
|
268
279
|
CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR = "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR",
|
|
269
280
|
CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG = "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG",
|
|
281
|
+
CLOSE_ACCOUNT_QUOTA_EXCEEDED = "CLOSE_ACCOUNT_QUOTA_EXCEEDED",
|
|
282
|
+
CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED = "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED",
|
|
270
283
|
CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION = "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION",
|
|
271
284
|
DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE = "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE",
|
|
272
285
|
EMAIL_VERIFICATION_CODE_EXPIRED = "EMAIL_VERIFICATION_CODE_EXPIRED",
|
|
@@ -286,6 +299,7 @@ export declare enum ConstraintViolationExceptionReason {
|
|
|
286
299
|
OU_NUMBER_LIMIT_EXCEEDED = "OU_NUMBER_LIMIT_EXCEEDED",
|
|
287
300
|
POLICY_CONTENT_LIMIT_EXCEEDED = "POLICY_CONTENT_LIMIT_EXCEEDED",
|
|
288
301
|
POLICY_NUMBER_LIMIT_EXCEEDED = "POLICY_NUMBER_LIMIT_EXCEEDED",
|
|
302
|
+
SERVICE_ACCESS_NOT_ENABLED = "SERVICE_ACCESS_NOT_ENABLED",
|
|
289
303
|
TAG_POLICY_VIOLATION = "TAG_POLICY_VIOLATION",
|
|
290
304
|
WAIT_PERIOD_ACTIVE = "WAIT_PERIOD_ACTIVE"
|
|
291
305
|
}
|
|
@@ -354,6 +368,22 @@ export declare namespace CancelHandshakeRequest {
|
|
|
354
368
|
|
|
355
369
|
const filterSensitiveLog: (obj: CancelHandshakeRequest) => any;
|
|
356
370
|
}
|
|
371
|
+
export interface CloseAccountRequest {
|
|
372
|
+
|
|
373
|
+
AccountId: string | undefined;
|
|
374
|
+
}
|
|
375
|
+
export declare namespace CloseAccountRequest {
|
|
376
|
+
|
|
377
|
+
const filterSensitiveLog: (obj: CloseAccountRequest) => any;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export declare class ConflictException extends __BaseException {
|
|
381
|
+
readonly name: "ConflictException";
|
|
382
|
+
readonly $fault: "client";
|
|
383
|
+
Message?: string;
|
|
384
|
+
|
|
385
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
386
|
+
}
|
|
357
387
|
export declare enum IAMUserAccessToBilling {
|
|
358
388
|
ALLOW = "ALLOW",
|
|
359
389
|
DENY = "DENY"
|
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
|
3
3
|
import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput } from "../commands/AcceptHandshakeCommand";
|
|
4
4
|
import { AttachPolicyCommandInput, AttachPolicyCommandOutput } from "../commands/AttachPolicyCommand";
|
|
5
5
|
import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput } from "../commands/CancelHandshakeCommand";
|
|
6
|
+
import { CloseAccountCommandInput, CloseAccountCommandOutput } from "../commands/CloseAccountCommand";
|
|
6
7
|
import { CreateAccountCommandInput, CreateAccountCommandOutput } from "../commands/CreateAccountCommand";
|
|
7
8
|
import { CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput } from "../commands/CreateGovCloudAccountCommand";
|
|
8
9
|
import { CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput } from "../commands/CreateOrganizationalUnitCommand";
|
|
@@ -54,6 +55,7 @@ import { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "../commands
|
|
|
54
55
|
export declare const serializeAws_json1_1AcceptHandshakeCommand: (input: AcceptHandshakeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
56
|
export declare const serializeAws_json1_1AttachPolicyCommand: (input: AttachPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
57
|
export declare const serializeAws_json1_1CancelHandshakeCommand: (input: CancelHandshakeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const serializeAws_json1_1CloseAccountCommand: (input: CloseAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
59
|
export declare const serializeAws_json1_1CreateAccountCommand: (input: CreateAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_json1_1CreateGovCloudAccountCommand: (input: CreateGovCloudAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_json1_1CreateOrganizationCommand: (input: CreateOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -105,6 +107,7 @@ export declare const serializeAws_json1_1UpdatePolicyCommand: (input: UpdatePoli
|
|
|
105
107
|
export declare const deserializeAws_json1_1AcceptHandshakeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptHandshakeCommandOutput>;
|
|
106
108
|
export declare const deserializeAws_json1_1AttachPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AttachPolicyCommandOutput>;
|
|
107
109
|
export declare const deserializeAws_json1_1CancelHandshakeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelHandshakeCommandOutput>;
|
|
110
|
+
export declare const deserializeAws_json1_1CloseAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CloseAccountCommandOutput>;
|
|
108
111
|
export declare const deserializeAws_json1_1CreateAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccountCommandOutput>;
|
|
109
112
|
export declare const deserializeAws_json1_1CreateGovCloudAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGovCloudAccountCommandOutput>;
|
|
110
113
|
export declare const deserializeAws_json1_1CreateOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateOrganizationCommandOutput>;
|
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.72.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.72.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.72.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.72.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|