@aws-sdk/client-organizations 3.686.0 → 3.691.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 +6 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +11 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +7 -1
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +8 -2
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +6 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +7 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +6 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +6 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +8 -2
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +6 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +8 -2
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +6 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +6 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +6 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +6 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +6 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +6 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +6 -0
- package/dist-types/commands/ListParentsCommand.d.ts +6 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +8 -2
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +8 -2
- package/dist-types/commands/ListRootsCommand.d.ts +7 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +6 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +6 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +6 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +7 -1
- package/dist-types/models/models_0.d.ts +273 -239
- package/dist-types/ts3.4/models/models_0.d.ts +242 -239
- package/package.json +7 -7
|
@@ -228,6 +228,9 @@ declare const EnableAllFeaturesCommand_base: {
|
|
|
228
228
|
* the required pattern.</p>
|
|
229
229
|
* </li>
|
|
230
230
|
* <li>
|
|
231
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
232
|
+
* </li>
|
|
233
|
+
* <li>
|
|
231
234
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
232
235
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
233
236
|
* </li>
|
|
@@ -268,6 +271,9 @@ declare const EnableAllFeaturesCommand_base: {
|
|
|
268
271
|
* entities in the same root.</p>
|
|
269
272
|
* </li>
|
|
270
273
|
* <li>
|
|
274
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
275
|
+
* </li>
|
|
276
|
+
* <li>
|
|
271
277
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
272
278
|
* entity.</p>
|
|
273
279
|
* </li>
|
|
@@ -47,7 +47,7 @@ declare const EnablePolicyTypeCommand_base: {
|
|
|
47
47
|
* const client = new OrganizationsClient(config);
|
|
48
48
|
* const input = { // EnablePolicyTypeRequest
|
|
49
49
|
* RootId: "STRING_VALUE", // required
|
|
50
|
-
* PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
50
|
+
* PolicyType: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
51
51
|
* };
|
|
52
52
|
* const command = new EnablePolicyTypeCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
@@ -58,7 +58,7 @@ declare const EnablePolicyTypeCommand_base: {
|
|
|
58
58
|
* // Name: "STRING_VALUE",
|
|
59
59
|
* // PolicyTypes: [ // PolicyTypes
|
|
60
60
|
* // { // PolicyTypeSummary
|
|
61
|
-
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
61
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
62
62
|
* // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -337,6 +337,9 @@ declare const EnablePolicyTypeCommand_base: {
|
|
|
337
337
|
* the required pattern.</p>
|
|
338
338
|
* </li>
|
|
339
339
|
* <li>
|
|
340
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
341
|
+
* </li>
|
|
342
|
+
* <li>
|
|
340
343
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
341
344
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
342
345
|
* </li>
|
|
@@ -377,6 +380,9 @@ declare const EnablePolicyTypeCommand_base: {
|
|
|
377
380
|
* entities in the same root.</p>
|
|
378
381
|
* </li>
|
|
379
382
|
* <li>
|
|
383
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
384
|
+
* </li>
|
|
385
|
+
* <li>
|
|
380
386
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
381
387
|
* entity.</p>
|
|
382
388
|
* </li>
|
|
@@ -454,6 +454,9 @@ declare const InviteAccountToOrganizationCommand_base: {
|
|
|
454
454
|
* the required pattern.</p>
|
|
455
455
|
* </li>
|
|
456
456
|
* <li>
|
|
457
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
458
|
+
* </li>
|
|
459
|
+
* <li>
|
|
457
460
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
458
461
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
459
462
|
* </li>
|
|
@@ -494,6 +497,9 @@ declare const InviteAccountToOrganizationCommand_base: {
|
|
|
494
497
|
* entities in the same root.</p>
|
|
495
498
|
* </li>
|
|
496
499
|
* <li>
|
|
500
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
501
|
+
* </li>
|
|
502
|
+
* <li>
|
|
497
503
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
498
504
|
* entity.</p>
|
|
499
505
|
* </li>
|
|
@@ -381,6 +381,9 @@ declare const LeaveOrganizationCommand_base: {
|
|
|
381
381
|
* the required pattern.</p>
|
|
382
382
|
* </li>
|
|
383
383
|
* <li>
|
|
384
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
385
|
+
* </li>
|
|
386
|
+
* <li>
|
|
384
387
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
385
388
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
386
389
|
* </li>
|
|
@@ -421,6 +424,9 @@ declare const LeaveOrganizationCommand_base: {
|
|
|
421
424
|
* entities in the same root.</p>
|
|
422
425
|
* </li>
|
|
423
426
|
* <li>
|
|
427
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
428
|
+
* </li>
|
|
429
|
+
* <li>
|
|
424
430
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
425
431
|
* entity.</p>
|
|
426
432
|
* </li>
|
|
@@ -325,6 +325,9 @@ declare const ListAWSServiceAccessForOrganizationCommand_base: {
|
|
|
325
325
|
* the required pattern.</p>
|
|
326
326
|
* </li>
|
|
327
327
|
* <li>
|
|
328
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
329
|
+
* </li>
|
|
330
|
+
* <li>
|
|
328
331
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
329
332
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
330
333
|
* </li>
|
|
@@ -365,6 +368,9 @@ declare const ListAWSServiceAccessForOrganizationCommand_base: {
|
|
|
365
368
|
* entities in the same root.</p>
|
|
366
369
|
* </li>
|
|
367
370
|
* <li>
|
|
371
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
372
|
+
* </li>
|
|
373
|
+
* <li>
|
|
368
374
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
369
375
|
* entity.</p>
|
|
370
376
|
* </li>
|
|
@@ -139,6 +139,9 @@ declare const ListAccountsCommand_base: {
|
|
|
139
139
|
* the required pattern.</p>
|
|
140
140
|
* </li>
|
|
141
141
|
* <li>
|
|
142
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
142
145
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
143
146
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
144
147
|
* </li>
|
|
@@ -179,6 +182,9 @@ declare const ListAccountsCommand_base: {
|
|
|
179
182
|
* entities in the same root.</p>
|
|
180
183
|
* </li>
|
|
181
184
|
* <li>
|
|
185
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
186
|
+
* </li>
|
|
187
|
+
* <li>
|
|
182
188
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
183
189
|
* entity.</p>
|
|
184
190
|
* </li>
|
|
@@ -143,6 +143,9 @@ declare const ListAccountsForParentCommand_base: {
|
|
|
143
143
|
* the required pattern.</p>
|
|
144
144
|
* </li>
|
|
145
145
|
* <li>
|
|
146
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
146
149
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
147
150
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
148
151
|
* </li>
|
|
@@ -183,6 +186,9 @@ declare const ListAccountsForParentCommand_base: {
|
|
|
183
186
|
* entities in the same root.</p>
|
|
184
187
|
* </li>
|
|
185
188
|
* <li>
|
|
189
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
186
192
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
187
193
|
* entity.</p>
|
|
188
194
|
* </li>
|
|
@@ -137,6 +137,9 @@ declare const ListChildrenCommand_base: {
|
|
|
137
137
|
* the required pattern.</p>
|
|
138
138
|
* </li>
|
|
139
139
|
* <li>
|
|
140
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* <li>
|
|
140
143
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
141
144
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
142
145
|
* </li>
|
|
@@ -177,6 +180,9 @@ declare const ListChildrenCommand_base: {
|
|
|
177
180
|
* entities in the same root.</p>
|
|
178
181
|
* </li>
|
|
179
182
|
* <li>
|
|
183
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
180
186
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
181
187
|
* entity.</p>
|
|
182
188
|
* </li>
|
|
@@ -143,6 +143,9 @@ declare const ListCreateAccountStatusCommand_base: {
|
|
|
143
143
|
* the required pattern.</p>
|
|
144
144
|
* </li>
|
|
145
145
|
* <li>
|
|
146
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
146
149
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
147
150
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
148
151
|
* </li>
|
|
@@ -183,6 +186,9 @@ declare const ListCreateAccountStatusCommand_base: {
|
|
|
183
186
|
* entities in the same root.</p>
|
|
184
187
|
* </li>
|
|
185
188
|
* <li>
|
|
189
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
186
192
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
187
193
|
* entity.</p>
|
|
188
194
|
* </li>
|
|
@@ -328,6 +328,9 @@ declare const ListDelegatedAdministratorsCommand_base: {
|
|
|
328
328
|
* the required pattern.</p>
|
|
329
329
|
* </li>
|
|
330
330
|
* <li>
|
|
331
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
332
|
+
* </li>
|
|
333
|
+
* <li>
|
|
331
334
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
332
335
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
333
336
|
* </li>
|
|
@@ -368,6 +371,9 @@ declare const ListDelegatedAdministratorsCommand_base: {
|
|
|
368
371
|
* entities in the same root.</p>
|
|
369
372
|
* </li>
|
|
370
373
|
* <li>
|
|
374
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
375
|
+
* </li>
|
|
376
|
+
* <li>
|
|
371
377
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
372
378
|
* entity.</p>
|
|
373
379
|
* </li>
|
|
@@ -330,6 +330,9 @@ declare const ListDelegatedServicesForAccountCommand_base: {
|
|
|
330
330
|
* the required pattern.</p>
|
|
331
331
|
* </li>
|
|
332
332
|
* <li>
|
|
333
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
334
|
+
* </li>
|
|
335
|
+
* <li>
|
|
333
336
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
334
337
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
335
338
|
* </li>
|
|
@@ -370,6 +373,9 @@ declare const ListDelegatedServicesForAccountCommand_base: {
|
|
|
370
373
|
* entities in the same root.</p>
|
|
371
374
|
* </li>
|
|
372
375
|
* <li>
|
|
376
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
377
|
+
* </li>
|
|
378
|
+
* <li>
|
|
373
379
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
374
380
|
* entity.</p>
|
|
375
381
|
* </li>
|
|
@@ -164,6 +164,9 @@ declare const ListHandshakesForAccountCommand_base: {
|
|
|
164
164
|
* the required pattern.</p>
|
|
165
165
|
* </li>
|
|
166
166
|
* <li>
|
|
167
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
167
170
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
168
171
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
169
172
|
* </li>
|
|
@@ -204,6 +207,9 @@ declare const ListHandshakesForAccountCommand_base: {
|
|
|
204
207
|
* entities in the same root.</p>
|
|
205
208
|
* </li>
|
|
206
209
|
* <li>
|
|
210
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
211
|
+
* </li>
|
|
212
|
+
* <li>
|
|
207
213
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
208
214
|
* entity.</p>
|
|
209
215
|
* </li>
|
|
@@ -171,6 +171,9 @@ declare const ListHandshakesForOrganizationCommand_base: {
|
|
|
171
171
|
* the required pattern.</p>
|
|
172
172
|
* </li>
|
|
173
173
|
* <li>
|
|
174
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* <li>
|
|
174
177
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
175
178
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
176
179
|
* </li>
|
|
@@ -211,6 +214,9 @@ declare const ListHandshakesForOrganizationCommand_base: {
|
|
|
211
214
|
* entities in the same root.</p>
|
|
212
215
|
* </li>
|
|
213
216
|
* <li>
|
|
217
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
218
|
+
* </li>
|
|
219
|
+
* <li>
|
|
214
220
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
215
221
|
* entity.</p>
|
|
216
222
|
* </li>
|
|
@@ -135,6 +135,9 @@ declare const ListOrganizationalUnitsForParentCommand_base: {
|
|
|
135
135
|
* the required pattern.</p>
|
|
136
136
|
* </li>
|
|
137
137
|
* <li>
|
|
138
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
138
141
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
139
142
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
140
143
|
* </li>
|
|
@@ -175,6 +178,9 @@ declare const ListOrganizationalUnitsForParentCommand_base: {
|
|
|
175
178
|
* entities in the same root.</p>
|
|
176
179
|
* </li>
|
|
177
180
|
* <li>
|
|
181
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
182
|
+
* </li>
|
|
183
|
+
* <li>
|
|
178
184
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
179
185
|
* entity.</p>
|
|
180
186
|
* </li>
|
|
@@ -143,6 +143,9 @@ declare const ListParentsCommand_base: {
|
|
|
143
143
|
* the required pattern.</p>
|
|
144
144
|
* </li>
|
|
145
145
|
* <li>
|
|
146
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
146
149
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
147
150
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
148
151
|
* </li>
|
|
@@ -183,6 +186,9 @@ declare const ListParentsCommand_base: {
|
|
|
183
186
|
* entities in the same root.</p>
|
|
184
187
|
* </li>
|
|
185
188
|
* <li>
|
|
189
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
186
192
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
187
193
|
* entity.</p>
|
|
188
194
|
* </li>
|
|
@@ -45,7 +45,7 @@ declare const ListPoliciesCommand_base: {
|
|
|
45
45
|
* // const { OrganizationsClient, ListPoliciesCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
|
|
46
46
|
* const client = new OrganizationsClient(config);
|
|
47
47
|
* const input = { // ListPoliciesRequest
|
|
48
|
-
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
48
|
+
* Filter: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
49
49
|
* NextToken: "STRING_VALUE",
|
|
50
50
|
* MaxResults: Number("int"),
|
|
51
51
|
* };
|
|
@@ -58,7 +58,7 @@ declare const ListPoliciesCommand_base: {
|
|
|
58
58
|
* // Arn: "STRING_VALUE",
|
|
59
59
|
* // Name: "STRING_VALUE",
|
|
60
60
|
* // Description: "STRING_VALUE",
|
|
61
|
-
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
61
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
62
62
|
* // AwsManaged: true || false,
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -138,6 +138,9 @@ declare const ListPoliciesCommand_base: {
|
|
|
138
138
|
* the required pattern.</p>
|
|
139
139
|
* </li>
|
|
140
140
|
* <li>
|
|
141
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
141
144
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
142
145
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
143
146
|
* </li>
|
|
@@ -178,6 +181,9 @@ declare const ListPoliciesCommand_base: {
|
|
|
178
181
|
* entities in the same root.</p>
|
|
179
182
|
* </li>
|
|
180
183
|
* <li>
|
|
184
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
185
|
+
* </li>
|
|
186
|
+
* <li>
|
|
181
187
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
182
188
|
* entity.</p>
|
|
183
189
|
* </li>
|
|
@@ -48,7 +48,7 @@ declare const ListPoliciesForTargetCommand_base: {
|
|
|
48
48
|
* const client = new OrganizationsClient(config);
|
|
49
49
|
* const input = { // ListPoliciesForTargetRequest
|
|
50
50
|
* TargetId: "STRING_VALUE", // required
|
|
51
|
-
* Filter: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
51
|
+
* Filter: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
|
|
52
52
|
* NextToken: "STRING_VALUE",
|
|
53
53
|
* MaxResults: Number("int"),
|
|
54
54
|
* };
|
|
@@ -61,7 +61,7 @@ declare const ListPoliciesForTargetCommand_base: {
|
|
|
61
61
|
* // Arn: "STRING_VALUE",
|
|
62
62
|
* // Name: "STRING_VALUE",
|
|
63
63
|
* // Description: "STRING_VALUE",
|
|
64
|
-
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
64
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
65
65
|
* // AwsManaged: true || false,
|
|
66
66
|
* // },
|
|
67
67
|
* // ],
|
|
@@ -141,6 +141,9 @@ declare const ListPoliciesForTargetCommand_base: {
|
|
|
141
141
|
* the required pattern.</p>
|
|
142
142
|
* </li>
|
|
143
143
|
* <li>
|
|
144
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
145
|
+
* </li>
|
|
146
|
+
* <li>
|
|
144
147
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
145
148
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
146
149
|
* </li>
|
|
@@ -181,6 +184,9 @@ declare const ListPoliciesForTargetCommand_base: {
|
|
|
181
184
|
* entities in the same root.</p>
|
|
182
185
|
* </li>
|
|
183
186
|
* <li>
|
|
187
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
188
|
+
* </li>
|
|
189
|
+
* <li>
|
|
184
190
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
185
191
|
* entity.</p>
|
|
186
192
|
* </li>
|
|
@@ -65,7 +65,7 @@ declare const ListRootsCommand_base: {
|
|
|
65
65
|
* // Name: "STRING_VALUE",
|
|
66
66
|
* // PolicyTypes: [ // PolicyTypes
|
|
67
67
|
* // { // PolicyTypeSummary
|
|
68
|
-
* // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
68
|
+
* // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
|
|
69
69
|
* // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
@@ -147,6 +147,9 @@ declare const ListRootsCommand_base: {
|
|
|
147
147
|
* the required pattern.</p>
|
|
148
148
|
* </li>
|
|
149
149
|
* <li>
|
|
150
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
151
|
+
* </li>
|
|
152
|
+
* <li>
|
|
150
153
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
151
154
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
152
155
|
* </li>
|
|
@@ -187,6 +190,9 @@ declare const ListRootsCommand_base: {
|
|
|
187
190
|
* entities in the same root.</p>
|
|
188
191
|
* </li>
|
|
189
192
|
* <li>
|
|
193
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
194
|
+
* </li>
|
|
195
|
+
* <li>
|
|
190
196
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
191
197
|
* entity.</p>
|
|
192
198
|
* </li>
|
|
@@ -140,6 +140,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
140
140
|
* the required pattern.</p>
|
|
141
141
|
* </li>
|
|
142
142
|
* <li>
|
|
143
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
144
|
+
* </li>
|
|
145
|
+
* <li>
|
|
143
146
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
144
147
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
145
148
|
* </li>
|
|
@@ -180,6 +183,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
180
183
|
* entities in the same root.</p>
|
|
181
184
|
* </li>
|
|
182
185
|
* <li>
|
|
186
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
187
|
+
* </li>
|
|
188
|
+
* <li>
|
|
183
189
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
184
190
|
* entity.</p>
|
|
185
191
|
* </li>
|
|
@@ -137,6 +137,9 @@ declare const ListTargetsForPolicyCommand_base: {
|
|
|
137
137
|
* the required pattern.</p>
|
|
138
138
|
* </li>
|
|
139
139
|
* <li>
|
|
140
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* <li>
|
|
140
143
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
141
144
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
142
145
|
* </li>
|
|
@@ -177,6 +180,9 @@ declare const ListTargetsForPolicyCommand_base: {
|
|
|
177
180
|
* entities in the same root.</p>
|
|
178
181
|
* </li>
|
|
179
182
|
* <li>
|
|
183
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
180
186
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
181
187
|
* entity.</p>
|
|
182
188
|
* </li>
|
|
@@ -134,6 +134,9 @@ declare const MoveAccountCommand_base: {
|
|
|
134
134
|
* the required pattern.</p>
|
|
135
135
|
* </li>
|
|
136
136
|
* <li>
|
|
137
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
138
|
+
* </li>
|
|
139
|
+
* <li>
|
|
137
140
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
138
141
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
139
142
|
* </li>
|
|
@@ -174,6 +177,9 @@ declare const MoveAccountCommand_base: {
|
|
|
174
177
|
* entities in the same root.</p>
|
|
175
178
|
* </li>
|
|
176
179
|
* <li>
|
|
180
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
181
|
+
* </li>
|
|
182
|
+
* <li>
|
|
177
183
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
178
184
|
* entity.</p>
|
|
179
185
|
* </li>
|
|
@@ -328,6 +328,9 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
328
328
|
* the required pattern.</p>
|
|
329
329
|
* </li>
|
|
330
330
|
* <li>
|
|
331
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
332
|
+
* </li>
|
|
333
|
+
* <li>
|
|
331
334
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
332
335
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
333
336
|
* </li>
|
|
@@ -368,6 +371,9 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
368
371
|
* entities in the same root.</p>
|
|
369
372
|
* </li>
|
|
370
373
|
* <li>
|
|
374
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
375
|
+
* </li>
|
|
376
|
+
* <li>
|
|
371
377
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
372
378
|
* entity.</p>
|
|
373
379
|
* </li>
|
|
@@ -331,6 +331,9 @@ declare const RegisterDelegatedAdministratorCommand_base: {
|
|
|
331
331
|
* the required pattern.</p>
|
|
332
332
|
* </li>
|
|
333
333
|
* <li>
|
|
334
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
335
|
+
* </li>
|
|
336
|
+
* <li>
|
|
334
337
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
335
338
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
336
339
|
* </li>
|
|
@@ -371,6 +374,9 @@ declare const RegisterDelegatedAdministratorCommand_base: {
|
|
|
371
374
|
* entities in the same root.</p>
|
|
372
375
|
* </li>
|
|
373
376
|
* <li>
|
|
377
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
378
|
+
* </li>
|
|
379
|
+
* <li>
|
|
374
380
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
375
381
|
* entity.</p>
|
|
376
382
|
* </li>
|
|
@@ -348,6 +348,9 @@ declare const RemoveAccountFromOrganizationCommand_base: {
|
|
|
348
348
|
* the required pattern.</p>
|
|
349
349
|
* </li>
|
|
350
350
|
* <li>
|
|
351
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
352
|
+
* </li>
|
|
353
|
+
* <li>
|
|
351
354
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
352
355
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
353
356
|
* </li>
|
|
@@ -388,6 +391,9 @@ declare const RemoveAccountFromOrganizationCommand_base: {
|
|
|
388
391
|
* entities in the same root.</p>
|
|
389
392
|
* </li>
|
|
390
393
|
* <li>
|
|
394
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
395
|
+
* </li>
|
|
396
|
+
* <li>
|
|
391
397
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
392
398
|
* entity.</p>
|
|
393
399
|
* </li>
|
|
@@ -336,6 +336,9 @@ declare const TagResourceCommand_base: {
|
|
|
336
336
|
* the required pattern.</p>
|
|
337
337
|
* </li>
|
|
338
338
|
* <li>
|
|
339
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
340
|
+
* </li>
|
|
341
|
+
* <li>
|
|
339
342
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
340
343
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
341
344
|
* </li>
|
|
@@ -376,6 +379,9 @@ declare const TagResourceCommand_base: {
|
|
|
376
379
|
* entities in the same root.</p>
|
|
377
380
|
* </li>
|
|
378
381
|
* <li>
|
|
382
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
383
|
+
* </li>
|
|
384
|
+
* <li>
|
|
379
385
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
380
386
|
* entity.</p>
|
|
381
387
|
* </li>
|
|
@@ -333,6 +333,9 @@ declare const UntagResourceCommand_base: {
|
|
|
333
333
|
* the required pattern.</p>
|
|
334
334
|
* </li>
|
|
335
335
|
* <li>
|
|
336
|
+
* <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
|
|
337
|
+
* </li>
|
|
338
|
+
* <li>
|
|
336
339
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
337
340
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
338
341
|
* </li>
|
|
@@ -373,6 +376,9 @@ declare const UntagResourceCommand_base: {
|
|
|
373
376
|
* entities in the same root.</p>
|
|
374
377
|
* </li>
|
|
375
378
|
* <li>
|
|
379
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
380
|
+
* </li>
|
|
381
|
+
* <li>
|
|
376
382
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
377
383
|
* entity.</p>
|
|
378
384
|
* </li>
|
|
@@ -131,6 +131,9 @@ 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 policy.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
134
137
|
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
135
138
|
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
136
139
|
* </li>
|
|
@@ -171,6 +174,9 @@ declare const UpdateOrganizationalUnitCommand_base: {
|
|
|
171
174
|
* entities in the same root.</p>
|
|
172
175
|
* </li>
|
|
173
176
|
* <li>
|
|
177
|
+
* <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
|
|
178
|
+
* </li>
|
|
179
|
+
* <li>
|
|
174
180
|
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
175
181
|
* entity.</p>
|
|
176
182
|
* </li>
|