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:



2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2846

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)


2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2846

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