#[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
sourceimpl 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.
sourceimpl RouteAnalysisCompletion
impl RouteAnalysisCompletion
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RouteAnalysisCompletion
Trait Implementations
sourceimpl Clone for RouteAnalysisCompletion
impl Clone for RouteAnalysisCompletion
sourcefn clone(&self) -> RouteAnalysisCompletion
fn clone(&self) -> RouteAnalysisCompletion
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 RouteAnalysisCompletion
impl Debug for RouteAnalysisCompletion
sourceimpl PartialEq<RouteAnalysisCompletion> for RouteAnalysisCompletion
impl PartialEq<RouteAnalysisCompletion> for RouteAnalysisCompletion
sourcefn eq(&self, other: &RouteAnalysisCompletion) -> bool
fn eq(&self, other: &RouteAnalysisCompletion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RouteAnalysisCompletion) -> bool
fn ne(&self, other: &RouteAnalysisCompletion) -> bool
This method tests for !=
.
impl StructuralPartialEq for RouteAnalysisCompletion
Auto Trait Implementations
impl RefUnwindSafe for RouteAnalysisCompletion
impl Send for RouteAnalysisCompletion
impl Sync for RouteAnalysisCompletion
impl Unpin for RouteAnalysisCompletion
impl UnwindSafe for RouteAnalysisCompletion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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