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 an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
Synopsis
- data DeleteAnalysisScheme = DeleteAnalysisScheme' {}
- newDeleteAnalysisScheme :: Text -> Text -> DeleteAnalysisScheme
- deleteAnalysisScheme_domainName :: Lens' DeleteAnalysisScheme Text
- deleteAnalysisScheme_analysisSchemeName :: Lens' DeleteAnalysisScheme Text
- data DeleteAnalysisSchemeResponse = DeleteAnalysisSchemeResponse' {}
- newDeleteAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DeleteAnalysisSchemeResponse
- deleteAnalysisSchemeResponse_httpStatus :: Lens' DeleteAnalysisSchemeResponse Int
- deleteAnalysisSchemeResponse_analysisScheme :: Lens' DeleteAnalysisSchemeResponse AnalysisSchemeStatus
Creating a Request
data DeleteAnalysisScheme Source #
Container for the parameters to the DeleteAnalysisScheme
operation.
Specifies the name of the domain you want to update and the analysis
scheme you want to delete.
See: newDeleteAnalysisScheme
smart constructor.
DeleteAnalysisScheme' | |
|
Instances
newDeleteAnalysisScheme Source #
:: Text | |
-> Text | |
-> DeleteAnalysisScheme |
Create a value of DeleteAnalysisScheme
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:DeleteAnalysisScheme'
, deleteAnalysisScheme_domainName
- Undocumented member.
$sel:analysisSchemeName:DeleteAnalysisScheme'
, deleteAnalysisScheme_analysisSchemeName
- The name of the analysis scheme you want to delete.
Request Lenses
deleteAnalysisScheme_domainName :: Lens' DeleteAnalysisScheme Text Source #
Undocumented member.
deleteAnalysisScheme_analysisSchemeName :: Lens' DeleteAnalysisScheme Text Source #
The name of the analysis scheme you want to delete.
Destructuring the Response
data DeleteAnalysisSchemeResponse Source #
The result of a DeleteAnalysisScheme
request. Contains the status of
the deleted analysis scheme.
See: newDeleteAnalysisSchemeResponse
smart constructor.
DeleteAnalysisSchemeResponse' | |
|
Instances
newDeleteAnalysisSchemeResponse Source #
Create a value of DeleteAnalysisSchemeResponse
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:DeleteAnalysisSchemeResponse'
, deleteAnalysisSchemeResponse_httpStatus
- The response's http status code.
$sel:analysisScheme:DeleteAnalysisSchemeResponse'
, deleteAnalysisSchemeResponse_analysisScheme
- The status of the analysis scheme being deleted.
Response Lenses
deleteAnalysisSchemeResponse_httpStatus :: Lens' DeleteAnalysisSchemeResponse Int Source #
The response's http status code.
deleteAnalysisSchemeResponse_analysisScheme :: Lens' DeleteAnalysisSchemeResponse AnalysisSchemeStatus Source #
The status of the analysis scheme being deleted.