@aws-sdk/client-organizations 3.50.0 → 3.53.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/dist-cjs/index.js +3 -0
- package/dist-cjs/models/OrganizationsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +626 -3
- package/dist-cjs/protocols/Aws_json1_1.js +779 -3200
- package/dist-es/index.js +1 -0
- package/dist-es/models/OrganizationsServiceException.js +12 -0
- package/dist-es/models/models_0.js +579 -1
- package/dist-es/protocols/Aws_json1_1.js +1597 -3317
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/OrganizationsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +310 -133
- package/dist-types/ts3.4/Organizations.d.ts +260 -0
- package/dist-types/ts3.4/OrganizationsClient.d.ts +124 -0
- package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OrganizationsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1655 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAccountsForParentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListChildrenPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCreateAccountStatusPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDelegatedAdministratorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDelegatedServicesForAccountPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListHandshakesForAccountPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListHandshakesForOrganizationPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListParentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPoliciesForTargetPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRootsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTargetsForPolicyPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +17 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +155 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.CreateOrganizationRequest = exports.OrganizationFeatureSet = exports.CreateGovCloudAccountResponse = exports.CreateGovCloudAccountRequest = exports.FinalizingOrganizationException = exports.CreateAccountResponse = exports.CreateAccountStatus = exports.CreateAccountState = exports.CreateAccountFailureReason = exports.CreateAccountRequest = exports.Tag = exports.IAMUserAccessToBilling = exports.CancelHandshakeRequest = exports.UnsupportedAPIEndpointException = exports.TargetNotFoundException = exports.PolicyTypeNotEnabledException = exports.PolicyNotFoundException = exports.PolicyChangesInProgressException = exports.DuplicatePolicyAttachmentException = exports.ConstraintViolationException = exports.ConstraintViolationExceptionReason = exports.AttachPolicyRequest = exports.AlreadyInOrganizationException = exports.AccountOwnerNotVerifiedException = exports.AccountNotRegisteredException = exports.AccountNotFoundException = exports.AccountAlreadyRegisteredException = exports.Account = exports.AccountStatus = exports.AccountJoinedMethod = exports.TooManyRequestsException = exports.ServiceException = exports.InvalidInputException = exports.InvalidInputExceptionReason = exports.InvalidHandshakeTransitionException = exports.HandshakeNotFoundException = exports.HandshakeConstraintViolationException = exports.HandshakeConstraintViolationExceptionReason = exports.HandshakeAlreadyInStateException = exports.ConcurrentModificationException = exports.AWSOrganizationsNotInUseException = exports.AccessDeniedForDependencyException = exports.AccessDeniedForDependencyExceptionReason = exports.AccessDeniedException = exports.HandshakeState = exports.HandshakeResourceType = exports.HandshakeParty = exports.HandshakePartyType = exports.ActionType = exports.AcceptHandshakeRequest = void 0;
|
|
4
|
+
exports.EnableAWSServiceAccessRequest = exports.EnableAllFeaturesRequest = exports.RootNotFoundException = exports.DisablePolicyTypeResponse = exports.Root = exports.DisablePolicyTypeRequest = exports.DisableAWSServiceAccessRequest = exports.PolicyNotAttachedException = exports.DetachPolicyRequest = exports.DescribePolicyResponse = exports.DescribePolicyRequest = exports.DescribeOrganizationalUnitResponse = exports.DescribeOrganizationalUnitRequest = exports.DescribeOrganizationResponse = exports.DescribeHandshakeRequest = exports.EffectivePolicyNotFoundException = exports.DescribeEffectivePolicyResponse = exports.EffectivePolicy = exports.DescribeEffectivePolicyRequest = exports.EffectivePolicyType = exports.DescribeCreateAccountStatusResponse = exports.DescribeCreateAccountStatusRequest = exports.CreateAccountStatusNotFoundException = exports.DescribeAccountResponse = exports.DescribeAccountRequest = exports.DeregisterDelegatedAdministratorRequest = exports.PolicyInUseException = exports.DeletePolicyRequest = exports.OrganizationalUnitNotFoundException = exports.OrganizationalUnitNotEmptyException = exports.DeleteOrganizationalUnitRequest = exports.OrganizationNotEmptyException = exports.DeclineHandshakeRequest = exports.PolicyTypeNotAvailableForOrganizationException = exports.MalformedPolicyDocumentException = exports.DuplicatePolicyException = exports.CreatePolicyResponse = exports.Policy = exports.PolicySummary = exports.CreatePolicyRequest = exports.ParentNotFoundException = exports.DuplicateOrganizationalUnitException = exports.CreateOrganizationalUnitResponse = exports.OrganizationalUnit = exports.CreateOrganizationalUnitRequest = exports.CreateOrganizationResponse = exports.Organization = exports.PolicyTypeSummary = exports.PolicyType = exports.PolicyTypeStatus = void 0;
|
|
5
|
+
exports.MoveAccountRequest = exports.DuplicateAccountException = exports.DestinationParentNotFoundException = exports.ListTargetsForPolicyResponse = exports.PolicyTargetSummary = exports.TargetType = exports.ListTargetsForPolicyRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRootsResponse = exports.ListRootsRequest = exports.ListPoliciesForTargetResponse = exports.ListPoliciesForTargetRequest = exports.ListPoliciesResponse = exports.ListPoliciesRequest = exports.ListParentsResponse = exports.Parent = exports.ParentType = exports.ListParentsRequest = exports.ChildNotFoundException = exports.ListOrganizationalUnitsForParentResponse = exports.ListOrganizationalUnitsForParentRequest = exports.ListHandshakesForOrganizationRequest = exports.ListHandshakesForAccountRequest = exports.HandshakeFilter = exports.ListDelegatedServicesForAccountResponse = exports.DelegatedService = exports.ListDelegatedServicesForAccountRequest = exports.ListDelegatedAdministratorsResponse = exports.DelegatedAdministrator = exports.ListDelegatedAdministratorsRequest = exports.ListCreateAccountStatusResponse = exports.ListCreateAccountStatusRequest = exports.ListChildrenResponse = exports.Child = exports.ListChildrenRequest = exports.ChildType = exports.ListAWSServiceAccessForOrganizationResponse = exports.EnabledServicePrincipal = exports.ListAWSServiceAccessForOrganizationRequest = exports.ListAccountsForParentResponse = exports.ListAccountsForParentRequest = exports.ListAccountsResponse = exports.ListAccountsRequest = exports.MasterCannotLeaveOrganizationException = exports.InviteAccountToOrganizationRequest = exports.DuplicateHandshakeException = exports.PolicyTypeAlreadyEnabledException = exports.EnablePolicyTypeResponse = exports.EnablePolicyTypeRequest = void 0;
|
|
6
|
+
exports.ListHandshakesForOrganizationResponse = exports.ListHandshakesForAccountResponse = exports.InviteAccountToOrganizationResponse = exports.EnableAllFeaturesResponse = exports.DescribeHandshakeResponse = exports.DeclineHandshakeResponse = exports.CancelHandshakeResponse = exports.AcceptHandshakeResponse = exports.Handshake = exports.HandshakeResource = exports.UpdatePolicyResponse = exports.UpdatePolicyRequest = exports.UpdateOrganizationalUnitResponse = exports.UpdateOrganizationalUnitRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemoveAccountFromOrganizationRequest = exports.RegisterDelegatedAdministratorRequest = exports.SourceParentNotFoundException = void 0;
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
const OrganizationsServiceException_1 = require("./OrganizationsServiceException");
|
|
7
9
|
var AcceptHandshakeRequest;
|
|
8
10
|
(function (AcceptHandshakeRequest) {
|
|
9
11
|
AcceptHandshakeRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -50,10 +52,81 @@ var HandshakeState;
|
|
|
50
52
|
HandshakeState["OPEN"] = "OPEN";
|
|
51
53
|
HandshakeState["REQUESTED"] = "REQUESTED";
|
|
52
54
|
})(HandshakeState = exports.HandshakeState || (exports.HandshakeState = {}));
|
|
55
|
+
class AccessDeniedException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "AccessDeniedException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "AccessDeniedException";
|
|
63
|
+
this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
65
|
+
this.Message = opts.Message;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
53
69
|
var AccessDeniedForDependencyExceptionReason;
|
|
54
70
|
(function (AccessDeniedForDependencyExceptionReason) {
|
|
55
71
|
AccessDeniedForDependencyExceptionReason["ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"] = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE";
|
|
56
72
|
})(AccessDeniedForDependencyExceptionReason = exports.AccessDeniedForDependencyExceptionReason || (exports.AccessDeniedForDependencyExceptionReason = {}));
|
|
73
|
+
class AccessDeniedForDependencyException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "AccessDeniedForDependencyException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
this.name = "AccessDeniedForDependencyException";
|
|
81
|
+
this.$fault = "client";
|
|
82
|
+
Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
this.Reason = opts.Reason;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.AccessDeniedForDependencyException = AccessDeniedForDependencyException;
|
|
88
|
+
class AWSOrganizationsNotInUseException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "AWSOrganizationsNotInUseException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
this.name = "AWSOrganizationsNotInUseException";
|
|
96
|
+
this.$fault = "client";
|
|
97
|
+
Object.setPrototypeOf(this, AWSOrganizationsNotInUseException.prototype);
|
|
98
|
+
this.Message = opts.Message;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.AWSOrganizationsNotInUseException = AWSOrganizationsNotInUseException;
|
|
102
|
+
class ConcurrentModificationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ConcurrentModificationException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "ConcurrentModificationException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
112
|
+
this.Message = opts.Message;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
116
|
+
class HandshakeAlreadyInStateException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "HandshakeAlreadyInStateException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
this.name = "HandshakeAlreadyInStateException";
|
|
124
|
+
this.$fault = "client";
|
|
125
|
+
Object.setPrototypeOf(this, HandshakeAlreadyInStateException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.HandshakeAlreadyInStateException = HandshakeAlreadyInStateException;
|
|
57
130
|
var HandshakeConstraintViolationExceptionReason;
|
|
58
131
|
(function (HandshakeConstraintViolationExceptionReason) {
|
|
59
132
|
HandshakeConstraintViolationExceptionReason["ACCOUNT_NUMBER_LIMIT_EXCEEDED"] = "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
|
|
@@ -66,6 +139,49 @@ var HandshakeConstraintViolationExceptionReason;
|
|
|
66
139
|
HandshakeConstraintViolationExceptionReason["ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"] = "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED";
|
|
67
140
|
HandshakeConstraintViolationExceptionReason["PAYMENT_INSTRUMENT_REQUIRED"] = "PAYMENT_INSTRUMENT_REQUIRED";
|
|
68
141
|
})(HandshakeConstraintViolationExceptionReason = exports.HandshakeConstraintViolationExceptionReason || (exports.HandshakeConstraintViolationExceptionReason = {}));
|
|
142
|
+
class HandshakeConstraintViolationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "HandshakeConstraintViolationException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
this.name = "HandshakeConstraintViolationException";
|
|
150
|
+
this.$fault = "client";
|
|
151
|
+
Object.setPrototypeOf(this, HandshakeConstraintViolationException.prototype);
|
|
152
|
+
this.Message = opts.Message;
|
|
153
|
+
this.Reason = opts.Reason;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.HandshakeConstraintViolationException = HandshakeConstraintViolationException;
|
|
157
|
+
class HandshakeNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
158
|
+
constructor(opts) {
|
|
159
|
+
super({
|
|
160
|
+
name: "HandshakeNotFoundException",
|
|
161
|
+
$fault: "client",
|
|
162
|
+
...opts,
|
|
163
|
+
});
|
|
164
|
+
this.name = "HandshakeNotFoundException";
|
|
165
|
+
this.$fault = "client";
|
|
166
|
+
Object.setPrototypeOf(this, HandshakeNotFoundException.prototype);
|
|
167
|
+
this.Message = opts.Message;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
exports.HandshakeNotFoundException = HandshakeNotFoundException;
|
|
171
|
+
class InvalidHandshakeTransitionException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "InvalidHandshakeTransitionException",
|
|
175
|
+
$fault: "client",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
this.name = "InvalidHandshakeTransitionException";
|
|
179
|
+
this.$fault = "client";
|
|
180
|
+
Object.setPrototypeOf(this, InvalidHandshakeTransitionException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.InvalidHandshakeTransitionException = InvalidHandshakeTransitionException;
|
|
69
185
|
var InvalidInputExceptionReason;
|
|
70
186
|
(function (InvalidInputExceptionReason) {
|
|
71
187
|
InvalidInputExceptionReason["DUPLICATE_TAG_KEY"] = "DUPLICATE_TAG_KEY";
|
|
@@ -93,6 +209,50 @@ var InvalidInputExceptionReason;
|
|
|
93
209
|
InvalidInputExceptionReason["TARGET_NOT_SUPPORTED"] = "TARGET_NOT_SUPPORTED";
|
|
94
210
|
InvalidInputExceptionReason["UNRECOGNIZED_SERVICE_PRINCIPAL"] = "UNRECOGNIZED_SERVICE_PRINCIPAL";
|
|
95
211
|
})(InvalidInputExceptionReason = exports.InvalidInputExceptionReason || (exports.InvalidInputExceptionReason = {}));
|
|
212
|
+
class InvalidInputException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "InvalidInputException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
this.name = "InvalidInputException";
|
|
220
|
+
this.$fault = "client";
|
|
221
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
222
|
+
this.Message = opts.Message;
|
|
223
|
+
this.Reason = opts.Reason;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
exports.InvalidInputException = InvalidInputException;
|
|
227
|
+
class ServiceException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "ServiceException",
|
|
231
|
+
$fault: "server",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
this.name = "ServiceException";
|
|
235
|
+
this.$fault = "server";
|
|
236
|
+
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
exports.ServiceException = ServiceException;
|
|
241
|
+
class TooManyRequestsException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "TooManyRequestsException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
this.name = "TooManyRequestsException";
|
|
249
|
+
this.$fault = "client";
|
|
250
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
251
|
+
this.Type = opts.Type;
|
|
252
|
+
this.Message = opts.Message;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
96
256
|
var AccountJoinedMethod;
|
|
97
257
|
(function (AccountJoinedMethod) {
|
|
98
258
|
AccountJoinedMethod["CREATED"] = "CREATED";
|
|
@@ -111,6 +271,76 @@ var Account;
|
|
|
111
271
|
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
112
272
|
});
|
|
113
273
|
})(Account = exports.Account || (exports.Account = {}));
|
|
274
|
+
class AccountAlreadyRegisteredException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
275
|
+
constructor(opts) {
|
|
276
|
+
super({
|
|
277
|
+
name: "AccountAlreadyRegisteredException",
|
|
278
|
+
$fault: "client",
|
|
279
|
+
...opts,
|
|
280
|
+
});
|
|
281
|
+
this.name = "AccountAlreadyRegisteredException";
|
|
282
|
+
this.$fault = "client";
|
|
283
|
+
Object.setPrototypeOf(this, AccountAlreadyRegisteredException.prototype);
|
|
284
|
+
this.Message = opts.Message;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
exports.AccountAlreadyRegisteredException = AccountAlreadyRegisteredException;
|
|
288
|
+
class AccountNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "AccountNotFoundException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
this.name = "AccountNotFoundException";
|
|
296
|
+
this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
298
|
+
this.Message = opts.Message;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
exports.AccountNotFoundException = AccountNotFoundException;
|
|
302
|
+
class AccountNotRegisteredException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
303
|
+
constructor(opts) {
|
|
304
|
+
super({
|
|
305
|
+
name: "AccountNotRegisteredException",
|
|
306
|
+
$fault: "client",
|
|
307
|
+
...opts,
|
|
308
|
+
});
|
|
309
|
+
this.name = "AccountNotRegisteredException";
|
|
310
|
+
this.$fault = "client";
|
|
311
|
+
Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
|
|
312
|
+
this.Message = opts.Message;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
exports.AccountNotRegisteredException = AccountNotRegisteredException;
|
|
316
|
+
class AccountOwnerNotVerifiedException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "AccountOwnerNotVerifiedException",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...opts,
|
|
322
|
+
});
|
|
323
|
+
this.name = "AccountOwnerNotVerifiedException";
|
|
324
|
+
this.$fault = "client";
|
|
325
|
+
Object.setPrototypeOf(this, AccountOwnerNotVerifiedException.prototype);
|
|
326
|
+
this.Message = opts.Message;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
exports.AccountOwnerNotVerifiedException = AccountOwnerNotVerifiedException;
|
|
330
|
+
class AlreadyInOrganizationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "AlreadyInOrganizationException",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts,
|
|
336
|
+
});
|
|
337
|
+
this.name = "AlreadyInOrganizationException";
|
|
338
|
+
this.$fault = "client";
|
|
339
|
+
Object.setPrototypeOf(this, AlreadyInOrganizationException.prototype);
|
|
340
|
+
this.Message = opts.Message;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
exports.AlreadyInOrganizationException = AlreadyInOrganizationException;
|
|
114
344
|
var AttachPolicyRequest;
|
|
115
345
|
(function (AttachPolicyRequest) {
|
|
116
346
|
AttachPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -148,6 +378,105 @@ var ConstraintViolationExceptionReason;
|
|
|
148
378
|
ConstraintViolationExceptionReason["TAG_POLICY_VIOLATION"] = "TAG_POLICY_VIOLATION";
|
|
149
379
|
ConstraintViolationExceptionReason["WAIT_PERIOD_ACTIVE"] = "WAIT_PERIOD_ACTIVE";
|
|
150
380
|
})(ConstraintViolationExceptionReason = exports.ConstraintViolationExceptionReason || (exports.ConstraintViolationExceptionReason = {}));
|
|
381
|
+
class ConstraintViolationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "ConstraintViolationException",
|
|
385
|
+
$fault: "client",
|
|
386
|
+
...opts,
|
|
387
|
+
});
|
|
388
|
+
this.name = "ConstraintViolationException";
|
|
389
|
+
this.$fault = "client";
|
|
390
|
+
Object.setPrototypeOf(this, ConstraintViolationException.prototype);
|
|
391
|
+
this.Message = opts.Message;
|
|
392
|
+
this.Reason = opts.Reason;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
exports.ConstraintViolationException = ConstraintViolationException;
|
|
396
|
+
class DuplicatePolicyAttachmentException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
397
|
+
constructor(opts) {
|
|
398
|
+
super({
|
|
399
|
+
name: "DuplicatePolicyAttachmentException",
|
|
400
|
+
$fault: "client",
|
|
401
|
+
...opts,
|
|
402
|
+
});
|
|
403
|
+
this.name = "DuplicatePolicyAttachmentException";
|
|
404
|
+
this.$fault = "client";
|
|
405
|
+
Object.setPrototypeOf(this, DuplicatePolicyAttachmentException.prototype);
|
|
406
|
+
this.Message = opts.Message;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
exports.DuplicatePolicyAttachmentException = DuplicatePolicyAttachmentException;
|
|
410
|
+
class PolicyChangesInProgressException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
411
|
+
constructor(opts) {
|
|
412
|
+
super({
|
|
413
|
+
name: "PolicyChangesInProgressException",
|
|
414
|
+
$fault: "client",
|
|
415
|
+
...opts,
|
|
416
|
+
});
|
|
417
|
+
this.name = "PolicyChangesInProgressException";
|
|
418
|
+
this.$fault = "client";
|
|
419
|
+
Object.setPrototypeOf(this, PolicyChangesInProgressException.prototype);
|
|
420
|
+
this.Message = opts.Message;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
exports.PolicyChangesInProgressException = PolicyChangesInProgressException;
|
|
424
|
+
class PolicyNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "PolicyNotFoundException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts,
|
|
430
|
+
});
|
|
431
|
+
this.name = "PolicyNotFoundException";
|
|
432
|
+
this.$fault = "client";
|
|
433
|
+
Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
|
|
434
|
+
this.Message = opts.Message;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
exports.PolicyNotFoundException = PolicyNotFoundException;
|
|
438
|
+
class PolicyTypeNotEnabledException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
439
|
+
constructor(opts) {
|
|
440
|
+
super({
|
|
441
|
+
name: "PolicyTypeNotEnabledException",
|
|
442
|
+
$fault: "client",
|
|
443
|
+
...opts,
|
|
444
|
+
});
|
|
445
|
+
this.name = "PolicyTypeNotEnabledException";
|
|
446
|
+
this.$fault = "client";
|
|
447
|
+
Object.setPrototypeOf(this, PolicyTypeNotEnabledException.prototype);
|
|
448
|
+
this.Message = opts.Message;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.PolicyTypeNotEnabledException = PolicyTypeNotEnabledException;
|
|
452
|
+
class TargetNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
453
|
+
constructor(opts) {
|
|
454
|
+
super({
|
|
455
|
+
name: "TargetNotFoundException",
|
|
456
|
+
$fault: "client",
|
|
457
|
+
...opts,
|
|
458
|
+
});
|
|
459
|
+
this.name = "TargetNotFoundException";
|
|
460
|
+
this.$fault = "client";
|
|
461
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
462
|
+
this.Message = opts.Message;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
exports.TargetNotFoundException = TargetNotFoundException;
|
|
466
|
+
class UnsupportedAPIEndpointException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
467
|
+
constructor(opts) {
|
|
468
|
+
super({
|
|
469
|
+
name: "UnsupportedAPIEndpointException",
|
|
470
|
+
$fault: "client",
|
|
471
|
+
...opts,
|
|
472
|
+
});
|
|
473
|
+
this.name = "UnsupportedAPIEndpointException";
|
|
474
|
+
this.$fault = "client";
|
|
475
|
+
Object.setPrototypeOf(this, UnsupportedAPIEndpointException.prototype);
|
|
476
|
+
this.Message = opts.Message;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
exports.UnsupportedAPIEndpointException = UnsupportedAPIEndpointException;
|
|
151
480
|
var CancelHandshakeRequest;
|
|
152
481
|
(function (CancelHandshakeRequest) {
|
|
153
482
|
CancelHandshakeRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -211,6 +540,20 @@ var CreateAccountResponse;
|
|
|
211
540
|
}),
|
|
212
541
|
});
|
|
213
542
|
})(CreateAccountResponse = exports.CreateAccountResponse || (exports.CreateAccountResponse = {}));
|
|
543
|
+
class FinalizingOrganizationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
544
|
+
constructor(opts) {
|
|
545
|
+
super({
|
|
546
|
+
name: "FinalizingOrganizationException",
|
|
547
|
+
$fault: "client",
|
|
548
|
+
...opts,
|
|
549
|
+
});
|
|
550
|
+
this.name = "FinalizingOrganizationException";
|
|
551
|
+
this.$fault = "client";
|
|
552
|
+
Object.setPrototypeOf(this, FinalizingOrganizationException.prototype);
|
|
553
|
+
this.Message = opts.Message;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
exports.FinalizingOrganizationException = FinalizingOrganizationException;
|
|
214
557
|
var CreateGovCloudAccountRequest;
|
|
215
558
|
(function (CreateGovCloudAccountRequest) {
|
|
216
559
|
CreateGovCloudAccountRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -290,6 +633,34 @@ var CreateOrganizationalUnitResponse;
|
|
|
290
633
|
...obj,
|
|
291
634
|
});
|
|
292
635
|
})(CreateOrganizationalUnitResponse = exports.CreateOrganizationalUnitResponse || (exports.CreateOrganizationalUnitResponse = {}));
|
|
636
|
+
class DuplicateOrganizationalUnitException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
637
|
+
constructor(opts) {
|
|
638
|
+
super({
|
|
639
|
+
name: "DuplicateOrganizationalUnitException",
|
|
640
|
+
$fault: "client",
|
|
641
|
+
...opts,
|
|
642
|
+
});
|
|
643
|
+
this.name = "DuplicateOrganizationalUnitException";
|
|
644
|
+
this.$fault = "client";
|
|
645
|
+
Object.setPrototypeOf(this, DuplicateOrganizationalUnitException.prototype);
|
|
646
|
+
this.Message = opts.Message;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
exports.DuplicateOrganizationalUnitException = DuplicateOrganizationalUnitException;
|
|
650
|
+
class ParentNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
651
|
+
constructor(opts) {
|
|
652
|
+
super({
|
|
653
|
+
name: "ParentNotFoundException",
|
|
654
|
+
$fault: "client",
|
|
655
|
+
...opts,
|
|
656
|
+
});
|
|
657
|
+
this.name = "ParentNotFoundException";
|
|
658
|
+
this.$fault = "client";
|
|
659
|
+
Object.setPrototypeOf(this, ParentNotFoundException.prototype);
|
|
660
|
+
this.Message = opts.Message;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
exports.ParentNotFoundException = ParentNotFoundException;
|
|
293
664
|
var CreatePolicyRequest;
|
|
294
665
|
(function (CreatePolicyRequest) {
|
|
295
666
|
CreatePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -314,24 +685,122 @@ var CreatePolicyResponse;
|
|
|
314
685
|
...obj,
|
|
315
686
|
});
|
|
316
687
|
})(CreatePolicyResponse = exports.CreatePolicyResponse || (exports.CreatePolicyResponse = {}));
|
|
688
|
+
class DuplicatePolicyException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
689
|
+
constructor(opts) {
|
|
690
|
+
super({
|
|
691
|
+
name: "DuplicatePolicyException",
|
|
692
|
+
$fault: "client",
|
|
693
|
+
...opts,
|
|
694
|
+
});
|
|
695
|
+
this.name = "DuplicatePolicyException";
|
|
696
|
+
this.$fault = "client";
|
|
697
|
+
Object.setPrototypeOf(this, DuplicatePolicyException.prototype);
|
|
698
|
+
this.Message = opts.Message;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
exports.DuplicatePolicyException = DuplicatePolicyException;
|
|
702
|
+
class MalformedPolicyDocumentException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
703
|
+
constructor(opts) {
|
|
704
|
+
super({
|
|
705
|
+
name: "MalformedPolicyDocumentException",
|
|
706
|
+
$fault: "client",
|
|
707
|
+
...opts,
|
|
708
|
+
});
|
|
709
|
+
this.name = "MalformedPolicyDocumentException";
|
|
710
|
+
this.$fault = "client";
|
|
711
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
712
|
+
this.Message = opts.Message;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
716
|
+
class PolicyTypeNotAvailableForOrganizationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
717
|
+
constructor(opts) {
|
|
718
|
+
super({
|
|
719
|
+
name: "PolicyTypeNotAvailableForOrganizationException",
|
|
720
|
+
$fault: "client",
|
|
721
|
+
...opts,
|
|
722
|
+
});
|
|
723
|
+
this.name = "PolicyTypeNotAvailableForOrganizationException";
|
|
724
|
+
this.$fault = "client";
|
|
725
|
+
Object.setPrototypeOf(this, PolicyTypeNotAvailableForOrganizationException.prototype);
|
|
726
|
+
this.Message = opts.Message;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
exports.PolicyTypeNotAvailableForOrganizationException = PolicyTypeNotAvailableForOrganizationException;
|
|
317
730
|
var DeclineHandshakeRequest;
|
|
318
731
|
(function (DeclineHandshakeRequest) {
|
|
319
732
|
DeclineHandshakeRequest.filterSensitiveLog = (obj) => ({
|
|
320
733
|
...obj,
|
|
321
734
|
});
|
|
322
735
|
})(DeclineHandshakeRequest = exports.DeclineHandshakeRequest || (exports.DeclineHandshakeRequest = {}));
|
|
736
|
+
class OrganizationNotEmptyException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
737
|
+
constructor(opts) {
|
|
738
|
+
super({
|
|
739
|
+
name: "OrganizationNotEmptyException",
|
|
740
|
+
$fault: "client",
|
|
741
|
+
...opts,
|
|
742
|
+
});
|
|
743
|
+
this.name = "OrganizationNotEmptyException";
|
|
744
|
+
this.$fault = "client";
|
|
745
|
+
Object.setPrototypeOf(this, OrganizationNotEmptyException.prototype);
|
|
746
|
+
this.Message = opts.Message;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
exports.OrganizationNotEmptyException = OrganizationNotEmptyException;
|
|
323
750
|
var DeleteOrganizationalUnitRequest;
|
|
324
751
|
(function (DeleteOrganizationalUnitRequest) {
|
|
325
752
|
DeleteOrganizationalUnitRequest.filterSensitiveLog = (obj) => ({
|
|
326
753
|
...obj,
|
|
327
754
|
});
|
|
328
755
|
})(DeleteOrganizationalUnitRequest = exports.DeleteOrganizationalUnitRequest || (exports.DeleteOrganizationalUnitRequest = {}));
|
|
756
|
+
class OrganizationalUnitNotEmptyException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
757
|
+
constructor(opts) {
|
|
758
|
+
super({
|
|
759
|
+
name: "OrganizationalUnitNotEmptyException",
|
|
760
|
+
$fault: "client",
|
|
761
|
+
...opts,
|
|
762
|
+
});
|
|
763
|
+
this.name = "OrganizationalUnitNotEmptyException";
|
|
764
|
+
this.$fault = "client";
|
|
765
|
+
Object.setPrototypeOf(this, OrganizationalUnitNotEmptyException.prototype);
|
|
766
|
+
this.Message = opts.Message;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
exports.OrganizationalUnitNotEmptyException = OrganizationalUnitNotEmptyException;
|
|
770
|
+
class OrganizationalUnitNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
771
|
+
constructor(opts) {
|
|
772
|
+
super({
|
|
773
|
+
name: "OrganizationalUnitNotFoundException",
|
|
774
|
+
$fault: "client",
|
|
775
|
+
...opts,
|
|
776
|
+
});
|
|
777
|
+
this.name = "OrganizationalUnitNotFoundException";
|
|
778
|
+
this.$fault = "client";
|
|
779
|
+
Object.setPrototypeOf(this, OrganizationalUnitNotFoundException.prototype);
|
|
780
|
+
this.Message = opts.Message;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
exports.OrganizationalUnitNotFoundException = OrganizationalUnitNotFoundException;
|
|
329
784
|
var DeletePolicyRequest;
|
|
330
785
|
(function (DeletePolicyRequest) {
|
|
331
786
|
DeletePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
332
787
|
...obj,
|
|
333
788
|
});
|
|
334
789
|
})(DeletePolicyRequest = exports.DeletePolicyRequest || (exports.DeletePolicyRequest = {}));
|
|
790
|
+
class PolicyInUseException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
791
|
+
constructor(opts) {
|
|
792
|
+
super({
|
|
793
|
+
name: "PolicyInUseException",
|
|
794
|
+
$fault: "client",
|
|
795
|
+
...opts,
|
|
796
|
+
});
|
|
797
|
+
this.name = "PolicyInUseException";
|
|
798
|
+
this.$fault = "client";
|
|
799
|
+
Object.setPrototypeOf(this, PolicyInUseException.prototype);
|
|
800
|
+
this.Message = opts.Message;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
exports.PolicyInUseException = PolicyInUseException;
|
|
335
804
|
var DeregisterDelegatedAdministratorRequest;
|
|
336
805
|
(function (DeregisterDelegatedAdministratorRequest) {
|
|
337
806
|
DeregisterDelegatedAdministratorRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -351,6 +820,20 @@ var DescribeAccountResponse;
|
|
|
351
820
|
...(obj.Account && { Account: Account.filterSensitiveLog(obj.Account) }),
|
|
352
821
|
});
|
|
353
822
|
})(DescribeAccountResponse = exports.DescribeAccountResponse || (exports.DescribeAccountResponse = {}));
|
|
823
|
+
class CreateAccountStatusNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
824
|
+
constructor(opts) {
|
|
825
|
+
super({
|
|
826
|
+
name: "CreateAccountStatusNotFoundException",
|
|
827
|
+
$fault: "client",
|
|
828
|
+
...opts,
|
|
829
|
+
});
|
|
830
|
+
this.name = "CreateAccountStatusNotFoundException";
|
|
831
|
+
this.$fault = "client";
|
|
832
|
+
Object.setPrototypeOf(this, CreateAccountStatusNotFoundException.prototype);
|
|
833
|
+
this.Message = opts.Message;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
exports.CreateAccountStatusNotFoundException = CreateAccountStatusNotFoundException;
|
|
354
837
|
var DescribeCreateAccountStatusRequest;
|
|
355
838
|
(function (DescribeCreateAccountStatusRequest) {
|
|
356
839
|
DescribeCreateAccountStatusRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -390,6 +873,20 @@ var DescribeEffectivePolicyResponse;
|
|
|
390
873
|
...obj,
|
|
391
874
|
});
|
|
392
875
|
})(DescribeEffectivePolicyResponse = exports.DescribeEffectivePolicyResponse || (exports.DescribeEffectivePolicyResponse = {}));
|
|
876
|
+
class EffectivePolicyNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
877
|
+
constructor(opts) {
|
|
878
|
+
super({
|
|
879
|
+
name: "EffectivePolicyNotFoundException",
|
|
880
|
+
$fault: "client",
|
|
881
|
+
...opts,
|
|
882
|
+
});
|
|
883
|
+
this.name = "EffectivePolicyNotFoundException";
|
|
884
|
+
this.$fault = "client";
|
|
885
|
+
Object.setPrototypeOf(this, EffectivePolicyNotFoundException.prototype);
|
|
886
|
+
this.Message = opts.Message;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
exports.EffectivePolicyNotFoundException = EffectivePolicyNotFoundException;
|
|
393
890
|
var DescribeHandshakeRequest;
|
|
394
891
|
(function (DescribeHandshakeRequest) {
|
|
395
892
|
DescribeHandshakeRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -433,6 +930,20 @@ var DetachPolicyRequest;
|
|
|
433
930
|
...obj,
|
|
434
931
|
});
|
|
435
932
|
})(DetachPolicyRequest = exports.DetachPolicyRequest || (exports.DetachPolicyRequest = {}));
|
|
933
|
+
class PolicyNotAttachedException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
934
|
+
constructor(opts) {
|
|
935
|
+
super({
|
|
936
|
+
name: "PolicyNotAttachedException",
|
|
937
|
+
$fault: "client",
|
|
938
|
+
...opts,
|
|
939
|
+
});
|
|
940
|
+
this.name = "PolicyNotAttachedException";
|
|
941
|
+
this.$fault = "client";
|
|
942
|
+
Object.setPrototypeOf(this, PolicyNotAttachedException.prototype);
|
|
943
|
+
this.Message = opts.Message;
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
exports.PolicyNotAttachedException = PolicyNotAttachedException;
|
|
436
947
|
var DisableAWSServiceAccessRequest;
|
|
437
948
|
(function (DisableAWSServiceAccessRequest) {
|
|
438
949
|
DisableAWSServiceAccessRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -457,6 +968,20 @@ var DisablePolicyTypeResponse;
|
|
|
457
968
|
...obj,
|
|
458
969
|
});
|
|
459
970
|
})(DisablePolicyTypeResponse = exports.DisablePolicyTypeResponse || (exports.DisablePolicyTypeResponse = {}));
|
|
971
|
+
class RootNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
972
|
+
constructor(opts) {
|
|
973
|
+
super({
|
|
974
|
+
name: "RootNotFoundException",
|
|
975
|
+
$fault: "client",
|
|
976
|
+
...opts,
|
|
977
|
+
});
|
|
978
|
+
this.name = "RootNotFoundException";
|
|
979
|
+
this.$fault = "client";
|
|
980
|
+
Object.setPrototypeOf(this, RootNotFoundException.prototype);
|
|
981
|
+
this.Message = opts.Message;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
exports.RootNotFoundException = RootNotFoundException;
|
|
460
985
|
var EnableAllFeaturesRequest;
|
|
461
986
|
(function (EnableAllFeaturesRequest) {
|
|
462
987
|
EnableAllFeaturesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -481,6 +1006,34 @@ var EnablePolicyTypeResponse;
|
|
|
481
1006
|
...obj,
|
|
482
1007
|
});
|
|
483
1008
|
})(EnablePolicyTypeResponse = exports.EnablePolicyTypeResponse || (exports.EnablePolicyTypeResponse = {}));
|
|
1009
|
+
class PolicyTypeAlreadyEnabledException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1010
|
+
constructor(opts) {
|
|
1011
|
+
super({
|
|
1012
|
+
name: "PolicyTypeAlreadyEnabledException",
|
|
1013
|
+
$fault: "client",
|
|
1014
|
+
...opts,
|
|
1015
|
+
});
|
|
1016
|
+
this.name = "PolicyTypeAlreadyEnabledException";
|
|
1017
|
+
this.$fault = "client";
|
|
1018
|
+
Object.setPrototypeOf(this, PolicyTypeAlreadyEnabledException.prototype);
|
|
1019
|
+
this.Message = opts.Message;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
exports.PolicyTypeAlreadyEnabledException = PolicyTypeAlreadyEnabledException;
|
|
1023
|
+
class DuplicateHandshakeException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1024
|
+
constructor(opts) {
|
|
1025
|
+
super({
|
|
1026
|
+
name: "DuplicateHandshakeException",
|
|
1027
|
+
$fault: "client",
|
|
1028
|
+
...opts,
|
|
1029
|
+
});
|
|
1030
|
+
this.name = "DuplicateHandshakeException";
|
|
1031
|
+
this.$fault = "client";
|
|
1032
|
+
Object.setPrototypeOf(this, DuplicateHandshakeException.prototype);
|
|
1033
|
+
this.Message = opts.Message;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
exports.DuplicateHandshakeException = DuplicateHandshakeException;
|
|
484
1037
|
var InviteAccountToOrganizationRequest;
|
|
485
1038
|
(function (InviteAccountToOrganizationRequest) {
|
|
486
1039
|
InviteAccountToOrganizationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -489,6 +1042,20 @@ var InviteAccountToOrganizationRequest;
|
|
|
489
1042
|
...(obj.Notes && { Notes: smithy_client_1.SENSITIVE_STRING }),
|
|
490
1043
|
});
|
|
491
1044
|
})(InviteAccountToOrganizationRequest = exports.InviteAccountToOrganizationRequest || (exports.InviteAccountToOrganizationRequest = {}));
|
|
1045
|
+
class MasterCannotLeaveOrganizationException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1046
|
+
constructor(opts) {
|
|
1047
|
+
super({
|
|
1048
|
+
name: "MasterCannotLeaveOrganizationException",
|
|
1049
|
+
$fault: "client",
|
|
1050
|
+
...opts,
|
|
1051
|
+
});
|
|
1052
|
+
this.name = "MasterCannotLeaveOrganizationException";
|
|
1053
|
+
this.$fault = "client";
|
|
1054
|
+
Object.setPrototypeOf(this, MasterCannotLeaveOrganizationException.prototype);
|
|
1055
|
+
this.Message = opts.Message;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
exports.MasterCannotLeaveOrganizationException = MasterCannotLeaveOrganizationException;
|
|
492
1059
|
var ListAccountsRequest;
|
|
493
1060
|
(function (ListAccountsRequest) {
|
|
494
1061
|
ListAccountsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -642,6 +1209,20 @@ var ListOrganizationalUnitsForParentResponse;
|
|
|
642
1209
|
...obj,
|
|
643
1210
|
});
|
|
644
1211
|
})(ListOrganizationalUnitsForParentResponse = exports.ListOrganizationalUnitsForParentResponse || (exports.ListOrganizationalUnitsForParentResponse = {}));
|
|
1212
|
+
class ChildNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1213
|
+
constructor(opts) {
|
|
1214
|
+
super({
|
|
1215
|
+
name: "ChildNotFoundException",
|
|
1216
|
+
$fault: "client",
|
|
1217
|
+
...opts,
|
|
1218
|
+
});
|
|
1219
|
+
this.name = "ChildNotFoundException";
|
|
1220
|
+
this.$fault = "client";
|
|
1221
|
+
Object.setPrototypeOf(this, ChildNotFoundException.prototype);
|
|
1222
|
+
this.Message = opts.Message;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
exports.ChildNotFoundException = ChildNotFoundException;
|
|
645
1226
|
var ListParentsRequest;
|
|
646
1227
|
(function (ListParentsRequest) {
|
|
647
1228
|
ListParentsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -737,12 +1318,54 @@ var ListTargetsForPolicyResponse;
|
|
|
737
1318
|
...obj,
|
|
738
1319
|
});
|
|
739
1320
|
})(ListTargetsForPolicyResponse = exports.ListTargetsForPolicyResponse || (exports.ListTargetsForPolicyResponse = {}));
|
|
1321
|
+
class DestinationParentNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1322
|
+
constructor(opts) {
|
|
1323
|
+
super({
|
|
1324
|
+
name: "DestinationParentNotFoundException",
|
|
1325
|
+
$fault: "client",
|
|
1326
|
+
...opts,
|
|
1327
|
+
});
|
|
1328
|
+
this.name = "DestinationParentNotFoundException";
|
|
1329
|
+
this.$fault = "client";
|
|
1330
|
+
Object.setPrototypeOf(this, DestinationParentNotFoundException.prototype);
|
|
1331
|
+
this.Message = opts.Message;
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
exports.DestinationParentNotFoundException = DestinationParentNotFoundException;
|
|
1335
|
+
class DuplicateAccountException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1336
|
+
constructor(opts) {
|
|
1337
|
+
super({
|
|
1338
|
+
name: "DuplicateAccountException",
|
|
1339
|
+
$fault: "client",
|
|
1340
|
+
...opts,
|
|
1341
|
+
});
|
|
1342
|
+
this.name = "DuplicateAccountException";
|
|
1343
|
+
this.$fault = "client";
|
|
1344
|
+
Object.setPrototypeOf(this, DuplicateAccountException.prototype);
|
|
1345
|
+
this.Message = opts.Message;
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
exports.DuplicateAccountException = DuplicateAccountException;
|
|
740
1349
|
var MoveAccountRequest;
|
|
741
1350
|
(function (MoveAccountRequest) {
|
|
742
1351
|
MoveAccountRequest.filterSensitiveLog = (obj) => ({
|
|
743
1352
|
...obj,
|
|
744
1353
|
});
|
|
745
1354
|
})(MoveAccountRequest = exports.MoveAccountRequest || (exports.MoveAccountRequest = {}));
|
|
1355
|
+
class SourceParentNotFoundException extends OrganizationsServiceException_1.OrganizationsServiceException {
|
|
1356
|
+
constructor(opts) {
|
|
1357
|
+
super({
|
|
1358
|
+
name: "SourceParentNotFoundException",
|
|
1359
|
+
$fault: "client",
|
|
1360
|
+
...opts,
|
|
1361
|
+
});
|
|
1362
|
+
this.name = "SourceParentNotFoundException";
|
|
1363
|
+
this.$fault = "client";
|
|
1364
|
+
Object.setPrototypeOf(this, SourceParentNotFoundException.prototype);
|
|
1365
|
+
this.Message = opts.Message;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
exports.SourceParentNotFoundException = SourceParentNotFoundException;
|
|
746
1369
|
var RegisterDelegatedAdministratorRequest;
|
|
747
1370
|
(function (RegisterDelegatedAdministratorRequest) {
|
|
748
1371
|
RegisterDelegatedAdministratorRequest.filterSensitiveLog = (obj) => ({
|