elasticache

package
v1.14.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package elasticache provides the client and types for making API requests to Amazon ElastiCache.

Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.

With ElastiCache, customers get all of the benefits of a high-performance, in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. The service makes setup, scaling, and cluster failure handling much simpler than in a self-managed cache deployment.

In addition, through integration with Amazon CloudWatch, customers get enhanced visibility into the key performance statistics associated with their cache and can receive alarms if a part of their cache runs hot.

See https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02 for more information on this service.

See elasticache package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticache/

Using the Client

To contact Amazon ElastiCache with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon ElastiCache client ElastiCache for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticache/#New

Index

Examples

Constants

View Source
const (
	// AZModeSingleAz is a AZMode enum value
	AZModeSingleAz = "single-az"

	// AZModeCrossAz is a AZMode enum value
	AZModeCrossAz = "cross-az"
)
View Source
const (
	// AutomaticFailoverStatusEnabled is a AutomaticFailoverStatus enum value
	AutomaticFailoverStatusEnabled = "enabled"

	// AutomaticFailoverStatusDisabled is a AutomaticFailoverStatus enum value
	AutomaticFailoverStatusDisabled = "disabled"

	// AutomaticFailoverStatusEnabling is a AutomaticFailoverStatus enum value
	AutomaticFailoverStatusEnabling = "enabling"

	// AutomaticFailoverStatusDisabling is a AutomaticFailoverStatus enum value
	AutomaticFailoverStatusDisabling = "disabling"
)
View Source
const (
	// ChangeTypeImmediate is a ChangeType enum value
	ChangeTypeImmediate = "immediate"

	// ChangeTypeRequiresReboot is a ChangeType enum value
	ChangeTypeRequiresReboot = "requires-reboot"
)
View Source
const (
	// PendingAutomaticFailoverStatusEnabled is a PendingAutomaticFailoverStatus enum value
	PendingAutomaticFailoverStatusEnabled = "enabled"

	// PendingAutomaticFailoverStatusDisabled is a PendingAutomaticFailoverStatus enum value
	PendingAutomaticFailoverStatusDisabled = "disabled"
)
View Source
const (
	// SourceTypeCacheCluster is a SourceType enum value
	SourceTypeCacheCluster = "cache-cluster"

	// SourceTypeCacheParameterGroup is a SourceType enum value
	SourceTypeCacheParameterGroup = "cache-parameter-group"

	// SourceTypeCacheSecurityGroup is a SourceType enum value
	SourceTypeCacheSecurityGroup = "cache-security-group"

	// SourceTypeCacheSubnetGroup is a SourceType enum value
	SourceTypeCacheSubnetGroup = "cache-subnet-group"

	// SourceTypeReplicationGroup is a SourceType enum value
	SourceTypeReplicationGroup = "replication-group"
)
View Source
const (

	// ErrCodeAPICallRateForCustomerExceededFault for service response error code
	// "APICallRateForCustomerExceeded".
	//
	// The customer has exceeded the allowed rate of API calls.
	ErrCodeAPICallRateForCustomerExceededFault = "APICallRateForCustomerExceeded"

	// ErrCodeAuthorizationAlreadyExistsFault for service response error code
	// "AuthorizationAlreadyExists".
	//
	// The specified Amazon EC2 security group is already authorized for the specified
	// cache security group.
	ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists"

	// ErrCodeAuthorizationNotFoundFault for service response error code
	// "AuthorizationNotFound".
	//
	// The specified Amazon EC2 security group is not authorized for the specified
	// cache security group.
	ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"

	// ErrCodeCacheClusterAlreadyExistsFault for service response error code
	// "CacheClusterAlreadyExists".
	//
	// You already have a cluster with the given identifier.
	ErrCodeCacheClusterAlreadyExistsFault = "CacheClusterAlreadyExists"

	// ErrCodeCacheClusterNotFoundFault for service response error code
	// "CacheClusterNotFound".
	//
	// The requested cluster ID does not refer to an existing cluster.
	ErrCodeCacheClusterNotFoundFault = "CacheClusterNotFound"

	// ErrCodeCacheParameterGroupAlreadyExistsFault for service response error code
	// "CacheParameterGroupAlreadyExists".
	//
	// A cache parameter group with the requested name already exists.
	ErrCodeCacheParameterGroupAlreadyExistsFault = "CacheParameterGroupAlreadyExists"

	// ErrCodeCacheParameterGroupNotFoundFault for service response error code
	// "CacheParameterGroupNotFound".
	//
	// The requested cache parameter group name does not refer to an existing cache
	// parameter group.
	ErrCodeCacheParameterGroupNotFoundFault = "CacheParameterGroupNotFound"

	// ErrCodeCacheParameterGroupQuotaExceededFault for service response error code
	// "CacheParameterGroupQuotaExceeded".
	//
	// The request cannot be processed because it would exceed the maximum number
	// of cache security groups.
	ErrCodeCacheParameterGroupQuotaExceededFault = "CacheParameterGroupQuotaExceeded"

	// ErrCodeCacheSecurityGroupAlreadyExistsFault for service response error code
	// "CacheSecurityGroupAlreadyExists".
	//
	// A cache security group with the specified name already exists.
	ErrCodeCacheSecurityGroupAlreadyExistsFault = "CacheSecurityGroupAlreadyExists"

	// ErrCodeCacheSecurityGroupNotFoundFault for service response error code
	// "CacheSecurityGroupNotFound".
	//
	// The requested cache security group name does not refer to an existing cache
	// security group.
	ErrCodeCacheSecurityGroupNotFoundFault = "CacheSecurityGroupNotFound"

	// ErrCodeCacheSecurityGroupQuotaExceededFault for service response error code
	// "QuotaExceeded.CacheSecurityGroup".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of cache security groups.
	ErrCodeCacheSecurityGroupQuotaExceededFault = "QuotaExceeded.CacheSecurityGroup"

	// ErrCodeCacheSubnetGroupAlreadyExistsFault for service response error code
	// "CacheSubnetGroupAlreadyExists".
	//
	// The requested cache subnet group name is already in use by an existing cache
	// subnet group.
	ErrCodeCacheSubnetGroupAlreadyExistsFault = "CacheSubnetGroupAlreadyExists"

	// ErrCodeCacheSubnetGroupInUse for service response error code
	// "CacheSubnetGroupInUse".
	//
	// The requested cache subnet group is currently in use.
	ErrCodeCacheSubnetGroupInUse = "CacheSubnetGroupInUse"

	// ErrCodeCacheSubnetGroupNotFoundFault for service response error code
	// "CacheSubnetGroupNotFoundFault".
	//
	// The requested cache subnet group name does not refer to an existing cache
	// subnet group.
	ErrCodeCacheSubnetGroupNotFoundFault = "CacheSubnetGroupNotFoundFault"

	// ErrCodeCacheSubnetGroupQuotaExceededFault for service response error code
	// "CacheSubnetGroupQuotaExceeded".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of cache subnet groups.
	ErrCodeCacheSubnetGroupQuotaExceededFault = "CacheSubnetGroupQuotaExceeded"

	// ErrCodeCacheSubnetQuotaExceededFault for service response error code
	// "CacheSubnetQuotaExceededFault".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of subnets in a cache subnet group.
	ErrCodeCacheSubnetQuotaExceededFault = "CacheSubnetQuotaExceededFault"

	// ErrCodeClusterQuotaForCustomerExceededFault for service response error code
	// "ClusterQuotaForCustomerExceeded".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of clusters per customer.
	ErrCodeClusterQuotaForCustomerExceededFault = "ClusterQuotaForCustomerExceeded"

	// ErrCodeInsufficientCacheClusterCapacityFault for service response error code
	// "InsufficientCacheClusterCapacity".
	//
	// The requested cache node type is not available in the specified Availability
	// Zone.
	ErrCodeInsufficientCacheClusterCapacityFault = "InsufficientCacheClusterCapacity"

	// ErrCodeInvalidARNFault for service response error code
	// "InvalidARN".
	//
	// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
	ErrCodeInvalidARNFault = "InvalidARN"

	// ErrCodeInvalidCacheClusterStateFault for service response error code
	// "InvalidCacheClusterState".
	//
	// The requested cluster is not in the available state.
	ErrCodeInvalidCacheClusterStateFault = "InvalidCacheClusterState"

	// ErrCodeInvalidCacheParameterGroupStateFault for service response error code
	// "InvalidCacheParameterGroupState".
	//
	// The current state of the cache parameter group does not allow the requested
	// operation to occur.
	ErrCodeInvalidCacheParameterGroupStateFault = "InvalidCacheParameterGroupState"

	// ErrCodeInvalidCacheSecurityGroupStateFault for service response error code
	// "InvalidCacheSecurityGroupState".
	//
	// The current state of the cache security group does not allow deletion.
	ErrCodeInvalidCacheSecurityGroupStateFault = "InvalidCacheSecurityGroupState"

	// ErrCodeInvalidParameterCombinationException for service response error code
	// "InvalidParameterCombination".
	//
	// Two or more incompatible parameters were specified.
	ErrCodeInvalidParameterCombinationException = "InvalidParameterCombination"

	// ErrCodeInvalidParameterValueException for service response error code
	// "InvalidParameterValue".
	//
	// The value for a parameter is invalid.
	ErrCodeInvalidParameterValueException = "InvalidParameterValue"

	// ErrCodeInvalidReplicationGroupStateFault for service response error code
	// "InvalidReplicationGroupState".
	//
	// The requested replication group is not in the available state.
	ErrCodeInvalidReplicationGroupStateFault = "InvalidReplicationGroupState"

	// ErrCodeInvalidSnapshotStateFault for service response error code
	// "InvalidSnapshotState".
	//
	// The current state of the snapshot does not allow the requested operation
	// to occur.
	ErrCodeInvalidSnapshotStateFault = "InvalidSnapshotState"

	// ErrCodeInvalidSubnet for service response error code
	// "InvalidSubnet".
	//
	// An invalid subnet identifier was specified.
	ErrCodeInvalidSubnet = "InvalidSubnet"

	// ErrCodeInvalidVPCNetworkStateFault for service response error code
	// "InvalidVPCNetworkStateFault".
	//
	// The VPC network is in an invalid state.
	ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"

	// ErrCodeNodeGroupNotFoundFault for service response error code
	// "NodeGroupNotFoundFault".
	//
	// The node group specified by the NodeGroupId parameter could not be found.
	// Please verify that the node group exists and that you spelled the NodeGroupId
	// value correctly.
	ErrCodeNodeGroupNotFoundFault = "NodeGroupNotFoundFault"

	// ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault for service response error code
	// "NodeGroupsPerReplicationGroupQuotaExceeded".
	//
	// The request cannot be processed because it would exceed the maximum allowed
	// number of node groups (shards) in a single replication group. The default
	// maximum is 15
	ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault = "NodeGroupsPerReplicationGroupQuotaExceeded"

	// ErrCodeNodeQuotaForClusterExceededFault for service response error code
	// "NodeQuotaForClusterExceeded".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of cache nodes in a single cluster.
	ErrCodeNodeQuotaForClusterExceededFault = "NodeQuotaForClusterExceeded"

	// ErrCodeNodeQuotaForCustomerExceededFault for service response error code
	// "NodeQuotaForCustomerExceeded".
	//
	// The request cannot be processed because it would exceed the allowed number
	// of cache nodes per customer.
	ErrCodeNodeQuotaForCustomerExceededFault = "NodeQuotaForCustomerExceeded"

	// ErrCodeReplicationGroupAlreadyExistsFault for service response error code
	// "ReplicationGroupAlreadyExists".
	//
	// The specified replication group already exists.
	ErrCodeReplicationGroupAlreadyExistsFault = "ReplicationGroupAlreadyExists"

	// ErrCodeReplicationGroupNotFoundFault for service response error code
	// "ReplicationGroupNotFoundFault".
	//
	// The specified replication group does not exist.
	ErrCodeReplicationGroupNotFoundFault = "ReplicationGroupNotFoundFault"

	// ErrCodeReservedCacheNodeAlreadyExistsFault for service response error code
	// "ReservedCacheNodeAlreadyExists".
	//
	// You already have a reservation with the given identifier.
	ErrCodeReservedCacheNodeAlreadyExistsFault = "ReservedCacheNodeAlreadyExists"

	// ErrCodeReservedCacheNodeNotFoundFault for service response error code
	// "ReservedCacheNodeNotFound".
	//
	// The requested reserved cache node was not found.
	ErrCodeReservedCacheNodeNotFoundFault = "ReservedCacheNodeNotFound"

	// ErrCodeReservedCacheNodeQuotaExceededFault for service response error code
	// "ReservedCacheNodeQuotaExceeded".
	//
	// The request cannot be processed because it would exceed the user's cache
	// node quota.
	ErrCodeReservedCacheNodeQuotaExceededFault = "ReservedCacheNodeQuotaExceeded"

	// ErrCodeReservedCacheNodesOfferingNotFoundFault for service response error code
	// "ReservedCacheNodesOfferingNotFound".
	//
	// The requested cache node offering does not exist.
	ErrCodeReservedCacheNodesOfferingNotFoundFault = "ReservedCacheNodesOfferingNotFound"

	// ErrCodeSnapshotAlreadyExistsFault for service response error code
	// "SnapshotAlreadyExistsFault".
	//
	// You already have a snapshot with the given name.
	ErrCodeSnapshotAlreadyExistsFault = "SnapshotAlreadyExistsFault"

	// ErrCodeSnapshotFeatureNotSupportedFault for service response error code
	// "SnapshotFeatureNotSupportedFault".
	//
	// You attempted one of the following operations:
	//
	//    * Creating a snapshot of a Redis cluster running on a cache.t1.micro cache
	//    node.
	//
	//    * Creating a snapshot of a cluster that is running Memcached rather than
	//    Redis.
	//
	// Neither of these are supported by ElastiCache.
	ErrCodeSnapshotFeatureNotSupportedFault = "SnapshotFeatureNotSupportedFault"

	// ErrCodeSnapshotNotFoundFault for service response error code
	// "SnapshotNotFoundFault".
	//
	// The requested snapshot name does not refer to an existing snapshot.
	ErrCodeSnapshotNotFoundFault = "SnapshotNotFoundFault"

	// ErrCodeSnapshotQuotaExceededFault for service response error code
	// "SnapshotQuotaExceededFault".
	//
	// The request cannot be processed because it would exceed the maximum number
	// of snapshots.
	ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceededFault"

	// ErrCodeSubnetInUse for service response error code
	// "SubnetInUse".
	//
	// The requested subnet is being used by another cache subnet group.
	ErrCodeSubnetInUse = "SubnetInUse"

	// ErrCodeTagNotFoundFault for service response error code
	// "TagNotFound".
	//
	// The requested tag was not found on this resource.
	ErrCodeTagNotFoundFault = "TagNotFound"

	// ErrCodeTagQuotaPerResourceExceeded for service response error code
	// "TagQuotaPerResourceExceeded".
	//
	// The request cannot be processed because it would cause the resource to have
	// more than the allowed number of tags. The maximum number of tags permitted
	// on a resource is 50.
	ErrCodeTagQuotaPerResourceExceeded = "TagQuotaPerResourceExceeded"

	// ErrCodeTestFailoverNotAvailableFault for service response error code
	// "TestFailoverNotAvailableFault".
	ErrCodeTestFailoverNotAvailableFault = "TestFailoverNotAvailableFault"
)
View Source
const (
	ServiceName = "elasticache" // Name of service.
	EndpointsID = ServiceName   // ID to lookup a service endpoint with.
	ServiceID   = "ElastiCache" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTagsToResourceInput

type AddTagsToResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which the tags are to be
	// added, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
	// or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. ElastiCache
	// resources are cluster and snapshot.
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
	// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	//
	// ResourceName is a required field
	ResourceName *string `type:"string" required:"true"`

	// A list of cost allocation tags to be added to this resource. A tag is a key-value
	// pair. A tag key must be accompanied by a tag value.
	//
	// Tags is a required field
	Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an AddTagsToResource operation.

func (AddTagsToResourceInput) GoString added in v0.6.5

func (s AddTagsToResourceInput) GoString() string

GoString returns the string representation

func (*AddTagsToResourceInput) SetResourceName added in v1.5.0

func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput

SetResourceName sets the ResourceName field's value.

func (*AddTagsToResourceInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (AddTagsToResourceInput) String added in v0.6.5

func (s AddTagsToResourceInput) String() string

String returns the string representation

func (*AddTagsToResourceInput) Validate added in v1.1.21

func (s *AddTagsToResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AuthorizeCacheSecurityGroupIngressInput

type AuthorizeCacheSecurityGroupIngressInput struct {

	// The cache security group that allows network ingress.
	//
	// CacheSecurityGroupName is a required field
	CacheSecurityGroupName *string `type:"string" required:"true"`

	// The Amazon EC2 security group to be authorized for ingress to the cache security
	// group.
	//
	// EC2SecurityGroupName is a required field
	EC2SecurityGroupName *string `type:"string" required:"true"`

	// The AWS account number of the Amazon EC2 security group owner. Note that
	// this is not the same thing as an AWS access key ID - you must provide a valid
	// AWS account number for this parameter.
	//
	// EC2SecurityGroupOwnerId is a required field
	EC2SecurityGroupOwnerId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an AuthorizeCacheSecurityGroupIngress operation.

func (AuthorizeCacheSecurityGroupIngressInput) GoString added in v0.6.5

GoString returns the string representation

func (*AuthorizeCacheSecurityGroupIngressInput) SetCacheSecurityGroupName added in v1.5.0

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (*AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName added in v1.5.0

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

func (*AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId added in v1.5.0

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

func (AuthorizeCacheSecurityGroupIngressInput) String added in v0.6.5

String returns the string representation

func (*AuthorizeCacheSecurityGroupIngressInput) Validate added in v1.1.21

Validate inspects the fields of the type to determine if they are valid.

type AuthorizeCacheSecurityGroupIngressOutput

type AuthorizeCacheSecurityGroupIngressOutput struct {

	// Represents the output of one of the following operations:
	//
	//    * AuthorizeCacheSecurityGroupIngress
	//
	//    * CreateCacheSecurityGroup
	//
	//    * RevokeCacheSecurityGroupIngress
	CacheSecurityGroup *CacheSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (AuthorizeCacheSecurityGroupIngressOutput) GoString added in v0.6.5

GoString returns the string representation

func (*AuthorizeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup added in v1.5.0

SetCacheSecurityGroup sets the CacheSecurityGroup field's value.

func (AuthorizeCacheSecurityGroupIngressOutput) String added in v0.6.5

String returns the string representation

type AvailabilityZone

type AvailabilityZone struct {

	// The name of the Availability Zone.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Availability Zone in which the cluster is launched.

func (AvailabilityZone) GoString added in v0.6.5

func (s AvailabilityZone) GoString() string

GoString returns the string representation

func (*AvailabilityZone) SetName added in v1.5.0

func (s *AvailabilityZone) SetName(v string) *AvailabilityZone

SetName sets the Name field's value.

func (AvailabilityZone) String added in v0.6.5

func (s AvailabilityZone) String() string

String returns the string representation

type CacheCluster

type CacheCluster struct {

	// A flag that enables encryption at-rest when set to true.
	//
	// You cannot modify the value of AtRestEncryptionEnabled after the cluster
	// is created. To enable at-rest encryption on a cluster you must set AtRestEncryptionEnabled
	// to true when you create a cluster.
	//
	// Default: false
	AtRestEncryptionEnabled *bool `type:"boolean"`

	// A flag that enables using an AuthToken (password) when issuing Redis commands.
	//
	// Default: false
	AuthTokenEnabled *bool `type:"boolean"`

	// This parameter is currently disabled.
	AutoMinorVersionUpgrade *bool `type:"boolean"`

	// The date and time when the cluster was created.
	CacheClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The user-supplied identifier of the cluster. This identifier is a unique
	// key that identifies a cluster.
	CacheClusterId *string `type:"string"`

	// The current state of this cluster, one of the following values: available,
	// creating, deleted, deleting, incompatible-network, modifying, rebooting cluster
	// nodes, restore-failed, or snapshotting.
	CacheClusterStatus *string `type:"string"`

	// The name of the compute and memory capacity node type for the cluster.
	//
	// 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
	//
	// 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 Amazon ElastiCache
	// Product Features and Details (http://aws.amazon.com/elasticache/details)
	// and either Cache Node Type-Specific Parameters for Memcached (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific)
	// or Cache Node Type-Specific Parameters for Redis (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific).
	CacheNodeType *string `type:"string"`

	// A list of cache nodes that are members of the cluster.
	CacheNodes []*CacheNode `locationNameList:"CacheNode" type:"list"`

	// Status of the cache parameter group.
	CacheParameterGroup *CacheParameterGroupStatus `type:"structure"`

	// A list of cache security group elements, composed of name and status sub-elements.
	CacheSecurityGroups []*CacheSecurityGroupMembership `locationNameList:"CacheSecurityGroup" type:"list"`

	// The name of the cache subnet group associated with the cluster.
	CacheSubnetGroupName *string `type:"string"`

	// The URL of the web page where you can download the latest ElastiCache client
	// library.
	ClientDownloadLandingPage *string `type:"string"`

	// Represents a Memcached cluster endpoint which, if Automatic Discovery is
	// enabled on the cluster, can be used by an application to connect to any node
	// in the cluster. The configuration endpoint will always have .cfg in it.
	//
	// Example: mem-3.9dvc4r.cfg.usw2.cache.amazonaws.com:11211
	ConfigurationEndpoint *Endpoint `type:"structure"`

	// The name of the cache engine (memcached or redis) to be used for this cluster.
	Engine *string `type:"string"`

	// The version of the cache engine that is used in this cluster.
	EngineVersion *string `type:"string"`

	// Describes a notification topic and its status. Notification topics are used
	// for publishing ElastiCache events to subscribers using Amazon Simple Notification
	// Service (SNS).
	NotificationConfiguration *NotificationConfiguration `type:"structure"`

	// The number of cache nodes in the cluster.
	//
	// For clusters running Redis, this value must be 1. For clusters running Memcached,
	// this value must be between 1 and 20.
	NumCacheNodes *int64 `type:"integer"`

	// A group of settings that are applied to the cluster in the future, or that
	// are currently being applied.
	PendingModifiedValues *PendingModifiedValues `type:"structure"`

	// The name of the Availability Zone in which the cluster is located or "Multiple"
	// if the cache nodes are located in different Availability Zones.
	PreferredAvailabilityZone *string `type:"string"`

	// Specifies the weekly time range during which maintenance on the cluster is
	// performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi
	// (24H Clock UTC). The minimum maintenance window is a 60 minute period.
	//
	// Valid values for ddd are:
	//
	//    * sun
	//
	//    * mon
	//
	//    * tue
	//
	//    * wed
	//
	//    * thu
	//
	//    * fri
	//
	//    * sat
	//
	// Example: sun:23:00-mon:01:30
	PreferredMaintenanceWindow *string `type:"string"`

	// The replication group to which this cluster belongs. If this field is empty,
	// the cluster is not associated with any replication group.
	ReplicationGroupId *string `type:"string"`

	// A list of VPC Security Groups associated with the cluster.
	SecurityGroups []*SecurityGroupMembership `type:"list"`

	// The number of days for which ElastiCache retains automatic cluster snapshots
	// before deleting them. For example, if you set SnapshotRetentionLimit to 5,
	// a snapshot that was taken today is retained for 5 days before being deleted.
	//
	// If the value of SnapshotRetentionLimit is set to zero (0), backups are turned
	// off.
	SnapshotRetentionLimit *int64 `type:"integer"`

	// The daily time range (in UTC) during which ElastiCache begins taking a daily
	// snapshot of your cluster.
	//
	// Example: 05:00-09:00
	SnapshotWindow *string `type:"string"`

	// A flag that enables in-transit encryption when set to true.
	//
	// You cannot modify the value of TransitEncryptionEnabled after the cluster
	// is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
	// to true when you create a cluster.
	//
	// Default: false
	TransitEncryptionEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Contains all of the attributes of a specific cluster.

func (CacheCluster) GoString added in v0.6.5

func (s CacheCluster) GoString() string

GoString returns the string representation

func (*CacheCluster) SetAtRestEncryptionEnabled added in v1.12.17

func (s *CacheCluster) SetAtRestEncryptionEnabled(v bool) *CacheCluster

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*CacheCluster) SetAuthTokenEnabled added in v1.12.17

func (s *CacheCluster) SetAuthTokenEnabled(v bool) *CacheCluster

SetAuthTokenEnabled sets the AuthTokenEnabled field's value.

func (*CacheCluster) SetAutoMinorVersionUpgrade added in v1.5.0

func (s *CacheCluster) SetAutoMinorVersionUpgrade(v bool) *CacheCluster

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CacheCluster) SetCacheClusterCreateTime added in v1.5.0

func (s *CacheCluster) SetCacheClusterCreateTime(v time.Time) *CacheCluster

SetCacheClusterCreateTime sets the CacheClusterCreateTime field's value.

func (*CacheCluster) SetCacheClusterId added in v1.5.0

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

SetCacheClusterId sets the CacheClusterId field's value.

func (*CacheCluster) SetCacheClusterStatus added in v1.5.0

func (s *CacheCluster) SetCacheClusterStatus(v string) *CacheCluster

SetCacheClusterStatus sets the CacheClusterStatus field's value.

func (*CacheCluster) SetCacheNodeType added in v1.5.0

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

SetCacheNodeType sets the CacheNodeType field's value.

func (*CacheCluster) SetCacheNodes added in v1.5.0

func (s *CacheCluster) SetCacheNodes(v []*CacheNode) *CacheCluster

SetCacheNodes sets the CacheNodes field's value.

func (*CacheCluster) SetCacheParameterGroup added in v1.5.0

func (s *CacheCluster) SetCacheParameterGroup(v *CacheParameterGroupStatus) *CacheCluster

SetCacheParameterGroup sets the CacheParameterGroup field's value.

func (*CacheCluster) SetCacheSecurityGroups added in v1.5.0

func (s *CacheCluster) SetCacheSecurityGroups(v []*CacheSecurityGroupMembership) *CacheCluster

SetCacheSecurityGroups sets the CacheSecurityGroups field's value.

func (*CacheCluster) SetCacheSubnetGroupName added in v1.5.0

func (s *CacheCluster) SetCacheSubnetGroupName(v string) *CacheCluster

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*CacheCluster) SetClientDownloadLandingPage added in v1.5.0

func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster

SetClientDownloadLandingPage sets the ClientDownloadLandingPage field's value.

func (*CacheCluster) SetConfigurationEndpoint added in v1.5.0

func (s *CacheCluster) SetConfigurationEndpoint(v *Endpoint) *CacheCluster

SetConfigurationEndpoint sets the ConfigurationEndpoint field's value.

func (*CacheCluster) SetEngine added in v1.5.0

func (s *CacheCluster) SetEngine(v string) *CacheCluster

SetEngine sets the Engine field's value.

func (*CacheCluster) SetEngineVersion added in v1.5.0

func (s *CacheCluster) SetEngineVersion(v string) *CacheCluster

SetEngineVersion sets the EngineVersion field's value.

func (*CacheCluster) SetNotificationConfiguration added in v1.5.0

func (s *CacheCluster) SetNotificationConfiguration(v *NotificationConfiguration) *CacheCluster

SetNotificationConfiguration sets the NotificationConfiguration field's value.

func (*CacheCluster) SetNumCacheNodes added in v1.5.0

func (s *CacheCluster) SetNumCacheNodes(v int64) *CacheCluster

SetNumCacheNodes sets the NumCacheNodes field's value.

func (*CacheCluster) SetPendingModifiedValues added in v1.5.0

func (s *CacheCluster) SetPendingModifiedValues(v *PendingModifiedValues) *CacheCluster

SetPendingModifiedValues sets the PendingModifiedValues field's value.

func (*CacheCluster) SetPreferredAvailabilityZone added in v1.5.0

func (s *CacheCluster) SetPreferredAvailabilityZone(v string) *CacheCluster

SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.

func (*CacheCluster) SetPreferredMaintenanceWindow added in v1.5.0

func (s *CacheCluster) SetPreferredMaintenanceWindow(v string) *CacheCluster

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

func (*CacheCluster) SetReplicationGroupId added in v1.5.0

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (*CacheCluster) SetSecurityGroups added in v1.5.0

func (s *CacheCluster) SetSecurityGroups(v []*SecurityGroupMembership) *CacheCluster

SetSecurityGroups sets the SecurityGroups field's value.

func (*CacheCluster) SetSnapshotRetentionLimit added in v1.5.0

func (s *CacheCluster) SetSnapshotRetentionLimit(v int64) *CacheCluster

SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.

func (*CacheCluster) SetSnapshotWindow added in v1.5.0

func (s *CacheCluster) SetSnapshotWindow(v string) *CacheCluster

SetSnapshotWindow sets the SnapshotWindow field's value.

func (*CacheCluster) SetTransitEncryptionEnabled added in v1.12.17

func (s *CacheCluster) SetTransitEncryptionEnabled(v bool) *CacheCluster

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (CacheCluster) String added in v0.6.5

func (s CacheCluster) String() string

String returns the string representation

type CacheEngineVersion

type CacheEngineVersion struct {

	// The description of the cache engine.
	CacheEngineDescription *string `type:"string"`

	// The description of the cache engine version.
	CacheEngineVersionDescription *string `type:"string"`

	// The name of the cache parameter group family associated with this cache engine.
	//
	// Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2
	CacheParameterGroupFamily *string `type:"string"`

	// The name of the cache engine.
	Engine *string `type:"string"`

	// The version number of the cache engine.
	EngineVersion *string `type:"string"`
	// contains filtered or unexported fields
}

Provides all of the details about a particular cache engine version.

func (CacheEngineVersion) GoString added in v0.6.5

func (s CacheEngineVersion) GoString() string

GoString returns the string representation

func (*CacheEngineVersion) SetCacheEngineDescription added in v1.5.0

func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion

SetCacheEngineDescription sets the CacheEngineDescription field's value.

func (*CacheEngineVersion) SetCacheEngineVersionDescription added in v1.5.0

func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion

SetCacheEngineVersionDescription sets the CacheEngineVersionDescription field's value.

func (*CacheEngineVersion) SetCacheParameterGroupFamily added in v1.5.0

func (s *CacheEngineVersion) SetCacheParameterGroupFamily(v string) *CacheEngineVersion

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

func (*CacheEngineVersion) SetEngine added in v1.5.0

func (s *CacheEngineVersion) SetEngine(v string) *CacheEngineVersion

SetEngine sets the Engine field's value.

func (*CacheEngineVersion) SetEngineVersion added in v1.5.0

func (s *CacheEngineVersion) SetEngineVersion(v string) *CacheEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (CacheEngineVersion) String added in v0.6.5

func (s CacheEngineVersion) String() string

String returns the string representation

type CacheNode

type CacheNode struct {

	// The date and time when the cache node was created.
	CacheNodeCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The cache node identifier. A node ID is a numeric identifier (0001, 0002,
	// etc.). The combination of cluster ID and node ID uniquely identifies every
	// cache node used in a customer's AWS account.
	CacheNodeId *string `type:"string"`

	// The current state of this cache node.
	CacheNodeStatus *string `type:"string"`

	// The Availability Zone where this node was created and now resides.
	CustomerAvailabilityZone *string `type:"string"`

	// The hostname for connecting to this cache node.
	Endpoint *Endpoint `type:"structure"`

	// The status of the parameter group applied to this cache node.
	ParameterGroupStatus *string `type:"string"`

	// The ID of the primary node to which this read replica node is synchronized.
	// If this field is empty, this node is not associated with a primary cluster.
	SourceCacheNodeId *string `type:"string"`
	// contains filtered or unexported fields
}

Represents an individual cache node within a cluster. Each cache node runs its own instance of the cluster's protocol-compliant caching software - either Memcached or Redis.

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

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 Amazon ElastiCache Product Features and Details (http://aws.amazon.com/elasticache/details) and either Cache Node Type-Specific Parameters for Memcached (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific) or Cache Node Type-Specific Parameters for Redis (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific).

func (CacheNode) GoString added in v0.6.5

func (s CacheNode) GoString() string

GoString returns the string representation

func (*CacheNode) SetCacheNodeCreateTime added in v1.5.0

func (s *CacheNode) SetCacheNodeCreateTime(v time.Time) *CacheNode

SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value.

func (*CacheNode) SetCacheNodeId added in v1.5.0

func (s *CacheNode) SetCacheNodeId(v string) *CacheNode

SetCacheNodeId sets the CacheNodeId field's value.

func (*CacheNode) SetCacheNodeStatus added in v1.5.0

func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode

SetCacheNodeStatus sets the CacheNodeStatus field's value.

func (*CacheNode) SetCustomerAvailabilityZone added in v1.5.0

func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode

SetCustomerAvailabilityZone sets the CustomerAvailabilityZone field's value.

func (*CacheNode) SetEndpoint added in v1.5.0

func (s *CacheNode) SetEndpoint(v *Endpoint) *CacheNode

SetEndpoint sets the Endpoint field's value.

func (*CacheNode) SetParameterGroupStatus added in v1.5.0

func (s *CacheNode) SetParameterGroupStatus(v string) *CacheNode

SetParameterGroupStatus sets the ParameterGroupStatus field's value.

func (*CacheNode) SetSourceCacheNodeId added in v1.5.0

func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode

SetSourceCacheNodeId sets the SourceCacheNodeId field's value.

func (CacheNode) String added in v0.6.5

func (s CacheNode) String() string

String returns the string representation

type CacheNodeTypeSpecificParameter

type CacheNodeTypeSpecificParameter struct {

	// The valid range of values for the parameter.
	AllowedValues *string `type:"string"`

	// A list of cache node types and their corresponding values for this parameter.
	CacheNodeTypeSpecificValues []*CacheNodeTypeSpecificValue `locationNameList:"CacheNodeTypeSpecificValue" type:"list"`

	// Indicates whether a change to the parameter is applied immediately or requires
	// a reboot for the change to be applied. You can force a reboot or wait until
	// the next maintenance window's reboot. For more information, see Rebooting
	// a Cluster (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Clusters.Rebooting.html).
	ChangeType *string `type:"string" enum:"ChangeType"`

	// The valid data type for the parameter.
	DataType *string `type:"string"`

	// A description of the parameter.
	Description *string `type:"string"`

	// Indicates whether (true) or not (false) the parameter can be modified. Some
	// parameters have security or operational implications that prevent them from
	// being changed.
	IsModifiable *bool `type:"boolean"`

	// The earliest cache engine version to which the parameter can apply.
	MinimumEngineVersion *string `type:"string"`

	// The name of the parameter.
	ParameterName *string `type:"string"`

	// The source of the parameter value.
	Source *string `type:"string"`
	// contains filtered or unexported fields
}

A parameter that has a different value for each cache node type it is applied to. For example, in a Redis cluster, a cache.m1.large cache node type would have a larger maxmemory value than a cache.m1.small type.

func (CacheNodeTypeSpecificParameter) GoString added in v0.6.5

GoString returns the string representation

func (*CacheNodeTypeSpecificParameter) SetAllowedValues added in v1.5.0

SetAllowedValues sets the AllowedValues field's value.

func (*CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues added in v1.5.0

SetCacheNodeTypeSpecificValues sets the CacheNodeTypeSpecificValues field's value.

func (*CacheNodeTypeSpecificParameter) SetChangeType added in v1.5.0

SetChangeType sets the ChangeType field's value.

func (*CacheNodeTypeSpecificParameter) SetDataType added in v1.5.0

SetDataType sets the DataType field's value.

func (*CacheNodeTypeSpecificParameter) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*CacheNodeTypeSpecificParameter) SetIsModifiable added in v1.5.0

SetIsModifiable sets the IsModifiable field's value.

func (*CacheNodeTypeSpecificParameter) SetMinimumEngineVersion added in v1.5.0

SetMinimumEngineVersion sets the MinimumEngineVersion field's value.

func (*CacheNodeTypeSpecificParameter) SetParameterName added in v1.5.0

SetParameterName sets the ParameterName field's value.

func (*CacheNodeTypeSpecificParameter) SetSource added in v1.5.0

SetSource sets the Source field's value.

func (CacheNodeTypeSpecificParameter) String added in v0.6.5

String returns the string representation

type CacheNodeTypeSpecificValue

type CacheNodeTypeSpecificValue struct {

	// The cache node type for which this value applies.
	CacheNodeType *string `type:"string"`

	// The value for the cache node type.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A value that applies only to a certain cache node type.

func (CacheNodeTypeSpecificValue) GoString added in v0.6.5

func (s CacheNodeTypeSpecificValue) GoString() string

GoString returns the string representation

func (*CacheNodeTypeSpecificValue) SetCacheNodeType added in v1.5.0

SetCacheNodeType sets the CacheNodeType field's value.

func (*CacheNodeTypeSpecificValue) SetValue added in v1.5.0

SetValue sets the Value field's value.

func (CacheNodeTypeSpecificValue) String added in v0.6.5

String returns the string representation

type CacheParameterGroup

type CacheParameterGroup struct {

	// The name of the cache parameter group family that this cache parameter group
	// is compatible with.
	//
	// Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2
	CacheParameterGroupFamily *string `type:"string"`

	// The name of the cache parameter group.
	CacheParameterGroupName *string `type:"string"`

	// The description for this cache parameter group.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateCacheParameterGroup operation.

func (CacheParameterGroup) GoString added in v0.6.5

func (s CacheParameterGroup) GoString() string

GoString returns the string representation

func (*CacheParameterGroup) SetCacheParameterGroupFamily added in v1.5.0

func (s *CacheParameterGroup) SetCacheParameterGroupFamily(v string) *CacheParameterGroup

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

func (*CacheParameterGroup) SetCacheParameterGroupName added in v1.5.0

func (s *CacheParameterGroup) SetCacheParameterGroupName(v string) *CacheParameterGroup

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*CacheParameterGroup) SetDescription added in v1.5.0

func (s *CacheParameterGroup) SetDescription(v string) *CacheParameterGroup

SetDescription sets the Description field's value.

func (CacheParameterGroup) String added in v0.6.5

func (s CacheParameterGroup) String() string

String returns the string representation

type CacheParameterGroupNameMessage

type CacheParameterGroupNameMessage struct {

	// The name of the cache parameter group.
	CacheParameterGroupName *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of one of the following operations:

  • ModifyCacheParameterGroup

  • ResetCacheParameterGroup

func (CacheParameterGroupNameMessage) GoString added in v0.6.5

GoString returns the string representation

func (*CacheParameterGroupNameMessage) SetCacheParameterGroupName added in v1.5.0

func (s *CacheParameterGroupNameMessage) SetCacheParameterGroupName(v string) *CacheParameterGroupNameMessage

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (CacheParameterGroupNameMessage) String added in v0.6.5

String returns the string representation

type CacheParameterGroupStatus

type CacheParameterGroupStatus struct {

	// A list of the cache node IDs which need to be rebooted for parameter changes
	// to be applied. A node ID is a numeric identifier (0001, 0002, etc.).
	CacheNodeIdsToReboot []*string `locationNameList:"CacheNodeId" type:"list"`

	// The name of the cache parameter group.
	CacheParameterGroupName *string `type:"string"`

	// The status of parameter updates.
	ParameterApplyStatus *string `type:"string"`
	// contains filtered or unexported fields
}

Status of the cache parameter group.

func (CacheParameterGroupStatus) GoString added in v0.6.5

func (s CacheParameterGroupStatus) GoString() string

GoString returns the string representation

func (*CacheParameterGroupStatus) SetCacheNodeIdsToReboot added in v1.5.0

func (s *CacheParameterGroupStatus) SetCacheNodeIdsToReboot(v []*string) *CacheParameterGroupStatus

SetCacheNodeIdsToReboot sets the CacheNodeIdsToReboot field's value.

func (*CacheParameterGroupStatus) SetCacheParameterGroupName added in v1.5.0

func (s *CacheParameterGroupStatus) SetCacheParameterGroupName(v string) *CacheParameterGroupStatus

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*CacheParameterGroupStatus) SetParameterApplyStatus added in v1.5.0

func (s *CacheParameterGroupStatus) SetParameterApplyStatus(v string) *CacheParameterGroupStatus

SetParameterApplyStatus sets the ParameterApplyStatus field's value.

func (CacheParameterGroupStatus) String added in v0.6.5

func (s CacheParameterGroupStatus) String() string

String returns the string representation

type CacheSecurityGroup

type CacheSecurityGroup struct {

	// The name of the cache security group.
	CacheSecurityGroupName *string `type:"string"`

	// The description of the cache security group.
	Description *string `type:"string"`

	// A list of Amazon EC2 security groups that are associated with this cache
	// security group.
	EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"`

	// The AWS account ID of the cache security group owner.
	OwnerId *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of one of the following operations:

  • AuthorizeCacheSecurityGroupIngress

  • CreateCacheSecurityGroup

  • RevokeCacheSecurityGroupIngress

func (CacheSecurityGroup) GoString added in v0.6.5

func (s CacheSecurityGroup) GoString() string

GoString returns the string representation

func (*CacheSecurityGroup) SetCacheSecurityGroupName added in v1.5.0

func (s *CacheSecurityGroup) SetCacheSecurityGroupName(v string) *CacheSecurityGroup

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (*CacheSecurityGroup) SetDescription added in v1.5.0

func (s *CacheSecurityGroup) SetDescription(v string) *CacheSecurityGroup

SetDescription sets the Description field's value.

func (*CacheSecurityGroup) SetEC2SecurityGroups added in v1.5.0

func (s *CacheSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *CacheSecurityGroup

SetEC2SecurityGroups sets the EC2SecurityGroups field's value.

func (*CacheSecurityGroup) SetOwnerId added in v1.5.0

func (s *CacheSecurityGroup) SetOwnerId(v string) *CacheSecurityGroup

SetOwnerId sets the OwnerId field's value.

func (CacheSecurityGroup) String added in v0.6.5

func (s CacheSecurityGroup) String() string

String returns the string representation

type CacheSecurityGroupMembership

type CacheSecurityGroupMembership struct {

	// The name of the cache security group.
	CacheSecurityGroupName *string `type:"string"`

	// The membership status in the cache security group. The status changes when
	// a cache security group is modified, or when the cache security groups assigned
	// to a cluster are modified.
	Status *string `type:"string"`
	// contains filtered or unexported fields
}

Represents a cluster's status within a particular cache security group.

func (CacheSecurityGroupMembership) GoString added in v0.6.5

func (s CacheSecurityGroupMembership) GoString() string

GoString returns the string representation

func (*CacheSecurityGroupMembership) SetCacheSecurityGroupName added in v1.5.0

func (s *CacheSecurityGroupMembership) SetCacheSecurityGroupName(v string) *CacheSecurityGroupMembership

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (*CacheSecurityGroupMembership) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (CacheSecurityGroupMembership) String added in v0.6.5

String returns the string representation

type CacheSubnetGroup

type CacheSubnetGroup struct {

	// The description of the cache subnet group.
	CacheSubnetGroupDescription *string `type:"string"`

	// The name of the cache subnet group.
	CacheSubnetGroupName *string `type:"string"`

	// A list of subnets associated with the cache subnet group.
	Subnets []*Subnet `locationNameList:"Subnet" type:"list"`

	// The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet
	// group.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of one of the following operations:

  • CreateCacheSubnetGroup

  • ModifyCacheSubnetGroup

func (CacheSubnetGroup) GoString added in v0.6.5

func (s CacheSubnetGroup) GoString() string

GoString returns the string representation

func (*CacheSubnetGroup) SetCacheSubnetGroupDescription added in v1.5.0

func (s *CacheSubnetGroup) SetCacheSubnetGroupDescription(v string) *CacheSubnetGroup

SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.

func (*CacheSubnetGroup) SetCacheSubnetGroupName added in v1.5.0

func (s *CacheSubnetGroup) SetCacheSubnetGroupName(v string) *CacheSubnetGroup

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*CacheSubnetGroup) SetSubnets added in v1.5.0

func (s *CacheSubnetGroup) SetSubnets(v []*Subnet) *CacheSubnetGroup

SetSubnets sets the Subnets field's value.

func (*CacheSubnetGroup) SetVpcId added in v1.5.0

func (s *CacheSubnetGroup) SetVpcId(v string) *CacheSubnetGroup

SetVpcId sets the VpcId field's value.

func (CacheSubnetGroup) String added in v0.6.5

func (s CacheSubnetGroup) String() string

String returns the string representation

type CopySnapshotInput

type CopySnapshotInput struct {

	// The name of an existing snapshot from which to make a copy.
	//
	// SourceSnapshotName is a required field
	SourceSnapshotName *string `type:"string" required:"true"`

	// The Amazon S3 bucket to which the snapshot is exported. This parameter is
	// used only when exporting a snapshot for external access.
	//
	// When using this parameter to export a snapshot, be sure Amazon ElastiCache
	// has the needed permissions to this S3 bucket. For more information, see Step
	// 2: Grant ElastiCache Access to Your Amazon S3 Bucket (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html#Snapshots.Exporting.GrantAccess)
	// in the Amazon ElastiCache User Guide.
	//
	// For more information, see Exporting a Snapshot (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html)
	// in the Amazon ElastiCache User Guide.
	TargetBucket *string `type:"string"`

	// A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot,
	// therefore this name must be unique within its context - ElastiCache or an
	// Amazon S3 bucket if exporting.
	//
	// TargetSnapshotName is a required field
	TargetSnapshotName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CopySnapshotMessage operation.

func (CopySnapshotInput) GoString added in v0.6.5

func (s CopySnapshotInput) GoString() string

GoString returns the string representation

func (*CopySnapshotInput) SetSourceSnapshotName added in v1.5.0

func (s *CopySnapshotInput) SetSourceSnapshotName(v string) *CopySnapshotInput

SetSourceSnapshotName sets the SourceSnapshotName field's value.

func (*CopySnapshotInput) SetTargetBucket added in v1.5.0

func (s *CopySnapshotInput) SetTargetBucket(v string) *CopySnapshotInput

SetTargetBucket sets the TargetBucket field's value.

func (*CopySnapshotInput) SetTargetSnapshotName added in v1.5.0

func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput

SetTargetSnapshotName sets the TargetSnapshotName field's value.

func (CopySnapshotInput) String added in v0.6.5

func (s CopySnapshotInput) String() string

String returns the string representation

func (*CopySnapshotInput) Validate added in v1.1.21

func (s *CopySnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CopySnapshotOutput

type CopySnapshotOutput struct {

	// Represents a copy of an entire Redis cluster as of the time when the snapshot
	// was taken.
	Snapshot *Snapshot `type:"structure"`
	// contains filtered or unexported fields
}

func (CopySnapshotOutput) GoString added in v0.6.5

func (s CopySnapshotOutput) GoString() string

GoString returns the string representation

func (*CopySnapshotOutput) SetSnapshot added in v1.5.0

func (s *CopySnapshotOutput) SetSnapshot(v *Snapshot) *CopySnapshotOutput

SetSnapshot sets the Snapshot field's value.

func (CopySnapshotOutput) String added in v0.6.5

func (s CopySnapshotOutput) String() string

String returns the string representation

type CreateCacheClusterInput

type CreateCacheClusterInput struct {

	// Specifies whether the nodes in this Memcached cluster are created in a single
	// Availability Zone or created across multiple Availability Zones in the cluster's
	// region.
	//
	// This parameter is only supported for Memcached clusters.
	//
	// If the AZMode and PreferredAvailabilityZones are not specified, ElastiCache
	// assumes single-az mode.
	AZMode *string `type:"string" enum:"AZMode"`

	// Reserved parameter. The password used to access a password protected server.
	//
	// This parameter is valid only if:
	//
	//    * The parameter TransitEncryptionEnabled was set to true when the cluster
	//    was created.
	//
	//    * The line requirepass was added to the database configuration file.
	//
	// Password constraints:
	//
	//    * Must be only printable ASCII characters.
	//
	//    * Must be at least 16 characters and no more than 128 characters in length.
	//
	//    * Cannot contain any of the following characters: '/', '"', or '@'.
	//
	// For more information, see AUTH password (http://redis.io/commands/AUTH) at
	// http://redis.io/commands/AUTH.
	AuthToken *string `type:"string"`

	// This parameter is currently disabled.
	AutoMinorVersionUpgrade *bool `type:"boolean"`

	// The node group (shard) identifier. This parameter is stored as a lowercase
	// string.
	//
	// Constraints:
	//
	//    * A name must contain from 1 to 20 alphanumeric characters or hyphens.
	//
	//    * The first character must be a letter.
	//
	//    * A name cannot end with a hyphen or contain two consecutive hyphens.
	//
	// CacheClusterId is a required field
	CacheClusterId *string `type:"string" required:"true"`

	// The compute and memory capacity of the nodes in the node group (shard).
	//
	// 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
	//
	// 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 Amazon ElastiCache
	// Product Features and Details (http://aws.amazon.com/elasticache/details)
	// and either Cache Node Type-Specific Parameters for Memcached (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific)
	// or Cache Node Type-Specific Parameters for Redis (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific).
	CacheNodeType *string `type:"string"`

	// The name of the parameter group to associate with this cluster. If this argument
	// is omitted, the default parameter group for the specified engine is used.
	// You cannot use any parameter group which has cluster-enabled='yes' when creating
	// a cluster.
	CacheParameterGroupName *string `type:"string"`

	// A list of security group names to associate with this cluster.
	//
	// Use this parameter only when you are creating a cluster outside of an Amazon
	// Virtual Private Cloud (Amazon VPC).
	CacheSecurityGroupNames []*string `locationNameList:"CacheSecurityGroupName" type:"list"`

	// The name of the subnet group to be used for the cluster.
	//
	// Use this parameter only when you are creating a cluster in an Amazon Virtual
	// Private Cloud (Amazon VPC).
	//
	// If you're going to launch your cluster in an Amazon VPC, you need to create
	// a subnet group before you start creating a cluster. For more information,
	// see Subnets and Subnet Groups (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SubnetGroups.html).
	CacheSubnetGroupName *string `type:"string"`

	// The name of the cache engine to be used for this cluster.
	//
	// Valid values for this parameter are: memcached | redis
	Engine *string `type:"string"`

	// The version number of the cache engine to be used for this cluster. To view
	// the supported cache engine versions, use the DescribeCacheEngineVersions
	// operation.
	//
	// Important: You can upgrade to a newer engine version (see Selecting a Cache
	// Engine and Version (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SelectEngine.html#VersionManagement)),
	// but you cannot downgrade to an earlier engine version. If you want to use
	// an earlier engine version, you must delete the existing cluster or replication
	// group and create it anew with the earlier engine version.
	EngineVersion *string `type:"string"`

	// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
	// (SNS) topic to which notifications are sent.
	//
	// The Amazon SNS topic owner must be the same as the cluster owner.
	NotificationTopicArn *string `type:"string"`

	// The initial number of cache nodes that the cluster has.
	//
	// For clusters running Redis, this value must be 1. For clusters running Memcached,
	// this value must be between 1 and 20.
	//
	// If you need more than 20 nodes for your Memcached cluster, please fill out
	// the ElastiCache Limit Increase Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/
	// (http://aws.amazon.com/contact-us/elasticache-node-limit-request/).
	NumCacheNodes *int64 `type:"integer"`

	// The port number on which each of the cache nodes accepts connections.
	Port *int64 `type:"integer"`

	// The EC2 Availability Zone in which the cluster is created.
	//
	// All nodes belonging to this Memcached cluster are placed in the preferred
	// Availability Zone. If you want to create your nodes across multiple Availability
	// Zones, use PreferredAvailabilityZones.
	//
	// Default: System chosen Availability Zone.
	PreferredAvailabilityZone *string `type:"string"`

	// A list of the Availability Zones in which cache nodes are created. The order
	// of the zones in the list is not important.
	//
	// This option is only supported on Memcached.
	//
	// If you are creating your cluster in an Amazon VPC (recommended) you can only
	// locate nodes in Availability Zones that are associated with the subnets in
	// the selected subnet group.
	//
	// The number of Availability Zones listed must equal the value of NumCacheNodes.
	//
	// If you want all the nodes in the same Availability Zone, use PreferredAvailabilityZone
	// instead, or repeat the Availability Zone multiple times in the list.
	//
	// Default: System chosen Availability Zones.
	PreferredAvailabilityZones []*string `locationNameList:"PreferredAvailabilityZone" type:"list"`

	// Specifies the weekly time range during which maintenance on the cluster is
	// performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi
	// (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid
	// values for ddd are:
	//
	// Specifies the weekly time range during which maintenance on the cluster is
	// performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi
	// (24H Clock UTC). The minimum maintenance window is a 60 minute period.
	//
	// Valid values for ddd are:
	//
	//    * sun
	//
	//    * mon
	//
	//    * tue
	//
	//    * wed
	//
	//    * thu
	//
	//    * fri
	//
	//    * sat
	//
	// Example: sun:23:00-mon:01:30
	PreferredMaintenanceWindow *string `type:"string"`

	// Due to current limitations on Redis (cluster mode disabled), this operation
	// or parameter is not supported on Redis (cluster mode enabled) replication
	// groups.
	//
	// The ID of the replication group to which this cluster should belong. If this
	// parameter is specified, the cluster is added to the specified replication
	// group as a read replica; otherwise, the cluster is a standalone primary that
	// is not part of any replication group.
	//
	// If the specified replication group is Multi-AZ enabled and the Availability
	// Zone is not specified, the cluster is created in Availability Zones that
	// provide the best spread of read replicas across Availability Zones.
	//
	// This parameter is only valid if the Engine parameter is redis.
	ReplicationGroupId *string `type:"string"`

	// One or more VPC security groups associated with the cluster.
	//
	// Use this parameter only when you are creating a cluster in an Amazon Virtual
	// Private Cloud (Amazon VPC).
	SecurityGroupIds []*string `locationNameList:"SecurityGroupId" type:"list"`

	// A single-element string list containing an Amazon Resource Name (ARN) that
	// uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot
	// file is used to populate the node group (shard). The Amazon S3 object name
	// in the ARN cannot contain any commas.
	//
	// This parameter is only valid if the Engine parameter is redis.
	//
	// Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb
	SnapshotArns []*string `locationNameList:"SnapshotArn" type:"list"`

	// The name of a Redis snapshot from which to restore data into the new node
	// group (shard). The snapshot status changes to restoring while the new node
	// group (shard) is being created.
	//
	// This parameter is only valid if the Engine parameter is redis.
	SnapshotName *string `type:"string"`

	// The number of days for which ElastiCache retains automatic snapshots before
	// deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot
	// taken today is retained for 5 days before being deleted.
	//
	// This parameter is only valid if the Engine parameter is redis.
	//
	// Default: 0 (i.e., automatic backups are disabled for this cluster).
	SnapshotRetentionLimit *int64 `type:"integer"`

	// The daily time range (in UTC) during which ElastiCache begins taking a daily
	// snapshot of your node group (shard).
	//
	// Example: 05:00-09:00
	//
	// If you do not specify this parameter, ElastiCache automatically chooses an
	// appropriate time range.
	//
	// This parameter is only valid if the Engine parameter is redis.
	SnapshotWindow *string `type:"string"`

	// A list of cost allocation tags to be added to this resource.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a CreateCacheCluster operation.

func (CreateCacheClusterInput) GoString added in v0.6.5

func (s CreateCacheClusterInput) GoString() string

GoString returns the string representation

func (*CreateCacheClusterInput) SetAZMode added in v1.5.0

SetAZMode sets the AZMode field's value.

func (*CreateCacheClusterInput) SetAuthToken added in v1.5.5

SetAuthToken sets the AuthToken field's value.

func (*CreateCacheClusterInput) SetAutoMinorVersionUpgrade added in v1.5.0

func (s *CreateCacheClusterInput) SetAutoMinorVersionUpgrade(v bool) *CreateCacheClusterInput

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateCacheClusterInput) SetCacheClusterId added in v1.5.0

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

SetCacheClusterId sets the CacheClusterId field's value.

func (*CreateCacheClusterInput) SetCacheNodeType added in v1.5.0

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

SetCacheNodeType sets the CacheNodeType field's value.

func (*CreateCacheClusterInput) SetCacheParameterGroupName added in v1.5.0

func (s *CreateCacheClusterInput) SetCacheParameterGroupName(v string) *CreateCacheClusterInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*CreateCacheClusterInput) SetCacheSecurityGroupNames added in v1.5.0

func (s *CreateCacheClusterInput) SetCacheSecurityGroupNames(v []*string) *CreateCacheClusterInput

SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.

func (*CreateCacheClusterInput) SetCacheSubnetGroupName added in v1.5.0

func (s *CreateCacheClusterInput) SetCacheSubnetGroupName(v string) *CreateCacheClusterInput

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*CreateCacheClusterInput) SetEngine added in v1.5.0

SetEngine sets the Engine field's value.

func (*CreateCacheClusterInput) SetEngineVersion added in v1.5.0

func (s *CreateCacheClusterInput) SetEngineVersion(v string) *CreateCacheClusterInput

SetEngineVersion sets the EngineVersion field's value.

func (*CreateCacheClusterInput) SetNotificationTopicArn added in v1.5.0

func (s *CreateCacheClusterInput) SetNotificationTopicArn(v string) *CreateCacheClusterInput

SetNotificationTopicArn sets the NotificationTopicArn field's value.

func (*CreateCacheClusterInput) SetNumCacheNodes added in v1.5.0

func (s *CreateCacheClusterInput) SetNumCacheNodes(v int64) *CreateCacheClusterInput

SetNumCacheNodes sets the NumCacheNodes field's value.

func (*CreateCacheClusterInput) SetPort added in v1.5.0

SetPort sets the Port field's value.

func (*CreateCacheClusterInput) SetPreferredAvailabilityZone added in v1.5.0

func (s *CreateCacheClusterInput) SetPreferredAvailabilityZone(v string) *CreateCacheClusterInput

SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.

func (*CreateCacheClusterInput) SetPreferredAvailabilityZones added in v1.5.0

func (s *CreateCacheClusterInput) SetPreferredAvailabilityZones(v []*string) *CreateCacheClusterInput

SetPreferredAvailabilityZones sets the PreferredAvailabilityZones field's value.

func (*CreateCacheClusterInput) SetPreferredMaintenanceWindow added in v1.5.0

func (s *CreateCacheClusterInput) SetPreferredMaintenanceWindow(v string) *CreateCacheClusterInput

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

func (*CreateCacheClusterInput) SetReplicationGroupId added in v1.5.0

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (*CreateCacheClusterInput) SetSecurityGroupIds added in v1.5.0

func (s *CreateCacheClusterInput) SetSecurityGroupIds(v []*string) *CreateCacheClusterInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateCacheClusterInput) SetSnapshotArns added in v1.5.0

func (s *CreateCacheClusterInput) SetSnapshotArns(v []*string) *CreateCacheClusterInput

SetSnapshotArns sets the SnapshotArns field's value.

func (*CreateCacheClusterInput) SetSnapshotName added in v1.5.0

SetSnapshotName sets the SnapshotName field's value.

func (*CreateCacheClusterInput) SetSnapshotRetentionLimit added in v1.5.0

func (s *CreateCacheClusterInput) SetSnapshotRetentionLimit(v int64) *CreateCacheClusterInput

SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.

func (*CreateCacheClusterInput) SetSnapshotWindow added in v1.5.0

func (s *CreateCacheClusterInput) SetSnapshotWindow(v string) *CreateCacheClusterInput

SetSnapshotWindow sets the SnapshotWindow field's value.

func (*CreateCacheClusterInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (CreateCacheClusterInput) String added in v0.6.5

func (s CreateCacheClusterInput) String() string

String returns the string representation

func (*CreateCacheClusterInput) Validate added in v1.1.21

func (s *CreateCacheClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCacheClusterOutput

type CreateCacheClusterOutput struct {

	// Contains all of the attributes of a specific cluster.
	CacheCluster *CacheCluster `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCacheClusterOutput) GoString added in v0.6.5

func (s CreateCacheClusterOutput) GoString() string

GoString returns the string representation

func (*CreateCacheClusterOutput) SetCacheCluster added in v1.5.0

SetCacheCluster sets the CacheCluster field's value.

func (CreateCacheClusterOutput) String added in v0.6.5

func (s CreateCacheClusterOutput) String() string

String returns the string representation

type CreateCacheParameterGroupInput

type CreateCacheParameterGroupInput struct {

	// The name of the cache parameter group family that the cache parameter group
	// can be used with.
	//
	// Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2
	//
	// CacheParameterGroupFamily is a required field
	CacheParameterGroupFamily *string `type:"string" required:"true"`

	// A user-specified name for the cache parameter group.
	//
	// CacheParameterGroupName is a required field
	CacheParameterGroupName *string `type:"string" required:"true"`

	// A user-specified description for the cache parameter group.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateCacheParameterGroup operation.

func (CreateCacheParameterGroupInput) GoString added in v0.6.5

GoString returns the string representation

func (*CreateCacheParameterGroupInput) SetCacheParameterGroupFamily added in v1.5.0

func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupFamily(v string) *CreateCacheParameterGroupInput

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

func (*CreateCacheParameterGroupInput) SetCacheParameterGroupName added in v1.5.0

func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupName(v string) *CreateCacheParameterGroupInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*CreateCacheParameterGroupInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (CreateCacheParameterGroupInput) String added in v0.6.5

String returns the string representation

func (*CreateCacheParameterGroupInput) Validate added in v1.1.21

func (s *CreateCacheParameterGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCacheParameterGroupOutput

type CreateCacheParameterGroupOutput struct {

	// Represents the output of a CreateCacheParameterGroup operation.
	CacheParameterGroup *CacheParameterGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCacheParameterGroupOutput) GoString added in v0.6.5

GoString returns the string representation

func (*CreateCacheParameterGroupOutput) SetCacheParameterGroup added in v1.5.0

SetCacheParameterGroup sets the CacheParameterGroup field's value.

func (CreateCacheParameterGroupOutput) String added in v0.6.5

String returns the string representation

type CreateCacheSecurityGroupInput

type CreateCacheSecurityGroupInput struct {

	// A name for the cache security group. This value is stored as a lowercase
	// string.
	//
	// Constraints: Must contain no more than 255 alphanumeric characters. Cannot
	// be the word "Default".
	//
	// Example: mysecuritygroup
	//
	// CacheSecurityGroupName is a required field
	CacheSecurityGroupName *string `type:"string" required:"true"`

	// A description for the cache security group.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateCacheSecurityGroup operation.

func (CreateCacheSecurityGroupInput) GoString added in v0.6.5

GoString returns the string representation

func (*CreateCacheSecurityGroupInput) SetCacheSecurityGroupName added in v1.5.0

func (s *CreateCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *CreateCacheSecurityGroupInput

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (*CreateCacheSecurityGroupInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (CreateCacheSecurityGroupInput) String added in v0.6.5

String returns the string representation

func (*CreateCacheSecurityGroupInput) Validate added in v1.1.21

func (s *CreateCacheSecurityGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCacheSecurityGroupOutput

type CreateCacheSecurityGroupOutput struct {

	// Represents the output of one of the following operations:
	//
	//    * AuthorizeCacheSecurityGroupIngress
	//
	//    * CreateCacheSecurityGroup
	//
	//    * RevokeCacheSecurityGroupIngress
	CacheSecurityGroup *CacheSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCacheSecurityGroupOutput) GoString added in v0.6.5

GoString returns the string representation

func (*CreateCacheSecurityGroupOutput) SetCacheSecurityGroup added in v1.5.0

SetCacheSecurityGroup sets the CacheSecurityGroup field's value.

func (CreateCacheSecurityGroupOutput) String added in v0.6.5

String returns the string representation

type CreateCacheSubnetGroupInput

type CreateCacheSubnetGroupInput struct {

	// A description for the cache subnet group.
	//
	// CacheSubnetGroupDescription is a required field
	CacheSubnetGroupDescription *string `type:"string" required:"true"`

	// A name for the cache subnet group. This value is stored as a lowercase string.
	//
	// Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
	//
	// Example: mysubnetgroup
	//
	// CacheSubnetGroupName is a required field
	CacheSubnetGroupName *string `type:"string" required:"true"`

	// A list of VPC subnet IDs for the cache subnet group.
	//
	// SubnetIds is a required field
	SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateCacheSubnetGroup operation.

func (CreateCacheSubnetGroupInput) GoString added in v0.6.5

func (s CreateCacheSubnetGroupInput) GoString() string

GoString returns the string representation

func (*CreateCacheSubnetGroupInput) SetCacheSubnetGroupDescription added in v1.5.0

func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *CreateCacheSubnetGroupInput

SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.

func (*CreateCacheSubnetGroupInput) SetCacheSubnetGroupName added in v1.5.0

func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *CreateCacheSubnetGroupInput

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*CreateCacheSubnetGroupInput) SetSubnetIds added in v1.5.0

SetSubnetIds sets the SubnetIds field's value.

func (CreateCacheSubnetGroupInput) String added in v0.6.5

String returns the string representation

func (*CreateCacheSubnetGroupInput) Validate added in v1.1.21

func (s *CreateCacheSubnetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCacheSubnetGroupOutput

type CreateCacheSubnetGroupOutput struct {

	// Represents the output of one of the following operations:
	//
	//    * CreateCacheSubnetGroup
	//
	//    * ModifyCacheSubnetGroup
	CacheSubnetGroup *CacheSubnetGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCacheSubnetGroupOutput) GoString added in v0.6.5

func (s CreateCacheSubnetGroupOutput) GoString() string

GoString returns the string representation

func (*CreateCacheSubnetGroupOutput) SetCacheSubnetGroup added in v1.5.0

SetCacheSubnetGroup sets the CacheSubnetGroup field's value.

func (CreateCacheSubnetGroupOutput) String added in v0.6.5

String returns the string representation

type CreateReplicationGroupInput

type CreateReplicationGroupInput struct {

	// A flag that enables encryption at rest when set to true.
	//
	// You cannot modify the value of AtRestEncryptionEnabled after the replication
	// group is created. To enable encryption at rest on a replication group you
	// must set AtRestEncryptionEnabled to true when you create the replication
	// group.
	//
	// This parameter is valid only if the Engine parameter is redis and the cluster
	// is being created in an Amazon VPC.
	//
	// Default: false
	AtRestEncryptionEnabled *bool `type:"boolean"`

	// Reserved parameter. The password used to access a password protected server.
	//
	// This parameter is valid only if:
	//
	//    * The parameter TransitEncryptionEnabled was set to true when the cluster
	//    was created.
	//
	//    * The line requirepass was added to the database configuration file.
	//
	// Password constraints:
	//
	//    * Must be only printable ASCII characters.
	//
	//    * Must be at least 16 characters and no more than 128 characters in length.
	//
	//    * Cannot contain any of the following characters: '/', '"', or '@'.
	//
	// For more information, see AUTH password (http://redis.io/commands/AUTH) at
	// http://redis.io/commands/AUTH.
	AuthToken *string `type:"string"`

	// This parameter is currently disabled.
	AutoMinorVersionUpgrade *bool `type:"boolean"`

	// Specifies whether a read-only replica is automatically promoted to read/write
	// primary if the existing primary fails.
	//
	// If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ
	// is disabled for this replication group.
	//
	// AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled)
	// replication groups.
	//
	// Default: false
	//
	// Amazon ElastiCache for Redis does not support Multi-AZ with automatic failover
	// on:
	//
	//    * Redis versions earlier than 2.8.6.
	//
	//    * Redis (cluster mode disabled): T1 and T2 cache node types.
	//
	//    * Redis (cluster mode enabled): T1 node types.
	AutomaticFailoverEnabled *bool `type:"boolean"`

	// The compute and memory capacity of the nodes in the node group (shard).
	//
	// 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
	//
	// 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 Amazon ElastiCache
	// Product Features and Details (http://aws.amazon.com/elasticache/details)
	// and either Cache Node Type-Specific Parameters for Memcached (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific)
	// or Cache Node Type-Specific Parameters for Redis (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific).
	CacheNodeType *string `type:"string"`

	// The name of the parameter group to associate with this replication group.
	// If this argument is omitted, the default cache parameter group for the specified
	// engine is used.
	//
	// If you are running Redis version 3.2.4 or later, only one node group (shard),
	// and want to use a default parameter group, we recommend that you specify
	// the parameter group by name.
	//
	//    * To create a Redis (cluster mode disabled) replication group, use CacheParameterGroupName=default.redis3.2.
	//
	//    * To create a Redis (cluster mode enabled) replication group, use CacheParameterGroupName=default.redis3.2.cluster.on.
	CacheParameterGroupName *string `type:"string"`

	// A list of cache security group names to associate with this replication group.
	CacheSecurityGroupNames []*string `locationNameList:"CacheSecurityGroupName" type:"list"`

	// The name of the cache subnet group to be used for the replication group.
	//
	// If you're going to launch your cluster in an Amazon VPC, you need to create
	// a subnet group before you start creating a cluster. For more information,
	// see Subnets and Subnet Groups (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SubnetGroups.html).
	CacheSubnetGroupName *string `type:"string"`

	// The name of the cache engine to be used for the clusters in this replication
	// group.
	Engine *string `type:"string"`

	// The version number of the cache engine to be used for the clusters in this
	// replication group. To view the supported cache engine versions, use the DescribeCacheEngineVersions
	// operation.
	//
	// Important: You can upgrade to a newer engine version (see Selecting a Cache
	// Engine and Version (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SelectEngine.html#VersionManagement))
	// in the ElastiCache User Guide, but you cannot downgrade to an earlier engine
	// version. If you want to use an earlier engine version, you must delete the
	// existing cluster or replication group and create it anew with the earlier
	// engine version.
	EngineVersion *string `type:"string"`

	// A list of node group (shard) configuration options. Each node group (shard)
	// configuration has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones,
	// ReplicaCount.
	//
	// If you're creating a Redis (cluster mode disabled) or a Redis (cluster mode
	// enabled) replication group, you can use this parameter to individually configure
	// each node group (shard), or you can omit this parameter.
	NodeGroupConfiguration []*NodeGroupConfiguration `locationNameList:"NodeGroupConfiguration" type:"list"`

	// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
	// (SNS) topic to which notifications are sent.
	//
	// The Amazon SNS topic owner must be the same as the cluster owner.
	NotificationTopicArn *string `type:"string"`

	// The number of clusters this replication group initially has.
	//
	// This parameter is not used if there is more than one node group (shard).
	// You should use ReplicasPerNodeGroup instead.
	//
	// If AutomaticFailoverEnabled is true, the value of this parameter must be
	// at least 2. If AutomaticFailoverEnabled is false you can omit this parameter
	// (it will default to 1), or you can explicitly set it to a value between 2
	// and 6.
	//
	// The maximum permitted value for NumCacheClusters is 6 (primary plus 5 replicas).
	NumCacheClusters *int64 `type:"integer"`

	// An optional parameter that specifies the number of node groups (shards) for
	// this Redis (cluster mode enabled) replication group. For Redis (cluster mode
	// disabled) either omit this parameter or set it to 1.
	//
	// Default: 1
	NumNodeGroups *int64 `type:"integer"`

	// The port number on which each member of the replication group accepts connections.
	Port *int64 `type:"integer"`

	// A list of EC2 Availability Zones in which the replication group's clusters
	// are created. The order of the Availability Zones in the list is the order
	// in which clusters are allocated. The primary cluster is created in the first
	// AZ in the list.
	//
	// This parameter is not used if there is more than one node group (shard).
	// You should use NodeGroupConfiguration instead.
	//
	// If you are creating your replication group in an Amazon VPC (recommended),
	// you can only locate clusters in Availability Zones associated with the subnets
	// in the selected subnet group.
	//
	// The number of Availability Zones listed must equal the value of NumCacheClusters.
	//
	// Default: system chosen Availability Zones.
	PreferredCacheClusterAZs []*string `locationNameList:"AvailabilityZone" type:"list"`

	// Specifies the weekly time range during which maintenance on the cluster is
	// performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi
	// (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid
	// values for ddd are:
	//
	// Specifies the weekly time range during which maintenance on the cluster is
	// performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi
	// (24H Clock UTC). The minimum maintenance window is a 60 minute period.
	//
	// Valid values for ddd are:
	//
	//    * sun
	//
	//    * mon
	//
	//    * tue
	//
	//    * wed
	//
	//    * thu
	//
	//    * fri
	//
	//    * sat
	//
	// Example: sun:23:00-mon:01:30
	PreferredMaintenanceWindow *string `type:"string"`

	// The identifier of the cluster that serves as the primary for this replication
	// group. This cluster must already exist and have a status of available.
	//
	// This parameter is not required if NumCacheClusters, NumNodeGroups, or ReplicasPerNodeGroup
	// is specified.
	PrimaryClusterId *string `type:"string"`

	// An optional parameter that specifies the number of replica nodes in each
	// node group (shard). Valid values are 0 to 5.
	ReplicasPerNodeGroup *int64 `type:"integer"`

	// A user-created description for the replication group.
	//
	// ReplicationGroupDescription is a required field
	ReplicationGroupDescription *string `type:"string" required:"true"`

	// The replication group identifier. This parameter is stored as a lowercase
	// string.
	//
	// Constraints:
	//
	//    * A name must contain from 1 to 20 alphanumeric characters or hyphens.
	//
	//    * The first character must be a letter.
	//
	//    * A name cannot end with a hyphen or contain two consecutive hyphens.
	//
	// ReplicationGroupId is a required field
	ReplicationGroupId *string `type:"string" required:"true"`

	// One or more Amazon VPC security groups associated with this replication group.
	//
	// Use this parameter only when you are creating a replication group in an Amazon
	// Virtual Private Cloud (Amazon VPC).
	SecurityGroupIds []*string `locationNameList:"SecurityGroupId" type:"list"`

	// A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB
	// snapshot files stored in Amazon S3. The snapshot files are used to populate
	// the new replication group. The Amazon S3 object name in the ARN cannot contain
	// any commas. The new replication group will have the number of node groups
	// (console: shards) specified by the parameter NumNodeGroups or the number
	// of node groups configured by NodeGroupConfiguration regardless of the number
	// of ARNs specified here.
	//
	// Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb
	SnapshotArns []*string `locationNameList:"SnapshotArn" type:"list"`

	// The name of a snapshot from which to restore data into the new replication
	// group. The snapshot status changes to restoring while the new replication
	// group is being created.
	SnapshotName *string `type:"string"`

	// The number of days for which ElastiCache retains automatic snapshots before
	// deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot
	// that was taken today is retained for 5 days before being deleted.
	//
	// Default: 0 (i.e., automatic backups are disabled for this cluster).
	SnapshotRetentionLimit *int64 `type:"integer"`

	// The daily time range (in UTC) during which ElastiCache begins taking a daily
	// snapshot of your node group (shard).
	//
	// Example: 05:00-09:00
	//
	// If you do not specify this parameter, ElastiCache automatically chooses an
	// appropriate time range.
	SnapshotWindow *string `type:"string"`

	// A list of cost allocation tags to be added to this resource. A tag is a key-value
	// pair. A tag key does not have to be accompanied by a tag value.
	Tags []*Tag `locationNameList:"Tag" type:"list"`

	// A flag that enables in-transit encryption when set to true.
	//
	// You cannot modify the value of TransitEncryptionEnabled after the cluster
	// is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
	// to true when you create a cluster.
	//
	// This parameter is valid only if the Engine parameter is redis, the EngineVersion
	// parameter is 3.2.4 or later, and the cluster is being created in an Amazon
	// VPC.
	//
	// If you enable in-transit encryption, you must also specify a value for CacheSubnetGroup.
	//
	// Default: false
	TransitEncryptionEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Represents the input of a CreateReplicationGroup operation.

func (CreateReplicationGroupInput) GoString added in v0.6.5

func (s CreateReplicationGroupInput) GoString() string

GoString returns the string representation

func (*CreateReplicationGroupInput) SetAtRestEncryptionEnabled added in v1.12.17

func (s *CreateReplicationGroupInput) SetAtRestEncryptionEnabled(v bool) *CreateReplicationGroupInput

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*CreateReplicationGroupInput) SetAuthToken added in v1.5.5

SetAuthToken sets the AuthToken field's value.

func (*CreateReplicationGroupInput) SetAutoMinorVersionUpgrade added in v1.5.0

func (s *CreateReplicationGroupInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationGroupInput

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateReplicationGroupInput) SetAutomaticFailoverEnabled added in v1.5.0

func (s *CreateReplicationGroupInput) SetAutomaticFailoverEnabled(v bool) *CreateReplicationGroupInput

SetAutomaticFailoverEnabled sets the AutomaticFailoverEnabled field's value.

func (*CreateReplicationGroupInput) SetCacheNodeType added in v1.5.0

SetCacheNodeType sets the CacheNodeType field's value.

func (*CreateReplicationGroupInput) SetCacheParameterGroupName added in v1.5.0

func (s *CreateReplicationGroupInput) SetCacheParameterGroupName(v string) *CreateReplicationGroupInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*CreateReplicationGroupInput) SetCacheSecurityGroupNames added in v1.5.0

func (s *CreateReplicationGroupInput) SetCacheSecurityGroupNames(v []*string) *CreateReplicationGroupInput

SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.

func (*CreateReplicationGroupInput) SetCacheSubnetGroupName added in v1.5.0

func (s *CreateReplicationGroupInput) SetCacheSubnetGroupName(v string) *CreateReplicationGroupInput

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*CreateReplicationGroupInput) SetEngine added in v1.5.0

SetEngine sets the Engine field's value.

func (*CreateReplicationGroupInput) SetEngineVersion added in v1.5.0

SetEngineVersion sets the EngineVersion field's value.

func (*CreateReplicationGroupInput) SetNodeGroupConfiguration added in v1.5.0

SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value.

func (*CreateReplicationGroupInput) SetNotificationTopicArn added in v1.5.0

func (s *CreateReplicationGroupInput) SetNotificationTopicArn(v string) *CreateReplicationGroupInput

SetNotificationTopicArn sets the NotificationTopicArn field's value.

func (*CreateReplicationGroupInput) SetNumCacheClusters added in v1.5.0

SetNumCacheClusters sets the NumCacheClusters field's value.

func (*CreateReplicationGroupInput) SetNumNodeGroups added in v1.5.0

SetNumNodeGroups sets the NumNodeGroups field's value.

func (*CreateReplicationGroupInput) SetPort added in v1.5.0

SetPort sets the Port field's value.

func (*CreateReplicationGroupInput) SetPreferredCacheClusterAZs added in v1.5.0

func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []*string) *CreateReplicationGroupInput

SetPreferredCacheClusterAZs sets the PreferredCacheClusterAZs field's value.

func (*CreateReplicationGroupInput) SetPreferredMaintenanceWindow added in v1.5.0

func (s *CreateReplicationGroupInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationGroupInput

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

func (*CreateReplicationGroupInput) SetPrimaryClusterId added in v1.5.0

SetPrimaryClusterId sets the PrimaryClusterId field's value.

func (*CreateReplicationGroupInput) SetReplicasPerNodeGroup added in v1.5.0

func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput

SetReplicasPerNodeGroup sets the ReplicasPerNodeGroup field's value.

func (*CreateReplicationGroupInput) SetReplicationGroupDescription added in v1.5.0

func (s *CreateReplicationGroupInput) SetReplicationGroupDescription(v string) *CreateReplicationGroupInput

SetReplicationGroupDescription sets the ReplicationGroupDescription field's value.

func (*CreateReplicationGroupInput) SetReplicationGroupId added in v1.5.0

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (*CreateReplicationGroupInput) SetSecurityGroupIds added in v1.5.0

func (s *CreateReplicationGroupInput) SetSecurityGroupIds(v []*string) *CreateReplicationGroupInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateReplicationGroupInput) SetSnapshotArns added in v1.5.0

SetSnapshotArns sets the SnapshotArns field's value.

func (*CreateReplicationGroupInput) SetSnapshotName added in v1.5.0

SetSnapshotName sets the SnapshotName field's value.

func (*CreateReplicationGroupInput) SetSnapshotRetentionLimit added in v1.5.0

func (s *CreateReplicationGroupInput) SetSnapshotRetentionLimit(v int64) *CreateReplicationGroupInput

SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.

func (*CreateReplicationGroupInput) SetSnapshotWindow added in v1.5.0

SetSnapshotWindow sets the SnapshotWindow field's value.

func (*CreateReplicationGroupInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (*CreateReplicationGroupInput) SetTransitEncryptionEnabled added in v1.12.17

func (s *CreateReplicationGroupInput) SetTransitEncryptionEnabled(v bool) *CreateReplicationGroupInput

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (CreateReplicationGroupInput) String added in v0.6.5

String returns the string representation

func (*CreateReplicationGroupInput) Validate added in v1.1.21

func (s *CreateReplicationGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReplicationGroupOutput

type CreateReplicationGroupOutput struct {

	// Contains all of the attributes of a specific Redis replication group.
	ReplicationGroup *ReplicationGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateReplicationGroupOutput) GoString added in v0.6.5

func (s CreateReplicationGroupOutput) GoString() string

GoString returns the string representation

func (*CreateReplicationGroupOutput) SetReplicationGroup added in v1.5.0

SetReplicationGroup sets the ReplicationGroup field's value.

func (CreateReplicationGroupOutput) String added in v0.6.5

String returns the string representation

type CreateSnapshotInput

type CreateSnapshotInput struct {

	// The identifier of an existing cluster. The snapshot is created from this
	// cluster.
	CacheClusterId *string `type:"string"`

	// The identifier of an existing replication group. The snapshot is created
	// from this replication group.
	ReplicationGroupId *string `type:"string"`

	// A name for the snapshot being created.
	//
	// SnapshotName is a required field
	SnapshotName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateSnapshot operation.

func (CreateSnapshotInput) GoString added in v0.6.5

func (s CreateSnapshotInput) GoString() string

GoString returns the string representation

func (*CreateSnapshotInput) SetCacheClusterId added in v1.5.0

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

SetCacheClusterId sets the CacheClusterId field's value.

func (*CreateSnapshotInput) SetReplicationGroupId added in v1.5.0

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (*CreateSnapshotInput) SetSnapshotName added in v1.5.0

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

SetSnapshotName sets the SnapshotName field's value.

func (CreateSnapshotInput) String added in v0.6.5

func (s CreateSnapshotInput) String() string

String returns the string representation

func (*CreateSnapshotInput) Validate added in v1.1.21

func (s *CreateSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSnapshotOutput

type CreateSnapshotOutput struct {

	// Represents a copy of an entire Redis cluster as of the time when the snapshot
	// was taken.
	Snapshot *Snapshot `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateSnapshotOutput) GoString added in v0.6.5

func (s CreateSnapshotOutput) GoString() string

GoString returns the string representation

func (*CreateSnapshotOutput) SetSnapshot added in v1.5.0

SetSnapshot sets the Snapshot field's value.

func (CreateSnapshotOutput) String added in v0.6.5

func (s CreateSnapshotOutput) String() string

String returns the string representation

type DeleteCacheClusterInput

type DeleteCacheClusterInput struct {

	// The cluster identifier for the cluster to be deleted. This parameter is not
	// case sensitive.
	//
	// CacheClusterId is a required field
	CacheClusterId *string `type:"string" required:"true"`

	// The user-supplied name of a final cluster snapshot. This is the unique name
	// that identifies the snapshot. ElastiCache creates the snapshot, and then
	// deletes the cluster immediately afterward.
	FinalSnapshotIdentifier *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteCacheCluster operation.

func (DeleteCacheClusterInput) GoString added in v0.6.5

func (s DeleteCacheClusterInput) GoString() string

GoString returns the string representation

func (*DeleteCacheClusterInput) SetCacheClusterId added in v1.5.0

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

SetCacheClusterId sets the CacheClusterId field's value.

func (*DeleteCacheClusterInput) SetFinalSnapshotIdentifier added in v1.5.0

func (s *DeleteCacheClusterInput) SetFinalSnapshotIdentifier(v string) *DeleteCacheClusterInput

SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value.

func (DeleteCacheClusterInput) String added in v0.6.5

func (s DeleteCacheClusterInput) String() string

String returns the string representation

func (*DeleteCacheClusterInput) Validate added in v1.1.21

func (s *DeleteCacheClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCacheClusterOutput

type DeleteCacheClusterOutput struct {

	// Contains all of the attributes of a specific cluster.
	CacheCluster *CacheCluster `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteCacheClusterOutput) GoString added in v0.6.5

func (s DeleteCacheClusterOutput) GoString() string

GoString returns the string representation

func (*DeleteCacheClusterOutput) SetCacheCluster added in v1.5.0

SetCacheCluster sets the CacheCluster field's value.

func (DeleteCacheClusterOutput) String added in v0.6.5

func (s DeleteCacheClusterOutput) String() string

String returns the string representation

type DeleteCacheParameterGroupInput

type DeleteCacheParameterGroupInput struct {

	// The name of the cache parameter group to delete.
	//
	// The specified cache security group must not be associated with any clusters.
	//
	// CacheParameterGroupName is a required field
	CacheParameterGroupName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteCacheParameterGroup operation.

func (DeleteCacheParameterGroupInput) GoString added in v0.6.5

GoString returns the string representation

func (*DeleteCacheParameterGroupInput) SetCacheParameterGroupName added in v1.5.0

func (s *DeleteCacheParameterGroupInput) SetCacheParameterGroupName(v string) *DeleteCacheParameterGroupInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (DeleteCacheParameterGroupInput) String added in v0.6.5

String returns the string representation

func (*DeleteCacheParameterGroupInput) Validate added in v1.1.21

func (s *DeleteCacheParameterGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCacheParameterGroupOutput

type DeleteCacheParameterGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCacheParameterGroupOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteCacheParameterGroupOutput) String added in v0.6.5

String returns the string representation

type DeleteCacheSecurityGroupInput

type DeleteCacheSecurityGroupInput struct {

	// The name of the cache security group to delete.
	//
	// You cannot delete the default security group.
	//
	// CacheSecurityGroupName is a required field
	CacheSecurityGroupName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteCacheSecurityGroup operation.

func (DeleteCacheSecurityGroupInput) GoString added in v0.6.5

GoString returns the string representation

func (*DeleteCacheSecurityGroupInput) SetCacheSecurityGroupName added in v1.5.0

func (s *DeleteCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *DeleteCacheSecurityGroupInput

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (DeleteCacheSecurityGroupInput) String added in v0.6.5

String returns the string representation

func (*DeleteCacheSecurityGroupInput) Validate added in v1.1.21

func (s *DeleteCacheSecurityGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCacheSecurityGroupOutput

type DeleteCacheSecurityGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCacheSecurityGroupOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeleteCacheSecurityGroupOutput) String added in v0.6.5

String returns the string representation

type DeleteCacheSubnetGroupInput

type DeleteCacheSubnetGroupInput struct {

	// The name of the cache subnet group to delete.
	//
	// Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
	//
	// CacheSubnetGroupName is a required field
	CacheSubnetGroupName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteCacheSubnetGroup operation.

func (DeleteCacheSubnetGroupInput) GoString added in v0.6.5

func (s DeleteCacheSubnetGroupInput) GoString() string

GoString returns the string representation

func (*DeleteCacheSubnetGroupInput) SetCacheSubnetGroupName added in v1.5.0

func (s *DeleteCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *DeleteCacheSubnetGroupInput

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (DeleteCacheSubnetGroupInput) String added in v0.6.5

String returns the string representation

func (*DeleteCacheSubnetGroupInput) Validate added in v1.1.21

func (s *DeleteCacheSubnetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCacheSubnetGroupOutput

type DeleteCacheSubnetGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCacheSubnetGroupOutput) GoString added in v0.6.5

func (s DeleteCacheSubnetGroupOutput) GoString() string

GoString returns the string representation

func (DeleteCacheSubnetGroupOutput) String added in v0.6.5

String returns the string representation

type DeleteReplicationGroupInput

type DeleteReplicationGroupInput struct {

	// The name of a final node group (shard) snapshot. ElastiCache creates the
	// snapshot from the primary node in the cluster, rather than one of the replicas;
	// this is to ensure that it captures the freshest data. After the final snapshot
	// is taken, the replication group is immediately deleted.
	FinalSnapshotIdentifier *string `type:"string"`

	// The identifier for the cluster to be deleted. This parameter is not case
	// sensitive.
	//
	// ReplicationGroupId is a required field
	ReplicationGroupId *string `type:"string" required:"true"`

	// If set to true, all of the read replicas are deleted, but the primary node
	// is retained.
	RetainPrimaryCluster *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteReplicationGroup operation.

func (DeleteReplicationGroupInput) GoString added in v0.6.5

func (s DeleteReplicationGroupInput) GoString() string

GoString returns the string representation

func (*DeleteReplicationGroupInput) SetFinalSnapshotIdentifier added in v1.5.0

func (s *DeleteReplicationGroupInput) SetFinalSnapshotIdentifier(v string) *DeleteReplicationGroupInput

SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value.

func (*DeleteReplicationGroupInput) SetReplicationGroupId added in v1.5.0

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (*DeleteReplicationGroupInput) SetRetainPrimaryCluster added in v1.5.0

func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput

SetRetainPrimaryCluster sets the RetainPrimaryCluster field's value.

func (DeleteReplicationGroupInput) String added in v0.6.5

String returns the string representation

func (*DeleteReplicationGroupInput) Validate added in v1.1.21

func (s *DeleteReplicationGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReplicationGroupOutput

type DeleteReplicationGroupOutput struct {

	// Contains all of the attributes of a specific Redis replication group.
	ReplicationGroup *ReplicationGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteReplicationGroupOutput) GoString added in v0.6.5

func (s DeleteReplicationGroupOutput) GoString() string

GoString returns the string representation

func (*DeleteReplicationGroupOutput) SetReplicationGroup added in v1.5.0

SetReplicationGroup sets the ReplicationGroup field's value.

func (DeleteReplicationGroupOutput) String added in v0.6.5

String returns the string representation

type DeleteSnapshotInput

type DeleteSnapshotInput struct {

	// The name of the snapshot to be deleted.
	//
	// SnapshotName is a required field
	SnapshotName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteSnapshot operation.

func (DeleteSnapshotInput) GoString added in v0.6.5

func (s DeleteSnapshotInput) GoString() string

GoString returns the string representation

func (*DeleteSnapshotInput) SetSnapshotName added in v1.5.0

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

SetSnapshotName sets the SnapshotName field's value.

func (DeleteSnapshotInput) String added in v0.6.5

func (s DeleteSnapshotInput) String() string

String returns the string representation

func (*DeleteSnapshotInput) Validate added in v1.1.21

func (s *DeleteSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSnapshotOutput

type DeleteSnapshotOutput struct {

	// Represents a copy of an entire Redis cluster as of the time when the snapshot
	// was taken.
	Snapshot *Snapshot `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteSnapshotOutput) GoString added in v0.6.5

func (s DeleteSnapshotOutput) GoString() string

GoString returns the string representation

func (*DeleteSnapshotOutput) SetSnapshot added in v1.5.0

SetSnapshot sets the Snapshot field's value.

func (DeleteSnapshotOutput) String added in v0.6.5

func (s DeleteSnapshotOutput) String() string

String returns the string representation

type DescribeCacheClustersInput

type DescribeCacheClustersInput struct {

	// The user-supplied cluster identifier. If this parameter is specified, only
	// information about that specific cluster is returned. This parameter isn't
	// case sensitive.
	CacheClusterId *string `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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`

	// An optional flag that can be included in the DescribeCacheCluster request
	// to show only nodes (API/CLI: clusters) that are not members of a replication
	// group. In practice, this mean Memcached and single node Redis clusters.
	ShowCacheClustersNotInReplicationGroups *bool `type:"boolean"`

	// An optional flag that can be included in the DescribeCacheCluster request
	// to retrieve information about the individual cache nodes.
	ShowCacheNodeInfo *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheClusters operation.

func (DescribeCacheClustersInput) GoString added in v0.6.5

func (s DescribeCacheClustersInput) GoString() string

GoString returns the string representation

func (*DescribeCacheClustersInput) SetCacheClusterId added in v1.5.0

SetCacheClusterId sets the CacheClusterId field's value.

func (*DescribeCacheClustersInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheClustersInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups added in v1.8.9

func (s *DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups(v bool) *DescribeCacheClustersInput

SetShowCacheClustersNotInReplicationGroups sets the ShowCacheClustersNotInReplicationGroups field's value.

func (*DescribeCacheClustersInput) SetShowCacheNodeInfo added in v1.5.0

func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput

SetShowCacheNodeInfo sets the ShowCacheNodeInfo field's value.

func (DescribeCacheClustersInput) String added in v0.6.5

String returns the string representation

type DescribeCacheClustersOutput

type DescribeCacheClustersOutput struct {

	// A list of clusters. Each item in the list contains detailed information about
	// one cluster.
	CacheClusters []*CacheCluster `locationNameList:"CacheCluster" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheClusters operation.

func (DescribeCacheClustersOutput) GoString added in v0.6.5

func (s DescribeCacheClustersOutput) GoString() string

GoString returns the string representation

func (*DescribeCacheClustersOutput) SetCacheClusters added in v1.5.0

SetCacheClusters sets the CacheClusters field's value.

func (*DescribeCacheClustersOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeCacheClustersOutput) String added in v0.6.5

String returns the string representation

type DescribeCacheEngineVersionsInput

type DescribeCacheEngineVersionsInput struct {

	// The name of a specific cache parameter group family to return details for.
	//
	// Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2
	//
	// Constraints:
	//
	//    * Must be 1 to 255 alphanumeric characters
	//
	//    * First character must be a letter
	//
	//    * Cannot end with a hyphen or contain two consecutive hyphens
	CacheParameterGroupFamily *string `type:"string"`

	// If true, specifies that only the default version of the specified engine
	// or engine and major version combination is to be returned.
	DefaultOnly *bool `type:"boolean"`

	// The cache engine to return. Valid values: memcached | redis
	Engine *string `type:"string"`

	// The cache engine version to return.
	//
	// Example: 1.4.14
	EngineVersion *string `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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheEngineVersions operation.

func (DescribeCacheEngineVersionsInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheEngineVersionsInput) SetCacheParameterGroupFamily added in v1.5.0

func (s *DescribeCacheEngineVersionsInput) SetCacheParameterGroupFamily(v string) *DescribeCacheEngineVersionsInput

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

func (*DescribeCacheEngineVersionsInput) SetDefaultOnly added in v1.5.0

SetDefaultOnly sets the DefaultOnly field's value.

func (*DescribeCacheEngineVersionsInput) SetEngine added in v1.5.0

SetEngine sets the Engine field's value.

func (*DescribeCacheEngineVersionsInput) SetEngineVersion added in v1.5.0

SetEngineVersion sets the EngineVersion field's value.

func (*DescribeCacheEngineVersionsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheEngineVersionsInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCacheEngineVersionsInput) String added in v0.6.5

String returns the string representation

type DescribeCacheEngineVersionsOutput

type DescribeCacheEngineVersionsOutput struct {

	// A list of cache engine version details. Each element in the list contains
	// detailed information about one cache engine version.
	CacheEngineVersions []*CacheEngineVersion `locationNameList:"CacheEngineVersion" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheEngineVersions operation.

func (DescribeCacheEngineVersionsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheEngineVersionsOutput) SetCacheEngineVersions added in v1.5.0

SetCacheEngineVersions sets the CacheEngineVersions field's value.

func (*DescribeCacheEngineVersionsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeCacheEngineVersionsOutput) String added in v0.6.5

String returns the string representation

type DescribeCacheParameterGroupsInput

type DescribeCacheParameterGroupsInput struct {

	// The name of a specific cache parameter group to return details for.
	CacheParameterGroupName *string `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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheParameterGroups operation.

func (DescribeCacheParameterGroupsInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheParameterGroupsInput) SetCacheParameterGroupName added in v1.5.0

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*DescribeCacheParameterGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheParameterGroupsInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCacheParameterGroupsInput) String added in v0.6.5

String returns the string representation

type DescribeCacheParameterGroupsOutput

type DescribeCacheParameterGroupsOutput struct {

	// A list of cache parameter groups. Each element in the list contains detailed
	// information about one cache parameter group.
	CacheParameterGroups []*CacheParameterGroup `locationNameList:"CacheParameterGroup" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheParameterGroups operation.

func (DescribeCacheParameterGroupsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheParameterGroupsOutput) SetCacheParameterGroups added in v1.5.0

SetCacheParameterGroups sets the CacheParameterGroups field's value.

func (*DescribeCacheParameterGroupsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeCacheParameterGroupsOutput) String added in v0.6.5

String returns the string representation

type DescribeCacheParametersInput

type DescribeCacheParametersInput struct {

	// The name of a specific cache parameter group to return details for.
	//
	// CacheParameterGroupName is a required field
	CacheParameterGroupName *string `type:"string" required:"true"`

	// 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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`

	// The parameter types to return.
	//
	// Valid values: user | system | engine-default
	Source *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheParameters operation.

func (DescribeCacheParametersInput) GoString added in v0.6.5

func (s DescribeCacheParametersInput) GoString() string

GoString returns the string representation

func (*DescribeCacheParametersInput) SetCacheParameterGroupName added in v1.5.0

func (s *DescribeCacheParametersInput) SetCacheParameterGroupName(v string) *DescribeCacheParametersInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

func (*DescribeCacheParametersInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheParametersInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeCacheParametersInput) SetSource added in v1.5.0

SetSource sets the Source field's value.

func (DescribeCacheParametersInput) String added in v0.6.5

String returns the string representation

func (*DescribeCacheParametersInput) Validate added in v1.1.21

func (s *DescribeCacheParametersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCacheParametersOutput

type DescribeCacheParametersOutput struct {

	// A list of parameters specific to a particular cache node type. Each element
	// in the list contains detailed information about one parameter.
	CacheNodeTypeSpecificParameters []*CacheNodeTypeSpecificParameter `locationNameList:"CacheNodeTypeSpecificParameter" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`

	// A list of Parameter instances.
	Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheParameters operation.

func (DescribeCacheParametersOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheParametersOutput) SetCacheNodeTypeSpecificParameters added in v1.5.0

SetCacheNodeTypeSpecificParameters sets the CacheNodeTypeSpecificParameters field's value.

func (*DescribeCacheParametersOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheParametersOutput) SetParameters added in v1.5.0

SetParameters sets the Parameters field's value.

func (DescribeCacheParametersOutput) String added in v0.6.5

String returns the string representation

type DescribeCacheSecurityGroupsInput

type DescribeCacheSecurityGroupsInput struct {

	// The name of the cache security group to return details for.
	CacheSecurityGroupName *string `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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheSecurityGroups operation.

func (DescribeCacheSecurityGroupsInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheSecurityGroupsInput) SetCacheSecurityGroupName added in v1.5.0

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

func (*DescribeCacheSecurityGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheSecurityGroupsInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCacheSecurityGroupsInput) String added in v0.6.5

String returns the string representation

type DescribeCacheSecurityGroupsOutput

type DescribeCacheSecurityGroupsOutput struct {

	// A list of cache security groups. Each element in the list contains detailed
	// information about one group.
	CacheSecurityGroups []*CacheSecurityGroup `locationNameList:"CacheSecurityGroup" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheSecurityGroups operation.

func (DescribeCacheSecurityGroupsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheSecurityGroupsOutput) SetCacheSecurityGroups added in v1.5.0

SetCacheSecurityGroups sets the CacheSecurityGroups field's value.

func (*DescribeCacheSecurityGroupsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeCacheSecurityGroupsOutput) String added in v0.6.5

String returns the string representation

type DescribeCacheSubnetGroupsInput

type DescribeCacheSubnetGroupsInput struct {

	// The name of the cache subnet group to return details for.
	CacheSubnetGroupName *string `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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeCacheSubnetGroups operation.

func (DescribeCacheSubnetGroupsInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheSubnetGroupsInput) SetCacheSubnetGroupName added in v1.5.0

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

func (*DescribeCacheSubnetGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeCacheSubnetGroupsInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCacheSubnetGroupsInput) String added in v0.6.5

String returns the string representation

type DescribeCacheSubnetGroupsOutput

type DescribeCacheSubnetGroupsOutput struct {

	// A list of cache subnet groups. Each element in the list contains detailed
	// information about one group.
	CacheSubnetGroups []*CacheSubnetGroup `locationNameList:"CacheSubnetGroup" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeCacheSubnetGroups operation.

func (DescribeCacheSubnetGroupsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups added in v1.5.0

SetCacheSubnetGroups sets the CacheSubnetGroups field's value.

func (*DescribeCacheSubnetGroupsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeCacheSubnetGroupsOutput) String added in v0.6.5

String returns the string representation

type DescribeEngineDefaultParametersInput

type DescribeEngineDefaultParametersInput struct {

	// The name of the cache parameter group family.
	//
	// Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2
	//
	// CacheParameterGroupFamily is a required field
	CacheParameterGroupFamily *string `type:"string" required:"true"`

	// 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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeEngineDefaultParameters operation.

func (DescribeEngineDefaultParametersInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeEngineDefaultParametersInput) SetCacheParameterGroupFamily added in v1.5.0

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

func (*DescribeEngineDefaultParametersInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeEngineDefaultParametersInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEngineDefaultParametersInput) String added in v0.6.5

String returns the string representation

func (*DescribeEngineDefaultParametersInput) Validate added in v1.1.21

Validate inspects the fields of the type to determine if they are valid.

type DescribeEngineDefaultParametersOutput

type DescribeEngineDefaultParametersOutput struct {

	// Represents the output of a DescribeEngineDefaultParameters operation.
	EngineDefaults *EngineDefaults `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeEngineDefaultParametersOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeEngineDefaultParametersOutput) SetEngineDefaults added in v1.5.0

SetEngineDefaults sets the EngineDefaults field's value.

func (DescribeEngineDefaultParametersOutput) String added in v0.6.5

String returns the string representation

type DescribeEventsInput

type DescribeEventsInput struct {

	// The number of minutes worth of events to retrieve.
	Duration *int64 `type:"integer"`

	// The end of the time interval for which to retrieve events, specified in ISO
	// 8601 format.
	//
	// Example: 2017-03-30T07:03:49.555Z
	EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// 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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`

	// The identifier of the event source for which events are returned. If not
	// specified, all sources are included in the response.
	SourceIdentifier *string `type:"string"`

	// The event source to retrieve events for. If no value is specified, all events
	// are returned.
	SourceType *string `type:"string" enum:"SourceType"`

	// The beginning of the time interval to retrieve events for, specified in ISO
	// 8601 format.
	//
	// Example: 2017-03-30T07:03:49.555Z
	StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeEvents operation.

func (DescribeEventsInput) GoString added in v0.6.5

func (s DescribeEventsInput) GoString() string

GoString returns the string representation

func (*DescribeEventsInput) SetDuration added in v1.5.0

func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput

SetDuration sets the Duration field's value.

func (*DescribeEventsInput) SetEndTime added in v1.5.0

SetEndTime sets the EndTime field's value.

func (*DescribeEventsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeEventsInput) SetMaxRecords added in v1.5.0

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

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeEventsInput) SetSourceIdentifier added in v1.5.0

func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*DescribeEventsInput) SetSourceType added in v1.5.0

func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput

SetSourceType sets the SourceType field's value.

func (*DescribeEventsInput) SetStartTime added in v1.5.0

func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput

SetStartTime sets the StartTime field's value.

func (DescribeEventsInput) String added in v0.6.5

func (s DescribeEventsInput) String() string

String returns the string representation

type DescribeEventsOutput

type DescribeEventsOutput struct {

	// A list of events. Each element in the list contains detailed information
	// about one event.
	Events []*Event `locationNameList:"Event" type:"list"`

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeEvents operation.

func (DescribeEventsOutput) GoString added in v0.6.5

func (s DescribeEventsOutput) GoString() string

GoString returns the string representation

func (*DescribeEventsOutput) SetEvents added in v1.5.0

func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput

SetEvents sets the Events field's value.

func (*DescribeEventsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (DescribeEventsOutput) String added in v0.6.5

func (s DescribeEventsOutput) String() string

String returns the string representation

type DescribeReplicationGroupsInput

type DescribeReplicationGroupsInput struct {

	// 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.
	Marker *string `type:"string"`

	// 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.
	MaxRecords *int64 `type:"integer"`

	// The identifier for the replication group to be described. This parameter
	// is not case sensitive.
	//
	// If you do not specify this parameter, information about all replication groups
	// is returned.
	ReplicationGroupId *string `type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a DescribeReplicationGroups operation.

func (DescribeReplicationGroupsInput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeReplicationGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeReplicationGroupsInput) SetMaxRecords added in v1.5.0

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeReplicationGroupsInput) SetReplicationGroupId added in v1.5.0

SetReplicationGroupId sets the ReplicationGroupId field's value.

func (DescribeReplicationGroupsInput) String added in v0.6.5

String returns the string representation

type DescribeReplicationGroupsOutput

type DescribeReplicationGroupsOutput struct {

	// Provides an identifier to allow retrieval of paginated results.
	Marker *string `type:"string"`

	// A list of replication groups. Each item in the list contains detailed information
	// about one replication group.
	ReplicationGroups []*ReplicationGroup `locationNameList:"ReplicationGroup" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeReplicationGroups operation.

func (DescribeReplicationGroupsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DescribeReplicationGroupsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeReplicationGroupsOutput) SetReplicationGroups added in v1.5.0

SetReplicationGroups sets the ReplicationGroups field's value.

f