// Stops the specified pipeline execution. You choose to either stop the pipeline
// execution by completing in-progress actions without starting subsequent actions,
// or by abandoning in-progress actions. While completing or abandoning in-progress
// actions, the pipeline execution is in a Stopping state. After all in-progress
// actions are completed or abandoned, the pipeline execution is in a Stopped
// state.
Stops the specified pipeline execution. You choose to either stop the pipeline
execution by completing in-progress actions without starting subsequent actions,
or by abandoning in-progress actions. While completing or abandoning in-progress
actions, the pipeline execution is in a Stopping state. After all in-progress
actions are completed or abandoned, the pipeline execution is in a Stopped
state.
// Stops the specified pipeline execution . You choose to either stop the pipeline // execution by completing in - progress actions without starting subsequent actions // or by abandoning in - progress actions . While completing or abandoning in - progress // actions the pipeline execution is in a Stopping state . After all in - progress // actions are completed or abandoned the pipeline execution is in a Stopped // state .
func (c *Client) StopPipelineExecution(ctx context.Context, params *StopPipelineExecutionInput, optFns ...func(*Options)) (*StopPipelineExecutionOutput, error) {
	if params == nil {
		params = &StopPipelineExecutionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "StopPipelineExecution", params, optFns, addOperationStopPipelineExecutionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*StopPipelineExecutionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) StopPipelineExecution ( ctx context . Context , params * StopPipelineExecutionInput , optFns ... func ( * Options ) ) ( * StopPipelineExecutionOutput , error ) { if params == nil { params = & StopPipelineExecutionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationStopPipelineExecutionMiddlewares ) if err != nil { return nil , err } out := result . ( * StopPipelineExecutionOutput ) out . ResultMetadata = metadata return out , nil }
Stops the specified pipeline execution.
Stops the specified pipeline execution .