1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEntity`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_workspace_id): <p>The ID of the workspace that contains the entity.</p>
    ///   - [`entity_id(impl Into<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_entity_id): <p>The ID of the entity.</p>
    ///   - [`entity_name(impl Into<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::entity_name) / [`set_entity_name(Option<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_entity_name): <p>The name of the entity.</p>
    ///   - [`description(impl Into<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_description): <p>The description of the entity.</p>
    ///   - [`component_updates(HashMap<String, ComponentUpdateRequest>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::component_updates) / [`set_component_updates(Option<HashMap<String, ComponentUpdateRequest>>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_component_updates): <p>An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.</p>
    ///   - [`parent_entity_update(ParentEntityUpdateRequest)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::parent_entity_update) / [`set_parent_entity_update(Option<ParentEntityUpdateRequest>)`](crate::operation::update_entity::builders::UpdateEntityFluentBuilder::set_parent_entity_update): <p>An object that describes the update request for a parent entity.</p>
    /// - On success, responds with [`UpdateEntityOutput`](crate::operation::update_entity::UpdateEntityOutput) with field(s):
    ///   - [`update_date_time(Option<DateTime>)`](crate::operation::update_entity::UpdateEntityOutput::update_date_time): <p>The date and time when the entity was last updated.</p>
    ///   - [`state(Option<State>)`](crate::operation::update_entity::UpdateEntityOutput::state): <p>The current state of the entity update.</p>
    /// - On failure, responds with [`SdkError<UpdateEntityError>`](crate::operation::update_entity::UpdateEntityError)
    pub fn update_entity(
        &self,
    ) -> crate::operation::update_entity::builders::UpdateEntityFluentBuilder {
        crate::operation::update_entity::builders::UpdateEntityFluentBuilder::new(
            self.handle.clone(),
        )
    }
}