#[non_exhaustive]pub struct CreateNetworkInsightsPathInput {
pub source_ip: Option<String>,
pub destination_ip: Option<String>,
pub source: Option<String>,
pub destination: Option<String>,
pub protocol: Option<Protocol>,
pub destination_port: Option<i32>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub dry_run: Option<bool>,
pub client_token: Option<String>,
pub filter_at_source: Option<PathRequestFilter>,
pub filter_at_destination: Option<PathRequestFilter>,
}
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.source_ip: Option<String>
The IP address of the source.
destination_ip: Option<String>
The IP address of the destination.
source: Option<String>
The ID or ARN of the source. If the resource is in another account, you must specify an ARN.
destination: Option<String>
The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.
protocol: Option<Protocol>
The protocol.
destination_port: Option<i32>
The destination port.
tag_specifications: Option<Vec<TagSpecification>>
The tags to add to the path.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
client_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
filter_at_source: Option<PathRequestFilter>
Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.
filter_at_destination: Option<PathRequestFilter>
Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.
Implementations§
source§impl CreateNetworkInsightsPathInput
impl CreateNetworkInsightsPathInput
sourcepub fn destination_ip(&self) -> Option<&str>
pub fn destination_ip(&self) -> Option<&str>
The IP address of the destination.
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The ID or ARN of the source. If the resource is in another account, you must specify an ARN.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.
sourcepub fn destination_port(&self) -> Option<i32>
pub fn destination_port(&self) -> Option<i32>
The destination port.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to add to the path.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn filter_at_source(&self) -> Option<&PathRequestFilter>
pub fn filter_at_source(&self) -> Option<&PathRequestFilter>
Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.
sourcepub fn filter_at_destination(&self) -> Option<&PathRequestFilter>
pub fn filter_at_destination(&self) -> Option<&PathRequestFilter>
Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.
source§impl CreateNetworkInsightsPathInput
impl CreateNetworkInsightsPathInput
sourcepub fn builder() -> CreateNetworkInsightsPathInputBuilder
pub fn builder() -> CreateNetworkInsightsPathInputBuilder
Creates a new builder-style object to manufacture CreateNetworkInsightsPathInput
.
Trait Implementations§
source§impl Clone for CreateNetworkInsightsPathInput
impl Clone for CreateNetworkInsightsPathInput
source§fn clone(&self) -> CreateNetworkInsightsPathInput
fn clone(&self) -> CreateNetworkInsightsPathInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateNetworkInsightsPathInput> for CreateNetworkInsightsPathInput
impl PartialEq<CreateNetworkInsightsPathInput> for CreateNetworkInsightsPathInput
source§fn eq(&self, other: &CreateNetworkInsightsPathInput) -> bool
fn eq(&self, other: &CreateNetworkInsightsPathInput) -> bool
self
and other
values to be equal, and is used
by ==
.