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 |
Synopsis
- data AnalyzerSummary = AnalyzerSummary' {
- lastResourceAnalyzedAt :: Maybe POSIX
- lastResourceAnalyzed :: Maybe Text
- statusReason :: Maybe StatusReason
- tags :: Maybe (HashMap Text Text)
- arn :: Text
- createdAt :: POSIX
- name :: Text
- status :: AnalyzerStatus
- type' :: Type
- newAnalyzerSummary :: Text -> UTCTime -> Text -> AnalyzerStatus -> Type -> AnalyzerSummary
- analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime)
- analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text)
- analyzerSummary_statusReason :: Lens' AnalyzerSummary (Maybe StatusReason)
- analyzerSummary_tags :: Lens' AnalyzerSummary (Maybe (HashMap Text Text))
- analyzerSummary_arn :: Lens' AnalyzerSummary Text
- analyzerSummary_createdAt :: Lens' AnalyzerSummary UTCTime
- analyzerSummary_name :: Lens' AnalyzerSummary Text
- analyzerSummary_status :: Lens' AnalyzerSummary AnalyzerStatus
- analyzerSummary_type :: Lens' AnalyzerSummary Type
Documentation
data AnalyzerSummary Source #
Contains information about the analyzer.
See: newAnalyzerSummary
smart constructor.
AnalyzerSummary' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> AnalyzerStatus | |
-> Type | |
-> AnalyzerSummary |
Create a value of AnalyzerSummary
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:lastResourceAnalyzedAt:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzedAt
- The time at which the most recently analyzed resource was analyzed.
$sel:lastResourceAnalyzed:AnalyzerSummary'
, analyzerSummary_lastResourceAnalyzed
- The resource that was most recently analyzed by the analyzer.
$sel:statusReason:AnalyzerSummary'
, analyzerSummary_statusReason
- The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
$sel:tags:AnalyzerSummary'
, analyzerSummary_tags
- The tags added to the analyzer.
$sel:arn:AnalyzerSummary'
, analyzerSummary_arn
- The ARN of the analyzer.
$sel:createdAt:AnalyzerSummary'
, analyzerSummary_createdAt
- A timestamp for the time at which the analyzer was created.
$sel:name:AnalyzerSummary'
, analyzerSummary_name
- The name of the analyzer.
$sel:status:AnalyzerSummary'
, analyzerSummary_status
- The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
$sel:type':AnalyzerSummary'
, analyzerSummary_type
- The type of analyzer, which corresponds to the zone of trust chosen for
the analyzer.
analyzerSummary_lastResourceAnalyzedAt :: Lens' AnalyzerSummary (Maybe UTCTime) Source #
The time at which the most recently analyzed resource was analyzed.
analyzerSummary_lastResourceAnalyzed :: Lens' AnalyzerSummary (Maybe Text) Source #
The resource that was most recently analyzed by the analyzer.
analyzerSummary_statusReason :: Lens' AnalyzerSummary (Maybe StatusReason) Source #
The statusReason
provides more details about the current status of the
analyzer. For example, if the creation for the analyzer fails, a
Failed
status is returned. For an analyzer with organization as the
type, this failure can be due to an issue with creating the
service-linked roles required in the member accounts of the Amazon Web
Services organization.
analyzerSummary_tags :: Lens' AnalyzerSummary (Maybe (HashMap Text Text)) Source #
The tags added to the analyzer.
analyzerSummary_arn :: Lens' AnalyzerSummary Text Source #
The ARN of the analyzer.
analyzerSummary_createdAt :: Lens' AnalyzerSummary UTCTime Source #
A timestamp for the time at which the analyzer was created.
analyzerSummary_name :: Lens' AnalyzerSummary Text Source #
The name of the analyzer.
analyzerSummary_status :: Lens' AnalyzerSummary AnalyzerStatus Source #
The status of the analyzer. An Active
analyzer successfully monitors
supported resources and generates new findings. The analyzer is
Disabled
when a user action, such as removing trusted access for
Identity and Access Management Access Analyzer from Organizations,
causes the analyzer to stop generating new findings. The status is
Creating
when the analyzer creation is in progress and Failed
when
the analyzer creation has failed.
analyzerSummary_type :: Lens' AnalyzerSummary Type Source #
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.