@aws-sdk/client-organizations 3.775.0 → 3.782.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist-types/commands/AcceptHandshakeCommand.d.ts +1 -57
  2. package/dist-types/commands/AttachPolicyCommand.d.ts +20 -15
  3. package/dist-types/commands/CancelHandshakeCommand.d.ts +1 -62
  4. package/dist-types/commands/CloseAccountCommand.d.ts +1 -0
  5. package/dist-types/commands/CreateAccountCommand.d.ts +10 -10
  6. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateOrganizationCommand.d.ts +28 -29
  8. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +11 -11
  9. package/dist-types/commands/CreatePolicyCommand.d.ts +16 -16
  10. package/dist-types/commands/DeclineHandshakeCommand.d.ts +28 -28
  11. package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +9 -6
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +9 -6
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  15. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeAccountCommand.d.ts +9 -9
  17. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +8 -8
  18. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeHandshakeCommand.d.ts +26 -26
  20. package/dist-types/commands/DescribeOrganizationCommand.d.ts +13 -13
  21. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +8 -8
  22. package/dist-types/commands/DescribePolicyCommand.d.ts +13 -13
  23. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -0
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +8 -5
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +1 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +10 -10
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +1 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +17 -17
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +12 -12
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +31 -31
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +7 -4
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +1 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +1 -51
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +19 -19
  35. package/dist-types/commands/ListChildrenCommand.d.ts +10 -10
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +24 -25
  37. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +1 -0
  38. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +1 -0
  39. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +28 -28
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +51 -51
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +11 -11
  42. package/dist-types/commands/ListParentsCommand.d.ts +7 -7
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +23 -23
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +12 -12
  45. package/dist-types/commands/ListRootsCommand.d.ts +11 -11
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +17 -17
  48. package/dist-types/commands/MoveAccountCommand.d.ts +9 -6
  49. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
  50. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +1 -0
  51. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +7 -4
  52. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  54. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +9 -9
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +31 -32
  56. package/package.json +5 -5
@@ -321,64 +321,8 @@ declare const AcceptHandshakeCommand_base: {
321
321
  * @throws {@link OrganizationsServiceException}
322
322
  * <p>Base exception class for all service exceptions from Organizations service.</p>
323
323
  *
324
- * @public
325
- * @example To accept a handshake from another account
326
- * ```javascript
327
- * // Bill is the owner of an organization, and he invites Juan's account (222222222222) to join his organization. The following example shows Juan's account accepting the handshake and thus agreeing to the invitation.
328
- * const input = {
329
- * "HandshakeId": "h-examplehandshakeid111"
330
- * };
331
- * const command = new AcceptHandshakeCommand(input);
332
- * const response = await client.send(command);
333
- * /* response ==
334
- * {
335
- * "Handshake": {
336
- * "Action": "INVITE",
337
- * "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
338
- * "ExpirationTimestamp": "20170228T1215Z",
339
- * "Id": "h-examplehandshakeid111",
340
- * "Parties": [
341
- * {
342
- * "Id": "o-exampleorgid",
343
- * "Type": "ORGANIZATION"
344
- * },
345
- * {
346
- * "Id": "juan@example.com",
347
- * "Type": "EMAIL"
348
- * }
349
- * ],
350
- * "RequestedTimestamp": "20170214T1215Z",
351
- * "Resources": [
352
- * {
353
- * "Resources": [
354
- * {
355
- * "Type": "MASTER_EMAIL",
356
- * "Value": "bill@amazon.com"
357
- * },
358
- * {
359
- * "Type": "MASTER_NAME",
360
- * "Value": "Org Master Account"
361
- * },
362
- * {
363
- * "Type": "ORGANIZATION_FEATURE_SET",
364
- * "Value": "ALL"
365
- * }
366
- * ],
367
- * "Type": "ORGANIZATION",
368
- * "Value": "o-exampleorgid"
369
- * },
370
- * {
371
- * "Type": "ACCOUNT",
372
- * "Value": "222222222222"
373
- * }
374
- * ],
375
- * "State": "ACCEPTED"
376
- * }
377
- * }
378
- * *\/
379
- * // example id: to-accept-a-handshake-from-another-account-1472500561150
380
- * ```
381
324
  *
325
+ * @public
382
326
  */
383
327
  export declare class AcceptHandshakeCommand extends AcceptHandshakeCommand_base {
384
328
  /** @internal type navigation helper, not in runtime. */
@@ -451,33 +451,38 @@ declare const AttachPolicyCommand_base: {
451
451
  * @throws {@link OrganizationsServiceException}
452
452
  * <p>Base exception class for all service exceptions from Organizations service.</p>
453
453
  *
454
- * @public
455
- * @example To attach a policy to an OU
454
+ *
455
+ * @example To attach a policy to an account
456
456
  * ```javascript
457
- * // The following example shows how to attach a service control policy (SCP) to an OU:
458
- * //
457
+ * // The following example shows how to attach a service control policy (SCP) to an account:
458
+ *
459
459
  * const input = {
460
- * "PolicyId": "p-examplepolicyid111",
461
- * "TargetId": "ou-examplerootid111-exampleouid111"
460
+ * PolicyId: "p-examplepolicyid111",
461
+ * TargetId: "333333333333"
462
462
  * };
463
463
  * const command = new AttachPolicyCommand(input);
464
- * await client.send(command);
465
- * // example id: to-attach-a-policy-to-an-ou
464
+ * const response = await client.send(command);
465
+ * /* response is
466
+ * { /* metadata only *\/ }
467
+ * *\/
466
468
  * ```
467
469
  *
468
- * @example To attach a policy to an account
470
+ * @example To attach a policy to an OU
469
471
  * ```javascript
470
- * // The following example shows how to attach a service control policy (SCP) to an account:
471
- * //
472
+ * // The following example shows how to attach a service control policy (SCP) to an OU:
473
+ *
472
474
  * const input = {
473
- * "PolicyId": "p-examplepolicyid111",
474
- * "TargetId": "333333333333"
475
+ * PolicyId: "p-examplepolicyid111",
476
+ * TargetId: "ou-examplerootid111-exampleouid111"
475
477
  * };
476
478
  * const command = new AttachPolicyCommand(input);
477
- * await client.send(command);
478
- * // example id: to-attach-a-policy-to-an-account
479
+ * const response = await client.send(command);
480
+ * /* response is
481
+ * { /* metadata only *\/ }
482
+ * *\/
479
483
  * ```
480
484
  *
485
+ * @public
481
486
  */
482
487
  export declare class AttachPolicyCommand extends AttachPolicyCommand_base {
483
488
  /** @internal type navigation helper, not in runtime. */
@@ -227,69 +227,8 @@ declare const CancelHandshakeCommand_base: {
227
227
  * @throws {@link OrganizationsServiceException}
228
228
  * <p>Base exception class for all service exceptions from Organizations service.</p>
229
229
  *
230
- * @public
231
- * @example To cancel a handshake sent to a member account
232
- * ```javascript
233
- * // Bill previously sent an invitation to Susan's account to join his organization. He changes his mind and decides to cancel the invitation before Susan accepts it. The following example shows Bill's cancellation:
234
- * //
235
- * const input = {
236
- * "HandshakeId": "h-examplehandshakeid111"
237
- * };
238
- * const command = new CancelHandshakeCommand(input);
239
- * const response = await client.send(command);
240
- * /* response ==
241
- * {
242
- * "Handshake": {
243
- * "Action": "INVITE",
244
- * "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
245
- * "ExpirationTimestamp": "20170228T1215Z",
246
- * "Id": "h-examplehandshakeid111",
247
- * "Parties": [
248
- * {
249
- * "Id": "o-exampleorgid",
250
- * "Type": "ORGANIZATION"
251
- * },
252
- * {
253
- * "Id": "susan@example.com",
254
- * "Type": "EMAIL"
255
- * }
256
- * ],
257
- * "RequestedTimestamp": "20170214T1215Z",
258
- * "Resources": [
259
- * {
260
- * "Resources": [
261
- * {
262
- * "Type": "MASTER_EMAIL",
263
- * "Value": "bill@example.com"
264
- * },
265
- * {
266
- * "Type": "MASTER_NAME",
267
- * "Value": "Master Account"
268
- * },
269
- * {
270
- * "Type": "ORGANIZATION_FEATURE_SET",
271
- * "Value": "CONSOLIDATED_BILLING"
272
- * }
273
- * ],
274
- * "Type": "ORGANIZATION",
275
- * "Value": "o-exampleorgid"
276
- * },
277
- * {
278
- * "Type": "ACCOUNT",
279
- * "Value": "222222222222"
280
- * },
281
- * {
282
- * "Type": "NOTES",
283
- * "Value": "This is a request for Susan's account to join Bob's organization."
284
- * }
285
- * ],
286
- * "State": "CANCELED"
287
- * }
288
- * }
289
- * *\/
290
- * // example id: to-cancel-a-handshake-sent-to-a-member-account-1472501320506
291
- * ```
292
230
  *
231
+ * @public
293
232
  */
294
233
  export declare class CancelHandshakeCommand extends CancelHandshakeCommand_base {
295
234
  /** @internal type navigation helper, not in runtime. */
@@ -447,6 +447,7 @@ declare const CloseAccountCommand_base: {
447
447
  * @throws {@link OrganizationsServiceException}
448
448
  * <p>Base exception class for all service exceptions from Organizations service.</p>
449
449
  *
450
+ *
450
451
  * @public
451
452
  */
452
453
  export declare class CloseAccountCommand extends CloseAccountCommand_base {
@@ -485,29 +485,29 @@ declare const CreateAccountCommand_base: {
485
485
  * @throws {@link OrganizationsServiceException}
486
486
  * <p>Base exception class for all service exceptions from Organizations service.</p>
487
487
  *
488
- * @public
488
+ *
489
489
  * @example To create a new account that is automatically part of the organization
490
490
  * ```javascript
491
491
  * // The owner of an organization creates a member account in the organization. The following example shows that when the organization owner creates the member account, the account is preconfigured with the name "Production Account" and an owner email address of susan@example.com. An IAM role is automatically created using the default name because the roleName parameter is not used. AWS Organizations sends Susan a "Welcome to AWS" email:
492
- * //
493
- * //
492
+ *
493
+ *
494
494
  * const input = {
495
- * "AccountName": "Production Account",
496
- * "Email": "susan@example.com"
495
+ * AccountName: "Production Account",
496
+ * Email: "susan@example.com"
497
497
  * };
498
498
  * const command = new CreateAccountCommand(input);
499
499
  * const response = await client.send(command);
500
- * /* response ==
500
+ * /* response is
501
501
  * {
502
- * "CreateAccountStatus": {
503
- * "Id": "car-examplecreateaccountrequestid111",
504
- * "State": "IN_PROGRESS"
502
+ * CreateAccountStatus: {
503
+ * Id: "car-examplecreateaccountrequestid111",
504
+ * State: "IN_PROGRESS"
505
505
  * }
506
506
  * }
507
507
  * *\/
508
- * // example id: to-create-a-new-account-that-is-automatically-part-of-the-organization-1472501463507
509
508
  * ```
510
509
  *
510
+ * @public
511
511
  */
512
512
  export declare class CreateAccountCommand extends CreateAccountCommand_base {
513
513
  /** @internal type navigation helper, not in runtime. */
@@ -539,6 +539,7 @@ declare const CreateGovCloudAccountCommand_base: {
539
539
  * @throws {@link OrganizationsServiceException}
540
540
  * <p>Base exception class for all service exceptions from Organizations service.</p>
541
541
  *
542
+ *
542
543
  * @public
543
544
  */
544
545
  export declare class CreateGovCloudAccountCommand extends CreateGovCloudAccountCommand_base {
@@ -417,62 +417,61 @@ declare const CreateOrganizationCommand_base: {
417
417
  * @throws {@link OrganizationsServiceException}
418
418
  * <p>Base exception class for all service exceptions from Organizations service.</p>
419
419
  *
420
- * @public
420
+ *
421
421
  * @example To create a new organization with all features enabled
422
422
  * ```javascript
423
423
  * // Bill wants to create an organization using credentials from account 111111111111. The following example shows that the account becomes the master account in the new organization. Because he does not specify a feature set, the new organization defaults to all features enabled and service control policies enabled on the root:
424
- * //
425
- * //
426
- * const input = {};
424
+ *
425
+ *
426
+ * const input = { /* empty *\/ };
427
427
  * const command = new CreateOrganizationCommand(input);
428
428
  * const response = await client.send(command);
429
- * /* response ==
429
+ * /* response is
430
430
  * {
431
- * "Organization": {
432
- * "Arn": "arn:aws:organizations::111111111111:organization/o-exampleorgid",
433
- * "AvailablePolicyTypes": [
431
+ * Organization: {
432
+ * Arn: "arn:aws:organizations::111111111111:organization/o-exampleorgid",
433
+ * AvailablePolicyTypes: [
434
434
  * {
435
- * "Status": "ENABLED",
436
- * "Type": "SERVICE_CONTROL_POLICY"
435
+ * Status: "ENABLED",
436
+ * Type: "SERVICE_CONTROL_POLICY"
437
437
  * }
438
438
  * ],
439
- * "FeatureSet": "ALL",
440
- * "Id": "o-exampleorgid",
441
- * "MasterAccountArn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111",
442
- * "MasterAccountEmail": "bill@example.com",
443
- * "MasterAccountId": "111111111111"
439
+ * FeatureSet: "ALL",
440
+ * Id: "o-exampleorgid",
441
+ * MasterAccountArn: "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111",
442
+ * MasterAccountEmail: "bill@example.com",
443
+ * MasterAccountId: "111111111111"
444
444
  * }
445
445
  * }
446
446
  * *\/
447
- * // example id: to-create-a-new-organization-with-all-features enabled
448
447
  * ```
449
448
  *
450
449
  * @example To create a new organization with consolidated billing features only
451
450
  * ```javascript
452
451
  * // In the following example, Bill creates an organization using credentials from account 111111111111, and configures the organization to support only the consolidated billing feature set:
453
- * //
454
- * //
452
+ *
453
+ *
455
454
  * const input = {
456
- * "FeatureSet": "CONSOLIDATED_BILLING"
455
+ * FeatureSet: "CONSOLIDATED_BILLING"
457
456
  * };
458
457
  * const command = new CreateOrganizationCommand(input);
459
458
  * const response = await client.send(command);
460
- * /* response ==
459
+ * /* response is
461
460
  * {
462
- * "Organization": {
463
- * "Arn": "arn:aws:organizations::111111111111:organization/o-exampleorgid",
464
- * "AvailablePolicyTypes": [],
465
- * "FeatureSet": "CONSOLIDATED_BILLING",
466
- * "Id": "o-exampleorgid",
467
- * "MasterAccountArn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111",
468
- * "MasterAccountEmail": "bill@example.com",
469
- * "MasterAccountId": "111111111111"
461
+ * Organization: {
462
+ * Arn: "arn:aws:organizations::111111111111:organization/o-exampleorgid",
463
+ * AvailablePolicyTypes: [],
464
+ * FeatureSet: "CONSOLIDATED_BILLING",
465
+ * Id: "o-exampleorgid",
466
+ * MasterAccountArn: "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111",
467
+ * MasterAccountEmail: "bill@example.com",
468
+ * MasterAccountId: "111111111111"
470
469
  * }
471
470
  * }
472
471
  * *\/
473
- * // example id: to-create-a-new-organization-with-consolidated-billing-features-only
474
472
  * ```
475
473
  *
474
+ * @public
476
475
  */
477
476
  export declare class CreateOrganizationCommand extends CreateOrganizationCommand_base {
478
477
  /** @internal type navigation helper, not in runtime. */
@@ -414,30 +414,30 @@ declare const CreateOrganizationalUnitCommand_base: {
414
414
  * @throws {@link OrganizationsServiceException}
415
415
  * <p>Base exception class for all service exceptions from Organizations service.</p>
416
416
  *
417
- * @public
417
+ *
418
418
  * @example To create a new organization unit
419
419
  * ```javascript
420
420
  * // The following example shows how to create an OU that is named AccountingOU. The new OU is directly under the root.:
421
- * //
422
- * //
421
+ *
422
+ *
423
423
  * const input = {
424
- * "Name": "AccountingOU",
425
- * "ParentId": "r-examplerootid111"
424
+ * Name: "AccountingOU",
425
+ * ParentId: "r-examplerootid111"
426
426
  * };
427
427
  * const command = new CreateOrganizationalUnitCommand(input);
428
428
  * const response = await client.send(command);
429
- * /* response ==
429
+ * /* response is
430
430
  * {
431
- * "OrganizationalUnit": {
432
- * "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
433
- * "Id": "ou-examplerootid111-exampleouid111",
434
- * "Name": "AccountingOU"
431
+ * OrganizationalUnit: {
432
+ * Arn: "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
433
+ * Id: "ou-examplerootid111-exampleouid111",
434
+ * Name: "AccountingOU"
435
435
  * }
436
436
  * }
437
437
  * *\/
438
- * // example id: to-create-a-new-organizational-unit
439
438
  * ```
440
439
  *
440
+ * @public
441
441
  */
442
442
  export declare class CreateOrganizationalUnitCommand extends CreateOrganizationalUnitCommand_base {
443
443
  /** @internal type navigation helper, not in runtime. */
@@ -432,36 +432,36 @@ declare const CreatePolicyCommand_base: {
432
432
  * @throws {@link OrganizationsServiceException}
433
433
  * <p>Base exception class for all service exceptions from Organizations service.</p>
434
434
  *
435
- * @public
435
+ *
436
436
  * @example To create a service control policy
437
437
  * ```javascript
438
438
  * // The following example shows how to create a service control policy (SCP) that is named AllowAllS3Actions. The JSON string in the content parameter specifies the content in the policy. The parameter string is escaped with backslashes to ensure that the embedded double quotes in the JSON policy are treated as literals in the parameter, which itself is surrounded by double quotes:
439
- * //
440
- * //
439
+ *
440
+ *
441
441
  * const input = {
442
- * "Content": "{\\\"Version\\\":\\\"2012-10-17\\\",\\\"Statement\\\":{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":\\\"s3:*\\\"}}",
443
- * "Description": "Enables admins of attached accounts to delegate all S3 permissions",
444
- * "Name": "AllowAllS3Actions",
445
- * "Type": "SERVICE_CONTROL_POLICY"
442
+ * Content: `{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"s3:*\"}}`,
443
+ * Description: "Enables admins of attached accounts to delegate all S3 permissions",
444
+ * Name: "AllowAllS3Actions",
445
+ * Type: "SERVICE_CONTROL_POLICY"
446
446
  * };
447
447
  * const command = new CreatePolicyCommand(input);
448
448
  * const response = await client.send(command);
449
- * /* response ==
449
+ * /* response is
450
450
  * {
451
- * "Policy": {
452
- * "Content": "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"s3:*\"}}",
453
- * "PolicySummary": {
454
- * "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111",
455
- * "Description": "Allows delegation of all S3 actions",
456
- * "Name": "AllowAllS3Actions",
457
- * "Type": "SERVICE_CONTROL_POLICY"
451
+ * Policy: {
452
+ * Content: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"s3:*"}}`,
453
+ * PolicySummary: {
454
+ * Arn: "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111",
455
+ * Description: "Allows delegation of all S3 actions",
456
+ * Name: "AllowAllS3Actions",
457
+ * Type: "SERVICE_CONTROL_POLICY"
458
458
  * }
459
459
  * }
460
460
  * }
461
461
  * *\/
462
- * // example id: to-create-a-service-control-policy
463
462
  * ```
464
463
  *
464
+ * @public
465
465
  */
466
466
  export declare class CreatePolicyCommand extends CreatePolicyCommand_base {
467
467
  /** @internal type navigation helper, not in runtime. */
@@ -228,64 +228,64 @@ declare const DeclineHandshakeCommand_base: {
228
228
  * @throws {@link OrganizationsServiceException}
229
229
  * <p>Base exception class for all service exceptions from Organizations service.</p>
230
230
  *
231
- * @public
231
+ *
232
232
  * @example To decline a handshake sent from the master account
233
233
  * ```javascript
234
234
  * // The following example shows Susan declining an invitation to join Bill's organization. The DeclineHandshake operation returns a handshake object, showing that the state is now DECLINED:
235
235
  * const input = {
236
- * "HandshakeId": "h-examplehandshakeid111"
236
+ * HandshakeId: "h-examplehandshakeid111"
237
237
  * };
238
238
  * const command = new DeclineHandshakeCommand(input);
239
239
  * const response = await client.send(command);
240
- * /* response ==
240
+ * /* response is
241
241
  * {
242
- * "Handshake": {
243
- * "Action": "INVITE",
244
- * "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
245
- * "ExpirationTimestamp": "2016-12-15T19:27:58Z",
246
- * "Id": "h-examplehandshakeid111",
247
- * "Parties": [
242
+ * Handshake: {
243
+ * Action: "INVITE",
244
+ * Arn: "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
245
+ * ExpirationTimestamp: "2016-12-15T19:27:58Z",
246
+ * Id: "h-examplehandshakeid111",
247
+ * Parties: [
248
248
  * {
249
- * "Id": "222222222222",
250
- * "Type": "ACCOUNT"
249
+ * Id: "222222222222",
250
+ * Type: "ACCOUNT"
251
251
  * },
252
252
  * {
253
- * "Id": "o-exampleorgid",
254
- * "Type": "ORGANIZATION"
253
+ * Id: "o-exampleorgid",
254
+ * Type: "ORGANIZATION"
255
255
  * }
256
256
  * ],
257
- * "RequestedTimestamp": "2016-11-30T19:27:58Z",
258
- * "Resources": [
257
+ * RequestedTimestamp: "2016-11-30T19:27:58Z",
258
+ * Resources: [
259
259
  * {
260
- * "Resources": [
260
+ * Resources: [
261
261
  * {
262
- * "Type": "MASTER_EMAIL",
263
- * "Value": "bill@example.com"
262
+ * Type: "MASTER_EMAIL",
263
+ * Value: "bill@example.com"
264
264
  * },
265
265
  * {
266
- * "Type": "MASTER_NAME",
267
- * "Value": "Master Account"
266
+ * Type: "MASTER_NAME",
267
+ * Value: "Master Account"
268
268
  * }
269
269
  * ],
270
- * "Type": "ORGANIZATION",
271
- * "Value": "o-exampleorgid"
270
+ * Type: "ORGANIZATION",
271
+ * Value: "o-exampleorgid"
272
272
  * },
273
273
  * {
274
- * "Type": "ACCOUNT",
275
- * "Value": "222222222222"
274
+ * Type: "ACCOUNT",
275
+ * Value: "222222222222"
276
276
  * },
277
277
  * {
278
- * "Type": "NOTES",
279
- * "Value": "This is an invitation to Susan's account to join the Bill's organization."
278
+ * Type: "NOTES",
279
+ * Value: "This is an invitation to Susan's account to join the Bill's organization."
280
280
  * }
281
281
  * ],
282
- * "State": "DECLINED"
282
+ * State: "DECLINED"
283
283
  * }
284
284
  * }
285
285
  * *\/
286
- * // example id: to-decline-a-handshake-sent-from-the-master-account-1472502666967
287
286
  * ```
288
287
  *
288
+ * @public
289
289
  */
290
290
  export declare class DeclineHandshakeCommand extends DeclineHandshakeCommand_base {
291
291
  /** @internal type navigation helper, not in runtime. */
@@ -188,6 +188,7 @@ declare const DeleteOrganizationCommand_base: {
188
188
  * @throws {@link OrganizationsServiceException}
189
189
  * <p>Base exception class for all service exceptions from Organizations service.</p>
190
190
  *
191
+ *
191
192
  * @public
192
193
  */
193
194
  export declare class DeleteOrganizationCommand extends DeleteOrganizationCommand_base {
@@ -196,20 +196,23 @@ declare const DeleteOrganizationalUnitCommand_base: {
196
196
  * @throws {@link OrganizationsServiceException}
197
197
  * <p>Base exception class for all service exceptions from Organizations service.</p>
198
198
  *
199
- * @public
199
+ *
200
200
  * @example To delete an organization unit
201
201
  * ```javascript
202
202
  * // The following example shows how to delete an OU. The example assumes that you previously removed all accounts and other OUs from the OU:
203
- * //
204
- * //
203
+ *
204
+ *
205
205
  * const input = {
206
- * "OrganizationalUnitId": "ou-examplerootid111-exampleouid111"
206
+ * OrganizationalUnitId: "ou-examplerootid111-exampleouid111"
207
207
  * };
208
208
  * const command = new DeleteOrganizationalUnitCommand(input);
209
- * await client.send(command);
210
- * // example id: to-delete-an-organizational-unit
209
+ * const response = await client.send(command);
210
+ * /* response is
211
+ * { /* metadata only *\/ }
212
+ * *\/
211
213
  * ```
212
214
  *
215
+ * @public
213
216
  */
214
217
  export declare class DeleteOrganizationalUnitCommand extends DeleteOrganizationalUnitCommand_base {
215
218
  /** @internal type navigation helper, not in runtime. */
@@ -200,20 +200,23 @@ declare const DeletePolicyCommand_base: {
200
200
  * @throws {@link OrganizationsServiceException}
201
201
  * <p>Base exception class for all service exceptions from Organizations service.</p>
202
202
  *
203
- * @public
203
+ *
204
204
  * @example To delete a policy
205
205
  * ```javascript
206
206
  * // The following example shows how to delete a policy from an organization. The example assumes that you previously detached the policy from all entities:
207
- * //
208
- * //
207
+ *
208
+ *
209
209
  * const input = {
210
- * "PolicyId": "p-examplepolicyid111"
210
+ * PolicyId: "p-examplepolicyid111"
211
211
  * };
212
212
  * const command = new DeletePolicyCommand(input);
213
- * await client.send(command);
214
- * // example id: to-delete-a-policy
213
+ * const response = await client.send(command);
214
+ * /* response is
215
+ * { /* metadata only *\/ }
216
+ * *\/
215
217
  * ```
216
218
  *
219
+ * @public
217
220
  */
218
221
  export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
219
222
  /** @internal type navigation helper, not in runtime. */
@@ -280,6 +280,7 @@ declare const DeleteResourcePolicyCommand_base: {
280
280
  * @throws {@link OrganizationsServiceException}
281
281
  * <p>Base exception class for all service exceptions from Organizations service.</p>
282
282
  *
283
+ *
283
284
  * @public
284
285
  */
285
286
  export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
@@ -411,6 +411,7 @@ declare const DeregisterDelegatedAdministratorCommand_base: {
411
411
  * @throws {@link OrganizationsServiceException}
412
412
  * <p>Base exception class for all service exceptions from Organizations service.</p>
413
413
  *
414
+ *
414
415
  * @public
415
416
  */
416
417
  export declare class DeregisterDelegatedAdministratorCommand extends DeregisterDelegatedAdministratorCommand_base {