cloud_siem

package
v1.62.347 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchJobCheckRequest

type BatchJobCheckRequest struct {
	*requests.RpcRequest
	SubmitId string `position:"Body" name:"SubmitId"`
}

BatchJobCheckRequest is the request struct for api BatchJobCheck

func CreateBatchJobCheckRequest

func CreateBatchJobCheckRequest() (request *BatchJobCheckRequest)

CreateBatchJobCheckRequest creates a request to invoke BatchJobCheck API

type BatchJobCheckResponse

type BatchJobCheckResponse struct {
	*responses.BaseResponse
	Success   bool   `json:"Success" xml:"Success"`
	Code      int    `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	ErrCode   string `json:"ErrCode" xml:"ErrCode"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

BatchJobCheckResponse is the response struct for api BatchJobCheck

func CreateBatchJobCheckResponse

func CreateBatchJobCheckResponse() (response *BatchJobCheckResponse)

CreateBatchJobCheckResponse creates a response to parse from BatchJobCheck response

type BatchJobSubmitRequest

type BatchJobSubmitRequest struct {
	*requests.RpcRequest
	JsonConfig string `position:"Body" name:"JsonConfig"`
}

BatchJobSubmitRequest is the request struct for api BatchJobSubmit

func CreateBatchJobSubmitRequest

func CreateBatchJobSubmitRequest() (request *BatchJobSubmitRequest)

CreateBatchJobSubmitRequest creates a request to invoke BatchJobSubmit API

type BatchJobSubmitResponse

type BatchJobSubmitResponse struct {
	*responses.BaseResponse
	Success   bool   `json:"Success" xml:"Success"`
	Code      int    `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	ErrCode   string `json:"ErrCode" xml:"ErrCode"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

BatchJobSubmitResponse is the response struct for api BatchJobSubmit

func CreateBatchJobSubmitResponse

func CreateBatchJobSubmitResponse() (response *BatchJobSubmitResponse)

CreateBatchJobSubmitResponse creates a response to parse from BatchJobSubmit response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) BatchJobCheck

func (client *Client) BatchJobCheck(request *BatchJobCheckRequest) (response *BatchJobCheckResponse, err error)

BatchJobCheck invokes the cloud_siem.BatchJobCheck API synchronously

func (*Client) BatchJobCheckWithCallback

func (client *Client) BatchJobCheckWithCallback(request *BatchJobCheckRequest, callback func(response *BatchJobCheckResponse, err error)) <-chan int

BatchJobCheckWithCallback invokes the cloud_siem.BatchJobCheck API asynchronously

func (*Client) BatchJobCheckWithChan

func (client *Client) BatchJobCheckWithChan(request *BatchJobCheckRequest) (<-chan *BatchJobCheckResponse, <-chan error)

BatchJobCheckWithChan invokes the cloud_siem.BatchJobCheck API asynchronously

func (*Client) BatchJobSubmit

func (client *Client) BatchJobSubmit(request *BatchJobSubmitRequest) (response *BatchJobSubmitResponse, err error)

BatchJobSubmit invokes the cloud_siem.BatchJobSubmit API synchronously

func (*Client) BatchJobSubmitWithCallback

func (client *Client) BatchJobSubmitWithCallback(request *BatchJobSubmitRequest, callback func(response *BatchJobSubmitResponse, err error)) <-chan int

BatchJobSubmitWithCallback invokes the cloud_siem.BatchJobSubmit API asynchronously

func (*Client) BatchJobSubmitWithChan

func (client *Client) BatchJobSubmitWithChan(request *BatchJobSubmitRequest) (<-chan *BatchJobSubmitResponse, <-chan error)

BatchJobSubmitWithChan invokes the cloud_siem.BatchJobSubmit API asynchronously

func (*Client) SendMessage

func (client *Client) SendMessage(request *SendMessageRequest) (response *SendMessageResponse, err error)

SendMessage invokes the cloud_siem.SendMessage API synchronously

func (*Client) SendMessageWithCallback

func (client *Client) SendMessageWithCallback(request *SendMessageRequest, callback func(response *SendMessageResponse, err error)) <-chan int

SendMessageWithCallback invokes the cloud_siem.SendMessage API asynchronously

func (*Client) SendMessageWithChan

func (client *Client) SendMessageWithChan(request *SendMessageRequest) (<-chan *SendMessageResponse, <-chan error)

SendMessageWithChan invokes the cloud_siem.SendMessage API asynchronously

type ConfigList

type ConfigList struct {
	ConfigListItem []ConfigListItem `json:"ConfigList" xml:"ConfigList"`
}

ConfigList is a nested struct in cloud_siem response

type ConfigListItem

type ConfigListItem struct {
	UserId      int64             `json:"UserId" xml:"UserId"`
	ProductList []ProductListItem `json:"ProductList" xml:"ProductList"`
}

ConfigListItem is a nested struct in cloud_siem response

type Data

type Data struct {
	FinishCount int               `json:"FinishCount" xml:"FinishCount"`
	ConfigId    string            `json:"ConfigId" xml:"ConfigId"`
	SubmitId    string            `json:"SubmitId" xml:"SubmitId"`
	TaskCount   int               `json:"TaskCount" xml:"TaskCount"`
	FailedCount int               `json:"FailedCount" xml:"FailedCount"`
	TaskStatus  string            `json:"TaskStatus" xml:"TaskStatus"`
	FolderId    string            `json:"FolderId" xml:"FolderId"`
	ConfigList  []ConfigListItem  `json:"ConfigList" xml:"ConfigList"`
	ErrTaskList []ErrTaskListItem `json:"ErrTaskList" xml:"ErrTaskList"`
}

Data is a nested struct in cloud_siem response

type ErrTaskList

type ErrTaskList struct {
	ErrTaskListItem []ErrTaskListItem `json:"ErrTaskList" xml:"ErrTaskList"`
}

ErrTaskList is a nested struct in cloud_siem response

type ErrTaskListItem

type ErrTaskListItem struct {
	UserId      int64             `json:"UserId" xml:"UserId"`
	ProductList []ProductListItem `json:"ProductList" xml:"ProductList"`
}

ErrTaskListItem is a nested struct in cloud_siem response

type LogListInBatchJobCheck

type LogListInBatchJobCheck struct {
	LogListItem []LogListItem `json:"LogList" xml:"LogList"`
}

LogListInBatchJobCheck is a nested struct in cloud_siem response

type LogListInBatchJobSubmit

type LogListInBatchJobSubmit struct {
	LogListItem []LogListItem `json:"LogList" xml:"LogList"`
}

LogListInBatchJobSubmit is a nested struct in cloud_siem response

type LogListItem

type LogListItem struct {
	LogCode             string `json:"LogCode" xml:"LogCode"`
	LogStoreNamePattern string `json:"LogStoreNamePattern" xml:"LogStoreNamePattern"`
	RegionCode          string `json:"RegionCode" xml:"RegionCode"`
	ProjectNamePattern  string `json:"ProjectNamePattern" xml:"ProjectNamePattern"`
	ProductCode         string `json:"ProductCode" xml:"ProductCode"`
	ErrorCode           string `json:"ErrorCode" xml:"ErrorCode"`
}

LogListItem is a nested struct in cloud_siem response

type ProductListInBatchJobCheck

type ProductListInBatchJobCheck struct {
	ProductListItem []ProductListItem `json:"ProductList" xml:"ProductList"`
}

ProductListInBatchJobCheck is a nested struct in cloud_siem response

type ProductListInBatchJobSubmit

type ProductListInBatchJobSubmit struct {
	ProductListItem []ProductListItem `json:"ProductList" xml:"ProductList"`
}

ProductListInBatchJobSubmit is a nested struct in cloud_siem response

type ProductListItem

type ProductListItem struct {
	ProductCode string        `json:"ProductCode" xml:"ProductCode"`
	LogList     []LogListItem `json:"LogList" xml:"LogList"`
}

ProductListItem is a nested struct in cloud_siem response

type SendMessageRequest

type SendMessageRequest struct {
	*requests.RpcRequest
	ChannelType requests.Integer `position:"Body" name:"ChannelType"`
	ReceiveUid  requests.Integer `position:"Body" name:"ReceiveUid"`
}

SendMessageRequest is the request struct for api SendMessage

func CreateSendMessageRequest

func CreateSendMessageRequest() (request *SendMessageRequest)

CreateSendMessageRequest creates a request to invoke SendMessage API

type SendMessageResponse

type SendMessageResponse struct {
	*responses.BaseResponse
	Data      bool   `json:"Data" xml:"Data"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      int    `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	ErrCode   string `json:"ErrCode" xml:"ErrCode"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SendMessageResponse is the response struct for api SendMessage

func CreateSendMessageResponse

func CreateSendMessageResponse() (response *SendMessageResponse)

CreateSendMessageResponse creates a response to parse from SendMessage response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL