#[non_exhaustive]pub struct GetFindingV2Output {
pub analyzed_at: DateTime,
pub created_at: DateTime,
pub error: Option<String>,
pub id: String,
pub next_token: Option<String>,
pub resource: Option<String>,
pub resource_type: ResourceType,
pub resource_owner_account: String,
pub status: FindingStatus,
pub updated_at: DateTime,
pub finding_details: Vec<FindingDetails>,
pub finding_type: Option<FindingType>,
/* private fields */
}
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.analyzed_at: DateTime
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
created_at: DateTime
The time at which the finding was created.
error: Option<String>
An error.
id: String
The ID of the finding to retrieve.
next_token: Option<String>
A token used for pagination of results returned.
resource: Option<String>
The resource that generated the finding.
resource_type: ResourceType
The type of the resource identified in the finding.
resource_owner_account: String
Tye Amazon Web Services account ID that owns the resource.
status: FindingStatus
The status of the finding.
updated_at: DateTime
The time at which the finding was updated.
finding_details: Vec<FindingDetails>
A localized message that explains the finding and provides guidance on how to address it.
finding_type: Option<FindingType>
The type of the finding. For external access analyzers, the type is ExternalAccess
. For unused access analyzers, the type can be UnusedIAMRole
, UnusedIAMUserAccessKey
, UnusedIAMUserPassword
, or UnusedPermission
.
Implementations§
source§impl GetFindingV2Output
impl GetFindingV2Output
sourcepub fn analyzed_at(&self) -> &DateTime
pub fn analyzed_at(&self) -> &DateTime
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time at which the finding was created.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token used for pagination of results returned.
sourcepub fn resource_type(&self) -> &ResourceType
pub fn resource_type(&self) -> &ResourceType
The type of the resource identified in the finding.
sourcepub fn resource_owner_account(&self) -> &str
pub fn resource_owner_account(&self) -> &str
Tye Amazon Web Services account ID that owns the resource.
sourcepub fn status(&self) -> &FindingStatus
pub fn status(&self) -> &FindingStatus
The status of the finding.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The time at which the finding was updated.
sourcepub fn finding_details(&self) -> &[FindingDetails]
pub fn finding_details(&self) -> &[FindingDetails]
A localized message that explains the finding and provides guidance on how to address it.
sourcepub fn finding_type(&self) -> Option<&FindingType>
pub fn finding_type(&self) -> Option<&FindingType>
The type of the finding. For external access analyzers, the type is ExternalAccess
. For unused access analyzers, the type can be UnusedIAMRole
, UnusedIAMUserAccessKey
, UnusedIAMUserPassword
, or UnusedPermission
.
source§impl GetFindingV2Output
impl GetFindingV2Output
sourcepub fn builder() -> GetFindingV2OutputBuilder
pub fn builder() -> GetFindingV2OutputBuilder
Creates a new builder-style object to manufacture GetFindingV2Output
.
Trait Implementations§
source§impl Clone for GetFindingV2Output
impl Clone for GetFindingV2Output
source§fn clone(&self) -> GetFindingV2Output
fn clone(&self) -> GetFindingV2Output
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFindingV2Output
impl Debug for GetFindingV2Output
source§impl PartialEq for GetFindingV2Output
impl PartialEq for GetFindingV2Output
source§fn eq(&self, other: &GetFindingV2Output) -> bool
fn eq(&self, other: &GetFindingV2Output) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetFindingV2Output
impl RequestId for GetFindingV2Output
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetFindingV2Output
Auto Trait Implementations§
impl Freeze for GetFindingV2Output
impl RefUnwindSafe for GetFindingV2Output
impl Send for GetFindingV2Output
impl Sync for GetFindingV2Output
impl Unpin for GetFindingV2Output
impl UnwindSafe for GetFindingV2Output
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