aws-sdk-bedrockagentcorecontrol 1.28.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMemory`](crate::operation::get_memory::builders::GetMemoryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`memory_id(impl Into<String>)`](crate::operation::get_memory::builders::GetMemoryFluentBuilder::memory_id) / [`set_memory_id(Option<String>)`](crate::operation::get_memory::builders::GetMemoryFluentBuilder::set_memory_id):<br>required: **true**<br><p>The unique identifier of the memory to retrieve.</p><br>
    ///   - [`view(MemoryView)`](crate::operation::get_memory::builders::GetMemoryFluentBuilder::view) / [`set_view(Option<MemoryView>)`](crate::operation::get_memory::builders::GetMemoryFluentBuilder::set_view):<br>required: **false**<br><p>The level of detail to return for the memory.</p><br>
    /// - On success, responds with [`GetMemoryOutput`](crate::operation::get_memory::GetMemoryOutput) with field(s):
    ///   - [`memory(Option<Memory>)`](crate::operation::get_memory::GetMemoryOutput::memory): <p>The retrieved AgentCore Memory resource details.</p>
    /// - On failure, responds with [`SdkError<GetMemoryError>`](crate::operation::get_memory::GetMemoryError)
    pub fn get_memory(&self) -> crate::operation::get_memory::builders::GetMemoryFluentBuilder {
        crate::operation::get_memory::builders::GetMemoryFluentBuilder::new(self.handle.clone())
    }
}