Struct aws_sdk_workmail::operation::associate_delegate_to_resource::AssociateDelegateToResourceInput
source · #[non_exhaustive]pub struct AssociateDelegateToResourceInput {
pub organization_id: Option<String>,
pub resource_id: Option<String>,
pub entity_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.organization_id: Option<String>
The organization under which the resource exists.
resource_id: Option<String>
The resource for which members (users or groups) are associated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
entity_id: Option<String>
The member (user or group) to associate to the resource.
The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity: entity
Implementations§
source§impl AssociateDelegateToResourceInput
impl AssociateDelegateToResourceInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The organization under which the resource exists.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource for which members (users or groups) are associated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
sourcepub fn entity_id(&self) -> Option<&str>
pub fn entity_id(&self) -> Option<&str>
The member (user or group) to associate to the resource.
The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity: entity
source§impl AssociateDelegateToResourceInput
impl AssociateDelegateToResourceInput
sourcepub fn builder() -> AssociateDelegateToResourceInputBuilder
pub fn builder() -> AssociateDelegateToResourceInputBuilder
Creates a new builder-style object to manufacture AssociateDelegateToResourceInput
.
Trait Implementations§
source§impl Clone for AssociateDelegateToResourceInput
impl Clone for AssociateDelegateToResourceInput
source§fn clone(&self) -> AssociateDelegateToResourceInput
fn clone(&self) -> AssociateDelegateToResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociateDelegateToResourceInput
impl PartialEq for AssociateDelegateToResourceInput
source§fn eq(&self, other: &AssociateDelegateToResourceInput) -> bool
fn eq(&self, other: &AssociateDelegateToResourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.