Struct aws_sdk_accessanalyzer::types::AnalyzerSummary
source · #[non_exhaustive]pub struct AnalyzerSummary {
pub arn: String,
pub name: String,
pub type: Type,
pub created_at: DateTime,
pub last_resource_analyzed: Option<String>,
pub last_resource_analyzed_at: Option<DateTime>,
pub tags: Option<HashMap<String, String>>,
pub status: AnalyzerStatus,
pub status_reason: Option<StatusReason>,
pub configuration: Option<AnalyzerConfiguration>,
}
Expand description
Contains information about the analyzer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: String
The ARN of the analyzer.
name: String
The name of the analyzer.
type: Type
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
created_at: DateTime
A timestamp for the time at which the analyzer was created.
last_resource_analyzed: Option<String>
The resource that was most recently analyzed by the analyzer.
last_resource_analyzed_at: Option<DateTime>
The time at which the most recently analyzed resource was analyzed.
The tags added to the analyzer.
status: AnalyzerStatus
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.
status_reason: Option<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.
configuration: Option<AnalyzerConfiguration>
Specifies whether the analyzer is an external access or unused access analyzer.
Implementations§
source§impl AnalyzerSummary
impl AnalyzerSummary
sourcepub fn type(&self) -> &Type
pub fn type(&self) -> &Type
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
A timestamp for the time at which the analyzer was created.
sourcepub fn last_resource_analyzed(&self) -> Option<&str>
pub fn last_resource_analyzed(&self) -> Option<&str>
The resource that was most recently analyzed by the analyzer.
sourcepub fn last_resource_analyzed_at(&self) -> Option<&DateTime>
pub fn last_resource_analyzed_at(&self) -> Option<&DateTime>
The time at which the most recently analyzed resource was analyzed.
The tags added to the analyzer.
sourcepub fn status(&self) -> &AnalyzerStatus
pub fn status(&self) -> &AnalyzerStatus
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.
sourcepub fn status_reason(&self) -> Option<&StatusReason>
pub fn status_reason(&self) -> Option<&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.
sourcepub fn configuration(&self) -> Option<&AnalyzerConfiguration>
pub fn configuration(&self) -> Option<&AnalyzerConfiguration>
Specifies whether the analyzer is an external access or unused access analyzer.
source§impl AnalyzerSummary
impl AnalyzerSummary
sourcepub fn builder() -> AnalyzerSummaryBuilder
pub fn builder() -> AnalyzerSummaryBuilder
Creates a new builder-style object to manufacture AnalyzerSummary
.
Trait Implementations§
source§impl Clone for AnalyzerSummary
impl Clone for AnalyzerSummary
source§fn clone(&self) -> AnalyzerSummary
fn clone(&self) -> AnalyzerSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyzerSummary
impl Debug for AnalyzerSummary
source§impl PartialEq for AnalyzerSummary
impl PartialEq for AnalyzerSummary
source§fn eq(&self, other: &AnalyzerSummary) -> bool
fn eq(&self, other: &AnalyzerSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzerSummary
Auto Trait Implementations§
impl Freeze for AnalyzerSummary
impl RefUnwindSafe for AnalyzerSummary
impl Send for AnalyzerSummary
impl Sync for AnalyzerSummary
impl Unpin for AnalyzerSummary
impl UnwindSafe for AnalyzerSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more