aws-sdk-bedrockagentcorecontrol 1.4.0

AWS SDK for Amazon Bedrock Agent Core Control Plane Fronting Layer
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>
    ///   - [`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 ignores the request but does not return an error.</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())
    }
}