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.

The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property IsTruncated System.Boolean

Gets and sets the property IsTruncated.

A flag that indicates whether 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 by 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

The bucket name.

Public Property NextKeyMarker System.String

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

Public Property NextVersionIdMarker System.String

Gets and sets the property NextVersionIdMarker.

When the number of responses exceeds the value of MaxKeys, NextVersionIdMarker specifies the first object version not returned that satisfies the search criteria. Use this value for the version-id-marker request 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 RequestCharged Amazon.S3.RequestCharged

Gets and sets the property RequestCharged.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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