// Retrieves the metadata for a given workflow run.
Retrieves the metadata for a given workflow run.
// Retrieves the metadata for a given workflow run .
func (c *Client) GetWorkflowRun(ctx context.Context, params *GetWorkflowRunInput, optFns ...func(*Options)) (*GetWorkflowRunOutput, error) {
	if params == nil {
		params = &GetWorkflowRunInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetWorkflowRun", params, optFns, addOperationGetWorkflowRunMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetWorkflowRunOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetWorkflowRun ( ctx context . Context , params * GetWorkflowRunInput , optFns ... func ( * Options ) ) ( * GetWorkflowRunOutput , error ) { if params == nil { params = & GetWorkflowRunInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetWorkflowRunMiddlewares ) if err != nil { return nil , err } out := result . ( * GetWorkflowRunOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves the metadata for a given workflow run.
Retrieves the metadata for a given workflow run .