#[non_exhaustive]pub struct DescribeDetectMitigationActionsTaskInput { /* private fields */ }
Implementations§
source§impl DescribeDetectMitigationActionsTaskInput
impl DescribeDetectMitigationActionsTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDetectMitigationActionsTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDetectMitigationActionsTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeDetectMitigationActionsTask
>
Examples found in repository?
src/client.rs (line 12292)
12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeDetectMitigationActionsTask,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DescribeDetectMitigationActionsTaskError,
>,
> {
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::DescribeDetectMitigationActionsTaskOutput,
aws_smithy_http::result::SdkError<
crate::error::DescribeDetectMitigationActionsTaskError,
>,
> {
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 DescribeDetectMitigationActionsTaskInput
.
Trait Implementations§
source§impl Clone for DescribeDetectMitigationActionsTaskInput
impl Clone for DescribeDetectMitigationActionsTaskInput
source§fn clone(&self) -> DescribeDetectMitigationActionsTaskInput
fn clone(&self) -> DescribeDetectMitigationActionsTaskInput
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