paws.management (version 0.5.0)

ssm_deregister_target_from_maintenance_window: Removes a target from a maintenance window

Description

Removes a target from a maintenance window.

See https://www.paws-r-sdk.com/docs/ssm_deregister_target_from_maintenance_window/ for full documentation.

Usage

ssm_deregister_target_from_maintenance_window(
  WindowId,
  WindowTargetId,
  Safe = NULL
)

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.