@aws-sdk/client-organizations 3.936.0 → 3.937.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.
Files changed (97) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +462 -69
  3. package/dist-es/Organizations.js +12 -0
  4. package/dist-es/commands/DescribeResponsibilityTransferCommand.js +16 -0
  5. package/dist-es/commands/InviteOrganizationToTransferResponsibilityCommand.js +16 -0
  6. package/dist-es/commands/ListInboundResponsibilityTransfersCommand.js +16 -0
  7. package/dist-es/commands/ListOutboundResponsibilityTransfersCommand.js +16 -0
  8. package/dist-es/commands/TerminateResponsibilityTransferCommand.js +16 -0
  9. package/dist-es/commands/UpdateResponsibilityTransferCommand.js +16 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +81 -39
  12. package/dist-es/models/errors.js +72 -30
  13. package/dist-es/schemas/schemas_0.js +221 -1
  14. package/dist-types/Organizations.d.ts +42 -0
  15. package/dist-types/OrganizationsClient.d.ts +8 -2
  16. package/dist-types/commands/AcceptHandshakeCommand.d.ts +334 -32
  17. package/dist-types/commands/AttachPolicyCommand.d.ts +74 -3
  18. package/dist-types/commands/CancelHandshakeCommand.d.ts +45 -9
  19. package/dist-types/commands/CloseAccountCommand.d.ts +68 -1
  20. package/dist-types/commands/CreateAccountCommand.d.ts +69 -2
  21. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +68 -1
  22. package/dist-types/commands/CreateOrganizationCommand.d.ts +69 -2
  23. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +69 -2
  24. package/dist-types/commands/CreatePolicyCommand.d.ts +71 -5
  25. package/dist-types/commands/DeclineHandshakeCommand.d.ts +45 -10
  26. package/dist-types/commands/DeleteOrganizationCommand.d.ts +284 -0
  27. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +38 -1
  28. package/dist-types/commands/DeletePolicyCommand.d.ts +38 -2
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +32 -2
  30. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +69 -2
  31. package/dist-types/commands/DescribeAccountCommand.d.ts +38 -2
  32. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +38 -2
  33. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +71 -4
  34. package/dist-types/commands/DescribeHandshakeCommand.d.ts +45 -10
  35. package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -2
  36. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +38 -2
  37. package/dist-types/commands/DescribePolicyCommand.d.ts +39 -3
  38. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +32 -3
  39. package/dist-types/commands/DescribeResponsibilityTransferCommand.d.ts +267 -0
  40. package/dist-types/commands/DetachPolicyCommand.d.ts +69 -3
  41. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +69 -2
  42. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +71 -5
  43. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +69 -2
  44. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +91 -10
  45. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +71 -5
  46. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +91 -10
  47. package/dist-types/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +617 -0
  48. package/dist-types/commands/LeaveOrganizationCommand.d.ts +69 -2
  49. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +69 -3
  50. package/dist-types/commands/ListAccountsCommand.d.ts +41 -8
  51. package/dist-types/commands/ListAccountsForParentCommand.d.ts +41 -8
  52. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +71 -5
  53. package/dist-types/commands/ListChildrenCommand.d.ts +41 -8
  54. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +41 -8
  55. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +69 -3
  56. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +69 -3
  57. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +71 -5
  58. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +49 -17
  59. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +49 -20
  60. package/dist-types/commands/ListInboundResponsibilityTransfersCommand.d.ts +524 -0
  61. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +41 -8
  62. package/dist-types/commands/ListOutboundResponsibilityTransfersCommand.d.ts +521 -0
  63. package/dist-types/commands/ListParentsCommand.d.ts +41 -8
  64. package/dist-types/commands/ListPoliciesCommand.d.ts +43 -10
  65. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +43 -10
  66. package/dist-types/commands/ListRootsCommand.d.ts +42 -9
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -2
  68. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +41 -8
  69. package/dist-types/commands/MoveAccountCommand.d.ts +38 -1
  70. package/dist-types/commands/PutResourcePolicyCommand.d.ts +69 -2
  71. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +69 -2
  72. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +69 -2
  73. package/dist-types/commands/TagResourceCommand.d.ts +69 -3
  74. package/dist-types/commands/TerminateResponsibilityTransferCommand.d.ts +526 -0
  75. package/dist-types/commands/UntagResourceCommand.d.ts +69 -3
  76. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +38 -1
  77. package/dist-types/commands/UpdatePolicyCommand.d.ts +70 -4
  78. package/dist-types/commands/UpdateResponsibilityTransferCommand.d.ts +516 -0
  79. package/dist-types/commands/index.d.ts +6 -0
  80. package/dist-types/models/enums.d.ts +105 -47
  81. package/dist-types/models/errors.d.ts +507 -386
  82. package/dist-types/models/models_0.d.ts +483 -283
  83. package/dist-types/schemas/schemas_0.d.ts +25 -0
  84. package/dist-types/ts3.4/Organizations.d.ts +120 -0
  85. package/dist-types/ts3.4/OrganizationsClient.d.ts +38 -2
  86. package/dist-types/ts3.4/commands/DescribeResponsibilityTransferCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ListInboundResponsibilityTransfersCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/ListOutboundResponsibilityTransfersCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/TerminateResponsibilityTransferCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/UpdateResponsibilityTransferCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  93. package/dist-types/ts3.4/models/enums.d.ts +87 -41
  94. package/dist-types/ts3.4/models/errors.d.ts +53 -20
  95. package/dist-types/ts3.4/models/models_0.d.ts +68 -0
  96. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  97. package/package.json +1 -1
@@ -0,0 +1,526 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TerminateResponsibilityTransferRequest, TerminateResponsibilityTransferResponse } from "../models/models_0";
4
+ import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TerminateResponsibilityTransferCommand}.
14
+ */
15
+ export interface TerminateResponsibilityTransferCommandInput extends TerminateResponsibilityTransferRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TerminateResponsibilityTransferCommand}.
21
+ */
22
+ export interface TerminateResponsibilityTransferCommandOutput extends TerminateResponsibilityTransferResponse, __MetadataBearer {
23
+ }
24
+ declare const TerminateResponsibilityTransferCommand_base: {
25
+ new (input: TerminateResponsibilityTransferCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateResponsibilityTransferCommandInput, TerminateResponsibilityTransferCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TerminateResponsibilityTransferCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateResponsibilityTransferCommandInput, TerminateResponsibilityTransferCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Ends a transfer. A <i>transfer</i> is an arrangement between two
31
+ * management accounts where one account designates the other with specified
32
+ * responsibilities for their organization.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { OrganizationsClient, TerminateResponsibilityTransferCommand } from "@aws-sdk/client-organizations"; // ES Modules import
37
+ * // const { OrganizationsClient, TerminateResponsibilityTransferCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
38
+ * // import type { OrganizationsClientConfig } from "@aws-sdk/client-organizations";
39
+ * const config = {}; // type is OrganizationsClientConfig
40
+ * const client = new OrganizationsClient(config);
41
+ * const input = { // TerminateResponsibilityTransferRequest
42
+ * Id: "STRING_VALUE", // required
43
+ * EndTimestamp: new Date("TIMESTAMP"),
44
+ * };
45
+ * const command = new TerminateResponsibilityTransferCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // TerminateResponsibilityTransferResponse
48
+ * // ResponsibilityTransfer: { // ResponsibilityTransfer
49
+ * // Arn: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // Id: "STRING_VALUE",
52
+ * // Type: "BILLING",
53
+ * // Status: "REQUESTED" || "DECLINED" || "CANCELED" || "EXPIRED" || "ACCEPTED" || "WITHDRAWN",
54
+ * // Source: { // TransferParticipant
55
+ * // ManagementAccountId: "STRING_VALUE",
56
+ * // ManagementAccountEmail: "STRING_VALUE",
57
+ * // },
58
+ * // Target: {
59
+ * // ManagementAccountId: "STRING_VALUE",
60
+ * // ManagementAccountEmail: "STRING_VALUE",
61
+ * // },
62
+ * // StartTimestamp: new Date("TIMESTAMP"),
63
+ * // EndTimestamp: new Date("TIMESTAMP"),
64
+ * // ActiveHandshakeId: "STRING_VALUE",
65
+ * // },
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param TerminateResponsibilityTransferCommandInput - {@link TerminateResponsibilityTransferCommandInput}
71
+ * @returns {@link TerminateResponsibilityTransferCommandOutput}
72
+ * @see {@link TerminateResponsibilityTransferCommandInput} for command's `input` shape.
73
+ * @see {@link TerminateResponsibilityTransferCommandOutput} for command's `response` shape.
74
+ * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>You don't have permissions to perform the requested operation. The user or role that
78
+ * is making the request must have at least one IAM permissions policy attached that
79
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
80
+ * <i>IAM User Guide</i>.</p>
81
+ *
82
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
83
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
84
+ * credentials of an account that belongs to an organization.</p>
85
+ *
86
+ * @throws {@link ConcurrentModificationException} (client fault)
87
+ * <p>The target of the operation is currently being modified by a different request. Try
88
+ * again later.</p>
89
+ *
90
+ * @throws {@link ConstraintViolationException} (client fault)
91
+ * <p>Performing this operation violates a minimum or maximum value limit. For example,
92
+ * attempting to remove the last service control policy (SCP) from an OU or root, inviting
93
+ * or creating too many accounts to the organization, or attaching too many policies to an
94
+ * account, OU, or root. This exception includes a reason that contains additional
95
+ * information about the violated limit:</p>
96
+ * <note>
97
+ * <p>Some of the reasons in the following list might not be applicable to this specific
98
+ * API or operation.</p>
99
+ * </note>
100
+ * <ul>
101
+ * <li>
102
+ * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
103
+ * account from the organization. You can't remove the management account. Instead,
104
+ * after you remove all member accounts, delete the organization itself.</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
108
+ * account from the organization that doesn't yet have enough information to exist
109
+ * as a standalone account. This account requires you to first complete phone
110
+ * verification. Follow the steps at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master">Removing a member account from your organization</a> in the
111
+ * <i>Organizations User Guide</i>.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
115
+ * accounts that you can create in one day.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
119
+ * account isn't fully active. You must complete the account setup before you
120
+ * create an organization.</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>ACTIVE_RESPONSIBILITY_TRANSFER_PROCESS: You cannot delete organization due to an ongoing responsibility transfer process. For example, a pending invitation or an in-progress transfer. To delete the organization, you must resolve the current transfer process.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
127
+ * of accounts in an organization. If you need more accounts, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a> to
128
+ * request an increase in your limit. </p>
129
+ * <p>Or the number of invitations that you tried to send would cause you to exceed
130
+ * the limit of accounts in your organization. Send fewer invitations or contact
131
+ * Amazon Web Services Support to request an increase in the number of accounts.</p>
132
+ * <note>
133
+ * <p>Deleted and closed accounts still count toward your limit.</p>
134
+ * </note>
135
+ * <important>
136
+ * <p>If you get this exception when running a command immediately after
137
+ * creating the organization, wait one hour and try again. After an hour, if
138
+ * the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
139
+ * </important>
140
+ * </li>
141
+ * <li>
142
+ * <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
143
+ * more than 5000 accounts, and you can only use the standard migration process for
144
+ * organizations with less than 5000 accounts. Use the assisted migration process
145
+ * to enable all features mode, or create a support case for assistance if you are
146
+ * unable to use assisted migration.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
150
+ * register a suspended account as a delegated administrator.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
154
+ * the management account of the organization as a delegated administrator for an
155
+ * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
156
+ * delegated administrator.</p>
157
+ * </li>
158
+ * <li>
159
+ * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
160
+ * account. To close the management account for the organization, you must first
161
+ * either remove or close all member accounts in the organization. Follow standard
162
+ * account closure process using root credentials.​ </p>
163
+ * </li>
164
+ * <li>
165
+ * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
166
+ * account that is registered as a delegated administrator for a service integrated
167
+ * with your organization. To complete this operation, you must first deregister
168
+ * this account as a delegated administrator. </p>
169
+ * </li>
170
+ * <li>
171
+ * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
172
+ * past 30 days. </p>
173
+ * </li>
174
+ * <li>
175
+ * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
176
+ * accounts that you can close at a time. ​ </p>
177
+ * </li>
178
+ * <li>
179
+ * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
180
+ * organization in the specified region, you must enable all features mode.</p>
181
+ * </li>
182
+ * <li>
183
+ * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
184
+ * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
185
+ * a delegated administrator. To complete this operation, you must first deregister
186
+ * any existing delegated administrators for this service.</p>
187
+ * </li>
188
+ * <li>
189
+ * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
190
+ * a limited period of time. You must resubmit the request and generate a new
191
+ * verification code.</p>
192
+ * </li>
193
+ * <li>
194
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
195
+ * handshakes that you can send in one day.</p>
196
+ * </li>
197
+ * <li>
198
+ * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
199
+ * payment method is associated with the account. Amazon Web Services does not support cards
200
+ * issued by financial institutions in Russia or Belarus. For more information, see
201
+ * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
202
+ * Amazon Web Services payments</a>.</p>
203
+ * </li>
204
+ * <li>
205
+ * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
206
+ * this organization, you first must migrate the organization's management account
207
+ * to the marketplace that corresponds to the management account's address. All
208
+ * accounts in an organization must be associated with the same marketplace.</p>
209
+ * </li>
210
+ * <li>
211
+ * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
212
+ * China. To create an organization, the master must have a valid business license.
213
+ * For more information, contact customer support.</p>
214
+ * </li>
215
+ * <li>
216
+ * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
217
+ * first provide a valid contact address and phone number for the management
218
+ * account. Then try the operation again.</p>
219
+ * </li>
220
+ * <li>
221
+ * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
222
+ * management account must have an associated account in the Amazon Web Services GovCloud
223
+ * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
224
+ * in the
225
+ * <i>Amazon Web Services GovCloud User Guide</i>.</p>
226
+ * </li>
227
+ * <li>
228
+ * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
229
+ * this management account, you first must associate a valid payment instrument,
230
+ * such as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
231
+ * the <i>Organizations User Guide</i>.</p>
232
+ * </li>
233
+ * <li>
234
+ * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
235
+ * register more delegated administrators than allowed for the service principal.
236
+ * </p>
237
+ * </li>
238
+ * <li>
239
+ * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
240
+ * of policies of a certain type that can be attached to an entity at one
241
+ * time.</p>
242
+ * </li>
243
+ * <li>
244
+ * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
245
+ * resource. </p>
246
+ * </li>
247
+ * <li>
248
+ * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
249
+ * this member account, you first must associate a valid payment instrument, such
250
+ * as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
251
+ * the <i>Organizations User Guide</i>.</p>
252
+ * </li>
253
+ * <li>
254
+ * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
255
+ * from an entity that would cause the entity to have fewer than the minimum number
256
+ * of policies of a certain type required.</p>
257
+ * </li>
258
+ * <li>
259
+ * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
260
+ * that requires the organization to be configured to support all features. An
261
+ * organization that supports only consolidated billing features can't perform this
262
+ * operation.</p>
263
+ * </li>
264
+ * <li>
265
+ * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
266
+ * levels deep.</p>
267
+ * </li>
268
+ * <li>
269
+ * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
270
+ * can have in an organization.</p>
271
+ * </li>
272
+ * <li>
273
+ * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
274
+ * than the maximum size.</p>
275
+ * </li>
276
+ * <li>
277
+ * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
278
+ * that you can have in an organization.</p>
279
+ * </li>
280
+ * <li>
281
+ * <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
282
+ * before you disabled the policy type (for example, SECURITYHUB_POLICY). To
283
+ * complete this operation, you must first disable the policy type.</p>
284
+ * </li>
285
+ * <li>
286
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
287
+ * transfers limit.</p>
288
+ * </li>
289
+ * <li>
290
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
291
+ * transfer chain.</p>
292
+ * </li>
293
+ * <li>
294
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
295
+ * transfers limit.</p>
296
+ * </li>
297
+ * <li>
298
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
299
+ * number of inbound transfers allowed in a transfer chain.</p>
300
+ * </li>
301
+ * <li>
302
+ * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
303
+ * <ul>
304
+ * <li>
305
+ * <p>You attempted to register a delegated administrator before you enabled
306
+ * service access. Call the <code>EnableAWSServiceAccess</code> API
307
+ * first.</p>
308
+ * </li>
309
+ * <li>
310
+ * <p>You attempted to enable a policy type before you enabled service
311
+ * access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
312
+ * </li>
313
+ * </ul>
314
+ * </li>
315
+ * <li>
316
+ * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
317
+ * that are not compliant with the tag policy requirements for this account.</p>
318
+ * </li>
319
+ * <li>
320
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
321
+ * this transfer invitation because it is marked for deletion.</p>
322
+ * </li>
323
+ * <li>
324
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
325
+ * this transfer invitation because target organization is marked for deletion.</p>
326
+ * </li>
327
+ * <li>
328
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
329
+ * </li>
330
+ * <li>
331
+ * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
332
+ * least four days after the account was created. Invited accounts aren't subject
333
+ * to this waiting period.</p>
334
+ * </li>
335
+ * </ul>
336
+ *
337
+ * @throws {@link InvalidInputException} (client fault)
338
+ * <p>The requested operation failed because you provided invalid values for one or more of
339
+ * the request parameters. This exception includes a reason that contains additional
340
+ * information about the violated limit:</p>
341
+ * <note>
342
+ * <p>Some of the reasons in the following list might not be applicable to this specific
343
+ * API or operation.</p>
344
+ * </note>
345
+ * <ul>
346
+ * <li>
347
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
348
+ * </li>
349
+ * <li>
350
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
351
+ * entity.</p>
352
+ * </li>
353
+ * <li>
354
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
355
+ * of the last day of the month (23.59.59.999).</p>
356
+ * </li>
357
+ * <li>
358
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
359
+ * end.</p>
360
+ * </li>
361
+ * <li>
362
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
363
+ * modified.</p>
364
+ * </li>
365
+ * <li>
366
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
367
+ * </li>
368
+ * <li>
369
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
370
+ * invited account owner.</p>
371
+ * </li>
372
+ * <li>
373
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
374
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
375
+ * Partner for help.</p>
376
+ * </li>
377
+ * <li>
378
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
379
+ * </li>
380
+ * <li>
381
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
382
+ * </li>
383
+ * <li>
384
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
385
+ * characters.</p>
386
+ * </li>
387
+ * <li>
388
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
389
+ * one invalid value.</p>
390
+ * </li>
391
+ * <li>
392
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
393
+ * parameter from the response to a previous call of the operation.</p>
394
+ * </li>
395
+ * <li>
396
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
397
+ * organization, or email) as a party.</p>
398
+ * </li>
399
+ * <li>
400
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
401
+ * pattern.</p>
402
+ * </li>
403
+ * <li>
404
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
405
+ * the required pattern.</p>
406
+ * </li>
407
+ * <li>
408
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
409
+ * policy.</p>
410
+ * </li>
411
+ * <li>
412
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
413
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
414
+ * </li>
415
+ * <li>
416
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
417
+ * </li>
418
+ * <li>
419
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
420
+ * (ARN) for the organization.</p>
421
+ * </li>
422
+ * <li>
423
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
424
+ * </li>
425
+ * <li>
426
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
427
+ * You can’t add, edit, or delete system tag keys because they're reserved for
428
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
429
+ * </li>
430
+ * <li>
431
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
432
+ * operation.</p>
433
+ * </li>
434
+ * <li>
435
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
436
+ * allowed.</p>
437
+ * </li>
438
+ * <li>
439
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
440
+ * than allowed.</p>
441
+ * </li>
442
+ * <li>
443
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
444
+ * allowed.</p>
445
+ * </li>
446
+ * <li>
447
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
448
+ * than allowed.</p>
449
+ * </li>
450
+ * <li>
451
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
452
+ * entities in the same root.</p>
453
+ * </li>
454
+ * <li>
455
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
456
+ * </li>
457
+ * <li>
458
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
459
+ * be the beginning of the day (00:00:00.000).</p>
460
+ * </li>
461
+ * <li>
462
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
463
+ * be the first day of the month.</p>
464
+ * </li>
465
+ * <li>
466
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
467
+ * </li>
468
+ * <li>
469
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
470
+ * </li>
471
+ * <li>
472
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
473
+ * entity.</p>
474
+ * </li>
475
+ * <li>
476
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
477
+ * recognized.</p>
478
+ * </li>
479
+ * <li>
480
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
481
+ * by this operation.</p>
482
+ * </li>
483
+ * </ul>
484
+ *
485
+ * @throws {@link InvalidResponsibilityTransferTransitionException} (client fault)
486
+ * <p>The responsibility transfer can't transition to the requested state because it's not
487
+ * in a valid state for this operation.</p>
488
+ *
489
+ * @throws {@link ResponsibilityTransferAlreadyInStatusException} (client fault)
490
+ * <p>The responsibility transfer is already in the status that you specified.</p>
491
+ *
492
+ * @throws {@link ResponsibilityTransferNotFoundException} (client fault)
493
+ * <p>We can't find a transfer that you specified.</p>
494
+ *
495
+ * @throws {@link ServiceException} (server fault)
496
+ * <p>Organizations can't complete your request because of an internal service error. Try again
497
+ * later.</p>
498
+ *
499
+ * @throws {@link TooManyRequestsException} (client fault)
500
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
501
+ * against denial-of-service attacks. Try again later.</p>
502
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a> in the
503
+ * <i>Organizations User Guide</i>.</p>
504
+ *
505
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
506
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
507
+ *
508
+ * @throws {@link OrganizationsServiceException}
509
+ * <p>Base exception class for all service exceptions from Organizations service.</p>
510
+ *
511
+ *
512
+ * @public
513
+ */
514
+ export declare class TerminateResponsibilityTransferCommand extends TerminateResponsibilityTransferCommand_base {
515
+ /** @internal type navigation helper, not in runtime. */
516
+ protected static __types: {
517
+ api: {
518
+ input: TerminateResponsibilityTransferRequest;
519
+ output: TerminateResponsibilityTransferResponse;
520
+ };
521
+ sdk: {
522
+ input: TerminateResponsibilityTransferCommandInput;
523
+ output: TerminateResponsibilityTransferCommandOutput;
524
+ };
525
+ };
526
+ }