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.

Represents the output of a DescribeSnapshots operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.ElastiCache.Model.DescribeSnapshotsResponse

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

Syntax

C#
public class DescribeSnapshotsResponse : AmazonWebServiceResponse

The DescribeSnapshotsResponse type exposes the following members

Constructors

NameDescription
Public Method DescribeSnapshotsResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Marker System.String

Gets and sets the property Marker.

An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Snapshots System.Collections.Generic.List<Amazon.ElastiCache.Model.Snapshot>

Gets and sets the property Snapshots.

A list of snapshots. Each item in the list contains detailed information about one snapshot.

Examples

Returns information about the snapshot mysnapshot. By default.

DescribeSnapshots


var client = new AmazonElastiCacheClient();
var response = client.DescribeSnapshots(new DescribeSnapshotsRequest 
{
    SnapshotName = "snapshot-20161212"
});

string marker = response.Marker;
List<Snapshot> snapshots = response.Snapshots;

            

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