Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies a snapshot schedule for a cluster.
Synopsis
- data ModifyClusterSnapshotSchedule = ModifyClusterSnapshotSchedule' {}
- newModifyClusterSnapshotSchedule :: Text -> ModifyClusterSnapshotSchedule
- modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool)
- modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text)
- modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text
- data ModifyClusterSnapshotScheduleResponse = ModifyClusterSnapshotScheduleResponse' {
- newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse
Creating a Request
data ModifyClusterSnapshotSchedule Source #
See: newModifyClusterSnapshotSchedule
smart constructor.
ModifyClusterSnapshotSchedule' | |
|
Instances
newModifyClusterSnapshotSchedule Source #
Create a value of ModifyClusterSnapshotSchedule
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:disassociateSchedule:ModifyClusterSnapshotSchedule'
, modifyClusterSnapshotSchedule_disassociateSchedule
- A boolean to indicate whether to remove the assoiciation between the
cluster and the schedule.
$sel:scheduleIdentifier:ModifyClusterSnapshotSchedule'
, modifyClusterSnapshotSchedule_scheduleIdentifier
- A unique alphanumeric identifier for the schedule that you want to
associate with the cluster.
$sel:clusterIdentifier:ModifyClusterSnapshotSchedule'
, modifyClusterSnapshotSchedule_clusterIdentifier
- A unique identifier for the cluster whose snapshot schedule you want to
modify.
Request Lenses
modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool) Source #
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text) Source #
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text Source #
A unique identifier for the cluster whose snapshot schedule you want to modify.
Destructuring the Response
data ModifyClusterSnapshotScheduleResponse Source #
See: newModifyClusterSnapshotScheduleResponse
smart constructor.
Instances
Eq ModifyClusterSnapshotScheduleResponse Source # | |
Read ModifyClusterSnapshotScheduleResponse Source # | |
Show ModifyClusterSnapshotScheduleResponse Source # | |
Generic ModifyClusterSnapshotScheduleResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterSnapshotSchedule type Rep ModifyClusterSnapshotScheduleResponse :: Type -> Type # | |
NFData ModifyClusterSnapshotScheduleResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterSnapshotSchedule rnf :: ModifyClusterSnapshotScheduleResponse -> () # | |
type Rep ModifyClusterSnapshotScheduleResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterSnapshotSchedule type Rep ModifyClusterSnapshotScheduleResponse = D1 ('MetaData "ModifyClusterSnapshotScheduleResponse" "Amazonka.Redshift.ModifyClusterSnapshotSchedule" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ModifyClusterSnapshotScheduleResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse Source #
Create a value of ModifyClusterSnapshotScheduleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.