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

Description

Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.

Synopsis

Creating a Request

data ModifyClusterDbRevision Source #

See: newModifyClusterDbRevision smart constructor.

Constructors

ModifyClusterDbRevision' 

Fields

  • clusterIdentifier :: Text

    The unique identifier of a cluster whose database revision you want to modify.

    Example: examplecluster

  • revisionTarget :: Text

    The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.

Instances

Instances details
Eq ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Read ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Show ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Generic ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Associated Types

type Rep ModifyClusterDbRevision :: Type -> Type #

NFData ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Methods

rnf :: ModifyClusterDbRevision -> () #

Hashable ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

AWSRequest ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

ToHeaders ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

ToPath ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

ToQuery ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

type Rep ModifyClusterDbRevision Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

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

Defined in Amazonka.Redshift.ModifyClusterDbRevision

newModifyClusterDbRevision Source #

Create a value of ModifyClusterDbRevision 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:ModifyClusterDbRevision', modifyClusterDbRevision_clusterIdentifier - The unique identifier of a cluster whose database revision you want to modify.

Example: examplecluster

$sel:revisionTarget:ModifyClusterDbRevision', modifyClusterDbRevision_revisionTarget - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.

Request Lenses

modifyClusterDbRevision_clusterIdentifier :: Lens' ModifyClusterDbRevision Text Source #

The unique identifier of a cluster whose database revision you want to modify.

Example: examplecluster

modifyClusterDbRevision_revisionTarget :: Lens' ModifyClusterDbRevision Text Source #

The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.

Destructuring the Response

data ModifyClusterDbRevisionResponse Source #

See: newModifyClusterDbRevisionResponse smart constructor.

Constructors

ModifyClusterDbRevisionResponse' 

Fields

Instances

Instances details
Eq ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Read ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Show ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Generic ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

Associated Types

type Rep ModifyClusterDbRevisionResponse :: Type -> Type #

NFData ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

type Rep ModifyClusterDbRevisionResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterDbRevision

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

newModifyClusterDbRevisionResponse Source #

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

$sel:httpStatus:ModifyClusterDbRevisionResponse', modifyClusterDbRevisionResponse_httpStatus - The response's http status code.

Response Lenses