

# ListPoliciesGrantingServiceAccessEntry
<a name="API_ListPoliciesGrantingServiceAccessEntry"></a>

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is used as a response element in the [ListPoliciesGrantingServiceAccess](https://docs.amazonaws.cn/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccess.html) operation.

## Contents
<a name="API_ListPoliciesGrantingServiceAccessEntry_Contents"></a>

 ** Policies.member.N **   
The `PoliciesGrantingServiceAccess` object that contains details about the policy.  
Type: Array of [PolicyGrantingServiceAccess](API_PolicyGrantingServiceAccess.md) objects  
Required: No

 ** ServiceNamespace **   
The namespace of the service that was accessed.  
To learn the service namespace of a service, see [Actions, resources, and condition keys for Amazon services](https://docs.amazonaws.cn/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) in the *Service Authorization Reference*. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, `(service prefix: a4b)`. For more information about service namespaces, see [Amazon service namespaces](https://docs.amazonaws.cn/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) in the * Amazon General Reference*.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[\w-]*`   
Required: No

## See Also
<a name="API_ListPoliciesGrantingServiceAccessEntry_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/iam-2010-05-08/ListPoliciesGrantingServiceAccessEntry) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/iam-2010-05-08/ListPoliciesGrantingServiceAccessEntry) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/iam-2010-05-08/ListPoliciesGrantingServiceAccessEntry) 