Difference between revisions of "Aws organizations list-accounts"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
*<code>An error occurred (AWSOrganizationsNotInUseException) when calling the ListAccounts operation: Your account is not a member of an organization.</code>
 
*<code>An error occurred (AWSOrganizationsNotInUseException) when calling the ListAccounts operation: Your account is not a member of an organization.</code>
  
===Example===
+
== Example ==
 
  aws organizations list-accounts
 
  aws organizations list-accounts
 
  {
 
  {

Revision as of 12:01, 16 September 2021

  • aws organizations list-accounts
  • aws organizations list-accounts
  • An error occurred (AWSOrganizationsNotInUseException) when calling the ListAccounts operation: Your account is not a member of an organization.

Example

aws organizations list-accounts
{
    "Accounts": [
        {
            "Id": "672850246589",
            "Arn": "arn:aws:organizations::672850246589:account/o-xubwf8seml/672850246589",
            "Email": "[email protected]",
            "Name": "your_name",
            "Status": "ACTIVE",
            "JoinedMethod": "INVITED",
            "JoinedTimestamp": "2021-07-17T11:29:07.741000+04:00"
        }
    ]
}

Related terms

See also

Advertising: