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

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

Run with Naftiko Engineering Platform#Action=ListGroupsForUser

What You Can Do

GET
Getlistgroupsforuser

Lists the IAM groups that the specified IAM user belongs to.

You can paginate the results using the MaxItems and Marker parameters.

/v1/action-listgroupsforuser
POST
Postlistgroupsforuser

Lists the IAM groups that the specified IAM user belongs to.

You can paginate the results using the MaxItems and Marker parameters.

/v1/action-listgroupsforuser

MCP Tools

p-lists-iam-groups-that-specified

Lists the IAM groups that the specified IAM user belongs to.

You can paginate the results using the MaxItems and Marker parameters.

read-only idempotent
p-lists-iam-groups-that-specified-2

Lists the IAM groups that the specified IAM user belongs to.

You can paginate the results using the MaxItems and Marker parameters.

Capability Spec

aws-iam-action-listgroupsforuser.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListGroupsForUser'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListGroupsForUser. 2 operations.
    Lead operation: #Action=ListGroupsForUser. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - '#Action=ListGroupsForUser'
  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-listgroupsforuser
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListGroupsForUser business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=ListGroupsForUser'
      path: /#Action=ListGroupsForUser
      operations:
      - name: getlistgroupsforuser
        method: GET
        description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
          the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserName
          in: query
          type: string
          description: <p>The name of the user to list groups for.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex
            pattern</a>) a string of c
          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: postlistgroupsforuser
        method: POST
        description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
          the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
        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-listgroupsforuser-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListGroupsForUser.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-listgroupsforuser
      name: action-listgroupsforuser
      description: 'REST surface for #Action=ListGroupsForUser.'
      operations:
      - method: GET
        name: getlistgroupsforuser
        description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
          the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
        call: aws-iam-action-listgroupsforuser.getlistgroupsforuser
        with:
          UserName: rest.UserName
          Marker: rest.Marker
          MaxItems: rest.MaxItems
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postlistgroupsforuser
        description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
          the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
        call: aws-iam-action-listgroupsforuser.postlistgroupsforuser
        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-listgroupsforuser-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=ListGroupsForUser.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-lists-iam-groups-that-specified
      description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
        the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-listgroupsforuser.getlistgroupsforuser
      with:
        UserName: tools.UserName
        Marker: tools.Marker
        MaxItems: tools.MaxItems
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-lists-iam-groups-that-specified-2
      description: <p>Lists the IAM groups that the specified IAM user belongs to.</p> <p>You can paginate the results using
        the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-listgroupsforuser.postlistgroupsforuser
      with:
        MaxItems: tools.MaxItems
        Marker: tools.Marker
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.