Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitoring your instances and volumes in the Amazon Elastic Compute Cloud User Guide.
To disable detailed monitoring, see .
ec2_monitor_instances(InstanceIds, DryRun)
A list with the following syntax:
list(
InstanceMonitorings = list(
list(
InstanceId = "string",
Monitoring = list(
State = "disabled"|"disabling"|"enabled"|"pending"
)
)
)
)
[required] The IDs of the instances.
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
.
svc$monitor_instances(
InstanceIds = list(
"string"
),
DryRun = TRUE|FALSE
)