#[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
sourceimpl UpdateMaintenanceWindowTargetInput
impl UpdateMaintenanceWindowTargetInput
sourcepub 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>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateMaintenanceWindowTargetInput
sourceimpl 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 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.
Trait Implementations
sourceimpl Clone for UpdateMaintenanceWindowTargetInput
impl Clone for UpdateMaintenanceWindowTargetInput
sourcefn clone(&self) -> UpdateMaintenanceWindowTargetInput
fn clone(&self) -> UpdateMaintenanceWindowTargetInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<UpdateMaintenanceWindowTargetInput> for UpdateMaintenanceWindowTargetInput
impl PartialEq<UpdateMaintenanceWindowTargetInput> for UpdateMaintenanceWindowTargetInput
sourcefn eq(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
fn eq(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
fn ne(&self, other: &UpdateMaintenanceWindowTargetInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateMaintenanceWindowTargetInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateMaintenanceWindowTargetInput
impl Send for UpdateMaintenanceWindowTargetInput
impl Sync for UpdateMaintenanceWindowTargetInput
impl Unpin for UpdateMaintenanceWindowTargetInput
impl UnwindSafe for UpdateMaintenanceWindowTargetInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more