// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateEnvironment`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_name):<br>required: **true**<br>The customer-visible name of the environment.<br>
/// - [`configuration(CreateEnvironmentConfiguration)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::configuration) / [`set_configuration(Option<CreateEnvironmentConfiguration>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_configuration):<br>required: **false**<br>Type-specific configuration. Omission creates a code environment with the default operating policy and no sources.<br>
/// - On success, responds with [`CreateEnvironmentOutput`](crate::operation::create_environment::CreateEnvironmentOutput) with field(s):
/// - [`environment_id(String)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_id): The unique identifier assigned to the environment.
/// - [`environment_arn(String)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_arn): The ARN of the created environment.
/// - [`status(EnvironmentStatus)`](crate::operation::create_environment::CreateEnvironmentOutput::status): The initial status of the environment. Always ACTIVE on successful creation.
/// - [`created_at(DateTime)`](crate::operation::create_environment::CreateEnvironmentOutput::created_at): The timestamp when the environment was created.
/// - On failure, responds with [`SdkError<CreateEnvironmentError>`](crate::operation::create_environment::CreateEnvironmentError)
pub fn create_environment(&self) -> crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder {
crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::new(self.handle.clone())
}
}