delete_instance_event_window
(**kwargs)¶Deletes the specified event window.
For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide .
See also: AWS API Documentation
Request Syntax
response = client.delete_instance_event_window(
DryRun=True|False,
ForceDelete=True|False,
InstanceEventWindowId='string'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.true
to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.[REQUIRED]
The ID of the event window.
dict
Response Syntax
{
'InstanceEventWindowState': {
'InstanceEventWindowId': 'string',
'State': 'creating'|'deleting'|'active'|'deleted'
}
}
Response Structure
(dict) --
InstanceEventWindowState (dict) --
The state of the event window.
InstanceEventWindowId (string) --
The ID of the event window.
State (string) --
The current state of the event window.