#[non_exhaustive]pub struct RouteAnalysisCompletion {
pub result_code: Option<RouteAnalysisCompletionResultCode>,
pub reason_code: Option<RouteAnalysisCompletionReasonCode>,
pub reason_context: Option<HashMap<String, String>>,
}
Expand description
Describes the status of an analysis at completion.
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.result_code: Option<RouteAnalysisCompletionResultCode>
The result of the analysis. If the status is NOT_CONNECTED
, check the reason code.
reason_code: Option<RouteAnalysisCompletionReasonCode>
The reason code. Available only if a connection is not found.
-
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND
- Found a black hole route with the destination CIDR block. -
CYCLIC_PATH_DETECTED
- Found the same resource multiple times while traversing the path. -
INACTIVE_ROUTE_FOR_DESTINATION_FOUND
- Found an inactive route with the destination CIDR block. -
MAX_HOPS_EXCEEDED
- Analysis exceeded 64 hops without finding the destination. -
ROUTE_NOT_FOUND
- Cannot find a route table with the destination CIDR block. -
TGW_ATTACH_ARN_NO_MATCH
- Found an attachment, but not with the correct destination ARN. -
TGW_ATTACH_NOT_FOUND
- Cannot find an attachment. -
TGW_ATTACH_NOT_IN_TGW
- Found an attachment, but not to the correct transit gateway. -
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND
- The state of the route table association is not associated.
reason_context: Option<HashMap<String, String>>
Additional information about the path. Available only if a connection is not found.
Implementations§
source§impl RouteAnalysisCompletion
impl RouteAnalysisCompletion
sourcepub fn result_code(&self) -> Option<&RouteAnalysisCompletionResultCode>
pub fn result_code(&self) -> Option<&RouteAnalysisCompletionResultCode>
The result of the analysis. If the status is NOT_CONNECTED
, check the reason code.
sourcepub fn reason_code(&self) -> Option<&RouteAnalysisCompletionReasonCode>
pub fn reason_code(&self) -> Option<&RouteAnalysisCompletionReasonCode>
The reason code. Available only if a connection is not found.
-
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND
- Found a black hole route with the destination CIDR block. -
CYCLIC_PATH_DETECTED
- Found the same resource multiple times while traversing the path. -
INACTIVE_ROUTE_FOR_DESTINATION_FOUND
- Found an inactive route with the destination CIDR block. -
MAX_HOPS_EXCEEDED
- Analysis exceeded 64 hops without finding the destination. -
ROUTE_NOT_FOUND
- Cannot find a route table with the destination CIDR block. -
TGW_ATTACH_ARN_NO_MATCH
- Found an attachment, but not with the correct destination ARN. -
TGW_ATTACH_NOT_FOUND
- Cannot find an attachment. -
TGW_ATTACH_NOT_IN_TGW
- Found an attachment, but not to the correct transit gateway. -
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND
- The state of the route table association is not associated.
source§impl RouteAnalysisCompletion
impl RouteAnalysisCompletion
sourcepub fn builder() -> RouteAnalysisCompletionBuilder
pub fn builder() -> RouteAnalysisCompletionBuilder
Creates a new builder-style object to manufacture RouteAnalysisCompletion
.
Trait Implementations§
source§impl Clone for RouteAnalysisCompletion
impl Clone for RouteAnalysisCompletion
source§fn clone(&self) -> RouteAnalysisCompletion
fn clone(&self) -> RouteAnalysisCompletion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouteAnalysisCompletion
impl Debug for RouteAnalysisCompletion
source§impl PartialEq for RouteAnalysisCompletion
impl PartialEq for RouteAnalysisCompletion
source§fn eq(&self, other: &RouteAnalysisCompletion) -> bool
fn eq(&self, other: &RouteAnalysisCompletion) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteAnalysisCompletion
Auto Trait Implementations§
impl Freeze for RouteAnalysisCompletion
impl RefUnwindSafe for RouteAnalysisCompletion
impl Send for RouteAnalysisCompletion
impl Sync for RouteAnalysisCompletion
impl Unpin for RouteAnalysisCompletion
impl UnwindSafe for RouteAnalysisCompletion
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