class Aws::IAM::Types::ListPoliciesGrantingServiceAccessEntry

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 operation.

@!attribute [rw] service_namespace

The namespace of the service that was accessed.

To learn the service namespace of a service, see [Actions,
resources, and condition keys for Amazon Web Services services][1]
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 Web Services
service namespaces][2] in theĀ *Amazon Web Services General
Reference*.

[1]: https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html
[2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
@return [String]

@!attribute [rw] policies

TheĀ `PoliciesGrantingServiceAccess` object that contains details
about the policy.
@return [Array<Types::PolicyGrantingServiceAccess>]

@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesGrantingServiceAccessEntry AWS API Documentation

Constants

SENSITIVE