create_snapshot_schedule
¶
create_snapshot_schedule(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
schedule_definitions: Optional[ScheduleDefinitionList] = None,
schedule_identifier: Optional[String] = None,
schedule_description: Optional[String] = None,
tags: Optional[TagList] = None,
dry_run: Optional[BooleanOptional] = None,
next_invocations: Optional[IntegerOptional] = None,
) -> SnapshotSchedule
Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
Parameters:
-
schedule_definitions(Optional[ScheduleDefinitionList], default:None) –The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
-
schedule_identifier(Optional[String], default:None) –A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
-
schedule_description(Optional[String], default:None) –The description of the snapshot schedule.
-
tags(Optional[TagList], default:None) –An optional set of tags you can use to search for the schedule.
-
dry_run(Optional[BooleanOptional], default:None) – -
next_invocations(Optional[IntegerOptional], default:None) –
Raises:
-
InvalidScheduleFault–The schedule you submitted isn't valid.
-
InvalidTagFault–The tag is invalid.
-
ScheduleDefinitionTypeUnsupportedFault–The definition you submitted is not supported.
-
SnapshotScheduleAlreadyExistsFault–The specified snapshot schedule already exists.
-
SnapshotScheduleQuotaExceededFault–You have exceeded the quota of snapshot schedules.
-
TagLimitExceededFault–You have exceeded the number of tags allowed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 | |