Struct aws_sdk_iam::model::PolicyGrantingServiceAccess
source · [−]#[non_exhaustive]pub struct PolicyGrantingServiceAccess { /* private fields */ }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.
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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more