list of s3 bucket policies using cli code example Example: list of s3 bucket policies using cli aws s3api get-bucket-policy --bucket my-bucket