Skip to content

Commit ce5dc5e

Browse files
authored
Adding path and state parameters to outputs where appropriate (#10288)
* Adding path and state parameters to outputs where appropriate * Update list-organizational-units-for-parent.rst * Update create-organizational-unit.rst * Update describe-organizational-unit.rst * Update update-organizational-unit.rst * Update update-organizational-unit.rst * Update list-organizational-units-for-parent.rst
1 parent 2fb22a5 commit ce5dc5e

4 files changed

Lines changed: 17 additions & 10 deletions

File tree

awscli/examples/organizations/create-organizational-unit.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The output includes an organizationalUnit object with details about the new OU:
1010
"OrganizationalUnit": {
1111
"Id": "ou-examplerootid111-exampleouid111",
1212
"Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
13-
"Name": "AccountingOU"
13+
"Name": "AccountingOU",
14+
"Path": "o-exampleorgid/r-examplerootid111/ou-examplerootid111-exampleouid111/"
1415
}
15-
}
16+
}

awscli/examples/organizations/describe-organizational-unit.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Output::
1111
"OrganizationalUnit": {
1212
"Name": "Accounting Group",
1313
"Arn": "arn:aws:organizations::123456789012:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
14-
"Id": "ou-examplerootid111-exampleouid111"
14+
"Id": "ou-examplerootid111-exampleouid111",
15+
"Path": "o-exampleorgid/r-examplerootid111/ou-examplerootid111-exampleouid111/"
1516
}
16-
}
17+
}

awscli/examples/organizations/list-organizational-units-for-parent.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ The output shows that the specified root contains two OUs and shows details of e
1010
"OrganizationalUnits": [
1111
{
1212
"Name": "AccountingDepartment",
13-
"Arn": "arn:aws:organizations::o-exampleorgid:ou/r-examplerootid111/ou-examplerootid111-exampleouid111"
13+
"Arn": "arn:aws:organizations::o-exampleorgid:ou/r-examplerootid111/ou-examplerootid111-exampleouid111",
14+
"Id": "ou-examplerootid111-exampleouid111",
15+
"Path": "o-exampleorgid/r-examplerootid111/ou-examplerootid111-exampleouid111/"
1416
},
1517
{
1618
"Name": "ProductionDepartment",
17-
"Arn": "arn:aws:organizations::o-exampleorgid:ou/r-examplerootid111/ou-examplerootid111-exampleouid222"
19+
"Arn": "arn:aws:organizations::o-exampleorgid:ou/r-examplerootid111/ou-examplerootid111-exampleouid222",
20+
"Id": "ou-examplerootid111-exampleouid222",
21+
"Path": "o-exampleorgid/r-examplerootid111/ou-examplerootid111-exampleouid222/"
1822
}
1923
]
20-
}
24+
}

awscli/examples/organizations/update-organizational-unit.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ The output shows the new name: ::
88

99
{
1010
"OrganizationalUnit": {
11-
"Id": "ou-examplerootid111-exampleouid111"
11+
"Id": "ou-examplerootid111-exampleouid111",
1212
"Name": "AccountingOU",
13-
"Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111""
13+
"Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
14+
"Path": "o-exampleorgid/r-examplerootid111/ou-examplerootid111-exampleouid111/"
1415
}
15-
}
16+
}

0 commit comments

Comments
 (0)