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.

DescribeReservedCacheNodesInput

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

type DescribeReservedCacheNodesInput struct { CacheNodeType *string `type:"string"` Duration *string `type:"string"` Marker *string `type:"string"` MaxRecords *int64 `type:"integer"` OfferingType *string `type:"string"` ProductDescription *string `type:"string"` ReservedCacheNodeId *string `type:"string"` ReservedCacheNodesOfferingId *string `type:"string"` }

Represents the input of a DescribeReservedCacheNodes operation.

CacheNodeType

Type: *string

The cache node type filter value. Use this parameter to show only those reservations matching the specified cache node type.

The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.

  • General purpose:

Current generation:

T2 node types:cache.t2.micro, cache.t2.small, cache.t2.medium

M3 node types:cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge

M4 node types:cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge,

cache.m4.10xlarge

Previous generation: (not recommended)

T1 node types:cache.t1.micro

M1 node types:cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge

  • Compute optimized:

Previous generation: (not recommended)

C1 node types:cache.c1.xlarge

  • Memory optimized:

Current generation:

R3 node types:cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge,

cache.r3.8xlarge

R4 node types;cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge,

cache.r4.8xlarge, cache.r4.16xlarge

Previous generation: (not recommended)

M2 node types:cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge

Notes:

  • All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).

  • Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.

  • Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.

  • Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.

For a complete listing of node types and specifications, see:

Duration

Type: *string

The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.

Valid Values: 1 | 3 | 31536000 | 94608000

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: 100

Constraints: minimum 20; maximum 100.

OfferingType

Type: *string

The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type.

Valid values: "Light Utilization"|"Medium Utilization"|"Heavy Utilization"

ProductDescription

Type: *string

The product description filter value. Use this parameter to show only those reservations matching the specified product description.

ReservedCacheNodeId

Type: *string

The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.

ReservedCacheNodesOfferingId

Type: *string

The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.

Method

GoString

func (s DescribeReservedCacheNodesInput) GoString() string

GoString returns the string representation

SetCacheNodeType

func (s *DescribeReservedCacheNodesInput) SetCacheNodeType(v string) *DescribeReservedCacheNodesInput

SetCacheNodeType sets the CacheNodeType field's value.

SetDuration

func (s *DescribeReservedCacheNodesInput) SetDuration(v string) *DescribeReservedCacheNodesInput

SetDuration sets the Duration field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxRecords

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

SetMaxRecords sets the MaxRecords field's value.

SetOfferingType

func (s *DescribeReservedCacheNodesInput) SetOfferingType(v string) *DescribeReservedCacheNodesInput

SetOfferingType sets the OfferingType field's value.

SetProductDescription

func (s *DescribeReservedCacheNodesInput) SetProductDescription(v string) *DescribeReservedCacheNodesInput

SetProductDescription sets the ProductDescription field's value.

SetReservedCacheNodeId

func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodeId(v string) *DescribeReservedCacheNodesInput

SetReservedCacheNodeId sets the ReservedCacheNodeId field's value.

SetReservedCacheNodesOfferingId

func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodesOfferingId(v string) *DescribeReservedCacheNodesInput

SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.

String

func (s DescribeReservedCacheNodesInput) String() string

String returns the string representation

On this page: