// 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:
/// - [`app_name(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
/// - [`environment_name(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment.</p><br>
/// - [`environment_role_arn(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_role_arn) / [`set_environment_role_arn(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role for the environment.</p><br>
/// - [`environment_role_permission_mode(EnvironmentRolePermissionMode)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_role_permission_mode) / [`set_environment_role_permission_mode(Option<EnvironmentRolePermissionMode>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_role_permission_mode):<br>required: **false**<br><p>The permission mode for the environment's IAM role.</p><br>
/// - [`source_config(EnvironmentSourceConfigRequest)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::source_config) / [`set_source_config(Option<EnvironmentSourceConfigRequest>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_source_config):<br>required: **false**<br><p>The source configuration for the environment.</p><br>
/// - [`gradual_rollout_config(GradualRolloutConfig)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::gradual_rollout_config) / [`set_gradual_rollout_config(Option<GradualRolloutConfig>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_gradual_rollout_config):<br>required: **false**<br><p>The gradual rollout settings for the environment.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the resource.</p><br>
/// - [`web(EnvironmentWebConfigRequest)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::web) / [`set_web(Option<EnvironmentWebConfigRequest>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_web):<br>required: **false**<br><p>The web hosting settings for the environment.</p><br>
/// - [`network_config(EnvironmentNetworkConfigRequest)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::network_config) / [`set_network_config(Option<EnvironmentNetworkConfigRequest>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_network_config):<br>required: **false**<br><p>The VPC network configuration for the environment.</p><br>
/// - [`backend(EnvironmentBackendConfigRequest)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::backend) / [`set_backend(Option<EnvironmentBackendConfigRequest>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_backend):<br>required: **false**<br><p>The backend settings for the environment. You can specify this only when the app has a backend. If you omit this, the default authentication settings and the plan's default database settings are used.</p><br>
/// - On success, responds with [`CreateEnvironmentOutput`](crate::operation::create_environment::CreateEnvironmentOutput) with field(s):
/// - [`environment_arn(String)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_arn): <p>The Amazon Resource Name (ARN) of the environment.</p>
/// - 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())
}
}