modify_snapshot_schedule
async
¶
modify_snapshot_schedule(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
schedule_identifier: Optional[String] = None,
schedule_definitions: Optional[ScheduleDefinitionList] = None,
) -> SnapshotSchedule
Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
Parameters:
-
schedule_identifier(Optional[String], default:None) –A unique alphanumeric identifier of the schedule to modify.
-
schedule_definitions(Optional[ScheduleDefinitionList], default:None) –An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
Raises:
-
InvalidScheduleFault–The schedule you submitted isn't valid.
-
SnapshotScheduleNotFoundFault–We could not find the specified snapshot schedule.
-
SnapshotScheduleUpdateInProgressFault–The specified snapshot schedule is already being updated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 | |