Command option Sample:aws workdocs remove-resource-permission

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

Removes the permission for the specified principal from the specifiedresource.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/workdocs/remove-resource-permission.html

aws workdocs remove-resource-permission --resource-id 1ece93e5fe75315c7407c4967918b4fd9da87ddb2a588e67b7fdaf4a98fde678 --principal-id anonymous
    remove-resource-permission — AWS CLI 1.16.15 Command Reference : http://docs.aws.amazon.com/ja_jp/cli/latest/reference/workdocs/remove-resource-permission.html

aws のオプション一覧