aws_sdk_customerprofiles/client/
delete_profile_key.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 [`DeleteProfileKey`](crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteProfileKeyOutput`](crate::operation::delete_profile_key::DeleteProfileKeyOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::delete_profile_key::DeleteProfileKeyOutput::message): <p>A message that indicates the delete request is done.</p>
    /// - On failure, responds with [`SdkError<DeleteProfileKeyError>`](crate::operation::delete_profile_key::DeleteProfileKeyError)
    pub fn delete_profile_key(&self) -> crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder {
        crate::operation::delete_profile_key::builders::DeleteProfileKeyFluentBuilder::new(self.handle.clone())
    }
}