AWS Services · Class
GetObjectCommand
Use GetObject to download one object from an S3 bucket. In the JavaScript SDK, provide Bucket and Key, send the command, and read the response Body.
Last updated
Syntax
await client.send(new GetObjectCommand({ Bucket, Key }))In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
GetObjectCommandS3ClientNoSuchKeyS3ServiceExceptionIfModifiedSinceIfUnmodifiedSince