#[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
sourceimpl 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.
sourceimpl MaintenanceWindowAutomationParameters
impl MaintenanceWindowAutomationParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MaintenanceWindowAutomationParameters
Trait Implementations
sourceimpl Clone for MaintenanceWindowAutomationParameters
impl Clone for MaintenanceWindowAutomationParameters
sourcefn clone(&self) -> MaintenanceWindowAutomationParameters
fn clone(&self) -> MaintenanceWindowAutomationParameters
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<MaintenanceWindowAutomationParameters> for MaintenanceWindowAutomationParameters
impl PartialEq<MaintenanceWindowAutomationParameters> for MaintenanceWindowAutomationParameters
sourcefn eq(&self, other: &MaintenanceWindowAutomationParameters) -> bool
fn eq(&self, other: &MaintenanceWindowAutomationParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaintenanceWindowAutomationParameters) -> bool
fn ne(&self, other: &MaintenanceWindowAutomationParameters) -> bool
This method tests for !=
.
impl StructuralPartialEq for MaintenanceWindowAutomationParameters
Auto Trait Implementations
impl RefUnwindSafe for MaintenanceWindowAutomationParameters
impl Send for MaintenanceWindowAutomationParameters
impl Sync for MaintenanceWindowAutomationParameters
impl Unpin for MaintenanceWindowAutomationParameters
impl UnwindSafe for MaintenanceWindowAutomationParameters
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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