Struct aws_sdk_rust::aws::s3::object::ListObjectsRequest
[−]
[src]
pub struct ListObjectsRequest { pub bucket: BucketName, pub version: Option<i32>, pub prefix: Option<Prefix>, pub max_keys: Option<MaxKeys>, pub delimiter: Option<Delimiter>, pub marker: Option<Marker>, pub encoding_type: Option<EncodingType>, }
Prefix becomes important when wanting to list objects in a given order but you may be using a
hex hash prefix to add randomness to the the indexing. For example:
prefixes such [0-f][0-f][0-f][0-f]
Fields
bucket: BucketName
Required. Name of bucket.
version: Option<i32>
Two versions: the older version 1 and the newer version 2. Defaults to version 1. You
must specify version 2 with a value of Some(2)
since it's an Option
prefix: Option<Prefix>
Limits the response to keys that begin with the specified prefix.
max_keys: Option<MaxKeys>
Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.
delimiter: Option<Delimiter>
A delimiter is a character you use to group keys.
marker: Option<Marker>
Specifies the key to start with when listing objects in a bucket.
encoding_type: Option<EncodingType>
Trait Implementations
impl Debug for ListObjectsRequest
[src]
impl Default for ListObjectsRequest
[src]
fn default() -> ListObjectsRequest
Returns the "default value" for a type. Read more
impl Decodable for ListObjectsRequest
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<ListObjectsRequest, __D::Error>
__arg_0: &mut __D
) -> Result<ListObjectsRequest, __D::Error>
Deserialize a value using a Decoder
.