aws_sdk_customerprofiles/client/delete_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 [`DeleteProfile`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`profile_id(impl Into<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>The unique identifier of a customer profile.</p><br>
7 /// - [`domain_name(impl Into<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
8 /// - On success, responds with [`DeleteProfileOutput`](crate::operation::delete_profile::DeleteProfileOutput) with field(s):
9 /// - [`message(Option<String>)`](crate::operation::delete_profile::DeleteProfileOutput::message): <p>A message that indicates the delete request is done.</p>
10 /// - On failure, responds with [`SdkError<DeleteProfileError>`](crate::operation::delete_profile::DeleteProfileError)
11 pub fn delete_profile(&self) -> crate::operation::delete_profile::builders::DeleteProfileFluentBuilder {
12 crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::new(self.handle.clone())
13 }
14}