aws-sdk-bedrockagentcore 1.16.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCodeInterpreterSession`](crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`code_interpreter_identifier(impl Into<String>)`](crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder::code_interpreter_identifier) / [`set_code_interpreter_identifier(Option<String>)`](crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder::set_code_interpreter_identifier):<br>required: **true**<br><p>The unique identifier of the code interpreter associated with the session.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the code interpreter session to retrieve.</p><br>
    /// - On success, responds with [`GetCodeInterpreterSessionOutput`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput) with field(s):
    ///   - [`code_interpreter_identifier(String)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::code_interpreter_identifier): <p>The identifier of the code interpreter.</p>
    ///   - [`session_id(String)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::session_id): <p>The identifier of the code interpreter session.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::name): <p>The name of the code interpreter session.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::created_at): <p>The time at which the code interpreter session was created.</p>
    ///   - [`session_timeout_seconds(Option<i32>)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::session_timeout_seconds): <p>The timeout period for the code interpreter session in seconds.</p>
    ///   - [`status(Option<CodeInterpreterSessionStatus>)`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionOutput::status): <p>The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.</p>
    /// - On failure, responds with [`SdkError<GetCodeInterpreterSessionError>`](crate::operation::get_code_interpreter_session::GetCodeInterpreterSessionError)
    pub fn get_code_interpreter_session(&self) -> crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder {
        crate::operation::get_code_interpreter_session::builders::GetCodeInterpreterSessionFluentBuilder::new(self.handle.clone())
    }
}