aws_sdk_datazone/client/
get_environment.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetEnvironment`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain where the environment exists.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone environment.</p><br>
8    /// - On success, responds with [`GetEnvironmentOutput`](crate::operation::get_environment::GetEnvironmentOutput) with field(s):
9    ///   - [`project_id(String)`](crate::operation::get_environment::GetEnvironmentOutput::project_id): <p>The ID of the Amazon DataZone project in which this environment is created.</p>
10    ///   - [`id(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::id): <p>The ID of the environment.</p>
11    ///   - [`domain_id(String)`](crate::operation::get_environment::GetEnvironmentOutput::domain_id): <p>The ID of the Amazon DataZone domain where the environment exists.</p>
12    ///   - [`created_by(String)`](crate::operation::get_environment::GetEnvironmentOutput::created_by): <p>The Amazon DataZone user who created the environment.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_environment::GetEnvironmentOutput::created_at): <p>The timestamp of when the environment was created.</p>
14    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_environment::GetEnvironmentOutput::updated_at): <p>The timestamp of when this environment was updated.</p>
15    ///   - [`name(String)`](crate::operation::get_environment::GetEnvironmentOutput::name): <p>The name of the environment.</p>
16    ///   - [`description(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::description): <p>The description of the environment.</p>
17    ///   - [`environment_profile_id(String)`](crate::operation::get_environment::GetEnvironmentOutput::environment_profile_id): <p>The ID of the environment profile with which the environment is created.</p>
18    ///   - [`aws_account_id(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::aws_account_id): <p>The ID of the Amazon Web Services account where the environment exists.</p>
19    ///   - [`aws_account_region(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::aws_account_region): <p>The Amazon Web Services region where the environment exists.</p>
20    ///   - [`provider(String)`](crate::operation::get_environment::GetEnvironmentOutput::provider): <p>The provider of this Amazon DataZone environment.</p>
21    ///   - [`provisioned_resources(Option<Vec::<Resource>>)`](crate::operation::get_environment::GetEnvironmentOutput::provisioned_resources): <p>The provisioned resources of this Amazon DataZone environment.</p>
22    ///   - [`status(Option<EnvironmentStatus>)`](crate::operation::get_environment::GetEnvironmentOutput::status): <p>The status of this Amazon DataZone environment.</p>
23    ///   - [`environment_actions(Option<Vec::<ConfigurableEnvironmentAction>>)`](crate::operation::get_environment::GetEnvironmentOutput::environment_actions): <p>The actions of the environment.</p>
24    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_environment::GetEnvironmentOutput::glossary_terms): <p>The business glossary terms that can be used in this environment.</p>
25    ///   - [`user_parameters(Option<Vec::<CustomParameter>>)`](crate::operation::get_environment::GetEnvironmentOutput::user_parameters): <p>The user parameters of this Amazon DataZone environment.</p>
26    ///   - [`last_deployment(Option<Deployment>)`](crate::operation::get_environment::GetEnvironmentOutput::last_deployment): <p>The details of the last deployment of the environment.</p>
27    ///   - [`provisioning_properties(Option<ProvisioningProperties>)`](crate::operation::get_environment::GetEnvironmentOutput::provisioning_properties): <p>The provisioning properties of this Amazon DataZone environment.</p>
28    ///   - [`deployment_properties(Option<DeploymentProperties>)`](crate::operation::get_environment::GetEnvironmentOutput::deployment_properties): <p>The deployment properties of the environment.</p>
29    ///   - [`environment_blueprint_id(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::environment_blueprint_id): <p>The blueprint with which the environment is created.</p>
30    ///   - [`environment_configuration_id(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::environment_configuration_id): <p>The configuration ID that is used to create the environment.</p>
31    /// - On failure, responds with [`SdkError<GetEnvironmentError>`](crate::operation::get_environment::GetEnvironmentError)
32    pub fn get_environment(&self) -> crate::operation::get_environment::builders::GetEnvironmentFluentBuilder {
33        crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::new(self.handle.clone())
34    }
35}