@Override
    public UpdateDeviceStateResult updateDeviceState(UpdateDeviceStateRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateDeviceState(request);
    }
@ Override public UpdateDeviceStateResult updateDeviceState ( UpdateDeviceStateRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDeviceState ( request ) ; }
<p>
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
</p>

@param updateDeviceStateRequest
@return Result of the UpdateDeviceState operation returned by the service.
@throws ResourceNotFoundException
404 response
@throws InvalidRequestException
400 response
@throws InternalFailureException
500 response
@sample AWSIoT1ClickDevices.UpdateDeviceState
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UpdateDeviceState" target="_top">AWS API
Documentation</a>