#[non_exhaustive]pub struct AccessPreviewSummary {
pub id: String,
pub analyzer_arn: String,
pub created_at: DateTime,
pub status: AccessPreviewStatus,
pub status_reason: Option<AccessPreviewStatusReason>,
}Expand description
Contains a summary of 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: StringThe unique ID for the access preview.
analyzer_arn: StringThe ARN of the analyzer used to generate the access preview.
created_at: DateTimeThe time at which the access preview was created.
status: AccessPreviewStatusThe status of the access preview.
-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the 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 proposed resource configuration.
Implementations§
source§impl AccessPreviewSummary
impl AccessPreviewSummary
sourcepub fn analyzer_arn(&self) -> &str
pub fn analyzer_arn(&self) -> &str
The ARN of the analyzer used to generate the access preview.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time at which the access preview was created.
sourcepub fn status(&self) -> &AccessPreviewStatus
pub fn status(&self) -> &AccessPreviewStatus
The status of the access preview.
-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the 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 proposed resource configuration.
source§impl AccessPreviewSummary
impl AccessPreviewSummary
sourcepub fn builder() -> AccessPreviewSummaryBuilder
pub fn builder() -> AccessPreviewSummaryBuilder
Creates a new builder-style object to manufacture AccessPreviewSummary.
Trait Implementations§
source§impl Clone for AccessPreviewSummary
impl Clone for AccessPreviewSummary
source§fn clone(&self) -> AccessPreviewSummary
fn clone(&self) -> AccessPreviewSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccessPreviewSummary
impl Debug for AccessPreviewSummary
source§impl PartialEq for AccessPreviewSummary
impl PartialEq for AccessPreviewSummary
source§fn eq(&self, other: &AccessPreviewSummary) -> bool
fn eq(&self, other: &AccessPreviewSummary) -> bool
self and other values to be equal, and is used
by ==.