Struct aws_sdk_ec2::input::DeleteTrafficMirrorFilterInput
source · #[non_exhaustive]pub struct DeleteTrafficMirrorFilterInput { /* private fields */ }
Implementations§
source§impl DeleteTrafficMirrorFilterInput
impl DeleteTrafficMirrorFilterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorFilter, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorFilter, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTrafficMirrorFilter
>
Examples found in repository?
src/client.rs (line 29803)
29789 29790 29791 29792 29793 29794 29795 29796 29797 29798 29799 29800 29801 29802 29803 29804 29805 29806 29807 29808 29809 29810 29811 29812 29813 29814 29815 29816 29817 29818 29819 29820 29821 29822 29823 29824 29825 29826 29827 29828 29829 29830 29831
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTrafficMirrorFilter,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorFilterError>,
> {
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::DeleteTrafficMirrorFilterOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorFilterError>,
> {
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 DeleteTrafficMirrorFilterInput
.
source§impl DeleteTrafficMirrorFilterInput
impl DeleteTrafficMirrorFilterInput
sourcepub fn traffic_mirror_filter_id(&self) -> Option<&str>
pub fn traffic_mirror_filter_id(&self) -> Option<&str>
The ID of the Traffic Mirror filter.
Trait Implementations§
source§impl Clone for DeleteTrafficMirrorFilterInput
impl Clone for DeleteTrafficMirrorFilterInput
source§fn clone(&self) -> DeleteTrafficMirrorFilterInput
fn clone(&self) -> DeleteTrafficMirrorFilterInput
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