Amazon IoT Device Defender Policies API

The Policies API from Amazon IoT Device Defender — 4 operation(s) for policies.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Identity & Access Management BC-620.20

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /policies/{policyName} Create an IoT policy · Amazon IoT Device Defender Create Policy #
Ask an LLM
“How do I create a new IoT policy with a policy document?”
“Can I tag a policy when I create it?”
Tell an agent
Create IoT policy {policyName} with policy document {policyDocument}.
Create policy {policyName} with document {policyDocument} and tags {tags}.
DELETE /policies/{policyName} Delete an IoT policy · Amazon IoT Device Defender Delete Policy #
Ask an LLM
“How do I delete an IoT policy?”
“Can I delete a policy that is still attached to certificates?”
Tell an agent destructive · confirm first
Delete policy {policyName}.
Remove IoT policy {policyName} from my account.
GET /policies/{policyName} Get an IoT policy and its default version · Amazon IoT Device Defender Get Policy #
Ask an LLM
“What does a particular IoT policy allow, and which version is the default?”
“Can I read the policy document for a named policy?”
Tell an agent
Get policy {policyName}.
Show the default version of IoT policy {policyName}.
POST /policies/{policyName}/version Create a new version of an IoT policy · Amazon IoT Device Defender Create Policy Version #
Ask an LLM
“How do I add a new version to an existing IoT policy?”
“Can I make the new policy version the default when I create it?”
Tell an agent
Create a new version of policy {policyName} with document {policyDocument}.
Create version {setAsDefault} of IoT policy {policyName} using {policyDocument}.
GET /policies/{policyName}/version List versions of an IoT policy · Amazon IoT Device Defender List Policy Versions #
Ask an LLM
“Which versions exist for a given IoT policy?”
“Which version of a policy is the default?”
Tell an agent
List the versions of policy {policyName}.
Show every version of IoT policy {policyName}.
DELETE /policies/{policyName}/version/{policyVersionId} Delete a non-default IoT policy version · Amazon IoT Device Defender Delete Policy Version #
Ask an LLM
“How do I remove an old version of an IoT policy?”
“Can I delete the default version of a policy with this call?”
Tell an agent destructive · confirm first
Delete version {policyVersionId} of policy {policyName}.
Remove non-default policy version {policyVersionId} from {policyName}.
GET /policies/{policyName}/version/{policyVersionId} Get one IoT policy version · Amazon IoT Device Defender Get Policy Version #
Ask an LLM
“What does a specific version of an IoT policy look like?”
“Can I fetch a single policy version by its ID?”
Tell an agent
Get version {policyVersionId} of policy {policyName}.
Show the policy document for version {policyVersionId} of {policyName}.
PATCH /policies/{policyName}/version/{policyVersionId} Make a policy version the default · Amazon IoT Device Defender Set Default Policy Version #
Ask an LLM
“How do I make a particular version of an IoT policy the operative one?”
“Does changing the default policy version affect certificates already attached to it?”
Tell an agent
Set version {policyVersionId} of policy {policyName} as the default.
Make {policyVersionId} the operative version of IoT policy {policyName}.
GET /policies List IoT policies · Amazon IoT Device Defender List Policies #
Ask an LLM
“Which IoT policies do I have defined?”
“Can I list policies in ascending order?”
Tell an agent
List all my IoT policies.
List policies ordered {isAscendingOrder}, {pageSize} per page.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-iot-device-defender:amazon-iot-device-defender-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-iot-device-defender-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2015-05-28
  x-release: v4
  title: AWS IoT Policies API
  description: 'IoT

    IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.


    The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the region that has the resources you want to access.


    The service name used by Amazon Web Services Signature Version 4 to sign the request is: execute-api.


    For more information about how IoT works, see the Developer Guide.


    For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.'
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: iot
  x-aws-signingName: iot
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/iot-2015-05-28.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://iot.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS IoT multi-region endpoint
- url: https://iot.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS IoT multi-region endpoint
- url: http://iot.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS IoT endpoint for China (Beijing) and China (Ningxia)
- url: https://iot.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS IoT endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/amazon-iot-device-defender/openapi/amazon-iot-device-defender-policies-api-openapi.yml