func UpdateLogStore(cli bce.Client, logStore string, body *bce.Body) error {
	req := &bce.BceRequest{}
	req.SetUri(getLogStoreUri(logStore))
	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
}
UpdateLogStore - update logStore retention

PARAMS:
- cli: the client agent which can perform sending request
- logStore: logStore to update
- body: logStore parameters body
RETURNS:
- 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 CreateLogStore(cli bce.Client, body *bce.Body) error {
	req := &bce.BceRequest{}
	req.SetUri(LOGSTORE_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()
	}
	defer func() { resp.Body().Close() }()
	return nil
}