Copyright | (c) 2013-2021 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 |
Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
Synopsis
- data DeleteSuggester = DeleteSuggester' {
- domainName :: Text
- suggesterName :: Text
- newDeleteSuggester :: Text -> Text -> DeleteSuggester
- deleteSuggester_domainName :: Lens' DeleteSuggester Text
- deleteSuggester_suggesterName :: Lens' DeleteSuggester Text
- data DeleteSuggesterResponse = DeleteSuggesterResponse' {}
- newDeleteSuggesterResponse :: Int -> SuggesterStatus -> DeleteSuggesterResponse
- deleteSuggesterResponse_httpStatus :: Lens' DeleteSuggesterResponse Int
- deleteSuggesterResponse_suggester :: Lens' DeleteSuggesterResponse SuggesterStatus
Creating a Request
data DeleteSuggester Source #
Container for the parameters to the DeleteSuggester
operation.
Specifies the name of the domain you want to update and name of the
suggester you want to delete.
See: newDeleteSuggester
smart constructor.
DeleteSuggester' | |
|
Instances
Create a value of DeleteSuggester
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:domainName:DeleteSuggester'
, deleteSuggester_domainName
- Undocumented member.
$sel:suggesterName:DeleteSuggester'
, deleteSuggester_suggesterName
- Specifies the name of the suggester you want to delete.
Request Lenses
deleteSuggester_domainName :: Lens' DeleteSuggester Text Source #
Undocumented member.
deleteSuggester_suggesterName :: Lens' DeleteSuggester Text Source #
Specifies the name of the suggester you want to delete.
Destructuring the Response
data DeleteSuggesterResponse Source #
The result of a DeleteSuggester
request. Contains the status of the
deleted suggester.
See: newDeleteSuggesterResponse
smart constructor.
DeleteSuggesterResponse' | |
|
Instances
newDeleteSuggesterResponse Source #
Create a value of DeleteSuggesterResponse
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:DeleteSuggesterResponse'
, deleteSuggesterResponse_httpStatus
- The response's http status code.
$sel:suggester:DeleteSuggesterResponse'
, deleteSuggesterResponse_suggester
- The status of the suggester being deleted.
Response Lenses
deleteSuggesterResponse_httpStatus :: Lens' DeleteSuggesterResponse Int Source #
The response's http status code.
deleteSuggesterResponse_suggester :: Lens' DeleteSuggesterResponse SuggesterStatus Source #
The status of the suggester being deleted.