update_scheduled_action
¶
update_scheduled_action(
domain_name: DomainName,
action_id: String,
action_type: ActionType,
schedule_at: ScheduleAt,
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
desired_start_time: Optional[Long] = None,
) -> UpdateScheduledActionResponse
Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement.
Parameters:
-
domain_name(DomainName) –The name of the domain to reschedule an action for.
-
action_id(String) –The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.
-
action_type(ActionType) –The type of action to reschedule. Can be one of
SERVICE_SOFTWARE_UPDATE,JVM_HEAP_SIZE_TUNING, orJVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request. -
schedule_at(ScheduleAt) –When to schedule the action.
-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
-
-
desired_start_time(Optional[Long], default:None) –The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set
ScheduleAttoTIMESTAMP.
Raises:
-
BaseException–An error occurred while processing the request.
-
ConflictException–An error occurred because the client attempts to remove a resource that is currently in use.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
SlotNotAvailableException–An exception for attempting to schedule a domain action during an unavailable time slot.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/open_search.py
6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 | |