Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.
s3_list_objects(Bucket, Delimiter, EncodingType, Marker, MaxKeys,
Prefix, RequestPayer)
[required]
A delimiter is a character you use to group keys.
Specifies the key to start with when listing objects in a bucket.
Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.
Limits the response to keys that begin with the specified prefix.
Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.
svc$list_objects( Bucket = "string", Delimiter = "string", EncodingType = "url", Marker = "string", MaxKeys = 123, Prefix = "string", RequestPayer = "requester" )
# NOT RUN {
# The following example list two objects in a bucket.
# }
# NOT RUN {
svc$list_objects(
Bucket = "examplebucket",
MaxKeys = "2"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab