Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateFlowService(request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
- func (c *Client) CreateFlowServiceWithContext(ctx context.Context, request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
- func (c *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
- func (c *Client) DescribeExecutionHistory(request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
- func (c *Client) DescribeExecutionHistoryWithContext(ctx context.Context, request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
- func (c *Client) DescribeExecutionWithContext(ctx context.Context, request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
- func (c *Client) DescribeExecutions(request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
- func (c *Client) DescribeExecutionsWithContext(ctx context.Context, request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
- func (c *Client) DescribeFlowServiceDetail(request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
- func (c *Client) DescribeFlowServiceDetailWithContext(ctx context.Context, request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
- func (c *Client) DescribeFlowServices(request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
- func (c *Client) DescribeFlowServicesWithContext(ctx context.Context, request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
- func (c *Client) ModifyFlowService(request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
- func (c *Client) ModifyFlowServiceWithContext(ctx context.Context, request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
- func (c *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
- func (c *Client) StartExecutionWithContext(ctx context.Context, request *StartExecutionRequest) (response *StartExecutionResponse, err error)
- func (c *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
- func (c *Client) StopExecutionWithContext(ctx context.Context, request *StopExecutionRequest) (response *StopExecutionResponse, err error)
- type CreateFlowServiceRequest
- type CreateFlowServiceRequestParams
- type CreateFlowServiceResponse
- type CreateFlowServiceResponseParams
- type DescribeExecutionHistoryRequest
- type DescribeExecutionHistoryRequestParams
- type DescribeExecutionHistoryResponse
- type DescribeExecutionHistoryResponseParams
- type DescribeExecutionRequest
- type DescribeExecutionRequestParams
- type DescribeExecutionResponse
- type DescribeExecutionResponseParams
- type DescribeExecutionsRequest
- type DescribeExecutionsRequestParams
- type DescribeExecutionsResponse
- type DescribeExecutionsResponseParams
- type DescribeFlowServiceDetailRequest
- type DescribeFlowServiceDetailRequestParams
- type DescribeFlowServiceDetailResponse
- type DescribeFlowServiceDetailResponseParams
- type DescribeFlowServicesRequest
- type DescribeFlowServicesRequestParams
- type DescribeFlowServicesResponse
- type DescribeFlowServicesResponseParams
- type ExecutionEvent
- type Filter
- type ModifyFlowServiceRequest
- type ModifyFlowServiceRequestParams
- type ModifyFlowServiceResponse
- type ModifyFlowServiceResponseParams
- type StartExecutionRequest
- type StartExecutionRequestParams
- type StartExecutionResponse
- type StartExecutionResponseParams
- type StateMachine
- type StopExecutionRequest
- type StopExecutionRequestParams
- type StopExecutionResponse
- type StopExecutionResponseParams
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" )
const APIVersion = "2020-07-22"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateFlowService ¶
func (c *Client) CreateFlowService(request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
CreateFlowService 该接口用于生成状态机服务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateFlowServiceWithContext ¶ added in v1.0.324
func (c *Client) CreateFlowServiceWithContext(ctx context.Context, request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
CreateFlowService 该接口用于生成状态机服务
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeExecution ¶
func (c *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
DescribeExecution 查询执行详细信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeExecutionHistory ¶
func (c *Client) DescribeExecutionHistory(request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
DescribeExecutionHistory 一次执行会有很多步骤,经过很多节点,这个接口描述某一次执行的事件的历史
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeExecutionHistoryWithContext ¶ added in v1.0.324
func (c *Client) DescribeExecutionHistoryWithContext(ctx context.Context, request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
DescribeExecutionHistory 一次执行会有很多步骤,经过很多节点,这个接口描述某一次执行的事件的历史
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeExecutionWithContext ¶ added in v1.0.324
func (c *Client) DescribeExecutionWithContext(ctx context.Context, request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
DescribeExecution 查询执行详细信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeExecutions ¶
func (c *Client) DescribeExecutions(request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
DescribeExecutions 对状态机的执行历史进行描述.
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeExecutionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeExecutionsWithContext(ctx context.Context, request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
DescribeExecutions 对状态机的执行历史进行描述.
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeFlowServiceDetail ¶
func (c *Client) DescribeFlowServiceDetail(request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
DescribeFlowServiceDetail 查询该用户指定状态机下的详情数据。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeFlowServiceDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeFlowServiceDetailWithContext(ctx context.Context, request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
DescribeFlowServiceDetail 查询该用户指定状态机下的详情数据。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeFlowServices ¶
func (c *Client) DescribeFlowServices(request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
DescribeFlowServices 查询指定用户下所有状态机,以列表形式返回
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeFlowServicesWithContext ¶ added in v1.0.324
func (c *Client) DescribeFlowServicesWithContext(ctx context.Context, request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
DescribeFlowServices 查询指定用户下所有状态机,以列表形式返回
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyFlowService ¶
func (c *Client) ModifyFlowService(request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
ModifyFlowService 该接口用于修改状态机
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyFlowServiceWithContext ¶ added in v1.0.324
func (c *Client) ModifyFlowServiceWithContext(ctx context.Context, request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
ModifyFlowService 该接口用于修改状态机
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) StartExecution ¶
func (c *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
StartExecution 为指定的状态机启动一次执行
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) StartExecutionWithContext ¶ added in v1.0.324
func (c *Client) StartExecutionWithContext(ctx context.Context, request *StartExecutionRequest) (response *StartExecutionResponse, err error)
StartExecution 为指定的状态机启动一次执行
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) StopExecution ¶
func (c *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
StopExecution 终止某个状态机
可能返回的错误码:
AUTHFAILURE = "AuthFailure" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) StopExecutionWithContext ¶ added in v1.0.324
func (c *Client) StopExecutionWithContext(ctx context.Context, request *StopExecutionRequest) (response *StopExecutionResponse, err error)
StopExecution 终止某个状态机
可能返回的错误码:
AUTHFAILURE = "AuthFailure" RESOURCENOTFOUND = "ResourceNotFound"
type CreateFlowServiceRequest ¶
type CreateFlowServiceRequest struct { *tchttp.BaseRequest // 定义文本(JSON格式) Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 是不是新的角色 IsNewRole *bool `json:"IsNewRole,omitnil,omitempty" name:"IsNewRole"` // 状态机类型(EXPRESS,STANDARD) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 角色资源名, 比如: qcs::cam::uin/20103392:roleName/SomeRoleForYourStateMachine RoleResource *string `json:"RoleResource,omitnil,omitempty" name:"RoleResource"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 是否开启CLS日志投递功能 EnableCLS *bool `json:"EnableCLS,omitnil,omitempty" name:"EnableCLS"` // 该状态机的默认输入 Input *string `json:"Input,omitnil,omitempty" name:"Input"` }
func NewCreateFlowServiceRequest ¶
func NewCreateFlowServiceRequest() (request *CreateFlowServiceRequest)
func (*CreateFlowServiceRequest) FromJsonString ¶
func (r *CreateFlowServiceRequest) 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 (*CreateFlowServiceRequest) ToJsonString ¶
func (r *CreateFlowServiceRequest) ToJsonString() string
type CreateFlowServiceRequestParams ¶ added in v1.0.426
type CreateFlowServiceRequestParams struct { // 定义文本(JSON格式) Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 是不是新的角色 IsNewRole *bool `json:"IsNewRole,omitnil,omitempty" name:"IsNewRole"` // 状态机类型(EXPRESS,STANDARD) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 角色资源名, 比如: qcs::cam::uin/20103392:roleName/SomeRoleForYourStateMachine RoleResource *string `json:"RoleResource,omitnil,omitempty" name:"RoleResource"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 是否开启CLS日志投递功能 EnableCLS *bool `json:"EnableCLS,omitnil,omitempty" name:"EnableCLS"` // 该状态机的默认输入 Input *string `json:"Input,omitnil,omitempty" name:"Input"` }
Predefined struct for user
type CreateFlowServiceResponse ¶
type CreateFlowServiceResponse struct { *tchttp.BaseResponse Response *CreateFlowServiceResponseParams `json:"Response"` }
func NewCreateFlowServiceResponse ¶
func NewCreateFlowServiceResponse() (response *CreateFlowServiceResponse)
func (*CreateFlowServiceResponse) FromJsonString ¶
func (r *CreateFlowServiceResponse) 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 (*CreateFlowServiceResponse) ToJsonString ¶
func (r *CreateFlowServiceResponse) ToJsonString() string
type CreateFlowServiceResponseParams ¶ added in v1.0.426
type CreateFlowServiceResponseParams struct { // 状态机所属服务资源 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` // 生成日期 CreateDate *string `json:"CreateDate,omitnil,omitempty" name:"CreateDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExecutionHistoryRequest ¶
type DescribeExecutionHistoryRequest struct { *tchttp.BaseRequest // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` }
func NewDescribeExecutionHistoryRequest ¶
func NewDescribeExecutionHistoryRequest() (request *DescribeExecutionHistoryRequest)
func (*DescribeExecutionHistoryRequest) FromJsonString ¶
func (r *DescribeExecutionHistoryRequest) 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 (*DescribeExecutionHistoryRequest) ToJsonString ¶
func (r *DescribeExecutionHistoryRequest) ToJsonString() string
type DescribeExecutionHistoryRequestParams ¶ added in v1.0.426
type DescribeExecutionHistoryRequestParams struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` }
Predefined struct for user
type DescribeExecutionHistoryResponse ¶
type DescribeExecutionHistoryResponse struct { *tchttp.BaseResponse Response *DescribeExecutionHistoryResponseParams `json:"Response"` }
func NewDescribeExecutionHistoryResponse ¶
func NewDescribeExecutionHistoryResponse() (response *DescribeExecutionHistoryResponse)
func (*DescribeExecutionHistoryResponse) FromJsonString ¶
func (r *DescribeExecutionHistoryResponse) 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 (*DescribeExecutionHistoryResponse) ToJsonString ¶
func (r *DescribeExecutionHistoryResponse) ToJsonString() string
type DescribeExecutionHistoryResponseParams ¶ added in v1.0.426
type DescribeExecutionHistoryResponseParams struct { // 执行的事件列表 Events []*ExecutionEvent `json:"Events,omitnil,omitempty" name:"Events"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExecutionRequest ¶
type DescribeExecutionRequest struct { *tchttp.BaseRequest // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` }
func NewDescribeExecutionRequest ¶
func NewDescribeExecutionRequest() (request *DescribeExecutionRequest)
func (*DescribeExecutionRequest) FromJsonString ¶
func (r *DescribeExecutionRequest) 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 (*DescribeExecutionRequest) ToJsonString ¶
func (r *DescribeExecutionRequest) ToJsonString() string
type DescribeExecutionRequestParams ¶ added in v1.0.426
type DescribeExecutionRequestParams struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` }
Predefined struct for user
type DescribeExecutionResponse ¶
type DescribeExecutionResponse struct { *tchttp.BaseResponse Response *DescribeExecutionResponseParams `json:"Response"` }
func NewDescribeExecutionResponse ¶
func NewDescribeExecutionResponse() (response *DescribeExecutionResponse)
func (*DescribeExecutionResponse) FromJsonString ¶
func (r *DescribeExecutionResponse) 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 (*DescribeExecutionResponse) ToJsonString ¶
func (r *DescribeExecutionResponse) ToJsonString() string
type DescribeExecutionResponseParams ¶ added in v1.0.426
type DescribeExecutionResponseParams struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` // 资源名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 执行开始时间,毫秒 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 执行结束时间,毫秒 StopDate *string `json:"StopDate,omitnil,omitempty" name:"StopDate"` // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitnil,omitempty" name:"StateMachineResourceName"` // 执行状态。INIT,RUNNING,SUCCEED,FAILED,TERMINATED Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 执行的输入 // 注意:此字段可能返回 null,表示取不到有效值。 Input *string `json:"Input,omitnil,omitempty" name:"Input"` // 执行的输出 // 注意:此字段可能返回 null,表示取不到有效值。 Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 启动执行时,状态机的定义 ExecutionDefinition *string `json:"ExecutionDefinition,omitnil,omitempty" name:"ExecutionDefinition"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExecutionsRequest ¶
type DescribeExecutionsRequest struct { *tchttp.BaseRequest // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitnil,omitempty" name:"StateMachineResourceName"` // 页大小,最大100 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 页序号,从1开始 PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // 按状态过滤条件,INIT,RUNNING,SUCCEED,FAILED,TERMINATED FilterExecutionStatus *string `json:"FilterExecutionStatus,omitnil,omitempty" name:"FilterExecutionStatus"` // 按执行名过滤条件 FilterExecutionResourceName *string `json:"FilterExecutionResourceName,omitnil,omitempty" name:"FilterExecutionResourceName"` }
func NewDescribeExecutionsRequest ¶
func NewDescribeExecutionsRequest() (request *DescribeExecutionsRequest)
func (*DescribeExecutionsRequest) FromJsonString ¶
func (r *DescribeExecutionsRequest) 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 (*DescribeExecutionsRequest) ToJsonString ¶
func (r *DescribeExecutionsRequest) ToJsonString() string
type DescribeExecutionsRequestParams ¶ added in v1.0.426
type DescribeExecutionsRequestParams struct { // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitnil,omitempty" name:"StateMachineResourceName"` // 页大小,最大100 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 页序号,从1开始 PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // 按状态过滤条件,INIT,RUNNING,SUCCEED,FAILED,TERMINATED FilterExecutionStatus *string `json:"FilterExecutionStatus,omitnil,omitempty" name:"FilterExecutionStatus"` // 按执行名过滤条件 FilterExecutionResourceName *string `json:"FilterExecutionResourceName,omitnil,omitempty" name:"FilterExecutionResourceName"` }
Predefined struct for user
type DescribeExecutionsResponse ¶
type DescribeExecutionsResponse struct { *tchttp.BaseResponse Response *DescribeExecutionsResponseParams `json:"Response"` }
func NewDescribeExecutionsResponse ¶
func NewDescribeExecutionsResponse() (response *DescribeExecutionsResponse)
func (*DescribeExecutionsResponse) FromJsonString ¶
func (r *DescribeExecutionsResponse) 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 (*DescribeExecutionsResponse) ToJsonString ¶
func (r *DescribeExecutionsResponse) ToJsonString() string
type DescribeExecutionsResponseParams ¶ added in v1.0.426
type DescribeExecutionsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFlowServiceDetailRequest ¶
type DescribeFlowServiceDetailRequest struct { *tchttp.BaseRequest // 状态机所属服务资源名 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` }
func NewDescribeFlowServiceDetailRequest ¶
func NewDescribeFlowServiceDetailRequest() (request *DescribeFlowServiceDetailRequest)
func (*DescribeFlowServiceDetailRequest) FromJsonString ¶
func (r *DescribeFlowServiceDetailRequest) 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 (*DescribeFlowServiceDetailRequest) ToJsonString ¶
func (r *DescribeFlowServiceDetailRequest) ToJsonString() string
type DescribeFlowServiceDetailRequestParams ¶ added in v1.0.426
type DescribeFlowServiceDetailRequestParams struct { // 状态机所属服务资源名 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` }
Predefined struct for user
type DescribeFlowServiceDetailResponse ¶
type DescribeFlowServiceDetailResponse struct { *tchttp.BaseResponse Response *DescribeFlowServiceDetailResponseParams `json:"Response"` }
func NewDescribeFlowServiceDetailResponse ¶
func NewDescribeFlowServiceDetailResponse() (response *DescribeFlowServiceDetailResponse)
func (*DescribeFlowServiceDetailResponse) FromJsonString ¶
func (r *DescribeFlowServiceDetailResponse) 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 (*DescribeFlowServiceDetailResponse) ToJsonString ¶
func (r *DescribeFlowServiceDetailResponse) ToJsonString() string
type DescribeFlowServiceDetailResponseParams ¶ added in v1.0.426
type DescribeFlowServiceDetailResponseParams struct { // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 状态机状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 定义文本(JSON格式) // 注意:此字段可能返回 null,表示取不到有效值。 Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // 角色资源名 // 注意:此字段可能返回 null,表示取不到有效值。 RoleResource *string `json:"RoleResource,omitnil,omitempty" name:"RoleResource"` // 状态机的类型,可以为 (EXPRESS/STANDARD) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 生成时间 CreateDate *string `json:"CreateDate,omitnil,omitempty" name:"CreateDate"` // 备注 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 状态机所属服务中文名 // 注意:此字段可能返回 null,表示取不到有效值。 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 是否开启日志CLS服务 // 注意:此字段可能返回 null,表示取不到有效值。 EnableCLS *bool `json:"EnableCLS,omitnil,omitempty" name:"EnableCLS"` // CLS日志查看地址 // 注意:此字段可能返回 null,表示取不到有效值。 CLSUrl *string `json:"CLSUrl,omitnil,omitempty" name:"CLSUrl"` // 工作流提示输入 // 注意:此字段可能返回 null,表示取不到有效值。 FlowInput *string `json:"FlowInput,omitnil,omitempty" name:"FlowInput"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFlowServicesRequest ¶
type DescribeFlowServicesRequest struct { *tchttp.BaseRequest // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详见下表:实例过滤条件表。每次请求的Filter.Values的上限为5。参数名字仅支持FlowServiceName, Status, Type三种情况 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeFlowServicesRequest ¶
func NewDescribeFlowServicesRequest() (request *DescribeFlowServicesRequest)
func (*DescribeFlowServicesRequest) FromJsonString ¶
func (r *DescribeFlowServicesRequest) 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 (*DescribeFlowServicesRequest) ToJsonString ¶
func (r *DescribeFlowServicesRequest) ToJsonString() string
type DescribeFlowServicesRequestParams ¶ added in v1.0.426
type DescribeFlowServicesRequestParams struct { // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详见下表:实例过滤条件表。每次请求的Filter.Values的上限为5。参数名字仅支持FlowServiceName, Status, Type三种情况 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeFlowServicesResponse ¶
type DescribeFlowServicesResponse struct { *tchttp.BaseResponse Response *DescribeFlowServicesResponseParams `json:"Response"` }
func NewDescribeFlowServicesResponse ¶
func NewDescribeFlowServicesResponse() (response *DescribeFlowServicesResponse)
func (*DescribeFlowServicesResponse) FromJsonString ¶
func (r *DescribeFlowServicesResponse) 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 (*DescribeFlowServicesResponse) ToJsonString ¶
func (r *DescribeFlowServicesResponse) ToJsonString() string
type DescribeFlowServicesResponseParams ¶ added in v1.0.426
type DescribeFlowServicesResponseParams struct { // 用户的状态机列表 FlowServiceSet []*StateMachine `json:"FlowServiceSet,omitnil,omitempty" name:"FlowServiceSet"` // 用户的状态机总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExecutionEvent ¶
type ExecutionEvent struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` // 自增序号 EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"` // 事件类型 EventCategory *string `json:"EventCategory,omitnil,omitempty" name:"EventCategory"` // 步骤节点名称 StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // 该步骤引用的资源名 ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"` // 该事件发生时间,毫秒 Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 事件内容 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 异常信息 // 注意:此字段可能返回 null,表示取不到有效值。 Exception *string `json:"Exception,omitnil,omitempty" name:"Exception"` }
type ModifyFlowServiceRequest ¶
type ModifyFlowServiceRequest struct { *tchttp.BaseRequest // 状态机资源名 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` // 定义JSON Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 是否是新角色 IsNewRole *bool `json:"IsNewRole,omitnil,omitempty" name:"IsNewRole"` // 状态机类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 角色资源名 RoleResource *string `json:"RoleResource,omitnil,omitempty" name:"RoleResource"` // 状态机备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 是否允许日志投递 EnableCLS *bool `json:"EnableCLS,omitnil,omitempty" name:"EnableCLS"` }
func NewModifyFlowServiceRequest ¶
func NewModifyFlowServiceRequest() (request *ModifyFlowServiceRequest)
func (*ModifyFlowServiceRequest) FromJsonString ¶
func (r *ModifyFlowServiceRequest) 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 (*ModifyFlowServiceRequest) ToJsonString ¶
func (r *ModifyFlowServiceRequest) ToJsonString() string
type ModifyFlowServiceRequestParams ¶ added in v1.0.426
type ModifyFlowServiceRequestParams struct { // 状态机资源名 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` // 定义JSON Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 是否是新角色 IsNewRole *bool `json:"IsNewRole,omitnil,omitempty" name:"IsNewRole"` // 状态机类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 角色资源名 RoleResource *string `json:"RoleResource,omitnil,omitempty" name:"RoleResource"` // 状态机备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 是否允许日志投递 EnableCLS *bool `json:"EnableCLS,omitnil,omitempty" name:"EnableCLS"` }
Predefined struct for user
type ModifyFlowServiceResponse ¶
type ModifyFlowServiceResponse struct { *tchttp.BaseResponse Response *ModifyFlowServiceResponseParams `json:"Response"` }
func NewModifyFlowServiceResponse ¶
func NewModifyFlowServiceResponse() (response *ModifyFlowServiceResponse)
func (*ModifyFlowServiceResponse) FromJsonString ¶
func (r *ModifyFlowServiceResponse) 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 (*ModifyFlowServiceResponse) ToJsonString ¶
func (r *ModifyFlowServiceResponse) ToJsonString() string
type ModifyFlowServiceResponseParams ¶ added in v1.0.426
type ModifyFlowServiceResponseParams struct { // 状态机资源名 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` // 更新时间 UpdateDate *string `json:"UpdateDate,omitnil,omitempty" name:"UpdateDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartExecutionRequest ¶
type StartExecutionRequest struct { *tchttp.BaseRequest // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitnil,omitempty" name:"StateMachineResourceName"` // 输入参数,内容为JsonObject,长度不大于524288字符。 Input *string `json:"Input,omitnil,omitempty" name:"Input"` // 本次执行名。如果不填,系统会自动生成。如果填,应保证状态机下唯一 Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
func NewStartExecutionRequest ¶
func NewStartExecutionRequest() (request *StartExecutionRequest)
func (*StartExecutionRequest) FromJsonString ¶
func (r *StartExecutionRequest) 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 (*StartExecutionRequest) ToJsonString ¶
func (r *StartExecutionRequest) ToJsonString() string
type StartExecutionRequestParams ¶ added in v1.0.426
type StartExecutionRequestParams struct { // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitnil,omitempty" name:"StateMachineResourceName"` // 输入参数,内容为JsonObject,长度不大于524288字符。 Input *string `json:"Input,omitnil,omitempty" name:"Input"` // 本次执行名。如果不填,系统会自动生成。如果填,应保证状态机下唯一 Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
Predefined struct for user
type StartExecutionResponse ¶
type StartExecutionResponse struct { *tchttp.BaseResponse Response *StartExecutionResponseParams `json:"Response"` }
func NewStartExecutionResponse ¶
func NewStartExecutionResponse() (response *StartExecutionResponse)
func (*StartExecutionResponse) FromJsonString ¶
func (r *StartExecutionResponse) 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 (*StartExecutionResponse) ToJsonString ¶
func (r *StartExecutionResponse) ToJsonString() string
type StartExecutionResponseParams ¶ added in v1.0.426
type StartExecutionResponseParams struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitnil,omitempty" name:"ExecutionResourceName"` // 执行开始时间 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StateMachine ¶
type StateMachine struct { // 状态机资源 FlowServiceResource *string `json:"FlowServiceResource,omitnil,omitempty" name:"FlowServiceResource"` // 状态机类型。EXPRESS,STANDARD Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 状态机名称 FlowServiceName *string `json:"FlowServiceName,omitnil,omitempty" name:"FlowServiceName"` // 状态机中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitnil,omitempty" name:"FlowServiceChineseName"` // 创建时间。timestamp CreateDate *string `json:"CreateDate,omitnil,omitempty" name:"CreateDate"` // 修改时间。timestamp ModifyDate *string `json:"ModifyDate,omitnil,omitempty" name:"ModifyDate"` // 状态机状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 创建者的subAccountUin // 注意:此字段可能返回 null,表示取不到有效值。 Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"` // 修改者的subAccountUin // 注意:此字段可能返回 null,表示取不到有效值。 Modifier *string `json:"Modifier,omitnil,omitempty" name:"Modifier"` // 状态机id FlowServiceId *string `json:"FlowServiceId,omitnil,omitempty" name:"FlowServiceId"` // 模板id TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
type StopExecutionRequest ¶
type StopExecutionRequest struct { *tchttp.BaseRequest // 执行名称 ExecutionQrn *string `json:"ExecutionQrn,omitnil,omitempty" name:"ExecutionQrn"` }
func NewStopExecutionRequest ¶
func NewStopExecutionRequest() (request *StopExecutionRequest)
func (*StopExecutionRequest) FromJsonString ¶
func (r *StopExecutionRequest) 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 (*StopExecutionRequest) ToJsonString ¶
func (r *StopExecutionRequest) ToJsonString() string
type StopExecutionRequestParams ¶ added in v1.0.426
type StopExecutionRequestParams struct { // 执行名称 ExecutionQrn *string `json:"ExecutionQrn,omitnil,omitempty" name:"ExecutionQrn"` }
Predefined struct for user
type StopExecutionResponse ¶
type StopExecutionResponse struct { *tchttp.BaseResponse Response *StopExecutionResponseParams `json:"Response"` }
func NewStopExecutionResponse ¶
func NewStopExecutionResponse() (response *StopExecutionResponse)
func (*StopExecutionResponse) FromJsonString ¶
func (r *StopExecutionResponse) 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 (*StopExecutionResponse) ToJsonString ¶
func (r *StopExecutionResponse) ToJsonString() string
type StopExecutionResponseParams ¶ added in v1.0.426
type StopExecutionResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user