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 |
Network.AWS.CloudSearch.DefineExpression
Description
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
Arguments
:: Text | |
-> Expression | |
-> DefineExpression |
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 #
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.
Instances
Request Lenses
dDomainName :: Lens' DefineExpression Text #
Undocumented member.
dExpression :: Lens' DefineExpression Expression #
Undocumented member.
Destructuring the Response
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 #
The result of a DefineExpression
request. Contains the status of the newly-configured expression.
See: defineExpressionResponse
smart constructor.
Response Lenses
dersResponseStatus :: Lens' DefineExpressionResponse Int #
- - | The response status code.
dersExpression :: Lens' DefineExpressionResponse ExpressionStatus #
Undocumented member.