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

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

Run with Naftiko Engineering Platform#Action=UpdateRole

What You Can Do

GET
Getupdaterole — Updates the description or maximum session duration setting of a role.
/v1/action-updaterole
POST
Postupdaterole — Updates the description or maximum session duration setting of a role.
/v1/action-updaterole

MCP Tools

updates-description-maximum-session-duration

Updates the description or maximum session duration setting of a role.

read-only idempotent
updates-description-maximum-session-duration-2

Updates the description or maximum session duration setting of a role.

Capability Spec

aws-iam-action-updaterole.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateRole'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateRole. 2 operations. Lead operation:
    #Action=UpdateRole. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=UpdateRole'
  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-updaterole
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateRole business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=UpdateRole'
      path: /#Action=UpdateRole
      operations:
      - name: getupdaterole
        method: GET
        description: Updates the description or maximum session duration setting of a role.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: RoleName
          in: query
          type: string
          description: The name of the role that you want to modify.
          required: true
        - name: Description
          in: query
          type: string
          description: The new description that you want to apply to the specified role.
        - name: MaxSessionDuration
          in: query
          type: integer
          description: <p>The maximum session duration (in seconds) that you want to set for the specified role. If you do
            not specify a value for this setting, the default value of o
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postupdaterole
        method: POST
        description: Updates the description or maximum session duration setting of a role.
        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-updaterole-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateRole. One
      Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-updaterole
      name: action-updaterole
      description: 'REST surface for #Action=UpdateRole.'
      operations:
      - method: GET
        name: getupdaterole
        description: Updates the description or maximum session duration setting of a role.
        call: aws-iam-action-updaterole.getupdaterole
        with:
          RoleName: rest.RoleName
          Description: rest.Description
          MaxSessionDuration: rest.MaxSessionDuration
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postupdaterole
        description: Updates the description or maximum session duration setting of a role.
        call: aws-iam-action-updaterole.postupdaterole
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-updaterole-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=UpdateRole. One
      tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: updates-description-maximum-session-duration
      description: Updates the description or maximum session duration setting of a role.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-updaterole.getupdaterole
      with:
        RoleName: tools.RoleName
        Description: tools.Description
        MaxSessionDuration: tools.MaxSessionDuration
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: updates-description-maximum-session-duration-2
      description: Updates the description or maximum session duration setting of a role.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-updaterole.postupdaterole
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.