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 CheckResourceOrchestrationRequest
- type CheckResourceOrchestrationResponse
- 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) CheckResourceOrchestration(request *CheckResourceOrchestrationRequest) (response *CheckResourceOrchestrationResponse, err error)
- func (client *Client) CheckResourceOrchestrationWithCallback(request *CheckResourceOrchestrationRequest, ...) <-chan int
- func (client *Client) CheckResourceOrchestrationWithChan(request *CheckResourceOrchestrationRequest) (<-chan *CheckResourceOrchestrationResponse, <-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) CreateImportIngestionJob(request *CreateImportIngestionJobRequest) (response *CreateImportIngestionJobResponse, err error)
- func (client *Client) CreateImportIngestionJobWithCallback(request *CreateImportIngestionJobRequest, ...) <-chan int
- func (client *Client) CreateImportIngestionJobWithChan(request *CreateImportIngestionJobRequest) (<-chan *CreateImportIngestionJobResponse, <-chan error)
- func (client *Client) CreateIngestionJob(request *CreateIngestionJobRequest) (response *CreateIngestionJobResponse, err error)
- func (client *Client) CreateIngestionJobWithCallback(request *CreateIngestionJobRequest, ...) <-chan int
- func (client *Client) CreateIngestionJobWithChan(request *CreateIngestionJobRequest) (<-chan *CreateIngestionJobResponse, <-chan error)
- func (client *Client) CreateResourceOrchestration(request *CreateResourceOrchestrationRequest) (response *CreateResourceOrchestrationResponse, err error)
- func (client *Client) CreateResourceOrchestrationWithCallback(request *CreateResourceOrchestrationRequest, ...) <-chan int
- func (client *Client) CreateResourceOrchestrationWithChan(request *CreateResourceOrchestrationRequest) (<-chan *CreateResourceOrchestrationResponse, <-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) DeleteImportIngestionJob(request *DeleteImportIngestionJobRequest) (response *DeleteImportIngestionJobResponse, err error)
- func (client *Client) DeleteImportIngestionJobWithCallback(request *DeleteImportIngestionJobRequest, ...) <-chan int
- func (client *Client) DeleteImportIngestionJobWithChan(request *DeleteImportIngestionJobRequest) (<-chan *DeleteImportIngestionJobResponse, <-chan error)
- func (client *Client) DeleteIngestionJob(request *DeleteIngestionJobRequest) (response *DeleteIngestionJobResponse, err error)
- func (client *Client) DeleteIngestionJobWithCallback(request *DeleteIngestionJobRequest, ...) <-chan int
- func (client *Client) DeleteIngestionJobWithChan(request *DeleteIngestionJobRequest) (<-chan *DeleteIngestionJobResponse, <-chan error)
- func (client *Client) DeleteLogResource(request *DeleteLogResourceRequest) (response *DeleteLogResourceResponse, err error)
- func (client *Client) DeleteLogResourceWithCallback(request *DeleteLogResourceRequest, ...) <-chan int
- func (client *Client) DeleteLogResourceWithChan(request *DeleteLogResourceRequest) (<-chan *DeleteLogResourceResponse, <-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) QuerySafService(request *QuerySafServiceRequest) (response *QuerySafServiceResponse, err error)
- func (client *Client) QuerySafServiceWithCallback(request *QuerySafServiceRequest, ...) <-chan int
- func (client *Client) QuerySafServiceWithChan(request *QuerySafServiceRequest) (<-chan *QuerySafServiceResponse, <-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) SetAlertCenterResourceByConsole(request *SetAlertCenterResourceByConsoleRequest) (response *SetAlertCenterResourceByConsoleResponse, err error)
- func (client *Client) SetAlertCenterResourceByConsoleWithCallback(request *SetAlertCenterResourceByConsoleRequest, ...) <-chan int
- func (client *Client) SetAlertCenterResourceByConsoleWithChan(request *SetAlertCenterResourceByConsoleRequest) (<-chan *SetAlertCenterResourceByConsoleResponse, <-chan 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 CreateImportIngestionJobRequest
- type CreateImportIngestionJobResponse
- type CreateIngestionJobRequest
- type CreateIngestionJobResponse
- type CreateResourceOrchestrationRequest
- type CreateResourceOrchestrationResponse
- type DeleteAppRequest
- type DeleteAppResponse
- type DeleteImportIngestionJobRequest
- type DeleteImportIngestionJobResponse
- type DeleteIngestionJobRequest
- type DeleteIngestionJobResponse
- type DeleteLogResourceRequest
- type DeleteLogResourceResponse
- 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 QuerySafServiceRequest
- type QuerySafServiceResponse
- type SetAlertActionPolicyRequest
- type SetAlertActionPolicyResponse
- type SetAlertCenterResourceByConsoleRequest
- type SetAlertCenterResourceByConsoleResponse
- 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 SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AnalyzeAppLogRequest ¶
type AnalyzeAppLogRequest struct { *requests.RpcRequest AppType string `position:"Query" name:"AppType"` VariableMap string `position:"Query" name:"VariableMap"` DisplayName string `position:"Query" name:"DisplayName"` }
AnalyzeAppLogRequest is the request struct for api AnalyzeAppLog
func CreateAnalyzeAppLogRequest ¶
func CreateAnalyzeAppLogRequest() (request *AnalyzeAppLogRequest)
CreateAnalyzeAppLogRequest creates a request to invoke AnalyzeAppLog API
type AnalyzeAppLogResponse ¶
type AnalyzeAppLogResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` }
AnalyzeAppLogResponse is the response struct for api AnalyzeAppLog
func CreateAnalyzeAppLogResponse ¶
func CreateAnalyzeAppLogResponse() (response *AnalyzeAppLogResponse)
CreateAnalyzeAppLogResponse creates a response to parse from AnalyzeAppLog response
type AnalyzeProductLogRequest ¶
type AnalyzeProductLogRequest struct { *requests.RpcRequest Project string `position:"Query" name:"Project"` CloudProduct string `position:"Query" name:"CloudProduct"` ResourceQuota string `position:"Query" name:"ResourceQuota"` VariableMap string `position:"Query" name:"VariableMap"` TTL requests.Integer `position:"Query" name:"TTL"` ClientIp string `position:"Query" name:"ClientIp"` Region string `position:"Query" name:"Region"` Lang string `position:"Query" name:"Lang"` Logstore string `position:"Query" name:"Logstore"` Overwrite requests.Boolean `position:"Query" name:"Overwrite"` }
AnalyzeProductLogRequest is the request struct for api AnalyzeProductLog
func CreateAnalyzeProductLogRequest ¶
func CreateAnalyzeProductLogRequest() (request *AnalyzeProductLogRequest)
CreateAnalyzeProductLogRequest creates a request to invoke AnalyzeProductLog API
type AnalyzeProductLogResponse ¶
type AnalyzeProductLogResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` }
AnalyzeProductLogResponse is the response struct for api AnalyzeProductLog
func CreateAnalyzeProductLogResponse ¶
func CreateAnalyzeProductLogResponse() (response *AnalyzeProductLogResponse)
CreateAnalyzeProductLogResponse creates a response to parse from AnalyzeProductLog response
type AppModel ¶
type AppModel struct { Uid int64 `json:"Uid" xml:"Uid"` AppName string `json:"AppName" xml:"AppName"` Config string `json:"Config" xml:"Config"` DisplayName string `json:"DisplayName" xml:"DisplayName"` }
AppModel is a nested struct in sls response
type CheckResourceOrchestrationRequest ¶
type CheckResourceOrchestrationRequest struct { *requests.RpcRequest Language string `position:"Query" name:"Language"` OperationPolicy string `position:"Query" name:"OperationPolicy"` AssetsId string `position:"Query" name:"AssetsId"` }
CheckResourceOrchestrationRequest is the request struct for api CheckResourceOrchestration
func CreateCheckResourceOrchestrationRequest ¶
func CreateCheckResourceOrchestrationRequest() (request *CheckResourceOrchestrationRequest)
CreateCheckResourceOrchestrationRequest creates a request to invoke CheckResourceOrchestration API
type CheckResourceOrchestrationResponse ¶
type CheckResourceOrchestrationResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` Data string `json:"Data" xml:"Data"` }
CheckResourceOrchestrationResponse is the response struct for api CheckResourceOrchestration
func CreateCheckResourceOrchestrationResponse ¶
func CreateCheckResourceOrchestrationResponse() (response *CheckResourceOrchestrationResponse)
CreateCheckResourceOrchestrationResponse creates a response to parse from CheckResourceOrchestration 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 ¶
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) AnalyzeAppLog ¶
func (client *Client) AnalyzeAppLog(request *AnalyzeAppLogRequest) (response *AnalyzeAppLogResponse, err error)
AnalyzeAppLog invokes the sls.AnalyzeAppLog API synchronously
func (*Client) AnalyzeAppLogWithCallback ¶
func (client *Client) AnalyzeAppLogWithCallback(request *AnalyzeAppLogRequest, callback func(response *AnalyzeAppLogResponse, err error)) <-chan int
AnalyzeAppLogWithCallback invokes the sls.AnalyzeAppLog API asynchronously
func (*Client) AnalyzeAppLogWithChan ¶
func (client *Client) AnalyzeAppLogWithChan(request *AnalyzeAppLogRequest) (<-chan *AnalyzeAppLogResponse, <-chan error)
AnalyzeAppLogWithChan invokes the sls.AnalyzeAppLog API asynchronously
func (*Client) AnalyzeProductLog ¶
func (client *Client) AnalyzeProductLog(request *AnalyzeProductLogRequest) (response *AnalyzeProductLogResponse, err error)
AnalyzeProductLog invokes the sls.AnalyzeProductLog API synchronously
func (*Client) AnalyzeProductLogWithCallback ¶
func (client *Client) AnalyzeProductLogWithCallback(request *AnalyzeProductLogRequest, callback func(response *AnalyzeProductLogResponse, err error)) <-chan int
AnalyzeProductLogWithCallback invokes the sls.AnalyzeProductLog API asynchronously
func (*Client) AnalyzeProductLogWithChan ¶
func (client *Client) AnalyzeProductLogWithChan(request *AnalyzeProductLogRequest) (<-chan *AnalyzeProductLogResponse, <-chan error)
AnalyzeProductLogWithChan invokes the sls.AnalyzeProductLog API asynchronously
func (*Client) CheckResourceOrchestration ¶
func (client *Client) CheckResourceOrchestration(request *CheckResourceOrchestrationRequest) (response *CheckResourceOrchestrationResponse, err error)
CheckResourceOrchestration invokes the sls.CheckResourceOrchestration API synchronously
func (*Client) CheckResourceOrchestrationWithCallback ¶
func (client *Client) CheckResourceOrchestrationWithCallback(request *CheckResourceOrchestrationRequest, callback func(response *CheckResourceOrchestrationResponse, err error)) <-chan int
CheckResourceOrchestrationWithCallback invokes the sls.CheckResourceOrchestration API asynchronously
func (*Client) CheckResourceOrchestrationWithChan ¶
func (client *Client) CheckResourceOrchestrationWithChan(request *CheckResourceOrchestrationRequest) (<-chan *CheckResourceOrchestrationResponse, <-chan error)
CheckResourceOrchestrationWithChan invokes the sls.CheckResourceOrchestration API asynchronously
func (*Client) CreateApp ¶
func (client *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)
CreateApp invokes the sls.CreateApp API synchronously
func (*Client) CreateAppWithCallback ¶
func (client *Client) CreateAppWithCallback(request *CreateAppRequest, callback func(response *CreateAppResponse, err error)) <-chan int
CreateAppWithCallback invokes the sls.CreateApp API asynchronously
func (*Client) CreateAppWithChan ¶
func (client *Client) CreateAppWithChan(request *CreateAppRequest) (<-chan *CreateAppResponse, <-chan error)
CreateAppWithChan invokes the sls.CreateApp API asynchronously
func (*Client) CreateImportIngestionJob ¶
func (client *Client) CreateImportIngestionJob(request *CreateImportIngestionJobRequest) (response *CreateImportIngestionJobResponse, err error)
CreateImportIngestionJob invokes the sls.CreateImportIngestionJob API synchronously
func (*Client) CreateImportIngestionJobWithCallback ¶
func (client *Client) CreateImportIngestionJobWithCallback(request *CreateImportIngestionJobRequest, callback func(response *CreateImportIngestionJobResponse, err error)) <-chan int
CreateImportIngestionJobWithCallback invokes the sls.CreateImportIngestionJob API asynchronously
func (*Client) CreateImportIngestionJobWithChan ¶
func (client *Client) CreateImportIngestionJobWithChan(request *CreateImportIngestionJobRequest) (<-chan *CreateImportIngestionJobResponse, <-chan error)
CreateImportIngestionJobWithChan invokes the sls.CreateImportIngestionJob API asynchronously
func (*Client) CreateIngestionJob ¶
func (client *Client) CreateIngestionJob(request *CreateIngestionJobRequest) (response *CreateIngestionJobResponse, err error)
CreateIngestionJob invokes the sls.CreateIngestionJob API synchronously
func (*Client) CreateIngestionJobWithCallback ¶
func (client *Client) CreateIngestionJobWithCallback(request *CreateIngestionJobRequest, callback func(response *CreateIngestionJobResponse, err error)) <-chan int
CreateIngestionJobWithCallback invokes the sls.CreateIngestionJob API asynchronously
func (*Client) CreateIngestionJobWithChan ¶
func (client *Client) CreateIngestionJobWithChan(request *CreateIngestionJobRequest) (<-chan *CreateIngestionJobResponse, <-chan error)
CreateIngestionJobWithChan invokes the sls.CreateIngestionJob API asynchronously
func (*Client) CreateResourceOrchestration ¶
func (client *Client) CreateResourceOrchestration(request *CreateResourceOrchestrationRequest) (response *CreateResourceOrchestrationResponse, err error)
CreateResourceOrchestration invokes the sls.CreateResourceOrchestration API synchronously
func (*Client) CreateResourceOrchestrationWithCallback ¶
func (client *Client) CreateResourceOrchestrationWithCallback(request *CreateResourceOrchestrationRequest, callback func(response *CreateResourceOrchestrationResponse, err error)) <-chan int
CreateResourceOrchestrationWithCallback invokes the sls.CreateResourceOrchestration API asynchronously
func (*Client) CreateResourceOrchestrationWithChan ¶
func (client *Client) CreateResourceOrchestrationWithChan(request *CreateResourceOrchestrationRequest) (<-chan *CreateResourceOrchestrationResponse, <-chan error)
CreateResourceOrchestrationWithChan invokes the sls.CreateResourceOrchestration API asynchronously
func (*Client) DeleteApp ¶
func (client *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error)
DeleteApp invokes the sls.DeleteApp API synchronously
func (*Client) DeleteAppWithCallback ¶
func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, callback func(response *DeleteAppResponse, err error)) <-chan int
DeleteAppWithCallback invokes the sls.DeleteApp API asynchronously
func (*Client) DeleteAppWithChan ¶
func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *DeleteAppResponse, <-chan error)
DeleteAppWithChan invokes the sls.DeleteApp API asynchronously
func (*Client) DeleteImportIngestionJob ¶
func (client *Client) DeleteImportIngestionJob(request *DeleteImportIngestionJobRequest) (response *DeleteImportIngestionJobResponse, err error)
DeleteImportIngestionJob invokes the sls.DeleteImportIngestionJob API synchronously
func (*Client) DeleteImportIngestionJobWithCallback ¶
func (client *Client) DeleteImportIngestionJobWithCallback(request *DeleteImportIngestionJobRequest, callback func(response *DeleteImportIngestionJobResponse, err error)) <-chan int
DeleteImportIngestionJobWithCallback invokes the sls.DeleteImportIngestionJob API asynchronously
func (*Client) DeleteImportIngestionJobWithChan ¶
func (client *Client) DeleteImportIngestionJobWithChan(request *DeleteImportIngestionJobRequest) (<-chan *DeleteImportIngestionJobResponse, <-chan error)
DeleteImportIngestionJobWithChan invokes the sls.DeleteImportIngestionJob API asynchronously
func (*Client) DeleteIngestionJob ¶
func (client *Client) DeleteIngestionJob(request *DeleteIngestionJobRequest) (response *DeleteIngestionJobResponse, err error)
DeleteIngestionJob invokes the sls.DeleteIngestionJob API synchronously
func (*Client) DeleteIngestionJobWithCallback ¶
func (client *Client) DeleteIngestionJobWithCallback(request *DeleteIngestionJobRequest, callback func(response *DeleteIngestionJobResponse, err error)) <-chan int
DeleteIngestionJobWithCallback invokes the sls.DeleteIngestionJob API asynchronously
func (*Client) DeleteIngestionJobWithChan ¶
func (client *Client) DeleteIngestionJobWithChan(request *DeleteIngestionJobRequest) (<-chan *DeleteIngestionJobResponse, <-chan error)
DeleteIngestionJobWithChan invokes the sls.DeleteIngestionJob API asynchronously
func (*Client) DeleteLogResource ¶
func (client *Client) DeleteLogResource(request *DeleteLogResourceRequest) (response *DeleteLogResourceResponse, err error)
DeleteLogResource invokes the sls.DeleteLogResource API synchronously
func (*Client) DeleteLogResourceWithCallback ¶
func (client *Client) DeleteLogResourceWithCallback(request *DeleteLogResourceRequest, callback func(response *DeleteLogResourceResponse, err error)) <-chan int
DeleteLogResourceWithCallback invokes the sls.DeleteLogResource API asynchronously
func (*Client) DeleteLogResourceWithChan ¶
func (client *Client) DeleteLogResourceWithChan(request *DeleteLogResourceRequest) (<-chan *DeleteLogResourceResponse, <-chan error)
DeleteLogResourceWithChan invokes the sls.DeleteLogResource API asynchronously
func (*Client) DescribeApp ¶
func (client *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error)
DescribeApp invokes the sls.DescribeApp API synchronously
func (*Client) DescribeAppWithCallback ¶
func (client *Client) DescribeAppWithCallback(request *DescribeAppRequest, callback func(response *DescribeAppResponse, err error)) <-chan int
DescribeAppWithCallback invokes the sls.DescribeApp API asynchronously
func (*Client) DescribeAppWithChan ¶
func (client *Client) DescribeAppWithChan(request *DescribeAppRequest) (<-chan *DescribeAppResponse, <-chan error)
DescribeAppWithChan invokes the sls.DescribeApp API asynchronously
func (*Client) DisableAlert ¶
func (client *Client) DisableAlert(request *DisableAlertRequest) (response *DisableAlertResponse, err error)
DisableAlert invokes the sls.DisableAlert API synchronously
func (*Client) DisableAlertWithCallback ¶
func (client *Client) DisableAlertWithCallback(request *DisableAlertRequest, callback func(response *DisableAlertResponse, err error)) <-chan int
DisableAlertWithCallback invokes the sls.DisableAlert API asynchronously
func (*Client) DisableAlertWithChan ¶
func (client *Client) DisableAlertWithChan(request *DisableAlertRequest) (<-chan *DisableAlertResponse, <-chan error)
DisableAlertWithChan invokes the sls.DisableAlert API asynchronously
func (*Client) EnableAlert ¶
func (client *Client) EnableAlert(request *EnableAlertRequest) (response *EnableAlertResponse, err error)
EnableAlert invokes the sls.EnableAlert API synchronously
func (*Client) EnableAlertWithCallback ¶
func (client *Client) EnableAlertWithCallback(request *EnableAlertRequest, callback func(response *EnableAlertResponse, err error)) <-chan int
EnableAlertWithCallback invokes the sls.EnableAlert API asynchronously
func (*Client) EnableAlertWithChan ¶
func (client *Client) EnableAlertWithChan(request *EnableAlertRequest) (<-chan *EnableAlertResponse, <-chan error)
EnableAlertWithChan invokes the sls.EnableAlert API asynchronously
func (*Client) GetAlert ¶
func (client *Client) GetAlert(request *GetAlertRequest) (response *GetAlertResponse, err error)
GetAlert invokes the sls.GetAlert API synchronously
func (*Client) GetAlertHistories ¶
func (client *Client) GetAlertHistories(request *GetAlertHistoriesRequest) (response *GetAlertHistoriesResponse, err error)
GetAlertHistories invokes the sls.GetAlertHistories API synchronously
func (*Client) GetAlertHistoriesWithCallback ¶
func (client *Client) GetAlertHistoriesWithCallback(request *GetAlertHistoriesRequest, callback func(response *GetAlertHistoriesResponse, err error)) <-chan int
GetAlertHistoriesWithCallback invokes the sls.GetAlertHistories API asynchronously
func (*Client) GetAlertHistoriesWithChan ¶
func (client *Client) GetAlertHistoriesWithChan(request *GetAlertHistoriesRequest) (<-chan *GetAlertHistoriesResponse, <-chan error)
GetAlertHistoriesWithChan invokes the sls.GetAlertHistories API asynchronously
func (*Client) GetAlertWithCallback ¶
func (client *Client) GetAlertWithCallback(request *GetAlertRequest, callback func(response *GetAlertResponse, err error)) <-chan int
GetAlertWithCallback invokes the sls.GetAlert API asynchronously
func (*Client) GetAlertWithChan ¶
func (client *Client) GetAlertWithChan(request *GetAlertRequest) (<-chan *GetAlertResponse, <-chan error)
GetAlertWithChan invokes the sls.GetAlert API asynchronously
func (*Client) GetSlsService ¶
func (client *Client) GetSlsService(request *GetSlsServiceRequest) (response *GetSlsServiceResponse, err error)
GetSlsService invokes the sls.GetSlsService API synchronously
func (*Client) GetSlsServiceWithCallback ¶
func (client *Client) GetSlsServiceWithCallback(request *GetSlsServiceRequest, callback func(response *GetSlsServiceResponse, err error)) <-chan int
GetSlsServiceWithCallback invokes the sls.GetSlsService API asynchronously
func (*Client) GetSlsServiceWithChan ¶
func (client *Client) GetSlsServiceWithChan(request *GetSlsServiceRequest) (<-chan *GetSlsServiceResponse, <-chan error)
GetSlsServiceWithChan invokes the sls.GetSlsService API asynchronously
func (*Client) InitProjectAlertResource ¶
func (client *Client) InitProjectAlertResource(request *InitProjectAlertResourceRequest) (response *InitProjectAlertResourceResponse, err error)
InitProjectAlertResource invokes the sls.InitProjectAlertResource API synchronously
func (*Client) InitProjectAlertResourceWithCallback ¶
func (client *Client) InitProjectAlertResourceWithCallback(request *InitProjectAlertResourceRequest, callback func(response *InitProjectAlertResourceResponse, err error)) <-chan int
InitProjectAlertResourceWithCallback invokes the sls.InitProjectAlertResource API asynchronously
func (*Client) InitProjectAlertResourceWithChan ¶
func (client *Client) InitProjectAlertResourceWithChan(request *InitProjectAlertResourceRequest) (<-chan *InitProjectAlertResourceResponse, <-chan error)
InitProjectAlertResourceWithChan invokes the sls.InitProjectAlertResource API asynchronously
func (*Client) InitUserAlertResource ¶
func (client *Client) InitUserAlertResource(request *InitUserAlertResourceRequest) (response *InitUserAlertResourceResponse, err error)
InitUserAlertResource invokes the sls.InitUserAlertResource API synchronously
func (*Client) InitUserAlertResourceWithCallback ¶
func (client *Client) InitUserAlertResourceWithCallback(request *InitUserAlertResourceRequest, callback func(response *InitUserAlertResourceResponse, err error)) <-chan int
InitUserAlertResourceWithCallback invokes the sls.InitUserAlertResource API asynchronously
func (*Client) InitUserAlertResourceWithChan ¶
func (client *Client) InitUserAlertResourceWithChan(request *InitUserAlertResourceRequest) (<-chan *InitUserAlertResourceResponse, <-chan error)
InitUserAlertResourceWithChan invokes the sls.InitUserAlertResource API asynchronously
func (*Client) OpenSlsService ¶
func (client *Client) OpenSlsService(request *OpenSlsServiceRequest) (response *OpenSlsServiceResponse, err error)
OpenSlsService invokes the sls.OpenSlsService API synchronously
func (*Client) OpenSlsServiceWithCallback ¶
func (client *Client) OpenSlsServiceWithCallback(request *OpenSlsServiceRequest, callback func(response *OpenSlsServiceResponse, err error)) <-chan int
OpenSlsServiceWithCallback invokes the sls.OpenSlsService API asynchronously
func (*Client) OpenSlsServiceWithChan ¶
func (client *Client) OpenSlsServiceWithChan(request *OpenSlsServiceRequest) (<-chan *OpenSlsServiceResponse, <-chan error)
OpenSlsServiceWithChan invokes the sls.OpenSlsService API asynchronously
func (*Client) QuerySafService ¶
func (client *Client) QuerySafService(request *QuerySafServiceRequest) (response *QuerySafServiceResponse, err error)
QuerySafService invokes the sls.QuerySafService API synchronously
func (*Client) QuerySafServiceWithCallback ¶
func (client *Client) QuerySafServiceWithCallback(request *QuerySafServiceRequest, callback func(response *QuerySafServiceResponse, err error)) <-chan int
QuerySafServiceWithCallback invokes the sls.QuerySafService API asynchronously
func (*Client) QuerySafServiceWithChan ¶
func (client *Client) QuerySafServiceWithChan(request *QuerySafServiceRequest) (<-chan *QuerySafServiceResponse, <-chan error)
QuerySafServiceWithChan invokes the sls.QuerySafService API asynchronously
func (*Client) SetAlertActionPolicy ¶
func (client *Client) SetAlertActionPolicy(request *SetAlertActionPolicyRequest) (response *SetAlertActionPolicyResponse, err error)
SetAlertActionPolicy invokes the sls.SetAlertActionPolicy API synchronously
func (*Client) SetAlertActionPolicyWithCallback ¶
func (client *Client) SetAlertActionPolicyWithCallback(request *SetAlertActionPolicyRequest, callback func(response *SetAlertActionPolicyResponse, err error)) <-chan int
SetAlertActionPolicyWithCallback invokes the sls.SetAlertActionPolicy API asynchronously
func (*Client) SetAlertActionPolicyWithChan ¶
func (client *Client) SetAlertActionPolicyWithChan(request *SetAlertActionPolicyRequest) (<-chan *SetAlertActionPolicyResponse, <-chan error)
SetAlertActionPolicyWithChan invokes the sls.SetAlertActionPolicy API asynchronously
func (*Client) SetAlertCenterResource ¶
func (client *Client) SetAlertCenterResource(request *SetAlertCenterResourceRequest) (response *SetAlertCenterResourceResponse, err error)
SetAlertCenterResource invokes the sls.SetAlertCenterResource API synchronously
func (*Client) SetAlertCenterResourceByConsole ¶
func (client *Client) SetAlertCenterResourceByConsole(request *SetAlertCenterResourceByConsoleRequest) (response *SetAlertCenterResourceByConsoleResponse, err error)
SetAlertCenterResourceByConsole invokes the sls.SetAlertCenterResourceByConsole API synchronously
func (*Client) SetAlertCenterResourceByConsoleWithCallback ¶
func (client *Client) SetAlertCenterResourceByConsoleWithCallback(request *SetAlertCenterResourceByConsoleRequest, callback func(response *SetAlertCenterResourceByConsoleResponse, err error)) <-chan int
SetAlertCenterResourceByConsoleWithCallback invokes the sls.SetAlertCenterResourceByConsole API asynchronously
func (*Client) SetAlertCenterResourceByConsoleWithChan ¶
func (client *Client) SetAlertCenterResourceByConsoleWithChan(request *SetAlertCenterResourceByConsoleRequest) (<-chan *SetAlertCenterResourceByConsoleResponse, <-chan error)
SetAlertCenterResourceByConsoleWithChan invokes the sls.SetAlertCenterResourceByConsole API asynchronously
func (*Client) SetAlertCenterResourceWithCallback ¶
func (client *Client) SetAlertCenterResourceWithCallback(request *SetAlertCenterResourceRequest, callback func(response *SetAlertCenterResourceResponse, err error)) <-chan int
SetAlertCenterResourceWithCallback invokes the sls.SetAlertCenterResource API asynchronously
func (*Client) SetAlertCenterResourceWithChan ¶
func (client *Client) SetAlertCenterResourceWithChan(request *SetAlertCenterResourceRequest) (<-chan *SetAlertCenterResourceResponse, <-chan error)
SetAlertCenterResourceWithChan invokes the sls.SetAlertCenterResource API asynchronously
func (*Client) SyncAlertGroups ¶
func (client *Client) SyncAlertGroups(request *SyncAlertGroupsRequest) (response *SyncAlertGroupsResponse, err error)
SyncAlertGroups invokes the sls.SyncAlertGroups API synchronously
func (*Client) SyncAlertGroupsWithCallback ¶
func (client *Client) SyncAlertGroupsWithCallback(request *SyncAlertGroupsRequest, callback func(response *SyncAlertGroupsResponse, err error)) <-chan int
SyncAlertGroupsWithCallback invokes the sls.SyncAlertGroups API asynchronously
func (*Client) SyncAlertGroupsWithChan ¶
func (client *Client) SyncAlertGroupsWithChan(request *SyncAlertGroupsRequest) (<-chan *SyncAlertGroupsResponse, <-chan error)
SyncAlertGroupsWithChan invokes the sls.SyncAlertGroups API asynchronously
func (*Client) SyncAlertUsers ¶
func (client *Client) SyncAlertUsers(request *SyncAlertUsersRequest) (response *SyncAlertUsersResponse, err error)
SyncAlertUsers invokes the sls.SyncAlertUsers API synchronously
func (*Client) SyncAlertUsersWithCallback ¶
func (client *Client) SyncAlertUsersWithCallback(request *SyncAlertUsersRequest, callback func(response *SyncAlertUsersResponse, err error)) <-chan int
SyncAlertUsersWithCallback invokes the sls.SyncAlertUsers API asynchronously
func (*Client) SyncAlertUsersWithChan ¶
func (client *Client) SyncAlertUsersWithChan(request *SyncAlertUsersRequest) (<-chan *SyncAlertUsersResponse, <-chan error)
SyncAlertUsersWithChan invokes the sls.SyncAlertUsers API asynchronously
func (*Client) UpdateApp ¶
func (client *Client) UpdateApp(request *UpdateAppRequest) (response *UpdateAppResponse, err error)
UpdateApp invokes the sls.UpdateApp API synchronously
func (*Client) UpdateAppWithCallback ¶
func (client *Client) UpdateAppWithCallback(request *UpdateAppRequest, callback func(response *UpdateAppResponse, err error)) <-chan int
UpdateAppWithCallback invokes the sls.UpdateApp API asynchronously
func (*Client) UpdateAppWithChan ¶
func (client *Client) UpdateAppWithChan(request *UpdateAppRequest) (<-chan *UpdateAppResponse, <-chan error)
UpdateAppWithChan invokes the sls.UpdateApp API asynchronously
type CreateAppRequest ¶
type CreateAppRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` 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 ¶
func CreateCreateAppRequest() (request *CreateAppRequest)
CreateCreateAppRequest creates a request to invoke CreateApp API
type CreateAppResponse ¶
type CreateAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` AppName string `json:"AppName" xml:"AppName"` }
CreateAppResponse is the response struct for api CreateApp
func CreateCreateAppResponse ¶
func CreateCreateAppResponse() (response *CreateAppResponse)
CreateCreateAppResponse creates a response to parse from CreateApp response
type CreateImportIngestionJobRequest ¶
type CreateImportIngestionJobRequest struct { *requests.RpcRequest Args string `position:"Body" name:"Args"` Image string `position:"Body" name:"Image"` EnvFromSecret string `position:"Body" name:"EnvFromSecret"` RestartPolicy string `position:"Body" name:"RestartPolicy"` Parallelism requests.Integer `position:"Body" name:"Parallelism"` Namespace string `position:"Body" name:"Namespace"` Completions requests.Integer `position:"Body" name:"Completions"` EnvVars string `position:"Body" name:"EnvVars"` ImagePullSecret string `position:"Body" name:"ImagePullSecret"` CallerId string `position:"Body" name:"CallerId"` Region string `position:"Body" name:"Region"` JobName string `position:"Body" name:"JobName"` }
CreateImportIngestionJobRequest is the request struct for api CreateImportIngestionJob
func CreateCreateImportIngestionJobRequest ¶
func CreateCreateImportIngestionJobRequest() (request *CreateImportIngestionJobRequest)
CreateCreateImportIngestionJobRequest creates a request to invoke CreateImportIngestionJob API
type CreateImportIngestionJobResponse ¶
type CreateImportIngestionJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
CreateImportIngestionJobResponse is the response struct for api CreateImportIngestionJob
func CreateCreateImportIngestionJobResponse ¶
func CreateCreateImportIngestionJobResponse() (response *CreateImportIngestionJobResponse)
CreateCreateImportIngestionJobResponse creates a response to parse from CreateImportIngestionJob response
type CreateIngestionJobRequest ¶
type CreateIngestionJobRequest struct { *requests.RpcRequest Args string `position:"Body" name:"Args"` Image string `position:"Body" name:"Image"` EnvFromSecret string `position:"Body" name:"EnvFromSecret"` RestartPolicy string `position:"Body" name:"RestartPolicy"` Parallelism requests.Integer `position:"Body" name:"Parallelism"` Namespace string `position:"Body" name:"Namespace"` Completions requests.Integer `position:"Body" name:"Completions"` EnvVars string `position:"Body" name:"EnvVars"` ImagePullSecret string `position:"Body" name:"ImagePullSecret"` CallerId string `position:"Body" name:"CallerId"` Region string `position:"Body" name:"Region"` JobName string `position:"Body" name:"JobName"` }
CreateIngestionJobRequest is the request struct for api CreateIngestionJob
func CreateCreateIngestionJobRequest ¶
func CreateCreateIngestionJobRequest() (request *CreateIngestionJobRequest)
CreateCreateIngestionJobRequest creates a request to invoke CreateIngestionJob API
type CreateIngestionJobResponse ¶
type CreateIngestionJobResponse struct { *responses.BaseResponse Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateIngestionJobResponse is the response struct for api CreateIngestionJob
func CreateCreateIngestionJobResponse ¶
func CreateCreateIngestionJobResponse() (response *CreateIngestionJobResponse)
CreateCreateIngestionJobResponse creates a response to parse from CreateIngestionJob response
type CreateResourceOrchestrationRequest ¶
type CreateResourceOrchestrationRequest struct { *requests.RpcRequest Language string `position:"Query" name:"Language"` OperationPolicy string `position:"Query" name:"OperationPolicy"` Tokens string `position:"Query" name:"Tokens"` AssetsId string `position:"Query" name:"AssetsId"` }
CreateResourceOrchestrationRequest is the request struct for api CreateResourceOrchestration
func CreateCreateResourceOrchestrationRequest ¶
func CreateCreateResourceOrchestrationRequest() (request *CreateResourceOrchestrationRequest)
CreateCreateResourceOrchestrationRequest creates a request to invoke CreateResourceOrchestration API
type CreateResourceOrchestrationResponse ¶
type CreateResourceOrchestrationResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` Data string `json:"Data" xml:"Data"` }
CreateResourceOrchestrationResponse is the response struct for api CreateResourceOrchestration
func CreateCreateResourceOrchestrationResponse ¶
func CreateCreateResourceOrchestrationResponse() (response *CreateResourceOrchestrationResponse)
CreateCreateResourceOrchestrationResponse creates a response to parse from CreateResourceOrchestration response
type DeleteAppRequest ¶
type DeleteAppRequest struct { *requests.RpcRequest AppName string `position:"Query" name:"AppName"` ClientIp string `position:"Query" name:"ClientIp"` }
DeleteAppRequest is the request struct for api DeleteApp
func CreateDeleteAppRequest ¶
func CreateDeleteAppRequest() (request *DeleteAppRequest)
CreateDeleteAppRequest creates a request to invoke DeleteApp API
type DeleteAppResponse ¶
type DeleteAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteAppResponse is the response struct for api DeleteApp
func CreateDeleteAppResponse ¶
func CreateDeleteAppResponse() (response *DeleteAppResponse)
CreateDeleteAppResponse creates a response to parse from DeleteApp response
type DeleteImportIngestionJobRequest ¶
type DeleteImportIngestionJobRequest struct { *requests.RpcRequest Namespace string `position:"Body" name:"Namespace"` Region string `position:"Body" name:"Region"` JobName string `position:"Body" name:"JobName"` }
DeleteImportIngestionJobRequest is the request struct for api DeleteImportIngestionJob
func CreateDeleteImportIngestionJobRequest ¶
func CreateDeleteImportIngestionJobRequest() (request *DeleteImportIngestionJobRequest)
CreateDeleteImportIngestionJobRequest creates a request to invoke DeleteImportIngestionJob API
type DeleteImportIngestionJobResponse ¶
type DeleteImportIngestionJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
DeleteImportIngestionJobResponse is the response struct for api DeleteImportIngestionJob
func CreateDeleteImportIngestionJobResponse ¶
func CreateDeleteImportIngestionJobResponse() (response *DeleteImportIngestionJobResponse)
CreateDeleteImportIngestionJobResponse creates a response to parse from DeleteImportIngestionJob response
type DeleteIngestionJobRequest ¶
type DeleteIngestionJobRequest struct { *requests.RpcRequest Namespace string `position:"Body" name:"Namespace"` Region string `position:"Body" name:"Region"` JobName string `position:"Body" name:"JobName"` }
DeleteIngestionJobRequest is the request struct for api DeleteIngestionJob
func CreateDeleteIngestionJobRequest ¶
func CreateDeleteIngestionJobRequest() (request *DeleteIngestionJobRequest)
CreateDeleteIngestionJobRequest creates a request to invoke DeleteIngestionJob API
type DeleteIngestionJobResponse ¶
type DeleteIngestionJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
DeleteIngestionJobResponse is the response struct for api DeleteIngestionJob
func CreateDeleteIngestionJobResponse ¶
func CreateDeleteIngestionJobResponse() (response *DeleteIngestionJobResponse)
CreateDeleteIngestionJobResponse creates a response to parse from DeleteIngestionJob response
type DeleteLogResourceRequest ¶
type DeleteLogResourceRequest struct { *requests.RpcRequest Project string `position:"Query" name:"Project"` Region string `position:"Query" name:"Region"` Logstore string `position:"Query" name:"Logstore"` }
DeleteLogResourceRequest is the request struct for api DeleteLogResource
func CreateDeleteLogResourceRequest ¶
func CreateDeleteLogResourceRequest() (request *DeleteLogResourceRequest)
CreateDeleteLogResourceRequest creates a request to invoke DeleteLogResource API
type DeleteLogResourceResponse ¶
type DeleteLogResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` }
DeleteLogResourceResponse is the response struct for api DeleteLogResource
func CreateDeleteLogResourceResponse ¶
func CreateDeleteLogResourceResponse() (response *DeleteLogResourceResponse)
CreateDeleteLogResourceResponse creates a response to parse from DeleteLogResource response
type DescribeAppRequest ¶
type DescribeAppRequest struct { *requests.RpcRequest AppName string `position:"Query" name:"AppName"` ClientIp string `position:"Query" name:"ClientIp"` }
DescribeAppRequest is the request struct for api DescribeApp
func CreateDescribeAppRequest ¶
func CreateDescribeAppRequest() (request *DescribeAppRequest)
CreateDescribeAppRequest creates a request to invoke DescribeApp API
type DescribeAppResponse ¶
type DescribeAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` AppModel AppModel `json:"AppModel" xml:"AppModel"` }
DescribeAppResponse is the response struct for api DescribeApp
func CreateDescribeAppResponse ¶
func CreateDescribeAppResponse() (response *DescribeAppResponse)
CreateDescribeAppResponse creates a response to parse from DescribeApp response
type DisableAlertRequest ¶
type DisableAlertRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` ProjectName string `position:"Body" name:"ProjectName"` Endpoint string `position:"Body" name:"Endpoint"` AlertId string `position:"Body" name:"AlertId"` }
DisableAlertRequest is the request struct for api DisableAlert
func CreateDisableAlertRequest ¶
func CreateDisableAlertRequest() (request *DisableAlertRequest)
CreateDisableAlertRequest creates a request to invoke DisableAlert API
type DisableAlertResponse ¶
type DisableAlertResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
DisableAlertResponse is the response struct for api DisableAlert
func CreateDisableAlertResponse ¶
func CreateDisableAlertResponse() (response *DisableAlertResponse)
CreateDisableAlertResponse creates a response to parse from DisableAlert response
type EnableAlertRequest ¶
type EnableAlertRequest struct { *requests.RpcRequest 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 ¶
func CreateEnableAlertRequest() (request *EnableAlertRequest)
CreateEnableAlertRequest creates a request to invoke EnableAlert API
type EnableAlertResponse ¶
type EnableAlertResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
EnableAlertResponse is the response struct for api EnableAlert
func CreateEnableAlertResponse ¶
func CreateEnableAlertResponse() (response *EnableAlertResponse)
CreateEnableAlertResponse creates a response to parse from EnableAlert response
type GetAlertHistoriesRequest ¶
type GetAlertHistoriesRequest struct { *requests.RpcRequest Line requests.Integer `position:"Body" name:"Line"` 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 ¶
func CreateGetAlertHistoriesRequest() (request *GetAlertHistoriesRequest)
CreateGetAlertHistoriesRequest creates a request to invoke GetAlertHistories API
type GetAlertHistoriesResponse ¶
type GetAlertHistoriesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` }
GetAlertHistoriesResponse is the response struct for api GetAlertHistories
func CreateGetAlertHistoriesResponse ¶
func CreateGetAlertHistoriesResponse() (response *GetAlertHistoriesResponse)
CreateGetAlertHistoriesResponse creates a response to parse from GetAlertHistories response
type GetAlertRequest ¶
type GetAlertRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` ProjectName string `position:"Body" name:"ProjectName"` Endpoint string `position:"Body" name:"Endpoint"` AlertId string `position:"Body" name:"AlertId"` }
GetAlertRequest is the request struct for api GetAlert
func CreateGetAlertRequest ¶
func CreateGetAlertRequest() (request *GetAlertRequest)
CreateGetAlertRequest creates a request to invoke GetAlert API
type GetAlertResponse ¶
type GetAlertResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data string `json:"Data" xml:"Data"` }
GetAlertResponse is the response struct for api GetAlert
func CreateGetAlertResponse ¶
func CreateGetAlertResponse() (response *GetAlertResponse)
CreateGetAlertResponse creates a response to parse from GetAlert response
type GetSlsServiceRequest ¶
type GetSlsServiceRequest struct {
*requests.RpcRequest
}
GetSlsServiceRequest is the request struct for api GetSlsService
func CreateGetSlsServiceRequest ¶
func CreateGetSlsServiceRequest() (request *GetSlsServiceRequest)
CreateGetSlsServiceRequest creates a request to invoke GetSlsService API
type GetSlsServiceResponse ¶
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 ¶
func CreateGetSlsServiceResponse() (response *GetSlsServiceResponse)
CreateGetSlsServiceResponse creates a response to parse from GetSlsService response
type InitProjectAlertResourceRequest ¶
type InitProjectAlertResourceRequest struct { *requests.RpcRequest ProjectName string `position:"Body" name:"ProjectName"` Region string `position:"Body" name:"Region"` }
InitProjectAlertResourceRequest is the request struct for api InitProjectAlertResource
func CreateInitProjectAlertResourceRequest ¶
func CreateInitProjectAlertResourceRequest() (request *InitProjectAlertResourceRequest)
CreateInitProjectAlertResourceRequest creates a request to invoke InitProjectAlertResource API
type InitProjectAlertResourceResponse ¶
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 ¶
func CreateInitProjectAlertResourceResponse() (response *InitProjectAlertResourceResponse)
CreateInitProjectAlertResourceResponse creates a response to parse from InitProjectAlertResource response
type InitUserAlertResourceRequest ¶
type InitUserAlertResourceRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Language string `position:"Body" name:"Language"` Region string `position:"Body" name:"Region"` }
InitUserAlertResourceRequest is the request struct for api InitUserAlertResource
func CreateInitUserAlertResourceRequest ¶
func CreateInitUserAlertResourceRequest() (request *InitUserAlertResourceRequest)
CreateInitUserAlertResourceRequest creates a request to invoke InitUserAlertResource API
type InitUserAlertResourceResponse ¶
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 ¶
func CreateInitUserAlertResourceResponse() (response *InitUserAlertResourceResponse)
CreateInitUserAlertResourceResponse creates a response to parse from InitUserAlertResource response
type OpenSlsServiceRequest ¶
type OpenSlsServiceRequest struct {
*requests.RpcRequest
}
OpenSlsServiceRequest is the request struct for api OpenSlsService
func CreateOpenSlsServiceRequest ¶
func CreateOpenSlsServiceRequest() (request *OpenSlsServiceRequest)
CreateOpenSlsServiceRequest creates a request to invoke OpenSlsService API
type OpenSlsServiceResponse ¶
type OpenSlsServiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` }
OpenSlsServiceResponse is the response struct for api OpenSlsService
func CreateOpenSlsServiceResponse ¶
func CreateOpenSlsServiceResponse() (response *OpenSlsServiceResponse)
CreateOpenSlsServiceResponse creates a response to parse from OpenSlsService response
type QuerySafServiceRequest ¶
type QuerySafServiceRequest struct { *requests.RpcRequest ParamType string `position:"Query" name:"ParamType"` ProjectName string `position:"Query" name:"ProjectName"` ParamValue string `position:"Query" name:"ParamValue"` }
QuerySafServiceRequest is the request struct for api QuerySafService
func CreateQuerySafServiceRequest ¶
func CreateQuerySafServiceRequest() (request *QuerySafServiceRequest)
CreateQuerySafServiceRequest creates a request to invoke QuerySafService API
type QuerySafServiceResponse ¶
type QuerySafServiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Score string `json:"Score" xml:"Score"` Ext map[string]interface{} `json:"Ext" xml:"Ext"` }
QuerySafServiceResponse is the response struct for api QuerySafService
func CreateQuerySafServiceResponse ¶
func CreateQuerySafServiceResponse() (response *QuerySafServiceResponse)
CreateQuerySafServiceResponse creates a response to parse from QuerySafService response
type SetAlertActionPolicyRequest ¶
type SetAlertActionPolicyRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` PolicyId string `position:"Body" name:"PolicyId"` PolicyName string `position:"Body" name:"PolicyName"` Policy string `position:"Body" name:"Policy"` }
SetAlertActionPolicyRequest is the request struct for api SetAlertActionPolicy
func CreateSetAlertActionPolicyRequest ¶
func CreateSetAlertActionPolicyRequest() (request *SetAlertActionPolicyRequest)
CreateSetAlertActionPolicyRequest creates a request to invoke SetAlertActionPolicy API
type SetAlertActionPolicyResponse ¶
type SetAlertActionPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` }
SetAlertActionPolicyResponse is the response struct for api SetAlertActionPolicy
func CreateSetAlertActionPolicyResponse ¶
func CreateSetAlertActionPolicyResponse() (response *SetAlertActionPolicyResponse)
CreateSetAlertActionPolicyResponse creates a response to parse from SetAlertActionPolicy response
type SetAlertCenterResourceByConsoleRequest ¶
type SetAlertCenterResourceByConsoleRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Language string `position:"Body" name:"Language"` Region string `position:"Body" name:"Region"` }
SetAlertCenterResourceByConsoleRequest is the request struct for api SetAlertCenterResourceByConsole
func CreateSetAlertCenterResourceByConsoleRequest ¶
func CreateSetAlertCenterResourceByConsoleRequest() (request *SetAlertCenterResourceByConsoleRequest)
CreateSetAlertCenterResourceByConsoleRequest creates a request to invoke SetAlertCenterResourceByConsole API
type SetAlertCenterResourceByConsoleResponse ¶
type SetAlertCenterResourceByConsoleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` }
SetAlertCenterResourceByConsoleResponse is the response struct for api SetAlertCenterResourceByConsole
func CreateSetAlertCenterResourceByConsoleResponse ¶
func CreateSetAlertCenterResourceByConsoleResponse() (response *SetAlertCenterResourceByConsoleResponse)
CreateSetAlertCenterResourceByConsoleResponse creates a response to parse from SetAlertCenterResourceByConsole response
type SetAlertCenterResourceRequest ¶
type SetAlertCenterResourceRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Language string `position:"Body" name:"Language"` Region string `position:"Body" name:"Region"` }
SetAlertCenterResourceRequest is the request struct for api SetAlertCenterResource
func CreateSetAlertCenterResourceRequest ¶
func CreateSetAlertCenterResourceRequest() (request *SetAlertCenterResourceRequest)
CreateSetAlertCenterResourceRequest creates a request to invoke SetAlertCenterResource API
type SetAlertCenterResourceResponse ¶
type SetAlertCenterResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` }
SetAlertCenterResourceResponse is the response struct for api SetAlertCenterResource
func CreateSetAlertCenterResourceResponse ¶
func CreateSetAlertCenterResourceResponse() (response *SetAlertCenterResourceResponse)
CreateSetAlertCenterResourceResponse creates a response to parse from SetAlertCenterResource response
type SyncAlertGroupsRequest ¶
type SyncAlertGroupsRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Groups string `position:"Body" name:"Groups"` }
SyncAlertGroupsRequest is the request struct for api SyncAlertGroups
func CreateSyncAlertGroupsRequest ¶
func CreateSyncAlertGroupsRequest() (request *SyncAlertGroupsRequest)
CreateSyncAlertGroupsRequest creates a request to invoke SyncAlertGroups API
type SyncAlertGroupsResponse ¶
type SyncAlertGroupsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` }
SyncAlertGroupsResponse is the response struct for api SyncAlertGroups
func CreateSyncAlertGroupsResponse ¶
func CreateSyncAlertGroupsResponse() (response *SyncAlertGroupsResponse)
CreateSyncAlertGroupsResponse creates a response to parse from SyncAlertGroups response
type SyncAlertUsersRequest ¶
type SyncAlertUsersRequest struct { *requests.RpcRequest App string `position:"Body" name:"App"` Users string `position:"Body" name:"Users"` }
SyncAlertUsersRequest is the request struct for api SyncAlertUsers
func CreateSyncAlertUsersRequest ¶
func CreateSyncAlertUsersRequest() (request *SyncAlertUsersRequest)
CreateSyncAlertUsersRequest creates a request to invoke SyncAlertUsers API
type SyncAlertUsersResponse ¶
type SyncAlertUsersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` }
SyncAlertUsersResponse is the response struct for api SyncAlertUsers
func CreateSyncAlertUsersResponse ¶
func CreateSyncAlertUsersResponse() (response *SyncAlertUsersResponse)
CreateSyncAlertUsersResponse creates a response to parse from SyncAlertUsers response
type UpdateAppRequest ¶
type UpdateAppRequest struct { *requests.RpcRequest 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 ¶
func CreateUpdateAppRequest() (request *UpdateAppRequest)
CreateUpdateAppRequest creates a request to invoke UpdateApp API
type UpdateAppResponse ¶
type UpdateAppResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success string `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateAppResponse is the response struct for api UpdateApp
func CreateUpdateAppResponse ¶
func CreateUpdateAppResponse() (response *UpdateAppResponse)
CreateUpdateAppResponse creates a response to parse from UpdateApp response
Source Files ¶
- analyze_app_log.go
- analyze_product_log.go
- check_resource_orchestration.go
- client.go
- create_app.go
- create_import_ingestion_job.go
- create_ingestion_job.go
- create_resource_orchestration.go
- delete_app.go
- delete_import_ingestion_job.go
- delete_ingestion_job.go
- delete_log_resource.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
- query_saf_service.go
- set_alert_action_policy.go
- set_alert_center_resource.go
- set_alert_center_resource_by_console.go
- struct_app_model.go
- sync_alert_groups.go
- sync_alert_users.go
- update_app.go