Class: Aws::Organizations::Types::ListAccountsResponse

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 objects in the organization.

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:



3106
3107
3108
3109
3110
3111
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3106

class ListAccountsResponse < 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)


3106
3107
3108
3109
3110
3111
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3106

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