UpdateMaintenanceWindowRequest
public struct UpdateMaintenanceWindowRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
Declaration
Swift
public let allowUnassociatedTargets: Bool?
-
The number of hours before the end of the maintenance window that Systems Manager stops scheduling new tasks for execution.
Declaration
Swift
public let cutoff: Int?
-
An optional description for the update request.
Declaration
Swift
public let description: String?
-
The duration of the maintenance window in hours.
Declaration
Swift
public let duration: Int?
-
Whether the maintenance window is enabled.
Declaration
Swift
public let enabled: Bool?
-
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.
Declaration
Swift
public let endDate: String?
-
The name of the maintenance window.
Declaration
Swift
public let name: String?
-
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.
Declaration
Swift
public let replace: Bool?
-
The schedule of the maintenance window in the form of a cron or rate expression.
Declaration
Swift
public let schedule: String?
-
The number of days to wait after the date and time specified by a CRON expression before running the maintenance window. For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM. cron(0 30 23 ? * TUE#3 *) If the schedule offset is 2, the maintenance window won’t run until two days later.
Declaration
Swift
public let scheduleOffset: Int?
-
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.
Declaration
Swift
public let scheduleTimezone: String?
-
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.
Declaration
Swift
public let startDate: String?
-
The ID of the maintenance window to update.
Declaration
Swift
public let windowId: String
-
init(allowUnassociatedTargets:cutoff:description:duration:enabled:endDate:name:replace:schedule:scheduleOffset:scheduleTimezone:startDate:windowId:)
Undocumented
Declaration
Swift
public init(allowUnassociatedTargets: Bool? = nil, cutoff: Int? = nil, description: String? = nil, duration: Int? = nil, enabled: Bool? = nil, endDate: String? = nil, name: String? = nil, replace: Bool? = nil, schedule: String? = nil, scheduleOffset: Int? = nil, scheduleTimezone: String? = nil, startDate: String? = nil, windowId: String)
-
Declaration
Swift
public func validate(name: String) throws