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

Description

Modifies the maintenance settings of a cluster.

Synopsis

Creating a Request

data ModifyClusterMaintenance Source #

See: newModifyClusterMaintenance smart constructor.

Constructors

ModifyClusterMaintenance' 

Fields

Instances

Instances details
Eq ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Read ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Show ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Generic ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Associated Types

type Rep ModifyClusterMaintenance :: Type -> Type #

NFData ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Hashable ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

AWSRequest ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

ToHeaders ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

ToPath ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

ToQuery ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

type Rep ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

type Rep ModifyClusterMaintenance = D1 ('MetaData "ModifyClusterMaintenance" "Amazonka.Redshift.ModifyClusterMaintenance" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ModifyClusterMaintenance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deferMaintenanceEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "deferMaintenance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "deferMaintenanceDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "deferMaintenanceStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "deferMaintenanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

newModifyClusterMaintenance Source #

Create a value of ModifyClusterMaintenance 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:deferMaintenanceEndTime:ModifyClusterMaintenance', modifyClusterMaintenance_deferMaintenanceEndTime - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

$sel:deferMaintenance:ModifyClusterMaintenance', modifyClusterMaintenance_deferMaintenance - A boolean indicating whether to enable the deferred maintenance window.

$sel:deferMaintenanceDuration:ModifyClusterMaintenance', modifyClusterMaintenance_deferMaintenanceDuration - An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.

$sel:deferMaintenanceStartTime:ModifyClusterMaintenance', modifyClusterMaintenance_deferMaintenanceStartTime - A timestamp indicating the start time for the deferred maintenance window.

$sel:deferMaintenanceIdentifier:ModifyClusterMaintenance', modifyClusterMaintenance_deferMaintenanceIdentifier - A unique identifier for the deferred maintenance window.

$sel:clusterIdentifier:ModifyClusterMaintenance', modifyClusterMaintenance_clusterIdentifier - A unique identifier for the cluster.

Request Lenses

modifyClusterMaintenance_deferMaintenanceEndTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime) Source #

A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

modifyClusterMaintenance_deferMaintenance :: Lens' ModifyClusterMaintenance (Maybe Bool) Source #

A boolean indicating whether to enable the deferred maintenance window.

modifyClusterMaintenance_deferMaintenanceDuration :: Lens' ModifyClusterMaintenance (Maybe Int) Source #

An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.

modifyClusterMaintenance_deferMaintenanceStartTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime) Source #

A timestamp indicating the start time for the deferred maintenance window.

modifyClusterMaintenance_deferMaintenanceIdentifier :: Lens' ModifyClusterMaintenance (Maybe Text) Source #

A unique identifier for the deferred maintenance window.

Destructuring the Response

data ModifyClusterMaintenanceResponse Source #

See: newModifyClusterMaintenanceResponse smart constructor.

Constructors

ModifyClusterMaintenanceResponse' 

Fields

Instances

Instances details
Eq ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Read ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Show ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Generic ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Associated Types

type Rep ModifyClusterMaintenanceResponse :: Type -> Type #

NFData ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

type Rep ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

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

newModifyClusterMaintenanceResponse Source #

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

$sel:httpStatus:ModifyClusterMaintenanceResponse', modifyClusterMaintenanceResponse_httpStatus - The response's http status code.

Response Lenses