Struct aws_sdk_iam::model::PolicyGrantingServiceAccess
source · [−]#[non_exhaustive]pub struct PolicyGrantingServiceAccess {
pub policy_name: Option<String>,
pub policy_type: Option<PolicyType>,
pub policy_arn: Option<String>,
pub entity_type: Option<PolicyOwnerEntityType>,
pub entity_name: Option<String>,
}
Expand description
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
This data type is an element of the ListPoliciesGrantingServiceAccessEntry
object.
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.policy_name: Option<String>
The policy name.
policy_type: Option<PolicyType>
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
policy_arn: Option<String>
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
entity_type: Option<PolicyOwnerEntityType>
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
entity_name: Option<String>
The name of the entity (user or role) to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
Implementations
sourceimpl PolicyGrantingServiceAccess
impl PolicyGrantingServiceAccess
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The policy name.
sourcepub fn policy_type(&self) -> Option<&PolicyType>
pub fn policy_type(&self) -> Option<&PolicyType>
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn entity_type(&self) -> Option<&PolicyOwnerEntityType>
pub fn entity_type(&self) -> Option<&PolicyOwnerEntityType>
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
sourcepub fn entity_name(&self) -> Option<&str>
pub fn entity_name(&self) -> Option<&str>
The name of the entity (user or role) to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
sourceimpl PolicyGrantingServiceAccess
impl PolicyGrantingServiceAccess
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PolicyGrantingServiceAccess
Trait Implementations
sourceimpl Clone for PolicyGrantingServiceAccess
impl Clone for PolicyGrantingServiceAccess
sourcefn clone(&self) -> PolicyGrantingServiceAccess
fn clone(&self) -> PolicyGrantingServiceAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PolicyGrantingServiceAccess
impl Debug for PolicyGrantingServiceAccess
sourceimpl PartialEq<PolicyGrantingServiceAccess> for PolicyGrantingServiceAccess
impl PartialEq<PolicyGrantingServiceAccess> for PolicyGrantingServiceAccess
sourcefn eq(&self, other: &PolicyGrantingServiceAccess) -> bool
fn eq(&self, other: &PolicyGrantingServiceAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PolicyGrantingServiceAccess) -> bool
fn ne(&self, other: &PolicyGrantingServiceAccess) -> bool
This method tests for !=
.
impl StructuralPartialEq for PolicyGrantingServiceAccess
Auto Trait Implementations
impl RefUnwindSafe for PolicyGrantingServiceAccess
impl Send for PolicyGrantingServiceAccess
impl Sync for PolicyGrantingServiceAccess
impl Unpin for PolicyGrantingServiceAccess
impl UnwindSafe for PolicyGrantingServiceAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more