Skip to content

/AWS1/CL_EC2=>DELETEINSTANCEEVENTWINDOW()

About DeleteInstanceEventWindow

Deletes the specified event window.

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

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEEVENTWINDOWID TYPE /AWS1/EC2INSTANCEEVENTWINDOWID /AWS1/EC2INSTANCEEVENTWINDOWID

The ID of the event window.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_FORCEDELETE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELINSTEVTWINDOWRS /AWS1/CL_EC2DELINSTEVTWINDOWRS