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 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.
DeleteAnalyzer' | |
|
Instances
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.
Instances
Eq DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer | |
Read DeleteAnalyzerResponse Source # | |
Show DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer showsPrec :: Int -> DeleteAnalyzerResponse -> ShowS # show :: DeleteAnalyzerResponse -> String # showList :: [DeleteAnalyzerResponse] -> ShowS # | |
Generic DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer type Rep DeleteAnalyzerResponse :: Type -> Type # | |
NFData DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer rnf :: DeleteAnalyzerResponse -> () # | |
type Rep DeleteAnalyzerResponse Source # | |
Defined in Amazonka.AccessAnalyzer.DeleteAnalyzer |
newDeleteAnalyzerResponse :: DeleteAnalyzerResponse Source #
Create a value of DeleteAnalyzerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.