Skip to content

Deregister Target From Maintenance Window

ssm_deregister_target_from_maintenance_window R Documentation

Removes a target from a maintenance window

Description

Removes a target from a maintenance window.

Usage

ssm_deregister_target_from_maintenance_window(WindowId, WindowTargetId,
  Safe)

Arguments

WindowId

[required] The ID of the maintenance window the target should be removed from.

WindowTargetId

[required] The ID of the target definition to remove.

Safe

The system checks if the target is being referenced by a task. If the target is being referenced, the system returns an error and doesn't deregister the target from the maintenance window.

Value

A list with the following syntax:

list(
  WindowId = "string",
  WindowTargetId = "string"
)

Request syntax

svc$deregister_target_from_maintenance_window(
  WindowId = "string",
  WindowTargetId = "string",
  Safe = TRUE|FALSE
)