Struct aws_sdk_workmail::operation::get_impersonation_role_effect::GetImpersonationRoleEffectInput
source · #[non_exhaustive]pub struct GetImpersonationRoleEffectInput {
pub organization_id: Option<String>,
pub impersonation_role_id: Option<String>,
pub target_user: 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 WorkMail organization where the impersonation role is defined.
impersonation_role_id: Option<String>The impersonation role ID to test.
target_user: Option<String>The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
Implementations§
source§impl GetImpersonationRoleEffectInput
impl GetImpersonationRoleEffectInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The WorkMail organization where the impersonation role is defined.
sourcepub fn impersonation_role_id(&self) -> Option<&str>
pub fn impersonation_role_id(&self) -> Option<&str>
The impersonation role ID to test.
sourcepub fn target_user(&self) -> Option<&str>
pub fn target_user(&self) -> Option<&str>
The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
source§impl GetImpersonationRoleEffectInput
impl GetImpersonationRoleEffectInput
sourcepub fn builder() -> GetImpersonationRoleEffectInputBuilder
pub fn builder() -> GetImpersonationRoleEffectInputBuilder
Creates a new builder-style object to manufacture GetImpersonationRoleEffectInput.
Trait Implementations§
source§impl Clone for GetImpersonationRoleEffectInput
impl Clone for GetImpersonationRoleEffectInput
source§fn clone(&self) -> GetImpersonationRoleEffectInput
fn clone(&self) -> GetImpersonationRoleEffectInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetImpersonationRoleEffectInput
impl PartialEq for GetImpersonationRoleEffectInput
source§fn eq(&self, other: &GetImpersonationRoleEffectInput) -> bool
fn eq(&self, other: &GetImpersonationRoleEffectInput) -> bool
self and other values to be equal, and is used
by ==.