aws_sdk_iot/client/
delete_command_execution.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCommandExecution`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`execution_id(impl Into<String>)`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::execution_id) / [`set_execution_id(Option<String>)`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::set_execution_id):<br>required: **true**<br><p>The unique identifier of the command execution that you want to delete from your account.</p><br>
    ///   - [`target_arn(impl Into<String>)`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::target_arn) / [`set_target_arn(Option<String>)`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::set_target_arn):<br>required: **true**<br><p>The Amazon Resource Number (ARN) of the target device for which you want to delete command executions.</p><br>
    /// - On success, responds with [`DeleteCommandExecutionOutput`](crate::operation::delete_command_execution::DeleteCommandExecutionOutput)
    /// - On failure, responds with [`SdkError<DeleteCommandExecutionError>`](crate::operation::delete_command_execution::DeleteCommandExecutionError)
    pub fn delete_command_execution(&self) -> crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder {
        crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::new(self.handle.clone())
    }
}