Struct aws_sdk_quicksight::types::IamPolicyAssignment
source · #[non_exhaustive]pub struct IamPolicyAssignment {
pub aws_account_id: Option<String>,
pub assignment_id: Option<String>,
pub assignment_name: Option<String>,
pub policy_arn: Option<String>,
pub identities: Option<HashMap<String, Vec<String>>>,
pub assignment_status: Option<AssignmentStatus>,
}Expand description
An Identity and Access Management (IAM) policy assignment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_account_id: Option<String>The Amazon Web Services account ID.
assignment_id: Option<String>Assignment ID.
assignment_name: Option<String>Assignment name.
policy_arn: Option<String>The Amazon Resource Name (ARN) for the IAM policy.
identities: Option<HashMap<String, Vec<String>>>Identities.
assignment_status: Option<AssignmentStatus>Assignment status.
Implementations§
source§impl IamPolicyAssignment
impl IamPolicyAssignment
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn assignment_id(&self) -> Option<&str>
pub fn assignment_id(&self) -> Option<&str>
Assignment ID.
sourcepub fn assignment_name(&self) -> Option<&str>
pub fn assignment_name(&self) -> Option<&str>
Assignment name.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the IAM policy.
sourcepub fn assignment_status(&self) -> Option<&AssignmentStatus>
pub fn assignment_status(&self) -> Option<&AssignmentStatus>
Assignment status.
source§impl IamPolicyAssignment
impl IamPolicyAssignment
sourcepub fn builder() -> IamPolicyAssignmentBuilder
pub fn builder() -> IamPolicyAssignmentBuilder
Creates a new builder-style object to manufacture IamPolicyAssignment.
Trait Implementations§
source§impl Clone for IamPolicyAssignment
impl Clone for IamPolicyAssignment
source§fn clone(&self) -> IamPolicyAssignment
fn clone(&self) -> IamPolicyAssignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IamPolicyAssignment
impl Debug for IamPolicyAssignment
source§impl PartialEq for IamPolicyAssignment
impl PartialEq for IamPolicyAssignment
source§fn eq(&self, other: &IamPolicyAssignment) -> bool
fn eq(&self, other: &IamPolicyAssignment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IamPolicyAssignment
Auto Trait Implementations§
impl RefUnwindSafe for IamPolicyAssignment
impl Send for IamPolicyAssignment
impl Sync for IamPolicyAssignment
impl Unpin for IamPolicyAssignment
impl UnwindSafe for IamPolicyAssignment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.