aws_sdk_quicksight/client/delete_user_custom_permission.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 [`DeleteUserCustomPermission`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_name(impl Into<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::set_user_name):<br>required: **true**<br><p>The username of the user that you want to remove custom permissions from.</p><br>
7 /// - [`aws_account_id(impl Into<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the custom permission configuration that you want to delete.</p><br>
8 /// - [`namespace(impl Into<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace that the user belongs to.</p><br>
9 /// - On success, responds with [`DeleteUserCustomPermissionOutput`](crate::operation::delete_user_custom_permission::DeleteUserCustomPermissionOutput) with field(s):
10 /// - [`request_id(Option<String>)`](crate::operation::delete_user_custom_permission::DeleteUserCustomPermissionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11 /// - [`status(i32)`](crate::operation::delete_user_custom_permission::DeleteUserCustomPermissionOutput::status): <p>The HTTP status of the request.</p>
12 /// - On failure, responds with [`SdkError<DeleteUserCustomPermissionError>`](crate::operation::delete_user_custom_permission::DeleteUserCustomPermissionError)
13 pub fn delete_user_custom_permission(
14 &self,
15 ) -> crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder {
16 crate::operation::delete_user_custom_permission::builders::DeleteUserCustomPermissionFluentBuilder::new(self.handle.clone())
17 }
18}