Command option Sample:aws organizations list-policies-for-target

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

Lists the policies that are directly attached to the specified targetroot, organizational unit (OU), or account.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/organizations/list-policies-for-target.html

aws organizations list-policies-for-target --filter SERVICE_CONTROL_POLICY --target-id 444444444444
    list-policies — AWS CLI 1.16.12 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/organizations/list-policies-for-target.html
aws organizations list-policies-for-target --target-id ou-rth4-ezo5wonz --filter SERVICE_CONTROL_POLICY
    How to Use Service Control Policies in AWS Organizations to Enforce Healthcare Compliance in Your AWS Account – Easy Cloud : http://easycloudsupport.zendesk.com/hc/en-us/articles/360002199751-How-to-Use-Service-Control-Policies-in-AWS-Organizations-to-Enforce-Healthcare-Compliance-in-Your-AWS-Account
aws organizations list-policies-for-target --target-id r-4444 --filter service_control_policy
    Announcing AWS Organizations: Centrally Manage Multiple AWS Accounts | Noise : http://noise.getoto.net/2016/11/30/announcing-aws-organizations-centrally-manage-multiple-aws-accounts/

aws のオプション一覧