This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IAM::ListPoliciesGrantingServiceAccessEntry object:

  $service_obj->Method(Att1 => { Policies => $value, ..., ServiceNamespace => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::ListPoliciesGrantingServiceAccessEntry object:

  $result = $service_obj->Method(...);


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.


Policies => ArrayRef[Paws::IAM::PolicyGrantingServiceAccess]

  The C<PoliciesGrantingServiceAccess> object that contains details about
the policy.

ServiceNamespace => Str

  The namespace of the service that was accessed.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services ( in the IAM User Guide. 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 AWS Service Namespaces ( in the AWS General Reference.


This class forms part of Paws, describing an object used in Paws::IAM


The source code is located here:

Please report bugs to: