Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
organizations
/
File Content:
list-accounts.rst
**To list the accounts in an organization** The following example shows how to request a list of all the accounts in an organization. Command:: aws organizations list-accounts Output:: { "Accounts": [ { "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111", "JoinedMethod": "INVITED", "JoinedTimestamp": 1481830215.45, "Id": "111111111111", "Name": "Master Account", "Status": "ACTIVE" }, { "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/222222222222", "JoinedMethod": "INVITED", "JoinedTimestamp": 1481835741.044, "Id": "222222222222", "Name": "Production Account", "Status": "ACTIVE" }, { "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/333333333333", "JoinedMethod": "INVITED", "JoinedTimestamp": 1481835795.536, "Id": "333333333333", "Name": "Development Account", "Status": "ACTIVE" }, { "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/444444444444", "JoinedMethod": "INVITED", "JoinedTimestamp": 1481835812.143, "Id": "444444444444", "Name": "Test Account", "Status": "ACTIVE" } ] }
Submit
FILE
FOLDER
Name
Size
Permission
Action
accept-handshake.rst
1487 bytes
0755
attach-policy.rst
490 bytes
0755
cancel-handshake.rst
1745 bytes
0755
create-account.rst
1432 bytes
0755
create-organization.rst
2100 bytes
0755
create-organizational-unit.rst
555 bytes
0755
create-policy.rst
1481 bytes
0755
decline-handshake.rst
1419 bytes
0755
delete-organization.rst
346 bytes
0755
delete-organizational-unit.rst
276 bytes
0755
delete-policy.rst
254 bytes
0755
describe-account.rst
494 bytes
0755
describe-create-account-status.rst
838 bytes
0755
describe-handshake.rst
1186 bytes
0755
describe-organization.rst
689 bytes
0755
describe-organizational-unit.rst
478 bytes
0755
describe-policy.rst
774 bytes
0755
detach-policy.rst
223 bytes
0755
disable-policy-type.rst
593 bytes
0755
enable-all-features.rst
1260 bytes
0755
enable-policy-type.rst
667 bytes
0755
invite-account-to-organization.rst
1471 bytes
0755
leave-organization.rst
166 bytes
0755
list-accounts-for-parent.rst
689 bytes
0755
list-accounts.rst
1342 bytes
0755
list-children.rst
565 bytes
0755
list-handshakes-for-account.rst
1378 bytes
0755
list-handshakes-for-organization.rst
2946 bytes
0755
list-organizational-units-for-parent.rst
616 bytes
0755
list-parents.rst
363 bytes
0755
list-policies-for-target.rst
1371 bytes
0755
list-policies.rst
1371 bytes
0755
list-roots.rst
506 bytes
0755
list-targets-for-policy.rst
950 bytes
0755
move-account.rst
300 bytes
0755
remove-account-from-organization.rst
252 bytes
0755
update-organizational-unit.rst
483 bytes
0755
update-policy.rst
2127 bytes
0755
N4ST4R_ID | Naxtarrr