#[non_exhaustive]pub struct DeleteTrafficMirrorFilterRuleInput { /* private fields */ }
Implementations§
source§impl DeleteTrafficMirrorFilterRuleInput
impl DeleteTrafficMirrorFilterRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorFilterRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTrafficMirrorFilterRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTrafficMirrorFilterRule
>
Examples found in repository?
src/client.rs (line 29889)
29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTrafficMirrorFilterRule,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorFilterRuleError>,
> {
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::DeleteTrafficMirrorFilterRuleOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTrafficMirrorFilterRuleError>,
> {
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 DeleteTrafficMirrorFilterRuleInput
.
source§impl DeleteTrafficMirrorFilterRuleInput
impl DeleteTrafficMirrorFilterRuleInput
sourcepub fn traffic_mirror_filter_rule_id(&self) -> Option<&str>
pub fn traffic_mirror_filter_rule_id(&self) -> Option<&str>
The ID of the Traffic Mirror rule.
Trait Implementations§
source§impl Clone for DeleteTrafficMirrorFilterRuleInput
impl Clone for DeleteTrafficMirrorFilterRuleInput
source§fn clone(&self) -> DeleteTrafficMirrorFilterRuleInput
fn clone(&self) -> DeleteTrafficMirrorFilterRuleInput
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