You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Organizations::Types::DeleteOrganizationalUnitRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeleteOrganizationalUnitRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  organizational_unit_id: "OrganizationalUnitId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#organizational_unit_idString

The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits.

Returns:

  • (String)

    The unique identifier (ID) of the organizational unit that you want to delete.