Command option Sample:aws organizations list-accounts-for-parent

Search command sample in the internet.It is the result.

Lists the accounts in an organization that are contained by thespecified target root or organizational unit (OU).Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/organizations/list-accounts-for-parent.html

aws organizations list-accounts-for-parent --parent-id ou-examplerootid111-exampleouid111
    list-parents — AWS CLI 1.16.12 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/organizations/list-accounts-for-parent.html
aws organizations list-accounts-for-parent --region us-east-1 --profile billing --query
    arc325-multiple-accounts-workshop/CLI_Commands.txt at master 揃 aws-samples/arc325-multiple-accounts-workshop 揃 GitHub : http://github.com/aws-samples/arc325-multiple-accounts-workshop/blob/master/CLI_Commands.txt

aws のオプション一覧