// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteMemory`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`space_id(impl Into<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::set_space_id):<br>required: **true**<br><p>The ID of the space that owns the memory.</p><br>
/// - [`memory_id(impl Into<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::memory_id) / [`set_memory_id(Option<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::set_memory_id):<br>required: **true**<br><p>The ID of the memory to delete.</p><br>
/// - [`actor_id(impl Into<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::actor_id) / [`set_actor_id(Option<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::set_actor_id):<br>required: **false**<br><p>The ID of the actor that the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with <code>ResourceNotFoundException</code>, as if the memory did not exist.</p><br>
/// - [`strategy_name(impl Into<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::strategy_name) / [`set_strategy_name(Option<String>)`](crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::set_strategy_name):<br>required: **false**<br><p>The name of the strategy that the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with <code>ResourceNotFoundException</code>, as if the memory did not exist.</p><br>
/// - On success, responds with [`DeleteMemoryOutput`](crate::operation::delete_memory::DeleteMemoryOutput) with field(s):
/// - [`memory_id(String)`](crate::operation::delete_memory::DeleteMemoryOutput::memory_id): <p>The ID of the deleted memory.</p>
/// - On failure, responds with [`SdkError<DeleteMemoryError>`](crate::operation::delete_memory::DeleteMemoryError)
pub fn delete_memory(&self) -> crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder {
crate::operation::delete_memory::builders::DeleteMemoryFluentBuilder::new(self.handle.clone())
}
}