aws_sdk_customerprofiles/client/
update_calculated_attribute_definition.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCalculatedAttributeDefinition`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`calculated_attribute_name(impl Into<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::calculated_attribute_name) / [`set_calculated_attribute_name(Option<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::set_calculated_attribute_name):<br>required: **true**<br><p>The unique name of the calculated attribute.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of the calculated attribute.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::set_description):<br>required: **false**<br><p>The description of the calculated attribute.</p><br>
    ///   - [`conditions(Conditions)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::conditions) / [`set_conditions(Option<Conditions>)`](crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::set_conditions):<br>required: **false**<br><p>The conditions including range, object count, and threshold for the calculated attribute.</p><br>
    /// - On success, responds with [`UpdateCalculatedAttributeDefinitionOutput`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput) with field(s):
    ///   - [`calculated_attribute_name(Option<String>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::calculated_attribute_name): <p>The unique name of the calculated attribute.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::display_name): <p>The display name of the calculated attribute.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::description): <p>The description of the calculated attribute.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::created_at): <p>The timestamp of when the calculated attribute definition was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::last_updated_at): <p>The timestamp of when the calculated attribute definition was most recently edited.</p>
    ///   - [`statistic(Option<Statistic>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::statistic): <p>The aggregation operation to perform for the calculated attribute.</p>
    ///   - [`conditions(Option<Conditions>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::conditions): <p>The conditions including range, object count, and threshold for the calculated attribute.</p>
    ///   - [`attribute_details(Option<AttributeDetails>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::attribute_details): <p>The mathematical expression and a list of attribute items specified in that expression.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionOutput::tags): <p>The tags used to organize, track, or control access for this resource.</p>
    /// - On failure, responds with [`SdkError<UpdateCalculatedAttributeDefinitionError>`](crate::operation::update_calculated_attribute_definition::UpdateCalculatedAttributeDefinitionError)
    pub fn update_calculated_attribute_definition(
        &self,
    ) -> crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder {
        crate::operation::update_calculated_attribute_definition::builders::UpdateCalculatedAttributeDefinitionFluentBuilder::new(self.handle.clone())
    }
}