Skip to content

Deletes the specified event window

Description

Deletes the specified event window.

For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.

Usage

ec2_delete_instance_event_window(DryRun, ForceDelete,
  InstanceEventWindowId)

Arguments

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • ForceDelete

    Specify true to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.

  • InstanceEventWindowId

    [required] The ID of the event window.

Value

A list with the following syntax:

list(
  InstanceEventWindowState = list(
    InstanceEventWindowId = "string",
    State = "creating"|"deleting"|"active"|"deleted"
  )
)

Request syntax

svc$delete_instance_event_window(
  DryRun = TRUE|FALSE,
  ForceDelete = TRUE|FALSE,
  InstanceEventWindowId = "string"
)