// Lists names of workflows created in the account.
Lists names of workflows created in the account.
// Lists names of workflows created in the account .
func (c *Client) ListWorkflows(ctx context.Context, params *ListWorkflowsInput, optFns ...func(*Options)) (*ListWorkflowsOutput, error) {
	if params == nil {
		params = &ListWorkflowsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListWorkflows", params, optFns, addOperationListWorkflowsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListWorkflowsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListWorkflows ( ctx context . Context , params * ListWorkflowsInput , optFns ... func ( * Options ) ) ( * ListWorkflowsOutput , error ) { if params == nil { params = & ListWorkflowsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListWorkflowsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListWorkflowsOutput ) out . ResultMetadata = metadata return out , nil }
Lists names of workflows created in the account.
Lists names of workflows created in the account .