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:



3114
3115
3116
3117
3118
3119
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3114

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)


3114
3115
3116
3117
3118
3119
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 3114

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