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<IpamDiscoveryFailureReason> for IpamDiscoveryFailureReason
impl PartialEq<IpamDiscoveryFailureReason> 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 ==
.