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

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

Run with Naftiko Engineering Platform#Action=SetDefaultPolicyVersion

What You Can Do

GET
Getsetdefaultpolicyversion

Sets the specified version of the specified policy as the policy's default (operative) version.

This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the poli

/v1/action-setdefaultpolicyversion
POST
Postsetdefaultpolicyversion

Sets the specified version of the specified policy as the policy's default (operative) version.

This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the poli

/v1/action-setdefaultpolicyversion

MCP Tools

p-sets-specified-version-specified-policy

Sets the specified version of the specified policy as the policy's default (operative) version.

This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the poli

read-only idempotent
p-sets-specified-version-specified-policy-2

Sets the specified version of the specified policy as the policy's default (operative) version.

This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the poli

read-only

Capability Spec

aws-iam-action-setdefaultpolicyversion.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=SetDefaultPolicyVersion'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=SetDefaultPolicyVersion. 2 operations.
    Lead operation: #Action=SetDefaultPolicyVersion. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - '#Action=SetDefaultPolicyVersion'
  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-setdefaultpolicyversion
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=SetDefaultPolicyVersion business
      capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=SetDefaultPolicyVersion'
      path: /#Action=SetDefaultPolicyVersion
      operations:
      - name: getsetdefaultpolicyversion
        method: GET
        description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
          <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
          and roles that the poli
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicyArn
          in: query
          type: string
          description: <p>The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.</p> <p>For
            more information about ARNs, see <a href="https://docs.aws
          required: true
        - name: VersionId
          in: query
          type: string
          description: <p>The version of the policy to set as the default (operative) version.</p> <p>For more information
            about managed policy versions, see <a href="https://docs.aws
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postsetdefaultpolicyversion
        method: POST
        description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
          <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
          and roles that the poli
        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-setdefaultpolicyversion-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=SetDefaultPolicyVersion.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-setdefaultpolicyversion
      name: action-setdefaultpolicyversion
      description: 'REST surface for #Action=SetDefaultPolicyVersion.'
      operations:
      - method: GET
        name: getsetdefaultpolicyversion
        description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
          <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
          and roles that the poli
        call: aws-iam-action-setdefaultpolicyversion.getsetdefaultpolicyversion
        with:
          PolicyArn: rest.PolicyArn
          VersionId: rest.VersionId
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postsetdefaultpolicyversion
        description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
          <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
          and roles that the poli
        call: aws-iam-action-setdefaultpolicyversion.postsetdefaultpolicyversion
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-setdefaultpolicyversion-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=SetDefaultPolicyVersion.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-sets-specified-version-specified-policy
      description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
        <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
        and roles that the poli
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-setdefaultpolicyversion.getsetdefaultpolicyversion
      with:
        PolicyArn: tools.PolicyArn
        VersionId: tools.VersionId
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-sets-specified-version-specified-policy-2
      description: <p>Sets the specified version of the specified policy as the policy's default (operative) version.</p>
        <p>This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups,
        and roles that the poli
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: aws-iam-action-setdefaultpolicyversion.postsetdefaultpolicyversion
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.