| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| 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:
eePipelineId- The ID of the pipeline.eeObjectId- The ID of the object.eeExpression- The expression to evaluate.
data EvaluateExpression #
Contains the parameters for EvaluateExpression.
See: evaluateExpression smart constructor.
Instances
Request Lenses
eePipelineId :: Lens' EvaluateExpression Text #
The ID of the pipeline.
eeObjectId :: Lens' EvaluateExpression Text #
The ID of the object.
eeExpression :: Lens' EvaluateExpression Text #
The expression to evaluate.
Destructuring the Response
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:
eersResponseStatus- -- | The response status code.eersEvaluatedExpression- The evaluated expression.
data EvaluateExpressionResponse #
Contains the output of EvaluateExpression.
See: evaluateExpressionResponse smart constructor.
Response Lenses
eersResponseStatus :: Lens' EvaluateExpressionResponse Int #
- - | The response status code.
eersEvaluatedExpression :: Lens' EvaluateExpressionResponse Text #
The evaluated expression.