Low-level S3 API
high risk
aws s3api get-bucket-policy --bucket <b> > policy.bakBack up the policy firstExposes every S3 API call: bucket policies, versioning, lifecycle.
aws s3api get-bucket-policy --bucket bShow policy · explain & risk-check →aws s3api list-object-versions --bucket bVersions · explain & risk-check →Reference text is hand-written and may be incomplete — check man aws for your version. Test destructive commands on a non-production system first.