Associates one or more targets with an event window. Only one type of target (instance IDs, Dedicated Host IDs, or tags) can be specified with an event window.
For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
get/#Action=AssociateInstanceEventWindow
Query parameters
DryRunboolean
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
InstanceEventWindowIdstring required
The ID of the event window.
One or more targets associated with the specified event window.
Action'AssociateInstanceEventWindow' required
Version'2016-11-15' required
Response
Success