Table of Contents

Class ListObjectsResponse

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

Returns information about the ListObjects response and response metadata.

public class ListObjectsResponse : AmazonWebServiceResponse
Inheritance
ListObjectsResponse

Constructors

ListObjectsResponse()

public ListObjectsResponse()

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. In effect, CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if prefix is notes/ and delimiter is a slash (/), in notes/summer/july, the common prefix is notes/summer/.

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.

public bool IsTruncated { get; set; }

Property Value

bool

MaxKeys

Gets and sets the MaxKeys property. This is max number of object keys returned by the list operation.

public int MaxKeys { get; set; }

Property Value

int

Name

The bucket name.

public string Name { get; set; }

Property Value

string

NextMarker

Gets and sets the NextMarker property. NextMarker is set by S3 only if a Delimiter was specified in the original ListObjects request. If a delimiter was not specified, the AWS SDK for .NET returns the last Key of the List of Objects retrieved from S3 as the NextMarker.

public string NextMarker { get; set; }

Property Value

string

Prefix

Gets and sets the Prefix property.

public string Prefix { get; set; }

Property Value

string

S3Objects

Gets the S3Objects property. This is a list of objects in the bucket that match your search criteria.

public List<S3Object> S3Objects { get; set; }

Property Value

List<S3Object>