You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#accountsArray<Types::Account>

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

Returns:



1375
1376
1377
1378
1379
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 1375

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

#next_tokenString

If present, this value indicates that there is more output 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)


1375
1376
1377
1378
1379
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 1375

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