/AWS1/CL_EC2=>ASSOCIATEINSTANCEEVENTWINDOW()
¶
About AssociateInstanceEventWindow¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEEVENTWINDOWID
TYPE /AWS1/EC2INSTANCEEVENTWINDOWID
/AWS1/EC2INSTANCEEVENTWINDOWID
¶
The ID of the event window.
IO_ASSOCIATIONTARGET
TYPE REF TO /AWS1/CL_EC2INSTEVTWINDOWASS00
/AWS1/CL_EC2INSTEVTWINDOWASS00
¶
One or more targets associated with the specified 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 isUnauthorizedOperation
.