aws_sdk_customerprofiles/client/delete_profile_object.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 [`DeleteProfileObject`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`profile_id(impl Into<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::set_profile_id):<br>required: **true**<br><p>The unique identifier of a customer profile.</p><br>
7 /// - [`profile_object_unique_key(impl Into<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::profile_object_unique_key) / [`set_profile_object_unique_key(Option<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::set_profile_object_unique_key):<br>required: **true**<br><p>The unique identifier of the profile object generated by the service.</p><br>
8 /// - [`object_type_name(impl Into<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::object_type_name) / [`set_object_type_name(Option<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::set_object_type_name):<br>required: **true**<br><p>The name of the profile object type.</p><br>
9 /// - [`domain_name(impl Into<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
10 /// - On success, responds with [`DeleteProfileObjectOutput`](crate::operation::delete_profile_object::DeleteProfileObjectOutput) with field(s):
11 /// - [`message(Option<String>)`](crate::operation::delete_profile_object::DeleteProfileObjectOutput::message): <p>A message that indicates the delete request is done.</p>
12 /// - On failure, responds with [`SdkError<DeleteProfileObjectError>`](crate::operation::delete_profile_object::DeleteProfileObjectError)
13 pub fn delete_profile_object(&self) -> crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder {
14 crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::new(self.handle.clone())
15 }
16}