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

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

Run with Naftiko Engineering Platform#Action=ListAttachedRolePolicies

What You Can Do

GET
Getlistattachedrolepolicies

Lists all managed policies that are attached to the specified IAM role.

An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policie

/v1/action-listattachedrolepolicies
POST
Postlistattachedrolepolicies

Lists all managed policies that are attached to the specified IAM role.

An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policie

/v1/action-listattachedrolepolicies

MCP Tools

p-lists-all-managed-policies-that

Lists all managed policies that are attached to the specified IAM role.

An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policie

read-only idempotent
p-lists-all-managed-policies-that-2

Lists all managed policies that are attached to the specified IAM role.

An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policie

read-only

Capability Spec

aws-iam-action-listattachedrolepolicies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListAttachedRolePolicies'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListAttachedRolePolicies. 2 operations.
    Lead operation: #Action=ListAttachedRolePolicies. Self-contained Naftiko capability covering one Engineering Platform
    business surface.'
  tags:
  - Engineering Platform
  - '#Action=ListAttachedRolePolicies'
  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-listattachedrolepolicies
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListAttachedRolePolicies business
      capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=ListAttachedRolePolicies'
      path: /#Action=ListAttachedRolePolicies
      operations:
      - name: getlistattachedrolepolicies
        method: GET
        description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
          have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For
          information about policie
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: RoleName
          in: query
          type: string
          description: <p>The name (friendly name, not ARN) of the role to list attached policies for.</p> <p>This parameter
            allows (through its <a href="http://wikipedia.org/wiki/reg
          required: true
        - name: PathPrefix
          in: query
          type: string
          description: <p>The path prefix for filtering the results. This parameter is optional. If it is not included, it
            defaults to a slash (/), listing all policies.</p> <p>This p
        - 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: postlistattachedrolepolicies
        method: POST
        description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
          have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For
          information about policie
        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-listattachedrolepolicies-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListAttachedRolePolicies.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-listattachedrolepolicies
      name: action-listattachedrolepolicies
      description: 'REST surface for #Action=ListAttachedRolePolicies.'
      operations:
      - method: GET
        name: getlistattachedrolepolicies
        description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
          have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For
          information about policie
        call: aws-iam-action-listattachedrolepolicies.getlistattachedrolepolicies
        with:
          RoleName: rest.RoleName
          PathPrefix: rest.PathPrefix
          Marker: rest.Marker
          MaxItems: rest.MaxItems
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postlistattachedrolepolicies
        description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
          have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For
          information about policie
        call: aws-iam-action-listattachedrolepolicies.postlistattachedrolepolicies
        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-listattachedrolepolicies-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListAttachedRolePolicies.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-lists-all-managed-policies-that
      description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
        have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For information
        about policie
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-listattachedrolepolicies.getlistattachedrolepolicies
      with:
        RoleName: tools.RoleName
        PathPrefix: tools.PathPrefix
        Marker: tools.Marker
        MaxItems: tools.MaxItems
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-lists-all-managed-policies-that-2
      description: <p>Lists all managed policies that are attached to the specified IAM role.</p> <p>An IAM role can also
        have inline policies embedded with it. To list the inline policies for a role, use <a>ListRolePolicies</a>. For information
        about policie
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: aws-iam-action-listattachedrolepolicies.postlistattachedrolepolicies
      with:
        MaxItems: tools.MaxItems
        Marker: tools.Marker
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.