AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns information about the ListVersions response and response metadata.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.S3.Model.ListVersionsResponse

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class ListVersionsResponse : AmazonWebServiceResponse

The ListVersionsResponse type exposes the following members

Constructors

NameDescription
Public Method ListVersionsResponse()

Properties

NameTypeDescription
Public Property CommonPrefixes System.Collections.Generic.List<System.String>

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 Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Delimiter System.String

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 Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property IsTruncated System.Boolean

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 Property KeyMarker System.String

Marks the last Key returned in a truncated response.

Public Property MaxKeys System.Int32

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 Property Name System.String

Gets and sets the Name property. The bucket's name.

Public Property NextKeyMarker System.String

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

Public Property NextVersionIdMarker System.String

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

Public Property Prefix System.String

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

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VersionIdMarker System.String

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

Public Property Versions System.Collections.Generic.List<Amazon.S3.Model.S3ObjectVersion>

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

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone