Skip to content

IAM  >  Structures  >  ListPoliciesGrantingServiceAccessEntry

ListPoliciesGrantingServiceAccessEntry

Structure Class

ListPoliciesGrantingServiceAccessEntry dataclass

Bases: _SerdeShape

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.

Attributes

policies class-attribute instance-attribute
policies: list[PolicyGrantingServiceAccess] | None = ...

TheĀ PoliciesGrantingServiceAccess object that contains details about the policy.

service_namespace class-attribute instance-attribute
service_namespace: str | None = ...

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 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 in theĀ Amazon Web Services General Reference.