pub struct UpdateMaintenanceWindowTaskRequest {
pub description: Option<String>,
pub logging_info: Option<LoggingInfo>,
pub max_concurrency: Option<String>,
pub max_errors: Option<String>,
pub name: Option<String>,
pub priority: Option<i64>,
pub replace: Option<bool>,
pub service_role_arn: Option<String>,
pub targets: Option<Vec<Target>>,
pub task_arn: Option<String>,
pub task_invocation_parameters: Option<MaintenanceWindowTaskInvocationParameters>,
pub task_parameters: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>,
pub window_id: String,
pub window_task_id: String,
}
The new task description to specify.
The new logging location in Amazon S3 to specify.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported Maintenance Window task types, see MaintenanceWindowTaskInvocationParameters.
The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number of targets that are allowed to run this task in parallel.
The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors that are allowed before the task stops being scheduled.
The new task name to specify.
The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.
The IAM service role ARN to modify. The system assumes this role during task execution.
The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.
The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
The parameters to modify.
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.
The map has the following format:
Key: string, between 1 and 255 characters
Value: an array of strings, each string is between 1 and 255 characters
The Maintenance Window ID that contains the task to modify.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static