Scalr\Service\Aws\Ec2\DataType\InstanceData::monitor PHP Method

monitor() public method

Enables monitoring for a running instance.
public monitor ( ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList
return Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList Returns the MonitorInstancesResponseSetList
    public function monitor()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getEc2()->instance->monitor($this->instanceId);
    }