#[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: String
The unique ID for the access preview.
analyzer_arn: String
The ARN of the analyzer used to generate the access preview.
created_at: DateTime
The time at which the access preview was created.
status: 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.
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 ==
.impl StructuralPartialEq for AccessPreviewSummary
Auto Trait Implementations§
impl Freeze for AccessPreviewSummary
impl RefUnwindSafe for AccessPreviewSummary
impl Send for AccessPreviewSummary
impl Sync for AccessPreviewSummary
impl Unpin for AccessPreviewSummary
impl UnwindSafe for AccessPreviewSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more