#[non_exhaustive]pub enum StatusReasonDetail<'a> {
CreationCancelled,
MissingPermission(MissingPermission<'a>),
AuthorizationFailure(EncodedAuthorizationMessage<'a>),
ResourceErrors(ResourceErrors<'a>),
}
Expand description
Additional detail about a status reason.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CreationCancelled
Resource creation was cancelled, typically due to a preceding failure.
MissingPermission(MissingPermission<'a>)
The CloudFormation principal did not have permission to perform an operation.
This is similar to AuthorizationFailure
but provides some
information without needing to decode the failure message (if any).
AuthorizationFailure(EncodedAuthorizationMessage<'a>)
The CloudFormation principal was not authorized to perform an operation.
This is similar to MissingPermission
but provides no
information without decoding the failure message (if any). AWS does this with the reasoning
that details of why authorization failed might be sensitive. You can decode the message with
EncodedAuthorizationMessage::decode
.
ResourceErrors(ResourceErrors<'a>)
A stack operation failed due to resource errors.
Trait Implementations§
source§impl<'a> Clone for StatusReasonDetail<'a>
impl<'a> Clone for StatusReasonDetail<'a>
source§fn clone(&self) -> StatusReasonDetail<'a>
fn clone(&self) -> StatusReasonDetail<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for StatusReasonDetail<'a>
impl<'a> Debug for StatusReasonDetail<'a>
source§impl<'a> PartialEq for StatusReasonDetail<'a>
impl<'a> PartialEq for StatusReasonDetail<'a>
source§fn eq(&self, other: &StatusReasonDetail<'a>) -> bool
fn eq(&self, other: &StatusReasonDetail<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for StatusReasonDetail<'a>
impl<'a> StructuralPartialEq for StatusReasonDetail<'a>
Auto Trait Implementations§
impl<'a> Freeze for StatusReasonDetail<'a>
impl<'a> RefUnwindSafe for StatusReasonDetail<'a>
impl<'a> Send for StatusReasonDetail<'a>
impl<'a> Sync for StatusReasonDetail<'a>
impl<'a> Unpin for StatusReasonDetail<'a>
impl<'a> UnwindSafe for StatusReasonDetail<'a>
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
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Creates a shared type from an unshared type.