#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateMaintenanceWindowTarget, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateMaintenanceWindowTarget, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateMaintenanceWindowTarget
>
Creates a new builder-style object to manufacture UpdateMaintenanceWindowTargetInput
The maintenance window ID with which to modify the target.
The target ID to modify.
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
An optional description for the update.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateMaintenanceWindowTargetInput
impl Sync for UpdateMaintenanceWindowTargetInput
impl Unpin for UpdateMaintenanceWindowTargetInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more