Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CreateFlow(request *CreateFlowRequest) (response *CreateFlowResponse, err error)
- func (client *Client) CreateFlowWithCallback(request *CreateFlowRequest, ...) <-chan int
- func (client *Client) CreateFlowWithChan(request *CreateFlowRequest) (<-chan *CreateFlowResponse, <-chan error)
- func (client *Client) CreateSchedule(request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
- func (client *Client) CreateScheduleWithCallback(request *CreateScheduleRequest, ...) <-chan int
- func (client *Client) CreateScheduleWithChan(request *CreateScheduleRequest) (<-chan *CreateScheduleResponse, <-chan error)
- func (client *Client) DeleteFlow(request *DeleteFlowRequest) (response *DeleteFlowResponse, err error)
- func (client *Client) DeleteFlowWithCallback(request *DeleteFlowRequest, ...) <-chan int
- func (client *Client) DeleteFlowWithChan(request *DeleteFlowRequest) (<-chan *DeleteFlowResponse, <-chan error)
- func (client *Client) DeleteSchedule(request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
- func (client *Client) DeleteScheduleWithCallback(request *DeleteScheduleRequest, ...) <-chan int
- func (client *Client) DeleteScheduleWithChan(request *DeleteScheduleRequest) (<-chan *DeleteScheduleResponse, <-chan error)
- func (client *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
- func (client *Client) DescribeExecutionWithCallback(request *DescribeExecutionRequest, ...) <-chan int
- func (client *Client) DescribeExecutionWithChan(request *DescribeExecutionRequest) (<-chan *DescribeExecutionResponse, <-chan error)
- func (client *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
- func (client *Client) DescribeFlowWithCallback(request *DescribeFlowRequest, ...) <-chan int
- func (client *Client) DescribeFlowWithChan(request *DescribeFlowRequest) (<-chan *DescribeFlowResponse, <-chan error)
- func (client *Client) DescribeSchedule(request *DescribeScheduleRequest) (response *DescribeScheduleResponse, err error)
- func (client *Client) DescribeScheduleWithCallback(request *DescribeScheduleRequest, ...) <-chan int
- func (client *Client) DescribeScheduleWithChan(request *DescribeScheduleRequest) (<-chan *DescribeScheduleResponse, <-chan error)
- func (client *Client) GetExecutionHistory(request *GetExecutionHistoryRequest) (response *GetExecutionHistoryResponse, err error)
- func (client *Client) GetExecutionHistoryWithCallback(request *GetExecutionHistoryRequest, ...) <-chan int
- func (client *Client) GetExecutionHistoryWithChan(request *GetExecutionHistoryRequest) (<-chan *GetExecutionHistoryResponse, <-chan error)
- func (client *Client) ListExecutions(request *ListExecutionsRequest) (response *ListExecutionsResponse, err error)
- func (client *Client) ListExecutionsWithCallback(request *ListExecutionsRequest, ...) <-chan int
- func (client *Client) ListExecutionsWithChan(request *ListExecutionsRequest) (<-chan *ListExecutionsResponse, <-chan error)
- func (client *Client) ListFlows(request *ListFlowsRequest) (response *ListFlowsResponse, err error)
- func (client *Client) ListFlowsWithCallback(request *ListFlowsRequest, ...) <-chan int
- func (client *Client) ListFlowsWithChan(request *ListFlowsRequest) (<-chan *ListFlowsResponse, <-chan error)
- func (client *Client) ListSchedules(request *ListSchedulesRequest) (response *ListSchedulesResponse, err error)
- func (client *Client) ListSchedulesWithCallback(request *ListSchedulesRequest, ...) <-chan int
- func (client *Client) ListSchedulesWithChan(request *ListSchedulesRequest) (<-chan *ListSchedulesResponse, <-chan error)
- func (client *Client) ReportTaskFailed(request *ReportTaskFailedRequest) (response *ReportTaskFailedResponse, err error)
- func (client *Client) ReportTaskFailedWithCallback(request *ReportTaskFailedRequest, ...) <-chan int
- func (client *Client) ReportTaskFailedWithChan(request *ReportTaskFailedRequest) (<-chan *ReportTaskFailedResponse, <-chan error)
- func (client *Client) ReportTaskSucceeded(request *ReportTaskSucceededRequest) (response *ReportTaskSucceededResponse, err error)
- func (client *Client) ReportTaskSucceededWithCallback(request *ReportTaskSucceededRequest, ...) <-chan int
- func (client *Client) ReportTaskSucceededWithChan(request *ReportTaskSucceededRequest) (<-chan *ReportTaskSucceededResponse, <-chan error)
- func (client *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
- func (client *Client) StartExecutionWithCallback(request *StartExecutionRequest, ...) <-chan int
- func (client *Client) StartExecutionWithChan(request *StartExecutionRequest) (<-chan *StartExecutionResponse, <-chan error)
- func (client *Client) StartSyncExecution(request *StartSyncExecutionRequest) (response *StartSyncExecutionResponse, err error)
- func (client *Client) StartSyncExecutionWithCallback(request *StartSyncExecutionRequest, ...) <-chan int
- func (client *Client) StartSyncExecutionWithChan(request *StartSyncExecutionRequest) (<-chan *StartSyncExecutionResponse, <-chan error)
- func (client *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
- func (client *Client) StopExecutionWithCallback(request *StopExecutionRequest, ...) <-chan int
- func (client *Client) StopExecutionWithChan(request *StopExecutionRequest) (<-chan *StopExecutionResponse, <-chan error)
- func (client *Client) UpdateFlow(request *UpdateFlowRequest) (response *UpdateFlowResponse, err error)
- func (client *Client) UpdateFlowWithCallback(request *UpdateFlowRequest, ...) <-chan int
- func (client *Client) UpdateFlowWithChan(request *UpdateFlowRequest) (<-chan *UpdateFlowResponse, <-chan error)
- func (client *Client) UpdateSchedule(request *UpdateScheduleRequest) (response *UpdateScheduleResponse, err error)
- func (client *Client) UpdateScheduleWithCallback(request *UpdateScheduleRequest, ...) <-chan int
- func (client *Client) UpdateScheduleWithChan(request *UpdateScheduleRequest) (<-chan *UpdateScheduleResponse, <-chan error)
- type CreateFlowRequest
- type CreateFlowResponse
- type CreateScheduleRequest
- type CreateScheduleResponse
- type DeleteFlowRequest
- type DeleteFlowResponse
- type DeleteScheduleRequest
- type DeleteScheduleResponse
- type DescribeExecutionRequest
- type DescribeExecutionResponse
- type DescribeFlowRequest
- type DescribeFlowResponse
- type DescribeScheduleRequest
- type DescribeScheduleResponse
- type Events
- type EventsItem
- type Executions
- type ExecutionsItem
- type Flows
- type FlowsItem
- type GetExecutionHistoryRequest
- type GetExecutionHistoryResponse
- type ListExecutionsRequest
- type ListExecutionsResponse
- type ListFlowsRequest
- type ListFlowsResponse
- type ListSchedulesRequest
- type ListSchedulesResponse
- type ReportTaskFailedRequest
- type ReportTaskFailedResponse
- type ReportTaskSucceededRequest
- type ReportTaskSucceededResponse
- type Schedules
- type SchedulesItem
- type StartExecutionRequest
- type StartExecutionResponse
- type StartSyncExecutionRequest
- type StartSyncExecutionResponse
- type StopExecutionRequest
- type StopExecutionResponse
- type UpdateFlowRequest
- type UpdateFlowResponse
- type UpdateScheduleRequest
- type UpdateScheduleResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func GetEndpointMap ¶ added in v1.60.378
GetEndpointMap Get Endpoint Data Map
func GetEndpointType ¶ added in v1.60.378
func GetEndpointType() string
GetEndpointType Get Endpoint Type Value
func SetClientProperty ¶ added in v1.60.378
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶ added in v1.60.378
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) CreateFlow ¶
func (client *Client) CreateFlow(request *CreateFlowRequest) (response *CreateFlowResponse, err error)
CreateFlow invokes the fnf.CreateFlow API synchronously
func (*Client) CreateFlowWithCallback ¶
func (client *Client) CreateFlowWithCallback(request *CreateFlowRequest, callback func(response *CreateFlowResponse, err error)) <-chan int
CreateFlowWithCallback invokes the fnf.CreateFlow API asynchronously
func (*Client) CreateFlowWithChan ¶
func (client *Client) CreateFlowWithChan(request *CreateFlowRequest) (<-chan *CreateFlowResponse, <-chan error)
CreateFlowWithChan invokes the fnf.CreateFlow API asynchronously
func (*Client) CreateSchedule ¶ added in v1.61.212
func (client *Client) CreateSchedule(request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
CreateSchedule invokes the fnf.CreateSchedule API synchronously
func (*Client) CreateScheduleWithCallback ¶ added in v1.61.212
func (client *Client) CreateScheduleWithCallback(request *CreateScheduleRequest, callback func(response *CreateScheduleResponse, err error)) <-chan int
CreateScheduleWithCallback invokes the fnf.CreateSchedule API asynchronously
func (*Client) CreateScheduleWithChan ¶ added in v1.61.212
func (client *Client) CreateScheduleWithChan(request *CreateScheduleRequest) (<-chan *CreateScheduleResponse, <-chan error)
CreateScheduleWithChan invokes the fnf.CreateSchedule API asynchronously
func (*Client) DeleteFlow ¶
func (client *Client) DeleteFlow(request *DeleteFlowRequest) (response *DeleteFlowResponse, err error)
DeleteFlow invokes the fnf.DeleteFlow API synchronously
func (*Client) DeleteFlowWithCallback ¶
func (client *Client) DeleteFlowWithCallback(request *DeleteFlowRequest, callback func(response *DeleteFlowResponse, err error)) <-chan int
DeleteFlowWithCallback invokes the fnf.DeleteFlow API asynchronously
func (*Client) DeleteFlowWithChan ¶
func (client *Client) DeleteFlowWithChan(request *DeleteFlowRequest) (<-chan *DeleteFlowResponse, <-chan error)
DeleteFlowWithChan invokes the fnf.DeleteFlow API asynchronously
func (*Client) DeleteSchedule ¶ added in v1.61.212
func (client *Client) DeleteSchedule(request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
DeleteSchedule invokes the fnf.DeleteSchedule API synchronously
func (*Client) DeleteScheduleWithCallback ¶ added in v1.61.212
func (client *Client) DeleteScheduleWithCallback(request *DeleteScheduleRequest, callback func(response *DeleteScheduleResponse, err error)) <-chan int
DeleteScheduleWithCallback invokes the fnf.DeleteSchedule API asynchronously
func (*Client) DeleteScheduleWithChan ¶ added in v1.61.212
func (client *Client) DeleteScheduleWithChan(request *DeleteScheduleRequest) (<-chan *DeleteScheduleResponse, <-chan error)
DeleteScheduleWithChan invokes the fnf.DeleteSchedule API asynchronously
func (*Client) DescribeExecution ¶
func (client *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
DescribeExecution invokes the fnf.DescribeExecution API synchronously
func (*Client) DescribeExecutionWithCallback ¶
func (client *Client) DescribeExecutionWithCallback(request *DescribeExecutionRequest, callback func(response *DescribeExecutionResponse, err error)) <-chan int
DescribeExecutionWithCallback invokes the fnf.DescribeExecution API asynchronously
func (*Client) DescribeExecutionWithChan ¶
func (client *Client) DescribeExecutionWithChan(request *DescribeExecutionRequest) (<-chan *DescribeExecutionResponse, <-chan error)
DescribeExecutionWithChan invokes the fnf.DescribeExecution API asynchronously
func (*Client) DescribeFlow ¶
func (client *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
DescribeFlow invokes the fnf.DescribeFlow API synchronously
func (*Client) DescribeFlowWithCallback ¶
func (client *Client) DescribeFlowWithCallback(request *DescribeFlowRequest, callback func(response *DescribeFlowResponse, err error)) <-chan int
DescribeFlowWithCallback invokes the fnf.DescribeFlow API asynchronously
func (*Client) DescribeFlowWithChan ¶
func (client *Client) DescribeFlowWithChan(request *DescribeFlowRequest) (<-chan *DescribeFlowResponse, <-chan error)
DescribeFlowWithChan invokes the fnf.DescribeFlow API asynchronously
func (*Client) DescribeSchedule ¶ added in v1.61.212
func (client *Client) DescribeSchedule(request *DescribeScheduleRequest) (response *DescribeScheduleResponse, err error)
DescribeSchedule invokes the fnf.DescribeSchedule API synchronously
func (*Client) DescribeScheduleWithCallback ¶ added in v1.61.212
func (client *Client) DescribeScheduleWithCallback(request *DescribeScheduleRequest, callback func(response *DescribeScheduleResponse, err error)) <-chan int
DescribeScheduleWithCallback invokes the fnf.DescribeSchedule API asynchronously
func (*Client) DescribeScheduleWithChan ¶ added in v1.61.212
func (client *Client) DescribeScheduleWithChan(request *DescribeScheduleRequest) (<-chan *DescribeScheduleResponse, <-chan error)
DescribeScheduleWithChan invokes the fnf.DescribeSchedule API asynchronously
func (*Client) GetExecutionHistory ¶
func (client *Client) GetExecutionHistory(request *GetExecutionHistoryRequest) (response *GetExecutionHistoryResponse, err error)
GetExecutionHistory invokes the fnf.GetExecutionHistory API synchronously
func (*Client) GetExecutionHistoryWithCallback ¶
func (client *Client) GetExecutionHistoryWithCallback(request *GetExecutionHistoryRequest, callback func(response *GetExecutionHistoryResponse, err error)) <-chan int
GetExecutionHistoryWithCallback invokes the fnf.GetExecutionHistory API asynchronously
func (*Client) GetExecutionHistoryWithChan ¶
func (client *Client) GetExecutionHistoryWithChan(request *GetExecutionHistoryRequest) (<-chan *GetExecutionHistoryResponse, <-chan error)
GetExecutionHistoryWithChan invokes the fnf.GetExecutionHistory API asynchronously
func (*Client) ListExecutions ¶
func (client *Client) ListExecutions(request *ListExecutionsRequest) (response *ListExecutionsResponse, err error)
ListExecutions invokes the fnf.ListExecutions API synchronously
func (*Client) ListExecutionsWithCallback ¶
func (client *Client) ListExecutionsWithCallback(request *ListExecutionsRequest, callback func(response *ListExecutionsResponse, err error)) <-chan int
ListExecutionsWithCallback invokes the fnf.ListExecutions API asynchronously
func (*Client) ListExecutionsWithChan ¶
func (client *Client) ListExecutionsWithChan(request *ListExecutionsRequest) (<-chan *ListExecutionsResponse, <-chan error)
ListExecutionsWithChan invokes the fnf.ListExecutions API asynchronously
func (*Client) ListFlows ¶
func (client *Client) ListFlows(request *ListFlowsRequest) (response *ListFlowsResponse, err error)
ListFlows invokes the fnf.ListFlows API synchronously
func (*Client) ListFlowsWithCallback ¶
func (client *Client) ListFlowsWithCallback(request *ListFlowsRequest, callback func(response *ListFlowsResponse, err error)) <-chan int
ListFlowsWithCallback invokes the fnf.ListFlows API asynchronously
func (*Client) ListFlowsWithChan ¶
func (client *Client) ListFlowsWithChan(request *ListFlowsRequest) (<-chan *ListFlowsResponse, <-chan error)
ListFlowsWithChan invokes the fnf.ListFlows API asynchronously
func (*Client) ListSchedules ¶ added in v1.61.212
func (client *Client) ListSchedules(request *ListSchedulesRequest) (response *ListSchedulesResponse, err error)
ListSchedules invokes the fnf.ListSchedules API synchronously
func (*Client) ListSchedulesWithCallback ¶ added in v1.61.212
func (client *Client) ListSchedulesWithCallback(request *ListSchedulesRequest, callback func(response *ListSchedulesResponse, err error)) <-chan int
ListSchedulesWithCallback invokes the fnf.ListSchedules API asynchronously
func (*Client) ListSchedulesWithChan ¶ added in v1.61.212
func (client *Client) ListSchedulesWithChan(request *ListSchedulesRequest) (<-chan *ListSchedulesResponse, <-chan error)
ListSchedulesWithChan invokes the fnf.ListSchedules API asynchronously
func (*Client) ReportTaskFailed ¶
func (client *Client) ReportTaskFailed(request *ReportTaskFailedRequest) (response *ReportTaskFailedResponse, err error)
ReportTaskFailed invokes the fnf.ReportTaskFailed API synchronously
func (*Client) ReportTaskFailedWithCallback ¶
func (client *Client) ReportTaskFailedWithCallback(request *ReportTaskFailedRequest, callback func(response *ReportTaskFailedResponse, err error)) <-chan int
ReportTaskFailedWithCallback invokes the fnf.ReportTaskFailed API asynchronously
func (*Client) ReportTaskFailedWithChan ¶
func (client *Client) ReportTaskFailedWithChan(request *ReportTaskFailedRequest) (<-chan *ReportTaskFailedResponse, <-chan error)
ReportTaskFailedWithChan invokes the fnf.ReportTaskFailed API asynchronously
func (*Client) ReportTaskSucceeded ¶
func (client *Client) ReportTaskSucceeded(request *ReportTaskSucceededRequest) (response *ReportTaskSucceededResponse, err error)
ReportTaskSucceeded invokes the fnf.ReportTaskSucceeded API synchronously
func (*Client) ReportTaskSucceededWithCallback ¶
func (client *Client) ReportTaskSucceededWithCallback(request *ReportTaskSucceededRequest, callback func(response *ReportTaskSucceededResponse, err error)) <-chan int
ReportTaskSucceededWithCallback invokes the fnf.ReportTaskSucceeded API asynchronously
func (*Client) ReportTaskSucceededWithChan ¶
func (client *Client) ReportTaskSucceededWithChan(request *ReportTaskSucceededRequest) (<-chan *ReportTaskSucceededResponse, <-chan error)
ReportTaskSucceededWithChan invokes the fnf.ReportTaskSucceeded API asynchronously
func (*Client) StartExecution ¶
func (client *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
StartExecution invokes the fnf.StartExecution API synchronously
func (*Client) StartExecutionWithCallback ¶
func (client *Client) StartExecutionWithCallback(request *StartExecutionRequest, callback func(response *StartExecutionResponse, err error)) <-chan int
StartExecutionWithCallback invokes the fnf.StartExecution API asynchronously
func (*Client) StartExecutionWithChan ¶
func (client *Client) StartExecutionWithChan(request *StartExecutionRequest) (<-chan *StartExecutionResponse, <-chan error)
StartExecutionWithChan invokes the fnf.StartExecution API asynchronously
func (*Client) StartSyncExecution ¶ added in v1.62.591
func (client *Client) StartSyncExecution(request *StartSyncExecutionRequest) (response *StartSyncExecutionResponse, err error)
StartSyncExecution invokes the fnf.StartSyncExecution API synchronously
func (*Client) StartSyncExecutionWithCallback ¶ added in v1.62.591
func (client *Client) StartSyncExecutionWithCallback(request *StartSyncExecutionRequest, callback func(response *StartSyncExecutionResponse, err error)) <-chan int
StartSyncExecutionWithCallback invokes the fnf.StartSyncExecution API asynchronously
func (*Client) StartSyncExecutionWithChan ¶ added in v1.62.591
func (client *Client) StartSyncExecutionWithChan(request *StartSyncExecutionRequest) (<-chan *StartSyncExecutionResponse, <-chan error)
StartSyncExecutionWithChan invokes the fnf.StartSyncExecution API asynchronously
func (*Client) StopExecution ¶
func (client *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
StopExecution invokes the fnf.StopExecution API synchronously
func (*Client) StopExecutionWithCallback ¶
func (client *Client) StopExecutionWithCallback(request *StopExecutionRequest, callback func(response *StopExecutionResponse, err error)) <-chan int
StopExecutionWithCallback invokes the fnf.StopExecution API asynchronously
func (*Client) StopExecutionWithChan ¶
func (client *Client) StopExecutionWithChan(request *StopExecutionRequest) (<-chan *StopExecutionResponse, <-chan error)
StopExecutionWithChan invokes the fnf.StopExecution API asynchronously
func (*Client) UpdateFlow ¶
func (client *Client) UpdateFlow(request *UpdateFlowRequest) (response *UpdateFlowResponse, err error)
UpdateFlow invokes the fnf.UpdateFlow API synchronously
func (*Client) UpdateFlowWithCallback ¶
func (client *Client) UpdateFlowWithCallback(request *UpdateFlowRequest, callback func(response *UpdateFlowResponse, err error)) <-chan int
UpdateFlowWithCallback invokes the fnf.UpdateFlow API asynchronously
func (*Client) UpdateFlowWithChan ¶
func (client *Client) UpdateFlowWithChan(request *UpdateFlowRequest) (<-chan *UpdateFlowResponse, <-chan error)
UpdateFlowWithChan invokes the fnf.UpdateFlow API asynchronously
func (*Client) UpdateSchedule ¶ added in v1.61.212
func (client *Client) UpdateSchedule(request *UpdateScheduleRequest) (response *UpdateScheduleResponse, err error)
UpdateSchedule invokes the fnf.UpdateSchedule API synchronously
func (*Client) UpdateScheduleWithCallback ¶ added in v1.61.212
func (client *Client) UpdateScheduleWithCallback(request *UpdateScheduleRequest, callback func(response *UpdateScheduleResponse, err error)) <-chan int
UpdateScheduleWithCallback invokes the fnf.UpdateSchedule API asynchronously
func (*Client) UpdateScheduleWithChan ¶ added in v1.61.212
func (client *Client) UpdateScheduleWithChan(request *UpdateScheduleRequest) (<-chan *UpdateScheduleResponse, <-chan error)
UpdateScheduleWithChan invokes the fnf.UpdateSchedule API asynchronously
type CreateFlowRequest ¶
type CreateFlowRequest struct { *requests.RpcRequest Description string `position:"Body" name:"Description"` Type string `position:"Body" name:"Type"` RequestId string `position:"Query" name:"RequestId"` RoleArn string `position:"Body" name:"RoleArn"` Name string `position:"Body" name:"Name"` Definition string `position:"Body" name:"Definition"` ExternalStorageLocation string `position:"Body" name:"ExternalStorageLocation"` ExecutionMode string `position:"Body" name:"ExecutionMode"` }
CreateFlowRequest is the request struct for api CreateFlow
func CreateCreateFlowRequest ¶
func CreateCreateFlowRequest() (request *CreateFlowRequest)
CreateCreateFlowRequest creates a request to invoke CreateFlow API
type CreateFlowResponse ¶
type CreateFlowResponse struct { *responses.BaseResponse Type string `json:"Type" xml:"Type"` Definition string `json:"Definition" xml:"Definition"` RoleArn string `json:"RoleArn" xml:"RoleArn"` RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ExternalStorageLocation string `json:"ExternalStorageLocation" xml:"ExternalStorageLocation"` Name string `json:"Name" xml:"Name"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` Id string `json:"Id" xml:"Id"` ExecutionMode string `json:"ExecutionMode" xml:"ExecutionMode"` }
CreateFlowResponse is the response struct for api CreateFlow
func CreateCreateFlowResponse ¶
func CreateCreateFlowResponse() (response *CreateFlowResponse)
CreateCreateFlowResponse creates a response to parse from CreateFlow response
type CreateScheduleRequest ¶ added in v1.61.212
type CreateScheduleRequest struct { *requests.RpcRequest ScheduleName string `position:"Body" name:"ScheduleName"` CronExpression string `position:"Body" name:"CronExpression"` Payload string `position:"Body" name:"Payload"` RequestId string `position:"Query" name:"RequestId"` Enable requests.Boolean `position:"Body" name:"Enable"` Description string `position:"Body" name:"Description"` FlowName string `position:"Body" name:"FlowName"` }
CreateScheduleRequest is the request struct for api CreateSchedule
func CreateCreateScheduleRequest ¶ added in v1.61.212
func CreateCreateScheduleRequest() (request *CreateScheduleRequest)
CreateCreateScheduleRequest creates a request to invoke CreateSchedule API
type CreateScheduleResponse ¶ added in v1.61.212
type CreateScheduleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ScheduleId string `json:"ScheduleId" xml:"ScheduleId"` Payload string `json:"Payload" xml:"Payload"` ScheduleName string `json:"ScheduleName" xml:"ScheduleName"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` CronExpression string `json:"CronExpression" xml:"CronExpression"` Enable bool `json:"Enable" xml:"Enable"` }
CreateScheduleResponse is the response struct for api CreateSchedule
func CreateCreateScheduleResponse ¶ added in v1.61.212
func CreateCreateScheduleResponse() (response *CreateScheduleResponse)
CreateCreateScheduleResponse creates a response to parse from CreateSchedule response
type DeleteFlowRequest ¶
type DeleteFlowRequest struct { *requests.RpcRequest RequestId string `position:"Query" name:"RequestId"` Name string `position:"Query" name:"Name"` }
DeleteFlowRequest is the request struct for api DeleteFlow
func CreateDeleteFlowRequest ¶
func CreateDeleteFlowRequest() (request *DeleteFlowRequest)
CreateDeleteFlowRequest creates a request to invoke DeleteFlow API
type DeleteFlowResponse ¶
type DeleteFlowResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteFlowResponse is the response struct for api DeleteFlow
func CreateDeleteFlowResponse ¶
func CreateDeleteFlowResponse() (response *DeleteFlowResponse)
CreateDeleteFlowResponse creates a response to parse from DeleteFlow response
type DeleteScheduleRequest ¶ added in v1.61.212
type DeleteScheduleRequest struct { *requests.RpcRequest ScheduleName string `position:"Query" name:"ScheduleName"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Query" name:"FlowName"` }
DeleteScheduleRequest is the request struct for api DeleteSchedule
func CreateDeleteScheduleRequest ¶ added in v1.61.212
func CreateDeleteScheduleRequest() (request *DeleteScheduleRequest)
CreateDeleteScheduleRequest creates a request to invoke DeleteSchedule API
type DeleteScheduleResponse ¶ added in v1.61.212
type DeleteScheduleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteScheduleResponse is the response struct for api DeleteSchedule
func CreateDeleteScheduleResponse ¶ added in v1.61.212
func CreateDeleteScheduleResponse() (response *DeleteScheduleResponse)
CreateDeleteScheduleResponse creates a response to parse from DeleteSchedule response
type DescribeExecutionRequest ¶
type DescribeExecutionRequest struct { *requests.RpcRequest ExecutionName string `position:"Query" name:"ExecutionName"` WaitTimeSeconds requests.Integer `position:"Query" name:"WaitTimeSeconds"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Query" name:"FlowName"` }
DescribeExecutionRequest is the request struct for api DescribeExecution
func CreateDescribeExecutionRequest ¶
func CreateDescribeExecutionRequest() (request *DescribeExecutionRequest)
CreateDescribeExecutionRequest creates a request to invoke DescribeExecution API
type DescribeExecutionResponse ¶
type DescribeExecutionResponse struct { *responses.BaseResponse Status string `json:"Status" xml:"Status"` StoppedTime string `json:"StoppedTime" xml:"StoppedTime"` RequestId string `json:"RequestId" xml:"RequestId"` StartedTime string `json:"StartedTime" xml:"StartedTime"` FlowDefinition string `json:"FlowDefinition" xml:"FlowDefinition"` ExternalInputUri string `json:"ExternalInputUri" xml:"ExternalInputUri"` Output string `json:"Output" xml:"Output"` FlowName string `json:"FlowName" xml:"FlowName"` ExternalOutputUri string `json:"ExternalOutputUri" xml:"ExternalOutputUri"` Name string `json:"Name" xml:"Name"` Input string `json:"Input" xml:"Input"` }
DescribeExecutionResponse is the response struct for api DescribeExecution
func CreateDescribeExecutionResponse ¶
func CreateDescribeExecutionResponse() (response *DescribeExecutionResponse)
CreateDescribeExecutionResponse creates a response to parse from DescribeExecution response
type DescribeFlowRequest ¶
type DescribeFlowRequest struct { *requests.RpcRequest RequestId string `position:"Query" name:"RequestId"` Name string `position:"Query" name:"Name"` }
DescribeFlowRequest is the request struct for api DescribeFlow
func CreateDescribeFlowRequest ¶
func CreateDescribeFlowRequest() (request *DescribeFlowRequest)
CreateDescribeFlowRequest creates a request to invoke DescribeFlow API
type DescribeFlowResponse ¶
type DescribeFlowResponse struct { *responses.BaseResponse Type string `json:"Type" xml:"Type"` Definition string `json:"Definition" xml:"Definition"` RoleArn string `json:"RoleArn" xml:"RoleArn"` RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ExternalStorageLocation string `json:"ExternalStorageLocation" xml:"ExternalStorageLocation"` Name string `json:"Name" xml:"Name"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` Id string `json:"Id" xml:"Id"` ExecutionMode string `json:"ExecutionMode" xml:"ExecutionMode"` }
DescribeFlowResponse is the response struct for api DescribeFlow
func CreateDescribeFlowResponse ¶
func CreateDescribeFlowResponse() (response *DescribeFlowResponse)
CreateDescribeFlowResponse creates a response to parse from DescribeFlow response
type DescribeScheduleRequest ¶ added in v1.61.212
type DescribeScheduleRequest struct { *requests.RpcRequest ScheduleName string `position:"Query" name:"ScheduleName"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Query" name:"FlowName"` }
DescribeScheduleRequest is the request struct for api DescribeSchedule
func CreateDescribeScheduleRequest ¶ added in v1.61.212
func CreateDescribeScheduleRequest() (request *DescribeScheduleRequest)
CreateDescribeScheduleRequest creates a request to invoke DescribeSchedule API
type DescribeScheduleResponse ¶ added in v1.61.212
type DescribeScheduleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ScheduleId string `json:"ScheduleId" xml:"ScheduleId"` Payload string `json:"Payload" xml:"Payload"` ScheduleName string `json:"ScheduleName" xml:"ScheduleName"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` CronExpression string `json:"CronExpression" xml:"CronExpression"` Enable bool `json:"Enable" xml:"Enable"` }
DescribeScheduleResponse is the response struct for api DescribeSchedule
func CreateDescribeScheduleResponse ¶ added in v1.61.212
func CreateDescribeScheduleResponse() (response *DescribeScheduleResponse)
CreateDescribeScheduleResponse creates a response to parse from DescribeSchedule response
type Events ¶
type Events struct {
EventsItem []EventsItem `json:"Events" xml:"Events"`
}
Events is a nested struct in fnf response
type EventsItem ¶
type EventsItem struct { Type string `json:"Type" xml:"Type"` EventId int64 `json:"EventId" xml:"EventId"` Time string `json:"Time" xml:"Time"` ScheduleEventId int64 `json:"ScheduleEventId" xml:"ScheduleEventId"` EventDetail string `json:"EventDetail" xml:"EventDetail"` StepName string `json:"StepName" xml:"StepName"` }
EventsItem is a nested struct in fnf response
type Executions ¶
type Executions struct {
ExecutionsItem []ExecutionsItem `json:"Executions" xml:"Executions"`
}
Executions is a nested struct in fnf response
type ExecutionsItem ¶
type ExecutionsItem struct { Status string `json:"Status" xml:"Status"` StoppedTime string `json:"StoppedTime" xml:"StoppedTime"` StartedTime string `json:"StartedTime" xml:"StartedTime"` FlowDefinition string `json:"FlowDefinition" xml:"FlowDefinition"` ExternalInputUri string `json:"ExternalInputUri" xml:"ExternalInputUri"` Output string `json:"Output" xml:"Output"` FlowName string `json:"FlowName" xml:"FlowName"` ExternalOutputUri string `json:"ExternalOutputUri" xml:"ExternalOutputUri"` Name string `json:"Name" xml:"Name"` Input string `json:"Input" xml:"Input"` }
ExecutionsItem is a nested struct in fnf response
type Flows ¶
type Flows struct {
FlowsItem []FlowsItem `json:"Flows" xml:"Flows"`
}
Flows is a nested struct in fnf response
type FlowsItem ¶
type FlowsItem struct { Type string `json:"Type" xml:"Type"` Definition string `json:"Definition" xml:"Definition"` RoleArn string `json:"RoleArn" xml:"RoleArn"` Description string `json:"Description" xml:"Description"` ExternalStorageLocation string `json:"ExternalStorageLocation" xml:"ExternalStorageLocation"` Name string `json:"Name" xml:"Name"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` Id string `json:"Id" xml:"Id"` ExecutionMode string `json:"ExecutionMode" xml:"ExecutionMode"` }
FlowsItem is a nested struct in fnf response
type GetExecutionHistoryRequest ¶
type GetExecutionHistoryRequest struct { *requests.RpcRequest ExecutionName string `position:"Query" name:"ExecutionName"` NextToken string `position:"Query" name:"NextToken"` RequestId string `position:"Query" name:"RequestId"` Limit requests.Integer `position:"Query" name:"Limit"` FlowName string `position:"Query" name:"FlowName"` }
GetExecutionHistoryRequest is the request struct for api GetExecutionHistory
func CreateGetExecutionHistoryRequest ¶
func CreateGetExecutionHistoryRequest() (request *GetExecutionHistoryRequest)
CreateGetExecutionHistoryRequest creates a request to invoke GetExecutionHistory API
type GetExecutionHistoryResponse ¶
type GetExecutionHistoryResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Events []EventsItem `json:"Events" xml:"Events"` }
GetExecutionHistoryResponse is the response struct for api GetExecutionHistory
func CreateGetExecutionHistoryResponse ¶
func CreateGetExecutionHistoryResponse() (response *GetExecutionHistoryResponse)
CreateGetExecutionHistoryResponse creates a response to parse from GetExecutionHistory response
type ListExecutionsRequest ¶
type ListExecutionsRequest struct { *requests.RpcRequest StartedTimeBegin string `position:"Query" name:"StartedTimeBegin"` ExecutionNamePrefix string `position:"Query" name:"ExecutionNamePrefix"` NextToken string `position:"Query" name:"NextToken"` RequestId string `position:"Query" name:"RequestId"` Limit requests.Integer `position:"Query" name:"Limit"` FlowName string `position:"Query" name:"FlowName"` StartedTimeEnd string `position:"Query" name:"StartedTimeEnd"` Status string `position:"Query" name:"Status"` }
ListExecutionsRequest is the request struct for api ListExecutions
func CreateListExecutionsRequest ¶
func CreateListExecutionsRequest() (request *ListExecutionsRequest)
CreateListExecutionsRequest creates a request to invoke ListExecutions API
type ListExecutionsResponse ¶
type ListExecutionsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Executions []ExecutionsItem `json:"Executions" xml:"Executions"` }
ListExecutionsResponse is the response struct for api ListExecutions
func CreateListExecutionsResponse ¶
func CreateListExecutionsResponse() (response *ListExecutionsResponse)
CreateListExecutionsResponse creates a response to parse from ListExecutions response
type ListFlowsRequest ¶
type ListFlowsRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` RequestId string `position:"Query" name:"RequestId"` Limit requests.Integer `position:"Query" name:"Limit"` }
ListFlowsRequest is the request struct for api ListFlows
func CreateListFlowsRequest ¶
func CreateListFlowsRequest() (request *ListFlowsRequest)
CreateListFlowsRequest creates a request to invoke ListFlows API
type ListFlowsResponse ¶
type ListFlowsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Flows []FlowsItem `json:"Flows" xml:"Flows"` }
ListFlowsResponse is the response struct for api ListFlows
func CreateListFlowsResponse ¶
func CreateListFlowsResponse() (response *ListFlowsResponse)
CreateListFlowsResponse creates a response to parse from ListFlows response
type ListSchedulesRequest ¶ added in v1.61.212
type ListSchedulesRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` RequestId string `position:"Query" name:"RequestId"` Limit requests.Integer `position:"Query" name:"Limit"` FlowName string `position:"Query" name:"FlowName"` }
ListSchedulesRequest is the request struct for api ListSchedules
func CreateListSchedulesRequest ¶ added in v1.61.212
func CreateListSchedulesRequest() (request *ListSchedulesRequest)
CreateListSchedulesRequest creates a request to invoke ListSchedules API
type ListSchedulesResponse ¶ added in v1.61.212
type ListSchedulesResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Schedules []SchedulesItem `json:"Schedules" xml:"Schedules"` }
ListSchedulesResponse is the response struct for api ListSchedules
func CreateListSchedulesResponse ¶ added in v1.61.212
func CreateListSchedulesResponse() (response *ListSchedulesResponse)
CreateListSchedulesResponse creates a response to parse from ListSchedules response
type ReportTaskFailedRequest ¶
type ReportTaskFailedRequest struct { *requests.RpcRequest Cause string `position:"Body" name:"Cause"` Error string `position:"Body" name:"Error"` RequestId string `position:"Query" name:"RequestId"` TaskToken string `position:"Query" name:"TaskToken"` }
ReportTaskFailedRequest is the request struct for api ReportTaskFailed
func CreateReportTaskFailedRequest ¶
func CreateReportTaskFailedRequest() (request *ReportTaskFailedRequest)
CreateReportTaskFailedRequest creates a request to invoke ReportTaskFailed API
type ReportTaskFailedResponse ¶
type ReportTaskFailedResponse struct { *responses.BaseResponse EventId int64 `json:"EventId" xml:"EventId"` RequestId string `json:"RequestId" xml:"RequestId"` }
ReportTaskFailedResponse is the response struct for api ReportTaskFailed
func CreateReportTaskFailedResponse ¶
func CreateReportTaskFailedResponse() (response *ReportTaskFailedResponse)
CreateReportTaskFailedResponse creates a response to parse from ReportTaskFailed response
type ReportTaskSucceededRequest ¶
type ReportTaskSucceededRequest struct { *requests.RpcRequest Output string `position:"Body" name:"Output"` RequestId string `position:"Query" name:"RequestId"` TaskToken string `position:"Query" name:"TaskToken"` }
ReportTaskSucceededRequest is the request struct for api ReportTaskSucceeded
func CreateReportTaskSucceededRequest ¶
func CreateReportTaskSucceededRequest() (request *ReportTaskSucceededRequest)
CreateReportTaskSucceededRequest creates a request to invoke ReportTaskSucceeded API
type ReportTaskSucceededResponse ¶
type ReportTaskSucceededResponse struct { *responses.BaseResponse EventId int64 `json:"EventId" xml:"EventId"` RequestId string `json:"RequestId" xml:"RequestId"` }
ReportTaskSucceededResponse is the response struct for api ReportTaskSucceeded
func CreateReportTaskSucceededResponse ¶
func CreateReportTaskSucceededResponse() (response *ReportTaskSucceededResponse)
CreateReportTaskSucceededResponse creates a response to parse from ReportTaskSucceeded response
type Schedules ¶ added in v1.61.212
type Schedules struct {
SchedulesItem []SchedulesItem `json:"Schedules" xml:"Schedules"`
}
Schedules is a nested struct in fnf response
type SchedulesItem ¶ added in v1.61.212
type SchedulesItem struct { Description string `json:"Description" xml:"Description"` ScheduleId string `json:"ScheduleId" xml:"ScheduleId"` Payload string `json:"Payload" xml:"Payload"` ScheduleName string `json:"ScheduleName" xml:"ScheduleName"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` CronExpression string `json:"CronExpression" xml:"CronExpression"` Enable bool `json:"Enable" xml:"Enable"` }
SchedulesItem is a nested struct in fnf response
type StartExecutionRequest ¶
type StartExecutionRequest struct { *requests.RpcRequest CallbackFnFTaskToken string `position:"Body" name:"CallbackFnFTaskToken"` ExecutionName string `position:"Body" name:"ExecutionName"` Input string `position:"Body" name:"Input"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Body" name:"FlowName"` }
StartExecutionRequest is the request struct for api StartExecution
func CreateStartExecutionRequest ¶
func CreateStartExecutionRequest() (request *StartExecutionRequest)
CreateStartExecutionRequest creates a request to invoke StartExecution API
type StartExecutionResponse ¶
type StartExecutionResponse struct { *responses.BaseResponse Status string `json:"Status" xml:"Status"` StoppedTime string `json:"StoppedTime" xml:"StoppedTime"` RequestId string `json:"RequestId" xml:"RequestId"` StartedTime string `json:"StartedTime" xml:"StartedTime"` FlowDefinition string `json:"FlowDefinition" xml:"FlowDefinition"` ExternalInputUri string `json:"ExternalInputUri" xml:"ExternalInputUri"` Output string `json:"Output" xml:"Output"` FlowName string `json:"FlowName" xml:"FlowName"` ExternalOutputUri string `json:"ExternalOutputUri" xml:"ExternalOutputUri"` Name string `json:"Name" xml:"Name"` Input string `json:"Input" xml:"Input"` }
StartExecutionResponse is the response struct for api StartExecution
func CreateStartExecutionResponse ¶
func CreateStartExecutionResponse() (response *StartExecutionResponse)
CreateStartExecutionResponse creates a response to parse from StartExecution response
type StartSyncExecutionRequest ¶ added in v1.62.591
type StartSyncExecutionRequest struct { *requests.RpcRequest ExecutionName string `position:"Body" name:"ExecutionName"` Input string `position:"Body" name:"Input"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Body" name:"FlowName"` }
StartSyncExecutionRequest is the request struct for api StartSyncExecution
func CreateStartSyncExecutionRequest ¶ added in v1.62.591
func CreateStartSyncExecutionRequest() (request *StartSyncExecutionRequest)
CreateStartSyncExecutionRequest creates a request to invoke StartSyncExecution API
type StartSyncExecutionResponse ¶ added in v1.62.591
type StartSyncExecutionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` FlowName string `json:"FlowName" xml:"FlowName"` Name string `json:"Name" xml:"Name"` Status string `json:"Status" xml:"Status"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Output string `json:"Output" xml:"Output"` StartedTime string `json:"StartedTime" xml:"StartedTime"` StoppedTime string `json:"StoppedTime" xml:"StoppedTime"` }
StartSyncExecutionResponse is the response struct for api StartSyncExecution
func CreateStartSyncExecutionResponse ¶ added in v1.62.591
func CreateStartSyncExecutionResponse() (response *StartSyncExecutionResponse)
CreateStartSyncExecutionResponse creates a response to parse from StartSyncExecution response
type StopExecutionRequest ¶
type StopExecutionRequest struct { *requests.RpcRequest ExecutionName string `position:"Body" name:"ExecutionName"` Cause string `position:"Body" name:"Cause"` Error string `position:"Body" name:"Error"` RequestId string `position:"Query" name:"RequestId"` FlowName string `position:"Body" name:"FlowName"` }
StopExecutionRequest is the request struct for api StopExecution
func CreateStopExecutionRequest ¶
func CreateStopExecutionRequest() (request *StopExecutionRequest)
CreateStopExecutionRequest creates a request to invoke StopExecution API
type StopExecutionResponse ¶
type StopExecutionResponse struct { *responses.BaseResponse Status string `json:"Status" xml:"Status"` StoppedTime string `json:"StoppedTime" xml:"StoppedTime"` RequestId string `json:"RequestId" xml:"RequestId"` StartedTime string `json:"StartedTime" xml:"StartedTime"` FlowDefinition string `json:"FlowDefinition" xml:"FlowDefinition"` ExternalInputUri string `json:"ExternalInputUri" xml:"ExternalInputUri"` Output string `json:"Output" xml:"Output"` FlowName string `json:"FlowName" xml:"FlowName"` ExternalOutputUri string `json:"ExternalOutputUri" xml:"ExternalOutputUri"` Name string `json:"Name" xml:"Name"` Input string `json:"Input" xml:"Input"` }
StopExecutionResponse is the response struct for api StopExecution
func CreateStopExecutionResponse ¶
func CreateStopExecutionResponse() (response *StopExecutionResponse)
CreateStopExecutionResponse creates a response to parse from StopExecution response
type UpdateFlowRequest ¶
type UpdateFlowRequest struct { *requests.RpcRequest Description string `position:"Body" name:"Description"` Type string `position:"Body" name:"Type"` RequestId string `position:"Query" name:"RequestId"` RoleArn string `position:"Body" name:"RoleArn"` Name string `position:"Body" name:"Name"` Definition string `position:"Body" name:"Definition"` ExternalStorageLocation string `position:"Body" name:"ExternalStorageLocation"` }
UpdateFlowRequest is the request struct for api UpdateFlow
func CreateUpdateFlowRequest ¶
func CreateUpdateFlowRequest() (request *UpdateFlowRequest)
CreateUpdateFlowRequest creates a request to invoke UpdateFlow API
type UpdateFlowResponse ¶
type UpdateFlowResponse struct { *responses.BaseResponse Type string `json:"Type" xml:"Type"` Definition string `json:"Definition" xml:"Definition"` RoleArn string `json:"RoleArn" xml:"RoleArn"` RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ExternalStorageLocation string `json:"ExternalStorageLocation" xml:"ExternalStorageLocation"` Name string `json:"Name" xml:"Name"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` Id string `json:"Id" xml:"Id"` }
UpdateFlowResponse is the response struct for api UpdateFlow
func CreateUpdateFlowResponse ¶
func CreateUpdateFlowResponse() (response *UpdateFlowResponse)
CreateUpdateFlowResponse creates a response to parse from UpdateFlow response
type UpdateScheduleRequest ¶ added in v1.61.212
type UpdateScheduleRequest struct { *requests.RpcRequest ScheduleName string `position:"Body" name:"ScheduleName"` CronExpression string `position:"Body" name:"CronExpression"` Payload string `position:"Body" name:"Payload"` RequestId string `position:"Query" name:"RequestId"` Enable requests.Boolean `position:"Body" name:"Enable"` Description string `position:"Body" name:"Description"` FlowName string `position:"Body" name:"FlowName"` }
UpdateScheduleRequest is the request struct for api UpdateSchedule
func CreateUpdateScheduleRequest ¶ added in v1.61.212
func CreateUpdateScheduleRequest() (request *UpdateScheduleRequest)
CreateUpdateScheduleRequest creates a request to invoke UpdateSchedule API
type UpdateScheduleResponse ¶ added in v1.61.212
type UpdateScheduleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Description string `json:"Description" xml:"Description"` ScheduleId string `json:"ScheduleId" xml:"ScheduleId"` Payload string `json:"Payload" xml:"Payload"` ScheduleName string `json:"ScheduleName" xml:"ScheduleName"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` CronExpression string `json:"CronExpression" xml:"CronExpression"` Enable bool `json:"Enable" xml:"Enable"` }
UpdateScheduleResponse is the response struct for api UpdateSchedule
func CreateUpdateScheduleResponse ¶ added in v1.61.212
func CreateUpdateScheduleResponse() (response *UpdateScheduleResponse)
CreateUpdateScheduleResponse creates a response to parse from UpdateSchedule response
Source Files ¶
- client.go
- create_flow.go
- create_schedule.go
- delete_flow.go
- delete_schedule.go
- describe_execution.go
- describe_flow.go
- describe_schedule.go
- endpoint.go
- get_execution_history.go
- list_executions.go
- list_flows.go
- list_schedules.go
- report_task_failed.go
- report_task_succeeded.go
- start_execution.go
- start_sync_execution.go
- stop_execution.go
- struct_events.go
- struct_events_item.go
- struct_executions.go
- struct_executions_item.go
- struct_flows.go
- struct_flows_item.go
- struct_schedules.go
- struct_schedules_item.go
- update_flow.go
- update_schedule.go