Struct aws_sdk_accessanalyzer::types::AccessPreview
source · #[non_exhaustive]pub struct AccessPreview { /* private fields */ }Expand description
Contains information about an access preview.
Implementations§
source§impl AccessPreview
impl AccessPreview
sourcepub fn analyzer_arn(&self) -> Option<&str>
pub fn analyzer_arn(&self) -> Option<&str>
The ARN of the analyzer used to generate the access preview.
sourcepub fn configurations(&self) -> Option<&HashMap<String, Configuration>>
pub fn configurations(&self) -> Option<&HashMap<String, Configuration>>
A map of resource ARNs for the proposed resource configuration.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time at which the access preview was created.
sourcepub fn status(&self) -> Option<&AccessPreviewStatus>
pub fn status(&self) -> Option<&AccessPreviewStatus>
The status of the access preview.
-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete. You can preview findings for external access to the resource. -
Failed- The access preview creation has failed.
sourcepub fn status_reason(&self) -> Option<&AccessPreviewStatusReason>
pub fn status_reason(&self) -> Option<&AccessPreviewStatusReason>
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed status is returned. This failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
source§impl AccessPreview
impl AccessPreview
sourcepub fn builder() -> AccessPreviewBuilder
pub fn builder() -> AccessPreviewBuilder
Creates a new builder-style object to manufacture AccessPreview.
Trait Implementations§
source§impl Clone for AccessPreview
impl Clone for AccessPreview
source§fn clone(&self) -> AccessPreview
fn clone(&self) -> AccessPreview
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccessPreview
impl Debug for AccessPreview
source§impl PartialEq<AccessPreview> for AccessPreview
impl PartialEq<AccessPreview> for AccessPreview
source§fn eq(&self, other: &AccessPreview) -> bool
fn eq(&self, other: &AccessPreview) -> bool
self and other values to be equal, and is used
by ==.