start_service_software_update
async
¶
start_service_software_update(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
schedule_at: Optional[ScheduleAt] = None,
desired_start_time: Optional[Long] = None,
) -> StartServiceSoftwareUpdateResponse
Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
Parameters:
-
domain_name(DomainName) –The name of the domain that you want to update to the latest service software.
-
schedule_at(Optional[ScheduleAt], default:None) –When to start the service software update.
-
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 update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.
Default:
NOWif you don't specify a value forDesiredStartTime, andTIMESTAMPif you do. -
-
desired_start_time(Optional[Long], default:None) –The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set
ScheduleAttoTIMESTAMP.
Raises:
-
BaseException–An error occurred while processing the request.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
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.