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'
)
[REQUIRED]
The ID of the pipeline.
[REQUIRED]
The ID of the object.
[REQUIRED]
The expression to evaluate.
dict
Response Syntax
{
'evaluatedExpression': 'string'
}
Response Structure
(dict) --
Contains the output of EvaluateExpression.
evaluatedExpression (string) --
The evaluated expression.
Exceptions
DataPipeline.Client.exceptions.InternalServiceErrorDataPipeline.Client.exceptions.TaskNotFoundExceptionDataPipeline.Client.exceptions.InvalidRequestExceptionDataPipeline.Client.exceptions.PipelineNotFoundExceptionDataPipeline.Client.exceptions.PipelineDeletedException