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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-organizations/types.rb

Overview

Note:

When making an API call, you may pass DeleteOrganizationalUnitRequest data as a hash:

{
  organizational_unit_id: "OrganizationalUnitId", # required
}

Constant Summary collapse

SENSITIVE =
[]

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.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)

1359
1360
1361
1362
1363
# File 'lib/aws-sdk-organizations/types.rb', line 1359

class DeleteOrganizationalUnitRequest < Struct.new(
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end