Struct aws_sdk_ec2::types::IpamDiscoveryFailureReason
source · #[non_exhaustive]pub struct IpamDiscoveryFailureReason {
pub code: Option<IpamDiscoveryFailureCode>,
pub message: Option<String>,
}
Expand description
The discovery failure reason.
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.code: Option<IpamDiscoveryFailureCode>
The discovery failure code.
-
assume-role-failure
- IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:-
SLR has not been created yet and IPAM is still creating it.
-
You have opted-out of the IPAM home Region.
-
Account you are using as your IPAM account has been suspended.
-
-
throttling-failure
- IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR. -
unauthorized-failure
- Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.
message: Option<String>
The discovery failure message.
Implementations§
source§impl IpamDiscoveryFailureReason
impl IpamDiscoveryFailureReason
sourcepub fn code(&self) -> Option<&IpamDiscoveryFailureCode>
pub fn code(&self) -> Option<&IpamDiscoveryFailureCode>
The discovery failure code.
-
assume-role-failure
- IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:-
SLR has not been created yet and IPAM is still creating it.
-
You have opted-out of the IPAM home Region.
-
Account you are using as your IPAM account has been suspended.
-
-
throttling-failure
- IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR. -
unauthorized-failure
- Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.
source§impl IpamDiscoveryFailureReason
impl IpamDiscoveryFailureReason
sourcepub fn builder() -> IpamDiscoveryFailureReasonBuilder
pub fn builder() -> IpamDiscoveryFailureReasonBuilder
Creates a new builder-style object to manufacture IpamDiscoveryFailureReason
.
Trait Implementations§
source§impl Clone for IpamDiscoveryFailureReason
impl Clone for IpamDiscoveryFailureReason
source§fn clone(&self) -> IpamDiscoveryFailureReason
fn clone(&self) -> IpamDiscoveryFailureReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IpamDiscoveryFailureReason
impl Debug for IpamDiscoveryFailureReason
source§impl PartialEq for IpamDiscoveryFailureReason
impl PartialEq for IpamDiscoveryFailureReason
source§fn eq(&self, other: &IpamDiscoveryFailureReason) -> bool
fn eq(&self, other: &IpamDiscoveryFailureReason) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpamDiscoveryFailureReason
Auto Trait Implementations§
impl Freeze for IpamDiscoveryFailureReason
impl RefUnwindSafe for IpamDiscoveryFailureReason
impl Send for IpamDiscoveryFailureReason
impl Sync for IpamDiscoveryFailureReason
impl Unpin for IpamDiscoveryFailureReason
impl UnwindSafe for IpamDiscoveryFailureReason
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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