Copyright | (c) 2013-2015 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 |
Configures an Expression
for the search domain. Used to create new
expressions and modify existing ones. If the expression exists, the new
configuration replaces the old one. For more information, see
Configuring Expressions
in the Amazon CloudSearch Developer Guide.
See: AWS API Reference for DefineExpression.
- defineExpression :: Text -> Expression -> DefineExpression
- data DefineExpression
- dDomainName :: Lens' DefineExpression Text
- dExpression :: Lens' DefineExpression Expression
- defineExpressionResponse :: Int -> ExpressionStatus -> DefineExpressionResponse
- data DefineExpressionResponse
- dersResponseStatus :: Lens' DefineExpressionResponse Int
- dersExpression :: Lens' DefineExpressionResponse ExpressionStatus
Creating a Request
Creates a value of DefineExpression
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefineExpression Source
Container for the parameters to the DefineExpression
operation.
Specifies the name of the domain you want to update and the expression
you want to configure.
See: defineExpression
smart constructor.
Request Lenses
dDomainName :: Lens' DefineExpression Text Source
Undocumented member.
dExpression :: Lens' DefineExpression Expression Source
Undocumented member.
Destructuring the Response
defineExpressionResponse Source
Creates a value of DefineExpressionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefineExpressionResponse Source
The result of a DefineExpression
request. Contains the status of the
newly-configured expression.
See: defineExpressionResponse
smart constructor.
Response Lenses
dersResponseStatus :: Lens' DefineExpressionResponse Int Source
The response status code.
dersExpression :: Lens' DefineExpressionResponse ExpressionStatus Source
Undocumented member.