aws_sdk_iot/client/delete_command_execution.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteCommandExecution`](crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteCommandExecutionOutput`](crate::operation::delete_command_execution::DeleteCommandExecutionOutput)
9 /// - On failure, responds with [`SdkError<DeleteCommandExecutionError>`](crate::operation::delete_command_execution::DeleteCommandExecutionError)
10 pub fn delete_command_execution(&self) -> crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder {
11 crate::operation::delete_command_execution::builders::DeleteCommandExecutionFluentBuilder::new(self.handle.clone())
12 }
13}