v20201016

package
v3.0.847+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The alarm notification template has already been bound to an alarm policy.
	FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm"

	// The number of searched logs has reached the upper limit.
	FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit"

	// IA storage does not support key-value or tag index configuration.
	FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow"

	// The alarm policy is exceptional. Please check whether all the log topic IDs exist.
	FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm"

	// The search cursor is invalid or does not exist.
	FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"

	// The offline storage period cannot be less than 7 days.
	FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod"

	// The same logset already exists.
	FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict"

	// There are log topics under the logset.
	FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty"

	// Invalid `Content`.
	FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent"

	// The modified lifecycle is prohibited.
	FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden"

	// The query statement failed to run.
	FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"

	// The read QPS exceeds the limit.
	FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit"

	// The query timed out.
	FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"

	// Shipping task retry is not allowed.
	FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry"

	// An error occurred while parsing the query statement.
	FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"

	// The frequency of tag service requests is limited.
	FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"

	// The log topic has been disabled.
	FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"

	// The topic is being created.
	FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating"

	// The log topic has been isolated.
	FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"

	// The write QPS exceeds the limit.
	FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit"

	// The write traffic exceeds the limit.
	FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// The alarm policy already exists.
	INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"

	// The alarm notification template already exists.
	INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict"

	// The same collection configuration rule already exists.
	INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict"

	// Invalid `Content`.
	INVALIDPARAMETER_CONTENT = "InvalidParameter.Content"

	// There is a data processing task conflict.
	INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict"

	// The data processing task does not exist.
	INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist"

	// The unique key of database conflicts.
	INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"

	// The export job already exists.
	INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict"

	// IA storage does not support key-value or tag index configuration.
	INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow"

	// An index rule already exists for the specified log topic.
	INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict"

	// The data processing statement is invalid.
	INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent"

	// The same logset already exists.
	INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict"

	// The same machine group already exists.
	INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict"

	// Shipping rule naming conflict.
	INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict"

	// There is already a log topic with the same name in the specified logset.
	INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The quota limit has been reached.
	LIMITEXCEEDED = "LimitExceeded"

	// The collection rule configuration exceeds the maximum value limit.
	LIMITEXCEEDED_CONFIG = "LimitExceeded.Config"

	// The number of log export tasks has exceeded the limit.
	LIMITEXCEEDED_EXPORT = "LimitExceeded.Export"

	// Index operations exceed the frequency limit.
	LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"

	// The number of concurrent queries exceeds the limit, which is 15 per topic.
	LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"

	// The log size exceeds the limit.
	LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize"

	// The number of logsets exceeds the limit.
	LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset"

	// The number of machine groups exceeds the limit.
	LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup"

	// The number of machine group IPs exceeds the limit.
	LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp"

	// The number of machine group labels exceeds the limit.
	LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels"

	// The number of partitions exceeds the limit.
	LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition"

	// Out of search memory.
	LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources"

	// The number of logs returned by the search API exceeds the upper limit (20 MB).
	LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge"

	// The number of shipping rules exceeds the limit.
	LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper"

	// The number of tags exceeds the limit.
	LIMITEXCEEDED_TAG = "LimitExceeded.Tag"

	// The number of log topics exceeds the limit.
	LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// ACL verification failed.
	OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"

	// The account has been terminated.
	OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"

	// The account has overdue payments.
	OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"

	// The account does not exist.
	OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

	// IA storage does not support alarms.
	OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow"

	// The analysis feature is not enabled for the field.
	OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose"

	// New syntax is not supported.
	OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported"

	// The notification template is bound to an alarm and cannot be deleted.
	OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm"

	// The operation is not supported in IA storage.
	OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow"

	// A data processing task is bound to this topic.
	OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask"

	// The topic is bound to a function for shipping.
	OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction"

	// Unable to delete this topic because an external data source is configured for it.
	OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig"

	// The topic is bound to the `scheduleSql` job.
	OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The agent version does not exist.
	RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist"

	// The alarm policy does not exist.
	RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"

	// The alarm notification template does not exist.
	RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"

	// The specified collection rule configuration does not exist.
	RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"

	// The log export does not exist.
	RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"

	// The index does not exist.
	RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"

	// The specified logset does not exist.
	RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

	// The machine group does not exist.
	RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

	// The partition does not exist.
	RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"

	// The shipping rule does not exist.
	RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

	// The shipping task does not exist.
	RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"

	// The log topic does not exist.
	RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2020-10-16"

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMachineGroupInfoRequest

type AddMachineGroupInfoRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group type
	// Supported types: `ip` and `label`
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`
}

func NewAddMachineGroupInfoRequest

func NewAddMachineGroupInfoRequest() (request *AddMachineGroupInfoRequest)

func (*AddMachineGroupInfoRequest) FromJsonString

func (r *AddMachineGroupInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddMachineGroupInfoRequest) ToJsonString

func (r *AddMachineGroupInfoRequest) ToJsonString() string

type AddMachineGroupInfoRequestParams

type AddMachineGroupInfoRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group type
	// Supported types: `ip` and `label`
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`
}

Predefined struct for user

type AddMachineGroupInfoResponse

type AddMachineGroupInfoResponse struct {
	*tchttp.BaseResponse
	Response *AddMachineGroupInfoResponseParams `json:"Response"`
}

func NewAddMachineGroupInfoResponse

func NewAddMachineGroupInfoResponse() (response *AddMachineGroupInfoResponse)

func (*AddMachineGroupInfoResponse) FromJsonString

func (r *AddMachineGroupInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddMachineGroupInfoResponse) ToJsonString

func (r *AddMachineGroupInfoResponse) ToJsonString() string

type AddMachineGroupInfoResponseParams

type AddMachineGroupInfoResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type AlarmAnalysisConfig

type AlarmAnalysisConfig struct {
	// Key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type AlarmInfo

type AlarmInfo struct {
	// Alarm policy name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Monitoring object list
	AlarmTargets []*AlarmTargetInfo `json:"AlarmTargets,omitnil" name:"AlarmTargets"`

	// Monitoring task running time point
	MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"`

	// Trigger condition
	Condition *string `json:"Condition,omitnil" name:"Condition"`

	// Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Repeated alarm interval in minutes. Value range: 0–1440.
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// List of associated alarm notification templates
	AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"`

	// Enablement status
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Alarm policy ID
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Last update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Custom notification template
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"`

	// Custom callback template
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"`

	// Multi-Dimensional analysis settings
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"`
}

type AlarmNotice

type AlarmNotice struct {
	// Alarm notification template name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Alarm template type. Valid values:
	// <br><li> `Trigger`: alarm triggered
	// <br><li> `Recovery`: alarm cleared
	// <br><li> `All`: alarm triggered and alarm cleared
	Type *string `json:"Type,omitnil" name:"Type"`

	// Information of the recipient in alarm notification template
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"`

	// Callback information of alarm notification template
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"`

	// Alarm notification template ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`

	// Creation time
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Last update time
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`
}

type AlarmTarget

type AlarmTarget struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Query statement
	Query *string `json:"Query,omitnil" name:"Query"`

	// Monitoring object number, which is incremental from 1.
	Number *int64 `json:"Number,omitnil" name:"Number"`

	// Offset of the query start time from the alarm execution time in minutes. The value cannot be positive. Value range: -1440–0.
	StartTimeOffset *int64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"`

	// Offset of the query end time from the alarm execution time in minutes. The value cannot be positive and must be greater than `StartTimeOffset`. Value range: -1440–0.
	EndTimeOffset *int64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Search syntax. Valid values:
	// `0` (default): Lucene; `1`: CQL
	// For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Syntax</a>.
	SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"`
}

type AlarmTargetInfo

type AlarmTargetInfo struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Logset name
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Query statement
	Query *string `json:"Query,omitnil" name:"Query"`

	// Monitoring object number
	Number *int64 `json:"Number,omitnil" name:"Number"`

	// Offset of the query start time from the alarm execution time in minutes. The value cannot be positive. Value range: -1440–0.
	StartTimeOffset *int64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"`

	// Offset of the query end time from the alarm execution time in minutes. The value cannot be positive and must be greater than `StartTimeOffset`. Value range: -1440–0.
	EndTimeOffset *int64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"`
}

type AlertHistoryNotice

type AlertHistoryNotice struct {
	// Notification group name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Notification group ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`
}

type AlertHistoryRecord

type AlertHistoryRecord struct {
	// Alarm record ID
	RecordId *string `json:"RecordId,omitnil" name:"RecordId"`

	// Alarm policy ID
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`

	// Alarm policy name
	AlarmName *string `json:"AlarmName,omitnil" name:"AlarmName"`

	// ID of the monitored object
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Name of the monitored object
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Region of the monitored object
	Region *string `json:"Region,omitnil" name:"Region"`

	// Trigger condition
	Trigger *string `json:"Trigger,omitnil" name:"Trigger"`

	// Number of cycles for which the alarm lasts. An alarm will be triggered only after the trigger condition is met for the number of cycles specified by `TriggerCount`.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Alarm notification frequency (minutes)
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// Notification group
	Notices []*AlertHistoryNotice `json:"Notices,omitnil" name:"Notices"`

	// Alarm duration (minutes)
	Duration *int64 `json:"Duration,omitnil" name:"Duration"`

	// Alarm status. Valid values: `0` (uncleared), `1` (cleared), `2` (expired)
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Alarm generation time, which is a Unix timestamp in ms
	CreateTime *uint64 `json:"CreateTime,omitnil" name:"CreateTime"`

	// Group information corresponding to triggering by group
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupTriggerCondition []*GroupTriggerConditionInfo `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"`

	// Alarm severity. Valid values: `0` (Warn), `1` (Info), `2` (Critical)
	// Note: This field may return null, indicating that no valid values can be obtained.
	AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"`

	// Type of the monitored object
	// `0`: The same object is specified for all statements. `1`: An object is separately specified for each statement.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"`
}

type AnalysisDimensional

type AnalysisDimensional struct {
	// Analysis name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Type of data being analyzed. Valid values: `query`, `field`, `original`
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Analysis content
	// Note: This field may return null, indicating that no valid values can be obtained.
	Content *string `json:"Content,omitnil" name:"Content"`

	// Configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	ConfigInfo []*AlarmAnalysisConfig `json:"ConfigInfo,omitnil" name:"ConfigInfo"`
}

type ApplyConfigToMachineGroupRequest

type ApplyConfigToMachineGroupRequest struct {
	*tchttp.BaseRequest

	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

func NewApplyConfigToMachineGroupRequest

func NewApplyConfigToMachineGroupRequest() (request *ApplyConfigToMachineGroupRequest)

func (*ApplyConfigToMachineGroupRequest) FromJsonString

func (r *ApplyConfigToMachineGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyConfigToMachineGroupRequest) ToJsonString

func (r *ApplyConfigToMachineGroupRequest) ToJsonString() string

type ApplyConfigToMachineGroupRequestParams

type ApplyConfigToMachineGroupRequestParams struct {
	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

Predefined struct for user

type ApplyConfigToMachineGroupResponse

type ApplyConfigToMachineGroupResponse struct {
	*tchttp.BaseResponse
	Response *ApplyConfigToMachineGroupResponseParams `json:"Response"`
}

func NewApplyConfigToMachineGroupResponse

func NewApplyConfigToMachineGroupResponse() (response *ApplyConfigToMachineGroupResponse)

func (*ApplyConfigToMachineGroupResponse) FromJsonString

func (r *ApplyConfigToMachineGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyConfigToMachineGroupResponse) ToJsonString

func (r *ApplyConfigToMachineGroupResponse) ToJsonString() string

type ApplyConfigToMachineGroupResponseParams

type ApplyConfigToMachineGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CallBackInfo

type CallBackInfo struct {
	// `Body` during callback
	Body *string `json:"Body,omitnil" name:"Body"`

	// `Headers` during callback
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Headers []*string `json:"Headers,omitnil" name:"Headers"`
}

type CheckRechargeKafkaServerRequest

type CheckRechargeKafkaServerRequest struct {
	*tchttp.BaseRequest

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`
}

func NewCheckRechargeKafkaServerRequest

func NewCheckRechargeKafkaServerRequest() (request *CheckRechargeKafkaServerRequest)

func (*CheckRechargeKafkaServerRequest) FromJsonString

func (r *CheckRechargeKafkaServerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckRechargeKafkaServerRequest) ToJsonString

func (r *CheckRechargeKafkaServerRequest) ToJsonString() string

type CheckRechargeKafkaServerRequestParams

type CheckRechargeKafkaServerRequestParams struct {
	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`
}

Predefined struct for user

type CheckRechargeKafkaServerResponse

type CheckRechargeKafkaServerResponse struct {
	*tchttp.BaseResponse
	Response *CheckRechargeKafkaServerResponseParams `json:"Response"`
}

func NewCheckRechargeKafkaServerResponse

func NewCheckRechargeKafkaServerResponse() (response *CheckRechargeKafkaServerResponse)

func (*CheckRechargeKafkaServerResponse) FromJsonString

func (r *CheckRechargeKafkaServerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckRechargeKafkaServerResponse) ToJsonString

func (r *CheckRechargeKafkaServerResponse) ToJsonString() string

type CheckRechargeKafkaServerResponseParams

type CheckRechargeKafkaServerResponseParams struct {
	// Kafka cluster accessibility. 0: Accessible.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Ckafka

type Ckafka struct {
	// CKafka VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// CKafka Vport
	Vport *string `json:"Vport,omitnil" name:"Vport"`

	// CKafka instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// CKafka instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// CKafka topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// CKafka topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddMachineGroupInfo

func (c *Client) AddMachineGroupInfo(request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)

AddMachineGroupInfo This API is used to add machine group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"

func (*Client) AddMachineGroupInfoWithContext

func (c *Client) AddMachineGroupInfoWithContext(ctx context.Context, request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)

AddMachineGroupInfo This API is used to add machine group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"

func (*Client) ApplyConfigToMachineGroup

func (c *Client) ApplyConfigToMachineGroup(request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)

ApplyConfigToMachineGroup This API is used to apply the collection configuration to the specified machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) ApplyConfigToMachineGroupWithContext

func (c *Client) ApplyConfigToMachineGroupWithContext(ctx context.Context, request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)

ApplyConfigToMachineGroup This API is used to apply the collection configuration to the specified machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) CheckRechargeKafkaServer

func (c *Client) CheckRechargeKafkaServer(request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)

CheckRechargeKafkaServer This API is used to check whether the Kafka service cluster is accessible.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CheckRechargeKafkaServerWithContext

func (c *Client) CheckRechargeKafkaServerWithContext(ctx context.Context, request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)

CheckRechargeKafkaServer This API is used to check whether the Kafka service cluster is accessible.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CloseKafkaConsumer

func (c *Client) CloseKafkaConsumer(request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)

CloseKafkaConsumer This API is used to disable Kafka consumption.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CloseKafkaConsumerWithContext

func (c *Client) CloseKafkaConsumerWithContext(ctx context.Context, request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)

CloseKafkaConsumer This API is used to disable Kafka consumption.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateAlarm

func (c *Client) CreateAlarm(request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)

CreateAlarm This API is used to create an alarm policy.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateAlarmNotice

func (c *Client) CreateAlarmNotice(request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)

CreateAlarmNotice This API is used to create a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateAlarmNoticeWithContext

func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)

CreateAlarmNotice This API is used to create a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateAlarmWithContext

func (c *Client) CreateAlarmWithContext(ctx context.Context, request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)

CreateAlarm This API is used to create an alarm policy.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateConfig

func (c *Client) CreateConfig(request *CreateConfigRequest) (response *CreateConfigResponse, err error)

CreateConfig This API is used to create a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_CONFIG = "LimitExceeded.Config"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateConfigWithContext

func (c *Client) CreateConfigWithContext(ctx context.Context, request *CreateConfigRequest) (response *CreateConfigResponse, err error)

CreateConfig This API is used to create a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_CONFIG = "LimitExceeded.Config"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateConsumer

func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)

CreateConsumer This API is used to create a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateConsumerWithContext

func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)

CreateConsumer This API is used to create a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateCosRecharge

func (c *Client) CreateCosRecharge(request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)

CreateCosRecharge This API is used to create a COS import task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateCosRechargeWithContext

func (c *Client) CreateCosRechargeWithContext(ctx context.Context, request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)

CreateCosRecharge This API is used to create a COS import task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateDataTransform

func (c *Client) CreateDataTransform(request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)

CreateDataTransform This API is used to create a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict"
INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateDataTransformWithContext

func (c *Client) CreateDataTransformWithContext(ctx context.Context, request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)

CreateDataTransform This API is used to create a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict"
INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateExport

func (c *Client) CreateExport(request *CreateExportRequest) (response *CreateExportResponse, err error)

CreateExport This API is used to create a download task. To get the returned download address, call `DescribeExports` to view the task list. The `CosPath` parameter is also included for download address. For more information, visit https://intl.cloud.tencent.com/document/product/614/56449.?from_cn_redirect=1

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_EXPORT = "LimitExceeded.Export"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateExportWithContext

func (c *Client) CreateExportWithContext(ctx context.Context, request *CreateExportRequest) (response *CreateExportResponse, err error)

CreateExport This API is used to create a download task. To get the returned download address, call `DescribeExports` to view the task list. The `CosPath` parameter is also included for download address. For more information, visit https://intl.cloud.tencent.com/document/product/614/56449.?from_cn_redirect=1

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_EXPORT = "LimitExceeded.Export"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateIndex

func (c *Client) CreateIndex(request *CreateIndexRequest) (response *CreateIndexResponse, err error)

CreateIndex This API is used to create an index.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow"
INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIndexWithContext

func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)

CreateIndex This API is used to create an index.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow"
INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateKafkaRecharge

func (c *Client) CreateKafkaRecharge(request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)

CreateKafkaRecharge This API is used to create a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateKafkaRechargeWithContext

func (c *Client) CreateKafkaRechargeWithContext(ctx context.Context, request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)

CreateKafkaRecharge This API is used to create a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateLogset

func (c *Client) CreateLogset(request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)

CreateLogset This API is used to create a logset. The ID of the created logset is returned.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateLogsetWithContext

func (c *Client) CreateLogsetWithContext(ctx context.Context, request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)

CreateLogset This API is used to create a logset. The ID of the created logset is returned.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateMachineGroup

func (c *Client) CreateMachineGroup(request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)

CreateMachineGroup This API is used to create a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup"
LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp"
LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateMachineGroupWithContext

func (c *Client) CreateMachineGroupWithContext(ctx context.Context, request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)

CreateMachineGroup This API is used to create a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup"
LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp"
LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) CreateShipper

func (c *Client) CreateShipper(request *CreateShipperRequest) (response *CreateShipperResponse, err error)

CreateShipper This API is used to create a task to ship to COS. Note: To use this API, you need to check whether you have configured the role and permission for shipping to COS. If not, see **Viewing and Configuring Shipping Authorization** at https://intl.cloud.tencent.com/document/product/614/71623.?from_cn_redirect=1

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateShipperWithContext

func (c *Client) CreateShipperWithContext(ctx context.Context, request *CreateShipperRequest) (response *CreateShipperResponse, err error)

CreateShipper This API is used to create a task to ship to COS. Note: To use this API, you need to check whether you have configured the role and permission for shipping to COS. If not, see **Viewing and Configuring Shipping Authorization** at https://intl.cloud.tencent.com/document/product/614/71623.?from_cn_redirect=1

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) CreateTopic

func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)

CreateTopic This API is used to create a log topic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod"
FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset"
LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) CreateTopicWithContext

func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)

CreateTopic This API is used to create a log topic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod"
FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset"
LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) DeleteAlarm

func (c *Client) DeleteAlarm(request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)

DeleteAlarm This API is used to delete an alarm policy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"

func (*Client) DeleteAlarmNotice

func (c *Client) DeleteAlarmNotice(request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)

DeleteAlarmNotice This API is used to delete a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm"
INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"

func (*Client) DeleteAlarmNoticeWithContext

func (c *Client) DeleteAlarmNoticeWithContext(ctx context.Context, request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)

DeleteAlarmNotice This API is used to delete a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm"
INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"

func (*Client) DeleteAlarmWithContext

func (c *Client) DeleteAlarmWithContext(ctx context.Context, request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)

DeleteAlarm This API is used to delete an alarm policy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"

func (*Client) DeleteConfig

func (c *Client) DeleteConfig(request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)

DeleteConfig This API is used to delete a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"

func (*Client) DeleteConfigFromMachineGroup

func (c *Client) DeleteConfigFromMachineGroup(request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)

DeleteConfigFromMachineGroup This API is used to delete the collection configuration applied to a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DeleteConfigFromMachineGroupWithContext

func (c *Client) DeleteConfigFromMachineGroupWithContext(ctx context.Context, request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)

DeleteConfigFromMachineGroup This API is used to delete the collection configuration applied to a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DeleteConfigWithContext

func (c *Client) DeleteConfigWithContext(ctx context.Context, request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)

DeleteConfig This API is used to delete a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"

func (*Client) DeleteConsumer

func (c *Client) DeleteConsumer(request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)

DeleteConsumer This API is used to delete a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DeleteConsumerWithContext

func (c *Client) DeleteConsumerWithContext(ctx context.Context, request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)

DeleteConsumer This API is used to delete a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DeleteDataTransform

func (c *Client) DeleteDataTransform(request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)

DeleteDataTransform This API is used to delete a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteDataTransformWithContext

func (c *Client) DeleteDataTransformWithContext(ctx context.Context, request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)

DeleteDataTransform This API is used to delete a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteExport

func (c *Client) DeleteExport(request *DeleteExportRequest) (response *DeleteExportResponse, err error)

DeleteExport This API is used to delete a log download task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"

func (*Client) DeleteExportWithContext

func (c *Client) DeleteExportWithContext(ctx context.Context, request *DeleteExportRequest) (response *DeleteExportResponse, err error)

DeleteExport This API is used to delete a log download task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"

func (*Client) DeleteIndex

func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)

DeleteIndex This API is used to delete the index configuration of a log topic. After deleting, you cannot retrieve or query the collected logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteIndexWithContext

func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)

DeleteIndex This API is used to delete the index configuration of a log topic. After deleting, you cannot retrieve or query the collected logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteKafkaRecharge

func (c *Client) DeleteKafkaRecharge(request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)

DeleteKafkaRecharge This API is used to delete a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteKafkaRechargeWithContext

func (c *Client) DeleteKafkaRechargeWithContext(ctx context.Context, request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)

DeleteKafkaRecharge This API is used to delete a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteLogset

func (c *Client) DeleteLogset(request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)

DeleteLogset This API is used to delete a logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) DeleteLogsetWithContext

func (c *Client) DeleteLogsetWithContext(ctx context.Context, request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)

DeleteLogset This API is used to delete a logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) DeleteMachineGroup

func (c *Client) DeleteMachineGroup(request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)

DeleteMachineGroup This API is used to delete a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DeleteMachineGroupInfo

func (c *Client) DeleteMachineGroupInfo(request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)

DeleteMachineGroupInfo This API is used to delete machine group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DeleteMachineGroupInfoWithContext

func (c *Client) DeleteMachineGroupInfoWithContext(ctx context.Context, request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)

DeleteMachineGroupInfo This API is used to delete machine group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DeleteMachineGroupWithContext

func (c *Client) DeleteMachineGroupWithContext(ctx context.Context, request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)

DeleteMachineGroup This API is used to delete a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DeleteShipper

func (c *Client) DeleteShipper(request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)

DeleteShipper This API is used to delete a COS shipping task.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) DeleteShipperWithContext

func (c *Client) DeleteShipperWithContext(ctx context.Context, request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)

DeleteShipper This API is used to delete a COS shipping task.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) DeleteTopic

func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)

DeleteTopic This API is used to delete a log topic.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask"
OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction"
OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig"
OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DeleteTopicWithContext

func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)

DeleteTopic This API is used to delete a log topic.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask"
OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction"
OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig"
OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeAlarmNotices

func (c *Client) DescribeAlarmNotices(request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)

DescribeAlarmNotices This API is used to get the notification group list.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeAlarmNoticesWithContext

func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)

DescribeAlarmNotices This API is used to get the notification group list.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeAlarms

func (c *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)

DescribeAlarms This API is used to get the alarm policy list.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeAlarmsWithContext

func (c *Client) DescribeAlarmsWithContext(ctx context.Context, request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)

DescribeAlarms This API is used to get the alarm policy list.

error code that may be returned:

FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeAlertRecordHistory

func (c *Client) DescribeAlertRecordHistory(request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)

DescribeAlertRecordHistory This API is used to get alarm records, such as today's uncleared alarms.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeAlertRecordHistoryWithContext

func (c *Client) DescribeAlertRecordHistoryWithContext(ctx context.Context, request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)

DescribeAlertRecordHistory This API is used to get alarm records, such as today's uncleared alarms.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) DescribeConfigMachineGroups

func (c *Client) DescribeConfigMachineGroups(request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)

DescribeConfigMachineGroups This API is used to get the machine group bound to a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"

func (*Client) DescribeConfigMachineGroupsWithContext

func (c *Client) DescribeConfigMachineGroupsWithContext(ctx context.Context, request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)

DescribeConfigMachineGroups This API is used to get the machine group bound to a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"

func (*Client) DescribeConfigs

func (c *Client) DescribeConfigs(request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)

DescribeConfigs This API is used to get a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeConfigsWithContext

func (c *Client) DescribeConfigsWithContext(ctx context.Context, request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)

DescribeConfigs This API is used to get a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeConsumer

func (c *Client) DescribeConsumer(request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)

DescribeConsumer This API is used to query a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeConsumerWithContext

func (c *Client) DescribeConsumerWithContext(ctx context.Context, request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)

DescribeConsumer This API is used to query a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeCosRecharges

func (c *Client) DescribeCosRecharges(request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)

DescribeCosRecharges This API is used to get COS import configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeCosRechargesWithContext

func (c *Client) DescribeCosRechargesWithContext(ctx context.Context, request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)

DescribeCosRecharges This API is used to get COS import configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeDataTransformInfo

func (c *Client) DescribeDataTransformInfo(request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)

DescribeDataTransformInfo This API is used to get the basic information of data processing tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeDataTransformInfoWithContext

func (c *Client) DescribeDataTransformInfoWithContext(ctx context.Context, request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)

DescribeDataTransformInfo This API is used to get the basic information of data processing tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeExports

func (c *Client) DescribeExports(request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)

DescribeExports This API is used to get the list of log download tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeExportsWithContext

func (c *Client) DescribeExportsWithContext(ctx context.Context, request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)

DescribeExports This API is used to get the list of log download tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIndex

func (c *Client) DescribeIndex(request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)

DescribeIndex This API is used to get the index configuration information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeIndexWithContext

func (c *Client) DescribeIndexWithContext(ctx context.Context, request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)

DescribeIndex This API is used to get the index configuration information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeKafkaRecharges

func (c *Client) DescribeKafkaRecharges(request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)

DescribeKafkaRecharges This API is used to get the list of Kafka data subscription tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeKafkaRechargesWithContext

func (c *Client) DescribeKafkaRechargesWithContext(ctx context.Context, request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)

DescribeKafkaRecharges This API is used to get the list of Kafka data subscription tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeLogContext

func (c *Client) DescribeLogContext(request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)

DescribeLogContext This API is used to search for content in the log context.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeLogContextWithContext

func (c *Client) DescribeLogContextWithContext(ctx context.Context, request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)

DescribeLogContext This API is used to search for content in the log context.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeLogHistogram

func (c *Client) DescribeLogHistogram(request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)

DescribeLogHistogram This API is used to get a log count histogram.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeLogHistogramWithContext

func (c *Client) DescribeLogHistogramWithContext(ctx context.Context, request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)

DescribeLogHistogram This API is used to get a log count histogram.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeLogsets

func (c *Client) DescribeLogsets(request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)

DescribeLogsets This API is used to get the list of logsets.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogsetsWithContext

func (c *Client) DescribeLogsetsWithContext(ctx context.Context, request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)

DescribeLogsets This API is used to get the list of logsets.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeMachineGroupConfigs

func (c *Client) DescribeMachineGroupConfigs(request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)

DescribeMachineGroupConfigs This API is used to get the collection rule configuration bound to a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DescribeMachineGroupConfigsWithContext

func (c *Client) DescribeMachineGroupConfigsWithContext(ctx context.Context, request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)

DescribeMachineGroupConfigs This API is used to get the collection rule configuration bound to a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DescribeMachineGroups

func (c *Client) DescribeMachineGroups(request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)

DescribeMachineGroups This API is used to get the list of machine groups.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMachineGroupsWithContext

func (c *Client) DescribeMachineGroupsWithContext(ctx context.Context, request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)

DescribeMachineGroups This API is used to get the list of machine groups.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMachines

func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)

DescribeMachines This API is used to get the machine status in the specified machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DescribeMachinesWithContext

func (c *Client) DescribeMachinesWithContext(ctx context.Context, request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)

DescribeMachines This API is used to get the machine status in the specified machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) DescribePartitions

func (c *Client) DescribePartitions(request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)

DescribePartitions This API is used to get the list of topic partitions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribePartitionsWithContext

func (c *Client) DescribePartitionsWithContext(ctx context.Context, request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)

DescribePartitions This API is used to get the list of topic partitions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeShipperTasks

func (c *Client) DescribeShipperTasks(request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)

DescribeShipperTasks This API is used to get the list of shipping tasks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) DescribeShipperTasksWithContext

func (c *Client) DescribeShipperTasksWithContext(ctx context.Context, request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)

DescribeShipperTasks This API is used to get the list of shipping tasks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) DescribeShippers

func (c *Client) DescribeShippers(request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)

DescribeShippers This API is used to get the configuration of the task of shipping to COS.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeShippersWithContext

func (c *Client) DescribeShippersWithContext(ctx context.Context, request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)

DescribeShippers This API is used to get the configuration of the task of shipping to COS.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) DescribeTopics

func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)

DescribeTopics This API is used to get the list of log topics and supports pagination.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTopicsWithContext

func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)

DescribeTopics This API is used to get the list of log topics and supports pagination.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetAlarmLog

func (c *Client) GetAlarmLog(request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)

GetAlarmLog This API is used to get the records of alarm tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetAlarmLogWithContext

func (c *Client) GetAlarmLogWithContext(ctx context.Context, request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)

GetAlarmLog This API is used to get the records of alarm tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) MergePartition

func (c *Client) MergePartition(request *MergePartitionRequest) (response *MergePartitionResponse, err error)

MergePartition This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) MergePartitionWithContext

func (c *Client) MergePartitionWithContext(ctx context.Context, request *MergePartitionRequest) (response *MergePartitionResponse, err error)

MergePartition This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyAlarm

func (c *Client) ModifyAlarm(request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)

ModifyAlarm This API is used to modify an alarm policy. At least one valid configuration item needs to be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow"
RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyAlarmNotice

func (c *Client) ModifyAlarmNotice(request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)

ModifyAlarmNotice This API is used to modify a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"

func (*Client) ModifyAlarmNoticeWithContext

func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)

ModifyAlarmNotice This API is used to modify a notification group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"

func (*Client) ModifyAlarmWithContext

func (c *Client) ModifyAlarmWithContext(ctx context.Context, request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)

ModifyAlarm This API is used to modify an alarm policy. At least one valid configuration item needs to be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow"
RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"
RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyConfig

func (c *Client) ModifyConfig(request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)

ModifyConfig This API is used to modify a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyConfigWithContext

func (c *Client) ModifyConfigWithContext(ctx context.Context, request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)

ModifyConfig This API is used to modify a collection rule configuration.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyConsumer

func (c *Client) ModifyConsumer(request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)

ModifyConsumer This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) ModifyConsumerWithContext

func (c *Client) ModifyConsumerWithContext(ctx context.Context, request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)

ModifyConsumer This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) ModifyCosRecharge

func (c *Client) ModifyCosRecharge(request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)

ModifyCosRecharge This API is used to modify a COS import task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyCosRechargeWithContext

func (c *Client) ModifyCosRechargeWithContext(ctx context.Context, request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)

ModifyCosRecharge This API is used to modify a COS import task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyDataTransform

func (c *Client) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)

ModifyDataTransform This API is used to modify a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict"
INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist"
INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyDataTransformWithContext

func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)

ModifyDataTransform This API is used to modify a data processing task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict"
INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist"
INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyIndex

func (c *Client) ModifyIndex(request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)

ModifyIndex This API is used to modify the index configuration. It is subject to the default request frequency limit, and the number of concurrent requests to the same log topic cannot exceed 1, i.e., the index configuration of only one log topic can be modified at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyIndexWithContext

func (c *Client) ModifyIndexWithContext(ctx context.Context, request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)

ModifyIndex This API is used to modify the index configuration. It is subject to the default request frequency limit, and the number of concurrent requests to the same log topic cannot exceed 1, i.e., the index configuration of only one log topic can be modified at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow"
LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyKafkaRecharge

func (c *Client) ModifyKafkaRecharge(request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)

ModifyKafkaRecharge This API is used to modify a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) ModifyKafkaRechargeWithContext

func (c *Client) ModifyKafkaRechargeWithContext(ctx context.Context, request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)

ModifyKafkaRecharge This API is used to modify a Kafka data subscription task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) ModifyLogset

func (c *Client) ModifyLogset(request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)

ModifyLogset This API is used to modify a logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) ModifyLogsetWithContext

func (c *Client) ModifyLogsetWithContext(ctx context.Context, request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)

ModifyLogset This API is used to modify a logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"

func (*Client) ModifyMachineGroup

func (c *Client) ModifyMachineGroup(request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)

ModifyMachineGroup This API is used to modify a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp"
LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) ModifyMachineGroupWithContext

func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)

ModifyMachineGroup This API is used to modify a machine group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp"
LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"

func (*Client) ModifyShipper

func (c *Client) ModifyShipper(request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)

ModifyShipper This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) ModifyShipperWithContext

func (c *Client) ModifyShipperWithContext(ctx context.Context, request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)

ModifyShipper This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"

func (*Client) ModifyTopic

func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)

ModifyTopic This API is used to modify a log topic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) ModifyTopicWithContext

func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)

ModifyTopic This API is used to modify a log topic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod"
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) OpenKafkaConsumer

func (c *Client) OpenKafkaConsumer(request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)

OpenKafkaConsumer This API is used to enable the Kafka consumption feature.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) OpenKafkaConsumerWithContext

func (c *Client) OpenKafkaConsumerWithContext(ctx context.Context, request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)

OpenKafkaConsumer This API is used to enable the Kafka consumption feature.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) PreviewKafkaRecharge

func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)

PreviewKafkaRecharge This API is used to preview the logs of Kafka data subscription tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) PreviewKafkaRechargeWithContext

func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)

PreviewKafkaRecharge This API is used to preview the logs of Kafka data subscription tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"

func (*Client) RetryShipperTask

func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)

RetryShipperTask This API is used to retry a failed shipping task.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"

func (*Client) RetryShipperTaskWithContext

func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)

RetryShipperTask This API is used to retry a failed shipping task.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"

func (*Client) SearchLog

func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)

SearchLog This API is used to search logs. It is subject to the default API rate limit, and the number of concurrent queries to the same log topic cannot exceed 15.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources"
LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported"
OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) SearchLogWithContext

func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)

SearchLog This API is used to search logs. It is subject to the default API rate limit, and the number of concurrent queries to the same log topic cannot exceed 15.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext"
FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError"
FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout"
FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch"
LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources"
LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported"
OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"

func (*Client) SplitPartition

func (c *Client) SplitPartition(request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)

SplitPartition This API is used to split a topic partition.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SplitPartitionWithContext

func (c *Client) SplitPartitionWithContext(ctx context.Context, request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)

SplitPartition This API is used to split a topic partition.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UploadLog

func (c *Client) UploadLog(request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)

UploadLog ## Note

To ensure log data reliability and help you use CLS more efficiently, we recommend you use the optimized API to upload logs. For more information about the API, see [Uploading Log via API](https://intl.cloud.tencent.com/document/product/614/16873?from_cn_redirect=1).

For the optimized API, we have developed an SDK (available in multiple languages) that provides features including async sending, resource control, automatic retry, graceful shutdown, and detection-based reporting. For details, see [Uploading Log via SDK](https://intl.cloud.tencent.com/document/product/614/67157?from_cn_redirect=1).

`UploadLog` allows you to synchronously upload log data. If you still want to continue to use this API instead of the optimized one, read this document.

## Feature Description

This API is used to write logs to a specified log topic.

CLS provides the following two modes:

#### Load balancing mode

In this mode, logs will be automatically written to a target partition among all readable/writable partitions under the current log topic based on the load balancing principle. This mode is suitable for scenarios where sequential consumption is not needed.

#### Hash routing mode

In this mode, data will be written to a target partition that meets the range requirements based on the carried hash value (`X-CLS-HashKey`). For example, a log source can be bound to a topic partition through `HashKey`, strictly guaranteeing the sequence of the data written to and consumed in this partition.

#### Input parameters (pb binary streams in `body`)

| Parameter | Type | Location | Required | Description |

| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |

| logGroupList | message | pb | Yes | The `logGroup` list, which describes the encapsulated log groups. We recommend you enter up to five `logGroup` values. |

`LogGroup` description:

| Parameter | Required | Description |

| ----------- | -------- | ------------------------------------------------------------ |

| logs | Yes | Log array consisting of multiple `Log` values. The `Log` indicates a log, and a `LogGroup` can contain up to 10,000 `Log` values. |

| contextFlow | No | Unique `LogGroup` ID, which should be passed in if the context feature needs to be used. Format: "{Context ID}-{LogGroupID}". <br>Context ID: Uniquely identifies the context (a series of log files that are continuously scrolling or a series of logs that need to be sequenced), which is a 64-bit integer hex string. <br>LogGroupID: A 64-bit integer hex string that continuously increases, such as `102700A66102516A-59F59`. |

| filename | No | Log filename |

| source | No | Log source, which is generally the machine IP |

| logTags | No | List of log tags |

`Log` description:

| Parameter | Required | Description |

| -------- | -------- | ------------------------------------------------------------ |

| time | Yes | Unix timestamp of log time in seconds or milliseconds (recommended) |

| contents | No | Log content in key-value format. A log can contain multiple key-value pairs. |

`Content` description:

| Parameter | Required | Description |

| ------ | -------- | ------------------------------------------------------------ |

| key | Yes | Key of a field group in one log, which cannot start with `_`. |

| value | Yes | Value of a field group. The `value` of one log cannot exceed 1 MB and the total `value` in `LogGroup` cannot exceed 5 MB. |

`LogTag` description:

| Parameter | Required | Description |

| ------ | -------- | -------------------------------- |

| key | Yes | Key of a custom tag |

| value | Yes | Value corresponding to the custom tag key |

## pb Compilation Example

This example shows you how to use the protoc compiler to compile a pb description file into a log upload API in C++.

> ?Currently, protoc supports compilation in multiple programming languages such as Java, C++, and Python. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).

#### 1. Install Protocol Buffers

Download [Protocol Buffers](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz), decompress the package, and install the tool. The version used in the example is protobuf 2.6.1 running on CentOS 7.3. Run the following command to decompress the `protobuf-2.6.1.tar.gz` package to the `/usr/local` directory and go to the directory:

```

tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1

```

Run the following commands to start compilation and installation and configure the environment variables:

```

[root@VM_0_8_centos protobuf-2.6.1]# ./configure

[root@VM_0_8_centos protobuf-2.6.1]# make && make install

[root@VM_0_8_centos protobuf-2.6.1]# export PATH=$PATH:/usr/local/protobuf-2.6.1/bin

```

After the compilation succeeds, run the following command to check the version:

```

[root@VM_0_8_centos protobuf-2.6.1]# protoc --version

liprotoc 2.6.1

```

#### 2. Create a pb description file

A pb description file is an agreed-on data interchange format for communication. To upload logs, compile the specified protocol format to an API in the target programming language and add the API to the project code. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).

Create a pb message description file `cls.proto` based on the pb data format content specified by CLS.

> !The pb description file content cannot be modified, and the filename must end with `.proto`.

The content of `cls.proto` (pb description file) is as follows:

```

package cls;

message Log

{

message Content

{

    required string key   = 1; // Key of each field group

    required string value = 2; // Value of each field group

}

required int64   time     = 1; // Unix timestamp

repeated Content contents = 2; // Multiple key-value pairs in one log

}

message LogTag

{

required string key       = 1;

required string value     = 2;

}

message LogGroup

{

repeated Log    logs        = 1; // Log array consisting of multiple logs

optional string contextFlow = 2; // This parameter does not take effect currently

optional string filename    = 3; // Log filename

optional string source      = 4; // Log source, which is generally the machine IP

repeated LogTag logTags     = 5;

}

message LogGroupList

{

repeated LogGroup logGroupList = 1; // Log group list

}

```

#### 3. Compile and generate the API

This example uses the proto compiler to generate a C++ file in the same directory as the `cls.proto` file. Run the following compilation command:

```

protoc --cpp_out=./ ./cls.proto

```

> ?`--cpp_out=./` indicates that the file will be compiled in cpp format and output to the current directory. `./cls.proto` indicates the `cls.proto` description file in the current directory.

After the compilation succeeds, the code file in the corresponding programming language will be generated. This example generates the `cls.pb.h` header file and [cls.pb.cc](http://cls.pb.cc) code implementation file as shown below:

```

[root@VM_0_8_centos protobuf-2.6.1]# protoc --cpp_out=./ ./cls.proto

[root@VM_0_8_centos protobuf-2.6.1]# ls

cls.pb.cc cls.pb.h cls.proto

```

#### 4. Call the API

Import the generated `cls.pb.h` header file into the code and call the API for data encapsulation.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent"
FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit"
FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONTENT = "InvalidParameter.Content"
LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize"
LIMITEXCEEDED_TAG = "LimitExceeded.Tag"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UploadLogWithContext

func (c *Client) UploadLogWithContext(ctx context.Context, request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)

UploadLog ## Note

To ensure log data reliability and help you use CLS more efficiently, we recommend you use the optimized API to upload logs. For more information about the API, see [Uploading Log via API](https://intl.cloud.tencent.com/document/product/614/16873?from_cn_redirect=1).

For the optimized API, we have developed an SDK (available in multiple languages) that provides features including async sending, resource control, automatic retry, graceful shutdown, and detection-based reporting. For details, see [Uploading Log via SDK](https://intl.cloud.tencent.com/document/product/614/67157?from_cn_redirect=1).

`UploadLog` allows you to synchronously upload log data. If you still want to continue to use this API instead of the optimized one, read this document.

## Feature Description

This API is used to write logs to a specified log topic.

CLS provides the following two modes:

#### Load balancing mode

In this mode, logs will be automatically written to a target partition among all readable/writable partitions under the current log topic based on the load balancing principle. This mode is suitable for scenarios where sequential consumption is not needed.

#### Hash routing mode

In this mode, data will be written to a target partition that meets the range requirements based on the carried hash value (`X-CLS-HashKey`). For example, a log source can be bound to a topic partition through `HashKey`, strictly guaranteeing the sequence of the data written to and consumed in this partition.

#### Input parameters (pb binary streams in `body`)

| Parameter | Type | Location | Required | Description |

| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |

| logGroupList | message | pb | Yes | The `logGroup` list, which describes the encapsulated log groups. We recommend you enter up to five `logGroup` values. |

`LogGroup` description:

| Parameter | Required | Description |

| ----------- | -------- | ------------------------------------------------------------ |

| logs | Yes | Log array consisting of multiple `Log` values. The `Log` indicates a log, and a `LogGroup` can contain up to 10,000 `Log` values. |

| contextFlow | No | Unique `LogGroup` ID, which should be passed in if the context feature needs to be used. Format: "{Context ID}-{LogGroupID}". <br>Context ID: Uniquely identifies the context (a series of log files that are continuously scrolling or a series of logs that need to be sequenced), which is a 64-bit integer hex string. <br>LogGroupID: A 64-bit integer hex string that continuously increases, such as `102700A66102516A-59F59`. |

| filename | No | Log filename |

| source | No | Log source, which is generally the machine IP |

| logTags | No | List of log tags |

`Log` description:

| Parameter | Required | Description |

| -------- | -------- | ------------------------------------------------------------ |

| time | Yes | Unix timestamp of log time in seconds or milliseconds (recommended) |

| contents | No | Log content in key-value format. A log can contain multiple key-value pairs. |

`Content` description:

| Parameter | Required | Description |

| ------ | -------- | ------------------------------------------------------------ |

| key | Yes | Key of a field group in one log, which cannot start with `_`. |

| value | Yes | Value of a field group. The `value` of one log cannot exceed 1 MB and the total `value` in `LogGroup` cannot exceed 5 MB. |

`LogTag` description:

| Parameter | Required | Description |

| ------ | -------- | -------------------------------- |

| key | Yes | Key of a custom tag |

| value | Yes | Value corresponding to the custom tag key |

## pb Compilation Example

This example shows you how to use the protoc compiler to compile a pb description file into a log upload API in C++.

> ?Currently, protoc supports compilation in multiple programming languages such as Java, C++, and Python. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).

#### 1. Install Protocol Buffers

Download [Protocol Buffers](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz), decompress the package, and install the tool. The version used in the example is protobuf 2.6.1 running on CentOS 7.3. Run the following command to decompress the `protobuf-2.6.1.tar.gz` package to the `/usr/local` directory and go to the directory:

```

tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1

```

Run the following commands to start compilation and installation and configure the environment variables:

```

[root@VM_0_8_centos protobuf-2.6.1]# ./configure

[root@VM_0_8_centos protobuf-2.6.1]# make && make install

[root@VM_0_8_centos protobuf-2.6.1]# export PATH=$PATH:/usr/local/protobuf-2.6.1/bin

```

After the compilation succeeds, run the following command to check the version:

```

[root@VM_0_8_centos protobuf-2.6.1]# protoc --version

liprotoc 2.6.1

```

#### 2. Create a pb description file

A pb description file is an agreed-on data interchange format for communication. To upload logs, compile the specified protocol format to an API in the target programming language and add the API to the project code. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).

Create a pb message description file `cls.proto` based on the pb data format content specified by CLS.

> !The pb description file content cannot be modified, and the filename must end with `.proto`.

The content of `cls.proto` (pb description file) is as follows:

```

package cls;

message Log

{

message Content

{

    required string key   = 1; // Key of each field group

    required string value = 2; // Value of each field group

}

required int64   time     = 1; // Unix timestamp

repeated Content contents = 2; // Multiple key-value pairs in one log

}

message LogTag

{

required string key       = 1;

required string value     = 2;

}

message LogGroup

{

repeated Log    logs        = 1; // Log array consisting of multiple logs

optional string contextFlow = 2; // This parameter does not take effect currently

optional string filename    = 3; // Log filename

optional string source      = 4; // Log source, which is generally the machine IP

repeated LogTag logTags     = 5;

}

message LogGroupList

{

repeated LogGroup logGroupList = 1; // Log group list

}

```

#### 3. Compile and generate the API

This example uses the proto compiler to generate a C++ file in the same directory as the `cls.proto` file. Run the following compilation command:

```

protoc --cpp_out=./ ./cls.proto

```

> ?`--cpp_out=./` indicates that the file will be compiled in cpp format and output to the current directory. `./cls.proto` indicates the `cls.proto` description file in the current directory.

After the compilation succeeds, the code file in the corresponding programming language will be generated. This example generates the `cls.pb.h` header file and [cls.pb.cc](http://cls.pb.cc) code implementation file as shown below:

```

[root@VM_0_8_centos protobuf-2.6.1]# protoc --cpp_out=./ ./cls.proto

[root@VM_0_8_centos protobuf-2.6.1]# ls

cls.pb.cc cls.pb.h cls.proto

```

#### 4. Call the API

Import the generated `cls.pb.h` header file into the code and call the API for data encapsulation.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent"
FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit"
FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed"
FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated"
FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit"
FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CONTENT = "InvalidParameter.Content"
LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize"
LIMITEXCEEDED_TAG = "LimitExceeded.Tag"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed"
OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy"
OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate"
OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist"
RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type CloseKafkaConsumerRequest

type CloseKafkaConsumerRequest struct {
	*tchttp.BaseRequest

	// CLS topic identifier
	FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"`
}

func NewCloseKafkaConsumerRequest

func NewCloseKafkaConsumerRequest() (request *CloseKafkaConsumerRequest)

func (*CloseKafkaConsumerRequest) FromJsonString

func (r *CloseKafkaConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseKafkaConsumerRequest) ToJsonString

func (r *CloseKafkaConsumerRequest) ToJsonString() string

type CloseKafkaConsumerRequestParams

type CloseKafkaConsumerRequestParams struct {
	// CLS topic identifier
	FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"`
}

Predefined struct for user

type CloseKafkaConsumerResponse

type CloseKafkaConsumerResponse struct {
	*tchttp.BaseResponse
	Response *CloseKafkaConsumerResponseParams `json:"Response"`
}

func NewCloseKafkaConsumerResponse

func NewCloseKafkaConsumerResponse() (response *CloseKafkaConsumerResponse)

func (*CloseKafkaConsumerResponse) FromJsonString

func (r *CloseKafkaConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseKafkaConsumerResponse) ToJsonString

func (r *CloseKafkaConsumerResponse) ToJsonString() string

type CloseKafkaConsumerResponseParams

type CloseKafkaConsumerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Column

type Column struct {
	// Column name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Column attribute
	Type *string `json:"Type,omitnil" name:"Type"`
}

type CompressInfo

type CompressInfo struct {
	// Compression format. Valid values: `gzip`; `lzop`; `snappy`; `none` (no compression)
	Format *string `json:"Format,omitnil" name:"Format"`
}

type ConfigInfo

type ConfigInfo struct {
	// Collection rule configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Name of the collection rule configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Log formatting method
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"`

	// Log collection path
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Path *string `json:"Path,omitnil" name:"Path"`

	// Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"`

	// Collection path blocklist
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"`

	// Log topic ID (TopicId) of collection configuration
	Output *string `json:"Output,omitnil" name:"Output"`

	// Update time
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Custom parsing string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"`
}

type ConsumerContent

type ConsumerContent struct {
	// Whether to ship tag information
	// Note: This field may return `null`, indicating that no valid value was found.
	EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"`

	// List of metadata to ship. Supported metadata types: \_\_SOURCE\_\_, \_\_FILENAME\_\_, \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"`

	// This parameter is required if `EnableTag` is `true`, and is used to specify whether the tag information is JSON tiled. Valid values: `true` (not tiled); `false` (tiled)
	// Note: This field may return `null`, indicating that no valid value was found.
	TagJsonNotTiled *bool `json:"TagJsonNotTiled,omitnil" name:"TagJsonNotTiled"`

	// Shipping timestamp precision in seconds (default) or milliseconds
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimestampAccuracy *int64 `json:"TimestampAccuracy,omitnil" name:"TimestampAccuracy"`
}

type ContentInfo

type ContentInfo struct {
	// Content format. Valid values: `json`, `csv`
	Format *string `json:"Format,omitnil" name:"Format"`

	// CSV format content description
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Csv *CsvInfo `json:"Csv,omitnil" name:"Csv"`

	// JSON format content description
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Json *JsonInfo `json:"Json,omitnil" name:"Json"`

	// `Parquet` format description
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Parquet *ParquetInfo `json:"Parquet,omitnil" name:"Parquet"`
}

type CosRechargeInfo

type CosRechargeInfo struct {
	// COS import configuration ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Id *string `json:"Id,omitnil" name:"Id"`

	// ID of the log topic.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// ID of the logset.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// COS import task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// COS bucket.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Region where the COS bucket is located.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"`

	// The prefix of the folder where COS files are located.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line
	// Default value: `minimalist_log`
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
	// Note: This field may return null, indicating that no valid values can be obtained.
	Enable *uint64 `json:"Enable,omitnil" name:"Enable"`

	// Creation time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Update time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Progress in percentage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Progress *uint64 `json:"Progress,omitnil" name:"Progress"`

	// Valid values: "" (default), "gzip", "lzop", "snappy"
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compress *string `json:"Compress,omitnil" name:"Compress"`

	// See the description of the `ExtractRuleInfo` structure.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"`
}

type CreateAlarmNoticeRequest

type CreateAlarmNoticeRequest struct {
	*tchttp.BaseRequest

	// Notification group name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Notification type. Valid values:
	// <li> `Trigger`: alarm triggered
	// <li> `Recovery`: alarm cleared
	// <li> `All`: alarm triggered and alarm cleared
	Type *string `json:"Type,omitnil" name:"Type"`

	// Notification recipient
	NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"`

	// API callback information (including WeCom)
	WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"`
}

func NewCreateAlarmNoticeRequest

func NewCreateAlarmNoticeRequest() (request *CreateAlarmNoticeRequest)

func (*CreateAlarmNoticeRequest) FromJsonString

func (r *CreateAlarmNoticeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAlarmNoticeRequest) ToJsonString

func (r *CreateAlarmNoticeRequest) ToJsonString() string

type CreateAlarmNoticeRequestParams

type CreateAlarmNoticeRequestParams struct {
	// Notification group name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Notification type. Valid values:
	// <li> `Trigger`: alarm triggered
	// <li> `Recovery`: alarm cleared
	// <li> `All`: alarm triggered and alarm cleared
	Type *string `json:"Type,omitnil" name:"Type"`

	// Notification recipient
	NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"`

	// API callback information (including WeCom)
	WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"`
}

Predefined struct for user

type CreateAlarmNoticeResponse

type CreateAlarmNoticeResponse struct {
	*tchttp.BaseResponse
	Response *CreateAlarmNoticeResponseParams `json:"Response"`
}

func NewCreateAlarmNoticeResponse

func NewCreateAlarmNoticeResponse() (response *CreateAlarmNoticeResponse)

func (*CreateAlarmNoticeResponse) FromJsonString

func (r *CreateAlarmNoticeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAlarmNoticeResponse) ToJsonString

func (r *CreateAlarmNoticeResponse) ToJsonString() string

type CreateAlarmNoticeResponseParams

type CreateAlarmNoticeResponseParams struct {
	// Alarm template ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateAlarmRequest

type CreateAlarmRequest struct {
	*tchttp.BaseRequest

	// Alarm policy name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Monitoring object list
	AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"`

	// Monitoring task running time point
	MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"`

	// Trigger condition
	Condition *string `json:"Condition,omitnil" name:"Condition"`

	// Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Repeated alarm interval in minutes. Value range: 0–1440.
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// List of associated alarm notification templates
	AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"`

	// Whether to enable the alarm policy. Default value: true
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Custom alarm content
	MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"`

	// Custom callback
	CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"`

	// Multi-Dimensional analysis
	Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"`
}

func NewCreateAlarmRequest

func NewCreateAlarmRequest() (request *CreateAlarmRequest)

func (*CreateAlarmRequest) FromJsonString

func (r *CreateAlarmRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAlarmRequest) ToJsonString

func (r *CreateAlarmRequest) ToJsonString() string

type CreateAlarmRequestParams

type CreateAlarmRequestParams struct {
	// Alarm policy name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Monitoring object list
	AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"`

	// Monitoring task running time point
	MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"`

	// Trigger condition
	Condition *string `json:"Condition,omitnil" name:"Condition"`

	// Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Repeated alarm interval in minutes. Value range: 0–1440.
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// List of associated alarm notification templates
	AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"`

	// Whether to enable the alarm policy. Default value: true
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Custom alarm content
	MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"`

	// Custom callback
	CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"`

	// Multi-Dimensional analysis
	Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"`
}

Predefined struct for user

type CreateAlarmResponse

type CreateAlarmResponse struct {
	*tchttp.BaseResponse
	Response *CreateAlarmResponseParams `json:"Response"`
}

func NewCreateAlarmResponse

func NewCreateAlarmResponse() (response *CreateAlarmResponse)

func (*CreateAlarmResponse) FromJsonString

func (r *CreateAlarmResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAlarmResponse) ToJsonString

func (r *CreateAlarmResponse) ToJsonString() string

type CreateAlarmResponseParams

type CreateAlarmResponseParams struct {
	// Alarm policy ID.
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateConfigRequest

type CreateConfigRequest struct {
	*tchttp.BaseRequest

	// Collection configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Log topic ID (TopicId) of collection configuration
	Output *string `json:"Output,omitnil" name:"Output"`

	// Log collection path containing the filename
	Path *string `json:"Path,omitnil" name:"Path"`

	// Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"`

	// Collection path blocklist
	ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"`

	// Custom collection rule, which is a serialized JSON string
	UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"`

	// Advanced collection configuration
	AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"`
}

func NewCreateConfigRequest

func NewCreateConfigRequest() (request *CreateConfigRequest)

func (*CreateConfigRequest) FromJsonString

func (r *CreateConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateConfigRequest) ToJsonString

func (r *CreateConfigRequest) ToJsonString() string

type CreateConfigRequestParams

type CreateConfigRequestParams struct {
	// Collection configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Log topic ID (TopicId) of collection configuration
	Output *string `json:"Output,omitnil" name:"Output"`

	// Log collection path containing the filename
	Path *string `json:"Path,omitnil" name:"Path"`

	// Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"`

	// Collection path blocklist
	ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"`

	// Custom collection rule, which is a serialized JSON string
	UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"`

	// Advanced collection configuration
	AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"`
}

Predefined struct for user

type CreateConfigResponse

type CreateConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateConfigResponseParams `json:"Response"`
}

func NewCreateConfigResponse

func NewCreateConfigResponse() (response *CreateConfigResponse)

func (*CreateConfigResponse) FromJsonString

func (r *CreateConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateConfigResponse) ToJsonString

func (r *CreateConfigResponse) ToJsonString() string

type CreateConfigResponseParams

type CreateConfigResponseParams struct {
	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateConsumerRequest

type CreateConsumerRequest struct {
	*tchttp.BaseRequest

	// Log topic ID to bind
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Whether to ship log metadata. Default value: `true`
	NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"`

	// Metadata to ship if `NeedContent` is `true`
	Content *ConsumerContent `json:"Content,omitnil" name:"Content"`

	// CKafka information
	Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"`

	// Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`
}

func NewCreateConsumerRequest

func NewCreateConsumerRequest() (request *CreateConsumerRequest)

func (*CreateConsumerRequest) FromJsonString

func (r *CreateConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateConsumerRequest) ToJsonString

func (r *CreateConsumerRequest) ToJsonString() string

type CreateConsumerRequestParams

type CreateConsumerRequestParams struct {
	// Log topic ID to bind
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Whether to ship log metadata. Default value: `true`
	NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"`

	// Metadata to ship if `NeedContent` is `true`
	Content *ConsumerContent `json:"Content,omitnil" name:"Content"`

	// CKafka information
	Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"`

	// Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`
}

Predefined struct for user

type CreateConsumerResponse

type CreateConsumerResponse struct {
	*tchttp.BaseResponse
	Response *CreateConsumerResponseParams `json:"Response"`
}

func NewCreateConsumerResponse

func NewCreateConsumerResponse() (response *CreateConsumerResponse)

func (*CreateConsumerResponse) FromJsonString

func (r *CreateConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateConsumerResponse) ToJsonString

func (r *CreateConsumerResponse) ToJsonString() string

type CreateConsumerResponseParams

type CreateConsumerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateCosRechargeRequest

type CreateCosRechargeRequest struct {
	*tchttp.BaseRequest

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// ID of the logset.
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Shipping task name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// COS bucket.
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Region where the COS bucket is located.
	BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"`

	// The prefix of the folder where COS files are located.
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line
	// Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Valid values: "" (default), "gzip", "lzop", "snappy"
	Compress *string `json:"Compress,omitnil" name:"Compress"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"`
}

func NewCreateCosRechargeRequest

func NewCreateCosRechargeRequest() (request *CreateCosRechargeRequest)

func (*CreateCosRechargeRequest) FromJsonString

func (r *CreateCosRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCosRechargeRequest) ToJsonString

func (r *CreateCosRechargeRequest) ToJsonString() string

type CreateCosRechargeRequestParams

type CreateCosRechargeRequestParams struct {
	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// ID of the logset.
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Shipping task name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// COS bucket.
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Region where the COS bucket is located.
	BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"`

	// The prefix of the folder where COS files are located.
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line
	// Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Valid values: "" (default), "gzip", "lzop", "snappy"
	Compress *string `json:"Compress,omitnil" name:"Compress"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"`
}

Predefined struct for user

type CreateCosRechargeResponse

type CreateCosRechargeResponse struct {
	*tchttp.BaseResponse
	Response *CreateCosRechargeResponseParams `json:"Response"`
}

func NewCreateCosRechargeResponse

func NewCreateCosRechargeResponse() (response *CreateCosRechargeResponse)

func (*CreateCosRechargeResponse) FromJsonString

func (r *CreateCosRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCosRechargeResponse) ToJsonString

func (r *CreateCosRechargeResponse) ToJsonString() string

type CreateCosRechargeResponseParams

type CreateCosRechargeResponseParams struct {
	// cos_recharge record ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	Id *string `json:"Id,omitnil" name:"Id"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateDataTransformRequest

type CreateDataTransformRequest struct {
	*tchttp.BaseRequest

	// Task type. Valid values: 1 (specified topic) and 2 (dynamically created).
	FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"`

	// Source log topic
	SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"`

	// Data processing task name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Data processing statement
	EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"`

	// Data processing type. Valid values: `1`: Use random data from the source log topic for processing preview. `2`: Use user-defined test data for processing preview. `3`: Create a real processing task.
	TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"`

	// Task status. Valid values: 1 (enabled) and 2 (disabled).
	EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"`

	// Target topic ID and alias of the data processing task
	DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"`

	// Test data used for previewing the processing result
	PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil" name:"PreviewLogStatistics"`
}

func NewCreateDataTransformRequest

func NewCreateDataTransformRequest() (request *CreateDataTransformRequest)

func (*CreateDataTransformRequest) FromJsonString

func (r *CreateDataTransformRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDataTransformRequest) ToJsonString

func (r *CreateDataTransformRequest) ToJsonString() string

type CreateDataTransformRequestParams

type CreateDataTransformRequestParams struct {
	// Task type. Valid values: 1 (specified topic) and 2 (dynamically created).
	FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"`

	// Source log topic
	SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"`

	// Data processing task name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Data processing statement
	EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"`

	// Data processing type. Valid values: `1`: Use random data from the source log topic for processing preview. `2`: Use user-defined test data for processing preview. `3`: Create a real processing task.
	TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"`

	// Task status. Valid values: 1 (enabled) and 2 (disabled).
	EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"`

	// Target topic ID and alias of the data processing task
	DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"`

	// Test data used for previewing the processing result
	PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil" name:"PreviewLogStatistics"`
}

Predefined struct for user

type CreateDataTransformResponse

type CreateDataTransformResponse struct {
	*tchttp.BaseResponse
	Response *CreateDataTransformResponseParams `json:"Response"`
}

func NewCreateDataTransformResponse

func NewCreateDataTransformResponse() (response *CreateDataTransformResponse)

func (*CreateDataTransformResponse) FromJsonString

func (r *CreateDataTransformResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDataTransformResponse) ToJsonString

func (r *CreateDataTransformResponse) ToJsonString() string

type CreateDataTransformResponseParams

type CreateDataTransformResponseParams struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateExportRequest

type CreateExportRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Number of logs to be exported. Maximum value: 50 million
	Count *uint64 `json:"Count,omitnil" name:"Count"`

	// Search statements for log export. <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statements]</a> are not supported.
	Query *string `json:"Query,omitnil" name:"Query"`

	// Start time of the log to be exported, which is a timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be exported, which is a timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Exported log sorting order by time. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`
	Order *string `json:"Order,omitnil" name:"Order"`

	// Exported log data format. Valid values: `json`, `csv`. Default value: `json`
	Format *string `json:"Format,omitnil" name:"Format"`
}

func NewCreateExportRequest

func NewCreateExportRequest() (request *CreateExportRequest)

func (*CreateExportRequest) FromJsonString

func (r *CreateExportRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateExportRequest) ToJsonString

func (r *CreateExportRequest) ToJsonString() string

type CreateExportRequestParams

type CreateExportRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Number of logs to be exported. Maximum value: 50 million
	Count *uint64 `json:"Count,omitnil" name:"Count"`

	// Search statements for log export. <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statements]</a> are not supported.
	Query *string `json:"Query,omitnil" name:"Query"`

	// Start time of the log to be exported, which is a timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be exported, which is a timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Exported log sorting order by time. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`
	Order *string `json:"Order,omitnil" name:"Order"`

	// Exported log data format. Valid values: `json`, `csv`. Default value: `json`
	Format *string `json:"Format,omitnil" name:"Format"`
}

Predefined struct for user

type CreateExportResponse

type CreateExportResponse struct {
	*tchttp.BaseResponse
	Response *CreateExportResponseParams `json:"Response"`
}

func NewCreateExportResponse

func NewCreateExportResponse() (response *CreateExportResponse)

func (*CreateExportResponse) FromJsonString

func (r *CreateExportResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateExportResponse) ToJsonString

func (r *CreateExportResponse) ToJsonString() string

type CreateExportResponseParams

type CreateExportResponseParams struct {
	// Log export ID.
	ExportId *string `json:"ExportId,omitnil" name:"ExportId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateIndexRequest

type CreateIndexRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Index rule
	Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"`

	// Whether to take effect. Default value: true
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`.
	// * `false`: Full-text indexing does not include internal fields.
	// * `true`: Full-text indexing includes internal fields.
	IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"`

	// Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`.
	// * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled.
	// * `1`: Full-text indexing includes all metadata fields.
	// * `2`: Full-text indexing does not include metadata fields.
	MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"`
}

func NewCreateIndexRequest

func NewCreateIndexRequest() (request *CreateIndexRequest)

func (*CreateIndexRequest) FromJsonString

func (r *CreateIndexRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIndexRequest) ToJsonString

func (r *CreateIndexRequest) ToJsonString() string

type CreateIndexRequestParams

type CreateIndexRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Index rule
	Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"`

	// Whether to take effect. Default value: true
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`.
	// * `false`: Full-text indexing does not include internal fields.
	// * `true`: Full-text indexing includes internal fields.
	IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"`

	// Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`.
	// * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled.
	// * `1`: Full-text indexing includes all metadata fields.
	// * `2`: Full-text indexing does not include metadata fields.
	MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"`
}

Predefined struct for user

type CreateIndexResponse

type CreateIndexResponse struct {
	*tchttp.BaseResponse
	Response *CreateIndexResponseParams `json:"Response"`
}

func NewCreateIndexResponse

func NewCreateIndexResponse() (response *CreateIndexResponse)

func (*CreateIndexResponse) FromJsonString

func (r *CreateIndexResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIndexResponse) ToJsonString

func (r *CreateIndexResponse) ToJsonString() string

type CreateIndexResponseParams

type CreateIndexResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateKafkaRechargeRequest

type CreateKafkaRechargeRequest struct {
	*tchttp.BaseRequest

	// Target topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Kafka data import configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Position for data import. Valid values: -2 (earliest, default) and -1 (latest).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address, which is required when `KafkaType` is set to `1`
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1`
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`
}

func NewCreateKafkaRechargeRequest

func NewCreateKafkaRechargeRequest() (request *CreateKafkaRechargeRequest)

func (*CreateKafkaRechargeRequest) FromJsonString

func (r *CreateKafkaRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateKafkaRechargeRequest) ToJsonString

func (r *CreateKafkaRechargeRequest) ToJsonString() string

type CreateKafkaRechargeRequestParams

type CreateKafkaRechargeRequestParams struct {
	// Target topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Kafka data import configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Position for data import. Valid values: -2 (earliest, default) and -1 (latest).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address, which is required when `KafkaType` is set to `1`
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1`
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`
}

Predefined struct for user

type CreateKafkaRechargeResponse

type CreateKafkaRechargeResponse struct {
	*tchttp.BaseResponse
	Response *CreateKafkaRechargeResponseParams `json:"Response"`
}

func NewCreateKafkaRechargeResponse

func NewCreateKafkaRechargeResponse() (response *CreateKafkaRechargeResponse)

func (*CreateKafkaRechargeResponse) FromJsonString

func (r *CreateKafkaRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateKafkaRechargeResponse) ToJsonString

func (r *CreateKafkaRechargeResponse) ToJsonString() string

type CreateKafkaRechargeResponseParams

type CreateKafkaRechargeResponseParams struct {
	// Kafka data import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateLogsetRequest

type CreateLogsetRequest struct {
	*tchttp.BaseRequest

	// Logset name, which must be unique
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

func NewCreateLogsetRequest

func NewCreateLogsetRequest() (request *CreateLogsetRequest)

func (*CreateLogsetRequest) FromJsonString

func (r *CreateLogsetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLogsetRequest) ToJsonString

func (r *CreateLogsetRequest) ToJsonString() string

type CreateLogsetRequestParams

type CreateLogsetRequestParams struct {
	// Logset name, which must be unique
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

Predefined struct for user

type CreateLogsetResponse

type CreateLogsetResponse struct {
	*tchttp.BaseResponse
	Response *CreateLogsetResponseParams `json:"Response"`
}

func NewCreateLogsetResponse

func NewCreateLogsetResponse() (response *CreateLogsetResponse)

func (*CreateLogsetResponse) FromJsonString

func (r *CreateLogsetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLogsetResponse) ToJsonString

func (r *CreateLogsetResponse) ToJsonString() string

type CreateLogsetResponseParams

type CreateLogsetResponseParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateMachineGroupRequest

type CreateMachineGroupRequest struct {
	*tchttp.BaseRequest

	// Machine group name, which must be unique
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Type of the machine group to be created. Valid values: `ip`: use the IP string list in `Values` to create a machine group; `label`: use the tag string list in `Values` to create a machine group
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`

	// Tag description list. This parameter is used to bind a tag to a machine group. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic update for the machine group
	AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Update start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// Metadata information list of a machine group
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

func NewCreateMachineGroupRequest

func NewCreateMachineGroupRequest() (request *CreateMachineGroupRequest)

func (*CreateMachineGroupRequest) FromJsonString

func (r *CreateMachineGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMachineGroupRequest) ToJsonString

func (r *CreateMachineGroupRequest) ToJsonString() string

type CreateMachineGroupRequestParams

type CreateMachineGroupRequestParams struct {
	// Machine group name, which must be unique
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Type of the machine group to be created. Valid values: `ip`: use the IP string list in `Values` to create a machine group; `label`: use the tag string list in `Values` to create a machine group
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`

	// Tag description list. This parameter is used to bind a tag to a machine group. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic update for the machine group
	AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Update start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// Metadata information list of a machine group
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

Predefined struct for user

type CreateMachineGroupResponse

type CreateMachineGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateMachineGroupResponseParams `json:"Response"`
}

func NewCreateMachineGroupResponse

func NewCreateMachineGroupResponse() (response *CreateMachineGroupResponse)

func (*CreateMachineGroupResponse) FromJsonString

func (r *CreateMachineGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMachineGroupResponse) ToJsonString

func (r *CreateMachineGroupResponse) ToJsonString() string

type CreateMachineGroupResponseParams

type CreateMachineGroupResponseParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateShipperRequest

type CreateShipperRequest struct {
	*tchttp.BaseRequest

	// ID of the log topic to which the shipping rule to be created belongs
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Destination bucket in the shipping rule to be created
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Prefix of the shipping directory in the shipping rule to be created
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// Shipping rule name
	ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"`

	// Interval between shipping tasks (in sec). Default value: 300. Value range: 300-900
	Interval *uint64 `json:"Interval,omitnil" name:"Interval"`

	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256
	MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"`

	// Rules for partitioning logs to be shipped. `strftime` can be used to define the presentation of time format.
	Partition *string `json:"Partition,omitnil" name:"Partition"`

	// Compression configuration of shipped log
	Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"`

	// Format configuration of shipped log content
	Content *ContentInfo `json:"Content,omitnil" name:"Content"`

	// Naming a shipping file. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`.
	FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"`

	// Start time for data shipping, which cannot be earlier than the lifecycle start time of the log topic. If you do not specify this parameter, it will be set to the time when you create the data shipping task.
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// End time for data shipping, which cannot be set to a future time. If you do not specify this parameter, it indicates continuous data shipping.
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`
}

func NewCreateShipperRequest

func NewCreateShipperRequest() (request *CreateShipperRequest)

func (*CreateShipperRequest) FromJsonString

func (r *CreateShipperRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateShipperRequest) ToJsonString

func (r *CreateShipperRequest) ToJsonString() string

type CreateShipperRequestParams

type CreateShipperRequestParams struct {
	// ID of the log topic to which the shipping rule to be created belongs
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Destination bucket in the shipping rule to be created
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Prefix of the shipping directory in the shipping rule to be created
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// Shipping rule name
	ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"`

	// Interval between shipping tasks (in sec). Default value: 300. Value range: 300-900
	Interval *uint64 `json:"Interval,omitnil" name:"Interval"`

	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256
	MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"`

	// Rules for partitioning logs to be shipped. `strftime` can be used to define the presentation of time format.
	Partition *string `json:"Partition,omitnil" name:"Partition"`

	// Compression configuration of shipped log
	Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"`

	// Format configuration of shipped log content
	Content *ContentInfo `json:"Content,omitnil" name:"Content"`

	// Naming a shipping file. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`.
	FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"`

	// Start time for data shipping, which cannot be earlier than the lifecycle start time of the log topic. If you do not specify this parameter, it will be set to the time when you create the data shipping task.
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// End time for data shipping, which cannot be set to a future time. If you do not specify this parameter, it indicates continuous data shipping.
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`
}

Predefined struct for user

type CreateShipperResponse

type CreateShipperResponse struct {
	*tchttp.BaseResponse
	Response *CreateShipperResponseParams `json:"Response"`
}

func NewCreateShipperResponse

func NewCreateShipperResponse() (response *CreateShipperResponse)

func (*CreateShipperResponse) FromJsonString

func (r *CreateShipperResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateShipperResponse) ToJsonString

func (r *CreateShipperResponse) ToJsonString() string

type CreateShipperResponseParams

type CreateShipperResponseParams struct {
	// Shipping task ID.
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateTopicRequest

type CreateTopicRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Number of log topic partitions. Default value: 1. Maximum value: 10
	PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"`

	// Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic split. Default value: true
	AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"`

	// Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50
	MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"`

	// Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`.
	StorageType *string `json:"StorageType,omitnil" name:"StorageType"`

	// Lifecycle in days. Value range: 1–3600 (STANDARD storage); 7–3600 (IA storage). `3640` indicates permanent retention.
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Log topic description
	Describes *string `json:"Describes,omitnil" name:"Describes"`

	// `0`: Disable log transitioning.
	// A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`.
	HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"`

	// Whether to enable web tracking. Valid values: `false` (disable); `true` (enable)
	IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"`
}

func NewCreateTopicRequest

func NewCreateTopicRequest() (request *CreateTopicRequest)

func (*CreateTopicRequest) FromJsonString

func (r *CreateTopicRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicRequest) ToJsonString

func (r *CreateTopicRequest) ToJsonString() string

type CreateTopicRequestParams

type CreateTopicRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Number of log topic partitions. Default value: 1. Maximum value: 10
	PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"`

	// Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic split. Default value: true
	AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"`

	// Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50
	MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"`

	// Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`.
	StorageType *string `json:"StorageType,omitnil" name:"StorageType"`

	// Lifecycle in days. Value range: 1–3600 (STANDARD storage); 7–3600 (IA storage). `3640` indicates permanent retention.
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Log topic description
	Describes *string `json:"Describes,omitnil" name:"Describes"`

	// `0`: Disable log transitioning.
	// A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`.
	HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"`

	// Whether to enable web tracking. Valid values: `false` (disable); `true` (enable)
	IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"`
}

Predefined struct for user

type CreateTopicResponse

type CreateTopicResponse struct {
	*tchttp.BaseResponse
	Response *CreateTopicResponseParams `json:"Response"`
}

func NewCreateTopicResponse

func NewCreateTopicResponse() (response *CreateTopicResponse)

func (*CreateTopicResponse) FromJsonString

func (r *CreateTopicResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicResponse) ToJsonString

func (r *CreateTopicResponse) ToJsonString() string

type CreateTopicResponseParams

type CreateTopicResponseParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CsvInfo

type CsvInfo struct {
	// Whether to print `key` on the first row of the CSV file
	PrintKey *bool `json:"PrintKey,omitnil" name:"PrintKey"`

	// Names of keys
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Keys []*string `json:"Keys,omitnil" name:"Keys"`

	// Field delimiter
	Delimiter *string `json:"Delimiter,omitnil" name:"Delimiter"`

	// Escape character used to enclose any field delimiter in field content. You can enter only a single quotation mark, double quotation mark, or an empty string.
	EscapeChar *string `json:"EscapeChar,omitnil" name:"EscapeChar"`

	// Content used to populate non-existing fields
	NonExistingField *string `json:"NonExistingField,omitnil" name:"NonExistingField"`
}

type DataTransformResouceInfo

type DataTransformResouceInfo struct {
	// Target topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Alias
	Alias *string `json:"Alias,omitnil" name:"Alias"`
}

type DataTransformTaskInfo

type DataTransformTaskInfo struct {
	// Data processing task name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Data processing task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Task status. Valid values: 1 (enabled) and 2 (disabled).
	EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"`

	// Task type. Valid values: 1 (DSL) and 2 (SQL).
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Source log topic
	SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"`

	// Current task status. Valid values: 1 (preparing), 2 (in progress), 3 (being stopped), and 4 (stopped).
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Task creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Last modified time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Last enabled time. If you need to rebuild a cluster, modify this time.
	LastEnableTime *string `json:"LastEnableTime,omitnil" name:"LastEnableTime"`

	// Log topic name
	SrcTopicName *string `json:"SrcTopicName,omitnil" name:"SrcTopicName"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Target topic ID and alias of the data processing task
	DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"`

	// Logical function for data processing
	EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"`
}

type DeleteAlarmNoticeRequest

type DeleteAlarmNoticeRequest struct {
	*tchttp.BaseRequest

	// Notification group ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`
}

func NewDeleteAlarmNoticeRequest

func NewDeleteAlarmNoticeRequest() (request *DeleteAlarmNoticeRequest)

func (*DeleteAlarmNoticeRequest) FromJsonString

func (r *DeleteAlarmNoticeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAlarmNoticeRequest) ToJsonString

func (r *DeleteAlarmNoticeRequest) ToJsonString() string

type DeleteAlarmNoticeRequestParams

type DeleteAlarmNoticeRequestParams struct {
	// Notification group ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`
}

Predefined struct for user

type DeleteAlarmNoticeResponse

type DeleteAlarmNoticeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAlarmNoticeResponseParams `json:"Response"`
}

func NewDeleteAlarmNoticeResponse

func NewDeleteAlarmNoticeResponse() (response *DeleteAlarmNoticeResponse)

func (*DeleteAlarmNoticeResponse) FromJsonString

func (r *DeleteAlarmNoticeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAlarmNoticeResponse) ToJsonString

func (r *DeleteAlarmNoticeResponse) ToJsonString() string

type DeleteAlarmNoticeResponseParams

type DeleteAlarmNoticeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteAlarmRequest

type DeleteAlarmRequest struct {
	*tchttp.BaseRequest

	// Alarm policy ID.
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`
}

func NewDeleteAlarmRequest

func NewDeleteAlarmRequest() (request *DeleteAlarmRequest)

func (*DeleteAlarmRequest) FromJsonString

func (r *DeleteAlarmRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAlarmRequest) ToJsonString

func (r *DeleteAlarmRequest) ToJsonString() string

type DeleteAlarmRequestParams

type DeleteAlarmRequestParams struct {
	// Alarm policy ID.
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`
}

Predefined struct for user

type DeleteAlarmResponse

type DeleteAlarmResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAlarmResponseParams `json:"Response"`
}

func NewDeleteAlarmResponse

func NewDeleteAlarmResponse() (response *DeleteAlarmResponse)

func (*DeleteAlarmResponse) FromJsonString

func (r *DeleteAlarmResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAlarmResponse) ToJsonString

func (r *DeleteAlarmResponse) ToJsonString() string

type DeleteAlarmResponseParams

type DeleteAlarmResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteConfigFromMachineGroupRequest

type DeleteConfigFromMachineGroupRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

func NewDeleteConfigFromMachineGroupRequest

func NewDeleteConfigFromMachineGroupRequest() (request *DeleteConfigFromMachineGroupRequest)

func (*DeleteConfigFromMachineGroupRequest) FromJsonString

func (r *DeleteConfigFromMachineGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConfigFromMachineGroupRequest) ToJsonString

func (r *DeleteConfigFromMachineGroupRequest) ToJsonString() string

type DeleteConfigFromMachineGroupRequestParams

type DeleteConfigFromMachineGroupRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

Predefined struct for user

type DeleteConfigFromMachineGroupResponse

type DeleteConfigFromMachineGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteConfigFromMachineGroupResponseParams `json:"Response"`
}

func NewDeleteConfigFromMachineGroupResponse

func NewDeleteConfigFromMachineGroupResponse() (response *DeleteConfigFromMachineGroupResponse)

func (*DeleteConfigFromMachineGroupResponse) FromJsonString

func (r *DeleteConfigFromMachineGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConfigFromMachineGroupResponse) ToJsonString

func (r *DeleteConfigFromMachineGroupResponse) ToJsonString() string

type DeleteConfigFromMachineGroupResponseParams

type DeleteConfigFromMachineGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteConfigRequest

type DeleteConfigRequest struct {
	*tchttp.BaseRequest

	// Collection rule configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

func NewDeleteConfigRequest

func NewDeleteConfigRequest() (request *DeleteConfigRequest)

func (*DeleteConfigRequest) FromJsonString

func (r *DeleteConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConfigRequest) ToJsonString

func (r *DeleteConfigRequest) ToJsonString() string

type DeleteConfigRequestParams

type DeleteConfigRequestParams struct {
	// Collection rule configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

Predefined struct for user

type DeleteConfigResponse

type DeleteConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteConfigResponseParams `json:"Response"`
}

func NewDeleteConfigResponse

func NewDeleteConfigResponse() (response *DeleteConfigResponse)

func (*DeleteConfigResponse) FromJsonString

func (r *DeleteConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConfigResponse) ToJsonString

func (r *DeleteConfigResponse) ToJsonString() string

type DeleteConfigResponseParams

type DeleteConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteConsumerRequest

type DeleteConsumerRequest struct {
	*tchttp.BaseRequest

	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDeleteConsumerRequest

func NewDeleteConsumerRequest() (request *DeleteConsumerRequest)

func (*DeleteConsumerRequest) FromJsonString

func (r *DeleteConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConsumerRequest) ToJsonString

func (r *DeleteConsumerRequest) ToJsonString() string

type DeleteConsumerRequestParams

type DeleteConsumerRequestParams struct {
	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DeleteConsumerResponse

type DeleteConsumerResponse struct {
	*tchttp.BaseResponse
	Response *DeleteConsumerResponseParams `json:"Response"`
}

func NewDeleteConsumerResponse

func NewDeleteConsumerResponse() (response *DeleteConsumerResponse)

func (*DeleteConsumerResponse) FromJsonString

func (r *DeleteConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteConsumerResponse) ToJsonString

func (r *DeleteConsumerResponse) ToJsonString() string

type DeleteConsumerResponseParams

type DeleteConsumerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteDataTransformRequest

type DeleteDataTransformRequest struct {
	*tchttp.BaseRequest

	// Data processing task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

func NewDeleteDataTransformRequest

func NewDeleteDataTransformRequest() (request *DeleteDataTransformRequest)

func (*DeleteDataTransformRequest) FromJsonString

func (r *DeleteDataTransformRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDataTransformRequest) ToJsonString

func (r *DeleteDataTransformRequest) ToJsonString() string

type DeleteDataTransformRequestParams

type DeleteDataTransformRequestParams struct {
	// Data processing task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

Predefined struct for user

type DeleteDataTransformResponse

type DeleteDataTransformResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDataTransformResponseParams `json:"Response"`
}

func NewDeleteDataTransformResponse

func NewDeleteDataTransformResponse() (response *DeleteDataTransformResponse)

func (*DeleteDataTransformResponse) FromJsonString

func (r *DeleteDataTransformResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDataTransformResponse) ToJsonString

func (r *DeleteDataTransformResponse) ToJsonString() string

type DeleteDataTransformResponseParams

type DeleteDataTransformResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteExportRequest

type DeleteExportRequest struct {
	*tchttp.BaseRequest

	// Log export ID
	ExportId *string `json:"ExportId,omitnil" name:"ExportId"`
}

func NewDeleteExportRequest

func NewDeleteExportRequest() (request *DeleteExportRequest)

func (*DeleteExportRequest) FromJsonString

func (r *DeleteExportRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteExportRequest) ToJsonString

func (r *DeleteExportRequest) ToJsonString() string

type DeleteExportRequestParams

type DeleteExportRequestParams struct {
	// Log export ID
	ExportId *string `json:"ExportId,omitnil" name:"ExportId"`
}

Predefined struct for user

type DeleteExportResponse

type DeleteExportResponse struct {
	*tchttp.BaseResponse
	Response *DeleteExportResponseParams `json:"Response"`
}

func NewDeleteExportResponse

func NewDeleteExportResponse() (response *DeleteExportResponse)

func (*DeleteExportResponse) FromJsonString

func (r *DeleteExportResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteExportResponse) ToJsonString

func (r *DeleteExportResponse) ToJsonString() string

type DeleteExportResponseParams

type DeleteExportResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteIndexRequest

type DeleteIndexRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDeleteIndexRequest

func NewDeleteIndexRequest() (request *DeleteIndexRequest)

func (*DeleteIndexRequest) FromJsonString

func (r *DeleteIndexRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIndexRequest) ToJsonString

func (r *DeleteIndexRequest) ToJsonString() string

type DeleteIndexRequestParams

type DeleteIndexRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DeleteIndexResponse

type DeleteIndexResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIndexResponseParams `json:"Response"`
}

func NewDeleteIndexResponse

func NewDeleteIndexResponse() (response *DeleteIndexResponse)

func (*DeleteIndexResponse) FromJsonString

func (r *DeleteIndexResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIndexResponse) ToJsonString

func (r *DeleteIndexResponse) ToJsonString() string

type DeleteIndexResponseParams

type DeleteIndexResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteKafkaRechargeRequest

type DeleteKafkaRechargeRequest struct {
	*tchttp.BaseRequest

	// Kafka data import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Target CLS log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDeleteKafkaRechargeRequest

func NewDeleteKafkaRechargeRequest() (request *DeleteKafkaRechargeRequest)

func (*DeleteKafkaRechargeRequest) FromJsonString

func (r *DeleteKafkaRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteKafkaRechargeRequest) ToJsonString

func (r *DeleteKafkaRechargeRequest) ToJsonString() string

type DeleteKafkaRechargeRequestParams

type DeleteKafkaRechargeRequestParams struct {
	// Kafka data import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Target CLS log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DeleteKafkaRechargeResponse

type DeleteKafkaRechargeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteKafkaRechargeResponseParams `json:"Response"`
}

func NewDeleteKafkaRechargeResponse

func NewDeleteKafkaRechargeResponse() (response *DeleteKafkaRechargeResponse)

func (*DeleteKafkaRechargeResponse) FromJsonString

func (r *DeleteKafkaRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteKafkaRechargeResponse) ToJsonString

func (r *DeleteKafkaRechargeResponse) ToJsonString() string

type DeleteKafkaRechargeResponseParams

type DeleteKafkaRechargeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteLogsetRequest

type DeleteLogsetRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`
}

func NewDeleteLogsetRequest

func NewDeleteLogsetRequest() (request *DeleteLogsetRequest)

func (*DeleteLogsetRequest) FromJsonString

func (r *DeleteLogsetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLogsetRequest) ToJsonString

func (r *DeleteLogsetRequest) ToJsonString() string

type DeleteLogsetRequestParams

type DeleteLogsetRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`
}

Predefined struct for user

type DeleteLogsetResponse

type DeleteLogsetResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLogsetResponseParams `json:"Response"`
}

func NewDeleteLogsetResponse

func NewDeleteLogsetResponse() (response *DeleteLogsetResponse)

func (*DeleteLogsetResponse) FromJsonString

func (r *DeleteLogsetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLogsetResponse) ToJsonString

func (r *DeleteLogsetResponse) ToJsonString() string

type DeleteLogsetResponseParams

type DeleteLogsetResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteMachineGroupInfoRequest

type DeleteMachineGroupInfoRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group type
	// Supported types: `ip` and `label`
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`
}

func NewDeleteMachineGroupInfoRequest

func NewDeleteMachineGroupInfoRequest() (request *DeleteMachineGroupInfoRequest)

func (*DeleteMachineGroupInfoRequest) FromJsonString

func (r *DeleteMachineGroupInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineGroupInfoRequest) ToJsonString

func (r *DeleteMachineGroupInfoRequest) ToJsonString() string

type DeleteMachineGroupInfoRequestParams

type DeleteMachineGroupInfoRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group type
	// Supported types: `ip` and `label`
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`
}

Predefined struct for user

type DeleteMachineGroupInfoResponse

type DeleteMachineGroupInfoResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMachineGroupInfoResponseParams `json:"Response"`
}

func NewDeleteMachineGroupInfoResponse

func NewDeleteMachineGroupInfoResponse() (response *DeleteMachineGroupInfoResponse)

func (*DeleteMachineGroupInfoResponse) FromJsonString

func (r *DeleteMachineGroupInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineGroupInfoResponse) ToJsonString

func (r *DeleteMachineGroupInfoResponse) ToJsonString() string

type DeleteMachineGroupInfoResponseParams

type DeleteMachineGroupInfoResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteMachineGroupRequest

type DeleteMachineGroupRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

func NewDeleteMachineGroupRequest

func NewDeleteMachineGroupRequest() (request *DeleteMachineGroupRequest)

func (*DeleteMachineGroupRequest) FromJsonString

func (r *DeleteMachineGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineGroupRequest) ToJsonString

func (r *DeleteMachineGroupRequest) ToJsonString() string

type DeleteMachineGroupRequestParams

type DeleteMachineGroupRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

Predefined struct for user

type DeleteMachineGroupResponse

type DeleteMachineGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMachineGroupResponseParams `json:"Response"`
}

func NewDeleteMachineGroupResponse

func NewDeleteMachineGroupResponse() (response *DeleteMachineGroupResponse)

func (*DeleteMachineGroupResponse) FromJsonString

func (r *DeleteMachineGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineGroupResponse) ToJsonString

func (r *DeleteMachineGroupResponse) ToJsonString() string

type DeleteMachineGroupResponseParams

type DeleteMachineGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteShipperRequest

type DeleteShipperRequest struct {
	*tchttp.BaseRequest

	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`
}

func NewDeleteShipperRequest

func NewDeleteShipperRequest() (request *DeleteShipperRequest)

func (*DeleteShipperRequest) FromJsonString

func (r *DeleteShipperRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteShipperRequest) ToJsonString

func (r *DeleteShipperRequest) ToJsonString() string

type DeleteShipperRequestParams

type DeleteShipperRequestParams struct {
	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`
}

Predefined struct for user

type DeleteShipperResponse

type DeleteShipperResponse struct {
	*tchttp.BaseResponse
	Response *DeleteShipperResponseParams `json:"Response"`
}

func NewDeleteShipperResponse

func NewDeleteShipperResponse() (response *DeleteShipperResponse)

func (*DeleteShipperResponse) FromJsonString

func (r *DeleteShipperResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteShipperResponse) ToJsonString

func (r *DeleteShipperResponse) ToJsonString() string

type DeleteShipperResponseParams

type DeleteShipperResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteTopicRequest

type DeleteTopicRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDeleteTopicRequest

func NewDeleteTopicRequest() (request *DeleteTopicRequest)

func (*DeleteTopicRequest) FromJsonString

func (r *DeleteTopicRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicRequest) ToJsonString

func (r *DeleteTopicRequest) ToJsonString() string

type DeleteTopicRequestParams

type DeleteTopicRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DeleteTopicResponse

type DeleteTopicResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTopicResponseParams `json:"Response"`
}

func NewDeleteTopicResponse

func NewDeleteTopicResponse() (response *DeleteTopicResponse)

func (*DeleteTopicResponse) FromJsonString

func (r *DeleteTopicResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicResponse) ToJsonString

func (r *DeleteTopicResponse) ToJsonString() string

type DeleteTopicResponseParams

type DeleteTopicResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeAlarmNoticesRequest

type DescribeAlarmNoticesRequest struct {
	*tchttp.BaseRequest

	// <li> name
	// Filter by **notification group name**.
	// Type: String
	// Required: No
	// <li> alarmNoticeId
	// Filter by **notification group ID**.
	// Type: String
	// Required: No
	// <li> uid
	// Filter by **recipient ID**.
	// Type: String
	// Required: No
	// <li> groupId
	// Filter by **recipient ID**.
	// Type: String
	// Required: No
	//
	// Each request can have up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeAlarmNoticesRequest

func NewDescribeAlarmNoticesRequest() (request *DescribeAlarmNoticesRequest)

func (*DescribeAlarmNoticesRequest) FromJsonString

func (r *DescribeAlarmNoticesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmNoticesRequest) ToJsonString

func (r *DescribeAlarmNoticesRequest) ToJsonString() string

type DescribeAlarmNoticesRequestParams

type DescribeAlarmNoticesRequestParams struct {
	// <li> name
	// Filter by **notification group name**.
	// Type: String
	// Required: No
	// <li> alarmNoticeId
	// Filter by **notification group ID**.
	// Type: String
	// Required: No
	// <li> uid
	// Filter by **recipient ID**.
	// Type: String
	// Required: No
	// <li> groupId
	// Filter by **recipient ID**.
	// Type: String
	// Required: No
	//
	// Each request can have up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeAlarmNoticesResponse

type DescribeAlarmNoticesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAlarmNoticesResponseParams `json:"Response"`
}

func NewDescribeAlarmNoticesResponse

func NewDescribeAlarmNoticesResponse() (response *DescribeAlarmNoticesResponse)

func (*DescribeAlarmNoticesResponse) FromJsonString

func (r *DescribeAlarmNoticesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmNoticesResponse) ToJsonString

func (r *DescribeAlarmNoticesResponse) ToJsonString() string

type DescribeAlarmNoticesResponseParams

type DescribeAlarmNoticesResponseParams struct {
	// Alarm notification template list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AlarmNotices []*AlarmNotice `json:"AlarmNotices,omitnil" name:"AlarmNotices"`

	// Total number of eligible alarm notification templates
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeAlarmsRequest

type DescribeAlarmsRequest struct {
	*tchttp.BaseRequest

	// name
	// - Filter by **alarm policy name**
	// - Type: String
	// - Required: No
	//
	// alarmId
	// - Filter by **alarm policy ID**
	// - Type: String
	// - Required: No
	//
	// topicId
	// - Filter by **log topic ID**
	// - Type: String
	// - Required: No
	//
	// enable
	// - Filter by **enablement status**
	// - Type: String
	// - Note: The valid values of `enable` include `1`, `t`, `T`, `TRUE`, `true`, `True`, `0`, `f`, `F`, `FALSE`, `false`, and `False`. If other values are entered, an "invalid parameter" error will be returned.
	// - Required: No
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeAlarmsRequest

func NewDescribeAlarmsRequest() (request *DescribeAlarmsRequest)

func (*DescribeAlarmsRequest) FromJsonString

func (r *DescribeAlarmsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmsRequest) ToJsonString

func (r *DescribeAlarmsRequest) ToJsonString() string

type DescribeAlarmsRequestParams

type DescribeAlarmsRequestParams struct {
	// name
	// - Filter by **alarm policy name**
	// - Type: String
	// - Required: No
	//
	// alarmId
	// - Filter by **alarm policy ID**
	// - Type: String
	// - Required: No
	//
	// topicId
	// - Filter by **log topic ID**
	// - Type: String
	// - Required: No
	//
	// enable
	// - Filter by **enablement status**
	// - Type: String
	// - Note: The valid values of `enable` include `1`, `t`, `T`, `TRUE`, `true`, `True`, `0`, `f`, `F`, `FALSE`, `false`, and `False`. If other values are entered, an "invalid parameter" error will be returned.
	// - Required: No
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeAlarmsResponse

type DescribeAlarmsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAlarmsResponseParams `json:"Response"`
}

func NewDescribeAlarmsResponse

func NewDescribeAlarmsResponse() (response *DescribeAlarmsResponse)

func (*DescribeAlarmsResponse) FromJsonString

func (r *DescribeAlarmsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmsResponse) ToJsonString

func (r *DescribeAlarmsResponse) ToJsonString() string

type DescribeAlarmsResponseParams

type DescribeAlarmsResponseParams struct {
	// Alarm policy list
	Alarms []*AlarmInfo `json:"Alarms,omitnil" name:"Alarms"`

	// Number of eligible alarm policies
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeAlertRecordHistoryRequest

type DescribeAlertRecordHistoryRequest struct {
	*tchttp.BaseRequest

	// Start time of the query range, which is a Unix timestamp in ms
	From *uint64 `json:"From,omitnil" name:"From"`

	// End time of the query range, which is a Unix timestamp in ms
	To *uint64 `json:"To,omitnil" name:"To"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// - alertId: Filter by alarm policy ID. Type: String; optional
	// - topicId: Filter by ID of monitored object. Type: String; optional
	// - status: Filter by alarm status. Type: String, optional. Valid values: `0` (uncleared), `1` (cleared), `2` (expired)
	// - alarmLevel: Filter by alarm severity. Type: String, optional. Valid values: `0` (Warn), `1` (Info), `2` (Critical)
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeAlertRecordHistoryRequest

func NewDescribeAlertRecordHistoryRequest() (request *DescribeAlertRecordHistoryRequest)

func (*DescribeAlertRecordHistoryRequest) FromJsonString

func (r *DescribeAlertRecordHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlertRecordHistoryRequest) ToJsonString

func (r *DescribeAlertRecordHistoryRequest) ToJsonString() string

type DescribeAlertRecordHistoryRequestParams

type DescribeAlertRecordHistoryRequestParams struct {
	// Start time of the query range, which is a Unix timestamp in ms
	From *uint64 `json:"From,omitnil" name:"From"`

	// End time of the query range, which is a Unix timestamp in ms
	To *uint64 `json:"To,omitnil" name:"To"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// - alertId: Filter by alarm policy ID. Type: String; optional
	// - topicId: Filter by ID of monitored object. Type: String; optional
	// - status: Filter by alarm status. Type: String, optional. Valid values: `0` (uncleared), `1` (cleared), `2` (expired)
	// - alarmLevel: Filter by alarm severity. Type: String, optional. Valid values: `0` (Warn), `1` (Info), `2` (Critical)
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeAlertRecordHistoryResponse

type DescribeAlertRecordHistoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAlertRecordHistoryResponseParams `json:"Response"`
}

func NewDescribeAlertRecordHistoryResponse

func NewDescribeAlertRecordHistoryResponse() (response *DescribeAlertRecordHistoryResponse)

func (*DescribeAlertRecordHistoryResponse) FromJsonString

func (r *DescribeAlertRecordHistoryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlertRecordHistoryResponse) ToJsonString

func (r *DescribeAlertRecordHistoryResponse) ToJsonString() string

type DescribeAlertRecordHistoryResponseParams

type DescribeAlertRecordHistoryResponseParams struct {
	// Total alarm records
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Alarm record details
	Records []*AlertHistoryRecord `json:"Records,omitnil" name:"Records"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeConfigMachineGroupsRequest

type DescribeConfigMachineGroupsRequest struct {
	*tchttp.BaseRequest

	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

func NewDescribeConfigMachineGroupsRequest

func NewDescribeConfigMachineGroupsRequest() (request *DescribeConfigMachineGroupsRequest)

func (*DescribeConfigMachineGroupsRequest) FromJsonString

func (r *DescribeConfigMachineGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConfigMachineGroupsRequest) ToJsonString

func (r *DescribeConfigMachineGroupsRequest) ToJsonString() string

type DescribeConfigMachineGroupsRequestParams

type DescribeConfigMachineGroupsRequestParams struct {
	// Collection configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`
}

Predefined struct for user

type DescribeConfigMachineGroupsResponse

type DescribeConfigMachineGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeConfigMachineGroupsResponseParams `json:"Response"`
}

func NewDescribeConfigMachineGroupsResponse

func NewDescribeConfigMachineGroupsResponse() (response *DescribeConfigMachineGroupsResponse)

func (*DescribeConfigMachineGroupsResponse) FromJsonString

func (r *DescribeConfigMachineGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConfigMachineGroupsResponse) ToJsonString

func (r *DescribeConfigMachineGroupsResponse) ToJsonString() string

type DescribeConfigMachineGroupsResponseParams

type DescribeConfigMachineGroupsResponseParams struct {
	// List of machine groups bound to the collection rule configuration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil" name:"MachineGroups"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeConfigsRequest

type DescribeConfigsRequest struct {
	*tchttp.BaseRequest

	// configName
	// - Filter by fuzzy match of **collection configuration name**
	// - Type: String
	// - Required: No
	//
	// configId
	// - Filter by **collection configuration ID**
	// - Type: String
	// - Required: No
	//
	// topicId
	// - Filter by **log topic**
	// - Type: String
	// - Required: No
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeConfigsRequest

func NewDescribeConfigsRequest() (request *DescribeConfigsRequest)

func (*DescribeConfigsRequest) FromJsonString

func (r *DescribeConfigsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConfigsRequest) ToJsonString

func (r *DescribeConfigsRequest) ToJsonString() string

type DescribeConfigsRequestParams

type DescribeConfigsRequestParams struct {
	// configName
	// - Filter by fuzzy match of **collection configuration name**
	// - Type: String
	// - Required: No
	//
	// configId
	// - Filter by **collection configuration ID**
	// - Type: String
	// - Required: No
	//
	// topicId
	// - Filter by **log topic**
	// - Type: String
	// - Required: No
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeConfigsResponse

type DescribeConfigsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeConfigsResponseParams `json:"Response"`
}

func NewDescribeConfigsResponse

func NewDescribeConfigsResponse() (response *DescribeConfigsResponse)

func (*DescribeConfigsResponse) FromJsonString

func (r *DescribeConfigsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConfigsResponse) ToJsonString

func (r *DescribeConfigsResponse) ToJsonString() string

type DescribeConfigsResponseParams

type DescribeConfigsResponseParams struct {
	// Collection configuration list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Configs []*ConfigInfo `json:"Configs,omitnil" name:"Configs"`

	// Total number of filtered items
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeConsumerRequest

type DescribeConsumerRequest struct {
	*tchttp.BaseRequest

	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDescribeConsumerRequest

func NewDescribeConsumerRequest() (request *DescribeConsumerRequest)

func (*DescribeConsumerRequest) FromJsonString

func (r *DescribeConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConsumerRequest) ToJsonString

func (r *DescribeConsumerRequest) ToJsonString() string

type DescribeConsumerRequestParams

type DescribeConsumerRequestParams struct {
	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DescribeConsumerResponse

type DescribeConsumerResponse struct {
	*tchttp.BaseResponse
	Response *DescribeConsumerResponseParams `json:"Response"`
}

func NewDescribeConsumerResponse

func NewDescribeConsumerResponse() (response *DescribeConsumerResponse)

func (*DescribeConsumerResponse) FromJsonString

func (r *DescribeConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeConsumerResponse) ToJsonString

func (r *DescribeConsumerResponse) ToJsonString() string

type DescribeConsumerResponseParams

type DescribeConsumerResponseParams struct {
	// Whether the shipping task is effective
	Effective *bool `json:"Effective,omitnil" name:"Effective"`

	// Whether log metadata is shipped
	NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"`

	// Metadata shipped if `NeedContent` is `true`
	// Note: This field may return `null`, indicating that no valid value was found.
	Content *ConsumerContent `json:"Content,omitnil" name:"Content"`

	// CKafka information
	Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"`

	// Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeCosRechargesRequest

type DescribeCosRechargesRequest struct {
	*tchttp.BaseRequest

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
	Enable *uint64 `json:"Enable,omitnil" name:"Enable"`
}

func NewDescribeCosRechargesRequest

func NewDescribeCosRechargesRequest() (request *DescribeCosRechargesRequest)

func (*DescribeCosRechargesRequest) FromJsonString

func (r *DescribeCosRechargesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCosRechargesRequest) ToJsonString

func (r *DescribeCosRechargesRequest) ToJsonString() string

type DescribeCosRechargesRequestParams

type DescribeCosRechargesRequestParams struct {
	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
	Enable *uint64 `json:"Enable,omitnil" name:"Enable"`
}

Predefined struct for user

type DescribeCosRechargesResponse

type DescribeCosRechargesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCosRechargesResponseParams `json:"Response"`
}

func NewDescribeCosRechargesResponse

func NewDescribeCosRechargesResponse() (response *DescribeCosRechargesResponse)

func (*DescribeCosRechargesResponse) FromJsonString

func (r *DescribeCosRechargesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCosRechargesResponse) ToJsonString

func (r *DescribeCosRechargesResponse) ToJsonString() string

type DescribeCosRechargesResponseParams

type DescribeCosRechargesResponseParams struct {
	// See the description of the `CosRechargeInfo` structure.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*CosRechargeInfo `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeDataTransformInfoRequest

type DescribeDataTransformInfoRequest struct {
	*tchttp.BaseRequest

	// <br><li>taskName
	//
	// Filter by **processing task name**.
	// Type: String
	//
	// Required: No
	//
	// <br><li>taskId
	//
	// Filter by **processing task ID**.
	// Type: String
	//
	// Required: No
	//
	// <br><li>srctopicId
	//
	// Filter by **source topic ID**.
	// Type: String
	//
	// Required: No
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// The pagination offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Task type. Valid values: 1: Get the details of a single task. 2 (default): Get the task list.
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Task ID, which is required when `Type` is set to `1`
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

func NewDescribeDataTransformInfoRequest

func NewDescribeDataTransformInfoRequest() (request *DescribeDataTransformInfoRequest)

func (*DescribeDataTransformInfoRequest) FromJsonString

func (r *DescribeDataTransformInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataTransformInfoRequest) ToJsonString

func (r *DescribeDataTransformInfoRequest) ToJsonString() string

type DescribeDataTransformInfoRequestParams

type DescribeDataTransformInfoRequestParams struct {
	// <br><li>taskName
	//
	// Filter by **processing task name**.
	// Type: String
	//
	// Required: No
	//
	// <br><li>taskId
	//
	// Filter by **processing task ID**.
	// Type: String
	//
	// Required: No
	//
	// <br><li>srctopicId
	//
	// Filter by **source topic ID**.
	// Type: String
	//
	// Required: No
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// The pagination offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Task type. Valid values: 1: Get the details of a single task. 2 (default): Get the task list.
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Task ID, which is required when `Type` is set to `1`
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

Predefined struct for user

type DescribeDataTransformInfoResponse

type DescribeDataTransformInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDataTransformInfoResponseParams `json:"Response"`
}

func NewDescribeDataTransformInfoResponse

func NewDescribeDataTransformInfoResponse() (response *DescribeDataTransformInfoResponse)

func (*DescribeDataTransformInfoResponse) FromJsonString

func (r *DescribeDataTransformInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataTransformInfoResponse) ToJsonString

func (r *DescribeDataTransformInfoResponse) ToJsonString() string

type DescribeDataTransformInfoResponseParams

type DescribeDataTransformInfoResponseParams struct {
	// List of data processing tasks
	DataTransformTaskInfos []*DataTransformTaskInfo `json:"DataTransformTaskInfos,omitnil" name:"DataTransformTaskInfos"`

	// Total tasks
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeExportsRequest

type DescribeExportsRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeExportsRequest

func NewDescribeExportsRequest() (request *DescribeExportsRequest)

func (*DescribeExportsRequest) FromJsonString

func (r *DescribeExportsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExportsRequest) ToJsonString

func (r *DescribeExportsRequest) ToJsonString() string

type DescribeExportsRequestParams

type DescribeExportsRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeExportsResponse

type DescribeExportsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExportsResponseParams `json:"Response"`
}

func NewDescribeExportsResponse

func NewDescribeExportsResponse() (response *DescribeExportsResponse)

func (*DescribeExportsResponse) FromJsonString

func (r *DescribeExportsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExportsResponse) ToJsonString

func (r *DescribeExportsResponse) ToJsonString() string

type DescribeExportsResponseParams

type DescribeExportsResponseParams struct {
	// List of exported logs
	Exports []*ExportInfo `json:"Exports,omitnil" name:"Exports"`

	// Total number
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeIndexRequest

type DescribeIndexRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDescribeIndexRequest

func NewDescribeIndexRequest() (request *DescribeIndexRequest)

func (*DescribeIndexRequest) FromJsonString

func (r *DescribeIndexRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIndexRequest) ToJsonString

func (r *DescribeIndexRequest) ToJsonString() string

type DescribeIndexRequestParams

type DescribeIndexRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DescribeIndexResponse

type DescribeIndexResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIndexResponseParams `json:"Response"`
}

func NewDescribeIndexResponse

func NewDescribeIndexResponse() (response *DescribeIndexResponse)

func (*DescribeIndexResponse) FromJsonString

func (r *DescribeIndexResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIndexResponse) ToJsonString

func (r *DescribeIndexResponse) ToJsonString() string

type DescribeIndexResponseParams

type DescribeIndexResponseParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Whether it takes effect
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Index configuration information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"`

	// Index modification time. The default value is the index creation time.
	ModifyTime *string `json:"ModifyTime,omitnil" name:"ModifyTime"`

	// Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`)
	// * `false`: Full-text indexing does not include internal fields.
	// * `true`: Full-text indexing includes internal fields.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"`

	// Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`)
	// * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled.
	// * `1`: Full-text indexing includes all metadata fields.
	// * `2`: Full-text indexing does not include metadata fields.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeKafkaRechargesRequest

type DescribeKafkaRechargesRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Status. Valid values: 1 (running) and 2 (suspended).
	Status *uint64 `json:"Status,omitnil" name:"Status"`
}

func NewDescribeKafkaRechargesRequest

func NewDescribeKafkaRechargesRequest() (request *DescribeKafkaRechargesRequest)

func (*DescribeKafkaRechargesRequest) FromJsonString

func (r *DescribeKafkaRechargesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeKafkaRechargesRequest) ToJsonString

func (r *DescribeKafkaRechargesRequest) ToJsonString() string

type DescribeKafkaRechargesRequestParams

type DescribeKafkaRechargesRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Status. Valid values: 1 (running) and 2 (suspended).
	Status *uint64 `json:"Status,omitnil" name:"Status"`
}

Predefined struct for user

type DescribeKafkaRechargesResponse

type DescribeKafkaRechargesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeKafkaRechargesResponseParams `json:"Response"`
}

func NewDescribeKafkaRechargesResponse

func NewDescribeKafkaRechargesResponse() (response *DescribeKafkaRechargesResponse)

func (*DescribeKafkaRechargesResponse) FromJsonString

func (r *DescribeKafkaRechargesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeKafkaRechargesResponse) ToJsonString

func (r *DescribeKafkaRechargesResponse) ToJsonString() string

type DescribeKafkaRechargesResponseParams

type DescribeKafkaRechargesResponseParams struct {
	// KafkaRechargeInfo list
	Infos []*KafkaRechargeInfo `json:"Infos,omitnil" name:"Infos"`

	// Total Kafka data records imported
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeLogContextRequest

type DescribeLogContextRequest struct {
	*tchttp.BaseRequest

	// Log topic ID to be queried
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log time in the format of YYYY-mm-dd HH:MM:SS.FFF
	BTime *string `json:"BTime,omitnil" name:"BTime"`

	// Log package number
	PkgId *string `json:"PkgId,omitnil" name:"PkgId"`

	// Log number in log package
	PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"`

	// Number of previous logs. Default value: 10
	PrevLogs *int64 `json:"PrevLogs,omitnil" name:"PrevLogs"`

	// Number of next logs. Default value: 10
	NextLogs *int64 `json:"NextLogs,omitnil" name:"NextLogs"`
}

func NewDescribeLogContextRequest

func NewDescribeLogContextRequest() (request *DescribeLogContextRequest)

func (*DescribeLogContextRequest) FromJsonString

func (r *DescribeLogContextRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogContextRequest) ToJsonString

func (r *DescribeLogContextRequest) ToJsonString() string

type DescribeLogContextRequestParams

type DescribeLogContextRequestParams struct {
	// Log topic ID to be queried
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log time in the format of YYYY-mm-dd HH:MM:SS.FFF
	BTime *string `json:"BTime,omitnil" name:"BTime"`

	// Log package number
	PkgId *string `json:"PkgId,omitnil" name:"PkgId"`

	// Log number in log package
	PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"`

	// Number of previous logs. Default value: 10
	PrevLogs *int64 `json:"PrevLogs,omitnil" name:"PrevLogs"`

	// Number of next logs. Default value: 10
	NextLogs *int64 `json:"NextLogs,omitnil" name:"NextLogs"`
}

Predefined struct for user

type DescribeLogContextResponse

type DescribeLogContextResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogContextResponseParams `json:"Response"`
}

func NewDescribeLogContextResponse

func NewDescribeLogContextResponse() (response *DescribeLogContextResponse)

func (*DescribeLogContextResponse) FromJsonString

func (r *DescribeLogContextResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogContextResponse) ToJsonString

func (r *DescribeLogContextResponse) ToJsonString() string

type DescribeLogContextResponseParams

type DescribeLogContextResponseParams struct {
	// Log context information set
	LogContextInfos []*LogContextInfo `json:"LogContextInfos,omitnil" name:"LogContextInfos"`

	// Whether the previous logs have been returned
	PrevOver *bool `json:"PrevOver,omitnil" name:"PrevOver"`

	// Whether the next logs have been returned
	NextOver *bool `json:"NextOver,omitnil" name:"NextOver"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeLogHistogramRequest

type DescribeLogHistogramRequest struct {
	*tchttp.BaseRequest

	// Start time of the log to be queried, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be queried, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Query statement
	Query *string `json:"Query,omitnil" name:"Query"`

	// ID of the log topic to be queried
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Interval in milliseconds. Condition: (To – From) / Interval ≤ 200
	Interval *int64 `json:"Interval,omitnil" name:"Interval"`

	// Search syntax. Valid values:
	// `0` (default): Lucene; `1`: CQL
	// For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Syntax</a>.
	SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"`
}

func NewDescribeLogHistogramRequest

func NewDescribeLogHistogramRequest() (request *DescribeLogHistogramRequest)

func (*DescribeLogHistogramRequest) FromJsonString

func (r *DescribeLogHistogramRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogHistogramRequest) ToJsonString

func (r *DescribeLogHistogramRequest) ToJsonString() string

type DescribeLogHistogramRequestParams

type DescribeLogHistogramRequestParams struct {
	// Start time of the log to be queried, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be queried, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Query statement
	Query *string `json:"Query,omitnil" name:"Query"`

	// ID of the log topic to be queried
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Interval in milliseconds. Condition: (To – From) / Interval ≤ 200
	Interval *int64 `json:"Interval,omitnil" name:"Interval"`

	// Search syntax. Valid values:
	// `0` (default): Lucene; `1`: CQL
	// For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Syntax</a>.
	SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"`
}

Predefined struct for user

type DescribeLogHistogramResponse

type DescribeLogHistogramResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogHistogramResponseParams `json:"Response"`
}

func NewDescribeLogHistogramResponse

func NewDescribeLogHistogramResponse() (response *DescribeLogHistogramResponse)

func (*DescribeLogHistogramResponse) FromJsonString

func (r *DescribeLogHistogramResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogHistogramResponse) ToJsonString

func (r *DescribeLogHistogramResponse) ToJsonString() string

type DescribeLogHistogramResponseParams

type DescribeLogHistogramResponseParams struct {
	// Statistical period in milliseconds
	Interval *int64 `json:"Interval,omitnil" name:"Interval"`

	// The number of logs that hit the keywords
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Statistical result details within the period
	HistogramInfos []*HistogramInfo `json:"HistogramInfos,omitnil" name:"HistogramInfos"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeLogsetsRequest

type DescribeLogsetsRequest struct {
	*tchttp.BaseRequest

	// logsetName
	// - Filter by **logset name**
	// - Type: String
	// - Required: No
	//
	// logsetId
	// - Filter by **logset ID**
	// - Type: String
	// - Required: No
	//
	// tagKey
	// - Filter by **tag key**
	// - Type: String
	// - Required: No
	//
	// tag:tagKey
	// - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key.
	// - Type: String
	// - Required: No
	//
	// Each request can have up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeLogsetsRequest

func NewDescribeLogsetsRequest() (request *DescribeLogsetsRequest)

func (*DescribeLogsetsRequest) FromJsonString

func (r *DescribeLogsetsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogsetsRequest) ToJsonString

func (r *DescribeLogsetsRequest) ToJsonString() string

type DescribeLogsetsRequestParams

type DescribeLogsetsRequestParams struct {
	// logsetName
	// - Filter by **logset name**
	// - Type: String
	// - Required: No
	//
	// logsetId
	// - Filter by **logset ID**
	// - Type: String
	// - Required: No
	//
	// tagKey
	// - Filter by **tag key**
	// - Type: String
	// - Required: No
	//
	// tag:tagKey
	// - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key.
	// - Type: String
	// - Required: No
	//
	// Each request can have up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeLogsetsResponse

type DescribeLogsetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogsetsResponseParams `json:"Response"`
}

func NewDescribeLogsetsResponse

func NewDescribeLogsetsResponse() (response *DescribeLogsetsResponse)

func (*DescribeLogsetsResponse) FromJsonString

func (r *DescribeLogsetsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogsetsResponse) ToJsonString

func (r *DescribeLogsetsResponse) ToJsonString() string

type DescribeLogsetsResponseParams

type DescribeLogsetsResponseParams struct {
	// Total number of pages
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Logset list
	Logsets []*LogsetInfo `json:"Logsets,omitnil" name:"Logsets"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeMachineGroupConfigsRequest

type DescribeMachineGroupConfigsRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

func NewDescribeMachineGroupConfigsRequest

func NewDescribeMachineGroupConfigsRequest() (request *DescribeMachineGroupConfigsRequest)

func (*DescribeMachineGroupConfigsRequest) FromJsonString

func (r *DescribeMachineGroupConfigsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineGroupConfigsRequest) ToJsonString

func (r *DescribeMachineGroupConfigsRequest) ToJsonString() string

type DescribeMachineGroupConfigsRequestParams

type DescribeMachineGroupConfigsRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

Predefined struct for user

type DescribeMachineGroupConfigsResponse

type DescribeMachineGroupConfigsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachineGroupConfigsResponseParams `json:"Response"`
}

func NewDescribeMachineGroupConfigsResponse

func NewDescribeMachineGroupConfigsResponse() (response *DescribeMachineGroupConfigsResponse)

func (*DescribeMachineGroupConfigsResponse) FromJsonString

func (r *DescribeMachineGroupConfigsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineGroupConfigsResponse) ToJsonString

func (r *DescribeMachineGroupConfigsResponse) ToJsonString() string

type DescribeMachineGroupConfigsResponseParams

type DescribeMachineGroupConfigsResponseParams struct {
	// Collection rule configuration list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Configs []*ConfigInfo `json:"Configs,omitnil" name:"Configs"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeMachineGroupsRequest

type DescribeMachineGroupsRequest struct {
	*tchttp.BaseRequest

	// machineGroupName
	// - Filter by **machine group name**
	// - Type: String
	// - Required: No
	//
	// machineGroupId
	// - Filter by **machine group ID**
	// - Type: String
	// - Required: No
	//
	// tagKey
	// - Filter by **tag key**
	// - Type: String
	// - Required: No
	//
	// tag:tagKey
	// - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key.
	// - Type: String
	// - Required: No
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeMachineGroupsRequest

func NewDescribeMachineGroupsRequest() (request *DescribeMachineGroupsRequest)

func (*DescribeMachineGroupsRequest) FromJsonString

func (r *DescribeMachineGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineGroupsRequest) ToJsonString

func (r *DescribeMachineGroupsRequest) ToJsonString() string

type DescribeMachineGroupsRequestParams

type DescribeMachineGroupsRequestParams struct {
	// machineGroupName
	// - Filter by **machine group name**
	// - Type: String
	// - Required: No
	//
	// machineGroupId
	// - Filter by **machine group ID**
	// - Type: String
	// - Required: No
	//
	// tagKey
	// - Filter by **tag key**
	// - Type: String
	// - Required: No
	//
	// tag:tagKey
	// - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key.
	// - Type: String
	// - Required: No
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeMachineGroupsResponse

type DescribeMachineGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachineGroupsResponseParams `json:"Response"`
}

func NewDescribeMachineGroupsResponse

func NewDescribeMachineGroupsResponse() (response *DescribeMachineGroupsResponse)

func (*DescribeMachineGroupsResponse) FromJsonString

func (r *DescribeMachineGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineGroupsResponse) ToJsonString

func (r *DescribeMachineGroupsResponse) ToJsonString() string

type DescribeMachineGroupsResponseParams

type DescribeMachineGroupsResponseParams struct {
	// Machine group information list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil" name:"MachineGroups"`

	// Total number of pages
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeMachinesRequest

type DescribeMachinesRequest struct {
	*tchttp.BaseRequest

	// ID of the machine group to be queried
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

func NewDescribeMachinesRequest

func NewDescribeMachinesRequest() (request *DescribeMachinesRequest)

func (*DescribeMachinesRequest) FromJsonString

func (r *DescribeMachinesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachinesRequest) ToJsonString

func (r *DescribeMachinesRequest) ToJsonString() string

type DescribeMachinesRequestParams

type DescribeMachinesRequestParams struct {
	// ID of the machine group to be queried
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`
}

Predefined struct for user

type DescribeMachinesResponse

type DescribeMachinesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachinesResponseParams `json:"Response"`
}

func NewDescribeMachinesResponse

func NewDescribeMachinesResponse() (response *DescribeMachinesResponse)

func (*DescribeMachinesResponse) FromJsonString

func (r *DescribeMachinesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachinesResponse) ToJsonString

func (r *DescribeMachinesResponse) ToJsonString() string

type DescribeMachinesResponseParams

type DescribeMachinesResponseParams struct {
	// Group of machine status information
	Machines []*MachineInfo `json:"Machines,omitnil" name:"Machines"`

	// Whether to enable the automatic update feature for the machine group
	AutoUpdate *int64 `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Preset start time of automatic update of machine group
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Preset end time of automatic update of machine group
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Latest LogListener version available to the current user
	LatestAgentVersion *string `json:"LatestAgentVersion,omitnil" name:"LatestAgentVersion"`

	// Whether to enable the service log
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribePartitionsRequest

type DescribePartitionsRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

func NewDescribePartitionsRequest

func NewDescribePartitionsRequest() (request *DescribePartitionsRequest)

func (*DescribePartitionsRequest) FromJsonString

func (r *DescribePartitionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePartitionsRequest) ToJsonString

func (r *DescribePartitionsRequest) ToJsonString() string

type DescribePartitionsRequestParams

type DescribePartitionsRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`
}

Predefined struct for user

type DescribePartitionsResponse

type DescribePartitionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePartitionsResponseParams `json:"Response"`
}

func NewDescribePartitionsResponse

func NewDescribePartitionsResponse() (response *DescribePartitionsResponse)

func (*DescribePartitionsResponse) FromJsonString

func (r *DescribePartitionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePartitionsResponse) ToJsonString

func (r *DescribePartitionsResponse) ToJsonString() string

type DescribePartitionsResponseParams

type DescribePartitionsResponseParams struct {
	// Partition list
	Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeShipperTasksRequest

type DescribeShipperTasksRequest struct {
	*tchttp.BaseRequest

	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Query start timestamp in milliseconds, which can be within the last three days
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// Query end timestamp in milliseconds
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`
}

func NewDescribeShipperTasksRequest

func NewDescribeShipperTasksRequest() (request *DescribeShipperTasksRequest)

func (*DescribeShipperTasksRequest) FromJsonString

func (r *DescribeShipperTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeShipperTasksRequest) ToJsonString

func (r *DescribeShipperTasksRequest) ToJsonString() string

type DescribeShipperTasksRequestParams

type DescribeShipperTasksRequestParams struct {
	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Query start timestamp in milliseconds, which can be within the last three days
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// Query end timestamp in milliseconds
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`
}

Predefined struct for user

type DescribeShipperTasksResponse

type DescribeShipperTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeShipperTasksResponseParams `json:"Response"`
}

func NewDescribeShipperTasksResponse

func NewDescribeShipperTasksResponse() (response *DescribeShipperTasksResponse)

func (*DescribeShipperTasksResponse) FromJsonString

func (r *DescribeShipperTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeShipperTasksResponse) ToJsonString

func (r *DescribeShipperTasksResponse) ToJsonString() string

type DescribeShipperTasksResponseParams

type DescribeShipperTasksResponseParams struct {
	// Shipping task list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tasks []*ShipperTaskInfo `json:"Tasks,omitnil" name:"Tasks"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeShippersRequest

type DescribeShippersRequest struct {
	*tchttp.BaseRequest

	// - shipperName: Filter by **shipping rule name**. Type: String. Required: No.
	// - shipperId: Filter by **shipping rule ID**. Type: String. Required: No.
	// - topicId: Filter by **log topic**. Type: String. Required: No.
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeShippersRequest

func NewDescribeShippersRequest() (request *DescribeShippersRequest)

func (*DescribeShippersRequest) FromJsonString

func (r *DescribeShippersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeShippersRequest) ToJsonString

func (r *DescribeShippersRequest) ToJsonString() string

type DescribeShippersRequestParams

type DescribeShippersRequestParams struct {
	// - shipperName: Filter by **shipping rule name**. Type: String. Required: No.
	// - shipperId: Filter by **shipping rule ID**. Type: String. Required: No.
	// - topicId: Filter by **log topic**. Type: String. Required: No.
	//
	// Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeShippersResponse

type DescribeShippersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeShippersResponseParams `json:"Response"`
}

func NewDescribeShippersResponse

func NewDescribeShippersResponse() (response *DescribeShippersResponse)

func (*DescribeShippersResponse) FromJsonString

func (r *DescribeShippersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeShippersResponse) ToJsonString

func (r *DescribeShippersResponse) ToJsonString() string

type DescribeShippersResponseParams

type DescribeShippersResponseParams struct {
	// Shipping rule list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Shippers []*ShipperInfo `json:"Shippers,omitnil" name:"Shippers"`

	// Total number of results obtained in this query
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTopicsRequest

type DescribeTopicsRequest struct {
	*tchttp.BaseRequest

	// <li>topicName: Filter by **log topic name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required. No. <br><li>logsetName: Filter by **logset name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required: No. <br><li>topicId: Filter by **log topic ID**. Type: String. Required: No. <br><li>logsetId: Filter by **logset ID**. You can call `DescribeLogsets` to query the list of created logsets or log in to the console to view them. You can also call `CreateLogset` to create a logset. Type: String. Required: No. <br><li>tagKey: Filter by **tag key**. Type: String. Required: No. <br><li>tag:tagKey: Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key, such as `tag:exampleKey`. Type: String. Required: No. <br><li>storageType: Filter by **log topic storage type**. Valid values: `hot` (standard storage) and `cold` (IA storage). Type: String. Required: No. Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Match mode for `Filters` fields.
	// - 0: Fuzzy match for `topicName` and `logsetName`. This is the default value.
	// - 1: Exact match for `topicName`.
	// - 2: Exact match for `logsetName`.
	// - 3: Exact match for `topicName` and `logsetName`.
	PreciseSearch *uint64 `json:"PreciseSearch,omitnil" name:"PreciseSearch"`

	// Topic type
	// - 0 (default): Log topic.
	// - 1: Metric topic.
	BizType *uint64 `json:"BizType,omitnil" name:"BizType"`
}

func NewDescribeTopicsRequest

func NewDescribeTopicsRequest() (request *DescribeTopicsRequest)

func (*DescribeTopicsRequest) FromJsonString

func (r *DescribeTopicsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicsRequest) ToJsonString

func (r *DescribeTopicsRequest) ToJsonString() string

type DescribeTopicsRequestParams

type DescribeTopicsRequestParams struct {
	// <li>topicName: Filter by **log topic name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required. No. <br><li>logsetName: Filter by **logset name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required: No. <br><li>topicId: Filter by **log topic ID**. Type: String. Required: No. <br><li>logsetId: Filter by **logset ID**. You can call `DescribeLogsets` to query the list of created logsets or log in to the console to view them. You can also call `CreateLogset` to create a logset. Type: String. Required: No. <br><li>tagKey: Filter by **tag key**. Type: String. Required: No. <br><li>tag:tagKey: Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key, such as `tag:exampleKey`. Type: String. Required: No. <br><li>storageType: Filter by **log topic storage type**. Valid values: `hot` (standard storage) and `cold` (IA storage). Type: String. Required: No. Each request can have up to 10 `Filters` and 100 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of entries per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Match mode for `Filters` fields.
	// - 0: Fuzzy match for `topicName` and `logsetName`. This is the default value.
	// - 1: Exact match for `topicName`.
	// - 2: Exact match for `logsetName`.
	// - 3: Exact match for `topicName` and `logsetName`.
	PreciseSearch *uint64 `json:"PreciseSearch,omitnil" name:"PreciseSearch"`

	// Topic type
	// - 0 (default): Log topic.
	// - 1: Metric topic.
	BizType *uint64 `json:"BizType,omitnil" name:"BizType"`
}

Predefined struct for user

type DescribeTopicsResponse

type DescribeTopicsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopicsResponseParams `json:"Response"`
}

func NewDescribeTopicsResponse

func NewDescribeTopicsResponse() (response *DescribeTopicsResponse)

func (*DescribeTopicsResponse) FromJsonString

func (r *DescribeTopicsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicsResponse) ToJsonString

func (r *DescribeTopicsResponse) ToJsonString() string

type DescribeTopicsResponseParams

type DescribeTopicsResponseParams struct {
	// Log topic list
	Topics []*TopicInfo `json:"Topics,omitnil" name:"Topics"`

	// Total number
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DynamicIndex

type DynamicIndex struct {
	// Dynamic index configuration status
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil" name:"Status"`
}

type ExcludePathInfo

type ExcludePathInfo struct {
	// Type. Valid values: `File`, `Path`
	Type *string `json:"Type,omitnil" name:"Type"`

	// Specific content corresponding to `Type`
	Value *string `json:"Value,omitnil" name:"Value"`
}

type ExportInfo

type ExportInfo struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log export task ID
	ExportId *string `json:"ExportId,omitnil" name:"ExportId"`

	// Log export query statement
	Query *string `json:"Query,omitnil" name:"Query"`

	// Log export filename
	FileName *string `json:"FileName,omitnil" name:"FileName"`

	// Log file size
	FileSize *uint64 `json:"FileSize,omitnil" name:"FileSize"`

	// Log export time sorting
	Order *string `json:"Order,omitnil" name:"Order"`

	// Log export format
	Format *string `json:"Format,omitnil" name:"Format"`

	// Number of logs to be exported
	Count *uint64 `json:"Count,omitnil" name:"Count"`

	// Log download status. Valid values: `Processing`, `Completed`, `Failed`, `Expired` (three-day validity period), and `Queuing`.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Log export start time
	From *int64 `json:"From,omitnil" name:"From"`

	// Log export end time
	To *int64 `json:"To,omitnil" name:"To"`

	// Log export path
	CosPath *string `json:"CosPath,omitnil" name:"CosPath"`

	// Log export creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`
}

type ExtractRuleInfo

type ExtractRuleInfo struct {
	// Time field key name. `time_key` and `time_format` must appear in pairs
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimeKey *string `json:"TimeKey,omitnil" name:"TimeKey"`

	// Time field format. For more information, please see the output parameters of the time format description of the `strftime` function in C language
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimeFormat *string `json:"TimeFormat,omitnil" name:"TimeFormat"`

	// Delimiter for delimited log, which is valid only if `log_type` is `delimiter_log`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Delimiter *string `json:"Delimiter,omitnil" name:"Delimiter"`

	// Full log matching rule, which is valid only if `log_type` is `fullregex_log`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LogRegex *string `json:"LogRegex,omitnil" name:"LogRegex"`

	// First-Line matching rule, which is valid only if `log_type` is `multiline_log` or `fullregex_log`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BeginRegex *string `json:"BeginRegex,omitnil" name:"BeginRegex"`

	// Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if `log_type` is `delimiter_log`. `json_log` logs use the key of JSON itself. A maximum of 100 keys are supported.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Keys []*string `json:"Keys,omitnil" name:"Keys"`

	// Log keys to be filtered and the corresponding regex
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FilterKeyRegex []*KeyRegexInfo `json:"FilterKeyRegex,omitnil" name:"FilterKeyRegex"`

	// Whether to upload the logs that failed to be parsed. Valid values: `true`: yes; `false`: no
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UnMatchUpLoadSwitch *bool `json:"UnMatchUpLoadSwitch,omitnil" name:"UnMatchUpLoadSwitch"`

	// Unmatched log key
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UnMatchLogKey *string `json:"UnMatchLogKey,omitnil" name:"UnMatchLogKey"`

	// Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Backtracking *int64 `json:"Backtracking,omitnil" name:"Backtracking"`

	// Whether to be encoded in GBK format. Valid values: `0` (No) and `1` (Yes).
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsGBK *int64 `json:"IsGBK,omitnil" name:"IsGBK"`

	// Whether to be formatted as JSON (standard). Valid values: `0` (No) and `1` (Yes).
	// Note: This field may return null, indicating that no valid values can be obtained.
	JsonStandard *int64 `json:"JsonStandard,omitnil" name:"JsonStandard"`

	// Syslog protocol. Valid values: `tcp`, `udp`.
	// This field can be used when you create or modify collection rule configurations.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listening address and port specified by the syslog collection. Format: [ip]:[port]. Example: 127.0.0.1:9000.
	// This field can be used when you create or modify collection rule configurations.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Address *string `json:"Address,omitnil" name:"Address"`

	// `rfc3164`: Resolve logs by using the RFC 3164 protocol during the syslog collection.
	// `rfc5424`: Resolve logs by using the RFC 5424 protocol during the syslog collection.
	// `auto`: Automatically match either the RFC 3164 or RFC 5424 protocol.
	// This field can be used when you create or modify collection rule configurations.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParseProtocol *string `json:"ParseProtocol,omitnil" name:"ParseProtocol"`

	// Metadata type. Valid values:
	// 0: Do not use metadata.
	// 1: Use machine group metadata.
	// 2: Use user-defined metadata.
	// 3: Use the collection path to extract metadata.
	MetadataType *int64 `json:"MetadataType,omitnil" name:"MetadataType"`

	// Regular expression of the collection configuration path, which is required when `MetadataType` is set to `3`
	// Note: This field may return null, indicating that no valid values can be obtained.
	PathRegex *string `json:"PathRegex,omitnil" name:"PathRegex"`

	// User-defined metadata, which is required when `MetadataType` is set to `2`.
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

type Filter

type Filter struct {
	// Field to be filtered
	Key *string `json:"Key,omitnil" name:"Key"`

	// Value to be filtered
	Values []*string `json:"Values,omitnil" name:"Values"`
}

type FilterRuleInfo

type FilterRuleInfo struct {
	// Filter rule key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Filter rule
	Regex *string `json:"Regex,omitnil" name:"Regex"`

	// Filter rule value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type FullTextInfo

type FullTextInfo struct {
	// Case sensitivity
	CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"`

	// Separator of the full-text index. Each character represents a separator.
	// Only symbols, \n\t\r, and escape character \ are supported.
	// Note: \n\t\r can be directly enclosed in double quotes as the input parameter without escaping. When debugging with API Explorer, use the JSON parameter input method to avoid repeated escaping of \n\t\r.
	Tokenizer *string `json:"Tokenizer,omitnil" name:"Tokenizer"`

	// Whether Chinese characters are contained
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ContainZH *bool `json:"ContainZH,omitnil" name:"ContainZH"`
}

type GetAlarmLogRequest

type GetAlarmLogRequest struct {
	*tchttp.BaseRequest

	// Start time of the log to be queried, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be queried, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Query statement. Maximum length: 1024
	Query *string `json:"Query,omitnil" name:"Query"`

	// Number of logs returned in a single query. Maximum value: 1000
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// This field is used to load more logs. Pass through the last `Context` value returned to get more log content.
	Context *string `json:"Context,omitnil" name:"Context"`

	// Order of the logs sorted by time returned by the log API. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`
	Sort *string `json:"Sort,omitnil" name:"Sort"`

	// If the value is `true`, the new search method will be used, and the response parameters `AnalysisRecords` and `Columns` will be valid. If the value is `false`, the old search method will be used, and `AnalysisResults` and `ColNames` will be valid.
	UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"`
}

func NewGetAlarmLogRequest

func NewGetAlarmLogRequest() (request *GetAlarmLogRequest)

func (*GetAlarmLogRequest) FromJsonString

func (r *GetAlarmLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAlarmLogRequest) ToJsonString

func (r *GetAlarmLogRequest) ToJsonString() string

type GetAlarmLogRequestParams

type GetAlarmLogRequestParams struct {
	// Start time of the log to be queried, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be queried, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Query statement. Maximum length: 1024
	Query *string `json:"Query,omitnil" name:"Query"`

	// Number of logs returned in a single query. Maximum value: 1000
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// This field is used to load more logs. Pass through the last `Context` value returned to get more log content.
	Context *string `json:"Context,omitnil" name:"Context"`

	// Order of the logs sorted by time returned by the log API. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`
	Sort *string `json:"Sort,omitnil" name:"Sort"`

	// If the value is `true`, the new search method will be used, and the response parameters `AnalysisRecords` and `Columns` will be valid. If the value is `false`, the old search method will be used, and `AnalysisResults` and `ColNames` will be valid.
	UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"`
}

Predefined struct for user

type GetAlarmLogResponse

type GetAlarmLogResponse struct {
	*tchttp.BaseResponse
	Response *GetAlarmLogResponseParams `json:"Response"`
}

func NewGetAlarmLogResponse

func NewGetAlarmLogResponse() (response *GetAlarmLogResponse)

func (*GetAlarmLogResponse) FromJsonString

func (r *GetAlarmLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAlarmLogResponse) ToJsonString

func (r *GetAlarmLogResponse) ToJsonString() string

type GetAlarmLogResponseParams

type GetAlarmLogResponseParams struct {
	// `Context` for loading subsequent content
	Context *string `json:"Context,omitnil" name:"Context"`

	// Whether all log query results are returned
	ListOver *bool `json:"ListOver,omitnil" name:"ListOver"`

	// Whether the return is the analysis result
	Analysis *bool `json:"Analysis,omitnil" name:"Analysis"`

	// If `Analysis` is `true`, column name of the analysis result will be returned; otherwise, empty content will be returned.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ColNames []*string `json:"ColNames,omitnil" name:"ColNames"`

	// Log query result. If `Analysis` is `True`, `null` may be returned
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Results []*LogInfo `json:"Results,omitnil" name:"Results"`

	// Log analysis result. If `Analysis` is `False`, `null` may be returned
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AnalysisResults []*LogItems `json:"AnalysisResults,omitnil" name:"AnalysisResults"`

	// New log analysis result, which will be valid if `UseNewAnalysis` is `true`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AnalysisRecords []*string `json:"AnalysisRecords,omitnil" name:"AnalysisRecords"`

	// Column attribute of log analysis, which will be valid if `UseNewAnalysis` is `true`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Columns []*Column `json:"Columns,omitnil" name:"Columns"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type GroupTriggerConditionInfo

type GroupTriggerConditionInfo struct {
	// Name of the field for triggering by group
	Key *string `json:"Key,omitnil" name:"Key"`

	// Value of the field for triggering by group
	Value *string `json:"Value,omitnil" name:"Value"`
}

type HistogramInfo

type HistogramInfo struct {
	// The number of logs within the statistical period
	Count *int64 `json:"Count,omitnil" name:"Count"`

	// Unix timestamp rounded by `period`, in milliseconds
	BTime *int64 `json:"BTime,omitnil" name:"BTime"`
}

type JsonInfo

type JsonInfo struct {
	// Enablement flag
	EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"`

	// List of metadata. Supported metadata types: __SOURCE__, __FILENAME__, __TIMESTAMP__, __HOSTNAME__.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"`

	// JSON format for shipping. `0`: String format; `1`: Structured format.
	// Note: This field may return null, indicating that no valid values can be obtained.
	JsonType *int64 `json:"JsonType,omitnil" name:"JsonType"`
}

type KafkaConsumerContent

type KafkaConsumerContent struct {
	// Format. Valid values: 0 (full-text) and 1 (JSON).
	Format *int64 `json:"Format,omitnil" name:"Format"`

	// Whether to ship tag information
	// This parameter does not need to be set when `Format` is set to `0`.
	EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"`

	// Metadata information list. Valid values: \_\_SOURCE\_\_, \_\_FILENAME\_\_,
	// \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_.
	// This parameter does not need to be set when `Format` is set to `0`.
	MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"`

	// Tag data processing mode. Valid values:
	// 1 (default): Do not tile data.
	// 2: Tile data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagTransaction *int64 `json:"TagTransaction,omitnil" name:"TagTransaction"`

	// JSON data format. Valid values:
	// 1 (default): Not escaped.
	// 2: Escaped.
	JsonType *int64 `json:"JsonType,omitnil" name:"JsonType"`
}

type KafkaProtocolInfo

type KafkaProtocolInfo struct {
	// Protocol type. Valid values: `plaintext`, `sasl_plaintext`, and `sasl_ssl`. `sasl_ssl` is recommended. Using this protocol will encrypt the connection and implement user authentication.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Encryption type. Valid values: `PLAIN`, `SCRAM-SHA-256`, and SCRAM-SHA-512`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Mechanism *string `json:"Mechanism,omitnil" name:"Mechanism"`

	// Username
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitnil" name:"UserName"`

	// User password
	// Note: This field may return null, indicating that no valid values can be obtained.
	Password *string `json:"Password,omitnil" name:"Password"`
}

type KafkaRechargeInfo

type KafkaRechargeInfo struct {
	// Primary key ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	Id *string `json:"Id,omitnil" name:"Id"`

	// Log topic ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Kafka data import task name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
	// Note: This field may return null, indicating that no valid values can be obtained.
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	// Note: This field may return null, indicating that no valid values can be obtained.
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	// Note: This field may return null, indicating that no valid values can be obtained.
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Kafka consumer group name
	// Note: This field may return null, indicating that no valid values can be obtained.
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Status. Valid values: 1 (running) and 2 (suspended).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Position for data import. Valid values: -2 (earliest, default) and -1 (latest).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Creation time
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Log import rule
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`
}

type KeyRegexInfo

type KeyRegexInfo struct {
	// Log key to be filtered
	Key *string `json:"Key,omitnil" name:"Key"`

	// Filter rule regex corresponding to key
	Regex *string `json:"Regex,omitnil" name:"Regex"`
}

type KeyValueInfo

type KeyValueInfo struct {
	// Name of the field for which you want to configure a key-value or metadata field index. The name can contain letters, digits, underscores, and symbols -./@ and cannot start with an underscore.
	//
	// Note:
	// For a metadata field, set its `Key` to be consistent with the one for log uploading, without prefixing it with `__TAG__.`. `__TAG__.` will be prefixed automatically for display in the console.
	// 2. The total number of keys in key-value indexes (`KeyValue`) and metadata field indexes (`Tag`) cannot exceed 300.
	// 3. The number of levels in `Key` cannot exceed 10. Example: a.b.c.d.e.f.g.h.j.k
	// 4. JSON parent and child fields (such as “a” and “a.b”) cannot be contained at the same time.
	Key *string `json:"Key,omitnil" name:"Key"`

	// Field index description information
	Value *ValueInfo `json:"Value,omitnil" name:"Value"`
}

type LogContextInfo

type LogContextInfo struct {
	// Log source device
	Source *string `json:"Source,omitnil" name:"Source"`

	// Collection path
	Filename *string `json:"Filename,omitnil" name:"Filename"`

	// Log content
	Content *string `json:"Content,omitnil" name:"Content"`

	// Log package number
	PkgId *string `json:"PkgId,omitnil" name:"PkgId"`

	// Log number in log package
	PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"`

	// Log timestamp
	BTime *int64 `json:"BTime,omitnil" name:"BTime"`

	// Source host name of logs
	// Note: This field may return `null`, indicating that no valid value was found.
	HostName *string `json:"HostName,omitnil" name:"HostName"`

	// Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
	// Note: This field may return null, indicating that no valid values can be obtained.
	RawLog *string `json:"RawLog,omitnil" name:"RawLog"`

	// The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
	// Note: This field may return null, indicating that no valid values can be obtained.
	IndexStatus *string `json:"IndexStatus,omitnil" name:"IndexStatus"`
}

type LogInfo

type LogInfo struct {
	// Log time in milliseconds
	Time *int64 `json:"Time,omitnil" name:"Time"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Log source IP
	Source *string `json:"Source,omitnil" name:"Source"`

	// Log filename
	FileName *string `json:"FileName,omitnil" name:"FileName"`

	// ID of the request package for log reporting
	PkgId *string `json:"PkgId,omitnil" name:"PkgId"`

	// Log ID in request package
	PkgLogId *string `json:"PkgLogId,omitnil" name:"PkgLogId"`

	// Serialized JSON string of log content
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LogJson *string `json:"LogJson,omitnil" name:"LogJson"`

	// Source host name of logs
	// Note: This field may return `null`, indicating that no valid value was found.
	HostName *string `json:"HostName,omitnil" name:"HostName"`

	// Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
	// Note: This field may return null, indicating that no valid values can be obtained.
	RawLog *string `json:"RawLog,omitnil" name:"RawLog"`

	// The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
	// Note: This field may return null, indicating that no valid values can be obtained.
	IndexStatus *string `json:"IndexStatus,omitnil" name:"IndexStatus"`
}

type LogItem

type LogItem struct {
	// Log key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Log value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type LogItems

type LogItems struct {
	// Key-Value pair returned in analysis result
	Data []*LogItem `json:"Data,omitnil" name:"Data"`
}

type LogRechargeRuleInfo

type LogRechargeRuleInfo struct {
	// Import type. Valid values: `json_log` (JSON logs), `minimalist_log` (single-line full text), and fullregex_log u200d(single-line full regex)
	RechargeType *string `json:"RechargeType,omitnil" name:"RechargeType"`

	// Encoding format. Valid values: 0 (default, UTF-8) and 1 GBK).
	EncodingFormat *uint64 `json:"EncodingFormat,omitnil" name:"EncodingFormat"`

	// Whether to use the default time. Valid values: `true` (default) and `false`.
	DefaultTimeSwitch *bool `json:"DefaultTimeSwitch,omitnil" name:"DefaultTimeSwitch"`

	// Full log matching rule, which is valid only if `RechargeType` is `fullregex_log`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogRegex *string `json:"LogRegex,omitnil" name:"LogRegex"`

	// Whether to upload the logs that failed to be parsed. Valid values: `true` and `false`.
	UnMatchLogSwitch *bool `json:"UnMatchLogSwitch,omitnil" name:"UnMatchLogSwitch"`

	// Key of the log that failed to be parsed
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnMatchLogKey *string `json:"UnMatchLogKey,omitnil" name:"UnMatchLogKey"`

	// Time source of the log that failed to be parsed. Valid values: 0 (current system time) and 1 (Kafka message timestamp).
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnMatchLogTimeSrc *uint64 `json:"UnMatchLogTimeSrc,omitnil" name:"UnMatchLogTimeSrc"`

	// Default time source. Valid values: 0 (current system time) and 1 (Kafka message timestamp).
	// Note: This field may return null, indicating that no valid values can be obtained.
	DefaultTimeSrc *uint64 `json:"DefaultTimeSrc,omitnil" name:"DefaultTimeSrc"`

	// Time field
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeKey *string `json:"TimeKey,omitnil" name:"TimeKey"`

	// Time regular expression
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeRegex *string `json:"TimeRegex,omitnil" name:"TimeRegex"`

	// Time field format
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeFormat *string `json:"TimeFormat,omitnil" name:"TimeFormat"`

	// Time zone
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeZone *string `json:"TimeZone,omitnil" name:"TimeZone"`

	// Metadata information. Kafka supports import of kafka_topic, kafka_partition, kafka_offset, and kafka_timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Metadata []*string `json:"Metadata,omitnil" name:"Metadata"`

	// List of log keys, which is required when `RechargeType` is set to `full_regex_log`
	// Note: This field may return null, indicating that no valid values can be obtained.
	Keys []*string `json:"Keys,omitnil" name:"Keys"`
}

type LogsetInfo

type LogsetInfo struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Logset name
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Cloud product identifier. If the logset is created by another cloud product, this field returns the name of the cloud product, such as `CDN` or `TKE`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AssumerName *string `json:"AssumerName,omitnil" name:"AssumerName"`

	// Tag bound to logset
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Number of log topics in logset
	TopicCount *int64 `json:"TopicCount,omitnil" name:"TopicCount"`

	// If `AssumerName` is not empty, it indicates the service provider who creates the logset.
	RoleName *string `json:"RoleName,omitnil" name:"RoleName"`
}

type MachineGroupInfo

type MachineGroupInfo struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group name
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Machine group type
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// List of tags bound to machine group
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic update for the machine group
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AutoUpdate *string `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Update start time. We recommend you update LogListener during off-peak hours.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Update end time. We recommend you update LogListener during off-peak hours.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// Metadata information list of a machine group
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

type MachineGroupTypeInfo

type MachineGroupTypeInfo struct {
	// Machine group type. Valid values: `ip`: the IP addresses of collection machines are stored in `Values` of the machine group; `label`: the tags of the machines are stored in `Values` of the machine group
	Type *string `json:"Type,omitnil" name:"Type"`

	// Machine description list
	Values []*string `json:"Values,omitnil" name:"Values"`
}

type MachineInfo

type MachineInfo struct {
	// Machine IP
	Ip *string `json:"Ip,omitnil" name:"Ip"`

	// Machine status. Valid values: `0`: exceptional; `1`: normal
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// Machine disconnection time. If the value is empty, the machine is normal. If the machine is exceptional, a specific value will be returned.
	OfflineTime *string `json:"OfflineTime,omitnil" name:"OfflineTime"`

	// Whether to enable automatic update for the machine. Valid values: `0`: no; `1`: yes
	AutoUpdate *int64 `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Current machine version number
	Version *string `json:"Version,omitnil" name:"Version"`

	// Machine update feature status
	UpdateStatus *int64 `json:"UpdateStatus,omitnil" name:"UpdateStatus"`

	// Machine update result flag
	ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"`

	// Machine update result information
	ErrMsg *string `json:"ErrMsg,omitnil" name:"ErrMsg"`
}

type MergePartitionRequest

type MergePartitionRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Merged `PartitionId`
	PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"`
}

func NewMergePartitionRequest

func NewMergePartitionRequest() (request *MergePartitionRequest)

func (*MergePartitionRequest) FromJsonString

func (r *MergePartitionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*MergePartitionRequest) ToJsonString

func (r *MergePartitionRequest) ToJsonString() string

type MergePartitionRequestParams

type MergePartitionRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Merged `PartitionId`
	PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"`
}

Predefined struct for user

type MergePartitionResponse

type MergePartitionResponse struct {
	*tchttp.BaseResponse
	Response *MergePartitionResponseParams `json:"Response"`
}

func NewMergePartitionResponse

func NewMergePartitionResponse() (response *MergePartitionResponse)

func (*MergePartitionResponse) FromJsonString

func (r *MergePartitionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*MergePartitionResponse) ToJsonString

func (r *MergePartitionResponse) ToJsonString() string

type MergePartitionResponseParams

type MergePartitionResponseParams struct {
	// Merge result set
	Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type MetaTagInfo

type MetaTagInfo struct {
	// Metadata key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Metadata value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type ModifyAlarmNoticeRequest

type ModifyAlarmNoticeRequest struct {
	*tchttp.BaseRequest

	// Notification group ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`

	// Notification group name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Notification type. Valid values:
	// <li> `Trigger`: alarm triggered
	// <li> `Recovery`: alarm cleared
	// <li> `All`: alarm triggered and alarm cleared
	Type *string `json:"Type,omitnil" name:"Type"`

	// Notification recipient
	NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"`

	// API callback information (including WeCom)
	WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"`
}

func NewModifyAlarmNoticeRequest

func NewModifyAlarmNoticeRequest() (request *ModifyAlarmNoticeRequest)

func (*ModifyAlarmNoticeRequest) FromJsonString

func (r *ModifyAlarmNoticeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmNoticeRequest) ToJsonString

func (r *ModifyAlarmNoticeRequest) ToJsonString() string

type ModifyAlarmNoticeRequestParams

type ModifyAlarmNoticeRequestParams struct {
	// Notification group ID
	AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"`

	// Notification group name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Notification type. Valid values:
	// <li> `Trigger`: alarm triggered
	// <li> `Recovery`: alarm cleared
	// <li> `All`: alarm triggered and alarm cleared
	Type *string `json:"Type,omitnil" name:"Type"`

	// Notification recipient
	NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"`

	// API callback information (including WeCom)
	WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"`
}

Predefined struct for user

type ModifyAlarmNoticeResponse

type ModifyAlarmNoticeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmNoticeResponseParams `json:"Response"`
}

func NewModifyAlarmNoticeResponse

func NewModifyAlarmNoticeResponse() (response *ModifyAlarmNoticeResponse)

func (*ModifyAlarmNoticeResponse) FromJsonString

func (r *ModifyAlarmNoticeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmNoticeResponse) ToJsonString

func (r *ModifyAlarmNoticeResponse) ToJsonString() string

type ModifyAlarmNoticeResponseParams

type ModifyAlarmNoticeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyAlarmRequest

type ModifyAlarmRequest struct {
	*tchttp.BaseRequest

	// Alarm policy ID
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`

	// Alarm policy name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Monitoring task running time point
	MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"`

	// Trigger condition
	Condition *string `json:"Condition,omitnil" name:"Condition"`

	// Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Repeated alarm interval in minutes. Value range: 0–1440.
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// List of associated alarm notification templates
	AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"`

	// Monitoring object list
	AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"`

	// Whether to enable the alarm policy
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Custom alarm content
	MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"`

	// Custom callback
	CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"`

	// Multi-Dimensional analysis
	Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"`
}

func NewModifyAlarmRequest

func NewModifyAlarmRequest() (request *ModifyAlarmRequest)

func (*ModifyAlarmRequest) FromJsonString

func (r *ModifyAlarmRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmRequest) ToJsonString

func (r *ModifyAlarmRequest) ToJsonString() string

type ModifyAlarmRequestParams

type ModifyAlarmRequestParams struct {
	// Alarm policy ID
	AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"`

	// Alarm policy name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Monitoring task running time point
	MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"`

	// Trigger condition
	Condition *string `json:"Condition,omitnil" name:"Condition"`

	// Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10.
	TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"`

	// Repeated alarm interval in minutes. Value range: 0–1440.
	AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"`

	// List of associated alarm notification templates
	AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"`

	// Monitoring object list
	AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"`

	// Whether to enable the alarm policy
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Custom alarm content
	MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"`

	// Custom callback
	CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"`

	// Multi-Dimensional analysis
	Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"`
}

Predefined struct for user

type ModifyAlarmResponse

type ModifyAlarmResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmResponseParams `json:"Response"`
}

func NewModifyAlarmResponse

func NewModifyAlarmResponse() (response *ModifyAlarmResponse)

func (*ModifyAlarmResponse) FromJsonString

func (r *ModifyAlarmResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmResponse) ToJsonString

func (r *ModifyAlarmResponse) ToJsonString() string

type ModifyAlarmResponseParams

type ModifyAlarmResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyConfigRequest

type ModifyConfigRequest struct {
	*tchttp.BaseRequest

	// Collection rule configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Collection rule configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Log collection path containing the filename
	Path *string `json:"Path,omitnil" name:"Path"`

	// Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"`

	// Collection path blocklist
	ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"`

	// Log topic (TopicId) associated with collection configuration
	Output *string `json:"Output,omitnil" name:"Output"`

	// Custom parsing string, which is a serialized JSON string
	UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"`
}

func NewModifyConfigRequest

func NewModifyConfigRequest() (request *ModifyConfigRequest)

func (*ModifyConfigRequest) FromJsonString

func (r *ModifyConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyConfigRequest) ToJsonString

func (r *ModifyConfigRequest) ToJsonString() string

type ModifyConfigRequestParams

type ModifyConfigRequestParams struct {
	// Collection rule configuration ID
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Collection rule configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Log collection path containing the filename
	Path *string `json:"Path,omitnil" name:"Path"`

	// Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
	LogType *string `json:"LogType,omitnil" name:"LogType"`

	// Extraction rule. If `ExtractRule` is set, `LogType` must be set.
	ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"`

	// Collection path blocklist
	ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"`

	// Log topic (TopicId) associated with collection configuration
	Output *string `json:"Output,omitnil" name:"Output"`

	// Custom parsing string, which is a serialized JSON string
	UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"`
}

Predefined struct for user

type ModifyConfigResponse

type ModifyConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyConfigResponseParams `json:"Response"`
}

func NewModifyConfigResponse

func NewModifyConfigResponse() (response *ModifyConfigResponse)

func (*ModifyConfigResponse) FromJsonString

func (r *ModifyConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyConfigResponse) ToJsonString

func (r *ModifyConfigResponse) ToJsonString() string

type ModifyConfigResponseParams

type ModifyConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyConsumerRequest

type ModifyConsumerRequest struct {
	*tchttp.BaseRequest

	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Whether the shipping task takes effect (default: no)
	Effective *bool `json:"Effective,omitnil" name:"Effective"`

	// Whether to ship metadata. Default value: `false`
	NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"`

	// Metadata to ship if `NeedContent` is `true`
	Content *ConsumerContent `json:"Content,omitnil" name:"Content"`

	// CKafka information
	Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"`

	// Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`
}

func NewModifyConsumerRequest

func NewModifyConsumerRequest() (request *ModifyConsumerRequest)

func (*ModifyConsumerRequest) FromJsonString

func (r *ModifyConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyConsumerRequest) ToJsonString

func (r *ModifyConsumerRequest) ToJsonString() string

type ModifyConsumerRequestParams

type ModifyConsumerRequestParams struct {
	// Log topic ID bound to the task
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Whether the shipping task takes effect (default: no)
	Effective *bool `json:"Effective,omitnil" name:"Effective"`

	// Whether to ship metadata. Default value: `false`
	NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"`

	// Metadata to ship if `NeedContent` is `true`
	Content *ConsumerContent `json:"Content,omitnil" name:"Content"`

	// CKafka information
	Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"`

	// Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`
}

Predefined struct for user

type ModifyConsumerResponse

type ModifyConsumerResponse struct {
	*tchttp.BaseResponse
	Response *ModifyConsumerResponseParams `json:"Response"`
}

func NewModifyConsumerResponse

func NewModifyConsumerResponse() (response *ModifyConsumerResponse)

func (*ModifyConsumerResponse) FromJsonString

func (r *ModifyConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyConsumerResponse) ToJsonString

func (r *ModifyConsumerResponse) ToJsonString() string

type ModifyConsumerResponseParams

type ModifyConsumerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyCosRechargeRequest

type ModifyCosRechargeRequest struct {
	*tchttp.BaseRequest

	// COS import configuration ID.
	Id *string `json:"Id,omitnil" name:"Id"`

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// COS import task name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
	Enable *uint64 `json:"Enable,omitnil" name:"Enable"`
}

func NewModifyCosRechargeRequest

func NewModifyCosRechargeRequest() (request *ModifyCosRechargeRequest)

func (*ModifyCosRechargeRequest) FromJsonString

func (r *ModifyCosRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCosRechargeRequest) ToJsonString

func (r *ModifyCosRechargeRequest) ToJsonString() string

type ModifyCosRechargeRequestParams

type ModifyCosRechargeRequestParams struct {
	// COS import configuration ID.
	Id *string `json:"Id,omitnil" name:"Id"`

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// COS import task name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
	Enable *uint64 `json:"Enable,omitnil" name:"Enable"`
}

Predefined struct for user

type ModifyCosRechargeResponse

type ModifyCosRechargeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCosRechargeResponseParams `json:"Response"`
}

func NewModifyCosRechargeResponse

func NewModifyCosRechargeResponse() (response *ModifyCosRechargeResponse)

func (*ModifyCosRechargeResponse) FromJsonString

func (r *ModifyCosRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCosRechargeResponse) ToJsonString

func (r *ModifyCosRechargeResponse) ToJsonString() string

type ModifyCosRechargeResponseParams

type ModifyCosRechargeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyDataTransformRequest

type ModifyDataTransformRequest struct {
	*tchttp.BaseRequest

	// Data processing task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Data processing task name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Data processing statement
	EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"`

	// Task status. Valid values: 1 (enabled) and 2 (disabled).
	EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"`

	// Destination topic ID and alias of the data processing task
	DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"`
}

func NewModifyDataTransformRequest

func NewModifyDataTransformRequest() (request *ModifyDataTransformRequest)

func (*ModifyDataTransformRequest) FromJsonString

func (r *ModifyDataTransformRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDataTransformRequest) ToJsonString

func (r *ModifyDataTransformRequest) ToJsonString() string

type ModifyDataTransformRequestParams

type ModifyDataTransformRequestParams struct {
	// Data processing task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Data processing task name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Data processing statement
	EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"`

	// Task status. Valid values: 1 (enabled) and 2 (disabled).
	EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"`

	// Destination topic ID and alias of the data processing task
	DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"`
}

Predefined struct for user

type ModifyDataTransformResponse

type ModifyDataTransformResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDataTransformResponseParams `json:"Response"`
}

func NewModifyDataTransformResponse

func NewModifyDataTransformResponse() (response *ModifyDataTransformResponse)

func (*ModifyDataTransformResponse) FromJsonString

func (r *ModifyDataTransformResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDataTransformResponse) ToJsonString

func (r *ModifyDataTransformResponse) ToJsonString() string

type ModifyDataTransformResponseParams

type ModifyDataTransformResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyIndexRequest

type ModifyIndexRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// It does not take effect by default
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Index rule
	Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"`

	// Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`.
	// * `false`: Full-text indexing does not include internal fields.
	// * `true`: Full-text indexing includes internal fields.
	IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"`

	// Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`.
	// * `0`: Full-text indexing includes only metadata fields with key-value indexing enabled.
	// * `1`: Full-text indexing includes all metadata fields.
	// * `2`: Full-text indexing does not include metadata fields.
	MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"`
}

func NewModifyIndexRequest

func NewModifyIndexRequest() (request *ModifyIndexRequest)

func (*ModifyIndexRequest) FromJsonString

func (r *ModifyIndexRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyIndexRequest) ToJsonString

func (r *ModifyIndexRequest) ToJsonString() string

type ModifyIndexRequestParams

type ModifyIndexRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// It does not take effect by default
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Index rule
	Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"`

	// Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`.
	// * `false`: Full-text indexing does not include internal fields.
	// * `true`: Full-text indexing includes internal fields.
	IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"`

	// Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`.
	// * `0`: Full-text indexing includes only metadata fields with key-value indexing enabled.
	// * `1`: Full-text indexing includes all metadata fields.
	// * `2`: Full-text indexing does not include metadata fields.
	MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"`
}

Predefined struct for user

type ModifyIndexResponse

type ModifyIndexResponse struct {
	*tchttp.BaseResponse
	Response *ModifyIndexResponseParams `json:"Response"`
}

func NewModifyIndexResponse

func NewModifyIndexResponse() (response *ModifyIndexResponse)

func (*ModifyIndexResponse) FromJsonString

func (r *ModifyIndexResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyIndexResponse) ToJsonString

func (r *ModifyIndexResponse) ToJsonString() string

type ModifyIndexResponseParams

type ModifyIndexResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyKafkaRechargeRequest

type ModifyKafkaRechargeRequest struct {
	*tchttp.BaseRequest

	// Kafka data import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Target topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Kafka data import configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka)
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`

	// Import control. Valid values: 1 (suspend) and 2 (resume).
	StatusControl *uint64 `json:"StatusControl,omitnil" name:"StatusControl"`
}

func NewModifyKafkaRechargeRequest

func NewModifyKafkaRechargeRequest() (request *ModifyKafkaRechargeRequest)

func (*ModifyKafkaRechargeRequest) FromJsonString

func (r *ModifyKafkaRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyKafkaRechargeRequest) ToJsonString

func (r *ModifyKafkaRechargeRequest) ToJsonString() string

type ModifyKafkaRechargeRequestParams

type ModifyKafkaRechargeRequestParams struct {
	// Kafka data import configuration ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Target topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Kafka data import configuration name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka)
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`

	// Import control. Valid values: 1 (suspend) and 2 (resume).
	StatusControl *uint64 `json:"StatusControl,omitnil" name:"StatusControl"`
}

Predefined struct for user

type ModifyKafkaRechargeResponse

type ModifyKafkaRechargeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyKafkaRechargeResponseParams `json:"Response"`
}

func NewModifyKafkaRechargeResponse

func NewModifyKafkaRechargeResponse() (response *ModifyKafkaRechargeResponse)

func (*ModifyKafkaRechargeResponse) FromJsonString

func (r *ModifyKafkaRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyKafkaRechargeResponse) ToJsonString

func (r *ModifyKafkaRechargeResponse) ToJsonString() string

type ModifyKafkaRechargeResponseParams

type ModifyKafkaRechargeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyLogsetRequest

type ModifyLogsetRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Logset name
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Tag key-value pair bound to logset. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key at any time.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

func NewModifyLogsetRequest

func NewModifyLogsetRequest() (request *ModifyLogsetRequest)

func (*ModifyLogsetRequest) FromJsonString

func (r *ModifyLogsetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLogsetRequest) ToJsonString

func (r *ModifyLogsetRequest) ToJsonString() string

type ModifyLogsetRequestParams

type ModifyLogsetRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Logset name
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Tag key-value pair bound to logset. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key at any time.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

Predefined struct for user

type ModifyLogsetResponse

type ModifyLogsetResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLogsetResponseParams `json:"Response"`
}

func NewModifyLogsetResponse

func NewModifyLogsetResponse() (response *ModifyLogsetResponse)

func (*ModifyLogsetResponse) FromJsonString

func (r *ModifyLogsetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLogsetResponse) ToJsonString

func (r *ModifyLogsetResponse) ToJsonString() string

type ModifyLogsetResponseParams

type ModifyLogsetResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyMachineGroupRequest

type ModifyMachineGroupRequest struct {
	*tchttp.BaseRequest

	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group name
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Machine group type
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`

	// Tag list
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic update for the machine group
	AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Update start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees.
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// Metadata information list of a machine group
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

func NewModifyMachineGroupRequest

func NewModifyMachineGroupRequest() (request *ModifyMachineGroupRequest)

func (*ModifyMachineGroupRequest) FromJsonString

func (r *ModifyMachineGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMachineGroupRequest) ToJsonString

func (r *ModifyMachineGroupRequest) ToJsonString() string

type ModifyMachineGroupRequestParams

type ModifyMachineGroupRequestParams struct {
	// Machine group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Machine group name
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Machine group type
	MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"`

	// Tag list
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to enable automatic update for the machine group
	AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"`

	// Update start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"`

	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"`

	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees.
	ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"`

	// Metadata information list of a machine group
	MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"`
}

Predefined struct for user

type ModifyMachineGroupResponse

type ModifyMachineGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMachineGroupResponseParams `json:"Response"`
}

func NewModifyMachineGroupResponse

func NewModifyMachineGroupResponse() (response *ModifyMachineGroupResponse)

func (*ModifyMachineGroupResponse) FromJsonString

func (r *ModifyMachineGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMachineGroupResponse) ToJsonString

func (r *ModifyMachineGroupResponse) ToJsonString() string

type ModifyMachineGroupResponseParams

type ModifyMachineGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyShipperRequest

type ModifyShipperRequest struct {
	*tchttp.BaseRequest

	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// New destination bucket in shipping rule
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// New destination directory prefix in shipping rule
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// Shipping rule status
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Shipping rule name
	ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"`

	// Shipping time interval in seconds. Default value: 300. Value range: 300–900
	Interval *uint64 `json:"Interval,omitnil" name:"Interval"`

	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256
	MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"`

	// Partition rule of shipped log, which can be represented in `strftime` time format
	Partition *string `json:"Partition,omitnil" name:"Partition"`

	// Compression configuration of shipped log
	Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"`

	// Format configuration of shipped log content
	Content *ContentInfo `json:"Content,omitnil" name:"Content"`

	// Naming a shipping file. Valid values: `0` (by random number), `1` (by shipping time). Default value: `0`.
	FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"`
}

func NewModifyShipperRequest

func NewModifyShipperRequest() (request *ModifyShipperRequest)

func (*ModifyShipperRequest) FromJsonString

func (r *ModifyShipperRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyShipperRequest) ToJsonString

func (r *ModifyShipperRequest) ToJsonString() string

type ModifyShipperRequestParams

type ModifyShipperRequestParams struct {
	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// New destination bucket in shipping rule
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// New destination directory prefix in shipping rule
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// Shipping rule status
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Shipping rule name
	ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"`

	// Shipping time interval in seconds. Default value: 300. Value range: 300–900
	Interval *uint64 `json:"Interval,omitnil" name:"Interval"`

	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256
	MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"`

	// Partition rule of shipped log, which can be represented in `strftime` time format
	Partition *string `json:"Partition,omitnil" name:"Partition"`

	// Compression configuration of shipped log
	Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"`

	// Format configuration of shipped log content
	Content *ContentInfo `json:"Content,omitnil" name:"Content"`

	// Naming a shipping file. Valid values: `0` (by random number), `1` (by shipping time). Default value: `0`.
	FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"`
}

Predefined struct for user

type ModifyShipperResponse

type ModifyShipperResponse struct {
	*tchttp.BaseResponse
	Response *ModifyShipperResponseParams `json:"Response"`
}

func NewModifyShipperResponse

func NewModifyShipperResponse() (response *ModifyShipperResponse)

func (*ModifyShipperResponse) FromJsonString

func (r *ModifyShipperResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyShipperResponse) ToJsonString

func (r *ModifyShipperResponse) ToJsonString() string

type ModifyShipperResponseParams

type ModifyShipperResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTopicRequest

type ModifyTopicRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and they must be unique.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to start collection for this log topic
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Whether to enable automatic split
	AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"`

	// Maximum number of partitions to split into for this topic if automatic split is enabled
	MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"`

	// Lifecycle in days. Value range: 1–3600 (STANDARD storage); 7–3600 (IA storage). `3640` indicates permanent retention.
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Log topic description
	Describes *string `json:"Describes,omitnil" name:"Describes"`

	// `0`: Disable log transitioning.
	// A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`.
	HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"`

	// Whether to enable web tracking. Valid values: `false` (disable); `true` (enable)
	IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"`
}

func NewModifyTopicRequest

func NewModifyTopicRequest() (request *ModifyTopicRequest)

func (*ModifyTopicRequest) FromJsonString

func (r *ModifyTopicRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicRequest) ToJsonString

func (r *ModifyTopicRequest) ToJsonString() string

type ModifyTopicRequestParams

type ModifyTopicRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and they must be unique.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether to start collection for this log topic
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Whether to enable automatic split
	AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"`

	// Maximum number of partitions to split into for this topic if automatic split is enabled
	MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"`

	// Lifecycle in days. Value range: 1–3600 (STANDARD storage); 7–3600 (IA storage). `3640` indicates permanent retention.
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Log topic description
	Describes *string `json:"Describes,omitnil" name:"Describes"`

	// `0`: Disable log transitioning.
	// A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`.
	HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"`

	// Whether to enable web tracking. Valid values: `false` (disable); `true` (enable)
	IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"`
}

Predefined struct for user

type ModifyTopicResponse

type ModifyTopicResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTopicResponseParams `json:"Response"`
}

func NewModifyTopicResponse

func NewModifyTopicResponse() (response *ModifyTopicResponse)

func (*ModifyTopicResponse) FromJsonString

func (r *ModifyTopicResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicResponse) ToJsonString

func (r *ModifyTopicResponse) ToJsonString() string

type ModifyTopicResponseParams

type ModifyTopicResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type MonitorTime

type MonitorTime struct {
	// Valid values:
	// <br><li> `Period`: periodic execution
	// <br><li> `Fixed`: scheduled execution
	Type *string `json:"Type,omitnil" name:"Type"`

	// Execution interval or scheduled time point in minutes. Value range: 1–1440.
	Time *int64 `json:"Time,omitnil" name:"Time"`
}

type MultiTopicSearchInformation

type MultiTopicSearchInformation struct {
	// ID of the log topic to be searched for
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// You can pass through the `Context` value (validity: 1 hour) returned by the last API to continue to get logs, which can get up to 10,000 raw logs.
	Context *string `json:"Context,omitnil" name:"Context"`
}

type NoticeReceiver

type NoticeReceiver struct {
	// Recipient type. Valid values:
	// <br><li> `Uin`: user ID
	// <br><li> `Group`: user group ID
	// Currently, other recipient types are not supported.
	ReceiverType *string `json:"ReceiverType,omitnil" name:"ReceiverType"`

	// Recipient
	ReceiverIds []*int64 `json:"ReceiverIds,omitnil" name:"ReceiverIds"`

	// Notification method
	// <br><li> `Email`: email
	// <br><li> `Sms`: SMS
	// <br><li> `WeChat`: WeChat
	// <br><li> `Phone`: phone
	ReceiverChannels []*string `json:"ReceiverChannels,omitnil" name:"ReceiverChannels"`

	// Start time for allowed message receipt
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time for allowed message receipt
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Index
	Index *int64 `json:"Index,omitnil" name:"Index"`
}

type OpenKafkaConsumerRequest

type OpenKafkaConsumerRequest struct {
	*tchttp.BaseRequest

	// `TopicId` created by the CLS console
	FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"`

	// Compression mode. Valid values: `0` (no compression); `2` (snappy); `3` (LZ4)
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`

	// Kafka consumer data format
	ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"`
}

func NewOpenKafkaConsumerRequest

func NewOpenKafkaConsumerRequest() (request *OpenKafkaConsumerRequest)

func (*OpenKafkaConsumerRequest) FromJsonString

func (r *OpenKafkaConsumerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenKafkaConsumerRequest) ToJsonString

func (r *OpenKafkaConsumerRequest) ToJsonString() string

type OpenKafkaConsumerRequestParams

type OpenKafkaConsumerRequestParams struct {
	// `TopicId` created by the CLS console
	FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"`

	// Compression mode. Valid values: `0` (no compression); `2` (snappy); `3` (LZ4)
	Compression *int64 `json:"Compression,omitnil" name:"Compression"`

	// Kafka consumer data format
	ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"`
}

Predefined struct for user

type OpenKafkaConsumerResponse

type OpenKafkaConsumerResponse struct {
	*tchttp.BaseResponse
	Response *OpenKafkaConsumerResponseParams `json:"Response"`
}

func NewOpenKafkaConsumerResponse

func NewOpenKafkaConsumerResponse() (response *OpenKafkaConsumerResponse)

func (*OpenKafkaConsumerResponse) FromJsonString

func (r *OpenKafkaConsumerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenKafkaConsumerResponse) ToJsonString

func (r *OpenKafkaConsumerResponse) ToJsonString() string

type OpenKafkaConsumerResponseParams

type OpenKafkaConsumerResponseParams struct {
	// `TopicId` to be consumed
	TopicID *string `json:"TopicID,omitnil" name:"TopicID"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ParquetInfo

type ParquetInfo struct {
	// `ParquetKeyInfo` array
	ParquetKeyInfo []*ParquetKeyInfo `json:"ParquetKeyInfo,omitnil" name:"ParquetKeyInfo"`
}

type ParquetKeyInfo

type ParquetKeyInfo struct {
	// Key name
	KeyName *string `json:"KeyName,omitnil" name:"KeyName"`

	// Supported data types: string, boolean, int32, int64, float, and double
	KeyType *string `json:"KeyType,omitnil" name:"KeyType"`

	// Assignment information returned upon resolution failure
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	KeyNonExistingField *string `json:"KeyNonExistingField,omitnil" name:"KeyNonExistingField"`
}

type PartitionInfo

type PartitionInfo struct {
	// Partition ID
	PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"`

	// Partition status. Valid values: `readwrite`, `readonly`
	Status *string `json:"Status,omitnil" name:"Status"`

	// Partition hash start key
	InclusiveBeginKey *string `json:"InclusiveBeginKey,omitnil" name:"InclusiveBeginKey"`

	// Partition hash end key
	ExclusiveEndKey *string `json:"ExclusiveEndKey,omitnil" name:"ExclusiveEndKey"`

	// Partition creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Last modified of read-only partition
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastWriteTime *string `json:"LastWriteTime,omitnil" name:"LastWriteTime"`
}

type PreviewKafkaRechargeRequest

type PreviewKafkaRechargeRequest struct {
	*tchttp.BaseRequest

	// Preview type. Valid values: 1 (source data preview) and 2 (result preview).
	PreviewType *uint64 `json:"PreviewType,omitnil" name:"PreviewType"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka)
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Position for data import. Valid values: -2 (earliest, default) and -1 (latest).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`
}

func NewPreviewKafkaRechargeRequest

func NewPreviewKafkaRechargeRequest() (request *PreviewKafkaRechargeRequest)

func (*PreviewKafkaRechargeRequest) FromJsonString

func (r *PreviewKafkaRechargeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PreviewKafkaRechargeRequest) ToJsonString

func (r *PreviewKafkaRechargeRequest) ToJsonString() string

type PreviewKafkaRechargeRequestParams

type PreviewKafkaRechargeRequestParams struct {
	// Preview type. Valid values: 1 (source data preview) and 2 (result preview).
	PreviewType *uint64 `json:"PreviewType,omitnil" name:"PreviewType"`

	// Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka)
	KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"`

	// List of Kafka topics to import data from. Separate multiple topics with commas (,).
	UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"`

	// Position for data import. Valid values: -2 (earliest, default) and -1 (latest).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// CKafka instance ID, which is required when `KafkaType` is set to `0`
	KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"`

	// Service address
	ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"`

	// Whether the service address uses an encrypted connection
	IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"`

	// Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`
	Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"`

	// Kafka consumer group name
	ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"`

	// Log import rule
	LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"`
}

Predefined struct for user

type PreviewKafkaRechargeResponse

type PreviewKafkaRechargeResponse struct {
	*tchttp.BaseResponse
	Response *PreviewKafkaRechargeResponseParams `json:"Response"`
}

func NewPreviewKafkaRechargeResponse

func NewPreviewKafkaRechargeResponse() (response *PreviewKafkaRechargeResponse)

func (*PreviewKafkaRechargeResponse) FromJsonString

func (r *PreviewKafkaRechargeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PreviewKafkaRechargeResponse) ToJsonString

func (r *PreviewKafkaRechargeResponse) ToJsonString() string

type PreviewKafkaRechargeResponseParams

type PreviewKafkaRechargeResponseParams struct {
	// Log sample, which is returned when `PreviewType` is set to `2`
	LogSample *string `json:"LogSample,omitnil" name:"LogSample"`

	// Log preview result
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogData *string `json:"LogData,omitnil" name:"LogData"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type PreviewLogStatistic

type PreviewLogStatistic struct {
	// Log content
	LogContent *string `json:"LogContent,omitnil" name:"LogContent"`

	// Line number
	LineNum *int64 `json:"LineNum,omitnil" name:"LineNum"`

	// Target log topic
	DstTopicId *string `json:"DstTopicId,omitnil" name:"DstTopicId"`

	// Error code. An empty string "" indicates no error.
	FailReason *string `json:"FailReason,omitnil" name:"FailReason"`

	// Log timestamp
	Time *string `json:"Time,omitnil" name:"Time"`

	// Target topic name
	// Note: This field may return null, indicating that no valid values can be obtained.
	DstTopicName *string `json:"DstTopicName,omitnil" name:"DstTopicName"`
}

type RetryShipperTaskRequest

type RetryShipperTaskRequest struct {
	*tchttp.BaseRequest

	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Shipping task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

func NewRetryShipperTaskRequest

func NewRetryShipperTaskRequest() (request *RetryShipperTaskRequest)

func (*RetryShipperTaskRequest) FromJsonString

func (r *RetryShipperTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RetryShipperTaskRequest) ToJsonString

func (r *RetryShipperTaskRequest) ToJsonString() string

type RetryShipperTaskRequestParams

type RetryShipperTaskRequestParams struct {
	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Shipping task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

Predefined struct for user

type RetryShipperTaskResponse

type RetryShipperTaskResponse struct {
	*tchttp.BaseResponse
	Response *RetryShipperTaskResponseParams `json:"Response"`
}

func NewRetryShipperTaskResponse

func NewRetryShipperTaskResponse() (response *RetryShipperTaskResponse)

func (*RetryShipperTaskResponse) FromJsonString

func (r *RetryShipperTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RetryShipperTaskResponse) ToJsonString

func (r *RetryShipperTaskResponse) ToJsonString() string

type RetryShipperTaskResponseParams

type RetryShipperTaskResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RuleInfo

type RuleInfo struct {
	// Full-text index configuration. If the configuration is left empty, full-text indexing is not enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FullText *FullTextInfo `json:"FullText,omitnil" name:"FullText"`

	// Key-value index configuration. If the configuration is left empty, key-value indexing is not enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	KeyValue *RuleKeyValueInfo `json:"KeyValue,omitnil" name:"KeyValue"`

	// Metadata field index configuration. If the configuration is left empty, metadata field indexing is not enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Tag *RuleTagInfo `json:"Tag,omitnil" name:"Tag"`

	// Dynamic index configuration. If the configuration is empty, dynamic indexing is not enabled.
	//
	// Note: This feature is currently in a beta test. To use it, please contact technical support.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DynamicIndex *DynamicIndex `json:"DynamicIndex,omitnil" name:"DynamicIndex"`
}

type RuleKeyValueInfo

type RuleKeyValueInfo struct {
	// Case sensitivity
	CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"`

	// Key-value pair information of the index to be created
	KeyValues []*KeyValueInfo `json:"KeyValues,omitnil" name:"KeyValues"`
}

type RuleTagInfo

type RuleTagInfo struct {
	// Case sensitivity
	CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"`

	// Field information in the metafield index configuration
	KeyValues []*KeyValueInfo `json:"KeyValues,omitnil" name:"KeyValues"`
}

type SearchLogRequest

type SearchLogRequest struct {
	*tchttp.BaseRequest

	// Start time of the log to be searched, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be searched, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Search and analysis statement. Maximum length: 12 KB
	// A statement is in the format of <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1" target="_blank">[search criteria]</a> | <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statement]</a>. You can omit the pipe symbol <code> | </code> and SQL statement when log analysis is not required.
	// Queries all logs using * or an empty string
	Query *string `json:"Query,omitnil" name:"Query"`

	// - The ID of the log topic to be searched for. Only one log topic can be specified.
	// - To search for multiple log topics at a time, use the `Topics` parameter.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// The number of raw logs returned by a single query. Maximum value: 1000. You need to use `Context` to continue to get logs.
	// Notes:
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To limit the number of analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a>.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// You can pass through the `Context` value (validity: an hour) returned by the API last time to continue to get logs (up to 10,000 raw logs).
	// Notes:
	// * Do not modify any other parameters while passing through the `Context` parameter.
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To continue to get analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a>.
	Context *string `json:"Context,omitnil" name:"Context"`

	// Time order of the logs returned. Valid values: `asc` (ascending); `desc`: (descending). Default value: `desc`
	// Notes:
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To sort the analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a>.
	Sort *string `json:"Sort,omitnil" name:"Sort"`

	// If the value is `true`, the new response method will be used, and the output parameters `AnalysisRecords` and `Columns` will be valid.
	// If the value is `false`, the old response method will be used, and the output parameters `AnalysisResults` and `ColNames` will be valid.
	// The two response methods differ slightly in terms of encoding format. You are advised to use the new method (`true`).
	UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"`

	// Indicates whether to sample raw logs before statistical analysis (`Query` includes SQL statements).
	// `0`: Auto-sample.
	// `0–1`: Sample by the specified sample rate, such as `0.02`.
	// `1`: Precise analysis without sampling.
	// Default value: `1`
	SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"`

	// Search syntax
	// `0` (default): Lucene; `1`: CQL.
	// For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Syntax Rules</a>
	SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"`

	// - The IDs of the log topics (up to 20) to be searched for.
	// - To search for a single log topic, use the `TopicId` parameter.
	// - You cannot use both `TopicId` and `Topics`.
	Topics []*MultiTopicSearchInformation `json:"Topics,omitnil" name:"Topics"`
}

func NewSearchLogRequest

func NewSearchLogRequest() (request *SearchLogRequest)

func (*SearchLogRequest) FromJsonString

func (r *SearchLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchLogRequest) ToJsonString

func (r *SearchLogRequest) ToJsonString() string

type SearchLogRequestParams

type SearchLogRequestParams struct {
	// Start time of the log to be searched, which is a Unix timestamp in milliseconds
	From *int64 `json:"From,omitnil" name:"From"`

	// End time of the log to be searched, which is a Unix timestamp in milliseconds
	To *int64 `json:"To,omitnil" name:"To"`

	// Search and analysis statement. Maximum length: 12 KB
	// A statement is in the format of <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1" target="_blank">[search criteria]</a> | <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statement]</a>. You can omit the pipe symbol <code> | </code> and SQL statement when log analysis is not required.
	// Queries all logs using * or an empty string
	Query *string `json:"Query,omitnil" name:"Query"`

	// - The ID of the log topic to be searched for. Only one log topic can be specified.
	// - To search for multiple log topics at a time, use the `Topics` parameter.
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// The number of raw logs returned by a single query. Maximum value: 1000. You need to use `Context` to continue to get logs.
	// Notes:
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To limit the number of analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a>.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// You can pass through the `Context` value (validity: an hour) returned by the API last time to continue to get logs (up to 10,000 raw logs).
	// Notes:
	// * Do not modify any other parameters while passing through the `Context` parameter.
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To continue to get analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a>.
	Context *string `json:"Context,omitnil" name:"Context"`

	// Time order of the logs returned. Valid values: `asc` (ascending); `desc`: (descending). Default value: `desc`
	// Notes:
	// * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	// * To sort the analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a>.
	Sort *string `json:"Sort,omitnil" name:"Sort"`

	// If the value is `true`, the new response method will be used, and the output parameters `AnalysisRecords` and `Columns` will be valid.
	// If the value is `false`, the old response method will be used, and the output parameters `AnalysisResults` and `ColNames` will be valid.
	// The two response methods differ slightly in terms of encoding format. You are advised to use the new method (`true`).
	UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"`

	// Indicates whether to sample raw logs before statistical analysis (`Query` includes SQL statements).
	// `0`: Auto-sample.
	// `0–1`: Sample by the specified sample rate, such as `0.02`.
	// `1`: Precise analysis without sampling.
	// Default value: `1`
	SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"`

	// Search syntax
	// `0` (default): Lucene; `1`: CQL.
	// For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Syntax Rules</a>
	SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"`

	// - The IDs of the log topics (up to 20) to be searched for.
	// - To search for a single log topic, use the `TopicId` parameter.
	// - You cannot use both `TopicId` and `Topics`.
	Topics []*MultiTopicSearchInformation `json:"Topics,omitnil" name:"Topics"`
}

Predefined struct for user

type SearchLogResponse

type SearchLogResponse struct {
	*tchttp.BaseResponse
	Response *SearchLogResponseParams `json:"Response"`
}

func NewSearchLogResponse

func NewSearchLogResponse() (response *SearchLogResponse)

func (*SearchLogResponse) FromJsonString

func (r *SearchLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchLogResponse) ToJsonString

func (r *SearchLogResponse) ToJsonString() string

type SearchLogResponseParams

type SearchLogResponseParams struct {
	// You can pass through the `Context` value (validity: 1 hour) returned by this API to continue to get more logs.
	Context *string `json:"Context,omitnil" name:"Context"`

	// Whether to return all raw log query results. If not, you can use `Context` to continue to get logs.
	// Note: This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.
	ListOver *bool `json:"ListOver,omitnil" name:"ListOver"`

	// Whether the returned data is the analysis (SQL) result
	Analysis *bool `json:"Analysis,omitnil" name:"Analysis"`

	// Raw logs that meet the search conditions
	// Note: This field may return `null`, indicating that no valid value was found.
	Results []*LogInfo `json:"Results,omitnil" name:"Results"`

	// Column names of log analysis
	// This parameter is valid only when `UseNewAnalysis` is `false`.
	// Note: This field may return `null`, indicating that no valid value was found.
	ColNames []*string `json:"ColNames,omitnil" name:"ColNames"`

	// Log analysis result
	// This parameter is valid only when `UseNewAnalysis` is `false`.
	// Note: This field may return `null`, indicating that no valid value was found.
	AnalysisResults []*LogItems `json:"AnalysisResults,omitnil" name:"AnalysisResults"`

	// Log analysis result
	// This parameter is valid only when `UseNewAnalysis` is `true`.
	// Note: This field may return `null`, indicating that no valid value was found.
	AnalysisRecords []*string `json:"AnalysisRecords,omitnil" name:"AnalysisRecords"`

	// Column attributes of log analysis
	// This parameter is valid only when `UseNewAnalysis` is `true`.
	// Note: This field may return `null`, indicating that no valid value was found.
	Columns []*Column `json:"Columns,omitnil" name:"Columns"`

	// Sample rate used in this statistical analysis
	// Note: This field may return null, indicating that no valid values can be obtained.
	SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ShipperInfo

type ShipperInfo struct {
	// Shipping rule ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Bucket address shipped to
	Bucket *string `json:"Bucket,omitnil" name:"Bucket"`

	// Shipping prefix directory
	Prefix *string `json:"Prefix,omitnil" name:"Prefix"`

	// Shipping rule name
	ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"`

	// Shipping time interval in seconds
	Interval *uint64 `json:"Interval,omitnil" name:"Interval"`

	// Maximum size of shipped file in MB
	MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Whether it takes effect
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Filter rule for shipped log
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"`

	// Partition rule of shipped log, which can be represented in `strftime` time format
	Partition *string `json:"Partition,omitnil" name:"Partition"`

	// Compression configuration of shipped log
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"`

	// Format configuration of shipped log content
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Content *ContentInfo `json:"Content,omitnil" name:"Content"`

	// Creation time of shipped log
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Shipping file naming configuration. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"`

	// Start time for data shipping
	// Note: This field may return null, indicating that no valid values can be obtained.
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// End time for data shipping
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`

	// Progress of historical data shipping (valid only when the selected data scope contains historical data)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Progress *float64 `json:"Progress,omitnil" name:"Progress"`

	// Remaining time required for shipping all historical data (valid only when the selected data scope contains historical data)
	// Note: This field may return null, indicating that no valid values can be obtained.
	RemainTime *int64 `json:"RemainTime,omitnil" name:"RemainTime"`

	// Status of historical data shipping. Valid values:
	// 0: Real-time data is being shipped.
	// 1: The system is preparing for historical data shipping.
	// 2: Historical data is being shipped.
	// 3: An error occurred while shipping historical data.
	// 4: Historical data shipping ended.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HistoryStatus *int64 `json:"HistoryStatus,omitnil" name:"HistoryStatus"`
}

type ShipperTaskInfo

type ShipperTaskInfo struct {
	// Shipping task ID
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Shipping information ID
	ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Start timestamp of the current batch of shipped logs in milliseconds
	RangeStart *int64 `json:"RangeStart,omitnil" name:"RangeStart"`

	// End timestamp of the current batch of shipped logs in milliseconds
	RangeEnd *int64 `json:"RangeEnd,omitnil" name:"RangeEnd"`

	// Start timestamp of the current shipping task in milliseconds
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// End timestamp of the current shipping task in milliseconds
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`

	// Result of the current shipping task. Valid values: `success`, `running`, `failed`
	Status *string `json:"Status,omitnil" name:"Status"`

	// Result details
	Message *string `json:"Message,omitnil" name:"Message"`
}

type SplitPartitionRequest

type SplitPartitionRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// ID of the partition to be split
	PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"`

	// Partition split hash key position, which is meaningful only if `Number=2` is set
	SplitKey *string `json:"SplitKey,omitnil" name:"SplitKey"`

	// Number of partitions to split into, which is optional. Default value: 2
	Number *int64 `json:"Number,omitnil" name:"Number"`
}

func NewSplitPartitionRequest

func NewSplitPartitionRequest() (request *SplitPartitionRequest)

func (*SplitPartitionRequest) FromJsonString

func (r *SplitPartitionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SplitPartitionRequest) ToJsonString

func (r *SplitPartitionRequest) ToJsonString() string

type SplitPartitionRequestParams

type SplitPartitionRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// ID of the partition to be split
	PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"`

	// Partition split hash key position, which is meaningful only if `Number=2` is set
	SplitKey *string `json:"SplitKey,omitnil" name:"SplitKey"`

	// Number of partitions to split into, which is optional. Default value: 2
	Number *int64 `json:"Number,omitnil" name:"Number"`
}

Predefined struct for user

type SplitPartitionResponse

type SplitPartitionResponse struct {
	*tchttp.BaseResponse
	Response *SplitPartitionResponseParams `json:"Response"`
}

func NewSplitPartitionResponse

func NewSplitPartitionResponse() (response *SplitPartitionResponse)

func (*SplitPartitionResponse) FromJsonString

func (r *SplitPartitionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SplitPartitionResponse) ToJsonString

func (r *SplitPartitionResponse) ToJsonString() string

type SplitPartitionResponseParams

type SplitPartitionResponseParams struct {
	// Split result set
	Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// The tag key.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Key *string `json:"Key,omitnil" name:"Key"`

	// The tag value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitnil" name:"Value"`
}

type TopicInfo

type TopicInfo struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Number of topic partitions
	PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"`

	// Whether index is enabled
	Index *bool `json:"Index,omitnil" name:"Index"`

	// Cloud product identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product, such as `CDN` or `TKE`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AssumerName *string `json:"AssumerName,omitnil" name:"AssumerName"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Whether collection is enabled in the log topic
	Status *bool `json:"Status,omitnil" name:"Status"`

	// Information of tags bound to log topic
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Whether automatic split is enabled for this topic
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"`

	// Maximum number of partitions to split into for this topic if automatic split is enabled
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"`

	// Log topic storage class
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StorageType *string `json:"StorageType,omitnil" name:"StorageType"`

	// Lifecycle in days. Value range: 1-3600 (3640 indicates permanent retention)
	// Note: This field may return `null`, indicating that no valid value was found.
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Cloud product sub-identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product and its log type, such as `TKE-Audit` or `TKE-Event`. Some products only return the cloud product identifier (`AssumerName`), without this field.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubAssumerName *string `json:"SubAssumerName,omitnil" name:"SubAssumerName"`

	// Log topic description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Describes *string `json:"Describes,omitnil" name:"Describes"`

	// The lifecycle of hot storage when log transitioning is enabled. The value of `hotPeriod` is smaller than that of `Period`.
	// The hot storage period is the value of `hotPeriod`, and the cold storage period is the value of `Period` minus the value of `hotPeriod`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"`
}

type UploadLogRequest

type UploadLogRequest struct {
	*tchttp.BaseRequest

	// Topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Topic partition where data will be written into by `HashKey`
	HashKey *string `json:"HashKey,omitnil" name:"HashKey"`

	// Compression type
	CompressType *string `json:"CompressType,omitnil" name:"CompressType"`
}

func NewUploadLogRequest

func NewUploadLogRequest() (request *UploadLogRequest)

func (*UploadLogRequest) FromJsonString

func (r *UploadLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadLogRequest) ToJsonString

func (r *UploadLogRequest) ToJsonString() string

type UploadLogRequestParams

type UploadLogRequestParams struct {
	// Topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

	// Topic partition where data will be written into by `HashKey`
	HashKey *string `json:"HashKey,omitnil" name:"HashKey"`

	// Compression type
	CompressType *string `json:"CompressType,omitnil" name:"CompressType"`
}

Predefined struct for user

type UploadLogResponse

type UploadLogResponse struct {
	*tchttp.BaseResponse
	Response *UploadLogResponseParams `json:"Response"`
}

func NewUploadLogResponse

func NewUploadLogResponse() (response *UploadLogResponse)

func (*UploadLogResponse) FromJsonString

func (r *UploadLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadLogResponse) ToJsonString

func (r *UploadLogResponse) ToJsonString() string

type UploadLogResponseParams

type UploadLogResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ValueInfo

type ValueInfo struct {
	// Field type. Valid values: `long`, `text`, `double`
	Type *string `json:"Type,omitnil" name:"Type"`

	// Separator of fields. Each character represents a separator.
	// Only symbols, \n\t\r, and escape character \ are supported.
	// `long` and `double` fields need to be null.
	// Note: \n\t\r can be directly enclosed in double quotes as the input parameter without escaping. When debugging with API Explorer, use the JSON parameter input method to avoid repeated escaping of \n\t\r.
	Tokenizer *string `json:"Tokenizer,omitnil" name:"Tokenizer"`

	// Whether the analysis feature is enabled for the field
	SqlFlag *bool `json:"SqlFlag,omitnil" name:"SqlFlag"`

	// Whether Chinese characters are contained. For `long` and `double` fields, set them to `false`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ContainZH *bool `json:"ContainZH,omitnil" name:"ContainZH"`
}

type WebCallback

type WebCallback struct {
	// Callback address
	Url *string `json:"Url,omitnil" name:"Url"`

	// Callback type. Valid values:
	// <li> WeCom
	// <li> Http
	CallbackType *string `json:"CallbackType,omitnil" name:"CallbackType"`

	// Callback method. Valid values:
	// <li> POST
	// <li> PUT
	// Default value: `POST`. This parameter is required if `CallbackType` is `Http`.
	// Note: This field may return `null`, indicating that no valid value was found.
	Method *string `json:"Method,omitnil" name:"Method"`

	// Request header
	// Note: This parameter is disused. To specify request headers, see `CallBack` in <a href="https://intl.cloud.tencent.com/document/product/614/56466?from_cn_redirect=1">CreateAlarmNotice</a>.
	// Note: This field may return `null`, indicating that no valid value was found.
	Headers []*string `json:"Headers,omitnil" name:"Headers"`

	// Request content
	// Note: This parameter is disused. To specify request content, see `CallBack` in <a href="https://intl.cloud.tencent.com/document/product/614/56466?from_cn_redirect=1">CreateAlarmNotice</a>.
	// Note: This field may return `null`, indicating that no valid value was found.
	Body *string `json:"Body,omitnil" name:"Body"`

	// Number
	Index *int64 `json:"Index,omitnil" name:"Index"`
}

Jump to

Keyboard shortcuts

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