aws_sdk_datazone/client/
update_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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEnvironment`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the domain in which the environment is to be updated.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the environment that is to be updated.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_name):<br>required: **false**<br><p>The name to be updated as part of the <code>UpdateEnvironment</code> action.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_description):<br>required: **false**<br><p>The description to be updated as part of the <code>UpdateEnvironment</code> action.</p><br>
    ///   - [`glossary_terms(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::glossary_terms) / [`set_glossary_terms(Option<Vec::<String>>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_glossary_terms):<br>required: **false**<br><p>The glossary terms to be updated as part of the <code>UpdateEnvironment</code> action.</p><br>
    /// - On success, responds with [`UpdateEnvironmentOutput`](crate::operation::update_environment::UpdateEnvironmentOutput) with field(s):
    ///   - [`project_id(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::project_id): <p>The project identifier of the environment.</p>
    ///   - [`id(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::id): <p>The identifier of the environment that is to be updated.</p>
    ///   - [`domain_id(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::domain_id): <p>The identifier of the domain in which the environment is to be updated.</p>
    ///   - [`created_by(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::created_by): <p>The Amazon DataZone user who created the environment.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_environment::UpdateEnvironmentOutput::created_at): <p>The timestamp of when the environment was created.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_environment::UpdateEnvironmentOutput::updated_at): <p>The timestamp of when the environment was updated.</p>
    ///   - [`name(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::name): <p>The name to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::description): <p>The description to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`environment_profile_id(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::environment_profile_id): <p>The profile identifier of the environment.</p>
    ///   - [`aws_account_id(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::aws_account_id): <p>The identifier of the Amazon Web Services account in which the environment is to be updated.</p>
    ///   - [`aws_account_region(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::aws_account_region): <p>The Amazon Web Services Region in which the environment is updated.</p>
    ///   - [`provider(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::provider): <p>The provider identifier of the environment.</p>
    ///   - [`provisioned_resources(Option<Vec::<Resource>>)`](crate::operation::update_environment::UpdateEnvironmentOutput::provisioned_resources): <p>The provisioned resources to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`status(Option<EnvironmentStatus>)`](crate::operation::update_environment::UpdateEnvironmentOutput::status): <p>The status to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`environment_actions(Option<Vec::<ConfigurableEnvironmentAction>>)`](crate::operation::update_environment::UpdateEnvironmentOutput::environment_actions): <p>The environment actions to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::update_environment::UpdateEnvironmentOutput::glossary_terms): <p>The glossary terms to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`user_parameters(Option<Vec::<CustomParameter>>)`](crate::operation::update_environment::UpdateEnvironmentOutput::user_parameters): <p>The user parameters to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`last_deployment(Option<Deployment>)`](crate::operation::update_environment::UpdateEnvironmentOutput::last_deployment): <p>The last deployment of the environment.</p>
    ///   - [`provisioning_properties(Option<ProvisioningProperties>)`](crate::operation::update_environment::UpdateEnvironmentOutput::provisioning_properties): <p>The provisioning properties to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`deployment_properties(Option<DeploymentProperties>)`](crate::operation::update_environment::UpdateEnvironmentOutput::deployment_properties): <p>The deployment properties to be updated as part of the <code>UpdateEnvironment</code> action.</p>
    ///   - [`environment_blueprint_id(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::environment_blueprint_id): <p>The blueprint identifier of the environment.</p>
    /// - On failure, responds with [`SdkError<UpdateEnvironmentError>`](crate::operation::update_environment::UpdateEnvironmentError)
    pub fn update_environment(&self) -> crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder {
        crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::new(self.handle.clone())
    }
}