Copyright | (c) 2013-2017 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 |
Configures an
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 .Expression
- 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:
dDomainName
- Undocumented member.dExpression
- Undocumented member.
data DefineExpression Source #
Container for the parameters to the
operation. Specifies the name of the domain you want to update and the expression you want to configure.DefineExpression
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:
dersResponseStatus
- -- | The response status code.dersExpression
- Undocumented member.
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.