| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DataPipeline.EvaluateExpression
Description
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.
- evaluateExpression :: Text -> Text -> Text -> EvaluateExpression
- data EvaluateExpression
- eePipelineId :: Lens' EvaluateExpression Text
- eeObjectId :: Lens' EvaluateExpression Text
- eeExpression :: Lens' EvaluateExpression Text
- evaluateExpressionResponse :: Int -> Text -> EvaluateExpressionResponse
- data EvaluateExpressionResponse
- eersResponseStatus :: Lens' EvaluateExpressionResponse Int
- eersEvaluatedExpression :: Lens' EvaluateExpressionResponse Text
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> EvaluateExpression |
Creates a value of EvaluateExpression with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EvaluateExpression Source #
Contains the parameters for EvaluateExpression.
See: evaluateExpression smart constructor.
Instances
Request Lenses
eePipelineId :: Lens' EvaluateExpression Text Source #
The ID of the pipeline.
eeObjectId :: Lens' EvaluateExpression Text Source #
The ID of the object.
eeExpression :: Lens' EvaluateExpression Text Source #
The expression to evaluate.
Destructuring the Response
evaluateExpressionResponse Source #
Creates a value of EvaluateExpressionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EvaluateExpressionResponse Source #
Contains the output of EvaluateExpression.
See: evaluateExpressionResponse smart constructor.
Instances
Response Lenses
eersResponseStatus :: Lens' EvaluateExpressionResponse Int Source #
The response status code.
eersEvaluatedExpression :: Lens' EvaluateExpressionResponse Text Source #
The evaluated expression.