Class: Aws::Organizations::Types::UpdateOrganizationalUnitRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::UpdateOrganizationalUnitRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
When making an API call, you may pass UpdateOrganizationalUnitRequest data as a hash:
{
organizational_unit_id: "OrganizationalUnitId", # required
name: "OrganizationalUnitName",
}
Instance Attribute Summary collapse
-
#name ⇒ String
The new name that you want to assign to the OU.
-
#organizational_unit_id ⇒ String
The unique identifier (ID) of the OU that you want to rename.
Instance Attribute Details
#name ⇒ String
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.
2853 2854 2855 2856 2857 |
# File 'lib/aws-sdk-organizations/types.rb', line 2853 class UpdateOrganizationalUnitRequest < Struct.new( :organizational_unit_id, :name) include Aws::Structure end |
#organizational_unit_id ⇒ String
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 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.
2853 2854 2855 2856 2857 |
# File 'lib/aws-sdk-organizations/types.rb', line 2853 class UpdateOrganizationalUnitRequest < Struct.new( :organizational_unit_id, :name) include Aws::Structure end |