asSensor

Casts this Node as a Sensor and retrieves its aws.sdk.kotlin.services.iotfleetwise.model.Sensor value. Throws an exception if the Node is not a Sensor.