paws.management (version 0.1.0)

ssm_update_maintenance_window: Updates an existing Maintenance Window

Description

Updates an existing Maintenance Window. Only specified parameters are modified.

Usage

ssm_update_maintenance_window(WindowId, Name, Description, StartDate,
  EndDate, Schedule, ScheduleTimezone, Duration, Cutoff,
  AllowUnassociatedTargets, Enabled, Replace)

Arguments

WindowId

[required] The ID of the Maintenance Window to update.

Name

The name of the Maintenance Window.

Description

An optional description for the update request.

StartDate

The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

EndDate

The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become inactive. EndDate allows you to set a date and time in the future when the Maintenance Window will no longer run.

Schedule

The schedule of the Maintenance Window in the form of a cron or rate expression.

ScheduleTimezone

The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

Duration

The duration of the Maintenance Window in hours.

Cutoff

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

AllowUnassociatedTargets

Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

Enabled

Whether the Maintenance Window is enabled.

Replace

If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.

Request syntax

svc$update_maintenance_window(
  WindowId = "string",
  Name = "string",
  Description = "string",
  StartDate = "string",
  EndDate = "string",
  Schedule = "string",
  ScheduleTimezone = "string",
  Duration = 123,
  Cutoff = 123,
  AllowUnassociatedTargets = TRUE|FALSE,
  Enabled = TRUE|FALSE,
  Replace = TRUE|FALSE
)