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