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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-organizations/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
}

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 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

Returns:

  • (String)


649
650
651
652
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 649

class DeleteOrganizationalUnitRequest < Struct.new(
  :organizational_unit_id)
  include Aws::Structure
end