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
impl StructuralPartialEq for IamPolicyAssignment
Auto Trait Implementations§
impl Freeze for IamPolicyAssignment
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.