Struct aws_sdk_ssm::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetInput
source · #[non_exhaustive]pub struct UpdateMaintenanceWindowTargetInput {
pub window_id: Option<String>,
pub window_target_id: Option<String>,
pub targets: Option<Vec<Target>>,
pub owner_information: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub replace: Option<bool>,
}
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.window_id: Option<String>
The maintenance window ID with which to modify the target.
window_target_id: Option<String>
The target ID to modify.
targets: Option<Vec<Target>>
The targets to add or replace.
owner_information: Option<String>
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
name: Option<String>
A name for the update.
description: Option<String>
An optional description for the update.
replace: Option<bool>
If True
, then all fields that are required by the RegisterTargetWithMaintenanceWindow
operation are also required for this API request. Optional fields that aren't specified are set to null.
Implementations§
source§impl UpdateMaintenanceWindowTargetInput
impl UpdateMaintenanceWindowTargetInput
sourcepub fn window_id(&self) -> Option<&str>
pub fn window_id(&self) -> Option<&str>
The maintenance window ID with which to modify the target.
sourcepub fn window_target_id(&self) -> Option<&str>
pub fn window_target_id(&self) -> Option<&str>
The target ID to modify.
sourcepub fn targets(&self) -> &[Target]
pub fn targets(&self) -> &[Target]
The targets to add or replace.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .targets.is_none()
.
sourcepub fn owner_information(&self) -> Option<&str>
pub fn owner_information(&self) -> Option<&str>
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description for the update.
source§impl UpdateMaintenanceWindowTargetInput
impl UpdateMaintenanceWindowTargetInput
sourcepub fn builder() -> UpdateMaintenanceWindowTargetInputBuilder
pub fn builder() -> UpdateMaintenanceWindowTargetInputBuilder
Creates a new builder-style object to manufacture UpdateMaintenanceWindowTargetInput
.
Trait Implementations§
source§impl Clone for UpdateMaintenanceWindowTargetInput
impl Clone for UpdateMaintenanceWindowTargetInput
source§fn clone(&self) -> UpdateMaintenanceWindowTargetInput
fn clone(&self) -> UpdateMaintenanceWindowTargetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateMaintenanceWindowTargetInput
impl PartialEq for UpdateMaintenanceWindowTargetInput
source§fn eq(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
fn eq(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
self
and other
values to be equal, and is used
by ==
.