@aws-sdk/client-organizations 3.398.0 → 3.401.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/README.md +3 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/Organizations.d.ts +3 -3
- package/dist-types/OrganizationsClient.d.ts +3 -3
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +8 -10
- package/dist-types/commands/AttachPolicyCommand.d.ts +22 -23
- package/dist-types/commands/CancelHandshakeCommand.d.ts +3 -5
- package/dist-types/commands/CloseAccountCommand.d.ts +24 -28
- package/dist-types/commands/CreateAccountCommand.d.ts +31 -33
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +34 -40
- package/dist-types/commands/CreateOrganizationCommand.d.ts +20 -21
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +20 -22
- package/dist-types/commands/CreatePolicyCommand.d.ts +24 -26
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +3 -5
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +4 -6
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +3 -5
- package/dist-types/commands/DeletePolicyCommand.d.ts +5 -6
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -19
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +18 -19
- package/dist-types/commands/DescribeAccountCommand.d.ts +3 -5
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -5
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +21 -23
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +3 -5
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +3 -5
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -5
- package/dist-types/commands/DescribePolicyCommand.d.ts +3 -5
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +20 -21
- package/dist-types/commands/DetachPolicyCommand.d.ts +20 -20
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +20 -22
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +22 -23
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +21 -23
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +7 -9
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +21 -22
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +24 -25
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +28 -26
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +20 -22
- package/dist-types/commands/ListAccountsCommand.d.ts +3 -5
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -5
- package/dist-types/commands/ListChildrenCommand.d.ts +3 -5
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +3 -5
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +18 -19
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +18 -19
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +3 -5
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -5
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +3 -5
- package/dist-types/commands/ListParentsCommand.d.ts +3 -5
- package/dist-types/commands/ListPoliciesCommand.d.ts +3 -5
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +3 -5
- package/dist-types/commands/ListRootsCommand.d.ts +3 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -5
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +3 -5
- package/dist-types/commands/MoveAccountCommand.d.ts +3 -5
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -19
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +18 -19
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +21 -29
- package/dist-types/commands/TagResourceCommand.d.ts +20 -20
- package/dist-types/commands/UntagResourceCommand.d.ts +20 -20
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +3 -5
- package/dist-types/commands/UpdatePolicyCommand.d.ts +22 -23
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +63 -62
- package/package.json +1 -1
|
@@ -26,7 +26,8 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
26
26
|
* <p>Updates an existing policy with a new name, description, or content. If you don't
|
|
27
27
|
* supply any parameter, that value remains unchanged. You can't change a policy's
|
|
28
28
|
* type.</p>
|
|
29
|
-
* <p>This operation can be called only from the organization's
|
|
29
|
+
* <p>This operation can be called only from the organization's
|
|
30
|
+
* management account or by a member account that is a delegated administrator for an Amazon Web Services service.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -67,8 +68,7 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
67
68
|
* <p>You don't have permissions to perform the requested operation. The user or role that
|
|
68
69
|
* is making the request must have at least one IAM permissions policy attached that
|
|
69
70
|
* 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
|
|
70
|
-
* <i>IAM User Guide
|
|
71
|
-
* </p>
|
|
71
|
+
* <i>IAM User Guide</i>.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link AWSOrganizationsNotInUseException} (client fault)
|
|
74
74
|
* <p>Your account isn't a member of an organization. To make this request, you must use the
|
|
@@ -99,19 +99,20 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
99
99
|
* account from the organization that doesn't yet have enough information to exist
|
|
100
100
|
* as a standalone account. This account requires you to first complete phone
|
|
101
101
|
* 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
|
|
102
|
-
* <i>Organizations User Guide
|
|
103
|
-
* </p>
|
|
102
|
+
* <i>Organizations User Guide</i>.</p>
|
|
104
103
|
* </li>
|
|
105
104
|
* <li>
|
|
106
105
|
* <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
|
|
107
106
|
* accounts that you can create in one day.</p>
|
|
108
107
|
* </li>
|
|
109
108
|
* <li>
|
|
110
|
-
* <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
|
|
109
|
+
* <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
|
|
110
|
+
* account isn't fully active. You must complete the account setup before you
|
|
111
|
+
* create an organization.</p>
|
|
111
112
|
* </li>
|
|
112
113
|
* <li>
|
|
113
114
|
* <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
|
|
114
|
-
* of accounts in an organization. If you need more accounts, contact <a href="https://
|
|
115
|
+
* 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
|
|
115
116
|
* request an increase in your limit. </p>
|
|
116
117
|
* <p>Or the number of invitations that you tried to send would cause you to exceed
|
|
117
118
|
* the limit of accounts in your organization. Send fewer invitations or contact
|
|
@@ -122,11 +123,14 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
122
123
|
* <important>
|
|
123
124
|
* <p>If you get this exception when running a command immediately after
|
|
124
125
|
* creating the organization, wait one hour and try again. After an hour, if
|
|
125
|
-
* the command continues to fail with this error, contact <a href="https://
|
|
126
|
-
* Support</a>.</p>
|
|
126
|
+
* the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
|
|
127
127
|
* </important>
|
|
128
128
|
* </li>
|
|
129
129
|
* <li>
|
|
130
|
+
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
131
|
+
* register a suspended account as a delegated administrator.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* <li>
|
|
130
134
|
* <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
|
|
131
135
|
* the management account of the organization as a delegated administrator for an
|
|
132
136
|
* Amazon Web Services service integrated with Organizations. You can designate only a member account as a
|
|
@@ -201,15 +205,13 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
201
205
|
* management account must have an associated account in the Amazon Web Services GovCloud
|
|
202
206
|
* (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
|
|
203
207
|
* in the
|
|
204
|
-
* <i>Amazon Web Services GovCloud User Guide
|
|
205
|
-
* </p>
|
|
208
|
+
* <i>Amazon Web Services GovCloud User Guide</i>.</p>
|
|
206
209
|
* </li>
|
|
207
210
|
* <li>
|
|
208
211
|
* <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
|
|
209
212
|
* this management account, you first must associate a valid payment instrument,
|
|
210
|
-
* such as a credit card, with the account.
|
|
211
|
-
*
|
|
212
|
-
* </p>
|
|
213
|
+
* 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
|
|
214
|
+
* the <i>Organizations User Guide</i>.</p>
|
|
213
215
|
* </li>
|
|
214
216
|
* <li>
|
|
215
217
|
* <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
|
|
@@ -228,9 +230,8 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
228
230
|
* <li>
|
|
229
231
|
* <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
|
|
230
232
|
* this member account, you first must associate a valid payment instrument, such
|
|
231
|
-
* as a credit card, with the account.
|
|
232
|
-
*
|
|
233
|
-
* </p>
|
|
233
|
+
* 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
|
|
234
|
+
* the <i>Organizations User Guide</i>.</p>
|
|
234
235
|
* </li>
|
|
235
236
|
* <li>
|
|
236
237
|
* <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
|
|
@@ -385,9 +386,8 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
385
386
|
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
386
387
|
* <p>The provided policy document doesn't meet the requirements of the specified policy
|
|
387
388
|
* type. For example, the syntax might be incorrect. For details about service control
|
|
388
|
-
* policy syntax, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/
|
|
389
|
-
*
|
|
390
|
-
* </p>
|
|
389
|
+
* policy syntax, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html">SCP syntax</a> in the
|
|
390
|
+
* <i>Organizations User Guide</i>.</p>
|
|
391
391
|
*
|
|
392
392
|
* @throws {@link PolicyChangesInProgressException} (client fault)
|
|
393
393
|
* <p>Changes to the effective policy are in progress, and its contents can't be returned.
|
|
@@ -403,9 +403,8 @@ export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __Metad
|
|
|
403
403
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
404
404
|
* <p>You have sent too many requests in too short a period of time. The quota helps protect
|
|
405
405
|
* against denial-of-service attacks. Try again later.</p>
|
|
406
|
-
* <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
|
|
407
|
-
* <i>Organizations User Guide
|
|
408
|
-
* </p>
|
|
406
|
+
* <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
|
|
407
|
+
* <i>Organizations User Guide</i>.</p>
|
|
409
408
|
*
|
|
410
409
|
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
411
410
|
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
* by CloudTrail, you can determine which requests the Organizations service received, who made the
|
|
69
69
|
* request and when, and so on. For more about Organizations and its support for CloudTrail, see
|
|
70
70
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_incident-response.html#orgs_cloudtrail-integration">Logging
|
|
71
|
-
* Organizations
|
|
72
|
-
* To learn more about CloudTrail, including how to turn it
|
|
73
|
-
*
|
|
71
|
+
* Organizations API calls with CloudTrail</a> in the
|
|
72
|
+
* <i>Organizations User Guide</i>. To learn more about CloudTrail, including how to turn it
|
|
73
|
+
* on and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">CloudTrail User Guide</a>.</p>
|
|
74
74
|
*
|
|
75
75
|
* @packageDocumentation
|
|
76
76
|
*/
|
|
@@ -96,8 +96,7 @@ export type HandshakeState = (typeof HandshakeState)[keyof typeof HandshakeState
|
|
|
96
96
|
* <p>You don't have permissions to perform the requested operation. The user or role that
|
|
97
97
|
* is making the request must have at least one IAM permissions policy attached that
|
|
98
98
|
* 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
|
|
99
|
-
* <i>IAM User Guide
|
|
100
|
-
* </p>
|
|
99
|
+
* <i>IAM User Guide</i>.</p>
|
|
101
100
|
*/
|
|
102
101
|
export declare class AccessDeniedException extends __BaseException {
|
|
103
102
|
readonly name: "AccessDeniedException";
|
|
@@ -214,7 +213,8 @@ export type HandshakeConstraintViolationExceptionReason = (typeof HandshakeConst
|
|
|
214
213
|
* <important>
|
|
215
214
|
* <p>If you get this exception immediately after creating the organization,
|
|
216
215
|
* wait one hour and try again. If after an hour it continues to fail with this
|
|
217
|
-
* error, contact <a href="https://
|
|
216
|
+
* error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services
|
|
217
|
+
* Support</a>.</p>
|
|
218
218
|
* </important>
|
|
219
219
|
* </li>
|
|
220
220
|
* <li>
|
|
@@ -467,9 +467,8 @@ export declare class ServiceException extends __BaseException {
|
|
|
467
467
|
* @public
|
|
468
468
|
* <p>You have sent too many requests in too short a period of time. The quota helps protect
|
|
469
469
|
* against denial-of-service attacks. Try again later.</p>
|
|
470
|
-
* <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
|
|
471
|
-
* <i>Organizations User Guide
|
|
472
|
-
* </p>
|
|
470
|
+
* <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
|
|
471
|
+
* <i>Organizations User Guide</i>.</p>
|
|
473
472
|
*/
|
|
474
473
|
export declare class TooManyRequestsException extends __BaseException {
|
|
475
474
|
readonly name: "TooManyRequestsException";
|
|
@@ -616,9 +615,8 @@ export declare class AccountNotRegisteredException extends __BaseException {
|
|
|
616
615
|
* @public
|
|
617
616
|
* <p>You can't invite an existing account to your organization until you verify that you
|
|
618
617
|
* own the email address associated with the management account. For more information, see
|
|
619
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification">Email
|
|
620
|
-
*
|
|
621
|
-
* </p>
|
|
618
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification">Email address
|
|
619
|
+
* verification</a> in the <i>Organizations User Guide</i>.</p>
|
|
622
620
|
*/
|
|
623
621
|
export declare class AccountOwnerNotVerifiedException extends __BaseException {
|
|
624
622
|
readonly name: "AccountOwnerNotVerifiedException";
|
|
@@ -749,19 +747,20 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
749
747
|
* account from the organization that doesn't yet have enough information to exist
|
|
750
748
|
* as a standalone account. This account requires you to first complete phone
|
|
751
749
|
* 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
|
|
752
|
-
* <i>Organizations User Guide
|
|
753
|
-
* </p>
|
|
750
|
+
* <i>Organizations User Guide</i>.</p>
|
|
754
751
|
* </li>
|
|
755
752
|
* <li>
|
|
756
753
|
* <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
|
|
757
754
|
* accounts that you can create in one day.</p>
|
|
758
755
|
* </li>
|
|
759
756
|
* <li>
|
|
760
|
-
* <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
|
|
757
|
+
* <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
|
|
758
|
+
* account isn't fully active. You must complete the account setup before you
|
|
759
|
+
* create an organization.</p>
|
|
761
760
|
* </li>
|
|
762
761
|
* <li>
|
|
763
762
|
* <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
|
|
764
|
-
* of accounts in an organization. If you need more accounts, contact <a href="https://
|
|
763
|
+
* 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
|
|
765
764
|
* request an increase in your limit. </p>
|
|
766
765
|
* <p>Or the number of invitations that you tried to send would cause you to exceed
|
|
767
766
|
* the limit of accounts in your organization. Send fewer invitations or contact
|
|
@@ -772,11 +771,14 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
772
771
|
* <important>
|
|
773
772
|
* <p>If you get this exception when running a command immediately after
|
|
774
773
|
* creating the organization, wait one hour and try again. After an hour, if
|
|
775
|
-
* the command continues to fail with this error, contact <a href="https://
|
|
776
|
-
* Support</a>.</p>
|
|
774
|
+
* the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
|
|
777
775
|
* </important>
|
|
778
776
|
* </li>
|
|
779
777
|
* <li>
|
|
778
|
+
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
779
|
+
* register a suspended account as a delegated administrator.</p>
|
|
780
|
+
* </li>
|
|
781
|
+
* <li>
|
|
780
782
|
* <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
|
|
781
783
|
* the management account of the organization as a delegated administrator for an
|
|
782
784
|
* Amazon Web Services service integrated with Organizations. You can designate only a member account as a
|
|
@@ -851,15 +853,13 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
851
853
|
* management account must have an associated account in the Amazon Web Services GovCloud
|
|
852
854
|
* (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
|
|
853
855
|
* in the
|
|
854
|
-
* <i>Amazon Web Services GovCloud User Guide
|
|
855
|
-
* </p>
|
|
856
|
+
* <i>Amazon Web Services GovCloud User Guide</i>.</p>
|
|
856
857
|
* </li>
|
|
857
858
|
* <li>
|
|
858
859
|
* <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
|
|
859
860
|
* this management account, you first must associate a valid payment instrument,
|
|
860
|
-
* such as a credit card, with the account.
|
|
861
|
-
*
|
|
862
|
-
* </p>
|
|
861
|
+
* 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
|
|
862
|
+
* the <i>Organizations User Guide</i>.</p>
|
|
863
863
|
* </li>
|
|
864
864
|
* <li>
|
|
865
865
|
* <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
|
|
@@ -878,9 +878,8 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
878
878
|
* <li>
|
|
879
879
|
* <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
|
|
880
880
|
* this member account, you first must associate a valid payment instrument, such
|
|
881
|
-
* as a credit card, with the account.
|
|
882
|
-
*
|
|
883
|
-
* </p>
|
|
881
|
+
* 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
|
|
882
|
+
* the <i>Organizations User Guide</i>.</p>
|
|
884
883
|
* </li>
|
|
885
884
|
* <li>
|
|
886
885
|
* <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
|
|
@@ -979,9 +978,8 @@ export declare class PolicyNotFoundException extends __BaseException {
|
|
|
979
978
|
* @public
|
|
980
979
|
* <p>The specified policy type isn't currently enabled in this root. You can't attach
|
|
981
980
|
* policies of the specified type to entities in a root until you enable that type in the
|
|
982
|
-
* root. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling
|
|
983
|
-
* in
|
|
984
|
-
* </p>
|
|
981
|
+
* root. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling all features
|
|
982
|
+
* in your organization</a> in the <i>Organizations User Guide</i>.</p>
|
|
985
983
|
*/
|
|
986
984
|
export declare class PolicyTypeNotEnabledException extends __BaseException {
|
|
987
985
|
readonly name: "PolicyTypeNotEnabledException";
|
|
@@ -1162,13 +1160,13 @@ export interface CreateAccountRequest {
|
|
|
1162
1160
|
* <ul>
|
|
1163
1161
|
* <li>
|
|
1164
1162
|
* <p>
|
|
1165
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role">
|
|
1166
|
-
*
|
|
1163
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role">Creating the OrganizationAccountAccessRole in an invited member
|
|
1164
|
+
* account</a> in the <i>Organizations User Guide</i>
|
|
1167
1165
|
* </p>
|
|
1168
1166
|
* </li>
|
|
1169
1167
|
* <li>
|
|
1170
|
-
* <p>Steps 2 and 3 in <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html">Tutorial:
|
|
1171
|
-
* Delegate
|
|
1168
|
+
* <p>Steps 2 and 3 in <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html">IAM Tutorial:
|
|
1169
|
+
* Delegate access across Amazon Web Services accounts using IAM roles</a> in the
|
|
1172
1170
|
* <i>IAM User Guide</i>
|
|
1173
1171
|
* </p>
|
|
1174
1172
|
* </li>
|
|
@@ -1183,8 +1181,8 @@ export interface CreateAccountRequest {
|
|
|
1183
1181
|
* <p>If set to <code>ALLOW</code>, the new account enables IAM users to access account
|
|
1184
1182
|
* billing information <i>if</i> they have the required permissions. If set
|
|
1185
1183
|
* to <code>DENY</code>, only the root user of the new account can access account billing
|
|
1186
|
-
* information. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate">
|
|
1187
|
-
*
|
|
1184
|
+
* information. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate">About IAM
|
|
1185
|
+
* access to the Billing and Cost Management console</a> in the
|
|
1188
1186
|
* <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p>
|
|
1189
1187
|
* <p>If you don't specify this parameter, the value defaults to <code>ALLOW</code>, and
|
|
1190
1188
|
* IAM users and roles with the required permissions can access billing information for
|
|
@@ -1374,9 +1372,8 @@ export interface CreateAccountResponse {
|
|
|
1374
1372
|
* account creation is an asynchronous process. You can pass the returned
|
|
1375
1373
|
* <code>CreateAccountStatus</code> ID as a parameter to <a>DescribeCreateAccountStatus</a> to get status about the progress of the
|
|
1376
1374
|
* request at later times. You can also check the CloudTrail log for the
|
|
1377
|
-
* <code>CreateAccountResult</code> event. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/
|
|
1378
|
-
*
|
|
1379
|
-
* <i>Organizations User Guide</i>.</p>
|
|
1375
|
+
* <code>CreateAccountResult</code> event. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html">Logging and monitoring in Organizations</a> in the
|
|
1376
|
+
* <i>Organizations User Guide</i>.</p>
|
|
1380
1377
|
*/
|
|
1381
1378
|
CreateAccountStatus?: CreateAccountStatus;
|
|
1382
1379
|
}
|
|
@@ -1458,11 +1455,22 @@ export interface CreateGovCloudAccountRequest {
|
|
|
1458
1455
|
* permissions in the new member account.</p>
|
|
1459
1456
|
* <p>If you don't specify this parameter, the role name defaults to
|
|
1460
1457
|
* <code>OrganizationAccountAccessRole</code>.</p>
|
|
1461
|
-
* <p>For more information about how to use this role to access the member account, see
|
|
1462
|
-
*
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1465
|
-
*
|
|
1458
|
+
* <p>For more information about how to use this role to access the member account, see the
|
|
1459
|
+
* following links:</p>
|
|
1460
|
+
* <ul>
|
|
1461
|
+
* <li>
|
|
1462
|
+
* <p>
|
|
1463
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html#orgs_manage_accounts_create-cross-account-role">Creating the OrganizationAccountAccessRole in an invited member
|
|
1464
|
+
* account</a> in the <i>Organizations User Guide</i>
|
|
1465
|
+
* </p>
|
|
1466
|
+
* </li>
|
|
1467
|
+
* <li>
|
|
1468
|
+
* <p>Steps 2 and 3 in <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html">IAM Tutorial:
|
|
1469
|
+
* Delegate access across Amazon Web Services accounts using IAM roles</a> in the
|
|
1470
|
+
* <i>IAM User Guide</i>
|
|
1471
|
+
* </p>
|
|
1472
|
+
* </li>
|
|
1473
|
+
* </ul>
|
|
1466
1474
|
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> that
|
|
1467
1475
|
* is used to validate this parameter. The pattern can include uppercase
|
|
1468
1476
|
* letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-</p>
|
|
@@ -1473,10 +1481,9 @@ export interface CreateGovCloudAccountRequest {
|
|
|
1473
1481
|
* <p>If set to <code>ALLOW</code>, the new linked account in the commercial Region enables
|
|
1474
1482
|
* IAM users to access account billing information <i>if</i> they have the
|
|
1475
1483
|
* required permissions. If set to <code>DENY</code>, only the root user of the new account
|
|
1476
|
-
* can access account billing information. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate">
|
|
1477
|
-
*
|
|
1478
|
-
* <i>Amazon Web Services Billing and Cost Management User Guide
|
|
1479
|
-
* </p>
|
|
1484
|
+
* can access account billing information. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate">About IAM
|
|
1485
|
+
* access to the Billing and Cost Management console</a> in the
|
|
1486
|
+
* <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p>
|
|
1480
1487
|
* <p>If you don't specify this parameter, the value defaults to <code>ALLOW</code>, and
|
|
1481
1488
|
* IAM users and roles with the required permissions can access billing information for
|
|
1482
1489
|
* the new account.</p>
|
|
@@ -1537,8 +1544,7 @@ export interface CreateOrganizationRequest {
|
|
|
1537
1544
|
* <code>CONSOLIDATED_BILLING</code>: All member accounts have their bills
|
|
1538
1545
|
* consolidated to and paid by the management account. For more information, see
|
|
1539
1546
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only">Consolidated billing</a> in the
|
|
1540
|
-
* <i>Organizations User Guide
|
|
1541
|
-
* </p>
|
|
1547
|
+
* <i>Organizations User Guide</i>.</p>
|
|
1542
1548
|
* <p> The consolidated billing feature subset isn't available for organizations in
|
|
1543
1549
|
* the Amazon Web Services GovCloud (US) Region.</p>
|
|
1544
1550
|
* </li>
|
|
@@ -1548,8 +1554,7 @@ export interface CreateOrganizationRequest {
|
|
|
1548
1554
|
* consolidated billing feature set, the management account can also apply any
|
|
1549
1555
|
* policy type to any member account in the organization. For more information, see
|
|
1550
1556
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all">All
|
|
1551
|
-
* features</a> in the <i>Organizations User Guide
|
|
1552
|
-
* </p>
|
|
1557
|
+
* features</a> in the <i>Organizations User Guide</i>.</p>
|
|
1553
1558
|
* </li>
|
|
1554
1559
|
* </ul>
|
|
1555
1560
|
*/
|
|
@@ -1626,8 +1631,8 @@ export interface Organization {
|
|
|
1626
1631
|
* <p>Specifies the functionality that currently is available to the organization. If set to
|
|
1627
1632
|
* "ALL", then all features are enabled and policies can be applied to accounts in the
|
|
1628
1633
|
* organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing
|
|
1629
|
-
* functionality is available. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling
|
|
1630
|
-
* in
|
|
1634
|
+
* functionality is available. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling all features
|
|
1635
|
+
* in your organization</a> in the <i>Organizations User Guide</i>.</p>
|
|
1631
1636
|
*/
|
|
1632
1637
|
FeatureSet?: OrganizationFeatureSet | string;
|
|
1633
1638
|
/**
|
|
@@ -1939,9 +1944,8 @@ export declare class DuplicatePolicyException extends __BaseException {
|
|
|
1939
1944
|
* @public
|
|
1940
1945
|
* <p>The provided policy document doesn't meet the requirements of the specified policy
|
|
1941
1946
|
* type. For example, the syntax might be incorrect. For details about service control
|
|
1942
|
-
* policy syntax, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/
|
|
1943
|
-
*
|
|
1944
|
-
* </p>
|
|
1947
|
+
* policy syntax, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html">SCP syntax</a> in the
|
|
1948
|
+
* <i>Organizations User Guide</i>.</p>
|
|
1945
1949
|
*/
|
|
1946
1950
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
1947
1951
|
readonly name: "MalformedPolicyDocumentException";
|
|
@@ -1957,8 +1961,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
1957
1961
|
* <p>You can't use the specified policy type with the feature set currently enabled for
|
|
1958
1962
|
* this organization. For example, you can enable SCPs only after you enable all features
|
|
1959
1963
|
* in the organization. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root">Managing
|
|
1960
|
-
* Organizations
|
|
1961
|
-
* </p>
|
|
1964
|
+
* Organizations policies</a>in the <i>Organizations User Guide</i>.</p>
|
|
1962
1965
|
*/
|
|
1963
1966
|
export declare class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
|
|
1964
1967
|
readonly name: "PolicyTypeNotAvailableForOrganizationException";
|
|
@@ -1985,7 +1988,7 @@ export interface DeclineHandshakeRequest {
|
|
|
1985
1988
|
/**
|
|
1986
1989
|
* @public
|
|
1987
1990
|
* <p>The organization isn't empty. To delete an organization, you must first remove all
|
|
1988
|
-
* accounts except the management account
|
|
1991
|
+
* accounts except the management account.</p>
|
|
1989
1992
|
*/
|
|
1990
1993
|
export declare class OrganizationNotEmptyException extends __BaseException {
|
|
1991
1994
|
readonly name: "OrganizationNotEmptyException";
|
|
@@ -4004,9 +4007,8 @@ export interface PutResourcePolicyRequest {
|
|
|
4004
4007
|
* @public
|
|
4005
4008
|
* <p>If provided, the new content for the resource policy. The text must be correctly
|
|
4006
4009
|
* formatted JSON that complies with the syntax for the resource policy's type. For more
|
|
4007
|
-
* information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/
|
|
4008
|
-
*
|
|
4009
|
-
* </p>
|
|
4010
|
+
* information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html">SCP syntax</a> in the
|
|
4011
|
+
* <i>Organizations User Guide</i>.</p>
|
|
4010
4012
|
*/
|
|
4011
4013
|
Content: string | undefined;
|
|
4012
4014
|
/**
|
|
@@ -4210,9 +4212,8 @@ export interface UpdatePolicyRequest {
|
|
|
4210
4212
|
/**
|
|
4211
4213
|
* @public
|
|
4212
4214
|
* <p>If provided, the new content for the policy. The text must be correctly formatted JSON
|
|
4213
|
-
* that complies with the syntax for the policy's type. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/
|
|
4214
|
-
*
|
|
4215
|
-
* </p>
|
|
4215
|
+
* that complies with the syntax for the policy's type. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html">SCP
|
|
4216
|
+
* syntax</a> in the <i>Organizations User Guide</i>.</p>
|
|
4216
4217
|
*/
|
|
4217
4218
|
Content?: string;
|
|
4218
4219
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.401.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|