Locate an object with its bucket and key
How object keys, listing, and parallel or ranged reads let applications locate and efficiently extract datasets from S3. · associate
An S3 dataset often consists of many objects, such as CSV files, images, or Parquet files. An application retrieves each object by specifying its bucket and exact object key. In s3://training-data/events/day=2026-01-01/part-000.parquet, the bucket is training-data and the key is events/day=2026-01-01/part-000.parquet.
The complete key is a case-sensitive name, including its slashes. In a general purpose bucket, slashes do not create real directories. A prefix is simply the beginning of a key: events/day=2026-01-01/ can identify the objects belonging to one day's dataset. Consistent naming lets applications narrow their search before downloading data.
Use GetObject when the exact key is already known. There is no need to list the bucket first. An SDK accepts the bucket and key separately and handles the object API request.