Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Synopsis
- 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
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 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:
eersResponseStatus
- -- | The response status code.eersEvaluatedExpression
- The evaluated expression.
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.