@aws-sdk/client-organizations 3.830.0 → 3.831.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/dist-cjs/index.js +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +4 -5
- package/dist-types/commands/AttachPolicyCommand.d.ts +33 -10
- package/dist-types/commands/CancelHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/CloseAccountCommand.d.ts +27 -9
- package/dist-types/commands/CreateAccountCommand.d.ts +27 -9
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +27 -9
- package/dist-types/commands/CreateOrganizationCommand.d.ts +28 -10
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +27 -9
- package/dist-types/commands/CreatePolicyCommand.d.ts +30 -12
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +26 -9
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +27 -9
- package/dist-types/commands/DescribeAccountCommand.d.ts +3 -2
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +29 -11
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -2
- package/dist-types/commands/DescribePolicyCommand.d.ts +4 -3
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +26 -9
- package/dist-types/commands/DetachPolicyCommand.d.ts +28 -10
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +27 -9
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +30 -12
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +28 -12
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +29 -13
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +30 -12
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +30 -27
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +27 -14
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +28 -10
- package/dist-types/commands/ListAccountsCommand.d.ts +3 -2
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -2
- package/dist-types/commands/ListChildrenCommand.d.ts +3 -2
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +3 -2
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +28 -10
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +28 -10
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +2 -1
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -2
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +3 -2
- package/dist-types/commands/ListParentsCommand.d.ts +3 -2
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -4
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +5 -4
- package/dist-types/commands/ListRootsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +3 -2
- package/dist-types/commands/MoveAccountCommand.d.ts +2 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +28 -10
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +27 -9
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +27 -9
- package/dist-types/commands/TagResourceCommand.d.ts +28 -10
- package/dist-types/commands/UntagResourceCommand.d.ts +28 -10
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +29 -11
- package/dist-types/models/models_0.d.ts +62 -13
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ declare const TagResourceCommand_base: {
|
|
|
44
44
|
* </li>
|
|
45
45
|
* </ul>
|
|
46
46
|
* <p>This operation can be called only from the organization's
|
|
47
|
-
* management account or by a member account that is a delegated administrator
|
|
47
|
+
* management account or by a member account that is a delegated administrator.</p>
|
|
48
48
|
* @example
|
|
49
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
50
|
* ```javascript
|
|
@@ -135,9 +135,11 @@ declare const TagResourceCommand_base: {
|
|
|
135
135
|
* </important>
|
|
136
136
|
* </li>
|
|
137
137
|
* <li>
|
|
138
|
-
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED:
|
|
139
|
-
*
|
|
140
|
-
*
|
|
138
|
+
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
|
|
139
|
+
* more than 5000 accounts, and you can only use the standard migration process for
|
|
140
|
+
* organizations with less than 5000 accounts. Use the assisted migration process
|
|
141
|
+
* to enable all features mode, or create a support case for assistance if you are
|
|
142
|
+
* unable to use assisted migration.</p>
|
|
141
143
|
* </li>
|
|
142
144
|
* <li>
|
|
143
145
|
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
@@ -272,17 +274,32 @@ declare const TagResourceCommand_base: {
|
|
|
272
274
|
* that you can have in an organization.</p>
|
|
273
275
|
* </li>
|
|
274
276
|
* <li>
|
|
275
|
-
* <p>
|
|
276
|
-
*
|
|
277
|
-
*
|
|
277
|
+
* <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
|
|
278
|
+
* before you disabled the policy type (for example, SECURITYHUB_POLICY). To
|
|
279
|
+
* complete this operation, you must first disable the policy type.</p>
|
|
280
|
+
* </li>
|
|
281
|
+
* <li>
|
|
282
|
+
* <p>SERVICE_ACCESS_NOT_ENABLED:</p>
|
|
283
|
+
* <ul>
|
|
284
|
+
* <li>
|
|
285
|
+
* <p>You attempted to register a delegated administrator before you enabled
|
|
286
|
+
* service access. Call the <code>EnableAWSServiceAccess</code> API
|
|
287
|
+
* first.</p>
|
|
288
|
+
* </li>
|
|
289
|
+
* <li>
|
|
290
|
+
* <p>You attempted to enable a policy type before you enabled service
|
|
291
|
+
* access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
|
|
292
|
+
* </li>
|
|
293
|
+
* </ul>
|
|
278
294
|
* </li>
|
|
279
295
|
* <li>
|
|
280
296
|
* <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
|
|
281
297
|
* that are not compliant with the tag policy requirements for this account.</p>
|
|
282
298
|
* </li>
|
|
283
299
|
* <li>
|
|
284
|
-
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
285
|
-
* Invited accounts aren't subject
|
|
300
|
+
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
301
|
+
* least seven days after the account was created. Invited accounts aren't subject
|
|
302
|
+
* to this waiting period.</p>
|
|
286
303
|
* </li>
|
|
287
304
|
* </ul>
|
|
288
305
|
*
|
|
@@ -341,7 +358,8 @@ declare const TagResourceCommand_base: {
|
|
|
341
358
|
* the required pattern.</p>
|
|
342
359
|
* </li>
|
|
343
360
|
* <li>
|
|
344
|
-
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
361
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
362
|
+
* policy.</p>
|
|
345
363
|
* </li>
|
|
346
364
|
* <li>
|
|
347
365
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
@@ -44,7 +44,7 @@ declare const UntagResourceCommand_base: {
|
|
|
44
44
|
* </li>
|
|
45
45
|
* </ul>
|
|
46
46
|
* <p>This operation can be called only from the organization's
|
|
47
|
-
* management account or by a member account that is a delegated administrator
|
|
47
|
+
* management account or by a member account that is a delegated administrator.</p>
|
|
48
48
|
* @example
|
|
49
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
50
|
* ```javascript
|
|
@@ -132,9 +132,11 @@ declare const UntagResourceCommand_base: {
|
|
|
132
132
|
* </important>
|
|
133
133
|
* </li>
|
|
134
134
|
* <li>
|
|
135
|
-
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED:
|
|
136
|
-
*
|
|
137
|
-
*
|
|
135
|
+
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
|
|
136
|
+
* more than 5000 accounts, and you can only use the standard migration process for
|
|
137
|
+
* organizations with less than 5000 accounts. Use the assisted migration process
|
|
138
|
+
* to enable all features mode, or create a support case for assistance if you are
|
|
139
|
+
* unable to use assisted migration.</p>
|
|
138
140
|
* </li>
|
|
139
141
|
* <li>
|
|
140
142
|
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
@@ -269,17 +271,32 @@ declare const UntagResourceCommand_base: {
|
|
|
269
271
|
* that you can have in an organization.</p>
|
|
270
272
|
* </li>
|
|
271
273
|
* <li>
|
|
272
|
-
* <p>
|
|
273
|
-
*
|
|
274
|
-
*
|
|
274
|
+
* <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
|
|
275
|
+
* before you disabled the policy type (for example, SECURITYHUB_POLICY). To
|
|
276
|
+
* complete this operation, you must first disable the policy type.</p>
|
|
277
|
+
* </li>
|
|
278
|
+
* <li>
|
|
279
|
+
* <p>SERVICE_ACCESS_NOT_ENABLED:</p>
|
|
280
|
+
* <ul>
|
|
281
|
+
* <li>
|
|
282
|
+
* <p>You attempted to register a delegated administrator before you enabled
|
|
283
|
+
* service access. Call the <code>EnableAWSServiceAccess</code> API
|
|
284
|
+
* first.</p>
|
|
285
|
+
* </li>
|
|
286
|
+
* <li>
|
|
287
|
+
* <p>You attempted to enable a policy type before you enabled service
|
|
288
|
+
* access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
|
|
289
|
+
* </li>
|
|
290
|
+
* </ul>
|
|
275
291
|
* </li>
|
|
276
292
|
* <li>
|
|
277
293
|
* <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
|
|
278
294
|
* that are not compliant with the tag policy requirements for this account.</p>
|
|
279
295
|
* </li>
|
|
280
296
|
* <li>
|
|
281
|
-
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
282
|
-
* Invited accounts aren't subject
|
|
297
|
+
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
298
|
+
* least seven days after the account was created. Invited accounts aren't subject
|
|
299
|
+
* to this waiting period.</p>
|
|
283
300
|
* </li>
|
|
284
301
|
* </ul>
|
|
285
302
|
*
|
|
@@ -338,7 +355,8 @@ declare const UntagResourceCommand_base: {
|
|
|
338
355
|
* the required pattern.</p>
|
|
339
356
|
* </li>
|
|
340
357
|
* <li>
|
|
341
|
-
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
358
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
359
|
+
* policy.</p>
|
|
342
360
|
* </li>
|
|
343
361
|
* <li>
|
|
344
362
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
@@ -131,7 +131,8 @@ declare const UpdateOrganizationalUnitCommand_base: {
|
|
|
131
131
|
* the required pattern.</p>
|
|
132
132
|
* </li>
|
|
133
133
|
* <li>
|
|
134
|
-
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
134
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
135
|
+
* policy.</p>
|
|
135
136
|
* </li>
|
|
136
137
|
* <li>
|
|
137
138
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
@@ -31,7 +31,7 @@ declare const UpdatePolicyCommand_base: {
|
|
|
31
31
|
* supply any parameter, that value remains unchanged. You can't change a policy's
|
|
32
32
|
* type.</p>
|
|
33
33
|
* <p>This operation can be called only from the organization's
|
|
34
|
-
* management account or by a member account that is a delegated administrator
|
|
34
|
+
* management account or by a member account that is a delegated administrator.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -53,7 +53,7 @@ declare const UpdatePolicyCommand_base: {
|
|
|
53
53
|
* // Arn: "STRING_VALUE",
|
|
54
54
|
* // Name: "STRING_VALUE",
|
|
55
55
|
* // Description: "STRING_VALUE",
|
|
56
|
-
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2",
|
|
56
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY",
|
|
57
57
|
* // AwsManaged: true || false,
|
|
58
58
|
* // },
|
|
59
59
|
* // Content: "STRING_VALUE",
|
|
@@ -131,9 +131,11 @@ declare const UpdatePolicyCommand_base: {
|
|
|
131
131
|
* </important>
|
|
132
132
|
* </li>
|
|
133
133
|
* <li>
|
|
134
|
-
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED:
|
|
135
|
-
*
|
|
136
|
-
*
|
|
134
|
+
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
|
|
135
|
+
* more than 5000 accounts, and you can only use the standard migration process for
|
|
136
|
+
* organizations with less than 5000 accounts. Use the assisted migration process
|
|
137
|
+
* to enable all features mode, or create a support case for assistance if you are
|
|
138
|
+
* unable to use assisted migration.</p>
|
|
137
139
|
* </li>
|
|
138
140
|
* <li>
|
|
139
141
|
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
@@ -268,17 +270,32 @@ declare const UpdatePolicyCommand_base: {
|
|
|
268
270
|
* that you can have in an organization.</p>
|
|
269
271
|
* </li>
|
|
270
272
|
* <li>
|
|
271
|
-
* <p>
|
|
272
|
-
*
|
|
273
|
-
*
|
|
273
|
+
* <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
|
|
274
|
+
* before you disabled the policy type (for example, SECURITYHUB_POLICY). To
|
|
275
|
+
* complete this operation, you must first disable the policy type.</p>
|
|
276
|
+
* </li>
|
|
277
|
+
* <li>
|
|
278
|
+
* <p>SERVICE_ACCESS_NOT_ENABLED:</p>
|
|
279
|
+
* <ul>
|
|
280
|
+
* <li>
|
|
281
|
+
* <p>You attempted to register a delegated administrator before you enabled
|
|
282
|
+
* service access. Call the <code>EnableAWSServiceAccess</code> API
|
|
283
|
+
* first.</p>
|
|
284
|
+
* </li>
|
|
285
|
+
* <li>
|
|
286
|
+
* <p>You attempted to enable a policy type before you enabled service
|
|
287
|
+
* access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
|
|
288
|
+
* </li>
|
|
289
|
+
* </ul>
|
|
274
290
|
* </li>
|
|
275
291
|
* <li>
|
|
276
292
|
* <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
|
|
277
293
|
* that are not compliant with the tag policy requirements for this account.</p>
|
|
278
294
|
* </li>
|
|
279
295
|
* <li>
|
|
280
|
-
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
281
|
-
* Invited accounts aren't subject
|
|
296
|
+
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
297
|
+
* least seven days after the account was created. Invited accounts aren't subject
|
|
298
|
+
* to this waiting period.</p>
|
|
282
299
|
* </li>
|
|
283
300
|
* </ul>
|
|
284
301
|
*
|
|
@@ -340,7 +357,8 @@ declare const UpdatePolicyCommand_base: {
|
|
|
340
357
|
* the required pattern.</p>
|
|
341
358
|
* </li>
|
|
342
359
|
* <li>
|
|
343
|
-
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
360
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
361
|
+
* policy.</p>
|
|
344
362
|
* </li>
|
|
345
363
|
* <li>
|
|
346
364
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
@@ -241,10 +241,8 @@ export type HandshakeConstraintViolationExceptionReason = (typeof HandshakeConst
|
|
|
241
241
|
* </li>
|
|
242
242
|
* <li>
|
|
243
243
|
* <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
|
|
244
|
-
* account is from a different marketplace than the accounts in the
|
|
245
|
-
*
|
|
246
|
-
* marketplace. All accounts in an organization must be from the same
|
|
247
|
-
* marketplace.</p>
|
|
244
|
+
* account is from a different marketplace than the accounts in the
|
|
245
|
+
* organization.</p>
|
|
248
246
|
* </li>
|
|
249
247
|
* <li>
|
|
250
248
|
* <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
|
|
@@ -391,7 +389,8 @@ export type InvalidInputExceptionReason = (typeof InvalidInputExceptionReason)[k
|
|
|
391
389
|
* the required pattern.</p>
|
|
392
390
|
* </li>
|
|
393
391
|
* <li>
|
|
394
|
-
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
392
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
|
|
393
|
+
* policy.</p>
|
|
395
394
|
* </li>
|
|
396
395
|
* <li>
|
|
397
396
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
@@ -727,6 +726,7 @@ export declare const ConstraintViolationExceptionReason: {
|
|
|
727
726
|
readonly OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED";
|
|
728
727
|
readonly POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED";
|
|
729
728
|
readonly POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED";
|
|
729
|
+
readonly POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE";
|
|
730
730
|
readonly SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED";
|
|
731
731
|
readonly TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION";
|
|
732
732
|
readonly WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE";
|
|
@@ -784,9 +784,11 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
784
784
|
* </important>
|
|
785
785
|
* </li>
|
|
786
786
|
* <li>
|
|
787
|
-
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED:
|
|
788
|
-
*
|
|
789
|
-
*
|
|
787
|
+
* <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
|
|
788
|
+
* more than 5000 accounts, and you can only use the standard migration process for
|
|
789
|
+
* organizations with less than 5000 accounts. Use the assisted migration process
|
|
790
|
+
* to enable all features mode, or create a support case for assistance if you are
|
|
791
|
+
* unable to use assisted migration.</p>
|
|
790
792
|
* </li>
|
|
791
793
|
* <li>
|
|
792
794
|
* <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
|
|
@@ -921,17 +923,32 @@ export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExce
|
|
|
921
923
|
* that you can have in an organization.</p>
|
|
922
924
|
* </li>
|
|
923
925
|
* <li>
|
|
924
|
-
* <p>
|
|
925
|
-
*
|
|
926
|
-
*
|
|
926
|
+
* <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
|
|
927
|
+
* before you disabled the policy type (for example, SECURITYHUB_POLICY). To
|
|
928
|
+
* complete this operation, you must first disable the policy type.</p>
|
|
929
|
+
* </li>
|
|
930
|
+
* <li>
|
|
931
|
+
* <p>SERVICE_ACCESS_NOT_ENABLED:</p>
|
|
932
|
+
* <ul>
|
|
933
|
+
* <li>
|
|
934
|
+
* <p>You attempted to register a delegated administrator before you enabled
|
|
935
|
+
* service access. Call the <code>EnableAWSServiceAccess</code> API
|
|
936
|
+
* first.</p>
|
|
937
|
+
* </li>
|
|
938
|
+
* <li>
|
|
939
|
+
* <p>You attempted to enable a policy type before you enabled service
|
|
940
|
+
* access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
|
|
941
|
+
* </li>
|
|
942
|
+
* </ul>
|
|
927
943
|
* </li>
|
|
928
944
|
* <li>
|
|
929
945
|
* <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
|
|
930
946
|
* that are not compliant with the tag policy requirements for this account.</p>
|
|
931
947
|
* </li>
|
|
932
948
|
* <li>
|
|
933
|
-
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
934
|
-
* Invited accounts aren't subject
|
|
949
|
+
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
|
|
950
|
+
* least seven days after the account was created. Invited accounts aren't subject
|
|
951
|
+
* to this waiting period.</p>
|
|
935
952
|
* </li>
|
|
936
953
|
* </ul>
|
|
937
954
|
* @public
|
|
@@ -1595,6 +1612,7 @@ export declare const PolicyType: {
|
|
|
1595
1612
|
readonly CHATBOT_POLICY: "CHATBOT_POLICY";
|
|
1596
1613
|
readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
|
|
1597
1614
|
readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
|
|
1615
|
+
readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
|
|
1598
1616
|
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
1599
1617
|
readonly TAG_POLICY: "TAG_POLICY";
|
|
1600
1618
|
};
|
|
@@ -1868,6 +1886,11 @@ export interface CreatePolicyRequest {
|
|
|
1868
1886
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
1869
1887
|
* </p>
|
|
1870
1888
|
* </li>
|
|
1889
|
+
* <li>
|
|
1890
|
+
* <p>
|
|
1891
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
1892
|
+
* </p>
|
|
1893
|
+
* </li>
|
|
1871
1894
|
* </ul>
|
|
1872
1895
|
* @public
|
|
1873
1896
|
*/
|
|
@@ -2207,6 +2230,7 @@ export declare const EffectivePolicyType: {
|
|
|
2207
2230
|
readonly BACKUP_POLICY: "BACKUP_POLICY";
|
|
2208
2231
|
readonly CHATBOT_POLICY: "CHATBOT_POLICY";
|
|
2209
2232
|
readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
|
|
2233
|
+
readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
|
|
2210
2234
|
readonly TAG_POLICY: "TAG_POLICY";
|
|
2211
2235
|
};
|
|
2212
2236
|
/**
|
|
@@ -2246,6 +2270,11 @@ export interface DescribeEffectivePolicyRequest {
|
|
|
2246
2270
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
2247
2271
|
* </p>
|
|
2248
2272
|
* </li>
|
|
2273
|
+
* <li>
|
|
2274
|
+
* <p>
|
|
2275
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
2276
|
+
* </p>
|
|
2277
|
+
* </li>
|
|
2249
2278
|
* </ul>
|
|
2250
2279
|
* @public
|
|
2251
2280
|
*/
|
|
@@ -2554,6 +2583,11 @@ export interface DisablePolicyTypeRequest {
|
|
|
2554
2583
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
2555
2584
|
* </p>
|
|
2556
2585
|
* </li>
|
|
2586
|
+
* <li>
|
|
2587
|
+
* <p>
|
|
2588
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
2589
|
+
* </p>
|
|
2590
|
+
* </li>
|
|
2557
2591
|
* </ul>
|
|
2558
2592
|
* @public
|
|
2559
2593
|
*/
|
|
@@ -2693,6 +2727,11 @@ export interface EnablePolicyTypeRequest {
|
|
|
2693
2727
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
2694
2728
|
* </p>
|
|
2695
2729
|
* </li>
|
|
2730
|
+
* <li>
|
|
2731
|
+
* <p>
|
|
2732
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
2733
|
+
* </p>
|
|
2734
|
+
* </li>
|
|
2696
2735
|
* </ul>
|
|
2697
2736
|
* @public
|
|
2698
2737
|
*/
|
|
@@ -3633,6 +3672,11 @@ export interface ListPoliciesRequest {
|
|
|
3633
3672
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
3634
3673
|
* </p>
|
|
3635
3674
|
* </li>
|
|
3675
|
+
* <li>
|
|
3676
|
+
* <p>
|
|
3677
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
3678
|
+
* </p>
|
|
3679
|
+
* </li>
|
|
3636
3680
|
* </ul>
|
|
3637
3681
|
* @public
|
|
3638
3682
|
*/
|
|
@@ -3746,6 +3790,11 @@ export interface ListPoliciesForTargetRequest {
|
|
|
3746
3790
|
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
|
|
3747
3791
|
* </p>
|
|
3748
3792
|
* </li>
|
|
3793
|
+
* <li>
|
|
3794
|
+
* <p>
|
|
3795
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html">SECURITYHUB_POLICY</a>
|
|
3796
|
+
* </p>
|
|
3797
|
+
* </li>
|
|
3749
3798
|
* </ul>
|
|
3750
3799
|
* @public
|
|
3751
3800
|
*/
|
|
@@ -317,6 +317,7 @@ export declare const ConstraintViolationExceptionReason: {
|
|
|
317
317
|
readonly OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED";
|
|
318
318
|
readonly POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED";
|
|
319
319
|
readonly POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED";
|
|
320
|
+
readonly POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE";
|
|
320
321
|
readonly SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED";
|
|
321
322
|
readonly TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION";
|
|
322
323
|
readonly WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE";
|
|
@@ -500,6 +501,7 @@ export declare const PolicyType: {
|
|
|
500
501
|
readonly CHATBOT_POLICY: "CHATBOT_POLICY";
|
|
501
502
|
readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
|
|
502
503
|
readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
|
|
504
|
+
readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
|
|
503
505
|
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
504
506
|
readonly TAG_POLICY: "TAG_POLICY";
|
|
505
507
|
};
|
|
@@ -694,6 +696,7 @@ export declare const EffectivePolicyType: {
|
|
|
694
696
|
readonly BACKUP_POLICY: "BACKUP_POLICY";
|
|
695
697
|
readonly CHATBOT_POLICY: "CHATBOT_POLICY";
|
|
696
698
|
readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
|
|
699
|
+
readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
|
|
697
700
|
readonly TAG_POLICY: "TAG_POLICY";
|
|
698
701
|
};
|
|
699
702
|
export type EffectivePolicyType =
|
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.831.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-organizations",
|