aws_sdk_workmail/client/delete_mailbox_permissions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteMailboxPermissions`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier of the organization under which the member (user or group) exists.</p><br>
/// - [`entity_id(impl Into<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::set_entity_id):<br>required: **true**<br><p>The identifier of the entity that owns the mailbox.</p> <p>The identifier can be <i>UserId or Group Id</i>, <i>Username or Groupname</i>, or <i>email</i>.</p> <ul> <li> <p>Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234</p></li> <li> <p>Email address: entity@domain.tld</p></li> <li> <p>Entity name: entity</p></li> </ul><br>
/// - [`grantee_id(impl Into<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::grantee_id) / [`set_grantee_id(Option<String>)`](crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::set_grantee_id):<br>required: **true**<br><p>The identifier of the entity for which to delete granted permissions.</p> <p>The identifier can be <i>UserId, ResourceID, or Group Id</i>, <i>Username or Groupname</i>, or <i>email</i>.</p> <ul> <li> <p>Grantee ID: 12345678-1234-1234-1234-123456789012,r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234</p></li> <li> <p>Email address: grantee@domain.tld</p></li> <li> <p>Grantee name: grantee</p></li> </ul><br>
/// - On success, responds with [`DeleteMailboxPermissionsOutput`](crate::operation::delete_mailbox_permissions::DeleteMailboxPermissionsOutput)
/// - On failure, responds with [`SdkError<DeleteMailboxPermissionsError>`](crate::operation::delete_mailbox_permissions::DeleteMailboxPermissionsError)
pub fn delete_mailbox_permissions(&self) -> crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder {
crate::operation::delete_mailbox_permissions::builders::DeleteMailboxPermissionsFluentBuilder::new(self.handle.clone())
}
}