#[non_exhaustive]pub struct MaintenanceWindowAutomationParameters {
pub document_version: Option<String>,
pub parameters: Option<HashMap<String, Vec<String>>>,
}Expand description
The parameters for an AUTOMATION task type.
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.document_version: Option<String>The version of an Automation runbook to use during task execution.
parameters: Option<HashMap<String, Vec<String>>>The parameters for the AUTOMATION task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
For AUTOMATION task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
Implementations§
source§impl MaintenanceWindowAutomationParameters
impl MaintenanceWindowAutomationParameters
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The version of an Automation runbook to use during task execution.
sourcepub fn parameters(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn parameters(&self) -> Option<&HashMap<String, Vec<String>>>
The parameters for the AUTOMATION task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
For AUTOMATION task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
source§impl MaintenanceWindowAutomationParameters
impl MaintenanceWindowAutomationParameters
sourcepub fn builder() -> MaintenanceWindowAutomationParametersBuilder
pub fn builder() -> MaintenanceWindowAutomationParametersBuilder
Creates a new builder-style object to manufacture MaintenanceWindowAutomationParameters.
Trait Implementations§
source§impl Clone for MaintenanceWindowAutomationParameters
impl Clone for MaintenanceWindowAutomationParameters
source§fn clone(&self) -> MaintenanceWindowAutomationParameters
fn clone(&self) -> MaintenanceWindowAutomationParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for MaintenanceWindowAutomationParameters
impl PartialEq for MaintenanceWindowAutomationParameters
source§fn eq(&self, other: &MaintenanceWindowAutomationParameters) -> bool
fn eq(&self, other: &MaintenanceWindowAutomationParameters) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MaintenanceWindowAutomationParameters
Auto Trait Implementations§
impl Freeze for MaintenanceWindowAutomationParameters
impl RefUnwindSafe for MaintenanceWindowAutomationParameters
impl Send for MaintenanceWindowAutomationParameters
impl Sync for MaintenanceWindowAutomationParameters
impl Unpin for MaintenanceWindowAutomationParameters
impl UnwindSafe for MaintenanceWindowAutomationParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more