AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeSnapshotsInput

import "github.com/aws/aws-sdk-go/service/elasticache"

type DescribeSnapshotsInput struct { CacheClusterId *string `type:"string"` Marker *string `type:"string"` MaxRecords *int64 `type:"integer"` ReplicationGroupId *string `type:"string"` ShowNodeGroupConfig *bool `type:"boolean"` SnapshotName *string `type:"string"` SnapshotSource *string `type:"string"` }

Represents the input of a DescribeSnapshotsMessage operation.

CacheClusterId

Type: *string

A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.

Marker

Type: *string

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.

MaxRecords

Type: *int64

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 50

Constraints: minimum 20; maximum 50.

ReplicationGroupId

Type: *string

A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.

ShowNodeGroupConfig

Type: *bool

A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.

SnapshotName

Type: *string

A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.

SnapshotSource

Type: *string

If set to system, the output shows snapshots that were automatically created by ElastiCache. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.

Method

GoString

func (s DescribeSnapshotsInput) GoString() string

GoString returns the string representation

SetCacheClusterId

func (s *DescribeSnapshotsInput) SetCacheClusterId(v string) *DescribeSnapshotsInput

SetCacheClusterId sets the CacheClusterId field's value.

SetMarker

func (s *DescribeSnapshotsInput) SetMarker(v string) *DescribeSnapshotsInput

SetMarker sets the Marker field's value.

SetMaxRecords

func (s *DescribeSnapshotsInput) SetMaxRecords(v int64) *DescribeSnapshotsInput

SetMaxRecords sets the MaxRecords field's value.

SetReplicationGroupId

func (s *DescribeSnapshotsInput) SetReplicationGroupId(v string) *DescribeSnapshotsInput

SetReplicationGroupId sets the ReplicationGroupId field's value.

SetShowNodeGroupConfig

func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput

SetShowNodeGroupConfig sets the ShowNodeGroupConfig field's value.

SetSnapshotName

func (s *DescribeSnapshotsInput) SetSnapshotName(v string) *DescribeSnapshotsInput

SetSnapshotName sets the SnapshotName field's value.

SetSnapshotSource

func (s *DescribeSnapshotsInput) SetSnapshotSource(v string) *DescribeSnapshotsInput

SetSnapshotSource sets the SnapshotSource field's value.

String

func (s DescribeSnapshotsInput) String() string

String returns the string representation

On this page: