libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.Redshift.Types.ResizeClusterMessage

Description

 
Synopsis

Documentation

data ResizeClusterMessage Source #

Describes a resize cluster operation. For example, a scheduled action to run the ResizeCluster API operation.

See: newResizeClusterMessage smart constructor.

Constructors

ResizeClusterMessage' 

Fields

  • numberOfNodes :: Maybe Int

    The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.

  • classic :: Maybe Bool

    A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false, the resize type is elastic.

  • clusterType :: Maybe Text

    The new cluster type for the specified cluster.

  • nodeType :: Maybe Text

    The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.

  • clusterIdentifier :: Text

    The unique identifier for the cluster to resize.

Instances

Instances details
Eq ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

Read ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

Show ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

Generic ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

Associated Types

type Rep ResizeClusterMessage :: Type -> Type #

NFData ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

Methods

rnf :: ResizeClusterMessage -> () #

Hashable ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

ToQuery ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

FromXML ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

type Rep ResizeClusterMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.ResizeClusterMessage

type Rep ResizeClusterMessage = D1 ('MetaData "ResizeClusterMessage" "Amazonka.Redshift.Types.ResizeClusterMessage" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ResizeClusterMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "numberOfNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "classic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "clusterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newResizeClusterMessage Source #

Create a value of ResizeClusterMessage 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:numberOfNodes:ResizeClusterMessage', resizeClusterMessage_numberOfNodes - The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.

$sel:classic:ResizeClusterMessage', resizeClusterMessage_classic - A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false, the resize type is elastic.

$sel:clusterType:ResizeClusterMessage', resizeClusterMessage_clusterType - The new cluster type for the specified cluster.

$sel:nodeType:ResizeClusterMessage', resizeClusterMessage_nodeType - The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.

$sel:clusterIdentifier:ResizeClusterMessage', resizeClusterMessage_clusterIdentifier - The unique identifier for the cluster to resize.

resizeClusterMessage_numberOfNodes :: Lens' ResizeClusterMessage (Maybe Int) Source #

The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.

resizeClusterMessage_classic :: Lens' ResizeClusterMessage (Maybe Bool) Source #

A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false, the resize type is elastic.

resizeClusterMessage_clusterType :: Lens' ResizeClusterMessage (Maybe Text) Source #

The new cluster type for the specified cluster.

resizeClusterMessage_nodeType :: Lens' ResizeClusterMessage (Maybe Text) Source #

The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.

resizeClusterMessage_clusterIdentifier :: Lens' ResizeClusterMessage Text Source #

The unique identifier for the cluster to resize.