From dbf70a5502cf6b86d4f5f0c3e07f1c3b38664c58 Mon Sep 17 00:00:00 2001 From: Andrew Asseily Date: Wed, 6 May 2026 22:18:04 -0400 Subject: [PATCH] Add State and Paths fields to organizations example outputs Port of PRs #10276, #10278, #10279, and #10289 from develop to v2. Adds the State and Paths fields to list-accounts, list-accounts-for-parent, and describe-account examples to reflect recent API changes. --- .../organizations/describe-account.rst | 6 +++++- .../organizations/list-accounts-for-parent.rst | 10 +++++++++- .../examples/organizations/list-accounts.rst | 18 +++++++++++++++++- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/awscli/examples/organizations/describe-account.rst b/awscli/examples/organizations/describe-account.rst index 0f40fc6196e4..bfcc4acb40e4 100755 --- a/awscli/examples/organizations/describe-account.rst +++ b/awscli/examples/organizations/describe-account.rst @@ -14,6 +14,10 @@ The output shows an account object with the details about the account: :: "Email": "anika@example.com", "JoinedMethod": "INVITED", "JoinedTimeStamp": 1481756563.134, + "Paths": [ + "o-exampleorgid/r-examplerootid111/555555555555/" + ], + "State": "ACTIVE", "Status": "ACTIVE" } - } \ No newline at end of file + } diff --git a/awscli/examples/organizations/list-accounts-for-parent.rst b/awscli/examples/organizations/list-accounts-for-parent.rst index 56ffeafa67a9..d5eca6374a67 100755 --- a/awscli/examples/organizations/list-accounts-for-parent.rst +++ b/awscli/examples/organizations/list-accounts-for-parent.rst @@ -15,6 +15,10 @@ The output includes a list of account summary objects. :: "Id": "333333333333", "Name": "Development Account", "Email": "juan@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" }, { @@ -24,7 +28,11 @@ The output includes a list of account summary objects. :: "Id": "444444444444", "Name": "Test Account", "Email": "anika@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" } ] - } \ No newline at end of file + } diff --git a/awscli/examples/organizations/list-accounts.rst b/awscli/examples/organizations/list-accounts.rst index fe50ef799b1a..78b7c81e886c 100755 --- a/awscli/examples/organizations/list-accounts.rst +++ b/awscli/examples/organizations/list-accounts.rst @@ -15,6 +15,10 @@ The output includes a list of account summary objects. :: "Id": "111111111111", "Name": "Master Account", "Email": "bill@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" }, { @@ -24,6 +28,10 @@ The output includes a list of account summary objects. :: "Id": "222222222222", "Name": "Production Account", "Email": "alice@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" }, { @@ -33,6 +41,10 @@ The output includes a list of account summary objects. :: "Id": "333333333333", "Name": "Development Account", "Email": "juan@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" }, { @@ -42,7 +54,11 @@ The output includes a list of account summary objects. :: "Id": "444444444444", "Name": "Test Account", "Email": "anika@example.com", + "Paths": [ + "o-exampleorgid/r-examplerootid111/111111111111/" + ], + "State": "ACTIVE", "Status": "ACTIVE" } ] - } \ No newline at end of file + }