Class: Aws::Organizations::Types::MoveAccountRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::MoveAccountRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
When making an API call, you may pass MoveAccountRequest data as a hash:
{
account_id: "AccountId", # required
source_parent_id: "ParentId", # required
destination_parent_id: "ParentId", # required
}
Instance Attribute Summary collapse
-
#account_id ⇒ String
The unique identifier (ID) of the account that you want to move.
-
#destination_parent_id ⇒ String
The unique identifier (ID) of the root or organizational unit that you want to move the account to.
-
#source_parent_id ⇒ String
The unique identifier (ID) of the root or organizational unit that you want to move the account from.
Instance Attribute Details
#account_id ⇒ String
The unique identifier (ID) of the account that you want to move.
The [regex pattern] for an account ID string requires exactly 12 digits.
2228 2229 2230 2231 2232 2233 |
# File 'lib/aws-sdk-organizations/types.rb', line 2228 class MoveAccountRequest < Struct.new( :account_id, :source_parent_id, :destination_parent_id) include Aws::Structure end |
#destination_parent_id ⇒ String
The unique identifier (ID) of the root or organizational unit that you want to move the account to.
The [regex pattern] for a parent ID string requires one of the following:
-
Root: a string that begins with “r-” followed by from 4 to 32 lower-case letters or digits.
-
Organizational unit (OU): a string that begins with “ou-” followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second “-” dash and from 8 to 32 additional lower-case letters or digits.
2228 2229 2230 2231 2232 2233 |
# File 'lib/aws-sdk-organizations/types.rb', line 2228 class MoveAccountRequest < Struct.new( :account_id, :source_parent_id, :destination_parent_id) include Aws::Structure end |
#source_parent_id ⇒ String
The unique identifier (ID) of the root or organizational unit that you want to move the account from.
The [regex pattern] for a parent ID string requires one of the following:
-
Root: a string that begins with “r-” followed by from 4 to 32 lower-case letters or digits.
-
Organizational unit (OU): a string that begins with “ou-” followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second “-” dash and from 8 to 32 additional lower-case letters or digits.
2228 2229 2230 2231 2232 2233 |
# File 'lib/aws-sdk-organizations/types.rb', line 2228 class MoveAccountRequest < Struct.new( :account_id, :source_parent_id, :destination_parent_id) include Aws::Structure end |