Class: Aws::Organizations::Types::UpdateOrganizationalUnitRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The new name that you want to assign to the OU.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4669

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

#organizational_unit_idString

The unique identifier (ID) of the OU that you want to rename. 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)


4669
4670
4671
4672
4673
4674
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4669

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