aws-sdk-bedrockagentcorecontrol 1.66.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateCodeInterpreter`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_name):<br>required: **true**<br><p>The name of the code interpreter. The name must be unique within your account.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_description):<br>required: **false**<br><p>The description of the code interpreter.</p><br>
    ///   - [`execution_role_arn(impl Into<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_execution_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.</p><br>
    ///   - [`network_configuration(CodeInterpreterNetworkConfiguration)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::network_configuration) / [`set_network_configuration(Option<CodeInterpreterNetworkConfiguration>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_network_configuration):<br>required: **true**<br><p>The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.</p><br>
    ///   - [`certificates(Certificate)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::certificates) / [`set_certificates(Option<Vec::<Certificate>>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_certificates):<br>required: **false**<br><p>A list of certificates to install in the code interpreter.</p><br>
    ///   - [`filesystem_configurations(ToolsFileSystemConfiguration)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::filesystem_configurations) / [`set_filesystem_configurations(Option<Vec::<ToolsFileSystemConfiguration>>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_filesystem_configurations):<br>required: **false**<br><p>The file system configurations to mount into the code interpreter. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::set_tags):<br>required: **false**<br><p>A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p><br>
    /// - On success, responds with [`CreateCodeInterpreterOutput`](crate::operation::create_code_interpreter::CreateCodeInterpreterOutput) with field(s):
    ///   - [`code_interpreter_id(String)`](crate::operation::create_code_interpreter::CreateCodeInterpreterOutput::code_interpreter_id): <p>The unique identifier of the created code interpreter.</p>
    ///   - [`code_interpreter_arn(String)`](crate::operation::create_code_interpreter::CreateCodeInterpreterOutput::code_interpreter_arn): <p>The Amazon Resource Name (ARN) of the created code interpreter.</p>
    ///   - [`created_at(DateTime)`](crate::operation::create_code_interpreter::CreateCodeInterpreterOutput::created_at): <p>The timestamp when the code interpreter was created.</p>
    ///   - [`status(CodeInterpreterStatus)`](crate::operation::create_code_interpreter::CreateCodeInterpreterOutput::status): <p>The current status of the code interpreter.</p>
    /// - On failure, responds with [`SdkError<CreateCodeInterpreterError>`](crate::operation::create_code_interpreter::CreateCodeInterpreterError)
    pub fn create_code_interpreter(&self) -> crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder {
        crate::operation::create_code_interpreter::builders::CreateCodeInterpreterFluentBuilder::new(self.handle.clone())
    }
}