Amazon IoT Device Management Policies API

The Policies API from Amazon IoT Device Management — 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 with a policy document · Amazon IoT Device Management Create Policy #
Ask an LLM
“How do I create a new IoT policy that devices can be attached to?”
“What is the maximum length of a policy document?”
Tell an agent
Create IoT policy {policyName} with document {policyDocument}.
Create policy {policyName} described by {policyDocument} and tag it {tags}.
DELETE /policies/{policyName} Delete an IoT policy · Amazon IoT Device Management Delete Policy #
Ask an LLM
“Can I delete an IoT policy that is still attached to certificates?”
“What do I need to detach a policy before deleting it?”
Tell an agent destructive · confirm first
Delete IoT policy {policyName}.
Remove the policy {policyName} from my account.
GET /policies/{policyName} Get an IoT policy and its default version · Amazon IoT Device Management Get Policy #
Ask an LLM
“What does a given IoT policy allow, and which version is its default?”
“Can I fetch the policy document for a policy by name?”
Tell an agent
Get IoT policy {policyName}.
Show the default version of policy {policyName}.
POST /policies/{policyName}/version Create a new version of an IoT policy · Amazon IoT Device Management Create Policy Version #
Ask an LLM
“How do I add a new version to an existing IoT policy?”
“Can I make a new policy version the default when I create it?”
Tell an agent
Create a new version of IoT policy {policyName} with document {policyDocument}.
Create version {setAsDefault} of policy {policyName} using {policyDocument}.
GET /policies/{policyName}/version List the versions of an IoT policy · Amazon IoT Device Management List Policy Versions #
Ask an LLM
“Which versions exist for a given IoT policy?”
“Which version of a policy is currently the default?”
Tell an agent
List the versions of IoT policy {policyName}.
Show every version of policy {policyName} and mark its default.
DELETE /policies/{policyName}/version/{policyVersionId} Delete a non-default IoT policy version · Amazon IoT Device Management Delete Policy Version #
Ask an LLM
“Can I delete the default version of a policy with this call?”
“How do I remove an old policy version I no longer use?”
Tell an agent destructive · confirm first
Delete version {policyVersionId} of IoT policy {policyName}.
Remove non-default version {policyVersionId} from policy {policyName}.
GET /policies/{policyName}/version/{policyVersionId} Get one version of an IoT policy · Amazon IoT Device Management 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 IoT policy {policyName}.
Show the policy document for version {policyVersionId} of policy {policyName}.
PATCH /policies/{policyName}/version/{policyVersionId} Make a policy version the default · Amazon IoT Device Management Set Default Policy Version #
Ask an LLM
“How do I change which version of a policy is in effect?”
“Does setting a default policy version affect certificates already attached to it?”
Tell an agent
Set version {policyVersionId} of IoT policy {policyName} as the default.
Make policy {policyName} use version {policyVersionId} as its operative version.
GET /policies List IoT policies · Amazon IoT Device Management List Policies #
Ask an LLM
“Which IoT policies exist in my account?”
“Can I list policies in ascending order by creation date?”
Tell an agent
List all IoT policies.
List policies in ascending order {isAscendingOrder}, {pageSize} per page.

Documentation

Specifications

Schemas & Data

Other Resources

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-management:amazon-iot-device-management-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-management-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-management/openapi/amazon-iot-device-management-policies-api-openapi.yml