Struct aws_sdk_ec2::types::NetworkInsightsAnalysis
source · #[non_exhaustive]pub struct NetworkInsightsAnalysis {Show 16 fields
pub network_insights_analysis_id: Option<String>,
pub network_insights_analysis_arn: Option<String>,
pub network_insights_path_id: Option<String>,
pub additional_accounts: Option<Vec<String>>,
pub filter_in_arns: Option<Vec<String>>,
pub start_date: Option<DateTime>,
pub status: Option<AnalysisStatus>,
pub status_message: Option<String>,
pub warning_message: Option<String>,
pub network_path_found: Option<bool>,
pub forward_path_components: Option<Vec<PathComponent>>,
pub return_path_components: Option<Vec<PathComponent>>,
pub explanations: Option<Vec<Explanation>>,
pub alternate_path_hints: Option<Vec<AlternatePathHint>>,
pub suggested_accounts: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a network insights analysis.
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.network_insights_analysis_id: Option<String>
The ID of the network insights analysis.
network_insights_analysis_arn: Option<String>
The Amazon Resource Name (ARN) of the network insights analysis.
network_insights_path_id: Option<String>
The ID of the path.
additional_accounts: Option<Vec<String>>
The member accounts that contain resources that the path can traverse.
filter_in_arns: Option<Vec<String>>
The Amazon Resource Names (ARN) of the resources that the path must traverse.
start_date: Option<DateTime>
The time the analysis started.
status: Option<AnalysisStatus>
The status of the network insights analysis.
status_message: Option<String>
The status message, if the status is failed
.
warning_message: Option<String>
The warning message.
network_path_found: Option<bool>
Indicates whether the destination is reachable from the source.
forward_path_components: Option<Vec<PathComponent>>
The components in the path from source to destination.
return_path_components: Option<Vec<PathComponent>>
The components in the path from destination to source.
explanations: Option<Vec<Explanation>>
The explanations. For more information, see Reachability Analyzer explanation codes.
alternate_path_hints: Option<Vec<AlternatePathHint>>
Potential intermediate components.
suggested_accounts: Option<Vec<String>>
Potential intermediate accounts.
The tags.
Implementations§
source§impl NetworkInsightsAnalysis
impl NetworkInsightsAnalysis
sourcepub fn network_insights_analysis_id(&self) -> Option<&str>
pub fn network_insights_analysis_id(&self) -> Option<&str>
The ID of the network insights analysis.
sourcepub fn network_insights_analysis_arn(&self) -> Option<&str>
pub fn network_insights_analysis_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the network insights analysis.
sourcepub fn network_insights_path_id(&self) -> Option<&str>
pub fn network_insights_path_id(&self) -> Option<&str>
The ID of the path.
sourcepub fn additional_accounts(&self) -> &[String]
pub fn additional_accounts(&self) -> &[String]
The member accounts that contain resources that the path can traverse.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_accounts.is_none()
.
sourcepub fn filter_in_arns(&self) -> &[String]
pub fn filter_in_arns(&self) -> &[String]
The Amazon Resource Names (ARN) of the resources that the path must traverse.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filter_in_arns.is_none()
.
sourcepub fn start_date(&self) -> Option<&DateTime>
pub fn start_date(&self) -> Option<&DateTime>
The time the analysis started.
sourcepub fn status(&self) -> Option<&AnalysisStatus>
pub fn status(&self) -> Option<&AnalysisStatus>
The status of the network insights analysis.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message, if the status is failed
.
sourcepub fn warning_message(&self) -> Option<&str>
pub fn warning_message(&self) -> Option<&str>
The warning message.
sourcepub fn network_path_found(&self) -> Option<bool>
pub fn network_path_found(&self) -> Option<bool>
Indicates whether the destination is reachable from the source.
sourcepub fn forward_path_components(&self) -> &[PathComponent]
pub fn forward_path_components(&self) -> &[PathComponent]
The components in the path from source to destination.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .forward_path_components.is_none()
.
sourcepub fn return_path_components(&self) -> &[PathComponent]
pub fn return_path_components(&self) -> &[PathComponent]
The components in the path from destination to source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .return_path_components.is_none()
.
sourcepub fn explanations(&self) -> &[Explanation]
pub fn explanations(&self) -> &[Explanation]
The explanations. For more information, see Reachability Analyzer explanation codes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .explanations.is_none()
.
sourcepub fn alternate_path_hints(&self) -> &[AlternatePathHint]
pub fn alternate_path_hints(&self) -> &[AlternatePathHint]
Potential intermediate components.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .alternate_path_hints.is_none()
.
sourcepub fn suggested_accounts(&self) -> &[String]
pub fn suggested_accounts(&self) -> &[String]
Potential intermediate accounts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .suggested_accounts.is_none()
.
The tags.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl NetworkInsightsAnalysis
impl NetworkInsightsAnalysis
sourcepub fn builder() -> NetworkInsightsAnalysisBuilder
pub fn builder() -> NetworkInsightsAnalysisBuilder
Creates a new builder-style object to manufacture NetworkInsightsAnalysis
.
Trait Implementations§
source§impl Clone for NetworkInsightsAnalysis
impl Clone for NetworkInsightsAnalysis
source§fn clone(&self) -> NetworkInsightsAnalysis
fn clone(&self) -> NetworkInsightsAnalysis
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkInsightsAnalysis
impl Debug for NetworkInsightsAnalysis
source§impl PartialEq for NetworkInsightsAnalysis
impl PartialEq for NetworkInsightsAnalysis
source§fn eq(&self, other: &NetworkInsightsAnalysis) -> bool
fn eq(&self, other: &NetworkInsightsAnalysis) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkInsightsAnalysis
Auto Trait Implementations§
impl Freeze for NetworkInsightsAnalysis
impl RefUnwindSafe for NetworkInsightsAnalysis
impl Send for NetworkInsightsAnalysis
impl Sync for NetworkInsightsAnalysis
impl Unpin for NetworkInsightsAnalysis
impl UnwindSafe for NetworkInsightsAnalysis
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