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] could be used to do a 4 character hex hash that prefixes your object key which also included a date. This prefix would allow for sort correctly. http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html

Fields

Required. Name of bucket.

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 field type.

Limits the response to keys that begin with the specified prefix.

Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.

A delimiter is a character you use to group keys.

Specifies the key to start with when listing objects in a bucket.

Trait Implementations

impl Debug for ListObjectsRequest
[src]

Formats the value using the given formatter.

impl Default for ListObjectsRequest
[src]

Returns the "default value" for a type. Read more

impl Decodable for ListObjectsRequest
[src]

Deserialize a value using a Decoder.

impl Encodable for ListObjectsRequest
[src]

Serialize a value using an Encoder.