// Retrieves metadata for all runs of a given workflow.
Retrieves metadata for all runs of a given workflow.
// Retrieves metadata for all runs of a given workflow .
func (c *Client) GetWorkflowRuns(ctx context.Context, params *GetWorkflowRunsInput, optFns ...func(*Options)) (*GetWorkflowRunsOutput, error) {
	if params == nil {
		params = &GetWorkflowRunsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetWorkflowRuns", params, optFns, addOperationGetWorkflowRunsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetWorkflowRunsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetWorkflowRuns ( ctx context . Context , params * GetWorkflowRunsInput , optFns ... func ( * Options ) ) ( * GetWorkflowRunsOutput , error ) { if params == nil { params = & GetWorkflowRunsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetWorkflowRunsMiddlewares ) if err != nil { return nil , err } out := result . ( * GetWorkflowRunsOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves metadata for all runs of a given workflow.
Retrieves metadata for all runs of a given workflow .