Table of Contents

Class ListVersionsResponse

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Returns information about the ListVersions response and response metadata.

public class ListVersionsResponse : AmazonWebServiceResponse
Inheritance
ListVersionsResponse

Constructors

ListVersionsResponse()

public ListVersionsResponse()

Properties

CommonPrefixes

Gets the CommonPrefixes property. A response can contain CommonPrefixes only if you specify a delimiter. When you do, CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by delimiter.

public List<string> CommonPrefixes { get; set; }

Property Value

List<string>

Delimiter

Gets and sets the Delimiter property. Causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the CommonPrefixes collection.

public string Delimiter { get; set; }

Property Value

string

Remarks

These rolled-up keys are not returned elsewhere in the response.

IsTruncated

A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.

public bool IsTruncated { get; set; }

Property Value

bool

KeyMarker

Marks the last Key returned in a truncated response.

public string KeyMarker { get; set; }

Property Value

string

MaxKeys

Gets and sets the MaxKeys property. This is the maximum number of keys in the S3ObjectVersions collection. The value is derived from the MaxKeys parameter to ListVersionsRequest.

public int MaxKeys { get; set; }

Property Value

int

Name

The bucket name.

public string Name { get; set; }

Property Value

string

NextKeyMarker

Use this value for the key marker request parameter in a subsequent request.

public string NextKeyMarker { get; set; }

Property Value

string

NextVersionIdMarker

Use this value for the next version id marker parameter in a subsequent request.

public string NextVersionIdMarker { get; set; }

Property Value

string

Prefix

Gets and sets the Prefix property. Keys that begin with the indicated prefix are listed.

public string Prefix { get; set; }

Property Value

string

VersionIdMarker

Gets and sets the VersionIdMarker property. Marks the last Version-Id returned in a truncated response.

public string VersionIdMarker { get; set; }

Property Value

string

Versions

Gets and sets the Versions property. This is a list of object versions in the bucket that match your search criteria.

public List<S3ObjectVersion> Versions { get; set; }

Property Value

List<S3ObjectVersion>