Struct aws_sdk_ec2::input::CreateNetworkInsightsPathInput
source · #[non_exhaustive]pub struct CreateNetworkInsightsPathInput { /* private fields */ }
Implementations§
source§impl CreateNetworkInsightsPathInput
impl CreateNetworkInsightsPathInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateNetworkInsightsPath, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateNetworkInsightsPath, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateNetworkInsightsPath
>
Examples found in repository?
19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateNetworkInsightsPath,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsPathError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateNetworkInsightsPathOutput,
aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsPathError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateNetworkInsightsPathInput
.
source§impl CreateNetworkInsightsPathInput
impl CreateNetworkInsightsPathInput
sourcepub fn source_ip(&self) -> Option<&str>
pub fn source_ip(&self) -> Option<&str>
The IP address of the Amazon Web Services resource that is the source of the path.
sourcepub fn destination_ip(&self) -> Option<&str>
pub fn destination_ip(&self) -> Option<&str>
The IP address of the Amazon Web Services resource that is the destination of the path.
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The Amazon Web Services resource that is the source of the path.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Amazon Web Services resource that is the destination of the path.
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.
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 more