Struct aws_sdk_accessanalyzer::types::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§
source§impl 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.
source§impl AnalyzedResource
impl AnalyzedResource
sourcepub fn builder() -> AnalyzedResourceBuilder
pub fn builder() -> AnalyzedResourceBuilder
Creates a new builder-style object to manufacture AnalyzedResource.
Trait Implementations§
source§impl Clone for AnalyzedResource
impl Clone for AnalyzedResource
source§fn clone(&self) -> AnalyzedResource
fn clone(&self) -> AnalyzedResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyzedResource
impl Debug for AnalyzedResource
source§impl PartialEq for AnalyzedResource
impl PartialEq for AnalyzedResource
source§fn eq(&self, other: &AnalyzedResource) -> bool
fn eq(&self, other: &AnalyzedResource) -> bool
self and other values to be equal, and is used
by ==.