libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch
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.CloudSearch.Types.ScalingParameters

Description

 
Synopsis

Documentation

data ScalingParameters Source #

The desired instance type and desired number of replicas of each index partition.

See: newScalingParameters smart constructor.

Constructors

ScalingParameters' 

Fields

Instances

Instances details
Eq ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

Read ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

Show ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

Generic ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

Associated Types

type Rep ScalingParameters :: Type -> Type #

NFData ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

Methods

rnf :: ScalingParameters -> () #

Hashable ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

ToQuery ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

FromXML ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

type Rep ScalingParameters Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.ScalingParameters

type Rep ScalingParameters = D1 ('MetaData "ScalingParameters" "Amazonka.CloudSearch.Types.ScalingParameters" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "ScalingParameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartitionInstanceType)) :*: (S1 ('MetaSel ('Just "desiredReplicationCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "desiredPartitionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newScalingParameters :: ScalingParameters Source #

Create a value of ScalingParameters 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:desiredInstanceType:ScalingParameters', scalingParameters_desiredInstanceType - The instance type that you want to preconfigure for your domain. For example, search.m1.small.

$sel:desiredReplicationCount:ScalingParameters', scalingParameters_desiredReplicationCount - The number of replicas you want to preconfigure for each index partition.

$sel:desiredPartitionCount:ScalingParameters', scalingParameters_desiredPartitionCount - The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.

scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType) Source #

The instance type that you want to preconfigure for your domain. For example, search.m1.small.

scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural) Source #

The number of replicas you want to preconfigure for each index partition.

scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural) Source #

The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.