libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.FailoverShard

Description

Used to failover a shard

Synopsis

Creating a Request

data FailoverShard Source #

See: newFailoverShard smart constructor.

Constructors

FailoverShard' 

Fields

Instances

Instances details
Eq FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Read FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Show FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Generic FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Associated Types

type Rep FailoverShard :: Type -> Type #

NFData FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Methods

rnf :: FailoverShard -> () #

Hashable FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

ToJSON FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

AWSRequest FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Associated Types

type AWSResponse FailoverShard #

ToHeaders FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

ToPath FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

ToQuery FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

type Rep FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

type Rep FailoverShard = D1 ('MetaData "FailoverShard" "Amazonka.MemoryDb.FailoverShard" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "FailoverShard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "shardName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse FailoverShard Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

newFailoverShard Source #

Create a value of FailoverShard 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:clusterName:FailoverShard', failoverShard_clusterName - The cluster being failed over

$sel:shardName:FailoverShard', failoverShard_shardName - The name of the shard

Request Lenses

failoverShard_clusterName :: Lens' FailoverShard Text Source #

The cluster being failed over

Destructuring the Response

data FailoverShardResponse Source #

See: newFailoverShardResponse smart constructor.

Constructors

FailoverShardResponse' 

Fields

Instances

Instances details
Eq FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Read FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Show FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Generic FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Associated Types

type Rep FailoverShardResponse :: Type -> Type #

NFData FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

Methods

rnf :: FailoverShardResponse -> () #

type Rep FailoverShardResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.FailoverShard

type Rep FailoverShardResponse = D1 ('MetaData "FailoverShardResponse" "Amazonka.MemoryDb.FailoverShard" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "FailoverShardResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newFailoverShardResponse Source #

Create a value of FailoverShardResponse 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:cluster:FailoverShardResponse', failoverShardResponse_cluster - The cluster being failed over

$sel:httpStatus:FailoverShardResponse', failoverShardResponse_httpStatus - The response's http status code.

Response Lenses