libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.RebootCacheCluster

Description

Reboots some, or all, of the cache nodes within a provisioned cluster. This operation applies any modified cache parameter groups to the cluster. The reboot operation takes place as soon as possible, and results in a momentary outage to the cluster. During the reboot, the cluster status is set to REBOOTING.

The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.

When the reboot is complete, a cluster event is created.

Rebooting a cluster is currently supported on Memcached and Redis (cluster mode disabled) clusters. Rebooting is not supported on Redis (cluster mode enabled) clusters.

If you make changes to parameters that require a Redis (cluster mode enabled) cluster reboot for the changes to be applied, see Rebooting a Cluster for an alternate process.

Synopsis

Creating a Request

data RebootCacheCluster Source #

Represents the input of a RebootCacheCluster operation.

See: newRebootCacheCluster smart constructor.

Constructors

RebootCacheCluster' 

Fields

  • cacheClusterId :: Text

    The cluster identifier. This parameter is stored as a lowercase string.

  • cacheNodeIdsToReboot :: [Text]

    A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.

Instances

Instances details
Eq RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Read RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Show RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Generic RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheCluster :: Type -> Type #

NFData RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Methods

rnf :: RebootCacheCluster -> () #

Hashable RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

AWSRequest RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Associated Types

type AWSResponse RebootCacheCluster #

ToHeaders RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

ToPath RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

ToQuery RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

type Rep RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

type Rep RebootCacheCluster = D1 ('MetaData "RebootCacheCluster" "Amazonka.ElastiCache.RebootCacheCluster" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "RebootCacheCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cacheNodeIdsToReboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse RebootCacheCluster Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

newRebootCacheCluster Source #

Create a value of RebootCacheCluster with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cacheClusterId:RebootCacheCluster', rebootCacheCluster_cacheClusterId - The cluster identifier. This parameter is stored as a lowercase string.

$sel:cacheNodeIdsToReboot:RebootCacheCluster', rebootCacheCluster_cacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.

Request Lenses

rebootCacheCluster_cacheClusterId :: Lens' RebootCacheCluster Text Source #

The cluster identifier. This parameter is stored as a lowercase string.

rebootCacheCluster_cacheNodeIdsToReboot :: Lens' RebootCacheCluster [Text] Source #

A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.

Destructuring the Response

data RebootCacheClusterResponse Source #

See: newRebootCacheClusterResponse smart constructor.

Constructors

RebootCacheClusterResponse' 

Fields

Instances

Instances details
Eq RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Read RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Show RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Generic RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheClusterResponse :: Type -> Type #

NFData RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse = D1 ('MetaData "RebootCacheClusterResponse" "Amazonka.ElastiCache.RebootCacheCluster" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "RebootCacheClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheCluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRebootCacheClusterResponse Source #

Create a value of RebootCacheClusterResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cacheCluster:RebootCacheClusterResponse', rebootCacheClusterResponse_cacheCluster - Undocumented member.

$sel:httpStatus:RebootCacheClusterResponse', rebootCacheClusterResponse_httpStatus - The response's http status code.

Response Lenses