Struct aws_sdk_iot::operation::delete_mitigation_action::builders::DeleteMitigationActionFluentBuilder
source · pub struct DeleteMitigationActionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteMitigationAction
.
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
Implementations§
source§impl DeleteMitigationActionFluentBuilder
impl DeleteMitigationActionFluentBuilder
sourcepub fn as_input(&self) -> &DeleteMitigationActionInputBuilder
pub fn as_input(&self) -> &DeleteMitigationActionInputBuilder
Access the DeleteMitigationAction as a reference.
sourcepub async fn send(
self
) -> Result<DeleteMitigationActionOutput, SdkError<DeleteMitigationActionError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteMitigationActionOutput, SdkError<DeleteMitigationActionError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteMitigationActionOutput, DeleteMitigationActionError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteMitigationActionOutput, DeleteMitigationActionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the mitigation action that you want to delete.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the mitigation action that you want to delete.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the mitigation action that you want to delete.
Trait Implementations§
source§impl Clone for DeleteMitigationActionFluentBuilder
impl Clone for DeleteMitigationActionFluentBuilder
source§fn clone(&self) -> DeleteMitigationActionFluentBuilder
fn clone(&self) -> DeleteMitigationActionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more