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

Description

Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.

Synopsis

Creating a Request

data ModifySnapshotSchedule Source #

See: newModifySnapshotSchedule smart constructor.

Constructors

ModifySnapshotSchedule' 

Fields

  • scheduleIdentifier :: Text

    A unique alphanumeric identifier of the schedule to modify.

  • scheduleDefinitions :: [Text]

    An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".

Instances

Instances details
Eq ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Read ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Show ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Generic ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Associated Types

type Rep ModifySnapshotSchedule :: Type -> Type #

NFData ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Methods

rnf :: ModifySnapshotSchedule -> () #

Hashable ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

AWSRequest ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

Associated Types

type AWSResponse ModifySnapshotSchedule #

ToHeaders ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

ToPath ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

ToQuery ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

type Rep ModifySnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.ModifySnapshotSchedule

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

Defined in Amazonka.Redshift.ModifySnapshotSchedule

newModifySnapshotSchedule Source #

Create a value of ModifySnapshotSchedule 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:scheduleIdentifier:ModifySnapshotSchedule', modifySnapshotSchedule_scheduleIdentifier - A unique alphanumeric identifier of the schedule to modify.

$sel:scheduleDefinitions:ModifySnapshotSchedule', modifySnapshotSchedule_scheduleDefinitions - An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".

Request Lenses

modifySnapshotSchedule_scheduleIdentifier :: Lens' ModifySnapshotSchedule Text Source #

A unique alphanumeric identifier of the schedule to modify.

modifySnapshotSchedule_scheduleDefinitions :: Lens' ModifySnapshotSchedule [Text] Source #

An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".

Destructuring the Response

data SnapshotSchedule Source #

Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.

See: newSnapshotSchedule smart constructor.

Constructors

SnapshotSchedule' 

Fields

Instances

Instances details
Eq SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

Read SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

Show SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

Generic SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

Associated Types

type Rep SnapshotSchedule :: Type -> Type #

NFData SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

Methods

rnf :: SnapshotSchedule -> () #

Hashable SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

FromXML SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

type Rep SnapshotSchedule Source # 
Instance details

Defined in Amazonka.Redshift.Types.SnapshotSchedule

type Rep SnapshotSchedule = D1 ('MetaData "SnapshotSchedule" "Amazonka.Redshift.Types.SnapshotSchedule" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "SnapshotSchedule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associatedClusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusterAssociatedToSchedule])) :*: (S1 ('MetaSel ('Just "nextInvocations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ISO8601])) :*: S1 ('MetaSel ('Just "scheduleDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "scheduleDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scheduleIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "associatedClusterCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))

newSnapshotSchedule :: SnapshotSchedule Source #

Create a value of SnapshotSchedule 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:associatedClusters:SnapshotSchedule', snapshotSchedule_associatedClusters - A list of clusters associated with the schedule. A maximum of 100 clusters is returned.

$sel:nextInvocations:SnapshotSchedule', snapshotSchedule_nextInvocations -

$sel:scheduleDefinitions:SnapshotSchedule', snapshotSchedule_scheduleDefinitions - A list of ScheduleDefinitions.

$sel:scheduleDescription:SnapshotSchedule', snapshotSchedule_scheduleDescription - The description of the schedule.

$sel:scheduleIdentifier:SnapshotSchedule', snapshotSchedule_scheduleIdentifier - A unique identifier for the schedule.

$sel:associatedClusterCount:SnapshotSchedule', snapshotSchedule_associatedClusterCount - The number of clusters associated with the schedule.

$sel:tags:SnapshotSchedule', snapshotSchedule_tags - An optional set of tags describing the schedule.

Response Lenses

snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule]) Source #

A list of clusters associated with the schedule. A maximum of 100 clusters is returned.

snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text) Source #

A unique identifier for the schedule.

snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int) Source #

The number of clusters associated with the schedule.

snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag]) Source #

An optional set of tags describing the schedule.