aws_sdk_customerprofiles/client/
put_profile_object.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutProfileObject`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`object_type_name(impl Into<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::object_type_name) / [`set_object_type_name(Option<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::set_object_type_name):<br>required: **true**<br><p>The name of the profile object type.</p><br>
    ///   - [`object(impl Into<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::object) / [`set_object(Option<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::set_object):<br>required: **true**<br><p>A string that is serialized from a JSON object.</p><br>
    ///   - [`domain_name(impl Into<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    /// - On success, responds with [`PutProfileObjectOutput`](crate::operation::put_profile_object::PutProfileObjectOutput) with field(s):
    ///   - [`profile_object_unique_key(Option<String>)`](crate::operation::put_profile_object::PutProfileObjectOutput::profile_object_unique_key): <p>The unique identifier of the profile object generated by the service.</p>
    /// - On failure, responds with [`SdkError<PutProfileObjectError>`](crate::operation::put_profile_object::PutProfileObjectError)
    pub fn put_profile_object(&self) -> crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder {
        crate::operation::put_profile_object::builders::PutProfileObjectFluentBuilder::new(self.handle.clone())
    }
}