func ListLogShipperRecord(cli bce.Client, logShipperID string, args *ListShipperRecordCondition) (*ListShipperRecordResult, error) {
	req := &bce.BceRequest{}
	req.SetUri(getLogShipperRecordUri(logShipperID))
	req.SetMethod(http.GET)
	if args != nil {
		if args.SinceHours > 0 {
			req.SetParam("sinceHours", strconv.Itoa(args.SinceHours))
		}
		if args.PageNo > 0 {
			req.SetParam("pageNo", strconv.Itoa(args.PageNo))
		}
		if args.PageSize > 0 {
			req.SetParam("pageSize", strconv.Itoa(args.PageSize))
		}
	}
	resp := &bce.BceResponse{}
	if err := cli.SendRequest(req, resp); err != nil {
		return nil, err
	}
	if resp.IsFail() {
		return nil, resp.ServiceError()
	}
	result := &ListShipperRecordResult{}
	if err := resp.ParseJsonBody(result); err != nil {
		return nil, err
	}
	return result, nil
}
ListLogShipperRecord - get logShipper's execution records

PARAMS:
- cli: the client agent which can perform sending request
- logShipperID: logShipper to get
- args: conditions records should match
RETURNS:
- *ListShipperRecordResult: logShipper records result set
- error: nil if success otherwise the specific error
package api
import (
	"strconv"
	"github.com/baidubce/bce-sdk-go/bce"
	"github.com/baidubce/bce-sdk-go/http"
)
func CreateLogShipper(cli bce.Client, body *bce.Body) (string, error) {
	req := &bce.BceRequest{}
	req.SetUri(LOGSHIPPER_PREFIX)
	req.SetMethod(http.POST)
	if body != nil {
		req.SetBody(body)
	}
	resp := &bce.BceResponse{}
	if err := cli.SendRequest(req, resp); err != nil {
		return "", err
	}
	if resp.IsFail() {
		return "", resp.ServiceError()
	}
	result := &CreateLogShipperResponse{}
	if err := resp.ParseJsonBody(result); err != nil {
		return "", err
	}
	return result.LogShipperID, nil
}
func UpdateLogShipper(cli bce.Client, body *bce.Body, logShipperID string) error {
	req := &bce.BceRequest{}
	req.SetUri(getLogShipperUri(logShipperID))
	req.SetMethod(http.PUT)
	req.SetBody(body)
	resp := &bce.BceResponse{}
	if err := cli.SendRequest(req, resp); err != nil {
		return err
	}
	if resp.IsFail() {
		return resp.ServiceError()
	}
	defer func() { resp.Body().Close() }()
	return nil
}
func GetLogShipper(cli bce.Client, logShipperID string) (*LogShipper, error) {
	req := &bce.BceRequest{}
	req.SetUri(getLogShipperUri(logShipperID))
	req.SetMethod(http.GET)
	resp := &bce.BceResponse{}
	if err := cli.SendRequest(req, resp); err != nil {
		return nil, err
	}
	if resp.IsFail() {
		return nil, resp.ServiceError()
	}
	result := &LogShipper{}
	if err := resp.ParseJsonBody(result); err != nil {
		return nil, err
	}
	return result, nil
}
func ListLogShipper(cli bce.Client, args *ListLogShipperCondition) (*ListShipperResult, error) {
	req := &bce.BceRequest{}
	req.SetUri(LOGSHIPPER_PREFIX)
	req.SetMethod(http.GET)
	if args != nil {
		if args.LogShipperID != "" {
			req.SetParam("logShipperID", args.LogShipperID)
		}
		if args.LogShipperName != "" {
			req.SetParam("logShipperName", args.LogShipperName)
		}
		if args.LogShipperName != "" {
			req.SetParam("logShipperName", args.LogShipperName)
		}
		if args.DestType != "" {
			req.SetParam("destType", args.DestType)
		}
		if args.Status != "" {
			req.SetParam("status", args.Status)
		}
		if args.Order != "" {
			req.SetParam("order", args.Order)
		}
		if args.OrderBy != "" {
			req.SetParam("orderBy", args.OrderBy)
		}
		if args.PageNo > 0 {
			req.SetParam("pageNo", strconv.Itoa(args.PageNo))
		}
		if args.PageSize > 0 {
			req.SetParam("pageSize", strconv.Itoa(args.PageSize))
		}
	}
	resp := &bce.BceResponse{}
	if err := cli.SendRequest(req, resp); err != nil {
		return nil, err
	}
	if resp.IsFail() {
		return nil, resp.ServiceError()
	}
	result := &ListShipperResult{}
	if err := resp.ParseJsonBody(result); err != nil {
		return nil, err
	}
	return result, nil
}