Struct aws_sdk_accessanalyzer::types::AccessPreview
source · #[non_exhaustive]pub struct AccessPreview {
pub id: Option<String>,
pub analyzer_arn: Option<String>,
pub configurations: Option<HashMap<String, Configuration>>,
pub created_at: Option<DateTime>,
pub status: Option<AccessPreviewStatus>,
pub status_reason: Option<AccessPreviewStatusReason>,
}Expand description
Contains information about an access preview.
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.id: Option<String>The unique ID for the access preview.
analyzer_arn: Option<String>The ARN of the analyzer used to generate the access preview.
configurations: Option<HashMap<String, Configuration>>A map of resource ARNs for the proposed resource configuration.
created_at: Option<DateTime>The time at which the access preview was created.
status: 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.
status_reason: 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.
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 ==.