| 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.AccessAnalyzer.DeleteAnalyzer
Description
Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled for the account or organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.
Synopsis
- data DeleteAnalyzer = DeleteAnalyzer' {
- clientToken :: Maybe Text
- analyzerName :: Text
- newDeleteAnalyzer :: Text -> DeleteAnalyzer
- deleteAnalyzer_clientToken :: Lens' DeleteAnalyzer (Maybe Text)
- deleteAnalyzer_analyzerName :: Lens' DeleteAnalyzer Text
- data DeleteAnalyzerResponse = DeleteAnalyzerResponse' {
- newDeleteAnalyzerResponse :: DeleteAnalyzerResponse
Creating a Request
data DeleteAnalyzer Source #
Deletes an analyzer.
See: newDeleteAnalyzer smart constructor.
Constructors
| DeleteAnalyzer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteAnalyzer |
Create a value of DeleteAnalyzer 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:clientToken:DeleteAnalyzer', deleteAnalyzer_clientToken - A client token.
$sel:analyzerName:DeleteAnalyzer', deleteAnalyzer_analyzerName - The name of the analyzer to delete.
Request Lenses
deleteAnalyzer_clientToken :: Lens' DeleteAnalyzer (Maybe Text) Source #
A client token.
deleteAnalyzer_analyzerName :: Lens' DeleteAnalyzer Text Source #
The name of the analyzer to delete.
Destructuring the Response
data DeleteAnalyzerResponse Source #
See: newDeleteAnalyzerResponse smart constructor.
Constructors
| DeleteAnalyzerResponse' | |
Instances
newDeleteAnalyzerResponse :: DeleteAnalyzerResponse Source #
Create a value of DeleteAnalyzerResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.