model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptServiceContractRequest

type AcceptServiceContractRequest struct {

	// 服务协议名称 使用公共Action的免责声明协议: use_public_action_privacy_statement 注册公共Action的免责声明协议: register_public_action_privacy_statement
	Type AcceptServiceContractRequestType `json:"type"`
}

AcceptServiceContractRequest Request Object

func (AcceptServiceContractRequest) String

type AcceptServiceContractRequestType

type AcceptServiceContractRequestType struct {
	// contains filtered or unexported fields
}

func (AcceptServiceContractRequestType) MarshalJSON

func (c AcceptServiceContractRequestType) MarshalJSON() ([]byte, error)

func (*AcceptServiceContractRequestType) UnmarshalJSON

func (c *AcceptServiceContractRequestType) UnmarshalJSON(b []byte) error

func (AcceptServiceContractRequestType) Value

type AcceptServiceContractRequestTypeEnum

type AcceptServiceContractRequestTypeEnum struct {
	USE_PUBLIC_ACTION_PRIVACY_STATEMENT      AcceptServiceContractRequestType
	REGISTER_PUBLIC_ACTION_PRIVACY_STATEMENT AcceptServiceContractRequestType
}

func GetAcceptServiceContractRequestTypeEnum

func GetAcceptServiceContractRequestTypeEnum() AcceptServiceContractRequestTypeEnum

type AcceptServiceContractResponse

type AcceptServiceContractResponse struct {
	XRequestId *string `json:"x-request-id,omitempty"`

	ContentLength  *string `json:"Content-Length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AcceptServiceContractResponse Response Object

func (AcceptServiceContractResponse) String

type Action

type Action struct {

	// 节点名称
	ActionName string `json:"action_name"`

	// 节点使用的委托
	ActionAgency string `json:"action_agency"`

	// 节点相关联的函数URN
	Function string `json:"function"`

	// 算子模板使用的URM
	FunctionTemplate string `json:"function_template"`

	// 节点使用的算子名称
	ActionTemplateName *string `json:"action_template_name,omitempty"`

	// 节点使用的模板类别
	ActionTemplateCategory *string `json:"action_template_category,omitempty"`

	// 节点使用的模板提供方
	ActionTemplateProviderName *string `json:"action_template_provider_name,omitempty"`

	// 触发模式
	InvocationMode string `json:"invocation_mode"`

	// 超时时间
	Timeout int32 `json:"timeout"`

	// 动态参数与inputs参数相关联使用的filter。默认为\"$\"
	PayloadFilter *string `json:"payload_filter,omitempty"`

	// 节点使用的动态参数
	DynamicSource map[string]interface{} `json:"dynamic_source"`

	// action错误处理
	Results *[]ActionResult `json:"results,omitempty"`
}

Action 工作流节点定义

func (Action) String

func (o Action) String() string

type ActionResult

type ActionResult struct {

	// 触发错误处理需符合的条件
	Match string `json:"match"`

	// 每次重试间隔时间
	RetryInterval int32 `json:"retry_interval"`

	// 最多重试次数
	MaxRetry *int32 `json:"max_retry,omitempty"`

	// 下一个状态
	NextState string `json:"next_state"`

	// 是否为结束状态
	IsTerminal *bool `json:"is_terminal,omitempty"`
}

ActionResult 节点错误处理的定义

func (ActionResult) String

func (o ActionResult) String() string

type ActionTemplateItem

type ActionTemplateItem struct {

	// 名称。
	Name *string `json:"name,omitempty"`

	// 第三方算子模板的分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
	Category *ActionTemplateItemCategory `json:"category,omitempty"`
}

func (ActionTemplateItem) String

func (o ActionTemplateItem) String() string

type ActionTemplateItemCategory

type ActionTemplateItemCategory struct {
	// contains filtered or unexported fields
}

func (ActionTemplateItemCategory) MarshalJSON

func (c ActionTemplateItemCategory) MarshalJSON() ([]byte, error)

func (*ActionTemplateItemCategory) UnmarshalJSON

func (c *ActionTemplateItemCategory) UnmarshalJSON(b []byte) error

func (ActionTemplateItemCategory) Value

type ActionTemplateItemCategoryEnum

type ActionTemplateItemCategoryEnum struct {
	FILE_PROCESS         ActionTemplateItemCategory
	MEDIA_PROCESS        ActionTemplateItemCategory
	IMAGE_PROCESS        ActionTemplateItemCategory
	CONTENT_REVIEW       ActionTemplateItemCategory
	NOTIFICATION_PROCESS ActionTemplateItemCategory
	VOICE_INTERACTION    ActionTemplateItemCategory
}

func GetActionTemplateItemCategoryEnum

func GetActionTemplateItemCategoryEnum() ActionTemplateItemCategoryEnum

type AsyncInvokeApiStartWorkflowRequest

type AsyncInvokeApiStartWorkflowRequest struct {

	// 工作流名称。
	GraphName string `json:"graph_name"`

	Body *ExecuteWorkflowBody `json:"body,omitempty"`
}

AsyncInvokeApiStartWorkflowRequest Request Object

func (AsyncInvokeApiStartWorkflowRequest) String

type AsyncInvokeApiStartWorkflowResponse

type AsyncInvokeApiStartWorkflowResponse struct {

	// 运行实例的URN。
	ExecutionUrn *string `json:"execution_urn,omitempty"`

	// 运行实例启动时间。
	StartedAt *string `json:"started_at,omitempty"`

	// 运行实例的名字。
	ExecutionName *string `json:"execution_name,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AsyncInvokeApiStartWorkflowResponse Response Object

func (AsyncInvokeApiStartWorkflowResponse) String

type CheckWorkflowAuthenticationRequest

type CheckWorkflowAuthenticationRequest struct {
}

CheckWorkflowAuthenticationRequest Request Object

func (CheckWorkflowAuthenticationRequest) String

type CheckWorkflowAuthenticationResponse

type CheckWorkflowAuthenticationResponse struct {

	// 创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 最近修改时间。
	LastModifyTime *string `json:"last_modify_time,omitempty"`

	// 委托方帐号ID。
	AgencyId *string `json:"agency_id,omitempty"`

	// 委托名。
	AgencyName *string `json:"agency_name,omitempty"`

	// 委托的期限。取值为\"FOREVER\"或“null”表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。
	AgencyDuration *CheckWorkflowAuthenticationResponseAgencyDuration `json:"agency_duration,omitempty"`

	// 被委托方帐号名。
	TrustDomainName *string `json:"trust_domain_name,omitempty"`

	// 权限ID。
	RoleId *string `json:"role_id,omitempty"`

	// 权限使用的依赖函数。
	RoleDependentByFunction *string `json:"role_dependent_by_function,omitempty"`

	// 权限备注名。
	RoleRemarkName *string `json:"role_remark_name,omitempty"`

	// 权限的备注模式: AX表示在domain层显示。 XA表示在project层显示。 AA表示在domain和project层均显示。 XX表示在domain和project层均不显示。 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)
	RoleRemarkType *CheckWorkflowAuthenticationResponseRoleRemarkType `json:"role_remark_type,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckWorkflowAuthenticationResponse Response Object

func (CheckWorkflowAuthenticationResponse) String

type CheckWorkflowAuthenticationResponseAgencyDuration

type CheckWorkflowAuthenticationResponseAgencyDuration struct {
	// contains filtered or unexported fields
}

func (CheckWorkflowAuthenticationResponseAgencyDuration) MarshalJSON

func (*CheckWorkflowAuthenticationResponseAgencyDuration) UnmarshalJSON

func (CheckWorkflowAuthenticationResponseAgencyDuration) Value

type CheckWorkflowAuthenticationResponseRoleRemarkType

type CheckWorkflowAuthenticationResponseRoleRemarkType struct {
	// contains filtered or unexported fields
}

func (CheckWorkflowAuthenticationResponseRoleRemarkType) MarshalJSON

func (*CheckWorkflowAuthenticationResponseRoleRemarkType) UnmarshalJSON

func (CheckWorkflowAuthenticationResponseRoleRemarkType) Value

type CreateMyActionTemplateRequest

type CreateMyActionTemplateRequest struct {

	// 算子名称,名称必须以以third开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
	TemplateName string `json:"template_name"`

	Body *ThirdTemplateRequestBody `json:"body,omitempty"`
}

CreateMyActionTemplateRequest Request Object

func (CreateMyActionTemplateRequest) String

type CreateMyActionTemplateResponse

type CreateMyActionTemplateResponse struct {

	// 三方算子ID
	TemplateName *string `json:"template_name,omitempty"`

	// 三方算子创建的时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 签名OBS地址,用于上传中英文算子包
	FuncPkgPath *string `json:"func_pkg_path,omitempty"`

	// 签名OBS地址,用于上传中英文算子logo
	FuncLogoPath map[string]string `json:"func_logo_path,omitempty"`

	// 签名OBS地址,用于上传中英文算子帮助文档
	FuncHelpPath map[string]string `json:"func_help_path,omitempty"`

	// 签名OBS地址,用于上传中英文算子测试报告
	FuncTestReportPath map[string]string `json:"func_test_report_path,omitempty"`

	// 签名OBS地址,用于上传中英文开源须知
	FuncOpensourceNoticePath map[string]string `json:"func_opensource_notice_path,omitempty"`

	// 签名OBS地址,用于上传中英文服务协议材料
	FuncSlaPath map[string]string `json:"func_sla_path,omitempty"`

	XRequestId *string `json:"X-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateMyActionTemplateResponse Response Object

func (CreateMyActionTemplateResponse) String

type CreateWorkflowAuthenticationRequest

type CreateWorkflowAuthenticationRequest struct {
}

CreateWorkflowAuthenticationRequest Request Object

func (CreateWorkflowAuthenticationRequest) String

type CreateWorkflowAuthenticationResponse

type CreateWorkflowAuthenticationResponse struct {
	XRequestId *string `json:"x-request-id,omitempty"`

	ContentLength  *string `json:"Content-Length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateWorkflowAuthenticationResponse Response Object

func (CreateWorkflowAuthenticationResponse) String

type CreateWorkflowRequest

type CreateWorkflowRequest struct {

	// 工作流名称。名称必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名
	GraphName string `json:"graph_name"`

	Body *CreateWorkflowRequestBody `json:"body,omitempty"`
}

CreateWorkflowRequest Request Object

func (CreateWorkflowRequest) String

func (o CreateWorkflowRequest) String() string

type CreateWorkflowRequestBody

type CreateWorkflowRequestBody struct {

	// 工作流的编排定义,必须有TYPE,TYPE值必须是3种State(DELAY,OPERATION,END)中一种。每个state的名字是1-80长度的只含数字,字母,-和_的String。
	States *[]State `json:"states,omitempty"`

	// 工作流中用户可修改的参数项
	Inputs *[]Input `json:"inputs,omitempty"`

	// 工作流的描述
	Description *string `json:"description,omitempty"`

	// 工作流执行类型:同步(EXPRESS)、异步(NORMAL)
	Mode *CreateWorkflowRequestBodyMode `json:"mode,omitempty"`

	ExpressConfig *ExpressConfig `json:"express_config,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	// 用戶传入用于创建工作流时使用的委托的委托名
	Agency *string `json:"agency,omitempty"`
}

CreateWorkflowRequestBody 创建工作流的请求Body

func (CreateWorkflowRequestBody) String

func (o CreateWorkflowRequestBody) String() string

type CreateWorkflowRequestBodyMode

type CreateWorkflowRequestBodyMode struct {
	// contains filtered or unexported fields
}

func (CreateWorkflowRequestBodyMode) MarshalJSON

func (c CreateWorkflowRequestBodyMode) MarshalJSON() ([]byte, error)

func (*CreateWorkflowRequestBodyMode) UnmarshalJSON

func (c *CreateWorkflowRequestBodyMode) UnmarshalJSON(b []byte) error

func (CreateWorkflowRequestBodyMode) Value

type CreateWorkflowRequestBodyModeEnum

type CreateWorkflowRequestBodyModeEnum struct {
	EXPRESS CreateWorkflowRequestBodyMode
	NORMAL  CreateWorkflowRequestBodyMode
}

func GetCreateWorkflowRequestBodyModeEnum

func GetCreateWorkflowRequestBodyModeEnum() CreateWorkflowRequestBodyModeEnum

type CreateWorkflowResponse

type CreateWorkflowResponse struct {

	// 工作流名称。
	GraphName *string `json:"graph_name,omitempty"`

	// 工作流的URN。
	GraphUrn *string `json:"graph_urn,omitempty"`

	// 工作流创建的时间。
	CreatedAt *string `json:"created_at,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateWorkflowResponse Response Object

func (CreateWorkflowResponse) String

func (o CreateWorkflowResponse) String() string

type DeleteMyActionTemplateRequest

type DeleteMyActionTemplateRequest struct {

	// 三方算子模板名。
	TemplateName string `json:"template_name"`
}

DeleteMyActionTemplateRequest Request Object

func (DeleteMyActionTemplateRequest) String

type DeleteMyActionTemplateResponse

type DeleteMyActionTemplateResponse struct {
	XRequestId *string `json:"x-request-id,omitempty"`

	ContentLength  *string `json:"Content-Length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteMyActionTemplateResponse Response Object

func (DeleteMyActionTemplateResponse) String

type DeleteWorkflowRequest

type DeleteWorkflowRequest struct {

	// 工作流名称。名称必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
	GraphName string `json:"graph_name"`
}

DeleteWorkflowRequest Request Object

func (DeleteWorkflowRequest) String

func (o DeleteWorkflowRequest) String() string

type DeleteWorkflowResponse

type DeleteWorkflowResponse struct {
	XRequestId *string `json:"x-request-id,omitempty"`

	ContentLength  *string `json:"Content-Length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteWorkflowResponse Response Object

func (DeleteWorkflowResponse) String

func (o DeleteWorkflowResponse) String() string

type ExecuteWorkflowBody

type ExecuteWorkflowBody struct {

	// 桶名
	Bucket string `json:"bucket"`

	// 对象名
	Object string `json:"object"`

	Inputs *Input `json:"inputs,omitempty"`
}

func (ExecuteWorkflowBody) String

func (o ExecuteWorkflowBody) String() string

type Execution

type Execution struct {

	// 工作流URN
	GraphUrn *string `json:"graph_urn,omitempty"`

	// 工作流实例URN
	ExecutionUrn *string `json:"execution_urn,omitempty"`

	// 工作流实例启动时间
	StartedAt *string `json:"started_at,omitempty"`

	// 工作流执行方式。APICALL代表为通过API方式触发。
	ExecutionType *ExecutionExecutionType `json:"execution_type,omitempty"`

	// 工作流停止时间。
	StoppedAt *string `json:"stopped_at,omitempty"`

	// 工作流运行状态。success,fail,running,timeout,cancel
	ExecutionState *ExecutionExecutionState `json:"execution_state,omitempty"`

	// 工作流名称。
	ExecutionName *string `json:"execution_name,omitempty"`
}

func (Execution) String

func (o Execution) String() string

type ExecutionExecutionState

type ExecutionExecutionState struct {
	// contains filtered or unexported fields
}

func (ExecutionExecutionState) MarshalJSON

func (c ExecutionExecutionState) MarshalJSON() ([]byte, error)

func (*ExecutionExecutionState) UnmarshalJSON

func (c *ExecutionExecutionState) UnmarshalJSON(b []byte) error

func (ExecutionExecutionState) Value

func (c ExecutionExecutionState) Value() string

type ExecutionExecutionStateEnum

type ExecutionExecutionStateEnum struct {
	SUCCESS ExecutionExecutionState
	FAIL    ExecutionExecutionState
	RUNNING ExecutionExecutionState
	TIMEOUT ExecutionExecutionState
	CANCEL  ExecutionExecutionState
}

func GetExecutionExecutionStateEnum

func GetExecutionExecutionStateEnum() ExecutionExecutionStateEnum

type ExecutionExecutionType

type ExecutionExecutionType struct {
	// contains filtered or unexported fields
}

func (ExecutionExecutionType) MarshalJSON

func (c ExecutionExecutionType) MarshalJSON() ([]byte, error)

func (*ExecutionExecutionType) UnmarshalJSON

func (c *ExecutionExecutionType) UnmarshalJSON(b []byte) error

func (ExecutionExecutionType) Value

func (c ExecutionExecutionType) Value() string

type ExecutionExecutionTypeEnum

type ExecutionExecutionTypeEnum struct {
	APICALL ExecutionExecutionType
}

func GetExecutionExecutionTypeEnum

func GetExecutionExecutionTypeEnum() ExecutionExecutionTypeEnum

type ExpressConfig

type ExpressConfig struct {

	// 同步工作流执行时记录LTS的日志级别,NONE、ERROR\\ALL,默认NONE
	LogLevel *ExpressConfigLogLevel `json:"log_level,omitempty"`

	// 同步工作流是否支持匿名访问
	SupportAnonymous *bool `json:"support_anonymous,omitempty"`
}

func (ExpressConfig) String

func (o ExpressConfig) String() string

type ExpressConfigLogLevel

type ExpressConfigLogLevel struct {
	// contains filtered or unexported fields
}

func (ExpressConfigLogLevel) MarshalJSON

func (c ExpressConfigLogLevel) MarshalJSON() ([]byte, error)

func (*ExpressConfigLogLevel) UnmarshalJSON

func (c *ExpressConfigLogLevel) UnmarshalJSON(b []byte) error

func (ExpressConfigLogLevel) Value

func (c ExpressConfigLogLevel) Value() string

type ExpressConfigLogLevelEnum

type ExpressConfigLogLevelEnum struct {
	NONE  ExpressConfigLogLevel
	ERROR ExpressConfigLogLevel
	ALL   ExpressConfigLogLevel
}

func GetExpressConfigLogLevelEnum

func GetExpressConfigLogLevelEnum() ExpressConfigLogLevelEnum

type FuncVpc

type FuncVpc struct {

	// 子网编号。当func_vpc非空时必选。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 虚拟私有云唯一标识。当func_vpc非空时必选。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 子网名称。
	SubnetName *string `json:"subnet_name,omitempty"`

	// 子网掩码。
	Cidr *string `json:"cidr,omitempty"`

	// 网关。
	Gateway *string `json:"gateway,omitempty"`
}

FuncVpc 函数vpc

func (FuncVpc) String

func (o FuncVpc) String() string

type GraphItem

type GraphItem struct {

	// 工作流的名称。
	Name *string `json:"name,omitempty"`

	// 系统记录的创建工作流模板的时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 工作流的URN。
	GraphUrn *string `json:"graph_urn,omitempty"`

	// 工作流ID
	Id *string `json:"id,omitempty"`
}

func (GraphItem) String

func (o GraphItem) String() string

type Input

type Input struct {

	// 输入参数名称,由小写字母、数字和中划线“-”组成
	ParameterName string `json:"parameter_name"`

	// 参数类型。可为string,integer,float,boolean,list,map。type为list类型时,value_type必填
	Type InputType `json:"type"`

	ValueType *InputParaValueType `json:"value_type,omitempty"`

	// 当多个相同action template在一个工作流时,增加字段做国际化。 由小写字母、数字和中划线“-”组成
	TemplateParameterName *string `json:"template_parameter_name,omitempty"`

	// Input结构体参数类型。支持string,integer,float,boolean,list,map
	ParameterValue *string `json:"parameter_value,omitempty"`

	// 参数项描述信息。
	Description *string `json:"description,omitempty"`

	// 默认值信息可在创建工作流实例时由外部输入替换;若未填写默认值,外部输入将必须填写这个参数的值。 注:默认值的类型和定义的参数类型必须统一。如果出现不一致,解析器可能会进行自动转换而导致出现与预期不符合的情况。
	Default *string `json:"default,omitempty"`

	// 参数的标签,此处定义的标签可在创建堆栈时进行分类展示。
	Label *string `json:"label,omitempty"`

	// 约束条件有以下几种,一个输入参数对每一种条件都只能定义一个规则。约束的多个条件中只要有一条不满足,即将认定参数非法。 equal:约定参数的value值必须等于特定值。 valid_values:参数的有效值,定义一个数组。 regex:参数需要满足某个正则条件,必须是字符串类型才可以进行匹配。 invalid_values:参数的无效值范围,如果参数值定义在其中,将会认为无效而报错。
	Constraints *interface{} `json:"constraints,omitempty"`

	// 输入参数的invisible设置为true时,返回值为******。
	Invisible *bool `json:"invisible,omitempty"`
}

Input 创建算子时用户可修改参数列表

func (Input) String

func (o Input) String() string

type InputParaType

type InputParaType struct {
}

InputParaType Input结构体参数类型。支持string,integer,float,boolean,list,map

func (InputParaType) String

func (o InputParaType) String() string

type InputParaValueType

type InputParaValueType struct {
	// contains filtered or unexported fields
}

InputParaValueType 只支持string,integer,float

func (InputParaValueType) MarshalJSON

func (c InputParaValueType) MarshalJSON() ([]byte, error)

func (*InputParaValueType) UnmarshalJSON

func (c *InputParaValueType) UnmarshalJSON(b []byte) error

func (InputParaValueType) Value

func (c InputParaValueType) Value() string

type InputParaValueTypeEnum

type InputParaValueTypeEnum struct {
	STRING  InputParaValueType
	INTEGER InputParaValueType
	FLOAT   InputParaValueType
}

func GetInputParaValueTypeEnum

func GetInputParaValueTypeEnum() InputParaValueTypeEnum

type InputType

type InputType struct {
	// contains filtered or unexported fields
}

func (InputType) MarshalJSON

func (c InputType) MarshalJSON() ([]byte, error)

func (*InputType) UnmarshalJSON

func (c *InputType) UnmarshalJSON(b []byte) error

func (InputType) Value

func (c InputType) Value() string

type InputTypeEnum

type InputTypeEnum struct {
	STRING  InputType
	INTEGER InputType
	FLOAT   InputType
	BOOLEAN InputType
	LIST    InputType
	MAP     InputType
}

func GetInputTypeEnum

func GetInputTypeEnum() InputTypeEnum

type ListMyActionTemplateRequest

type ListMyActionTemplateRequest struct {

	// 模板前缀。
	Prefix *string `json:"prefix,omitempty"`

	// 第三方算子模板的注册状态。包括init_created, submit_approve, approved_nok, approved_ok, deprecate_approve, deprecated。init_created:已创建,submit_approve:提交审核,approved_nok:审核未通过,approved_ok:审核通过,deprecate_approve:提交禁用审核,deprecated:已禁用。
	Status *ListMyActionTemplateRequestStatus `json:"status,omitempty"`

	// 第三方算子模板的分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
	Category *ListMyActionTemplateRequestCategory `json:"category,omitempty"`

	// 查询的起始位置。start大于等于1,最大1000,不设置则取默认值1。
	Offset *string `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`
}

ListMyActionTemplateRequest Request Object

func (ListMyActionTemplateRequest) String

type ListMyActionTemplateRequestCategory

type ListMyActionTemplateRequestCategory struct {
	// contains filtered or unexported fields
}

func (ListMyActionTemplateRequestCategory) MarshalJSON

func (c ListMyActionTemplateRequestCategory) MarshalJSON() ([]byte, error)

func (*ListMyActionTemplateRequestCategory) UnmarshalJSON

func (c *ListMyActionTemplateRequestCategory) UnmarshalJSON(b []byte) error

func (ListMyActionTemplateRequestCategory) Value

type ListMyActionTemplateRequestCategoryEnum

type ListMyActionTemplateRequestCategoryEnum struct {
	FILE_PROCESS         ListMyActionTemplateRequestCategory
	MEDIA_PROCESS        ListMyActionTemplateRequestCategory
	IMAGE_PROCESS        ListMyActionTemplateRequestCategory
	CONTENT_REVIEW       ListMyActionTemplateRequestCategory
	NOTIFICATION_PROCESS ListMyActionTemplateRequestCategory
	VOICE_INTERACTION    ListMyActionTemplateRequestCategory
}

func GetListMyActionTemplateRequestCategoryEnum

func GetListMyActionTemplateRequestCategoryEnum() ListMyActionTemplateRequestCategoryEnum

type ListMyActionTemplateRequestStatus

type ListMyActionTemplateRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListMyActionTemplateRequestStatus) MarshalJSON

func (c ListMyActionTemplateRequestStatus) MarshalJSON() ([]byte, error)

func (*ListMyActionTemplateRequestStatus) UnmarshalJSON

func (c *ListMyActionTemplateRequestStatus) UnmarshalJSON(b []byte) error

func (ListMyActionTemplateRequestStatus) Value

type ListMyActionTemplateResponse

type ListMyActionTemplateResponse struct {

	// 列表条目数
	Count *int32 `json:"count,omitempty"`

	// 模板列表信息
	ActionTemplates *[]ThirdActionTemplateItem `json:"action_templates,omitempty"`

	// 下一次查询的起始位置。
	Offset *int32 `json:"offset,omitempty"`

	// 表明是否本次返回的结果列表被截断。true:表示本次没有返回全部结果。false:表示本次已经返回了全部结果。
	IsTruncated *bool `json:"is_truncated,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListMyActionTemplateResponse Response Object

func (ListMyActionTemplateResponse) String

type ListSystemTemplatesRequest

type ListSystemTemplatesRequest struct {

	// 模板前缀。
	Prefix *string `json:"prefix,omitempty"`

	// 算子模板的分类。
	Category *string `json:"category,omitempty"`

	// 查询的起始位置。start大于等于1,最大1000,不设置则取默认值1。
	Offset *int32 `json:"offset,omitempty"`

	// 请求返回的最大记录条数。limit取值最小1,最大1000,不设置则取默认值10。
	Limit *int32 `json:"limit,omitempty"`
}

ListSystemTemplatesRequest Request Object

func (ListSystemTemplatesRequest) String

type ListSystemTemplatesResponse

type ListSystemTemplatesResponse struct {

	// 列表条目数。
	Count *int32 `json:"count,omitempty"`

	// 模板列表信息。
	ActionTemplates *[]ActionTemplateItem `json:"action_templates,omitempty"`

	// 下一次查询的起始位置。 下一次查询的起始位置。
	Offset *int32 `json:"offset,omitempty"`

	// 如果本次没有返回全部结果,响应请求中将包含此字段,用于标明本次请求列举到的最后一个算子。如果is_truncated为false,该字段不会返回。
	IsTruncated *bool `json:"is_truncated,omitempty"`

	// 查询到符合条件的列表总条数。
	Total *int32 `json:"total,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSystemTemplatesResponse Response Object

func (ListSystemTemplatesResponse) String

type ListWorkflowInstanceRequest

type ListWorkflowInstanceRequest struct {

	// 请求返回的最大记录条数。分页查询,每页显示的条目数量,最大数量200,超过200后只返回200
	Limit *int32 `json:"limit,omitempty"`

	// 工作流名称。
	GraphName string `json:"graph_name"`

	// 查询开始时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间。若起始时间未填写,以终止时间前推3天为起始时间
	StartTime *string `json:"start_time,omitempty"`

	// 查询终止时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间。若终止时间未填写,以起始时间后退3天未终止时间。若均未填写,默认查询最近3天数据。
	EndTime *string `json:"end_time,omitempty"`

	// 需要过滤的流程实例状态  最小长度:0  最大长度:64  枚举值:  success  fail  running  timeout  cancel
	Status *ListWorkflowInstanceRequestStatus `json:"status,omitempty"`

	// 查询的起始位置。start大于等于1,最大1000,不设置则取默认值1。
	Offset *int32 `json:"offset,omitempty"`
}

ListWorkflowInstanceRequest Request Object

func (ListWorkflowInstanceRequest) String

type ListWorkflowInstanceRequestStatus

type ListWorkflowInstanceRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListWorkflowInstanceRequestStatus) MarshalJSON

func (c ListWorkflowInstanceRequestStatus) MarshalJSON() ([]byte, error)

func (*ListWorkflowInstanceRequestStatus) UnmarshalJSON

func (c *ListWorkflowInstanceRequestStatus) UnmarshalJSON(b []byte) error

func (ListWorkflowInstanceRequestStatus) Value

type ListWorkflowInstanceResponse

type ListWorkflowInstanceResponse struct {

	// 满足条件的运行实例个数。
	Count *int32 `json:"count,omitempty"`

	// 实例信息列表
	Executions *[]Execution `json:"executions,omitempty"`

	// 表明是否本次返回的结果列表被截断。true:表示本次没有返回全部结果。false:表示本次已经返回了全部结果。
	IsTruncated *bool `json:"is_truncated,omitempty"`

	// 如果本次没有返回全部结果,响应请求中将包含此字段,用于标明本次请求列举到的最后一个工作流实例。后续请求可以指定Marker等于该值来列举剩余的工作流实例。如果is_truncated为false,该字段不会返回。
	NextOffset *int32 `json:"next_offset,omitempty"`

	XRequestId *string `json:"X-Request-Id,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date *string `json:"Date,omitempty"`

	ContentType    *string `json:"Content-Type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListWorkflowInstanceResponse Response Object

func (ListWorkflowInstanceResponse) String

type ListWorkflowsRequest

type ListWorkflowsRequest struct {

	// 工作流的名称前缀。名称必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符。
	Prefix *string `json:"prefix,omitempty"`

	// 查询的起始位置。start大于等于1,最大1000,不设置则取默认值1。
	Offset *int32 `json:"offset,omitempty"`

	// 请求返回的最大记录条数。limit取值最小1,最大1000,不设置则取默认值10。
	Limit *int32 `json:"limit,omitempty"`
}

ListWorkflowsRequest Request Object

func (ListWorkflowsRequest) String

func (o ListWorkflowsRequest) String() string

type ListWorkflowsResponse

type ListWorkflowsResponse struct {

	// 列表总条数。
	Count *int32 `json:"count,omitempty"`

	// 工作流模板列表信息。
	Graphs *[]GraphItem `json:"graphs,omitempty"`

	// 下一次查询的起始位置。
	NextOffset *int32 `json:"next_offset,omitempty"`

	// 表明是否本次返回的ListWorkflow结果列表被截断。“true”表示本次没有返回全部结果;“false”表示本次已经返回了全部结果。
	IsTruncated *bool `json:"is_truncated,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListWorkflowsResponse Response Object

func (ListWorkflowsResponse) String

func (o ListWorkflowsResponse) String() string

type NodeExecution

type NodeExecution struct {

	// 流程节点执行状态  最小长度:1  最大长度:32  枚举值:  success  fail  running  timeout  cancel
	Status *string `json:"status,omitempty"`

	// 函数执行时的入参
	Input *interface{} `json:"input,omitempty"`

	// 函数执行结果
	Output *interface{} `json:"output,omitempty"`

	// 节点启动时间,UTC毫秒时间戳格式  最小值:0  最大值:99999999999999999
	BeginTime *int64 `json:"begin_time,omitempty"`

	// 节点结束时间,UTC毫秒时间戳格式  最小值:0  最大值:99999999999999999
	EndTime *int64 `json:"end_time,omitempty"`

	// 节点错误信息,仅在节点出错时非空
	ErrorMessage *string `json:"error_message,omitempty"`

	// 流程节点请求ID
	RequestId *string `json:"request_id,omitempty"`
}

NodeExecution 节点执行记录

func (NodeExecution) String

func (o NodeExecution) String() string

type Policy

type Policy struct {

	// 权限版本号。  1.0:系统预置的角色。以服务为粒度,提供有限的服务相关角色用于授权。  1.1:策略。IAM最新提供的一种细粒度授权的能力,可以精确到具体服务的操作、资源以及请求条件等。
	Version *string `json:"version,omitempty"`

	// 授权语句,描述自定义策略的具体内容。
	Statement *[]Statement `json:"statement,omitempty"`
}

func (Policy) String

func (o Policy) String() string

type ProvidedAction

type ProvidedAction struct {

	// 算子模板名称。
	TemplateName string `json:"template_name"`

	// 分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
	Category ProvidedActionCategory `json:"category"`

	// 创建时间。
	CreateTime string `json:"create_time"`

	// 最近修改时间。
	LastModifyTime *string `json:"last_modify_time,omitempty"`

	// 可修改参数定义列表。
	Inputs *[]Input `json:"inputs,omitempty"`

	// 可修改参数引用
	DynamicSourceDefinition map[string]interface{} `json:"dynamic_source_definition"`

	// 需要的权限。
	NeedPolicy []Policy `json:"need_policy"`

	// 算子提供方名称。
	ProviderName string `json:"provider_name"`

	// 是否上传了算子包
	IsUploadedFuncPkg bool `json:"is_uploaded_func_pkg"`

	// 上传算子包的临时签名URL地址,用于上传算子包。
	FuncPkgEndpoint string `json:"func_pkg_endpoint"`

	// 上传算子包的大小。小于100M
	UploadFuncPkgSize *int32 `json:"upload_func_pkg_size,omitempty"`

	// 上传算子包的etag。
	UploadFuncPkgEtag *string `json:"upload_func_pkg_etag,omitempty"`

	RegisterStatus *PublicTemplateRegisterType `json:"register_status"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 函数URN
	FunctionTemplate string `json:"function_template"`

	// 算子提供方IAM DomainID
	ProviderDomainid string `json:"provider_domainid"`

	// 算子提供方IAM UserID
	ProviderUserid *string `json:"provider_userid,omitempty"`
}

func (ProvidedAction) String

func (o ProvidedAction) String() string

type ProvidedActionCategory

type ProvidedActionCategory struct {
	// contains filtered or unexported fields
}

func (ProvidedActionCategory) MarshalJSON

func (c ProvidedActionCategory) MarshalJSON() ([]byte, error)

func (*ProvidedActionCategory) UnmarshalJSON

func (c *ProvidedActionCategory) UnmarshalJSON(b []byte) error

func (ProvidedActionCategory) Value

func (c ProvidedActionCategory) Value() string

type ProvidedActionCategoryEnum

type ProvidedActionCategoryEnum struct {
	FILE_PROCESS         ProvidedActionCategory
	MEDIA_PROCESS        ProvidedActionCategory
	IMAGE_PROCESS        ProvidedActionCategory
	CONTENT_REVIEW       ProvidedActionCategory
	NOTIFICATION_PROCESS ProvidedActionCategory
	VOICE_INTERACTION    ProvidedActionCategory
}

func GetProvidedActionCategoryEnum

func GetProvidedActionCategoryEnum() ProvidedActionCategoryEnum

type PublicTemplateItem

type PublicTemplateItem struct {

	// 名称。
	Name *string `json:"name,omitempty"`

	// 分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
	Category *PublicTemplateItemCategory `json:"category,omitempty"`

	RegisterStatus *PublicTemplateRegisterType `json:"register_status,omitempty"`

	// 提供方
	ProviderName *string `json:"provider_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后修改时间
	LastModifyTime *string `json:"last_modify_time,omitempty"`
}

func (PublicTemplateItem) String

func (o PublicTemplateItem) String() string

type PublicTemplateItemCategory

type PublicTemplateItemCategory struct {
	// contains filtered or unexported fields
}

func (PublicTemplateItemCategory) MarshalJSON

func (c PublicTemplateItemCategory) MarshalJSON() ([]byte, error)

func (*PublicTemplateItemCategory) UnmarshalJSON

func (c *PublicTemplateItemCategory) UnmarshalJSON(b []byte) error

func (PublicTemplateItemCategory) Value

type PublicTemplateItemCategoryEnum

type PublicTemplateItemCategoryEnum struct {
	FILE_PROCESS         PublicTemplateItemCategory
	MEDIA_PROCESS        PublicTemplateItemCategory
	IMAGE_PROCESS        PublicTemplateItemCategory
	CONTENT_REVIEW       PublicTemplateItemCategory
	NOTIFICATION_PROCESS PublicTemplateItemCategory
	VOICE_INTERACTION    PublicTemplateItemCategory
}

func GetPublicTemplateItemCategoryEnum

func GetPublicTemplateItemCategoryEnum() PublicTemplateItemCategoryEnum

type PublicTemplateRegisterType

type PublicTemplateRegisterType struct {
	// contains filtered or unexported fields
}

PublicTemplateRegisterType init_created新建,submit_approve等待审核,deprecate_approve申请禁用

func (PublicTemplateRegisterType) MarshalJSON

func (c PublicTemplateRegisterType) MarshalJSON() ([]byte, error)

func (*PublicTemplateRegisterType) UnmarshalJSON

func (c *PublicTemplateRegisterType) UnmarshalJSON(b []byte) error

func (PublicTemplateRegisterType) Value

type PublicTemplateRegisterTypeEnum

type PublicTemplateRegisterTypeEnum struct {
	INIT_CREATEDSUBMIT_APPROVEDEPRECATE_APPROVE PublicTemplateRegisterType
}

func GetPublicTemplateRegisterTypeEnum

func GetPublicTemplateRegisterTypeEnum() PublicTemplateRegisterTypeEnum

type RestoreWorkflowExecutionRequest

type RestoreWorkflowExecutionRequest struct {

	// 工作流实例名。
	ExecutionName string `json:"execution_name"`

	// 工作流名。
	GraphName string `json:"graph_name"`
}

RestoreWorkflowExecutionRequest Request Object

func (RestoreWorkflowExecutionRequest) String

type RestoreWorkflowExecutionResponse

type RestoreWorkflowExecutionResponse struct {

	// 运行实例的URN。
	ExecutionUrn *string `json:"execution_urn,omitempty"`

	// 运行实例的恢复启动时间。
	RestoredAt *string `json:"restored_at,omitempty"`

	// 运行实例的名字。
	ExecutionName *string `json:"execution_name,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RestoreWorkflowExecutionResponse Response Object

func (RestoreWorkflowExecutionResponse) String

type ShowPublicActionListRequest

type ShowPublicActionListRequest struct {

	// 模板名前缀。
	Prefix *string `json:"prefix,omitempty"`

	// Action模板的分类。
	Category *string `json:"category,omitempty"`

	// 查询的起始位置
	Offset *int32 `json:"offset,omitempty"`

	// 一次查询返回的最大条数
	Limit *string `json:"limit,omitempty"`
}

ShowPublicActionListRequest Request Object

func (ShowPublicActionListRequest) String

type ShowPublicActionListResponse

type ShowPublicActionListResponse struct {

	// 列表条目数
	Count *int32 `json:"count,omitempty"`

	// 模板列表信息
	ActionTemplates *[]PublicTemplateItem `json:"action_templates,omitempty"`

	// 列表总条目数
	Total *int32 `json:"total,omitempty"`

	// 是否为分页返回
	IsTruncated *bool `json:"is_truncated,omitempty"`

	// 下次查询的起始位置
	Offset *int32 `json:"offset,omitempty"`

	XRequestId *string `json:"X-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPublicActionListResponse Response Object

func (ShowPublicActionListResponse) String

type ShowPublicTemplateInfoRequest

type ShowPublicTemplateInfoRequest struct {

	// 模板名称。
	TemplateName string `json:"template_name"`
}

ShowPublicTemplateInfoRequest Request Object

func (ShowPublicTemplateInfoRequest) String

type ShowPublicTemplateInfoResponse

type ShowPublicTemplateInfoResponse struct {
	ProvidedActions *ProvidedAction `json:"provided_actions,omitempty"`

	XRequestId *string `json:"X-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPublicTemplateInfoResponse Response Object

func (ShowPublicTemplateInfoResponse) String

type ShowServiceContractRequest

type ShowServiceContractRequest struct {

	// 服务协议名称 使用公共Action的免责声明协议: use_public_action_privacy_statement 注册公共Action的免责声明协议: register_public_action_privacy_statement
	Type ShowServiceContractRequestType `json:"type"`
}

ShowServiceContractRequest Request Object

func (ShowServiceContractRequest) String

type ShowServiceContractRequestType

type ShowServiceContractRequestType struct {
	// contains filtered or unexported fields
}

func (ShowServiceContractRequestType) MarshalJSON

func (c ShowServiceContractRequestType) MarshalJSON() ([]byte, error)

func (*ShowServiceContractRequestType) UnmarshalJSON

func (c *ShowServiceContractRequestType) UnmarshalJSON(b []byte) error

func (ShowServiceContractRequestType) Value

type ShowServiceContractRequestTypeEnum

type ShowServiceContractRequestTypeEnum struct {
	USE_PUBLIC_ACTION_PRIVACY_STATEMENT      ShowServiceContractRequestType
	REGISTER_PUBLIC_ACTION_PRIVACY_STATEMENT ShowServiceContractRequestType
}

func GetShowServiceContractRequestTypeEnum

func GetShowServiceContractRequestTypeEnum() ShowServiceContractRequestTypeEnum

type ShowServiceContractResponse

type ShowServiceContractResponse struct {

	// 服务协议类型,默认为use_public_action_privacy_statement。
	AgreementType *ShowServiceContractResponseAgreementType `json:"agreement_type,omitempty"`

	// 同意时间。
	CreateTime *string `json:"create_time,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowServiceContractResponse Response Object

func (ShowServiceContractResponse) String

type ShowServiceContractResponseAgreementType

type ShowServiceContractResponseAgreementType struct {
	// contains filtered or unexported fields
}

func (ShowServiceContractResponseAgreementType) MarshalJSON

func (*ShowServiceContractResponseAgreementType) UnmarshalJSON

func (c *ShowServiceContractResponseAgreementType) UnmarshalJSON(b []byte) error

func (ShowServiceContractResponseAgreementType) Value

type ShowServiceContractResponseAgreementTypeEnum

type ShowServiceContractResponseAgreementTypeEnum struct {
	USE_PUBLIC_ACTION_PRIVACY_STATEMENT ShowServiceContractResponseAgreementType
}

func GetShowServiceContractResponseAgreementTypeEnum

func GetShowServiceContractResponseAgreementTypeEnum() ShowServiceContractResponseAgreementTypeEnum

type ShowSystemTemplateDetailRequest

type ShowSystemTemplateDetailRequest struct {

	// 系统算子模板名称.。名称必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
	TemplateName string `json:"template_name"`
}

ShowSystemTemplateDetailRequest Request Object

func (ShowSystemTemplateDetailRequest) String

type ShowSystemTemplateDetailResponse

type ShowSystemTemplateDetailResponse struct {
	ProvidedActions *[]ProvidedAction `json:"provided_actions,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSystemTemplateDetailResponse Response Object

func (ShowSystemTemplateDetailResponse) String

type ShowThirdTemplateInfoRequest

type ShowThirdTemplateInfoRequest struct {

	// 三方算子模板名称。
	TemplateName string `json:"template_name"`
}

ShowThirdTemplateInfoRequest Request Object

func (ShowThirdTemplateInfoRequest) String

type ShowThirdTemplateInfoResponse

type ShowThirdTemplateInfoResponse struct {
	ProvidedActions *ProvidedAction `json:"provided_actions,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowThirdTemplateInfoResponse Response Object

func (ShowThirdTemplateInfoResponse) String

type ShowWorkflowInfoRequest

type ShowWorkflowInfoRequest struct {

	// 工作流名。名称必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符。
	GraphName string `json:"graph_name"`
}

ShowWorkflowInfoRequest Request Object

func (ShowWorkflowInfoRequest) String

func (o ShowWorkflowInfoRequest) String() string

type ShowWorkflowInfoResponse

type ShowWorkflowInfoResponse struct {

	// 工作流的名称。
	Name *string `json:"name,omitempty"`

	// 工作流的创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 工作流的定义。
	Definition *interface{} `json:"definition,omitempty"`

	// 工作流的URN。
	GraphUrn *string `json:"graph_urn,omitempty"`

	// 工作流的描述。
	Description *string `json:"description,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowWorkflowInfoResponse Response Object

func (ShowWorkflowInfoResponse) String

func (o ShowWorkflowInfoResponse) String() string

type ShowWorkflowInstanceRequest

type ShowWorkflowInstanceRequest struct {

	// 工作流实例名称。
	ExecutionName string `json:"execution_name"`

	// 工作流名称。
	GraphName string `json:"graph_name"`
}

ShowWorkflowInstanceRequest Request Object

func (ShowWorkflowInstanceRequest) String

type ShowWorkflowInstanceResponse

type ShowWorkflowInstanceResponse struct {

	// 流程定义ID  最小长度:1  最大长度:64
	WorkflowId *string `json:"workflow_id,omitempty"`

	// 函数工作流URN, 格式为: urn:fss:<region_id>:<project_id>:workflow:<package>:<workflow_name>:<version> 注意: package当前只支持default version当前只支持latest
	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	// 流程执行实例ID  最小长度:1  最大长度:64
	ExecutionId *string `json:"execution_id,omitempty"`

	// 流程实例执行状态  最小长度:1  最大长度:32  枚举值:  success  fail  running  timeout  cancel
	Status *ShowWorkflowInstanceResponseStatus `json:"status,omitempty"`

	// 函数执行时需要的Header。
	Headers *interface{} `json:"headers,omitempty"`

	// 函数执行时的入参
	Input *interface{} `json:"input,omitempty"`

	// 函数执行结果
	Output *interface{} `json:"output,omitempty"`

	// 流程实例创建时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间  最小长度:0  最大长度:64
	BeginTime *string `json:"begin_time,omitempty"`

	// 流程实例结束时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间  最小长度:0  最大长度:64
	EndTime *string `json:"end_time,omitempty"`

	// 流程实例上次更新时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间  最小长度:0  最大长度:64
	LastUpdateTime *string `json:"last_update_time,omitempty"`

	// 流程实例创建者  最小长度:1  最大长度:32
	CreatedBy *string `json:"created_by,omitempty"`

	// 节点执行信息
	NodeExecutionDetails *[]NodeExecution `json:"node_execution_details,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowWorkflowInstanceResponse Response Object

func (ShowWorkflowInstanceResponse) String

type ShowWorkflowInstanceResponseStatus

type ShowWorkflowInstanceResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowWorkflowInstanceResponseStatus) MarshalJSON

func (c ShowWorkflowInstanceResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowWorkflowInstanceResponseStatus) UnmarshalJSON

func (c *ShowWorkflowInstanceResponseStatus) UnmarshalJSON(b []byte) error

func (ShowWorkflowInstanceResponseStatus) Value

type State

type State struct {

	// 标识开始的state,图中必须且只有一个start为true的state。
	Start *bool `json:"start,omitempty"`

	// 必须有TYPE,TYPE值必须是3种State(DELAY,OPERATION,END)中一种。
	Type StateType `json:"type"`

	// 过滤输入参数,默认值是\"$\",表示不过滤。必须是合法的JSONPath格式。 说明 END State没有payload_filter_in属性。
	PayloadFilterIn *string `json:"payload_filter_in,omitempty"`

	// 过滤state的输出结果,默认值是\"$\",表示不过滤。 必须是合法的JSONPath格式。 说明 END State没有payload_filter_out属性。
	PayloadFilterOut *string `json:"payload_filter_out,omitempty"`

	// state的名字定义。 由小写字母、数字和中划线“-”组成,长度为[1, 20]。
	StateName string `json:"state_name"`

	// Action执行模式,支持串行,并行两种模式,默认串行  最小长度:1  最大长度:32  枚举值:  sequential  parallel
	ActionMode *string `json:"action_mode,omitempty"`

	// 节点中要执行的操作列表
	Actions *[]Action `json:"actions,omitempty"`

	// 创建工作流指定的下一个节点名称
	NextState *string `json:"next_state,omitempty"`

	// 当节点类型为事件延迟时填入需要延迟的时间,单位为秒
	TimeDelay *int32 `json:"time_delay,omitempty"`
}

State 工作流中定义的每一个节点。

func (State) String

func (o State) String() string

type StateType

type StateType struct {
	// contains filtered or unexported fields
}

func (StateType) MarshalJSON

func (c StateType) MarshalJSON() ([]byte, error)

func (*StateType) UnmarshalJSON

func (c *StateType) UnmarshalJSON(b []byte) error

func (StateType) Value

func (c StateType) Value() string

type StateTypeEnum

type StateTypeEnum struct {
	DELAY     StateType
	OPERATION StateType
	END       StateType
}

func GetStateTypeEnum

func GetStateTypeEnum() StateTypeEnum

type Statement

type Statement struct {

	// 授权项。指对资源的具体操作权限,不超过100个。 - 格式为:服务名:资源类型:操作,例:vpc:ports:create。 - 服务名为产品名称,例如ecs、evs和vpc等,服务名仅支持小写。 资源类型和操作没有大小写,要求支持通配符号*,无需罗列全部授权项。 - 当自定义策略为委托自定义策略时,该字段值为: \"Action\": [\"iam:agencies:assume\"]。
	Action *[]string `json:"action,omitempty"`

	// 资源。数组长度不超过10,每个字符串长度不超过128,规则如下: - 可填 * 的五段式:::::,例:\"obs:::bucket:*\"。 - region字段为*或用户可访问的region。service必须存在且resource属于对应service。 - 当该自定义策略为委托自定义策略时,该字段类型为Object,值为:\"Resource\": {\"uri\": [\"/iam/agencies/07805acaba800fdd4fbdc00b8f888c7c\"]}。
	Resource *[]string `json:"resource,omitempty"`
}

func (Statement) String

func (o Statement) String() string

type ThirdActionTemplateItem

type ThirdActionTemplateItem struct {

	// 名称。
	Name *string `json:"name,omitempty"`

	// 算子分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
	Category *ThirdActionTemplateItemCategory `json:"category,omitempty"`

	RegisterStatus *PublicTemplateRegisterType `json:"register_status,omitempty"`

	// 算子提供方
	ProviderName *string `json:"provider_name,omitempty"`

	// 算子描述
	Description *string `json:"description,omitempty"`

	// 算子创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后修改时间
	LastModifyTime *string `json:"last_modify_time,omitempty"`
}

func (ThirdActionTemplateItem) String

func (o ThirdActionTemplateItem) String() string

type ThirdActionTemplateItemCategory

type ThirdActionTemplateItemCategory struct {
	// contains filtered or unexported fields
}

func (ThirdActionTemplateItemCategory) MarshalJSON

func (c ThirdActionTemplateItemCategory) MarshalJSON() ([]byte, error)

func (*ThirdActionTemplateItemCategory) UnmarshalJSON

func (c *ThirdActionTemplateItemCategory) UnmarshalJSON(b []byte) error

func (ThirdActionTemplateItemCategory) Value

type ThirdActionTemplateItemCategoryEnum

type ThirdActionTemplateItemCategoryEnum struct {
	FILE_PROCESS         ThirdActionTemplateItemCategory
	MEDIA_PROCESS        ThirdActionTemplateItemCategory
	IMAGE_PROCESS        ThirdActionTemplateItemCategory
	CONTENT_REVIEW       ThirdActionTemplateItemCategory
	NOTIFICATION_PROCESS ThirdActionTemplateItemCategory
	VOICE_INTERACTION    ThirdActionTemplateItemCategory
}

func GetThirdActionTemplateItemCategoryEnum

func GetThirdActionTemplateItemCategoryEnum() ThirdActionTemplateItemCategoryEnum

type ThirdTemplateRequestBody

type ThirdTemplateRequestBody struct {

	// 必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符。
	Category string `json:"category"`

	// Inputs参数
	Inputs *[]Input `json:"inputs,omitempty"`

	// 根据DWR自定义的函数模板创建属于用户的function,并指定该参数设置的参数值。
	DynamicSourceDefinition map[string]interface{} `json:"dynamic_source_definition,omitempty"`

	// 算子执行时需要的权限信息。
	NeedPolicy *[]Policy `json:"need_policy,omitempty"`

	// 算子提供方。 英文:必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于32个字符。 中文:只能由中文、字母、数字、下划线和中划线组成,长度小于等于32个字符。
	FuncProvider map[string]string `json:"func_provider"`

	// 算子名称。 英文:必须以字母或数字开头,只能由字母、数字、下划线和中划线组成,长度小于等于50个字符。 中文:只能由中文、字母、数字、下划线和中划线组成,长度小于等于50个字符。
	FuncName map[string]string `json:"func_name"`

	// 算子描述。 英文:长度最小为0,最长为256,可以是数字、大小写字母以及英文的逗号,句号,冒号,中划线,,下划线,空格。 中文:长度最小为0,最长为256,可以是中文、数字、大小写字母以及中英文的逗号,句号,冒号,中划线,下划线,空格。
	FuncDescription map[string]string `json:"func_description"`

	// 云市场链接。 需要包含中文, 长度最小为0,最长为512,须遵守http协议中定义的规则。
	FuncLink map[string]string `json:"func_link,omitempty"`

	// serverless算子应用程序urn
	AppUrn *string `json:"app_urn,omitempty"`

	// Serverless计费单价
	BillValue *float64 `json:"bill_value,omitempty"`

	// serverless所需要委托名
	Agency *string `json:"agency,omitempty"`

	// 算子状态。初始创建时为init_created。申请提交时传入submit_approve。 算子状态。申请提交时传入submit_approve。
	RegisterStatus *ThirdTemplateRequestBodyRegisterStatus `json:"register_status,omitempty"`
}

func (ThirdTemplateRequestBody) String

func (o ThirdTemplateRequestBody) String() string

type ThirdTemplateRequestBodyRegisterStatus

type ThirdTemplateRequestBodyRegisterStatus struct {
	// contains filtered or unexported fields
}

func (ThirdTemplateRequestBodyRegisterStatus) MarshalJSON

func (c ThirdTemplateRequestBodyRegisterStatus) MarshalJSON() ([]byte, error)

func (*ThirdTemplateRequestBodyRegisterStatus) UnmarshalJSON

func (c *ThirdTemplateRequestBodyRegisterStatus) UnmarshalJSON(b []byte) error

func (ThirdTemplateRequestBodyRegisterStatus) Value

type ThirdTemplateRequestBodyRegisterStatusEnum

type ThirdTemplateRequestBodyRegisterStatusEnum struct {
	SUBMIT_APPROVE ThirdTemplateRequestBodyRegisterStatus
	INIT_CREATED   ThirdTemplateRequestBodyRegisterStatus
}

func GetThirdTemplateRequestBodyRegisterStatusEnum

func GetThirdTemplateRequestBodyRegisterStatusEnum() ThirdTemplateRequestBodyRegisterStatusEnum

type UpdateMyActionTemplateRequest

type UpdateMyActionTemplateRequest struct {

	// 模板名称。名称必须以third开头,只能由字母、数字、下划线和中划线组成,长度小于等于32个字符。
	TemplateName string `json:"template_name"`

	Body *ThirdTemplateRequestBody `json:"body,omitempty"`
}

UpdateMyActionTemplateRequest Request Object

func (UpdateMyActionTemplateRequest) String

type UpdateMyActionTemplateResponse

type UpdateMyActionTemplateResponse struct {

	// 算子模板名称。
	TemplateName *string `json:"template_name,omitempty"`

	// 算子模板创建的时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 版本号。
	Version *string `json:"version,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateMyActionTemplateResponse Response Object

func (UpdateMyActionTemplateResponse) String

type UpdateMyActionTemplateToDeprecatedRequest

type UpdateMyActionTemplateToDeprecatedRequest struct {

	// 申请禁用的三方算子名称。
	TemplateName string `json:"template_name"`
}

UpdateMyActionTemplateToDeprecatedRequest Request Object

func (UpdateMyActionTemplateToDeprecatedRequest) String

type UpdateMyActionTemplateToDeprecatedResponse

type UpdateMyActionTemplateToDeprecatedResponse struct {
	XRequestId *string `json:"x-request-id,omitempty"`

	ContentLength  *string `json:"Content-Length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateMyActionTemplateToDeprecatedResponse Response Object

func (UpdateMyActionTemplateToDeprecatedResponse) String

type UpdateWorkflowBody

type UpdateWorkflowBody struct {

	// 工作流中每个算子待修改参数与待更新的值。
	Parameters map[string]string `json:"parameters,omitempty"`
}

func (UpdateWorkflowBody) String

func (o UpdateWorkflowBody) String() string

type UpdateWorkflowRequest

type UpdateWorkflowRequest struct {

	// 工作流名称。
	GraphName string `json:"graph_name"`

	Body *UpdateWorkflowBody `json:"body,omitempty"`
}

UpdateWorkflowRequest Request Object

func (UpdateWorkflowRequest) String

func (o UpdateWorkflowRequest) String() string

type UpdateWorkflowResponse

type UpdateWorkflowResponse struct {

	// 工作流名称。
	GraphName *string `json:"graph_name,omitempty"`

	// 工作流的URN。
	GraphUrn *string `json:"graph_urn,omitempty"`

	// 工作流更新的时间。
	LastModified *string `json:"last_modified,omitempty"`

	XRequestId *string `json:"x-request-id,omitempty"`

	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	Date           *string `json:"Date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateWorkflowResponse Response Object

func (UpdateWorkflowResponse) String

func (o UpdateWorkflowResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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