aws_sdk_customerprofiles/client/
delete_profile_key.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 [`DeleteProfileKey`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`profile_id(impl Into<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::set_profile_id):<br>required: **true**<br><p>The unique identifier of a customer profile.</p><br>
7    ///   - [`key_name(impl Into<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::key_name) / [`set_key_name(Option<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::set_key_name):<br>required: **true**<br><p>A searchable identifier of a customer profile.</p><br>
8    ///   - [`values(impl Into<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::values) / [`set_values(Option<Vec::<String>>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::set_values):<br>required: **true**<br><p>A list of key values.</p><br>
9    ///   - [`domain_name(impl Into<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
10    /// - On success, responds with [`DeleteProfileKeyOutput`](crate::operation::delete_profile_key::DeleteProfileKeyOutput) with field(s):
11    ///   - [`message(Option<String>)`](crate::operation::delete_profile_key::DeleteProfileKeyOutput::message): <p>A message that indicates the delete request is done.</p>
12    /// - On failure, responds with [`SdkError<DeleteProfileKeyError>`](crate::operation::delete_profile_key::DeleteProfileKeyError)
13    pub fn delete_profile_key(&self) -> crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder {
14        crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::new(self.handle.clone())
15    }
16}