Struct aws_sdk_opensearch::operation::start_service_software_update::StartServiceSoftwareUpdateInput
source · #[non_exhaustive]pub struct StartServiceSoftwareUpdateInput {
pub domain_name: Option<String>,
pub schedule_at: Option<ScheduleAt>,
pub desired_start_time: Option<i64>,
}Expand description
Container for the request parameters to the StartServiceSoftwareUpdate operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.domain_name: Option<String>The name of the domain that you want to update to the latest service software.
schedule_at: Option<ScheduleAt>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: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.
desired_start_time: Option<i64>The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP.
Implementations§
source§impl StartServiceSoftwareUpdateInput
impl StartServiceSoftwareUpdateInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that you want to update to the latest service software.
sourcepub fn schedule_at(&self) -> Option<&ScheduleAt>
pub fn schedule_at(&self) -> Option<&ScheduleAt>
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: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.
sourcepub fn desired_start_time(&self) -> Option<i64>
pub fn desired_start_time(&self) -> Option<i64>
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP.
source§impl StartServiceSoftwareUpdateInput
impl StartServiceSoftwareUpdateInput
sourcepub fn builder() -> StartServiceSoftwareUpdateInputBuilder
pub fn builder() -> StartServiceSoftwareUpdateInputBuilder
Creates a new builder-style object to manufacture StartServiceSoftwareUpdateInput.
Trait Implementations§
source§impl Clone for StartServiceSoftwareUpdateInput
impl Clone for StartServiceSoftwareUpdateInput
source§fn clone(&self) -> StartServiceSoftwareUpdateInput
fn clone(&self) -> StartServiceSoftwareUpdateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartServiceSoftwareUpdateInput
impl PartialEq for StartServiceSoftwareUpdateInput
source§fn eq(&self, other: &StartServiceSoftwareUpdateInput) -> bool
fn eq(&self, other: &StartServiceSoftwareUpdateInput) -> bool
self and other values to be equal, and is used
by ==.