// Simulates the results of running a pipeline activity on a message payload.
Simulates the results of running a pipeline activity on a message payload.
// Simulates the results of running a pipeline activity on a message payload .
func (c *Client) RunPipelineActivity(ctx context.Context, params *RunPipelineActivityInput, optFns ...func(*Options)) (*RunPipelineActivityOutput, error) {
	if params == nil {
		params = &RunPipelineActivityInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RunPipelineActivity", params, optFns, addOperationRunPipelineActivityMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RunPipelineActivityOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RunPipelineActivity ( ctx context . Context , params * RunPipelineActivityInput , optFns ... func ( * Options ) ) ( * RunPipelineActivityOutput , error ) { if params == nil { params = & RunPipelineActivityInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationRunPipelineActivityMiddlewares ) if err != nil { return nil , err } out := result . ( * RunPipelineActivityOutput ) out . ResultMetadata = metadata return out , nil }
Simulates the results of running a pipeline activity on a message payload.
Simulates the results of running a pipeline activity on a message payload .