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 |
Removes an
from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .Expression
- deleteExpression :: Text -> Text -> DeleteExpression
- data DeleteExpression
- delDomainName :: Lens' DeleteExpression Text
- delExpressionName :: Lens' DeleteExpression Text
- deleteExpressionResponse :: Int -> ExpressionStatus -> DeleteExpressionResponse
- data DeleteExpressionResponse
- delrsResponseStatus :: Lens' DeleteExpressionResponse Int
- delrsExpression :: Lens' DeleteExpressionResponse ExpressionStatus
Creating a Request
Creates a value of DeleteExpression
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delDomainName
- Undocumented member.delExpressionName
- The name of the
to delete.Expression
data DeleteExpression Source #
Container for the parameters to the
operation. Specifies the name of the domain you want to update and the name of the expression you want to delete.DeleteExpression
See: deleteExpression
smart constructor.
Request Lenses
delDomainName :: Lens' DeleteExpression Text Source #
Undocumented member.
delExpressionName :: Lens' DeleteExpression Text Source #
The name of the
to delete.Expression
Destructuring the Response
deleteExpressionResponse Source #
Creates a value of DeleteExpressionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsResponseStatus
- -- | The response status code.delrsExpression
- The status of the expression being deleted.
data DeleteExpressionResponse Source #
The result of a
request. Specifies the expression being deleted.DeleteExpression
See: deleteExpressionResponse
smart constructor.
Response Lenses
delrsResponseStatus :: Lens' DeleteExpressionResponse Int Source #
- - | The response status code.
delrsExpression :: Lens' DeleteExpressionResponse ExpressionStatus Source #
The status of the expression being deleted.