aws_sdk_datazone/client/create_environment.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
// 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:
/// - [`project_identifier(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::project_identifier) / [`set_project_identifier(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_project_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone project in which this environment is created.</p><br>
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which the environment is created.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_description):<br>required: **false**<br><p>The description of the Amazon DataZone environment.</p><br>
/// - [`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><p>The name of the Amazon DataZone environment.</p><br>
/// - [`environment_profile_identifier(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_profile_identifier) / [`set_environment_profile_identifier(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_profile_identifier):<br>required: **true**<br><p>The identifier of the environment profile that is used to create this Amazon DataZone environment.</p><br>
/// - [`user_parameters(EnvironmentParameter)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::user_parameters) / [`set_user_parameters(Option<Vec::<EnvironmentParameter>>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_user_parameters):<br>required: **false**<br><p>The user parameters of this Amazon DataZone environment.</p><br>
/// - [`glossary_terms(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::glossary_terms) / [`set_glossary_terms(Option<Vec::<String>>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_glossary_terms):<br>required: **false**<br><p>The glossary terms that can be used in this Amazon DataZone environment.</p><br>
/// - [`environment_account_identifier(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_account_identifier) / [`set_environment_account_identifier(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_account_identifier):<br>required: **false**<br><p>The ID of the account in which the environment is being created.</p><br>
/// - [`environment_account_region(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_account_region) / [`set_environment_account_region(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_account_region):<br>required: **false**<br><p>The region of the account in which the environment is being created.</p><br>
/// - [`environment_blueprint_identifier(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_blueprint_identifier) / [`set_environment_blueprint_identifier(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_blueprint_identifier):<br>required: **false**<br><p>The ID of the blueprint with which the environment is being created.</p><br>
/// - [`deployment_order(i32)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::deployment_order) / [`set_deployment_order(Option<i32>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_deployment_order):<br>required: **false**<br><p>The deployment order of the environment.</p><br>
/// - [`environment_configuration_id(impl Into<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::environment_configuration_id) / [`set_environment_configuration_id(Option<String>)`](crate::operation::create_environment::builders::CreateEnvironmentFluentBuilder::set_environment_configuration_id):<br>required: **false**<br><p>The configuration ID of the environment.</p><br>
/// - On success, responds with [`CreateEnvironmentOutput`](crate::operation::create_environment::CreateEnvironmentOutput) with field(s):
/// - [`project_id(String)`](crate::operation::create_environment::CreateEnvironmentOutput::project_id): <p>The ID of the Amazon DataZone project in which this environment is created.</p>
/// - [`id(Option<String>)`](crate::operation::create_environment::CreateEnvironmentOutput::id): <p>The ID of this Amazon DataZone environment.</p>
/// - [`domain_id(String)`](crate::operation::create_environment::CreateEnvironmentOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which the environment is created.</p>
/// - [`created_by(String)`](crate::operation::create_environment::CreateEnvironmentOutput::created_by): <p>The Amazon DataZone user who created this environment.</p>
/// - [`created_at(Option<DateTime>)`](crate::operation::create_environment::CreateEnvironmentOutput::created_at): <p>The timestamp of when the environment was created.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::create_environment::CreateEnvironmentOutput::updated_at): <p>The timestamp of when this environment was updated.</p>
/// - [`name(String)`](crate::operation::create_environment::CreateEnvironmentOutput::name): <p>The name of this environment.</p>
/// - [`description(Option<String>)`](crate::operation::create_environment::CreateEnvironmentOutput::description): <p>The description of this Amazon DataZone environment.</p>
/// - [`environment_profile_id(String)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_profile_id): <p>The ID of the environment profile with which this Amazon DataZone environment was created.</p>
/// - [`aws_account_id(Option<String>)`](crate::operation::create_environment::CreateEnvironmentOutput::aws_account_id): <p>The Amazon Web Services account in which the Amazon DataZone environment is created.</p>
/// - [`aws_account_region(Option<String>)`](crate::operation::create_environment::CreateEnvironmentOutput::aws_account_region): <p>The Amazon Web Services region in which the Amazon DataZone environment is created.</p>
/// - [`provider(String)`](crate::operation::create_environment::CreateEnvironmentOutput::provider): <p>The provider of this Amazon DataZone environment.</p>
/// - [`provisioned_resources(Option<Vec::<Resource>>)`](crate::operation::create_environment::CreateEnvironmentOutput::provisioned_resources): <p>The provisioned resources of this Amazon DataZone environment.</p>
/// - [`status(Option<EnvironmentStatus>)`](crate::operation::create_environment::CreateEnvironmentOutput::status): <p>The status of this Amazon DataZone environment.</p>
/// - [`environment_actions(Option<Vec::<ConfigurableEnvironmentAction>>)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_actions): <p>The configurable actions of this Amazon DataZone environment.</p>
/// - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::create_environment::CreateEnvironmentOutput::glossary_terms): <p>The glossary terms that can be used in this Amazon DataZone environment.</p>
/// - [`user_parameters(Option<Vec::<CustomParameter>>)`](crate::operation::create_environment::CreateEnvironmentOutput::user_parameters): <p>The user parameters of this Amazon DataZone environment.</p>
/// - [`last_deployment(Option<Deployment>)`](crate::operation::create_environment::CreateEnvironmentOutput::last_deployment): <p>The details of the last deployment of this Amazon DataZone environment.</p>
/// - [`provisioning_properties(Option<ProvisioningProperties>)`](crate::operation::create_environment::CreateEnvironmentOutput::provisioning_properties): <p>The provisioning properties of this Amazon DataZone environment.</p>
/// - [`deployment_properties(Option<DeploymentProperties>)`](crate::operation::create_environment::CreateEnvironmentOutput::deployment_properties): <p>The deployment properties of this Amazon DataZone environment.</p>
/// - [`environment_blueprint_id(Option<String>)`](crate::operation::create_environment::CreateEnvironmentOutput::environment_blueprint_id): <p>The ID of the blueprint with which this Amazon DataZone environment was created.</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())
}
}