Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AnalyzeAppLogRequest
- type AnalyzeAppLogResponse
- type AnalyzeProductLogRequest
- type AnalyzeProductLogResponse
- type AppModel
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AnalyzeAppLog(request *AnalyzeAppLogRequest) (response *AnalyzeAppLogResponse, err error)
- func (client *Client) AnalyzeAppLogWithCallback(request *AnalyzeAppLogRequest, ...) <-chan int
- func (client *Client) AnalyzeAppLogWithChan(request *AnalyzeAppLogRequest) (<-chan *AnalyzeAppLogResponse, <-chan error)
- func (client *Client) AnalyzeProductLog(request *AnalyzeProductLogRequest) (response *AnalyzeProductLogResponse, err error)
- func (client *Client) AnalyzeProductLogWithCallback(request *AnalyzeProductLogRequest, ...) <-chan int
- func (client *Client) AnalyzeProductLogWithChan(request *AnalyzeProductLogRequest) (<-chan *AnalyzeProductLogResponse, <-chan error)
- func (client *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)
- func (client *Client) CreateAppWithCallback(request *CreateAppRequest, ...) <-chan int
- func (client *Client) CreateAppWithChan(request *CreateAppRequest) (<-chan *CreateAppResponse, <-chan error)
- func (client *Client) DataExpressionProcess(request *DataExpressionProcessRequest) (response *DataExpressionProcessResponse, err error)
- func (client *Client) DataExpressionProcessWithCallback(request *DataExpressionProcessRequest, ...) <-chan int
- func (client *Client) DataExpressionProcessWithChan(request *DataExpressionProcessRequest) (<-chan *DataExpressionProcessResponse, <-chan error)
- func (client *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error)
- func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, ...) <-chan int
- func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *DeleteAppResponse, <-chan error)
- func (client *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error)
- func (client *Client) DescribeAppWithCallback(request *DescribeAppRequest, ...) <-chan int
- func (client *Client) DescribeAppWithChan(request *DescribeAppRequest) (<-chan *DescribeAppResponse, <-chan error)
- func (client *Client) DisableAlert(request *DisableAlertRequest) (response *DisableAlertResponse, err error)
- func (client *Client) DisableAlertWithCallback(request *DisableAlertRequest, ...) <-chan int
- func (client *Client) DisableAlertWithChan(request *DisableAlertRequest) (<-chan *DisableAlertResponse, <-chan error)
- func (client *Client) EnableAlert(request *EnableAlertRequest) (response *EnableAlertResponse, err error)
- func (client *Client) EnableAlertWithCallback(request *EnableAlertRequest, ...) <-chan int
- func (client *Client) EnableAlertWithChan(request *EnableAlertRequest) (<-chan *EnableAlertResponse, <-chan error)
- func (client *Client) GetAlert(request *GetAlertRequest) (response *GetAlertResponse, err error)
- func (client *Client) GetAlertHistories(request *GetAlertHistoriesRequest) (response *GetAlertHistoriesResponse, err error)
- func (client *Client) GetAlertHistoriesWithCallback(request *GetAlertHistoriesRequest, ...) <-chan int
- func (client *Client) GetAlertHistoriesWithChan(request *GetAlertHistoriesRequest) (<-chan *GetAlertHistoriesResponse, <-chan error)
- func (client *Client) GetAlertWithCallback(request *GetAlertRequest, callback func(response *GetAlertResponse, err error)) <-chan int
- func (client *Client) GetAlertWithChan(request *GetAlertRequest) (<-chan *GetAlertResponse, <-chan error)
- func (client *Client) GetSlsService(request *GetSlsServiceRequest) (response *GetSlsServiceResponse, err error)
- func (client *Client) GetSlsServiceWithCallback(request *GetSlsServiceRequest, ...) <-chan int
- func (client *Client) GetSlsServiceWithChan(request *GetSlsServiceRequest) (<-chan *GetSlsServiceResponse, <-chan error)
- func (client *Client) InitProjectAlertResource(request *InitProjectAlertResourceRequest) (response *InitProjectAlertResourceResponse, err error)
- func (client *Client) InitProjectAlertResourceWithCallback(request *InitProjectAlertResourceRequest, ...) <-chan int
- func (client *Client) InitProjectAlertResourceWithChan(request *InitProjectAlertResourceRequest) (<-chan *InitProjectAlertResourceResponse, <-chan error)
- func (client *Client) InitUserAlertResource(request *InitUserAlertResourceRequest) (response *InitUserAlertResourceResponse, err error)
- func (client *Client) InitUserAlertResourceWithCallback(request *InitUserAlertResourceRequest, ...) <-chan int
- func (client *Client) InitUserAlertResourceWithChan(request *InitUserAlertResourceRequest) (<-chan *InitUserAlertResourceResponse, <-chan error)
- func (client *Client) OpenSlsService(request *OpenSlsServiceRequest) (response *OpenSlsServiceResponse, err error)
- func (client *Client) OpenSlsServiceWithCallback(request *OpenSlsServiceRequest, ...) <-chan int
- func (client *Client) OpenSlsServiceWithChan(request *OpenSlsServiceRequest) (<-chan *OpenSlsServiceResponse, <-chan error)
- func (client *Client) SetAlertActionPolicy(request *SetAlertActionPolicyRequest) (response *SetAlertActionPolicyResponse, err error)
- func (client *Client) SetAlertActionPolicyWithCallback(request *SetAlertActionPolicyRequest, ...) <-chan int
- func (client *Client) SetAlertActionPolicyWithChan(request *SetAlertActionPolicyRequest) (<-chan *SetAlertActionPolicyResponse, <-chan error)
- func (client *Client) SetAlertCenterResource(request *SetAlertCenterResourceRequest) (response *SetAlertCenterResourceResponse, err error)
- func (client *Client) SetAlertCenterResourceWithCallback(request *SetAlertCenterResourceRequest, ...) <-chan int
- func (client *Client) SetAlertCenterResourceWithChan(request *SetAlertCenterResourceRequest) (<-chan *SetAlertCenterResourceResponse, <-chan error)
- func (client *Client) SyncAlertGroups(request *SyncAlertGroupsRequest) (response *SyncAlertGroupsResponse, err error)
- func (client *Client) SyncAlertGroupsWithCallback(request *SyncAlertGroupsRequest, ...) <-chan int
- func (client *Client) SyncAlertGroupsWithChan(request *SyncAlertGroupsRequest) (<-chan *SyncAlertGroupsResponse, <-chan error)
- func (client *Client) SyncAlertUsers(request *SyncAlertUsersRequest) (response *SyncAlertUsersResponse, err error)
- func (client *Client) SyncAlertUsersWithCallback(request *SyncAlertUsersRequest, ...) <-chan int
- func (client *Client) SyncAlertUsersWithChan(request *SyncAlertUsersRequest) (<-chan *SyncAlertUsersResponse, <-chan error)
- func (client *Client) UpdateApp(request *UpdateAppRequest) (response *UpdateAppResponse, err error)
- func (client *Client) UpdateAppWithCallback(request *UpdateAppRequest, ...) <-chan int
- func (client *Client) UpdateAppWithChan(request *UpdateAppRequest) (<-chan *UpdateAppResponse, <-chan error)
- type CreateAppRequest
- type CreateAppResponse
- type DataExpressionProcessRequest
- type DataExpressionProcessResponse
- type DeleteAppRequest
- type DeleteAppResponse
- type DescribeAppRequest
- type DescribeAppResponse
- type DisableAlertRequest
- type DisableAlertResponse
- type EnableAlertRequest
- type EnableAlertResponse
- type GetAlertHistoriesRequest
- type GetAlertHistoriesResponse
- type GetAlertRequest
- type GetAlertResponse
- type GetSlsServiceRequest
- type GetSlsServiceResponse
- type InitProjectAlertResourceRequest
- type InitProjectAlertResourceResponse
- type InitUserAlertResourceRequest
- type InitUserAlertResourceResponse
- type OpenSlsServiceRequest
- type OpenSlsServiceResponse
- type SetAlertActionPolicyRequest
- type SetAlertActionPolicyResponse
- type SetAlertCenterResourceRequest
- type SetAlertCenterResourceResponse
- type SyncAlertGroupsRequest
- type SyncAlertGroupsResponse
- type SyncAlertUsersRequest
- type SyncAlertUsersResponse
- type UpdateAppRequest
- type UpdateAppResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func GetEndpointMap ¶ added in v1.61.144
GetEndpointMap Get Endpoint Data Map
func GetEndpointType ¶ added in v1.61.144
func GetEndpointType() string
GetEndpointType Get Endpoint Type Value
func SetClientProperty ¶ added in v1.61.144
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶ added in v1.61.144
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AnalyzeAppLogRequest ¶ added in v1.61.144
type AnalyzeAppLogRequest struct { *requests.RpcRequest AppType string `position:"Query" name:"AppType"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` VariableMap string `position:"Query" name:"VariableMap"` DisplayName string `position:"Query" name:"DisplayName"` }
AnalyzeAppLogRequest is the request struct for api AnalyzeAppLog
func CreateAnalyzeAppLogRequest ¶ added in v1.61.144
func CreateAnalyzeAppLogRequest() (request *AnalyzeAppLogRequest)
CreateAnalyzeAppLogRequest creates a request to invoke AnalyzeAppLog API
type AnalyzeAppLogResponse ¶ added in v1.61.144
type AnalyzeAppLogResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` }
AnalyzeAppLogResponse is the response struct for api AnalyzeAppLog
func CreateAnalyzeAppLogResponse ¶ added in v1.61.144
func CreateAnalyzeAppLogResponse() (response *AnalyzeAppLogResponse)
CreateAnalyzeAppLogResponse creates a response to parse from AnalyzeAppLog response
type AnalyzeProductLogRequest ¶ added in v1.61.144
type AnalyzeProductLogRequest struct { *requests.RpcRequest Project string `position:"Query" name:"Project"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` CloudProduct string `position:"Query" name:"CloudProduct"` ResourceQuota string `position:"Query" name:"ResourceQuota"` VariableMap string `position:"Query" name:"VariableMap"` ClientIp string `position:"Query" name:"ClientIp"` Lang string `position:"Query" name:"Lang"` Overwrite requests.Boolean `position:"Query" name:"Overwrite"` TTL requests.Integer `position:"Query" name:"TTL"` HotTTL requests.Integer `position:"Query" name:"HotTTL"` Region string `position:"Query" name:"Region"` Logstore string `position:"Query" name:"Logstore"` }
AnalyzeProductLogRequest is the request struct for api AnalyzeProductLog
func CreateAnalyzeProductLogRequest ¶ added in v1.61.144
func CreateAnalyzeProductLogRequest() (request *AnalyzeProductLogRequest)
CreateAnalyzeProductLogRequest creates a request to invoke AnalyzeProductLog API
type AnalyzeProductLogResponse ¶ added in v1.61.144
type AnalyzeProductLogResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` }
AnalyzeProductLogResponse is the response struct for api AnalyzeProductLog
func CreateAnalyzeProductLogResponse ¶ added in v1.61.144
func CreateAnalyzeProductLogResponse() (response *AnalyzeProductLogResponse)
CreateAnalyzeProductLogResponse creates a response to parse from AnalyzeProductLog response
type AppModel ¶ added in v1.61.144
type AppModel struct { DisplayName string `json:"DisplayName" xml:"DisplayName"` AppName string `json:"AppName" xml:"AppName"` Config string `json:"Config" xml:"Config"` Uid int64 `json:"Uid" xml:"Uid"` }
AppModel is a nested struct in sls response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
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 ¶
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 ¶ added in v1.61.144
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 ¶ added in v1.61.144
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) AnalyzeAppLog ¶ added in v1.61.144
func (client *Client) AnalyzeAppLog(request *AnalyzeAppLogRequest) (response *AnalyzeAppLogResponse, err error)
AnalyzeAppLog invokes the sls.AnalyzeAppLog API synchronously
func (*Client) AnalyzeAppLogWithCallback ¶ added in v1.61.144
func (client *Client) AnalyzeAppLogWithCallback(request *AnalyzeAppLogRequest, callback func(response *AnalyzeAppLogResponse, err error)) <-chan int
AnalyzeAppLogWithCallback invokes the sls.AnalyzeAppLog API asynchronously
func (*Client) AnalyzeAppLogWithChan ¶ added in v1.61.144
func (client *Client) AnalyzeAppLogWithChan(request *AnalyzeAppLogRequest) (<-chan *AnalyzeAppLogResponse, <-chan error)
AnalyzeAppLogWithChan invokes the sls.AnalyzeAppLog API asynchronously
func (*Client) AnalyzeProductLog ¶ added in v1.61.144
func (client *Client) AnalyzeProductLog(request *AnalyzeProductLogRequest) (response *AnalyzeProductLogResponse, err error)
AnalyzeProductLog invokes the sls.AnalyzeProductLog API synchronously
func (*Client) AnalyzeProductLogWithCallback ¶ added in v1.61.144
func (client *Client) AnalyzeProductLogWithCallback(request *AnalyzeProductLogRequest, callback func(response *AnalyzeProductLogResponse, err error)) <-chan int
AnalyzeProductLogWithCallback invokes the sls.AnalyzeProductLog API asynchronously
func (*Client) AnalyzeProductLogWithChan ¶ added in v1.61.144
func (client *Client) AnalyzeProductLogWithChan(request *AnalyzeProductLogRequest) (<-chan *AnalyzeProductLogResponse, <-chan error)
AnalyzeProductLogWithChan invokes the sls.AnalyzeProductLog API asynchronously
func (*Client) CreateApp ¶ added in v1.61.144
func (client *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)
CreateApp invokes the sls.CreateApp API synchronously
func (*Client) CreateAppWithCallback ¶ added in v1.61.144
func (client *Client) CreateAppWithCallback(request *CreateAppRequest, callback func(response *CreateAppResponse, err error)) <-chan int
CreateAppWithCallback invokes the sls.CreateApp API asynchronously
func (*Client) CreateAppWithChan ¶ added in v1.61.144
func (client *Client) CreateAppWithChan(request *CreateAppRequest) (<-chan *CreateAppResponse, <-chan error)
CreateAppWithChan invokes the sls.CreateApp API asynchronously
func (*Client) DataExpressionProcess ¶ added in v1.62.747
func (client *Client) DataExpressionProcess(request *DataExpressionProcessRequest) (response *DataExpressionProcessResponse, err error)
DataExpressionProcess invokes the sls.DataExpressionProcess API synchronously
func (*Client) DataExpressionProcessWithCallback ¶ added in v1.62.747
func (client *Client) DataExpressionProcessWithCallback(request *DataExpressionProcessRequest, callback func(response *DataExpressionProcessResponse, err error)) <-chan int
DataExpressionProcessWithCallback invokes the sls.DataExpressionProcess API asynchronously
func (*Client) DataExpressionProcessWithChan ¶ added in v1.62.747
func (client *Client) DataExpressionProcessWithChan(request *DataExpressionProcessRequest) (<-chan *DataExpressionProcessResponse, <-chan error)
DataExpressionProcessWithChan invokes the sls.DataExpressionProcess API asynchronously
func (*Client) DeleteApp ¶ added in v1.61.144
func (client *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error)
DeleteApp invokes the sls.DeleteApp API synchronously
func (*Client) DeleteAppWithCallback ¶ added in v1.61.144
func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, callback func(response *DeleteAppResponse, err error)) <-chan int
DeleteAppWithCallback invokes the sls.DeleteApp API asynchronously
func (*Client) DeleteAppWithChan ¶ added in v1.61.144
func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *DeleteAppResponse, <-chan error)
DeleteAppWithChan invokes the sls.DeleteApp API asynchronously
func (*Client) DescribeApp ¶ added in v1.61.144
func (client *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error)
DescribeApp invokes the sls.DescribeApp API synchronously
func (*Client) DescribeAppWithCallback ¶ added in v1.61.144
func (client *Client) DescribeAppWithCallback(request *DescribeAppRequest, callback func(response *DescribeAppResponse, err error)) <-chan int
DescribeAppWithCallback invokes the sls.DescribeApp API asynchronously
func (*Client) DescribeAppWithChan ¶ added in v1.61.144
func (client *Client) DescribeAppWithChan(request *DescribeAppRequest) (<-chan *DescribeAppResponse, <-chan error)
DescribeAppWithChan invokes the sls.DescribeApp API asynchronously
func (*Client) DisableAlert ¶ added in v1.61.762
func (client *Client) DisableAlert(request *DisableAlertRequest) (response *DisableAlertResponse, err error)
DisableAlert invokes the sls.DisableAlert API synchronously
func (*Client) DisableAlertWithCallback ¶ added in v1.61.762
func (client *Client) DisableAlertWithCallback(request *DisableAlertRequest, callback func(response *DisableAlertResponse, err error)) <-chan int
DisableAlertWithCallback invokes the sls.DisableAlert API asynchronously
func (*Client) DisableAlertWithChan ¶ added in v1.61.762
func (client *Client) DisableAlertWithChan(request *DisableAlertRequest) (<-chan *DisableAlertResponse, <-chan error)
DisableAlertWithChan invokes the sls.DisableAlert API asynchronously
func (*Client) EnableAlert ¶ added in v1.61.762
func (client *Client) EnableAlert(request *EnableAlertRequest) (response *EnableAlertResponse, err error)
EnableAlert invokes the sls.EnableAlert API synchronously
func (*Client) EnableAlertWithCallback ¶ added in v1.61.762
func (client *Client) EnableAlertWithCallback(request *EnableAlertRequest, callback func(response *EnableAlertResponse, err error)) <-chan int
EnableAlertWithCallback invokes the sls.EnableAlert API asynchronously
func (*Client) EnableAlertWithChan ¶ added in v1.61.762
func (client *Client) EnableAlertWithChan(request *EnableAlertRequest) (<-chan *EnableAlertResponse, <-chan error)
EnableAlertWithChan invokes the sls.EnableAlert API asynchronously
func (*Client) GetAlert ¶ added in v1.61.762
func (client *Client) GetAlert(request *GetAlertRequest) (response *GetAlertResponse, err error)
GetAlert invokes the sls.GetAlert API synchronously
func (*Client) GetAlertHistories ¶ added in v1.61.762
func (client *Client) GetAlertHistories(request *GetAlertHistoriesRequest) (response *GetAlertHistoriesResponse, err error)
GetAlertHistories invokes the sls.GetAlertHistories API synchronously
func (*Client) GetAlertHistoriesWithCallback ¶ added in v1.61.762
func (client *Client) GetAlertHistoriesWithCallback(request *GetAlertHistoriesRequest, callback func(response *GetAlertHistoriesResponse, err error)) <-chan int
GetAlertHistoriesWithCallback invokes the sls.GetAlertHistories API asynchronously
func (*Client) GetAlertHistoriesWithChan ¶ added in v1.61.762
func (client *Client) GetAlertHistoriesWithChan(request *GetAlertHistoriesRequest) (<-chan *GetAlertHistoriesResponse, <-chan error)
GetAlertHistoriesWithChan invokes the sls.GetAlertHistories API asynchronously
func (*Client) GetAlertWithCallback ¶ added in v1.61.762
func (client *Client) GetAlertWithCallback(request *GetAlertRequest, callback func(response *GetAlertResponse, err error)) <-chan int
GetAlertWithCallback invokes the sls.GetAlert API asynchronously
func (*Client) GetAlertWithChan ¶ added in v1.61.762
func (client *Client) GetAlertWithChan(request *GetAlertRequest) (<-chan *GetAlertResponse, <-chan error)
GetAlertWithChan invokes the sls.GetAlert API asynchronously
func (*Client) GetSlsService ¶ added in v1.61.488
func (client *Client) GetSlsService(request *GetSlsServiceRequest) (response *GetSlsServiceResponse, err error)
GetSlsService invokes the sls.GetSlsService API synchronously
func (*Client) GetSlsServiceWithCallback ¶ added in v1.61.488
func (client *Client) GetSlsServiceWithCallback(request *GetSlsServiceRequest, callback func(response *GetSlsServiceResponse, err error)) <-chan int
GetSlsServiceWithCallback invokes the sls.GetSlsService API asynchronously
func (*Client) GetSlsServiceWithChan ¶ added in v1.61.488
func (client *Client) GetSlsServiceWithChan(request *GetSlsServiceRequest) (<-chan *GetSlsServiceResponse, <-chan error)
GetSlsServiceWithChan invokes the sls.GetSlsService API asynchronously
func (*Client) InitProjectAlertResource ¶ added in v1.61.1246
func (client *Client) InitProjectAlertResource(request *InitProjectAlertResourceRequest) (response *InitProjectAlertResourceResponse, err error)
InitProjectAlertResource invokes the sls.InitProjectAlertResource API synchronously
func (*Client) InitProjectAlertResourceWithCallback ¶ added in v1.61.1246
func (client *Client) InitProjectAlertResourceWithCallback(request *InitProjectAlertResourceRequest, callback func(response *InitProjectAlertResourceResponse, err error)) <-chan int
InitProjectAlertResourceWithCallback invokes the sls.InitProjectAlertResource API asynchronously
func (*Client) InitProjectAlertResourceWithChan ¶ added in v1.61.1246
func (client *Client) InitProjectAlertResourceWithChan(request *InitProjectAlertResourceRequest) (<-chan *InitProjectAlertResourceResponse, <-chan error)
InitProjectAlertResourceWithChan invokes the sls.InitProjectAlertResource API asynchronously
func (*Client) InitUserAlertResource ¶ added in v1.61.1246
func (client *Client) InitUserAlertResource(request *InitUserAlertResourceRequest) (response *InitUserAlertResourceResponse, err error)
InitUserAlertResource invokes the sls.InitUserAlertResource API synchronously
func (*Client) InitUserAlertResourceWithCallback ¶ added in v1.61.1246
func (client *Client) InitUserAlertResourceWithCallback(request *InitUserAlertResourceRequest, callback func(response *InitUserAlertResourceResponse, err error)) <-chan int
InitUserAlertResourceWithCallback invokes the sls.InitUserAlertResource API asynchronously
func (*Client) InitUserAlertResourceWithChan ¶ added in v1.61.1246
func (client *Client) InitUserAlertResourceWithChan(request *InitUserAlertResourceRequest) (<-chan *InitUserAlertResourceResponse, <-chan error)
InitUserAlertResourceWithChan invokes the sls.InitUserAlertResource API asynchronously
func (*Client) OpenSlsService ¶ added in v1.61.488
func (client *Client) OpenSlsService(request *OpenSlsServiceRequest) (response *OpenSlsServiceResponse, err error)
OpenSlsService invokes the sls.OpenSlsService API synchronously
func (*Client) OpenSlsServiceWithCallback ¶ added in v1.61.488
func (client *Client) OpenSlsServiceWithCallback(request *OpenSlsServiceRequest, callback func(response *OpenSlsServiceResponse, err error)) <-chan int
OpenSlsServiceWithCallback invokes the sls.OpenSlsService API asynchronously
func (*Client) OpenSlsServiceWithChan ¶ added in v1.61.488
func (client *Client) OpenSlsServiceWithChan(request *OpenSlsServiceRequest) (<-chan *OpenSlsServiceResponse, <-chan error)
OpenSlsServiceWithChan invokes the sls.OpenSlsService API asynchronously
func (*Client) SetAlertActionPolicy ¶ added in v1.61.762
func (client *Client) SetAlertActionPolicy(request *SetAlertActionPolicyRequest) (response *SetAlertActionPolicyResponse, err error)
SetAlertActionPolicy invokes the sls.SetAlertActionPolicy API synchronously
func (*Client) SetAlertActionPolicyWithCallback ¶ added in v1.61.762
func (client *Client) SetAlertActionPolicyWithCallback(request *SetAlertActionPolicyRequest, callback func(response *SetAlertActionPolicyResponse, err error)) <-chan int
SetAlertActionPolicyWithCallback invokes the sls.SetAlertActionPolicy API asynchronously
func (*Client) SetAlertActionPolicyWithChan ¶ added in v1.61.762
func (client *Client) SetAlertActionPolicyWithChan(request *SetAlertActionPolicyRequest) (<-chan *SetAlertActionPolicyResponse, <-chan error)
SetAlertActionPolicyWithChan invokes the sls.SetAlertActionPolicy API asynchronously
func (*Client) SetAlertCenterResource ¶ added in v1.61.762
func (client *Client) SetAlertCenterResource(request *SetAlertCenterResourceRequest) (response *SetAlertCenterResourceResponse, err error)
SetAlertCenterResource invokes the sls.SetAlertCenterResource API synchronously
func (*Client) SetAlertCenterResourceWithCallback ¶ added in v1.61.762
func (client *Client) SetAlertCenterResourceWithCallback(request *SetAlertCenterResourceRequest, callback func(response *SetAlertCenterResourceResponse, err error)) <-chan int
SetAlertCenterResourceWithCallback invokes the sls.SetAlertCenterResource API asynchronously
func (*Client) SetAlertCenterResourceWithChan ¶ added in v1.61.762
func (client *Client) SetAlertCenterResourceWithChan(request *SetAlertCenterResourceRequest) (<-chan *SetAlertCenterResourceResponse, <-chan error)
SetAlertCenterResourceWithChan invokes the sls.SetAlertCenterResource API asynchronously
func (*Client) SyncAlertGroups ¶ added in v1.61.762
func (client *Client) SyncAlertGroups(request *SyncAlertGroupsRequest) (response *SyncAlertGroupsResponse, err error)
SyncAlertGroups invokes the sls.SyncAlertGroups API synchronously
func (*Client) SyncAlertGroupsWithCallback ¶ added in v1.61.762
func (client *Client) SyncAlertGroupsWithCallback(request *SyncAlertGroupsRequest, callback func(response *SyncAlertGroupsResponse, err error)) <-chan int
SyncAlertGroupsWithCallback invokes the sls.SyncAlertGroups API asynchronously
func (*Client) SyncAlertGroupsWithChan ¶ added in v1.61.762
func (client *Client) SyncAlertGroupsWithChan(request *SyncAlertGroupsRequest) (<-chan *SyncAlertGroupsResponse, <-chan error)
SyncAlertGroupsWithChan invokes the sls.SyncAlertGroups API asynchronously
func (*Client) SyncAlertUsers ¶ added in v1.61.762
func (client *Client) SyncAlertUsers(request *SyncAlertUsersRequest) (response *SyncAlertUsersResponse, err error)
SyncAlertUsers invokes the sls.SyncAlertUsers API synchronously
func (*Client) SyncAlertUsersWithCallback ¶ added in v1.61.762
func (client *Client) SyncAlertUsersWithCallback(request *SyncAlertUsersRequest, callback func(response *SyncAlertUsersResponse, err error)) <-chan int
SyncAlertUsersWithCallback invokes the sls.SyncAlertUsers API asynchronously
func (*Client) SyncAlertUsersWithChan ¶ added in v1.61.762
func (client *Client) SyncAlertUsersWithChan(request *SyncAlertUsersRequest) (<-chan *SyncAlertUsersResponse, <-chan error)
SyncAlertUsersWithChan invokes the sls.SyncAlertUsers API asynchronously
func (*Client) UpdateApp ¶ added in v1.61.144
func (client *Client) UpdateApp(request *UpdateAppRequest) (response *UpdateAppResponse, err error)
UpdateApp invokes the sls.UpdateApp API synchronously
func (*Client) UpdateAppWithCallback ¶ added in v1.61.144
func (client *Client) UpdateAppWithCallback(request *UpdateAppRequest, callback func(response *UpdateAppResponse, err error)) <-chan int
UpdateAppWithCallback invokes the sls.UpdateApp API asynchronously
func (*Client) UpdateAppWithChan ¶ added in v1.61.144
func (client *Client) UpdateAppWithChan(request *UpdateAppRequest) (<-chan *UpdateAppResponse, <-chan error)
UpdateAppWithChan invokes the sls.UpdateApp API asynchronously
type CreateAppRequest ¶ added in v1.61.144
type CreateAppRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` AppName string `position:"Query" name:"AppName"` DisplayName string `position:"Query" name:"DisplayName"` ClientIp string `position:"Query" name:"ClientIp"` Config string `position:"Body" name:"Config"` }
CreateAppRequest is the request struct for api CreateApp
func CreateCreateAppRequest ¶ added in v1.61.144
func CreateCreateAppRequest() (request *CreateAppRequest)
CreateCreateAppRequest creates a request to invoke CreateApp API
type CreateAppResponse ¶ added in v1.61.144
type CreateAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` AppName string `json:"AppName" xml:"AppName"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` }
CreateAppResponse is the response struct for api CreateApp
func CreateCreateAppResponse ¶ added in v1.61.144
func CreateCreateAppResponse() (response *CreateAppResponse)
CreateCreateAppResponse creates a response to parse from CreateApp response
type DataExpressionProcessRequest ¶ added in v1.62.747
type DataExpressionProcessRequest struct { *requests.RpcRequest Method string `position:"Query" name:"Method"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Detail string `position:"Query" name:"Detail"` }
DataExpressionProcessRequest is the request struct for api DataExpressionProcess
func CreateDataExpressionProcessRequest ¶ added in v1.62.747
func CreateDataExpressionProcessRequest() (request *DataExpressionProcessRequest)
CreateDataExpressionProcessRequest creates a request to invoke DataExpressionProcess API
type DataExpressionProcessResponse ¶ added in v1.62.747
type DataExpressionProcessResponse struct {
*responses.BaseResponse
}
DataExpressionProcessResponse is the response struct for api DataExpressionProcess
func CreateDataExpressionProcessResponse ¶ added in v1.62.747
func CreateDataExpressionProcessResponse() (response *DataExpressionProcessResponse)
CreateDataExpressionProcessResponse creates a response to parse from DataExpressionProcess response
type DeleteAppRequest ¶ added in v1.61.144
type DeleteAppRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` AppName string `position:"Query" name:"AppName"` ClientIp string `position:"Query" name:"ClientIp"` }
DeleteAppRequest is the request struct for api DeleteApp
func CreateDeleteAppRequest ¶ added in v1.61.144
func CreateDeleteAppRequest() (request *DeleteAppRequest)
CreateDeleteAppRequest creates a request to invoke DeleteApp API
type DeleteAppResponse ¶ added in v1.61.144
type DeleteAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` }
DeleteAppResponse is the response struct for api DeleteApp
func CreateDeleteAppResponse ¶ added in v1.61.144
func CreateDeleteAppResponse() (response *DeleteAppResponse)
CreateDeleteAppResponse creates a response to parse from DeleteApp response
type DescribeAppRequest ¶ added in v1.61.144
type DescribeAppRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` AppName string `position:"Query" name:"AppName"` ClientIp string `position:"Query" name:"ClientIp"` }
DescribeAppRequest is the request struct for api DescribeApp
func CreateDescribeAppRequest ¶ added in v1.61.144
func CreateDescribeAppRequest() (request *DescribeAppRequest)
CreateDescribeAppRequest creates a request to invoke DescribeApp API
type DescribeAppResponse ¶ added in v1.61.144
type DescribeAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` AppModel AppModel `json:"AppModel" xml:"AppModel"` }
DescribeAppResponse is the response struct for api DescribeApp
func CreateDescribeAppResponse ¶ added in v1.61.144
func CreateDescribeAppResponse() (response *DescribeAppResponse)
CreateDescribeAppResponse creates a response to parse from DescribeApp response
type DisableAlertRequest ¶ added in v1.61.762
type DisableAlertRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` ProjectName string `position:"Body" name:"ProjectName"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Endpoint string `position:"Body" name:"Endpoint"` AlertId string `position:"Body" name:"AlertId"` }
DisableAlertRequest is the request struct for api DisableAlert
func CreateDisableAlertRequest ¶ added in v1.61.762
func CreateDisableAlertRequest() (request *DisableAlertRequest)
CreateDisableAlertRequest creates a request to invoke DisableAlert API
type DisableAlertResponse ¶ added in v1.61.762
type DisableAlertResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
DisableAlertResponse is the response struct for api DisableAlert
func CreateDisableAlertResponse ¶ added in v1.61.762
func CreateDisableAlertResponse() (response *DisableAlertResponse)
CreateDisableAlertResponse creates a response to parse from DisableAlert response
type EnableAlertRequest ¶ added in v1.61.762
type EnableAlertRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Language string `position:"Body" name:"Language"` RuleVersion string `position:"Body" name:"RuleVersion"` Endpoint string `position:"Body" name:"Endpoint"` Tokens string `position:"Body" name:"Tokens"` App string `position:"Body" name:"App"` ProjectName string `position:"Body" name:"ProjectName"` AlertId string `position:"Body" name:"AlertId"` RuleId string `position:"Body" name:"RuleId"` Region string `position:"Body" name:"Region"` }
EnableAlertRequest is the request struct for api EnableAlert
func CreateEnableAlertRequest ¶ added in v1.61.762
func CreateEnableAlertRequest() (request *EnableAlertRequest)
CreateEnableAlertRequest creates a request to invoke EnableAlert API
type EnableAlertResponse ¶ added in v1.61.762
type EnableAlertResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
EnableAlertResponse is the response struct for api EnableAlert
func CreateEnableAlertResponse ¶ added in v1.61.762
func CreateEnableAlertResponse() (response *EnableAlertResponse)
CreateEnableAlertResponse creates a response to parse from EnableAlert response
type GetAlertHistoriesRequest ¶ added in v1.61.762
type GetAlertHistoriesRequest struct { *requests.RpcRequest Line requests.Integer `position:"Body" name:"Line"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` ToTs requests.Integer `position:"Body" name:"ToTs"` Endpoint string `position:"Body" name:"Endpoint"` App string `position:"Body" name:"App"` FromTs requests.Integer `position:"Body" name:"FromTs"` ProjectName string `position:"Body" name:"ProjectName"` Offset requests.Integer `position:"Body" name:"Offset"` AlertId string `position:"Body" name:"AlertId"` Region string `position:"Body" name:"Region"` }
GetAlertHistoriesRequest is the request struct for api GetAlertHistories
func CreateGetAlertHistoriesRequest ¶ added in v1.61.762
func CreateGetAlertHistoriesRequest() (request *GetAlertHistoriesRequest)
CreateGetAlertHistoriesRequest creates a request to invoke GetAlertHistories API
type GetAlertHistoriesResponse ¶ added in v1.61.762
type GetAlertHistoriesResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
GetAlertHistoriesResponse is the response struct for api GetAlertHistories
func CreateGetAlertHistoriesResponse ¶ added in v1.61.762
func CreateGetAlertHistoriesResponse() (response *GetAlertHistoriesResponse)
CreateGetAlertHistoriesResponse creates a response to parse from GetAlertHistories response
type GetAlertRequest ¶ added in v1.61.762
type GetAlertRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` ProjectName string `position:"Body" name:"ProjectName"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Endpoint string `position:"Body" name:"Endpoint"` AlertId string `position:"Body" name:"AlertId"` }
GetAlertRequest is the request struct for api GetAlert
func CreateGetAlertRequest ¶ added in v1.61.762
func CreateGetAlertRequest() (request *GetAlertRequest)
CreateGetAlertRequest creates a request to invoke GetAlert API
type GetAlertResponse ¶ added in v1.61.762
type GetAlertResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
GetAlertResponse is the response struct for api GetAlert
func CreateGetAlertResponse ¶ added in v1.61.762
func CreateGetAlertResponse() (response *GetAlertResponse)
CreateGetAlertResponse creates a response to parse from GetAlert response
type GetSlsServiceRequest ¶ added in v1.61.488
type GetSlsServiceRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` }
GetSlsServiceRequest is the request struct for api GetSlsService
func CreateGetSlsServiceRequest ¶ added in v1.61.488
func CreateGetSlsServiceRequest() (request *GetSlsServiceRequest)
CreateGetSlsServiceRequest creates a request to invoke GetSlsService API
type GetSlsServiceResponse ¶ added in v1.61.488
type GetSlsServiceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Enabled bool `json:"Enabled" xml:"Enabled"` Status string `json:"Status" xml:"Status"` }
GetSlsServiceResponse is the response struct for api GetSlsService
func CreateGetSlsServiceResponse ¶ added in v1.61.488
func CreateGetSlsServiceResponse() (response *GetSlsServiceResponse)
CreateGetSlsServiceResponse creates a response to parse from GetSlsService response
type InitProjectAlertResourceRequest ¶ added in v1.61.1246
type InitProjectAlertResourceRequest struct { *requests.RpcRequest ProjectName string `position:"Body" name:"ProjectName"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Region string `position:"Body" name:"Region"` }
InitProjectAlertResourceRequest is the request struct for api InitProjectAlertResource
func CreateInitProjectAlertResourceRequest ¶ added in v1.61.1246
func CreateInitProjectAlertResourceRequest() (request *InitProjectAlertResourceRequest)
CreateInitProjectAlertResourceRequest creates a request to invoke InitProjectAlertResource API
type InitProjectAlertResourceResponse ¶ added in v1.61.1246
type InitProjectAlertResourceResponse struct { *responses.BaseResponse HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
InitProjectAlertResourceResponse is the response struct for api InitProjectAlertResource
func CreateInitProjectAlertResourceResponse ¶ added in v1.61.1246
func CreateInitProjectAlertResourceResponse() (response *InitProjectAlertResourceResponse)
CreateInitProjectAlertResourceResponse creates a response to parse from InitProjectAlertResource response
type InitUserAlertResourceRequest ¶ added in v1.61.1246
type InitUserAlertResourceRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Language string `position:"Body" name:"Language"` Region string `position:"Body" name:"Region"` }
InitUserAlertResourceRequest is the request struct for api InitUserAlertResource
func CreateInitUserAlertResourceRequest ¶ added in v1.61.1246
func CreateInitUserAlertResourceRequest() (request *InitUserAlertResourceRequest)
CreateInitUserAlertResourceRequest creates a request to invoke InitUserAlertResource API
type InitUserAlertResourceResponse ¶ added in v1.61.1246
type InitUserAlertResourceResponse struct { *responses.BaseResponse HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
InitUserAlertResourceResponse is the response struct for api InitUserAlertResource
func CreateInitUserAlertResourceResponse ¶ added in v1.61.1246
func CreateInitUserAlertResourceResponse() (response *InitUserAlertResourceResponse)
CreateInitUserAlertResourceResponse creates a response to parse from InitUserAlertResource response
type OpenSlsServiceRequest ¶ added in v1.61.488
type OpenSlsServiceRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` }
OpenSlsServiceRequest is the request struct for api OpenSlsService
func CreateOpenSlsServiceRequest ¶ added in v1.61.488
func CreateOpenSlsServiceRequest() (request *OpenSlsServiceRequest)
CreateOpenSlsServiceRequest creates a request to invoke OpenSlsService API
type OpenSlsServiceResponse ¶ added in v1.61.488
type OpenSlsServiceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
OpenSlsServiceResponse is the response struct for api OpenSlsService
func CreateOpenSlsServiceResponse ¶ added in v1.61.488
func CreateOpenSlsServiceResponse() (response *OpenSlsServiceResponse)
CreateOpenSlsServiceResponse creates a response to parse from OpenSlsService response
type SetAlertActionPolicyRequest ¶ added in v1.61.762
type SetAlertActionPolicyRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` PolicyId string `position:"Body" name:"PolicyId"` Policy string `position:"Body" name:"Policy"` App string `position:"Body" name:"App"` PolicyName string `position:"Body" name:"PolicyName"` }
SetAlertActionPolicyRequest is the request struct for api SetAlertActionPolicy
func CreateSetAlertActionPolicyRequest ¶ added in v1.61.762
func CreateSetAlertActionPolicyRequest() (request *SetAlertActionPolicyRequest)
CreateSetAlertActionPolicyRequest creates a request to invoke SetAlertActionPolicy API
type SetAlertActionPolicyResponse ¶ added in v1.61.762
type SetAlertActionPolicyResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
SetAlertActionPolicyResponse is the response struct for api SetAlertActionPolicy
func CreateSetAlertActionPolicyResponse ¶ added in v1.61.762
func CreateSetAlertActionPolicyResponse() (response *SetAlertActionPolicyResponse)
CreateSetAlertActionPolicyResponse creates a response to parse from SetAlertActionPolicy response
type SetAlertCenterResourceRequest ¶ added in v1.61.762
type SetAlertCenterResourceRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Language string `position:"Body" name:"Language"` Region string `position:"Body" name:"Region"` }
SetAlertCenterResourceRequest is the request struct for api SetAlertCenterResource
func CreateSetAlertCenterResourceRequest ¶ added in v1.61.762
func CreateSetAlertCenterResourceRequest() (request *SetAlertCenterResourceRequest)
CreateSetAlertCenterResourceRequest creates a request to invoke SetAlertCenterResource API
type SetAlertCenterResourceResponse ¶ added in v1.61.762
type SetAlertCenterResourceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
SetAlertCenterResourceResponse is the response struct for api SetAlertCenterResource
func CreateSetAlertCenterResourceResponse ¶ added in v1.61.762
func CreateSetAlertCenterResourceResponse() (response *SetAlertCenterResourceResponse)
CreateSetAlertCenterResourceResponse creates a response to parse from SetAlertCenterResource response
type SyncAlertGroupsRequest ¶ added in v1.61.762
type SyncAlertGroupsRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Groups string `position:"Body" name:"Groups"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` }
SyncAlertGroupsRequest is the request struct for api SyncAlertGroups
func CreateSyncAlertGroupsRequest ¶ added in v1.61.762
func CreateSyncAlertGroupsRequest() (request *SyncAlertGroupsRequest)
CreateSyncAlertGroupsRequest creates a request to invoke SyncAlertGroups API
type SyncAlertGroupsResponse ¶ added in v1.61.762
type SyncAlertGroupsResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
SyncAlertGroupsResponse is the response struct for api SyncAlertGroups
func CreateSyncAlertGroupsResponse ¶ added in v1.61.762
func CreateSyncAlertGroupsResponse() (response *SyncAlertGroupsResponse)
CreateSyncAlertGroupsResponse creates a response to parse from SyncAlertGroups response
type SyncAlertUsersRequest ¶ added in v1.61.762
type SyncAlertUsersRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` SlsAccessToken string `position:"Query" name:"SlsAccessToken"` Users string `position:"Body" name:"Users"` }
SyncAlertUsersRequest is the request struct for api SyncAlertUsers
func CreateSyncAlertUsersRequest ¶ added in v1.61.762
func CreateSyncAlertUsersRequest() (request *SyncAlertUsersRequest)
CreateSyncAlertUsersRequest creates a request to invoke SyncAlertUsers API
type SyncAlertUsersResponse ¶ added in v1.61.762
type SyncAlertUsersResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` }
SyncAlertUsersResponse is the response struct for api SyncAlertUsers
func CreateSyncAlertUsersResponse ¶ added in v1.61.762
func CreateSyncAlertUsersResponse() (response *SyncAlertUsersResponse)
CreateSyncAlertUsersResponse creates a response to parse from SyncAlertUsers response
type UpdateAppRequest ¶ added in v1.61.144
type UpdateAppRequest struct { *requests.RpcRequest SlsAccessToken string `position:"Query" name:"SlsAccessToken"` AppName string `position:"Query" name:"AppName"` DisplayName string `position:"Query" name:"DisplayName"` ClientIp string `position:"Query" name:"ClientIp"` Config string `position:"Body" name:"Config"` }
UpdateAppRequest is the request struct for api UpdateApp
func CreateUpdateAppRequest ¶ added in v1.61.144
func CreateUpdateAppRequest() (request *UpdateAppRequest)
CreateUpdateAppRequest creates a request to invoke UpdateApp API
type UpdateAppResponse ¶ added in v1.61.144
type UpdateAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` }
UpdateAppResponse is the response struct for api UpdateApp
func CreateUpdateAppResponse ¶ added in v1.61.144
func CreateUpdateAppResponse() (response *UpdateAppResponse)
CreateUpdateAppResponse creates a response to parse from UpdateApp response
Source Files ¶
- analyze_app_log.go
- analyze_product_log.go
- client.go
- create_app.go
- data_expression_process.go
- delete_app.go
- describe_app.go
- disable_alert.go
- enable_alert.go
- endpoint.go
- get_alert.go
- get_alert_histories.go
- get_sls_service.go
- init_project_alert_resource.go
- init_user_alert_resource.go
- open_sls_service.go
- set_alert_action_policy.go
- set_alert_center_resource.go
- struct_app_model.go
- sync_alert_groups.go
- sync_alert_users.go
- update_app.go