โ† API reference
Query / admin

listIAMPolicies

List IAM policies with pagination. Requires iam:listPolicies permission.

Arguments

firstInt

Number of items from the start

lastInt

Number of items from the end

afterString

Cursor to start after

beforeString

Cursor to start before

Filter criteria

Sort order

Returns IAMPolicyConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete IAMPolicyConnection type

Explore in a view

Administration and IAM
View exact SDL
"""
List IAM policies with pagination. Requires iam:listPolicies permission.
"""
listIAMPolicies(
  """Number of items from the start"""
  first: Int
  """Number of items from the end"""
  last: Int
  """Cursor to start after"""
  after: String
  """Cursor to start before"""
  before: String
  """Filter criteria"""
  filter: IAMPolicyFilterInput
  """Sort order"""
  sort: [IAMPolicySortInput!]
): IAMPolicyConnection! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.