Struct aws_sdk_accessanalyzer::model::AccessPreviewSummary
source · [−]#[non_exhaustive]pub struct AccessPreviewSummary {
pub id: Option<String>,
pub analyzer_arn: Option<String>,
pub created_at: Option<DateTime>,
pub status: Option<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: Option<String>
The unique ID for the access preview.
analyzer_arn: Option<String>
The ARN of the analyzer used to generate the access preview.
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 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
sourceimpl AccessPreviewSummary
impl AccessPreviewSummary
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 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 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.
sourceimpl AccessPreviewSummary
impl AccessPreviewSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessPreviewSummary
.
Trait Implementations
sourceimpl Clone for AccessPreviewSummary
impl Clone for AccessPreviewSummary
sourcefn clone(&self) -> AccessPreviewSummary
fn clone(&self) -> AccessPreviewSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccessPreviewSummary
impl Debug for AccessPreviewSummary
sourceimpl PartialEq<AccessPreviewSummary> for AccessPreviewSummary
impl PartialEq<AccessPreviewSummary> for AccessPreviewSummary
sourcefn eq(&self, other: &AccessPreviewSummary) -> bool
fn eq(&self, other: &AccessPreviewSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccessPreviewSummary) -> bool
fn ne(&self, other: &AccessPreviewSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for AccessPreviewSummary
Auto Trait Implementations
impl RefUnwindSafe for AccessPreviewSummary
impl Send for AccessPreviewSummary
impl Sync for AccessPreviewSummary
impl Unpin for AccessPreviewSummary
impl UnwindSafe for AccessPreviewSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more