DataPipeline / Client / evaluate_expression

evaluate_expression#

DataPipeline.Client.evaluate_expression(**kwargs)#

Task runners call EvaluateExpression to evaluate a string in the context of the specified object. For example, a task runner can evaluate SQL queries stored in Amazon S3.

See also: AWS API Documentation

Request Syntax

response = client.evaluate_expression(
    pipelineId='string',
    objectId='string',
    expression='string'
)
Parameters:
  • pipelineId (string) –

    [REQUIRED]

    The ID of the pipeline.

  • objectId (string) –

    [REQUIRED]

    The ID of the object.

  • expression (string) –

    [REQUIRED]

    The expression to evaluate.

Return type:

dict

Returns:

Response Syntax

{
    'evaluatedExpression': 'string'
}

Response Structure

  • (dict) –

    Contains the output of EvaluateExpression.

    • evaluatedExpression (string) –

      The evaluated expression.

Exceptions