Amazon IoT Core Iot Core Log Levels API

The Iot Core Log Levels API from Amazon IoT Core — 2 operation(s) for iot core log levels.

GitHub OpenAPI

Operations 6

GET /log-levels Get Log Levels By Resource Types #
DELETE /log-levels Reset All Resource Log Levels #
POST /log-levels Update Log Levels By Resource Types #
GET /log-levels/{ResourceIdentifier} Get Resource Log Level #
PUT /log-levels/{ResourceIdentifier} Put Resource Log Level #
DELETE /log-levels/{ResourceIdentifier} Reset Resource Log Level #

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-core:amazon-iot-core-log-levels-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-core-log-levels-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Log Levels API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://api.iotwireless.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /log-levels:
    get:
      operationId: GetLogLevelsByResourceTypes
      summary: Get Log Levels By Resource Types
      description: Returns current default log levels or log levels by resource types. Based on the resource type, log levels
        can be returned for wireless device, wireless gateway, or FUOTA task log options.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLogLevelsByResourceTypesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      tags:
      - Log Levels
    delete:
      operationId: ResetAllResourceLogLevels
      summary: Reset All Resource Log Levels
      description: Removes the log-level overrides for all resources; wireless devices, wireless gateways, and FUOTA tasks.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResetAllResourceLogLevelsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      tags:
      - Log Levels
    post:
      operationId: UpdateLogLevelsByResourceTypes
      summary: Update Log Levels By Resource Types
      description: Set default log level, or log levels by resource types. This can be for wireless device, wireless gateway,
        or FUOTA task log options, and is used to control the log messages that'll be displayed in CloudWatch.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateLogLevelsByResourceTypesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                DefaultLogLevel:
                  type: string
                  enum:
                  - INFO
                  - ERROR
                  - DISABLED
                FuotaTaskLogOptions:
                  type: array
                  items:
                    $ref: '#/components/schemas/FuotaTaskLogOption'
                WirelessDeviceLogOptions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WirelessDeviceLogOption'
                WirelessGatewayLogOptions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WirelessGatewayLogOption'
      tags:
      - Log Levels
  /log-levels/{ResourceIdentifier}:
    get:
      operationId: GetResourceLogLevel
      summary: Get Resource Log Level
      description: Fetches the log-level override, if any, for a given resource ID and resource type..
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResourceLogLevelResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      parameters:
      - name: ResourceIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: resourceType
        in: query
        required: true
        schema:
          type: string
        description: The type of resource, which can be WirelessDevice, WirelessGateway, or FuotaTask.
      tags:
      - Log Levels
    put:
      operationId: PutResourceLogLevel
      summary: Put Resource Log Level
      description: Sets the log-level override for a resource ID and resource type. A limit of 200 log level override can
        be set per account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutResourceLogLevelResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      parameters:
      - name: ResourceIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: resourceType
        in: query
        required: true
        schema:
          type: string
        description: The type of resource, which can be WirelessDevice, WirelessGateway, or FuotaTask.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                LogLevel:
                  type: string
                  enum:
                  - INFO
                  - ERROR
                  - DISABLED
              required:
              - LogLevel
      tags:
      - Log Levels
    delete:
      operationId: ResetResourceLogLevel
      summary: Reset Resource Log Level
      description: Removes the log-level override, if any, for a specific resource ID and resource type. It can be used for
        a wireless device, a wireless gateway, or a FUOTA task.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResetResourceLogLevelResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotwirelessValidationException'
      parameters:
      - name: ResourceIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: resourceType
        in: query
        required: true
        schema:
          type: string
        description: The type of resource, which can be WirelessDevice, WirelessGateway, or FuotaTask.
      tags:
      - Log Levels
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: iotwireless
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ApiIotwirelessConflictException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: Id of the resource in the conflicting operation.
        ResourceType:
          type: string
          description: Type of the resource in the conflicting operation.
    ApiIotwirelessInternalServerException:
      type: object
      properties:
        Message:
          type: string
    ApiIotwirelessResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: Id of the not found resource.
        ResourceType:
          type: string
          description: Type of the font found resource.
    ApiIotwirelessThrottlingException:
      type: object
      properties:
        Message:
          type: string
    ApiIotwirelessValidationException:
      type: object
      properties:
        Message:
          type: string
    FuotaTaskEventLogOption:
      type: object
      properties:
        Event:
          type: string
          enum:
          - Fuota
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
      required:
      - Event
      - LogLevel
    FuotaTaskLogOption:
      type: object
      properties:
        Type:
          type: string
          enum:
          - LoRaWAN
          description: The FUOTA task type.
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
        Events:
          type: array
          items:
            $ref: '#/components/schemas/FuotaTaskEventLogOption'
      required:
      - Type
      - LogLevel
    GetLogLevelsByResourceTypesResponse:
      type: object
      properties:
        DefaultLogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
        WirelessGatewayLogOptions:
          type: array
          items:
            $ref: '#/components/schemas/WirelessGatewayLogOption'
        WirelessDeviceLogOptions:
          type: array
          items:
            $ref: '#/components/schemas/WirelessDeviceLogOption'
        FuotaTaskLogOptions:
          type: array
          items:
            $ref: '#/components/schemas/FuotaTaskLogOption'
    GetResourceLogLevelResponse:
      type: object
      properties:
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
    PutResourceLogLevelResponse:
      type: object
      properties: {}
    ResetAllResourceLogLevelsResponse:
      type: object
      properties: {}
    ResetResourceLogLevelResponse:
      type: object
      properties: {}
    UpdateLogLevelsByResourceTypesResponse:
      type: object
      properties: {}
    WirelessDeviceEventLogOption:
      type: object
      properties:
        Event:
          type: string
          enum:
          - Join
          - Rejoin
          - Uplink_Data
          - Downlink_Data
          - Registration
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
      required:
      - Event
      - LogLevel
    WirelessDeviceLogOption:
      type: object
      properties:
        Type:
          type: string
          enum:
          - Sidewalk
          - LoRaWAN
          description: The wireless device type.
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
        Events:
          type: array
          items:
            $ref: '#/components/schemas/WirelessDeviceEventLogOption'
      required:
      - Type
      - LogLevel
    WirelessGatewayEventLogOption:
      type: object
      properties:
        Event:
          type: string
          enum:
          - CUPS_Request
          - Certificate
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
      required:
      - Event
      - LogLevel
    WirelessGatewayLogOption:
      type: object
      properties:
        Type:
          type: string
          enum:
          - LoRaWAN
        LogLevel:
          type: string
          enum:
          - INFO
          - ERROR
          - DISABLED
        Events:
          type: array
          items:
            $ref: '#/components/schemas/WirelessGatewayEventLogOption'
      required:
      - Type
      - LogLevel
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iot-wireless/service/2020-11-22/iot-wireless-2020-11-22.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)