@aws-sdk/client-organizations 3.935.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 +12 -12
@@ -0,0 +1,617 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InviteOrganizationToTransferResponsibilityRequest, InviteOrganizationToTransferResponsibilityResponse } 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 InviteOrganizationToTransferResponsibilityCommand}.
14
+ */
15
+ export interface InviteOrganizationToTransferResponsibilityCommandInput extends InviteOrganizationToTransferResponsibilityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link InviteOrganizationToTransferResponsibilityCommand}.
21
+ */
22
+ export interface InviteOrganizationToTransferResponsibilityCommandOutput extends InviteOrganizationToTransferResponsibilityResponse, __MetadataBearer {
23
+ }
24
+ declare const InviteOrganizationToTransferResponsibilityCommand_base: {
25
+ new (input: InviteOrganizationToTransferResponsibilityCommandInput): import("@smithy/smithy-client").CommandImpl<InviteOrganizationToTransferResponsibilityCommandInput, InviteOrganizationToTransferResponsibilityCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: InviteOrganizationToTransferResponsibilityCommandInput): import("@smithy/smithy-client").CommandImpl<InviteOrganizationToTransferResponsibilityCommandInput, InviteOrganizationToTransferResponsibilityCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sends an invitation to another organization's management account to designate your
31
+ * account with the specified responsibilities for their organization. The invitation is
32
+ * implemented as a <a>Handshake</a> whose details are in the response.</p>
33
+ * <p>You can only call this operation from the management account.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OrganizationsClient, InviteOrganizationToTransferResponsibilityCommand } from "@aws-sdk/client-organizations"; // ES Modules import
38
+ * // const { OrganizationsClient, InviteOrganizationToTransferResponsibilityCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
39
+ * // import type { OrganizationsClientConfig } from "@aws-sdk/client-organizations";
40
+ * const config = {}; // type is OrganizationsClientConfig
41
+ * const client = new OrganizationsClient(config);
42
+ * const input = { // InviteOrganizationToTransferResponsibilityRequest
43
+ * Type: "BILLING", // required
44
+ * Target: { // HandshakeParty
45
+ * Id: "STRING_VALUE", // required
46
+ * Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
47
+ * },
48
+ * Notes: "STRING_VALUE",
49
+ * StartTimestamp: new Date("TIMESTAMP"), // required
50
+ * SourceName: "STRING_VALUE", // required
51
+ * Tags: [ // Tags
52
+ * { // Tag
53
+ * Key: "STRING_VALUE", // required
54
+ * Value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * };
58
+ * const command = new InviteOrganizationToTransferResponsibilityCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // InviteOrganizationToTransferResponsibilityResponse
61
+ * // Handshake: { // Handshake
62
+ * // Id: "STRING_VALUE",
63
+ * // Arn: "STRING_VALUE",
64
+ * // Parties: [ // HandshakeParties
65
+ * // { // HandshakeParty
66
+ * // Id: "STRING_VALUE", // required
67
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "EMAIL", // required
68
+ * // },
69
+ * // ],
70
+ * // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
71
+ * // RequestedTimestamp: new Date("TIMESTAMP"),
72
+ * // ExpirationTimestamp: new Date("TIMESTAMP"),
73
+ * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE" || "TRANSFER_RESPONSIBILITY",
74
+ * // Resources: [ // HandshakeResources
75
+ * // { // HandshakeResource
76
+ * // Value: "STRING_VALUE",
77
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
78
+ * // Resources: [
79
+ * // {
80
+ * // Value: "STRING_VALUE",
81
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
82
+ * // Resources: "<HandshakeResources>",
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param InviteOrganizationToTransferResponsibilityCommandInput - {@link InviteOrganizationToTransferResponsibilityCommandInput}
93
+ * @returns {@link InviteOrganizationToTransferResponsibilityCommandOutput}
94
+ * @see {@link InviteOrganizationToTransferResponsibilityCommandInput} for command's `input` shape.
95
+ * @see {@link InviteOrganizationToTransferResponsibilityCommandOutput} for command's `response` shape.
96
+ * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You don't have permissions to perform the requested operation. The user or role that
100
+ * is making the request must have at least one IAM permissions policy attached that
101
+ * 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
102
+ * <i>IAM User Guide</i>.</p>
103
+ *
104
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
105
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
106
+ * credentials of an account that belongs to an organization.</p>
107
+ *
108
+ * @throws {@link ConcurrentModificationException} (client fault)
109
+ * <p>The target of the operation is currently being modified by a different request. Try
110
+ * again later.</p>
111
+ *
112
+ * @throws {@link ConstraintViolationException} (client fault)
113
+ * <p>Performing this operation violates a minimum or maximum value limit. For example,
114
+ * attempting to remove the last service control policy (SCP) from an OU or root, inviting
115
+ * or creating too many accounts to the organization, or attaching too many policies to an
116
+ * account, OU, or root. This exception includes a reason that contains additional
117
+ * information about the violated limit:</p>
118
+ * <note>
119
+ * <p>Some of the reasons in the following list might not be applicable to this specific
120
+ * API or operation.</p>
121
+ * </note>
122
+ * <ul>
123
+ * <li>
124
+ * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
125
+ * account from the organization. You can't remove the management account. Instead,
126
+ * after you remove all member accounts, delete the organization itself.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
130
+ * account from the organization that doesn't yet have enough information to exist
131
+ * as a standalone account. This account requires you to first complete phone
132
+ * 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
133
+ * <i>Organizations User Guide</i>.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
137
+ * accounts that you can create in one day.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
141
+ * account isn't fully active. You must complete the account setup before you
142
+ * create an organization.</p>
143
+ * </li>
144
+ * <li>
145
+ * <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>
146
+ * </li>
147
+ * <li>
148
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
149
+ * 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
150
+ * request an increase in your limit. </p>
151
+ * <p>Or the number of invitations that you tried to send would cause you to exceed
152
+ * the limit of accounts in your organization. Send fewer invitations or contact
153
+ * Amazon Web Services Support to request an increase in the number of accounts.</p>
154
+ * <note>
155
+ * <p>Deleted and closed accounts still count toward your limit.</p>
156
+ * </note>
157
+ * <important>
158
+ * <p>If you get this exception when running a command immediately after
159
+ * creating the organization, wait one hour and try again. After an hour, if
160
+ * the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
161
+ * </important>
162
+ * </li>
163
+ * <li>
164
+ * <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
165
+ * more than 5000 accounts, and you can only use the standard migration process for
166
+ * organizations with less than 5000 accounts. Use the assisted migration process
167
+ * to enable all features mode, or create a support case for assistance if you are
168
+ * unable to use assisted migration.</p>
169
+ * </li>
170
+ * <li>
171
+ * <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
172
+ * register a suspended account as a delegated administrator.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
176
+ * the management account of the organization as a delegated administrator for an
177
+ * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
178
+ * delegated administrator.</p>
179
+ * </li>
180
+ * <li>
181
+ * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
182
+ * account. To close the management account for the organization, you must first
183
+ * either remove or close all member accounts in the organization. Follow standard
184
+ * account closure process using root credentials.​ </p>
185
+ * </li>
186
+ * <li>
187
+ * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
188
+ * account that is registered as a delegated administrator for a service integrated
189
+ * with your organization. To complete this operation, you must first deregister
190
+ * this account as a delegated administrator. </p>
191
+ * </li>
192
+ * <li>
193
+ * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
194
+ * past 30 days. </p>
195
+ * </li>
196
+ * <li>
197
+ * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
198
+ * accounts that you can close at a time. ​ </p>
199
+ * </li>
200
+ * <li>
201
+ * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
202
+ * organization in the specified region, you must enable all features mode.</p>
203
+ * </li>
204
+ * <li>
205
+ * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
206
+ * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
207
+ * a delegated administrator. To complete this operation, you must first deregister
208
+ * any existing delegated administrators for this service.</p>
209
+ * </li>
210
+ * <li>
211
+ * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
212
+ * a limited period of time. You must resubmit the request and generate a new
213
+ * verification code.</p>
214
+ * </li>
215
+ * <li>
216
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
217
+ * handshakes that you can send in one day.</p>
218
+ * </li>
219
+ * <li>
220
+ * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
221
+ * payment method is associated with the account. Amazon Web Services does not support cards
222
+ * issued by financial institutions in Russia or Belarus. For more information, see
223
+ * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
224
+ * Amazon Web Services payments</a>.</p>
225
+ * </li>
226
+ * <li>
227
+ * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
228
+ * this organization, you first must migrate the organization's management account
229
+ * to the marketplace that corresponds to the management account's address. All
230
+ * accounts in an organization must be associated with the same marketplace.</p>
231
+ * </li>
232
+ * <li>
233
+ * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
234
+ * China. To create an organization, the master must have a valid business license.
235
+ * For more information, contact customer support.</p>
236
+ * </li>
237
+ * <li>
238
+ * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
239
+ * first provide a valid contact address and phone number for the management
240
+ * account. Then try the operation again.</p>
241
+ * </li>
242
+ * <li>
243
+ * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
244
+ * management account must have an associated account in the Amazon Web Services GovCloud
245
+ * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
246
+ * in the
247
+ * <i>Amazon Web Services GovCloud User Guide</i>.</p>
248
+ * </li>
249
+ * <li>
250
+ * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
251
+ * this management account, you first must associate a valid payment instrument,
252
+ * 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
253
+ * the <i>Organizations User Guide</i>.</p>
254
+ * </li>
255
+ * <li>
256
+ * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
257
+ * register more delegated administrators than allowed for the service principal.
258
+ * </p>
259
+ * </li>
260
+ * <li>
261
+ * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
262
+ * of policies of a certain type that can be attached to an entity at one
263
+ * time.</p>
264
+ * </li>
265
+ * <li>
266
+ * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
267
+ * resource. </p>
268
+ * </li>
269
+ * <li>
270
+ * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
271
+ * this member account, you first must associate a valid payment instrument, such
272
+ * 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
273
+ * the <i>Organizations User Guide</i>.</p>
274
+ * </li>
275
+ * <li>
276
+ * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
277
+ * from an entity that would cause the entity to have fewer than the minimum number
278
+ * of policies of a certain type required.</p>
279
+ * </li>
280
+ * <li>
281
+ * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
282
+ * that requires the organization to be configured to support all features. An
283
+ * organization that supports only consolidated billing features can't perform this
284
+ * operation.</p>
285
+ * </li>
286
+ * <li>
287
+ * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
288
+ * levels deep.</p>
289
+ * </li>
290
+ * <li>
291
+ * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
292
+ * can have in an organization.</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
296
+ * than the maximum size.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
300
+ * that you can have in an organization.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
304
+ * before you disabled the policy type (for example, SECURITYHUB_POLICY). To
305
+ * complete this operation, you must first disable the policy type.</p>
306
+ * </li>
307
+ * <li>
308
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
309
+ * transfers limit.</p>
310
+ * </li>
311
+ * <li>
312
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
313
+ * transfer chain.</p>
314
+ * </li>
315
+ * <li>
316
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
317
+ * transfers limit.</p>
318
+ * </li>
319
+ * <li>
320
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
321
+ * number of inbound transfers allowed in a transfer chain.</p>
322
+ * </li>
323
+ * <li>
324
+ * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
325
+ * <ul>
326
+ * <li>
327
+ * <p>You attempted to register a delegated administrator before you enabled
328
+ * service access. Call the <code>EnableAWSServiceAccess</code> API
329
+ * first.</p>
330
+ * </li>
331
+ * <li>
332
+ * <p>You attempted to enable a policy type before you enabled service
333
+ * access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
334
+ * </li>
335
+ * </ul>
336
+ * </li>
337
+ * <li>
338
+ * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
339
+ * that are not compliant with the tag policy requirements for this account.</p>
340
+ * </li>
341
+ * <li>
342
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
343
+ * this transfer invitation because it is marked for deletion.</p>
344
+ * </li>
345
+ * <li>
346
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
347
+ * this transfer invitation because target organization is marked for deletion.</p>
348
+ * </li>
349
+ * <li>
350
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
351
+ * </li>
352
+ * <li>
353
+ * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
354
+ * least four days after the account was created. Invited accounts aren't subject
355
+ * to this waiting period.</p>
356
+ * </li>
357
+ * </ul>
358
+ *
359
+ * @throws {@link DuplicateHandshakeException} (client fault)
360
+ * <p>A handshake with the same action and target already exists. For example, if you
361
+ * invited an account to join your organization, the invited account might already have a
362
+ * pending invitation from this organization. If you intend to resend an invitation to an
363
+ * account, ensure that existing handshakes that might be considered duplicates are
364
+ * canceled or declined.</p>
365
+ *
366
+ * @throws {@link HandshakeConstraintViolationException} (client fault)
367
+ * <p>The requested operation would violate the constraint identified in the reason
368
+ * code.</p>
369
+ * <note>
370
+ * <p>Some of the reasons in the following list might not be applicable to this specific
371
+ * API or operation:</p>
372
+ * </note>
373
+ * <ul>
374
+ * <li>
375
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
376
+ * of accounts in an organization. Note that deleted and closed accounts still
377
+ * count toward your limit.</p>
378
+ * <important>
379
+ * <p>If you get this exception immediately after creating the organization,
380
+ * wait one hour and try again. If after an hour it continues to fail with this
381
+ * error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services
382
+ * Support</a>.</p>
383
+ * </important>
384
+ * </li>
385
+ * <li>
386
+ * <p>ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because the
387
+ * invited account is already a member of an organization.</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
391
+ * handshakes that you can send in one day.</p>
392
+ * </li>
393
+ * <li>
394
+ * <p>INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations to
395
+ * join an organization while it's in the process of enabling all features. You can
396
+ * resume inviting accounts after you finalize the process when all accounts have
397
+ * agreed to the change.</p>
398
+ * </li>
399
+ * <li>
400
+ * <p>LEGACY_PERMISSIONS_STILL_IN_USE: Your organization must migrate to use the new IAM
401
+ * fine-grained actions for billing, cost management, and accounts.</p>
402
+ * </li>
403
+ * <li>
404
+ * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
405
+ * because the organization has already enabled all features.</p>
406
+ * </li>
407
+ * <li>
408
+ * <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
409
+ * account is from a different marketplace than the accounts in the
410
+ * organization.</p>
411
+ * </li>
412
+ * <li>
413
+ * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
414
+ * is invalid because the organization has already started the process to enable
415
+ * all features.</p>
416
+ * </li>
417
+ * <li>
418
+ * <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
419
+ * the membership of an account too quickly after its previous change.</p>
420
+ * </li>
421
+ * <li>
422
+ * <p>PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an account
423
+ * that doesn't have a payment instrument, such as a credit card, associated with
424
+ * it.</p>
425
+ * </li>
426
+ * <li>
427
+ * <p>RESPONSIBILITY_TRANSFER_ALREADY_EXISTS: You cannot perform this operation with the current
428
+ * transfer.</p>
429
+ * </li>
430
+ * <li>
431
+ * <p>SOURCE_AND_TARGET_CANNOT_MATCH: An account can't accept a transfer invitation if it is both the sender and recipient of the invitation.</p>
432
+ * </li>
433
+ * <li>
434
+ * <p>UNUSED_PREPAYMENT_BALANCE: Your organization has an outstanding pre-payment balance.</p>
435
+ * </li>
436
+ * </ul>
437
+ *
438
+ * @throws {@link InvalidInputException} (client fault)
439
+ * <p>The requested operation failed because you provided invalid values for one or more of
440
+ * the request parameters. This exception includes a reason that contains additional
441
+ * information about the violated limit:</p>
442
+ * <note>
443
+ * <p>Some of the reasons in the following list might not be applicable to this specific
444
+ * API or operation.</p>
445
+ * </note>
446
+ * <ul>
447
+ * <li>
448
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
449
+ * </li>
450
+ * <li>
451
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
452
+ * entity.</p>
453
+ * </li>
454
+ * <li>
455
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
456
+ * of the last day of the month (23.59.59.999).</p>
457
+ * </li>
458
+ * <li>
459
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
460
+ * end.</p>
461
+ * </li>
462
+ * <li>
463
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
464
+ * modified.</p>
465
+ * </li>
466
+ * <li>
467
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
468
+ * </li>
469
+ * <li>
470
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
471
+ * invited account owner.</p>
472
+ * </li>
473
+ * <li>
474
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
475
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
476
+ * Partner for help.</p>
477
+ * </li>
478
+ * <li>
479
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
480
+ * </li>
481
+ * <li>
482
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
483
+ * </li>
484
+ * <li>
485
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
486
+ * characters.</p>
487
+ * </li>
488
+ * <li>
489
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
490
+ * one invalid value.</p>
491
+ * </li>
492
+ * <li>
493
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
494
+ * parameter from the response to a previous call of the operation.</p>
495
+ * </li>
496
+ * <li>
497
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
498
+ * organization, or email) as a party.</p>
499
+ * </li>
500
+ * <li>
501
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
502
+ * pattern.</p>
503
+ * </li>
504
+ * <li>
505
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
506
+ * the required pattern.</p>
507
+ * </li>
508
+ * <li>
509
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
510
+ * policy.</p>
511
+ * </li>
512
+ * <li>
513
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
514
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
515
+ * </li>
516
+ * <li>
517
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
518
+ * </li>
519
+ * <li>
520
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
521
+ * (ARN) for the organization.</p>
522
+ * </li>
523
+ * <li>
524
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
525
+ * </li>
526
+ * <li>
527
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
528
+ * You can’t add, edit, or delete system tag keys because they're reserved for
529
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
530
+ * </li>
531
+ * <li>
532
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
533
+ * operation.</p>
534
+ * </li>
535
+ * <li>
536
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
537
+ * allowed.</p>
538
+ * </li>
539
+ * <li>
540
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
541
+ * than allowed.</p>
542
+ * </li>
543
+ * <li>
544
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
545
+ * allowed.</p>
546
+ * </li>
547
+ * <li>
548
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
549
+ * than allowed.</p>
550
+ * </li>
551
+ * <li>
552
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
553
+ * entities in the same root.</p>
554
+ * </li>
555
+ * <li>
556
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
557
+ * </li>
558
+ * <li>
559
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
560
+ * be the beginning of the day (00:00:00.000).</p>
561
+ * </li>
562
+ * <li>
563
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
564
+ * be the first day of the month.</p>
565
+ * </li>
566
+ * <li>
567
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
568
+ * </li>
569
+ * <li>
570
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
571
+ * </li>
572
+ * <li>
573
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
574
+ * entity.</p>
575
+ * </li>
576
+ * <li>
577
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
578
+ * recognized.</p>
579
+ * </li>
580
+ * <li>
581
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
582
+ * by this operation.</p>
583
+ * </li>
584
+ * </ul>
585
+ *
586
+ * @throws {@link ServiceException} (server fault)
587
+ * <p>Organizations can't complete your request because of an internal service error. Try again
588
+ * later.</p>
589
+ *
590
+ * @throws {@link TooManyRequestsException} (client fault)
591
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
592
+ * against denial-of-service attacks. Try again later.</p>
593
+ * <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
594
+ * <i>Organizations User Guide</i>.</p>
595
+ *
596
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
597
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
598
+ *
599
+ * @throws {@link OrganizationsServiceException}
600
+ * <p>Base exception class for all service exceptions from Organizations service.</p>
601
+ *
602
+ *
603
+ * @public
604
+ */
605
+ export declare class InviteOrganizationToTransferResponsibilityCommand extends InviteOrganizationToTransferResponsibilityCommand_base {
606
+ /** @internal type navigation helper, not in runtime. */
607
+ protected static __types: {
608
+ api: {
609
+ input: InviteOrganizationToTransferResponsibilityRequest;
610
+ output: InviteOrganizationToTransferResponsibilityResponse;
611
+ };
612
+ sdk: {
613
+ input: InviteOrganizationToTransferResponsibilityCommandInput;
614
+ output: InviteOrganizationToTransferResponsibilityCommandOutput;
615
+ };
616
+ };
617
+ }