aws_sdk_bedrockagentcorecontrol/client/
get_code_interpreter.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 [`GetCodeInterpreter`](crate::operation::get_code_interpreter::builders::GetCodeInterpreterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`code_interpreter_id(impl Into<String>)`](crate::operation::get_code_interpreter::builders::GetCodeInterpreterFluentBuilder::code_interpreter_id) / [`set_code_interpreter_id(Option<String>)`](crate::operation::get_code_interpreter::builders::GetCodeInterpreterFluentBuilder::set_code_interpreter_id):<br>required: **true**<br><p>The unique identifier of the code interpreter to retrieve.</p><br>
7    /// - On success, responds with [`GetCodeInterpreterOutput`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput) with field(s):
8    ///   - [`code_interpreter_id(String)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::code_interpreter_id): <p>The unique identifier of the code interpreter.</p>
9    ///   - [`code_interpreter_arn(String)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::code_interpreter_arn): <p>The Amazon Resource Name (ARN) of the code interpreter.</p>
10    ///   - [`name(String)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::name): <p>The name of the code interpreter.</p>
11    ///   - [`description(Option<String>)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::description): <p>The description of the code interpreter.</p>
12    ///   - [`execution_role_arn(Option<String>)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::execution_role_arn): <p>The IAM role ARN that provides permissions for the code interpreter.</p>
13    ///   - [`network_configuration(Option<CodeInterpreterNetworkConfiguration>)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::network_configuration): <p>The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.</p>
14    ///   - [`status(CodeInterpreterStatus)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::status): <p>The current status of the code interpreter.</p>
15    ///   - [`created_at(DateTime)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::created_at): <p>The timestamp when the code interpreter was created.</p>
16    ///   - [`last_updated_at(DateTime)`](crate::operation::get_code_interpreter::GetCodeInterpreterOutput::last_updated_at): <p>The timestamp when the code interpreter was last updated.</p>
17    /// - On failure, responds with [`SdkError<GetCodeInterpreterError>`](crate::operation::get_code_interpreter::GetCodeInterpreterError)
18    pub fn get_code_interpreter(&self) -> crate::operation::get_code_interpreter::builders::GetCodeInterpreterFluentBuilder {
19        crate::operation::get_code_interpreter::builders::GetCodeInterpreterFluentBuilder::new(self.handle.clone())
20    }
21}