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

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

Run with Naftiko Engineering Platform#Action=RemoveRoleFromInstanceProfile

What You Can Do

GET
Getremoverolefrominstanceprofile

Removes the specified IAM role from the specified EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role f

/v1/action-removerolefrominstanceprofile
POST
Postremoverolefrominstanceprofile

Removes the specified IAM role from the specified EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role f

/v1/action-removerolefrominstanceprofile

MCP Tools

p-removes-specified-iam-role-specified

Removes the specified IAM role from the specified EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role f

read-only idempotent
p-removes-specified-iam-role-specified-2

Removes the specified IAM role from the specified EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role f

Capability Spec

aws-iam-action-removerolefrominstanceprofile.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=RemoveRoleFromInstanceProfile'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=RemoveRoleFromInstanceProfile. 2
    operations. Lead operation: #Action=RemoveRoleFromInstanceProfile. Self-contained Naftiko capability covering one Engineering
    Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=RemoveRoleFromInstanceProfile'
  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-removerolefrominstanceprofile
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=RemoveRoleFromInstanceProfile
      business capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=RemoveRoleFromInstanceProfile'
      path: /#Action=RemoveRoleFromInstanceProfile
      operations:
      - name: getremoverolefrominstanceprofile
        method: GET
        description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
          that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
          Removing a role f
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: InstanceProfileName
          in: query
          type: string
          description: <p>The name of the instance profile to update.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex
            pattern</a>) a string o
          required: true
        - name: RoleName
          in: query
          type: string
          description: <p>The name of the role to remove.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex
            pattern</a>) a string of characters
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postremoverolefrominstanceprofile
        method: POST
        description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
          that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
          Removing a role f
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-removerolefrominstanceprofile-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=RemoveRoleFromInstanceProfile.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-removerolefrominstanceprofile
      name: action-removerolefrominstanceprofile
      description: 'REST surface for #Action=RemoveRoleFromInstanceProfile.'
      operations:
      - method: GET
        name: getremoverolefrominstanceprofile
        description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
          that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
          Removing a role f
        call: aws-iam-action-removerolefrominstanceprofile.getremoverolefrominstanceprofile
        with:
          InstanceProfileName: rest.InstanceProfileName
          RoleName: rest.RoleName
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postremoverolefrominstanceprofile
        description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
          that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
          Removing a role f
        call: aws-iam-action-removerolefrominstanceprofile.postremoverolefrominstanceprofile
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-removerolefrominstanceprofile-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=RemoveRoleFromInstanceProfile.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-removes-specified-iam-role-specified
      description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
        that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
        Removing a role f
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-removerolefrominstanceprofile.getremoverolefrominstanceprofile
      with:
        InstanceProfileName: tools.InstanceProfileName
        RoleName: tools.RoleName
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-removes-specified-iam-role-specified-2
      description: <p>Removes the specified IAM role from the specified EC2 instance profile.</p> <important> <p>Make sure
        that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile.
        Removing a role f
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-removerolefrominstanceprofile.postremoverolefrominstanceprofile
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.