The market's bucket, monster-market-1w0uk3s, keeps sales reports under reports/. The reports from 2025 are read once a year, but they sit on the STANDARD shelf.
- See which shelf each object is on:
New command
aws s3api list-objects-v2
Lists the objects in a bucket. The --query keeps each object's key and its storage class.
Usageaws s3api list-objects-v2 --bucket bucket --query 'Contents[].[Key,StorageClass]' --output table
Example
aws s3api list-objects-v2 --bucket dragon-photos-2026 --query 'Contents[].[Key,StorageClass]' --output table
- Move both 2025 reports to
STANDARD_IA: copy each one onto itself, with the new class. For a copy inside S3, both places start withs3://. - List the objects again, and check the shelves.
Objectives
- Both 2025 reports are on the
STANDARD_IAshelf. - Which storage class does
index.htmluse?