aws_sdk_customerprofiles/client/
delete_profile_object.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteProfileObject`](crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteProfileObjectOutput`](crate::operation::delete_profile_object::DeleteProfileObjectOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::delete_profile_object::DeleteProfileObjectOutput::message): <p>A message that indicates the delete request is done.</p>
    /// - On failure, responds with [`SdkError<DeleteProfileObjectError>`](crate::operation::delete_profile_object::DeleteProfileObjectError)
    pub fn delete_profile_object(&self) -> crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder {
        crate::operation::delete_profile_object::builders::DeleteProfileObjectFluentBuilder::new(self.handle.clone())
    }
}