| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearch.DeleteExpression
Description
Removes an Expression from the search domain. For more information,
see
Configuring Expressions
in the Amazon CloudSearch Developer Guide.
Synopsis
- data DeleteExpression = DeleteExpression' {
- domainName :: Text
- expressionName :: Text
- newDeleteExpression :: Text -> Text -> DeleteExpression
- deleteExpression_domainName :: Lens' DeleteExpression Text
- deleteExpression_expressionName :: Lens' DeleteExpression Text
- data DeleteExpressionResponse = DeleteExpressionResponse' {}
- newDeleteExpressionResponse :: Int -> ExpressionStatus -> DeleteExpressionResponse
- deleteExpressionResponse_httpStatus :: Lens' DeleteExpressionResponse Int
- deleteExpressionResponse_expression :: Lens' DeleteExpressionResponse ExpressionStatus
Creating a Request
data DeleteExpression Source #
Container for the parameters to the DeleteExpression operation.
Specifies the name of the domain you want to update and the name of the
expression you want to delete.
See: newDeleteExpression smart constructor.
Constructors
| DeleteExpression' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteExpression |
Create a value of DeleteExpression with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteExpression, deleteExpression_domainName - Undocumented member.
DeleteExpression, deleteExpression_expressionName - The name of the Expression to delete.
Request Lenses
deleteExpression_domainName :: Lens' DeleteExpression Text Source #
Undocumented member.
deleteExpression_expressionName :: Lens' DeleteExpression Text Source #
The name of the Expression to delete.
Destructuring the Response
data DeleteExpressionResponse Source #
The result of a DeleteExpression request. Specifies the expression
being deleted.
See: newDeleteExpressionResponse smart constructor.
Constructors
| DeleteExpressionResponse' | |
Fields
| |
Instances
newDeleteExpressionResponse Source #
Arguments
| :: Int | |
| -> ExpressionStatus | |
| -> DeleteExpressionResponse |
Create a value of DeleteExpressionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteExpressionResponse', deleteExpressionResponse_httpStatus - The response's http status code.
$sel:expression:DeleteExpressionResponse', deleteExpressionResponse_expression - The status of the expression being deleted.
Response Lenses
deleteExpressionResponse_httpStatus :: Lens' DeleteExpressionResponse Int Source #
The response's http status code.
deleteExpressionResponse_expression :: Lens' DeleteExpressionResponse ExpressionStatus Source #
The status of the expression being deleted.