Search in sources :

Example 1 with ConfirmEventsRequest

use of com.tencentcloudapi.vod.v20180717.models.ConfirmEventsRequest in project cloud-sdk by mizhousoft.

the class QCloudVODServiceImpl method confirmEvents.

/**
 * {@inheritDoc}
 */
@Override
public void confirmEvents(String[] eventIds) throws CloudSDKException {
    try {
        ConfirmEventsRequest req = new ConfirmEventsRequest();
        req.setEventHandles(eventIds);
        vodClient.ConfirmEvents(req);
    } catch (TencentCloudSDKException e) {
        throw new CloudSDKException(e.getErrorCode(), e.getMessage(), e);
    }
}
Also used : CloudSDKException(com.mizhousoft.cloudsdk.CloudSDKException) TencentCloudSDKException(com.tencentcloudapi.common.exception.TencentCloudSDKException) TencentCloudSDKException(com.tencentcloudapi.common.exception.TencentCloudSDKException) ConfirmEventsRequest(com.tencentcloudapi.vod.v20180717.models.ConfirmEventsRequest)

Aggregations

CloudSDKException (com.mizhousoft.cloudsdk.CloudSDKException)1 TencentCloudSDKException (com.tencentcloudapi.common.exception.TencentCloudSDKException)1 ConfirmEventsRequest (com.tencentcloudapi.vod.v20180717.models.ConfirmEventsRequest)1