#[non_exhaustive]pub struct MaintenanceWindowLambdaParameters {
pub client_context: Option<String>,
pub qualifier: Option<String>,
pub payload: Option<Blob>,
}
Expand description
The parameters for a LAMBDA
task type.
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 Lambda tasks, Systems Manager ignores any values specified for TaskParameters and LoggingInfo.
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.client_context: Option<String>
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
qualifier: Option<String>
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
payload: Option<Blob>
JSON to provide to your Lambda function as input.
Implementations
sourceimpl MaintenanceWindowLambdaParameters
impl MaintenanceWindowLambdaParameters
sourcepub fn client_context(&self) -> Option<&str>
pub fn client_context(&self) -> Option<&str>
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
sourcepub fn qualifier(&self) -> Option<&str>
pub fn qualifier(&self) -> Option<&str>
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
sourceimpl MaintenanceWindowLambdaParameters
impl MaintenanceWindowLambdaParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MaintenanceWindowLambdaParameters
Trait Implementations
sourceimpl Clone for MaintenanceWindowLambdaParameters
impl Clone for MaintenanceWindowLambdaParameters
sourcefn clone(&self) -> MaintenanceWindowLambdaParameters
fn clone(&self) -> MaintenanceWindowLambdaParameters
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<MaintenanceWindowLambdaParameters> for MaintenanceWindowLambdaParameters
impl PartialEq<MaintenanceWindowLambdaParameters> for MaintenanceWindowLambdaParameters
sourcefn eq(&self, other: &MaintenanceWindowLambdaParameters) -> bool
fn eq(&self, other: &MaintenanceWindowLambdaParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaintenanceWindowLambdaParameters) -> bool
fn ne(&self, other: &MaintenanceWindowLambdaParameters) -> bool
This method tests for !=
.
impl StructuralPartialEq for MaintenanceWindowLambdaParameters
Auto Trait Implementations
impl RefUnwindSafe for MaintenanceWindowLambdaParameters
impl Send for MaintenanceWindowLambdaParameters
impl Sync for MaintenanceWindowLambdaParameters
impl Unpin for MaintenanceWindowLambdaParameters
impl UnwindSafe for MaintenanceWindowLambdaParameters
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