#[non_exhaustive]pub struct DeleteTrafficMirrorSessionInput { /* private fields */ }
Implementations§
source§impl DeleteTrafficMirrorSessionInput
impl DeleteTrafficMirrorSessionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorSession, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorSession, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTrafficMirrorSession
>
Examples found in repository?
src/client.rs (line 29978)
29964 29965 29966 29967 29968 29969 29970 29971 29972 29973 29974 29975 29976 29977 29978 29979 29980 29981 29982 29983 29984 29985 29986 29987 29988 29989 29990 29991 29992 29993 29994 29995 29996 29997 29998 29999 30000 30001 30002 30003 30004 30005 30006
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTrafficMirrorSession,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorSessionError>,
> {
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::DeleteTrafficMirrorSessionOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorSessionError>,
> {
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 DeleteTrafficMirrorSessionInput
.
source§impl DeleteTrafficMirrorSessionInput
impl DeleteTrafficMirrorSessionInput
sourcepub fn traffic_mirror_session_id(&self) -> Option<&str>
pub fn traffic_mirror_session_id(&self) -> Option<&str>
The ID of the Traffic Mirror session.
Trait Implementations§
source§impl Clone for DeleteTrafficMirrorSessionInput
impl Clone for DeleteTrafficMirrorSessionInput
source§fn clone(&self) -> DeleteTrafficMirrorSessionInput
fn clone(&self) -> DeleteTrafficMirrorSessionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more