aws_sdk_customerprofiles/client/
get_calculated_attribute_for_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCalculatedAttributeForProfile`](crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetCalculatedAttributeForProfileOutput`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput) with field(s):
    ///   - [`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>
    ///   - [`display_name(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::display_name): <p>The display name of the calculated attribute.</p>
    ///   - [`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>
    ///   - [`value(Option<String>)`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileOutput::value): <p>The value of the calculated attribute.</p>
    /// - On failure, responds with [`SdkError<GetCalculatedAttributeForProfileError>`](crate::operation::get_calculated_attribute_for_profile::GetCalculatedAttributeForProfileError)
    pub fn get_calculated_attribute_for_profile(
        &self,
    ) -> crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder {
        crate::operation::get_calculated_attribute_for_profile::builders::GetCalculatedAttributeForProfileFluentBuilder::new(self.handle.clone())
    }
}