AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::IAM::Types::ListEntitiesForPolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains the response to a successful ListEntitiesForPolicy request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#is_truncatedBoolean

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

Returns:

  • (Boolean)


5593
5594
5595
5596
5597
5598
5599
5600
5601
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5593

class ListEntitiesForPolicyResponse < Struct.new(
  :policy_groups,
  :policy_users,
  :policy_roles,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end

#markerString

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

Returns:

  • (String)


5593
5594
5595
5596
5597
5598
5599
5600
5601
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5593

class ListEntitiesForPolicyResponse < Struct.new(
  :policy_groups,
  :policy_users,
  :policy_roles,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end

#policy_groupsArray<Types::PolicyGroup>

A list of IAM groups that the policy is attached to.

Returns:



5593
5594
5595
5596
5597
5598
5599
5600
5601
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5593

class ListEntitiesForPolicyResponse < Struct.new(
  :policy_groups,
  :policy_users,
  :policy_roles,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end

#policy_rolesArray<Types::PolicyRole>

A list of IAM roles that the policy is attached to.

Returns:



5593
5594
5595
5596
5597
5598
5599
5600
5601
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5593

class ListEntitiesForPolicyResponse < Struct.new(
  :policy_groups,
  :policy_users,
  :policy_roles,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end

#policy_usersArray<Types::PolicyUser>

A list of IAM users that the policy is attached to.

Returns:



5593
5594
5595
5596
5597
5598
5599
5600
5601
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5593

class ListEntitiesForPolicyResponse < Struct.new(
  :policy_groups,
  :policy_users,
  :policy_roles,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end