aws_sdk_customerprofiles/client/get_calculated_attribute_for_profile.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 [`GetCalculatedAttributeForProfile`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
7 /// - [`profile_id(impl Into<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>The unique identifier of a customer profile.</p><br>
8 /// - [`calculated_attribute_name(impl Into<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::calculated_attribute_name) / [`set_calculated_attribute_name(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::set_calculated_attribute_name):<br>required: **true**<br><p>The unique name of the calculated attribute.</p><br>
9 /// - On success, responds with [`GetCalculatedAttributeForProfileOutput`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput) with field(s):
10 /// - [`calculated_attribute_name(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::calculated_attribute_name): <p>The unique name of the calculated attribute.</p>
11 /// - [`display_name(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::display_name): <p>The display name of the calculated attribute.</p>
12 /// - [`is_data_partial(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::is_data_partial): <p>Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.</p>
13 /// - [`value(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::value): <p>The value of the calculated attribute.</p>
14 /// - [`last_object_timestamp(Option<DateTime>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::last_object_timestamp): <p>The timestamp of the newest object included in the calculated attribute calculation.</p>
15 /// - On failure, responds with [`SdkError<GetCalculatedAttributeForProfileError>`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileError)
16 pub fn get_calculated_attribute_for_profile(
17 &self,
18 ) -> crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder {
19 crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::new(self.handle.clone())
20 }
21}