1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteUser`](crate::operation::delete_user::builders::DeleteUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`collection_id(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::collection_id) / [`set_collection_id(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_collection_id):<br>required: **true**<br><p>The ID of an existing collection from which the UserID needs to be deleted. </p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_user_id):<br>required: **true**<br><p>ID for the UserID to be deleted. </p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Idempotent token used to identify the request to <code>DeleteUser</code>. If you use the same token with multiple <code>DeleteUser </code>requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.</p><br>
    /// - On success, responds with [`DeleteUserOutput`](crate::operation::delete_user::DeleteUserOutput)
    /// - On failure, responds with [`SdkError<DeleteUserError>`](crate::operation::delete_user::DeleteUserError)
    pub fn delete_user(&self) -> crate::operation::delete_user::builders::DeleteUserFluentBuilder {
        crate::operation::delete_user::builders::DeleteUserFluentBuilder::new(self.handle.clone())
    }
}