client

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CreateFlow

func (client *Client) CreateFlow(request *CreateFlowRequest) (_result *CreateFlowResponse, _err error)

*

  • ## [](#)Usage notes
  • * The number of flows that each user can create is restricted by resources. For more information, see [Limits](~~122093~~). If you want to create more flows, submit a ticket.
  • * At the user level, flows are distinguished by name. The name of a flow within one account must be unique. *
  • @param request CreateFlowRequest
  • @return CreateFlowResponse

func (*Client) CreateFlowWithOptions

func (client *Client) CreateFlowWithOptions(request *CreateFlowRequest, runtime *util.RuntimeOptions) (_result *CreateFlowResponse, _err error)

*

  • ## [](#)Usage notes
  • * The number of flows that each user can create is restricted by resources. For more information, see [Limits](~~122093~~). If you want to create more flows, submit a ticket.
  • * At the user level, flows are distinguished by name. The name of a flow within one account must be unique. *
  • @param request CreateFlowRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateFlowResponse

func (*Client) CreateSchedule

func (client *Client) CreateSchedule(request *CreateScheduleRequest) (_result *CreateScheduleResponse, _err error)

func (*Client) CreateScheduleWithOptions

func (client *Client) CreateScheduleWithOptions(request *CreateScheduleRequest, runtime *util.RuntimeOptions) (_result *CreateScheduleResponse, _err error)

func (*Client) DeleteFlow

func (client *Client) DeleteFlow(request *DeleteFlowRequest) (_result *DeleteFlowResponse, _err error)

*

  • ## [](#)Usage notes
  • A delete operation is asynchronous. If this operation is successful, the system returns a successful response. If an existing flow is pending to be deleted, a new flow of the same name will not be affected by the existing one. After you delete a flow, you cannot query its historical executions. All executions in progress will stop after their most recent steps are complete. *
  • @param request DeleteFlowRequest
  • @return DeleteFlowResponse

func (*Client) DeleteFlowWithOptions

func (client *Client) DeleteFlowWithOptions(request *DeleteFlowRequest, runtime *util.RuntimeOptions) (_result *DeleteFlowResponse, _err error)

*

  • ## [](#)Usage notes
  • A delete operation is asynchronous. If this operation is successful, the system returns a successful response. If an existing flow is pending to be deleted, a new flow of the same name will not be affected by the existing one. After you delete a flow, you cannot query its historical executions. All executions in progress will stop after their most recent steps are complete. *
  • @param request DeleteFlowRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteFlowResponse

func (*Client) DeleteSchedule

func (client *Client) DeleteSchedule(request *DeleteScheduleRequest) (_result *DeleteScheduleResponse, _err error)

func (*Client) DeleteScheduleWithOptions

func (client *Client) DeleteScheduleWithOptions(request *DeleteScheduleRequest, runtime *util.RuntimeOptions) (_result *DeleteScheduleResponse, _err error)

func (*Client) DescribeExecution

func (client *Client) DescribeExecution(request *DescribeExecutionRequest) (_result *DescribeExecutionResponse, _err error)

func (*Client) DescribeExecutionWithOptions

func (client *Client) DescribeExecutionWithOptions(request *DescribeExecutionRequest, runtime *util.RuntimeOptions) (_result *DescribeExecutionResponse, _err error)

func (*Client) DescribeFlow

func (client *Client) DescribeFlow(request *DescribeFlowRequest) (_result *DescribeFlowResponse, _err error)

func (*Client) DescribeFlowWithOptions

func (client *Client) DescribeFlowWithOptions(request *DescribeFlowRequest, runtime *util.RuntimeOptions) (_result *DescribeFlowResponse, _err error)

func (*Client) DescribeSchedule

func (client *Client) DescribeSchedule(request *DescribeScheduleRequest) (_result *DescribeScheduleResponse, _err error)

func (*Client) DescribeScheduleWithOptions

func (client *Client) DescribeScheduleWithOptions(request *DescribeScheduleRequest, runtime *util.RuntimeOptions) (_result *DescribeScheduleResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetExecutionHistory

func (client *Client) GetExecutionHistory(request *GetExecutionHistoryRequest) (_result *GetExecutionHistoryResponse, _err error)

func (*Client) GetExecutionHistoryWithOptions

func (client *Client) GetExecutionHistoryWithOptions(request *GetExecutionHistoryRequest, runtime *util.RuntimeOptions) (_result *GetExecutionHistoryResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListExecutions

func (client *Client) ListExecutions(request *ListExecutionsRequest) (_result *ListExecutionsResponse, _err error)

*

  • ## [](#)Usage notes
  • After you delete a flow, you cannot query its historical executions, even if you create a flow of the same name. *
  • @param request ListExecutionsRequest
  • @return ListExecutionsResponse

func (*Client) ListExecutionsWithOptions

func (client *Client) ListExecutionsWithOptions(request *ListExecutionsRequest, runtime *util.RuntimeOptions) (_result *ListExecutionsResponse, _err error)

*

  • ## [](#)Usage notes
  • After you delete a flow, you cannot query its historical executions, even if you create a flow of the same name. *
  • @param request ListExecutionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListExecutionsResponse

func (*Client) ListFlows

func (client *Client) ListFlows(request *ListFlowsRequest) (_result *ListFlowsResponse, _err error)

func (*Client) ListFlowsWithOptions

func (client *Client) ListFlowsWithOptions(request *ListFlowsRequest, runtime *util.RuntimeOptions) (_result *ListFlowsResponse, _err error)

func (*Client) ListSchedules

func (client *Client) ListSchedules(request *ListSchedulesRequest) (_result *ListSchedulesResponse, _err error)

func (*Client) ListSchedulesWithOptions

func (client *Client) ListSchedulesWithOptions(request *ListSchedulesRequest, runtime *util.RuntimeOptions) (_result *ListSchedulesResponse, _err error)

func (*Client) ReportTaskFailed

func (client *Client) ReportTaskFailed(request *ReportTaskFailedRequest) (_result *ReportTaskFailedResponse, _err error)

*

  • ## [](#)Usage notes
  • In the old version of CloudFlow, the task step that ReportTaskFailed is used to call back `pattern: waitForCallback` indicates that the current task fails to be executed.
  • In the new version of CloudFlow, the task step that ReportTaskFailed is used to call back `TaskMode: WaitForCustomCallback` indicates that the current task fails to be executed. *
  • @param request ReportTaskFailedRequest
  • @return ReportTaskFailedResponse

func (*Client) ReportTaskFailedWithOptions

func (client *Client) ReportTaskFailedWithOptions(request *ReportTaskFailedRequest, runtime *util.RuntimeOptions) (_result *ReportTaskFailedResponse, _err error)

*

  • ## [](#)Usage notes
  • In the old version of CloudFlow, the task step that ReportTaskFailed is used to call back `pattern: waitForCallback` indicates that the current task fails to be executed.
  • In the new version of CloudFlow, the task step that ReportTaskFailed is used to call back `TaskMode: WaitForCustomCallback` indicates that the current task fails to be executed. *
  • @param request ReportTaskFailedRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReportTaskFailedResponse

func (*Client) ReportTaskSucceeded

func (client *Client) ReportTaskSucceeded(request *ReportTaskSucceededRequest) (_result *ReportTaskSucceededResponse, _err error)

*

  • ## [](#)Usage notes
  • In the old version of CloudFlow, the task step that ReportTaskSucceeded is used to call back pattern: waitForCallback indicates that the current task is successfully executed.
  • In the new version of CloudFlow, the task step that ReportTaskSucceeded is used to call back TaskMode: WaitForCustomCallback indicates that the current task is successfully executed. *
  • @param request ReportTaskSucceededRequest
  • @return ReportTaskSucceededResponse

func (*Client) ReportTaskSucceededWithOptions

func (client *Client) ReportTaskSucceededWithOptions(request *ReportTaskSucceededRequest, runtime *util.RuntimeOptions) (_result *ReportTaskSucceededResponse, _err error)

*

  • ## [](#)Usage notes
  • In the old version of CloudFlow, the task step that ReportTaskSucceeded is used to call back pattern: waitForCallback indicates that the current task is successfully executed.
  • In the new version of CloudFlow, the task step that ReportTaskSucceeded is used to call back TaskMode: WaitForCustomCallback indicates that the current task is successfully executed. *
  • @param request ReportTaskSucceededRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReportTaskSucceededResponse

func (*Client) StartExecution

func (client *Client) StartExecution(request *StartExecutionRequest) (_result *StartExecutionResponse, _err error)

*

  • ## [](#)Usage notes
  • * The flow is created. A flow only in standard mode is supported.
  • * If you do not specify an execution, the system automatically generates an execution and starts the execution.
  • * If an ongoing execution has the same name as that of the execution to be started, the system directly returns the ongoing execution.
  • * If the ongoing execution with the same name has ended (succeeded or failed), `ExecutionAlreadyExists` is returned.
  • * If no execution with the same name exists, the system starts a new execution. *
  • @param request StartExecutionRequest
  • @return StartExecutionResponse

func (*Client) StartExecutionWithOptions

func (client *Client) StartExecutionWithOptions(request *StartExecutionRequest, runtime *util.RuntimeOptions) (_result *StartExecutionResponse, _err error)

*

  • ## [](#)Usage notes
  • * The flow is created. A flow only in standard mode is supported.
  • * If you do not specify an execution, the system automatically generates an execution and starts the execution.
  • * If an ongoing execution has the same name as that of the execution to be started, the system directly returns the ongoing execution.
  • * If the ongoing execution with the same name has ended (succeeded or failed), `ExecutionAlreadyExists` is returned.
  • * If no execution with the same name exists, the system starts a new execution. *
  • @param request StartExecutionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartExecutionResponse

func (*Client) StartSyncExecution added in v2.1.0

func (client *Client) StartSyncExecution(request *StartSyncExecutionRequest) (_result *StartSyncExecutionResponse, _err error)

*

  • * Only flows of the express execution mode are supported. *
  • @param request StartSyncExecutionRequest
  • @return StartSyncExecutionResponse

func (*Client) StartSyncExecutionWithOptions added in v2.1.0

func (client *Client) StartSyncExecutionWithOptions(request *StartSyncExecutionRequest, runtime *util.RuntimeOptions) (_result *StartSyncExecutionResponse, _err error)

*

  • * Only flows of the express execution mode are supported. *
  • @param request StartSyncExecutionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartSyncExecutionResponse

func (*Client) StopExecution

func (client *Client) StopExecution(request *StopExecutionRequest) (_result *StopExecutionResponse, _err error)

*

  • ## [](#)Usage notes
  • The flow must be in progress. *
  • @param request StopExecutionRequest
  • @return StopExecutionResponse

func (*Client) StopExecutionWithOptions

func (client *Client) StopExecutionWithOptions(request *StopExecutionRequest, runtime *util.RuntimeOptions) (_result *StopExecutionResponse, _err error)

*

  • ## [](#)Usage notes
  • The flow must be in progress. *
  • @param request StopExecutionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopExecutionResponse

func (*Client) UpdateFlow

func (client *Client) UpdateFlow(request *UpdateFlowRequest) (_result *UpdateFlowResponse, _err error)

func (*Client) UpdateFlowWithOptions

func (client *Client) UpdateFlowWithOptions(request *UpdateFlowRequest, runtime *util.RuntimeOptions) (_result *UpdateFlowResponse, _err error)

func (*Client) UpdateSchedule

func (client *Client) UpdateSchedule(request *UpdateScheduleRequest) (_result *UpdateScheduleResponse, _err error)

func (*Client) UpdateScheduleWithOptions

func (client *Client) UpdateScheduleWithOptions(request *UpdateScheduleRequest, runtime *util.RuntimeOptions) (_result *UpdateScheduleResponse, _err error)

type CreateFlowRequest

type CreateFlowRequest struct {
	// The definition of the flow. The definition must comply with the flow definition language (FDL) syntax. Considering compatibility, the system supports two flow definition specifications.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The execution mode. Valid values: Express and Standard. Considering compatibility, an empty string is equivalent to the Standard execution mode.
	ExecutionMode *string `json:"ExecutionMode,omitempty" xml:"ExecutionMode,omitempty"`
	// The path of the external storage.
	ExternalStorageLocation *string `json:"ExternalStorageLocation,omitempty" xml:"ExternalStorageLocation,omitempty"`
	// The name of the flow. The name is unique within the same region and cannot be modified after the flow is created. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, CloudFlow assumes the role to call API operations of relevant services.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow. Set this parameter to **FDL**.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateFlowRequest) GoString

func (s CreateFlowRequest) GoString() string

func (*CreateFlowRequest) SetDefinition

func (s *CreateFlowRequest) SetDefinition(v string) *CreateFlowRequest

func (*CreateFlowRequest) SetDescription

func (s *CreateFlowRequest) SetDescription(v string) *CreateFlowRequest

func (*CreateFlowRequest) SetExecutionMode added in v2.0.1

func (s *CreateFlowRequest) SetExecutionMode(v string) *CreateFlowRequest

func (*CreateFlowRequest) SetExternalStorageLocation

func (s *CreateFlowRequest) SetExternalStorageLocation(v string) *CreateFlowRequest

func (*CreateFlowRequest) SetName

func (*CreateFlowRequest) SetRoleArn

func (s *CreateFlowRequest) SetRoleArn(v string) *CreateFlowRequest

func (*CreateFlowRequest) SetType

func (CreateFlowRequest) String

func (s CreateFlowRequest) String() string

type CreateFlowResponse

type CreateFlowResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateFlowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateFlowResponse) GoString

func (s CreateFlowResponse) GoString() string

func (*CreateFlowResponse) SetBody

func (*CreateFlowResponse) SetHeaders

func (s *CreateFlowResponse) SetHeaders(v map[string]*string) *CreateFlowResponse

func (*CreateFlowResponse) SetStatusCode

func (s *CreateFlowResponse) SetStatusCode(v int32) *CreateFlowResponse

func (CreateFlowResponse) String

func (s CreateFlowResponse) String() string

type CreateFlowResponseBody

type CreateFlowResponseBody struct {
	// The time when the flow was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// Considering compatibility, the system supports two flow definition specifications.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The execution mode. Valid values: Express and Standard. Considering compatibility, an empty string is equivalent to the Standard execution mode.
	ExecutionMode *string `json:"ExecutionMode,omitempty" xml:"ExecutionMode,omitempty"`
	// The unique ID of the flow.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The time when the flow was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The name of the flow.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The request ID. Each time an `HTTP status code` is returned, Serverless Workflow returns a value for the parameter.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, CloudFlow assumes the role to call API operations of relevant services.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow.
	//
	// Valid value:
	//
	// *   FDL
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateFlowResponseBody) GoString

func (s CreateFlowResponseBody) GoString() string

func (*CreateFlowResponseBody) SetCreatedTime

func (*CreateFlowResponseBody) SetDefinition

func (*CreateFlowResponseBody) SetDescription

func (*CreateFlowResponseBody) SetExecutionMode added in v2.0.1

func (s *CreateFlowResponseBody) SetExecutionMode(v string) *CreateFlowResponseBody

func (*CreateFlowResponseBody) SetId

func (*CreateFlowResponseBody) SetLastModifiedTime

func (s *CreateFlowResponseBody) SetLastModifiedTime(v string) *CreateFlowResponseBody

func (*CreateFlowResponseBody) SetName

func (*CreateFlowResponseBody) SetRequestId

func (*CreateFlowResponseBody) SetRoleArn

func (*CreateFlowResponseBody) SetType

func (CreateFlowResponseBody) String

func (s CreateFlowResponseBody) String() string

type CreateScheduleRequest

type CreateScheduleRequest struct {
	// The CRON expression.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Specifies whether to enable the time-based schedule. Valid values:
	//
	// *   **true**
	// *   **false**
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The name of the flow that is bound to the time-based schedule.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The trigger message of the time-based schedule. Specify the value in the JSON format.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The name of the time-based schedule. Configure this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ScheduleName     *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
	SignatureVersion *string `json:"SignatureVersion,omitempty" xml:"SignatureVersion,omitempty"`
}

func (CreateScheduleRequest) GoString

func (s CreateScheduleRequest) GoString() string

func (*CreateScheduleRequest) SetCronExpression

func (s *CreateScheduleRequest) SetCronExpression(v string) *CreateScheduleRequest

func (*CreateScheduleRequest) SetDescription

func (s *CreateScheduleRequest) SetDescription(v string) *CreateScheduleRequest

func (*CreateScheduleRequest) SetEnable

func (*CreateScheduleRequest) SetFlowName

func (*CreateScheduleRequest) SetPayload

func (*CreateScheduleRequest) SetScheduleName

func (s *CreateScheduleRequest) SetScheduleName(v string) *CreateScheduleRequest

func (*CreateScheduleRequest) SetSignatureVersion added in v2.1.1

func (s *CreateScheduleRequest) SetSignatureVersion(v string) *CreateScheduleRequest

func (CreateScheduleRequest) String

func (s CreateScheduleRequest) String() string

type CreateScheduleResponse

type CreateScheduleResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateScheduleResponse) GoString

func (s CreateScheduleResponse) GoString() string

func (*CreateScheduleResponse) SetBody

func (*CreateScheduleResponse) SetHeaders

func (*CreateScheduleResponse) SetStatusCode

func (CreateScheduleResponse) String

func (s CreateScheduleResponse) String() string

type CreateScheduleResponseBody

type CreateScheduleResponseBody struct {
	// The time when the time-based schedule was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The CRON expression.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the time-based schedule is enabled.
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The time when the time-based schedule was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The trigger message of the time-based schedule.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the time-based schedule.
	ScheduleId *string `json:"ScheduleId,omitempty" xml:"ScheduleId,omitempty"`
	// The name of the time-based schedule.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (CreateScheduleResponseBody) GoString

func (s CreateScheduleResponseBody) GoString() string

func (*CreateScheduleResponseBody) SetCreatedTime

func (*CreateScheduleResponseBody) SetCronExpression

func (*CreateScheduleResponseBody) SetDescription

func (*CreateScheduleResponseBody) SetEnable

func (*CreateScheduleResponseBody) SetLastModifiedTime

func (*CreateScheduleResponseBody) SetPayload

func (*CreateScheduleResponseBody) SetRequestId

func (*CreateScheduleResponseBody) SetScheduleId

func (*CreateScheduleResponseBody) SetScheduleName

func (CreateScheduleResponseBody) String

type DeleteFlowRequest

type DeleteFlowRequest struct {
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (DeleteFlowRequest) GoString

func (s DeleteFlowRequest) GoString() string

func (*DeleteFlowRequest) SetName

func (DeleteFlowRequest) String

func (s DeleteFlowRequest) String() string

type DeleteFlowResponse

type DeleteFlowResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteFlowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteFlowResponse) GoString

func (s DeleteFlowResponse) GoString() string

func (*DeleteFlowResponse) SetBody

func (*DeleteFlowResponse) SetHeaders

func (s *DeleteFlowResponse) SetHeaders(v map[string]*string) *DeleteFlowResponse

func (*DeleteFlowResponse) SetStatusCode

func (s *DeleteFlowResponse) SetStatusCode(v int32) *DeleteFlowResponse

func (DeleteFlowResponse) String

func (s DeleteFlowResponse) String() string

type DeleteFlowResponseBody

type DeleteFlowResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteFlowResponseBody) GoString

func (s DeleteFlowResponseBody) GoString() string

func (*DeleteFlowResponseBody) SetRequestId

func (DeleteFlowResponseBody) String

func (s DeleteFlowResponseBody) String() string

type DeleteScheduleRequest

type DeleteScheduleRequest struct {
	FlowName     *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (DeleteScheduleRequest) GoString

func (s DeleteScheduleRequest) GoString() string

func (*DeleteScheduleRequest) SetFlowName

func (*DeleteScheduleRequest) SetScheduleName

func (s *DeleteScheduleRequest) SetScheduleName(v string) *DeleteScheduleRequest

func (DeleteScheduleRequest) String

func (s DeleteScheduleRequest) String() string

type DeleteScheduleResponse

type DeleteScheduleResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteScheduleResponse) GoString

func (s DeleteScheduleResponse) GoString() string

func (*DeleteScheduleResponse) SetBody

func (*DeleteScheduleResponse) SetHeaders

func (*DeleteScheduleResponse) SetStatusCode

func (DeleteScheduleResponse) String

func (s DeleteScheduleResponse) String() string

type DeleteScheduleResponseBody

type DeleteScheduleResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteScheduleResponseBody) GoString

func (s DeleteScheduleResponseBody) GoString() string

func (*DeleteScheduleResponseBody) SetRequestId

func (DeleteScheduleResponseBody) String

type DescribeExecutionRequest

type DescribeExecutionRequest struct {
	// The name of the execution, which is unique within a flow. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ExecutionName *string `json:"ExecutionName,omitempty" xml:"ExecutionName,omitempty"`
	// The name of the flow. The name is unique within the region and cannot be modified after the flow is created. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The maximum period of time for long polling waits. Valid values: 0 to 60. Unit: seconds. Configure this parameter based on the following rules:
	//
	// *   If the value is 0, the system immediately returns the current execution status.
	// *   If the value is greater than 0, the long polling request waits until the execution ends or the specified period elapses.
	WaitTimeSeconds *int32 `json:"WaitTimeSeconds,omitempty" xml:"WaitTimeSeconds,omitempty"`
}

func (DescribeExecutionRequest) GoString

func (s DescribeExecutionRequest) GoString() string

func (*DescribeExecutionRequest) SetExecutionName

func (*DescribeExecutionRequest) SetFlowName

func (*DescribeExecutionRequest) SetWaitTimeSeconds

func (s *DescribeExecutionRequest) SetWaitTimeSeconds(v int32) *DescribeExecutionRequest

func (DescribeExecutionRequest) String

func (s DescribeExecutionRequest) String() string

type DescribeExecutionResponse

type DescribeExecutionResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeExecutionResponse) GoString

func (s DescribeExecutionResponse) GoString() string

func (*DescribeExecutionResponse) SetBody

func (*DescribeExecutionResponse) SetHeaders

func (*DescribeExecutionResponse) SetStatusCode

func (DescribeExecutionResponse) String

func (s DescribeExecutionResponse) String() string

type DescribeExecutionResponseBody

type DescribeExecutionResponseBody struct {
	// The definition of the flow.
	FlowDefinition *string `json:"FlowDefinition,omitempty" xml:"FlowDefinition,omitempty"`
	// The name of the flow.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
	// The name of the execution.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The execution result, which is in the JSON format.
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the execution started.
	StartedTime *string `json:"StartedTime,omitempty" xml:"StartedTime,omitempty"`
	// The execution status. Valid values:
	//
	// *   **Starting**
	// *   **Running**
	// *   **Stopped**
	// *   **Succeeded**
	// *   **Failed**
	// *   **TimedOut**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the execution stopped.
	StoppedTime *string `json:"StoppedTime,omitempty" xml:"StoppedTime,omitempty"`
}

func (DescribeExecutionResponseBody) GoString

func (*DescribeExecutionResponseBody) SetFlowDefinition

func (*DescribeExecutionResponseBody) SetFlowName

func (*DescribeExecutionResponseBody) SetInput

func (*DescribeExecutionResponseBody) SetName

func (*DescribeExecutionResponseBody) SetOutput

func (*DescribeExecutionResponseBody) SetRequestId

func (*DescribeExecutionResponseBody) SetStartedTime

func (*DescribeExecutionResponseBody) SetStatus

func (*DescribeExecutionResponseBody) SetStoppedTime

func (DescribeExecutionResponseBody) String

type DescribeFlowRequest

type DescribeFlowRequest struct {
	// The name of the flow.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (DescribeFlowRequest) GoString

func (s DescribeFlowRequest) GoString() string

func (*DescribeFlowRequest) SetName

func (DescribeFlowRequest) String

func (s DescribeFlowRequest) String() string

type DescribeFlowResponse

type DescribeFlowResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeFlowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeFlowResponse) GoString

func (s DescribeFlowResponse) GoString() string

func (*DescribeFlowResponse) SetBody

func (*DescribeFlowResponse) SetHeaders

func (s *DescribeFlowResponse) SetHeaders(v map[string]*string) *DescribeFlowResponse

func (*DescribeFlowResponse) SetStatusCode

func (s *DescribeFlowResponse) SetStatusCode(v int32) *DescribeFlowResponse

func (DescribeFlowResponse) String

func (s DescribeFlowResponse) String() string

type DescribeFlowResponseBody

type DescribeFlowResponseBody struct {
	// The time when the flow was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The flow definition, which follows the flow definition language (FDL) syntax standard. Considering compatibility, the system supports the two flow definition specifications.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The execution mode or the enumeration type. Valid values: Express and Standard. A value of Standard indicates an empty string.
	ExecutionMode *string `json:"ExecutionMode,omitempty" xml:"ExecutionMode,omitempty"`
	// The unique ID of the flow.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The time when the flow was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The name of the flow.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, CloudFlow assumes the role to call API operations of relevant services.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow. Valid value: **FDL**.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeFlowResponseBody) GoString

func (s DescribeFlowResponseBody) GoString() string

func (*DescribeFlowResponseBody) SetCreatedTime

func (*DescribeFlowResponseBody) SetDefinition

func (*DescribeFlowResponseBody) SetDescription

func (*DescribeFlowResponseBody) SetExecutionMode added in v2.0.1

func (*DescribeFlowResponseBody) SetId

func (*DescribeFlowResponseBody) SetLastModifiedTime

func (s *DescribeFlowResponseBody) SetLastModifiedTime(v string) *DescribeFlowResponseBody

func (*DescribeFlowResponseBody) SetName

func (*DescribeFlowResponseBody) SetRequestId

func (*DescribeFlowResponseBody) SetRoleArn

func (*DescribeFlowResponseBody) SetType

func (DescribeFlowResponseBody) String

func (s DescribeFlowResponseBody) String() string

type DescribeScheduleRequest

type DescribeScheduleRequest struct {
	// The name of the flow that is associated with the time-based schedule. The name must be unique within the region and cannot be modified after the time-based schedule is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The name of the time-based schedule. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (DescribeScheduleRequest) GoString

func (s DescribeScheduleRequest) GoString() string

func (*DescribeScheduleRequest) SetFlowName

func (*DescribeScheduleRequest) SetScheduleName

func (DescribeScheduleRequest) String

func (s DescribeScheduleRequest) String() string

type DescribeScheduleResponse

type DescribeScheduleResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeScheduleResponse) GoString

func (s DescribeScheduleResponse) GoString() string

func (*DescribeScheduleResponse) SetBody

func (*DescribeScheduleResponse) SetHeaders

func (*DescribeScheduleResponse) SetStatusCode

func (DescribeScheduleResponse) String

func (s DescribeScheduleResponse) String() string

type DescribeScheduleResponseBody

type DescribeScheduleResponseBody struct {
	// The time when the time-based schedule was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The CRON expression.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the time-based schedule is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The time when the time-based schedule was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The trigger message of the time-based schedule.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the time-based schedule.
	ScheduleId *string `json:"ScheduleId,omitempty" xml:"ScheduleId,omitempty"`
	// The name of the time-based schedule.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (DescribeScheduleResponseBody) GoString

func (s DescribeScheduleResponseBody) GoString() string

func (*DescribeScheduleResponseBody) SetCreatedTime

func (*DescribeScheduleResponseBody) SetCronExpression

func (*DescribeScheduleResponseBody) SetDescription

func (*DescribeScheduleResponseBody) SetEnable

func (*DescribeScheduleResponseBody) SetLastModifiedTime

func (*DescribeScheduleResponseBody) SetPayload

func (*DescribeScheduleResponseBody) SetRequestId

func (*DescribeScheduleResponseBody) SetScheduleId

func (*DescribeScheduleResponseBody) SetScheduleName

func (DescribeScheduleResponseBody) String

type GetExecutionHistoryRequest

type GetExecutionHistoryRequest struct {
	// The name of the execution, which is unique within a flow. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ExecutionName *string `json:"ExecutionName,omitempty" xml:"ExecutionName,omitempty"`
	// The name of the flow. The name must be unique within the region and cannot be modified after the flow is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The maximum number of steps to be queried. Valid values: 1 to 1000.
	Limit *int32 `json:"Limit,omitempty" xml:"Limit,omitempty"`
	// The name of the event to start the query. You can obtain the value from the response data.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (GetExecutionHistoryRequest) GoString

func (s GetExecutionHistoryRequest) GoString() string

func (*GetExecutionHistoryRequest) SetExecutionName

func (*GetExecutionHistoryRequest) SetFlowName

func (*GetExecutionHistoryRequest) SetLimit

func (*GetExecutionHistoryRequest) SetNextToken

func (GetExecutionHistoryRequest) String

type GetExecutionHistoryResponse

type GetExecutionHistoryResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetExecutionHistoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetExecutionHistoryResponse) GoString

func (s GetExecutionHistoryResponse) GoString() string

func (*GetExecutionHistoryResponse) SetBody

func (*GetExecutionHistoryResponse) SetHeaders

func (*GetExecutionHistoryResponse) SetStatusCode

func (GetExecutionHistoryResponse) String

type GetExecutionHistoryResponseBody

type GetExecutionHistoryResponseBody struct {
	// The events.
	Events []*GetExecutionHistoryResponseBodyEvents `json:"Events,omitempty" xml:"Events,omitempty" type:"Repeated"`
	// You do not need to specify this parameter for the first request. The returned value of **ScheduleEventId** is used as the token for the next query. No value is returned for the last query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetExecutionHistoryResponseBody) GoString

func (*GetExecutionHistoryResponseBody) SetNextToken

func (*GetExecutionHistoryResponseBody) SetRequestId

func (GetExecutionHistoryResponseBody) String

type GetExecutionHistoryResponseBodyEvents

type GetExecutionHistoryResponseBodyEvents struct {
	// The details about the execution step.
	EventDetail *string `json:"EventDetail,omitempty" xml:"EventDetail,omitempty"`
	// The ID of the execution step.
	EventId *int64 `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The ID of the scheduling step.
	ScheduleEventId *int64 `json:"ScheduleEventId,omitempty" xml:"ScheduleEventId,omitempty"`
	// The name of the execution step.
	StepName *string `json:"StepName,omitempty" xml:"StepName,omitempty"`
	// The time when the event was updated.
	Time *string `json:"Time,omitempty" xml:"Time,omitempty"`
	// The type of the execution step. Valid values:
	//
	// *   **StepEntered**
	// *   **StepStarted**
	// *   **StepSucceeded**
	// *   **StepFailed**
	// *   **StepExited**
	// *   **BranchEntered**
	// *   **BranchExited**
	// *   **IterationEntered**
	// *   **IterationExited**
	// *   **TaskScheduled**
	// *   **TaskStarted**
	// *   **TaskSubmitted**
	// *   **TaskSubmitFailed**
	// *   **TaskSucceeded**
	// *   **TaskFailed**
	// *   **TaskTimedOut**
	// *   **ExecutionStarted**
	// *   **ExecutionStopped**
	// *   **ExecutionSucceeded**
	// *   **ExecutionFailed**
	// *   **ExecutionTimedOut**
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (GetExecutionHistoryResponseBodyEvents) GoString

func (*GetExecutionHistoryResponseBodyEvents) SetEventDetail

func (*GetExecutionHistoryResponseBodyEvents) SetEventId

func (*GetExecutionHistoryResponseBodyEvents) SetScheduleEventId

func (*GetExecutionHistoryResponseBodyEvents) SetStepName

func (*GetExecutionHistoryResponseBodyEvents) SetTime

func (*GetExecutionHistoryResponseBodyEvents) SetType

func (GetExecutionHistoryResponseBodyEvents) String

type ListExecutionsRequest

type ListExecutionsRequest struct {
	// The name prefix of the execution.
	ExecutionNamePrefix *string `json:"ExecutionNamePrefix,omitempty" xml:"ExecutionNamePrefix,omitempty"`
	// The name of the flow. The name must be unique within the region and cannot be modified after the flow is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The maximum number of executions to be queried. Valid values: 1 to 100.
	Limit *int32 `json:"Limit,omitempty" xml:"Limit,omitempty"`
	// The name of the execution to start the query. You can obtain the value from the response data. You do not need to specify this parameter for the first request.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The beginning of the time range to query executions. Specify the value in the UTC RFC3339 format.
	StartedTimeBegin *string `json:"StartedTimeBegin,omitempty" xml:"StartedTimeBegin,omitempty"`
	// The end of the time range to query executions. Specify the value in the UTC RFC3339 format.
	StartedTimeEnd *string `json:"StartedTimeEnd,omitempty" xml:"StartedTimeEnd,omitempty"`
	// The status of the execution that you want to filter. Valid values:
	//
	// *   **Starting**
	// *   **Running**
	// *   **Stopped**
	// *   **Succeeded**
	// *   **Failed**
	// *   **TimedOut**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListExecutionsRequest) GoString

func (s ListExecutionsRequest) GoString() string

func (*ListExecutionsRequest) SetExecutionNamePrefix

func (s *ListExecutionsRequest) SetExecutionNamePrefix(v string) *ListExecutionsRequest

func (*ListExecutionsRequest) SetFlowName

func (*ListExecutionsRequest) SetLimit

func (*ListExecutionsRequest) SetNextToken

func (*ListExecutionsRequest) SetStartedTimeBegin

func (s *ListExecutionsRequest) SetStartedTimeBegin(v string) *ListExecutionsRequest

func (*ListExecutionsRequest) SetStartedTimeEnd

func (s *ListExecutionsRequest) SetStartedTimeEnd(v string) *ListExecutionsRequest

func (*ListExecutionsRequest) SetStatus

func (ListExecutionsRequest) String

func (s ListExecutionsRequest) String() string

type ListExecutionsResponse

type ListExecutionsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListExecutionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListExecutionsResponse) GoString

func (s ListExecutionsResponse) GoString() string

func (*ListExecutionsResponse) SetBody

func (*ListExecutionsResponse) SetHeaders

func (*ListExecutionsResponse) SetStatusCode

func (ListExecutionsResponse) String

func (s ListExecutionsResponse) String() string

type ListExecutionsResponseBody

type ListExecutionsResponseBody struct {
	// The information about executions.
	Executions []*ListExecutionsResponseBodyExecutions `json:"Executions,omitempty" xml:"Executions,omitempty" type:"Repeated"`
	// The start key for the next query. This parameter is not returned if all results have been returned.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListExecutionsResponseBody) GoString

func (s ListExecutionsResponseBody) GoString() string

func (*ListExecutionsResponseBody) SetExecutions

func (*ListExecutionsResponseBody) SetNextToken

func (*ListExecutionsResponseBody) SetRequestId

func (ListExecutionsResponseBody) String

type ListExecutionsResponseBodyExecutions

type ListExecutionsResponseBodyExecutions struct {
	// The definition of the flow.
	FlowDefinition *string `json:"FlowDefinition,omitempty" xml:"FlowDefinition,omitempty"`
	// The name of the flow.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
	// The name of the execution.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The output of the execution, which is in the JSON format
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The time when the execution started.
	StartedTime *string `json:"StartedTime,omitempty" xml:"StartedTime,omitempty"`
	// The status of the execution.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the execution stopped.
	StoppedTime *string `json:"StoppedTime,omitempty" xml:"StoppedTime,omitempty"`
}

func (ListExecutionsResponseBodyExecutions) GoString

func (*ListExecutionsResponseBodyExecutions) SetFlowDefinition

func (*ListExecutionsResponseBodyExecutions) SetFlowName

func (*ListExecutionsResponseBodyExecutions) SetInput

func (*ListExecutionsResponseBodyExecutions) SetName

func (*ListExecutionsResponseBodyExecutions) SetOutput

func (*ListExecutionsResponseBodyExecutions) SetStartedTime

func (*ListExecutionsResponseBodyExecutions) SetStatus

func (*ListExecutionsResponseBodyExecutions) SetStoppedTime

func (ListExecutionsResponseBodyExecutions) String

type ListFlowsRequest

type ListFlowsRequest struct {
	// The number of flows to be queried. Valid values: 1 to 1000.
	Limit *int32 `json:"Limit,omitempty" xml:"Limit,omitempty"`
	// The token to start the query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (ListFlowsRequest) GoString

func (s ListFlowsRequest) GoString() string

func (*ListFlowsRequest) SetLimit

func (s *ListFlowsRequest) SetLimit(v int32) *ListFlowsRequest

func (*ListFlowsRequest) SetNextToken

func (s *ListFlowsRequest) SetNextToken(v string) *ListFlowsRequest

func (ListFlowsRequest) String

func (s ListFlowsRequest) String() string

type ListFlowsResponse

type ListFlowsResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListFlowsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListFlowsResponse) GoString

func (s ListFlowsResponse) GoString() string

func (*ListFlowsResponse) SetBody

func (*ListFlowsResponse) SetHeaders

func (s *ListFlowsResponse) SetHeaders(v map[string]*string) *ListFlowsResponse

func (*ListFlowsResponse) SetStatusCode

func (s *ListFlowsResponse) SetStatusCode(v int32) *ListFlowsResponse

func (ListFlowsResponse) String

func (s ListFlowsResponse) String() string

type ListFlowsResponseBody

type ListFlowsResponseBody struct {
	// The details of flows.
	Flows []*ListFlowsResponseBodyFlows `json:"Flows,omitempty" xml:"Flows,omitempty" type:"Repeated"`
	// The start key for the next query. This parameter is not returned if all results have been returned.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListFlowsResponseBody) GoString

func (s ListFlowsResponseBody) GoString() string

func (*ListFlowsResponseBody) SetFlows

func (*ListFlowsResponseBody) SetNextToken

func (*ListFlowsResponseBody) SetRequestId

func (ListFlowsResponseBody) String

func (s ListFlowsResponseBody) String() string

type ListFlowsResponseBodyFlows

type ListFlowsResponseBodyFlows struct {
	// The time when the flow was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The definition of the flow. The definition must comply with the Flow Definition Language (FDL) syntax.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The execution mode or the enumeration type. Valid values: Express and Standard. A value of Standard indicates an empty string.
	ExecutionMode *string `json:"ExecutionMode,omitempty" xml:"ExecutionMode,omitempty"`
	// The unique ID of the flow.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The time when the flow was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The name of the flow.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the specified Resource Access Management (RAM) role that Serverless Workflow assumes to invoke resources when the flow is executed.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListFlowsResponseBodyFlows) GoString

func (s ListFlowsResponseBodyFlows) GoString() string

func (*ListFlowsResponseBodyFlows) SetCreatedTime

func (*ListFlowsResponseBodyFlows) SetDefinition

func (*ListFlowsResponseBodyFlows) SetDescription

func (*ListFlowsResponseBodyFlows) SetExecutionMode added in v2.0.1

func (*ListFlowsResponseBodyFlows) SetId

func (*ListFlowsResponseBodyFlows) SetLastModifiedTime

func (*ListFlowsResponseBodyFlows) SetName

func (*ListFlowsResponseBodyFlows) SetRoleArn

func (*ListFlowsResponseBodyFlows) SetType

func (ListFlowsResponseBodyFlows) String

type ListSchedulesRequest

type ListSchedulesRequest struct {
	// The name of the flow that is associated with the time-based schedules. The name is unique within the region and cannot be modified after the flow is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The number of schedules to be queried. Valid values: 1 to 1000.
	Limit *int32 `json:"Limit,omitempty" xml:"Limit,omitempty"`
	// For the first query, you do not need to specify this parameter. The system uses the value of the **FlowName** parameter as the value of the **NextToken** parameter. When the query ends, no value is returned for this parameter.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (ListSchedulesRequest) GoString

func (s ListSchedulesRequest) GoString() string

func (*ListSchedulesRequest) SetFlowName

func (*ListSchedulesRequest) SetLimit

func (*ListSchedulesRequest) SetNextToken

func (s *ListSchedulesRequest) SetNextToken(v string) *ListSchedulesRequest

func (ListSchedulesRequest) String

func (s ListSchedulesRequest) String() string

type ListSchedulesResponse

type ListSchedulesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListSchedulesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListSchedulesResponse) GoString

func (s ListSchedulesResponse) GoString() string

func (*ListSchedulesResponse) SetBody

func (*ListSchedulesResponse) SetHeaders

func (*ListSchedulesResponse) SetStatusCode

func (s *ListSchedulesResponse) SetStatusCode(v int32) *ListSchedulesResponse

func (ListSchedulesResponse) String

func (s ListSchedulesResponse) String() string

type ListSchedulesResponseBody

type ListSchedulesResponseBody struct {
	// The token for the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time-based schedules that are queried.
	Schedules []*ListSchedulesResponseBodySchedules `json:"Schedules,omitempty" xml:"Schedules,omitempty" type:"Repeated"`
}

func (ListSchedulesResponseBody) GoString

func (s ListSchedulesResponseBody) GoString() string

func (*ListSchedulesResponseBody) SetNextToken

func (*ListSchedulesResponseBody) SetRequestId

func (*ListSchedulesResponseBody) SetSchedules

func (ListSchedulesResponseBody) String

func (s ListSchedulesResponseBody) String() string

type ListSchedulesResponseBodySchedules

type ListSchedulesResponseBodySchedules struct {
	// The time when the time-based schedule was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The cron expression of the scheduled task.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the time-based schedule is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The time when the time-based schedule was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The trigger message of the time-based schedule.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The ID of the time-based schedule.
	ScheduleId *string `json:"ScheduleId,omitempty" xml:"ScheduleId,omitempty"`
	// The name of the time-based schedule.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (ListSchedulesResponseBodySchedules) GoString

func (*ListSchedulesResponseBodySchedules) SetCreatedTime

func (*ListSchedulesResponseBodySchedules) SetCronExpression

func (*ListSchedulesResponseBodySchedules) SetDescription

func (*ListSchedulesResponseBodySchedules) SetEnable

func (*ListSchedulesResponseBodySchedules) SetLastModifiedTime

func (*ListSchedulesResponseBodySchedules) SetPayload

func (*ListSchedulesResponseBodySchedules) SetScheduleId

func (*ListSchedulesResponseBodySchedules) SetScheduleName

func (ListSchedulesResponseBodySchedules) String

type ReportTaskFailedRequest

type ReportTaskFailedRequest struct {
	// The cause of the failure. The value must be 1 to 4,096 characters in length.
	Cause *string `json:"Cause,omitempty" xml:"Cause,omitempty"`
	// The error code for the failed task. The value must be 1 to 128 characters in length.
	Error *string `json:"Error,omitempty" xml:"Error,omitempty"`
	// The token of the specified task that you want to report. If this parameter appears in **waitforCallback** mode, the parameter is passed to the called service, such as Message Service (MNS) or Function Compute. For MNS, the value of this parameter can be obtained from a message. For Function Compute, the value of this parameter can be obtained from an event.
	TaskToken *string `json:"TaskToken,omitempty" xml:"TaskToken,omitempty"`
}

func (ReportTaskFailedRequest) GoString

func (s ReportTaskFailedRequest) GoString() string

func (*ReportTaskFailedRequest) SetCause

func (*ReportTaskFailedRequest) SetError

func (*ReportTaskFailedRequest) SetTaskToken

func (ReportTaskFailedRequest) String

func (s ReportTaskFailedRequest) String() string

type ReportTaskFailedResponse

type ReportTaskFailedResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReportTaskFailedResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReportTaskFailedResponse) GoString

func (s ReportTaskFailedResponse) GoString() string

func (*ReportTaskFailedResponse) SetBody

func (*ReportTaskFailedResponse) SetHeaders

func (*ReportTaskFailedResponse) SetStatusCode

func (ReportTaskFailedResponse) String

func (s ReportTaskFailedResponse) String() string

type ReportTaskFailedResponseBody

type ReportTaskFailedResponseBody struct {
	// The ID of the event.
	EventId *int64 `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReportTaskFailedResponseBody) GoString

func (s ReportTaskFailedResponseBody) GoString() string

func (*ReportTaskFailedResponseBody) SetEventId

func (*ReportTaskFailedResponseBody) SetRequestId

func (ReportTaskFailedResponseBody) String

type ReportTaskSucceededRequest

type ReportTaskSucceededRequest struct {
	// The output information of the task whose execution success you want to report.
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The token of the task whose execution success you want to report. If this parameter appears in **waitforCallback** mode, the parameter is passed to the called service, such as Message Service (MNS) or Function Compute. For MNS, the value of this parameter can be obtained from the message. For Function Compute, the value of this parameter can be obtained from the event.
	TaskToken *string `json:"TaskToken,omitempty" xml:"TaskToken,omitempty"`
}

func (ReportTaskSucceededRequest) GoString

func (s ReportTaskSucceededRequest) GoString() string

func (*ReportTaskSucceededRequest) SetOutput

func (*ReportTaskSucceededRequest) SetTaskToken

func (ReportTaskSucceededRequest) String

type ReportTaskSucceededResponse

type ReportTaskSucceededResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReportTaskSucceededResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReportTaskSucceededResponse) GoString

func (s ReportTaskSucceededResponse) GoString() string

func (*ReportTaskSucceededResponse) SetBody

func (*ReportTaskSucceededResponse) SetHeaders

func (*ReportTaskSucceededResponse) SetStatusCode

func (ReportTaskSucceededResponse) String

type ReportTaskSucceededResponseBody

type ReportTaskSucceededResponseBody struct {
	// The ID of the event.
	EventId *int64 `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReportTaskSucceededResponseBody) GoString

func (*ReportTaskSucceededResponseBody) SetEventId

func (*ReportTaskSucceededResponseBody) SetRequestId

func (ReportTaskSucceededResponseBody) String

type StartExecutionRequest

type StartExecutionRequest struct {
	// Specifies that the **TaskToken**-related tasks are called back after the execution in the flow ends.
	CallbackFnFTaskToken *string `json:"CallbackFnFTaskToken,omitempty" xml:"CallbackFnFTaskToken,omitempty"`
	// The name of the execution. The execution name is unique within a workflow. Configure this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ExecutionName *string `json:"ExecutionName,omitempty" xml:"ExecutionName,omitempty"`
	// The name of the workflow to be executed. The name is unique within a region and cannot be modified after the workflow is created. Configure this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
}

func (StartExecutionRequest) GoString

func (s StartExecutionRequest) GoString() string

func (*StartExecutionRequest) SetCallbackFnFTaskToken

func (s *StartExecutionRequest) SetCallbackFnFTaskToken(v string) *StartExecutionRequest

func (*StartExecutionRequest) SetExecutionName

func (s *StartExecutionRequest) SetExecutionName(v string) *StartExecutionRequest

func (*StartExecutionRequest) SetFlowName

func (*StartExecutionRequest) SetInput

func (StartExecutionRequest) String

func (s StartExecutionRequest) String() string

type StartExecutionResponse

type StartExecutionResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartExecutionResponse) GoString

func (s StartExecutionResponse) GoString() string

func (*StartExecutionResponse) SetBody

func (*StartExecutionResponse) SetHeaders

func (*StartExecutionResponse) SetStatusCode

func (StartExecutionResponse) String

func (s StartExecutionResponse) String() string

type StartExecutionResponseBody

type StartExecutionResponseBody struct {
	// The definition of the flow.
	FlowDefinition *string `json:"FlowDefinition,omitempty" xml:"FlowDefinition,omitempty"`
	// The name of the workflow.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
	// The name of the execution.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The execution result, which is in the JSON format.
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the execution started.
	StartedTime *string `json:"StartedTime,omitempty" xml:"StartedTime,omitempty"`
	// The execution status. Valid values:
	//
	// *   **Starting**
	// *   **Running**
	// *   **Stopped**
	// *   **Succeeded**
	// *   **Failed**
	// *   **TimedOut**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the execution stopped.
	StoppedTime *string `json:"StoppedTime,omitempty" xml:"StoppedTime,omitempty"`
}

func (StartExecutionResponseBody) GoString

func (s StartExecutionResponseBody) GoString() string

func (*StartExecutionResponseBody) SetFlowDefinition

func (*StartExecutionResponseBody) SetFlowName

func (*StartExecutionResponseBody) SetInput

func (*StartExecutionResponseBody) SetName

func (*StartExecutionResponseBody) SetOutput

func (*StartExecutionResponseBody) SetRequestId

func (*StartExecutionResponseBody) SetStartedTime

func (*StartExecutionResponseBody) SetStatus

func (*StartExecutionResponseBody) SetStoppedTime

func (StartExecutionResponseBody) String

type StartSyncExecutionRequest added in v2.1.0

type StartSyncExecutionRequest struct {
	// The name of the execution that you want to start. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	//
	// Different from the StartExecution operation, in the synchronous execution mode, the execution name is no longer required to be unique within a flow. You can choose to provide an execution name to identify the current execution. In this case, the system adds a UUID to the current execution name. The used format is {ExecutionName}:{UUID}. If you do not specify the execution name, the system automatically generates an execution name.
	ExecutionName *string `json:"ExecutionName,omitempty" xml:"ExecutionName,omitempty"`
	// The name of the flow in which you want to start the execution. The name is unique within the same region and cannot be modified after the flow is created. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
}

func (StartSyncExecutionRequest) GoString added in v2.1.0

func (s StartSyncExecutionRequest) GoString() string

func (*StartSyncExecutionRequest) SetExecutionName added in v2.1.0

func (*StartSyncExecutionRequest) SetFlowName added in v2.1.0

func (*StartSyncExecutionRequest) SetInput added in v2.1.0

func (StartSyncExecutionRequest) String added in v2.1.0

func (s StartSyncExecutionRequest) String() string

type StartSyncExecutionResponse added in v2.1.0

type StartSyncExecutionResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartSyncExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartSyncExecutionResponse) GoString added in v2.1.0

func (s StartSyncExecutionResponse) GoString() string

func (*StartSyncExecutionResponse) SetBody added in v2.1.0

func (*StartSyncExecutionResponse) SetHeaders added in v2.1.0

func (*StartSyncExecutionResponse) SetStatusCode added in v2.1.0

func (StartSyncExecutionResponse) String added in v2.1.0

type StartSyncExecutionResponseBody added in v2.1.0

type StartSyncExecutionResponseBody struct {
	// The error code that is returned if the execution failed.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The error message that indicates the execution timed out.
	ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty"`
	// The name of the flow.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The name of the execution.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The output of the execution, which is in the JSON format.
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the execution started.
	StartedTime *string `json:"StartedTime,omitempty" xml:"StartedTime,omitempty"`
	// The status of the execution. Valid values:
	//
	// *   **Starting**
	// *   **Running**
	// *   **Stopped**
	// *   **Succeeded**
	// *   **Failed**
	// *   **TimedOut**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the execution stopped.
	StoppedTime *string `json:"StoppedTime,omitempty" xml:"StoppedTime,omitempty"`
}

func (StartSyncExecutionResponseBody) GoString added in v2.1.0

func (*StartSyncExecutionResponseBody) SetErrorCode added in v2.1.0

func (*StartSyncExecutionResponseBody) SetErrorMessage added in v2.1.0

func (*StartSyncExecutionResponseBody) SetFlowName added in v2.1.0

func (*StartSyncExecutionResponseBody) SetName added in v2.1.0

func (*StartSyncExecutionResponseBody) SetOutput added in v2.1.0

func (*StartSyncExecutionResponseBody) SetRequestId added in v2.1.0

func (*StartSyncExecutionResponseBody) SetStartedTime added in v2.1.0

func (*StartSyncExecutionResponseBody) SetStatus added in v2.1.0

func (*StartSyncExecutionResponseBody) SetStoppedTime added in v2.1.0

func (StartSyncExecutionResponseBody) String added in v2.1.0

type StopExecutionRequest

type StopExecutionRequest struct {
	// The reason for stopping the execution. The value must be 1 to 4,096 characters in length.
	Cause *string `json:"Cause,omitempty" xml:"Cause,omitempty"`
	// The error for stopping the execution. The value must be 1 to 128 characters in length.
	Error *string `json:"Error,omitempty" xml:"Error,omitempty"`
	// The name of the execution that you want to stop. You can call the **ListExecutions** operation to obtain the value of this parameter. The name is unique in a flow. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ExecutionName *string `json:"ExecutionName,omitempty" xml:"ExecutionName,omitempty"`
	// The name of the flow in which that you want to stop the execution. You can call the **ListFlows** operation to obtain the value of this parameter. The name is unique within the same region and cannot be modified after the flow is created. Set this parameter based on the following rules:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
}

func (StopExecutionRequest) GoString

func (s StopExecutionRequest) GoString() string

func (*StopExecutionRequest) SetCause

func (*StopExecutionRequest) SetError

func (*StopExecutionRequest) SetExecutionName

func (s *StopExecutionRequest) SetExecutionName(v string) *StopExecutionRequest

func (*StopExecutionRequest) SetFlowName

func (StopExecutionRequest) String

func (s StopExecutionRequest) String() string

type StopExecutionResponse

type StopExecutionResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StopExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StopExecutionResponse) GoString

func (s StopExecutionResponse) GoString() string

func (*StopExecutionResponse) SetBody

func (*StopExecutionResponse) SetHeaders

func (*StopExecutionResponse) SetStatusCode

func (s *StopExecutionResponse) SetStatusCode(v int32) *StopExecutionResponse

func (StopExecutionResponse) String

func (s StopExecutionResponse) String() string

type StopExecutionResponseBody

type StopExecutionResponseBody struct {
	// The definition of the flow.
	FlowDefinition *string `json:"FlowDefinition,omitempty" xml:"FlowDefinition,omitempty"`
	// The name of the flow.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The input of the execution, which is in the JSON format.
	Input *string `json:"Input,omitempty" xml:"Input,omitempty"`
	// The name of the execution.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The execution result, which is in the JSON format.
	Output *string `json:"Output,omitempty" xml:"Output,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the execution started.
	StartedTime *string `json:"StartedTime,omitempty" xml:"StartedTime,omitempty"`
	// The execution status. Valid values:
	//
	// *   **Starting**
	// *   **Running**
	// *   **Stopped**
	// *   **Succeeded**
	// *   **Failed**
	// *   **TimedOut**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the execution stopped.
	StoppedTime *string `json:"StoppedTime,omitempty" xml:"StoppedTime,omitempty"`
}

func (StopExecutionResponseBody) GoString

func (s StopExecutionResponseBody) GoString() string

func (*StopExecutionResponseBody) SetFlowDefinition

func (*StopExecutionResponseBody) SetFlowName

func (*StopExecutionResponseBody) SetInput

func (*StopExecutionResponseBody) SetName

func (*StopExecutionResponseBody) SetOutput

func (*StopExecutionResponseBody) SetRequestId

func (*StopExecutionResponseBody) SetStartedTime

func (*StopExecutionResponseBody) SetStatus

func (*StopExecutionResponseBody) SetStoppedTime

func (StopExecutionResponseBody) String

func (s StopExecutionResponseBody) String() string

type UpdateFlowRequest

type UpdateFlowRequest struct {
	// The flow definition, which follows the flow definition language (FDL) syntax standard. Considering compatibility, the system supports the two flow definition specifications.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the flow. The name must be unique within the region and cannot be modified after the flow is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, the flow execution engine assumes the role to call API operations of relevant services.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow. Valid value: **FDL**.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateFlowRequest) GoString

func (s UpdateFlowRequest) GoString() string

func (*UpdateFlowRequest) SetDefinition

func (s *UpdateFlowRequest) SetDefinition(v string) *UpdateFlowRequest

func (*UpdateFlowRequest) SetDescription

func (s *UpdateFlowRequest) SetDescription(v string) *UpdateFlowRequest

func (*UpdateFlowRequest) SetName

func (*UpdateFlowRequest) SetRoleArn

func (s *UpdateFlowRequest) SetRoleArn(v string) *UpdateFlowRequest

func (*UpdateFlowRequest) SetType

func (UpdateFlowRequest) String

func (s UpdateFlowRequest) String() string

type UpdateFlowResponse

type UpdateFlowResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateFlowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateFlowResponse) GoString

func (s UpdateFlowResponse) GoString() string

func (*UpdateFlowResponse) SetBody

func (*UpdateFlowResponse) SetHeaders

func (s *UpdateFlowResponse) SetHeaders(v map[string]*string) *UpdateFlowResponse

func (*UpdateFlowResponse) SetStatusCode

func (s *UpdateFlowResponse) SetStatusCode(v int32) *UpdateFlowResponse

func (UpdateFlowResponse) String

func (s UpdateFlowResponse) String() string

type UpdateFlowResponseBody

type UpdateFlowResponseBody struct {
	// The time when the flow was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The flow definition, which follows the FDL syntax standard. Considering compatibility, the system supports the two flow definition specifications.
	Definition *string `json:"Definition,omitempty" xml:"Definition,omitempty"`
	// The description of the flow.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The path of the external storage.
	ExternalStorageLocation *string `json:"ExternalStorageLocation,omitempty" xml:"ExternalStorageLocation,omitempty"`
	// The unique ID of the flow.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The time when the flow was last modified.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The name of the flow.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, the flow execution engine assumes the role to call API operations of relevant services.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The type of the flow.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateFlowResponseBody) GoString

func (s UpdateFlowResponseBody) GoString() string

func (*UpdateFlowResponseBody) SetCreatedTime

func (*UpdateFlowResponseBody) SetDefinition

func (*UpdateFlowResponseBody) SetDescription

func (*UpdateFlowResponseBody) SetExternalStorageLocation

func (s *UpdateFlowResponseBody) SetExternalStorageLocation(v string) *UpdateFlowResponseBody

func (*UpdateFlowResponseBody) SetId

func (*UpdateFlowResponseBody) SetLastModifiedTime

func (s *UpdateFlowResponseBody) SetLastModifiedTime(v string) *UpdateFlowResponseBody

func (*UpdateFlowResponseBody) SetName

func (*UpdateFlowResponseBody) SetRequestId

func (*UpdateFlowResponseBody) SetRoleArn

func (*UpdateFlowResponseBody) SetType

func (UpdateFlowResponseBody) String

func (s UpdateFlowResponseBody) String() string

type UpdateScheduleRequest

type UpdateScheduleRequest struct {
	// The CRON expression.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Specifies whether to enable the time-based schedule. Valid values:
	//
	// *   **true**
	// *   **false**
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The name of the flow that is associated with the time-based schedule. The name must be unique within the region and cannot be modified after the time-based schedule is created. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	FlowName *string `json:"FlowName,omitempty" xml:"FlowName,omitempty"`
	// The trigger message of the time-based schedule. It must be in the JSON format.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The name of the time-based schedule. The name must meet the following conventions:
	//
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The name must start with a letter or an underscore (\_).
	// *   The name is case-sensitive.
	// *   The name must be 1 to 128 characters in length.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (UpdateScheduleRequest) GoString

func (s UpdateScheduleRequest) GoString() string

func (*UpdateScheduleRequest) SetCronExpression

func (s *UpdateScheduleRequest) SetCronExpression(v string) *UpdateScheduleRequest

func (*UpdateScheduleRequest) SetDescription

func (s *UpdateScheduleRequest) SetDescription(v string) *UpdateScheduleRequest

func (*UpdateScheduleRequest) SetEnable

func (*UpdateScheduleRequest) SetFlowName

func (*UpdateScheduleRequest) SetPayload

func (*UpdateScheduleRequest) SetScheduleName

func (s *UpdateScheduleRequest) SetScheduleName(v string) *UpdateScheduleRequest

func (UpdateScheduleRequest) String

func (s UpdateScheduleRequest) String() string

type UpdateScheduleResponse

type UpdateScheduleResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateScheduleResponse) GoString

func (s UpdateScheduleResponse) GoString() string

func (*UpdateScheduleResponse) SetBody

func (*UpdateScheduleResponse) SetHeaders

func (*UpdateScheduleResponse) SetStatusCode

func (UpdateScheduleResponse) String

func (s UpdateScheduleResponse) String() string

type UpdateScheduleResponseBody

type UpdateScheduleResponseBody struct {
	// The time when the time-based schedule was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The CRON expression.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
	// The description of the time-based schedule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the time-based schedule is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"`
	// The time when the time-based schedule was last updated.
	LastModifiedTime *string `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"`
	// The trigger message of the time-based schedule.
	Payload *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the time-based schedule.
	ScheduleId *string `json:"ScheduleId,omitempty" xml:"ScheduleId,omitempty"`
	// The name of the time-based schedule.
	ScheduleName *string `json:"ScheduleName,omitempty" xml:"ScheduleName,omitempty"`
}

func (UpdateScheduleResponseBody) GoString

func (s UpdateScheduleResponseBody) GoString() string

func (*UpdateScheduleResponseBody) SetCreatedTime

func (*UpdateScheduleResponseBody) SetCronExpression

func (*UpdateScheduleResponseBody) SetDescription

func (*UpdateScheduleResponseBody) SetEnable

func (*UpdateScheduleResponseBody) SetLastModifiedTime

func (*UpdateScheduleResponseBody) SetPayload

func (*UpdateScheduleResponseBody) SetRequestId

func (*UpdateScheduleResponseBody) SetScheduleId

func (*UpdateScheduleResponseBody) SetScheduleName

func (UpdateScheduleResponseBody) String

Jump to

Keyboard shortcuts

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