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

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

Run with Naftiko Engineering Platform#Action=UpdateAssumeRolePolicy

What You Can Do

GET
Getupdateassumerolepolicy — Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see /v1/action-updateassumerolepolicy
POST
Postupdateassumerolepolicy — Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see /v1/action-updateassumerolepolicy

MCP Tools

updates-policy-that-grants-iam

Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see read-only idempotent

updates-policy-that-grants-iam-2

Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see

Capability Spec

naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateAssumeRolePolicy'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateAssumeRolePolicy. 2 operations.
    Lead operation: #Action=UpdateAssumeRolePolicy. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - '#Action=UpdateAssumeRolePolicy'
  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-updateassumerolepolicy
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateAssumeRolePolicy business
      capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=UpdateAssumeRolePolicy'
      path: /#Action=UpdateAssumeRolePolicy
      operations:
      - name: getupdateassumerolepolicy
        method: GET
        description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred
          to as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: RoleName
          in: query
          type: string
          description: '<p>The name of the role to update with the new policy.</p> <p>This parameter allows (through its <a
            href="http://wikipedia.org/wiki/regex">regex pattern</a>) a '
          required: true
        - name: PolicyDocument
          in: query
          type: string
          description: <p>The policy that grants an entity permission to assume the role.</p> <p>You must provide policies
            in JSON format in IAM. However, for CloudFormation templates
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postupdateassumerolepolicy
        method: POST
        description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred
          to as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
        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-updateassumerolepolicy-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateAssumeRolePolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-updateassumerolepolicy
      name: action-updateassumerolepolicy
      description: 'REST surface for #Action=UpdateAssumeRolePolicy.'
      operations:
      - method: GET
        name: getupdateassumerolepolicy
        description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred
          to as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
        call: aws-iam-action-updateassumerolepolicy.getupdateassumerolepolicy
        with:
          RoleName: rest.RoleName
          PolicyDocument: rest.PolicyDocument
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postupdateassumerolepolicy
        description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred
          to as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
        call: aws-iam-action-updateassumerolepolicy.postupdateassumerolepolicy
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-updateassumerolepolicy-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateAssumeRolePolicy.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: updates-policy-that-grants-iam
      description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to
        as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-updateassumerolepolicy.getupdateassumerolepolicy
      with:
        RoleName: tools.RoleName
        PolicyDocument: tools.PolicyDocument
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: updates-policy-that-grants-iam-2
      description: Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to
        as the "role trust policy". For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplev
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-updateassumerolepolicy.postupdateassumerolepolicy
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.