Class: Aws::Organizations::Types::ListAccountsForParentResponse

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

#accountsArray<Types::Account>

A list of the accounts in the specified root or OU.

The Status parameter in the API response will be retired on September 9, 2026. Although both the account State and account Status parameters are currently available in the Organizations APIs (DescribeAccount, ListAccounts, ListAccountsForParent), we recommend that you update your scripts or other code to use the State parameter instead of Status before September 9, 2026.

Returns:



3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3062

class ListAccountsForParentResponse < Struct.new(
  :accounts,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

Returns:

  • (String)


3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3062

class ListAccountsForParentResponse < Struct.new(
  :accounts,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end