# NOT RUN {
# The following example retrieves an object for an S3 bucket.
# }
# NOT RUN {
svc$get_object(
Bucket = "examplebucket",
Key = "HappyFace.jpg"
)
# }
# NOT RUN {
# The following example retrieves an object for an S3 bucket. The request
# specifies the range header to retrieve a specific byte range.
# }
# NOT RUN {
svc$get_object(
Bucket = "examplebucket",
Key = "SampleFile.txt",
Range = "bytes=0-9"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab