Struct aws_sdk_accessanalyzer::model::AnalyzedResource
source · [−]#[non_exhaustive]pub struct AnalyzedResource {
pub resource_arn: Option<String>,
pub resource_type: Option<ResourceType>,
pub created_at: Option<DateTime>,
pub analyzed_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub is_public: Option<bool>,
pub actions: Option<Vec<String>>,
pub shared_via: Option<Vec<String>>,
pub status: Option<FindingStatus>,
pub resource_owner_account: Option<String>,
pub error: Option<String>,
}
Expand description
Contains details about the analyzed resource.
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.resource_arn: Option<String>
The ARN of the resource that was analyzed.
resource_type: Option<ResourceType>
The type of the resource that was analyzed.
created_at: Option<DateTime>
The time at which the finding was created.
analyzed_at: Option<DateTime>
The time at which the resource was analyzed.
updated_at: Option<DateTime>
The time at which the finding was updated.
is_public: Option<bool>
Indicates whether the policy that generated the finding grants public access to the resource.
actions: Option<Vec<String>>
The actions that an external principal is granted permission to use by the policy that generated the finding.
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
status: Option<FindingStatus>
The current status of the finding generated from the analyzed resource.
resource_owner_account: Option<String>
The Amazon Web Services account ID that owns the resource.
error: Option<String>
An error message.
Implementations
sourceimpl AnalyzedResource
impl AnalyzedResource
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the resource that was analyzed.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of the resource that was analyzed.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time at which the finding was created.
sourcepub fn analyzed_at(&self) -> Option<&DateTime>
pub fn analyzed_at(&self) -> Option<&DateTime>
The time at which the resource was analyzed.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The time at which the finding was updated.
sourcepub fn is_public(&self) -> Option<bool>
pub fn is_public(&self) -> Option<bool>
Indicates whether the policy that generated the finding grants public access to the resource.
sourcepub fn actions(&self) -> Option<&[String]>
pub fn actions(&self) -> Option<&[String]>
The actions that an external principal is granted permission to use by the policy that generated the finding.
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
sourcepub fn status(&self) -> Option<&FindingStatus>
pub fn status(&self) -> Option<&FindingStatus>
The current status of the finding generated from the analyzed resource.
sourcepub fn resource_owner_account(&self) -> Option<&str>
pub fn resource_owner_account(&self) -> Option<&str>
The Amazon Web Services account ID that owns the resource.
sourceimpl AnalyzedResource
impl AnalyzedResource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AnalyzedResource
.
Trait Implementations
sourceimpl Clone for AnalyzedResource
impl Clone for AnalyzedResource
sourcefn clone(&self) -> AnalyzedResource
fn clone(&self) -> AnalyzedResource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnalyzedResource
impl Debug for AnalyzedResource
sourceimpl PartialEq<AnalyzedResource> for AnalyzedResource
impl PartialEq<AnalyzedResource> for AnalyzedResource
sourcefn eq(&self, other: &AnalyzedResource) -> bool
fn eq(&self, other: &AnalyzedResource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnalyzedResource) -> bool
fn ne(&self, other: &AnalyzedResource) -> bool
This method tests for !=
.
impl StructuralPartialEq for AnalyzedResource
Auto Trait Implementations
impl RefUnwindSafe for AnalyzedResource
impl Send for AnalyzedResource
impl Sync for AnalyzedResource
impl Unpin for AnalyzedResource
impl UnwindSafe for AnalyzedResource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more