amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest 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 #

Read ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Show ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

NFData ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Eq ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Hashable ModifyClusterMaintenance Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

type AWSResponse 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" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "ModifyClusterMaintenance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deferMaintenance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "deferMaintenanceDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "deferMaintenanceEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "deferMaintenanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deferMaintenanceStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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

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.

ModifyClusterMaintenance, modifyClusterMaintenance_deferMaintenanceIdentifier - A unique identifier for the deferred maintenance window.

ModifyClusterMaintenance, modifyClusterMaintenance_deferMaintenanceStartTime - A timestamp indicating the start time for the deferred maintenance window.

ModifyClusterMaintenance, modifyClusterMaintenance_clusterIdentifier - A unique identifier for the cluster.

Request Lenses

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_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_deferMaintenanceIdentifier :: Lens' ModifyClusterMaintenance (Maybe Text) Source #

A unique identifier for the deferred maintenance window.

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

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

Destructuring the Response

data ModifyClusterMaintenanceResponse Source #

See: newModifyClusterMaintenanceResponse smart constructor.

Constructors

ModifyClusterMaintenanceResponse' 

Fields

Instances

Instances details
Generic ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Associated Types

type Rep ModifyClusterMaintenanceResponse :: Type -> Type #

Read ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Show ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

NFData ModifyClusterMaintenanceResponse Source # 
Instance details

Defined in Amazonka.Redshift.ModifyClusterMaintenance

Eq 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" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" '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