APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions

APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions. 2 operations. Lead operation: #Action=ListPolicyVersions. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform#Action=ListPolicyVersions

What You Can Do

GET
Getlistpolicyversions

Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version.

For more information about managed policies, see /v1/action-listpolicyversions

POST
Postlistpolicyversions

Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version.

For more information about managed policies, see /v1/action-listpolicyversions

MCP Tools

p-lists-information-about-versions-specified

Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version.

For more information about managed policies, see read-only idempotent

p-lists-information-about-versions-specified-2

Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version.

For more information about managed policies, see

Capability Spec

naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions. 2 operations.
    Lead operation: #Action=ListPolicyVersions. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - '#Action=ListPolicyVersions'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-iam-action-listpolicyversions
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=ListPolicyVersions'
      path: /#Action=ListPolicyVersions
      operations:
      - name: getlistpolicyversions
        method: GET
        description: <p>Lists information about the versions of the specified managed policy, including the version that is
          currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicyArn
          in: query
          type: string
          description: <p>The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.</p> <p>For more
            information about ARNs, see <a href="https://docs.aws.amazo
          required: true
        - name: Marker
          in: query
          type: string
          description: Use this parameter only when paginating results and only after you receive a response indicating that
            the results are truncated. Set it to the value of the <cod
        - name: MaxItems
          in: query
          type: integer
          description: <p>Use this only when paginating results to indicate the maximum number of items you want in the response.
            If additional items exist beyond the maximum you spec
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postlistpolicyversions
        method: POST
        description: <p>Lists information about the versions of the specified managed policy, including the version that is
          currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: MaxItems
          in: query
          type: string
          description: Pagination limit
        - name: Marker
          in: query
          type: string
          description: Pagination token
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-iam-action-listpolicyversions-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-listpolicyversions
      name: action-listpolicyversions
      description: 'REST surface for #Action=ListPolicyVersions.'
      operations:
      - method: GET
        name: getlistpolicyversions
        description: <p>Lists information about the versions of the specified managed policy, including the version that is
          currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
        call: aws-iam-action-listpolicyversions.getlistpolicyversions
        with:
          PolicyArn: rest.PolicyArn
          Marker: rest.Marker
          MaxItems: rest.MaxItems
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postlistpolicyversions
        description: <p>Lists information about the versions of the specified managed policy, including the version that is
          currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
        call: aws-iam-action-listpolicyversions.postlistpolicyversions
        with:
          MaxItems: rest.MaxItems
          Marker: rest.Marker
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-listpolicyversions-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListPolicyVersions.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-lists-information-about-versions-specified
      description: <p>Lists information about the versions of the specified managed policy, including the version that is
        currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-listpolicyversions.getlistpolicyversions
      with:
        PolicyArn: tools.PolicyArn
        Marker: tools.Marker
        MaxItems: tools.MaxItems
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-lists-information-about-versions-specified-2
      description: <p>Lists information about the versions of the specified managed policy, including the version that is
        currently set as the policy's default version.</p> <p>For more information about managed policies, see <a href="https://docs.aws.amazon.c
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-listpolicyversions.postlistpolicyversions
      with:
        MaxItems: tools.MaxItems
        Marker: tools.Marker
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.