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.PauseCluster

Description

Pauses a cluster.

Synopsis

Creating a Request

data PauseCluster Source #

Describes a pause cluster operation. For example, a scheduled action to run the PauseCluster API operation.

See: newPauseCluster smart constructor.

Constructors

PauseCluster' 

Fields

Instances

Instances details
Eq PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Read PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Show PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Generic PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Associated Types

type Rep PauseCluster :: Type -> Type #

NFData PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Methods

rnf :: PauseCluster -> () #

Hashable PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

AWSRequest PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Associated Types

type AWSResponse PauseCluster #

ToHeaders PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

ToPath PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

ToQuery PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

type Rep PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

type Rep PauseCluster = D1 ('MetaData "PauseCluster" "Amazonka.Redshift.PauseCluster" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "PauseCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PauseCluster Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

newPauseCluster Source #

Create a value of PauseCluster 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:clusterIdentifier:PauseCluster', pauseCluster_clusterIdentifier - The identifier of the cluster to be paused.

Request Lenses

pauseCluster_clusterIdentifier :: Lens' PauseCluster Text Source #

The identifier of the cluster to be paused.

Destructuring the Response

data PauseClusterResponse Source #

See: newPauseClusterResponse smart constructor.

Constructors

PauseClusterResponse' 

Fields

Instances

Instances details
Eq PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Read PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Show PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Generic PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Associated Types

type Rep PauseClusterResponse :: Type -> Type #

NFData PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

Methods

rnf :: PauseClusterResponse -> () #

type Rep PauseClusterResponse Source # 
Instance details

Defined in Amazonka.Redshift.PauseCluster

type Rep PauseClusterResponse = D1 ('MetaData "PauseClusterResponse" "Amazonka.Redshift.PauseCluster" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "PauseClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPauseClusterResponse Source #

Create a value of PauseClusterResponse 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:PauseClusterResponse', pauseClusterResponse_cluster - Undocumented member.

$sel:httpStatus:PauseClusterResponse', pauseClusterResponse_httpStatus - The response's http status code.

Response Lenses