Documentation
¶
Overview ¶
* Zenlayer.com Inc. * Copyright (c) 2014-2023 All Rights Reserved.
Index ¶
Constants ¶
View Source
const ( APIVersion = "2023-08-04" SERVICE = "zls" )
View Source
const (
// parameter illegal time
INVALID_PARAMETER__ILLEGAL_TIME = "Invalid.Paramter.Illegal.Time"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientWithSecretKey ¶
func (*Client) DescribeLogs ¶
func (c *Client) DescribeLogs(request *DescribeLogsRequest) (response *DescribeLogsResponse, err error)
DescribeLogs 本接口(DescribeLogs)用于查询审计日志列表。
Possible error codes to return:
type DescribeLogsRequest ¶
type DescribeLogsRequest struct {
*common.BaseRequest
StartTime string `json:"startTime,omitempty"`
EndTime string `json:"endTime,omitempty"`
ResUid string `json:"resUid,omitempty"`
ResEvent string `json:"resEvent,omitempty"`
ClientIP string `json:"clientIP,omitempty"`
Size int `json:"size,omitempty"`
Cursor []*interface{} `json:"cursor,omitempty"`
}
func NewDescribeLogsRequest ¶
func NewDescribeLogsRequest() (request *DescribeLogsRequest)
type DescribeLogsResponse ¶
type DescribeLogsResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response *DescribeLogsResponseParam `json:"response"`
}
func NewDescribeLogsResponse ¶
func NewDescribeLogsResponse() (response *DescribeLogsResponse)
type LogInfo ¶
type LogInfo struct {
ResUid string `json:"resUid,omitempty"`
ResType string `json:"resType,omitempty"`
ResEvent string `json:"resEvent,omitempty"`
OpsTime string `json:"opsTime,omitempty"`
EventSource string `json:"eventSource,omitempty"`
ApiVersion string `json:"apiVersion,omitempty"`
OpsUser string `json:"opsUser,omitempty"`
ClientIP string `json:"clientIP,omitempty"`
Request string `json:"request,omitempty"`
Response string `json:"response,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.