Amazon IoT Greengrass Iot Greengrass Operations API

The Iot Greengrass Operations API from Amazon IoT Greengrass — 6 operation(s) for iot greengrass operations.

GitHub OpenAPI

Operations 7

POST /greengrass/groups/{GroupId}/deployments/$reset Reset Deployments #
GET /greengrass/bulk/deployments/{BulkDeploymentId}/status Get Bulk Deployment Status #
GET /greengrass/groups/{GroupId}/deployments/{DeploymentId}/status Get Deployment Status #
GET /greengrass/things/{ThingName}/runtimeconfig Get Thing Runtime Configuration #
PUT /greengrass/things/{ThingName}/runtimeconfig Update Thing Runtime Configuration #
GET /greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports List Bulk Deployment Detailed Reports #
PUT /greengrass/bulk/deployments/{BulkDeploymentId}/$stop Stop Bulk Deployment #

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-greengrass:amazon-iot-greengrass-operations-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-greengrass-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Greengrass V2 Operations API
  version: '2020-11-30'
  description: Generated from AWS's published Smithy model for AWS IoT Greengrass V2. 7 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://greengrass.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /greengrass/groups/{GroupId}/deployments/$reset:
    post:
      operationId: ResetDeployments
      summary: Reset Deployments
      description: Resets a group's deployments.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResetDeploymentsResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
      parameters:
      - name: X-Amzn-Client-Token
        in: header
        schema:
          type: string
        description: A client token used to correlate requests and responses.
      - name: GroupId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the Greengrass group.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Force:
                  type: boolean
                  description: If true, performs a best-effort only core reset.
      tags:
      - Operations
  /greengrass/bulk/deployments/{BulkDeploymentId}/status:
    get:
      operationId: GetBulkDeploymentStatus
      summary: Get Bulk Deployment Status
      description: Returns the status of a bulk deployment.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBulkDeploymentStatusResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
      parameters:
      - name: BulkDeploymentId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the bulk deployment.
      tags:
      - Operations
  /greengrass/groups/{GroupId}/deployments/{DeploymentId}/status:
    get:
      operationId: GetDeploymentStatus
      summary: Get Deployment Status
      description: Returns the status of a deployment.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDeploymentStatusResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
      parameters:
      - name: DeploymentId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the deployment.
      - name: GroupId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the Greengrass group.
      tags:
      - Operations
  /greengrass/things/{ThingName}/runtimeconfig:
    get:
      operationId: GetThingRuntimeConfiguration
      summary: Get Thing Runtime Configuration
      description: Get the runtime configuration of a thing.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetThingRuntimeConfigurationResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: ThingName
        in: path
        required: true
        schema:
          type: string
        description: The thing name.
      tags:
      - Operations
    put:
      operationId: UpdateThingRuntimeConfiguration
      summary: Update Thing Runtime Configuration
      description: Updates the runtime configuration of a thing.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateThingRuntimeConfigurationResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: ThingName
        in: path
        required: true
        schema:
          type: string
        description: The thing name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                TelemetryConfiguration:
                  $ref: '#/components/schemas/TelemetryConfigurationUpdate'
      tags:
      - Operations
  /greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports:
    get:
      operationId: ListBulkDeploymentDetailedReports
      summary: List Bulk Deployment Detailed Reports
      description: Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their
        current deployment status.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBulkDeploymentDetailedReportsResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
      parameters:
      - name: BulkDeploymentId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the bulk deployment.
      - name: MaxResults
        in: query
        schema:
          type: string
        description: The maximum number of results to be returned per request.
      - name: NextToken
        in: query
        schema:
          type: string
        description: The token for the next set of results, or ''null'' if there are no additional results.
      tags:
      - Operations
  /greengrass/bulk/deployments/{BulkDeploymentId}/$stop:
    put:
      operationId: StopBulkDeployment
      summary: Stop Bulk Deployment
      description: Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment
        is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This
        action doesn't rollback completed deployments or cancel pending deployments.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopBulkDeploymentResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
      parameters:
      - name: BulkDeploymentId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the bulk deployment.
      tags:
      - Operations
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: greengrass
  schemas:
    BadRequestException:
      type: object
      properties:
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
          description: Details about the error.
        Message:
          type: string
          description: A message containing information about the error.
    BulkDeploymentMetrics:
      type: object
      properties:
        InvalidInputRecords:
          type: integer
          description: The total number of records that returned a non-retryable error. For example, this can occur if a group
            record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution
            role doesn't grant permission to deploy a group or group version.
        RecordsProcessed:
          type: integer
          description: The total number of group records from the input file that have been processed so far, or attempted.
        RetryAttempts:
          type: integer
          description: The total number of deployment attempts that returned a retryable error. For example, a retry is triggered
            if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment
            up to five times.
    BulkDeploymentResult:
      type: object
      properties:
        CreatedAt:
          type: string
          description: The time, in ISO format, when the deployment was created.
        DeploymentArn:
          type: string
          description: The ARN of the group deployment.
        DeploymentId:
          type: string
          description: The ID of the group deployment.
        DeploymentStatus:
          type: string
          description: 'The current status of the group deployment: ''''InProgress'''', ''''Building'''', ''''Success'''',
            or ''''Failure''''.'
        DeploymentType:
          type: string
          enum:
          - NewDeployment
          - Redeployment
          - ResetDeployment
          - ForceResetDeployment
          description: The type of the deployment.
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
          description: Details about the error.
        ErrorMessage:
          type: string
          description: The error message for a failed deployment
        GroupArn:
          type: string
          description: The ARN of the Greengrass group.
    ErrorDetail:
      type: object
      properties:
        DetailedErrorCode:
          type: string
          description: A detailed error code.
        DetailedErrorMessage:
          type: string
          description: A detailed error message.
    GetBulkDeploymentStatusResponse:
      type: object
      properties:
        BulkDeploymentMetrics:
          $ref: '#/components/schemas/BulkDeploymentMetrics'
        BulkDeploymentStatus:
          type: string
          enum:
          - Initializing
          - Running
          - Completed
          - Stopping
          - Stopped
          - Failed
          description: The status of the bulk deployment.
        CreatedAt:
          type: string
          description: The time, in ISO format, when the deployment was created.
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
          description: Error details
        ErrorMessage:
          type: string
          description: Error message
        tags:
          type: object
          additionalProperties:
            type: string
          description: Tag(s) attached to the resource arn.
    GetDeploymentStatusResponse:
      type: object
      properties:
        DeploymentStatus:
          type: string
          description: 'The status of the deployment: ''''InProgress'''', ''''Building'''', ''''Success'''', or ''''Failure''''.'
        DeploymentType:
          type: string
          enum:
          - NewDeployment
          - Redeployment
          - ResetDeployment
          - ForceResetDeployment
          description: The type of the deployment.
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
          description: Error details
        ErrorMessage:
          type: string
          description: Error message
        UpdatedAt:
          type: string
          description: The time, in milliseconds since the epoch, when the deployment status was updated.
    GetThingRuntimeConfigurationResponse:
      type: object
      properties:
        RuntimeConfiguration:
          $ref: '#/components/schemas/RuntimeConfiguration'
    InternalServerErrorException:
      type: object
      properties:
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
          description: Details about the error.
        Message:
          type: string
          description: A message containing information about the error.
    ListBulkDeploymentDetailedReportsResponse:
      type: object
      properties:
        Deployments:
          type: array
          items:
            $ref: '#/components/schemas/BulkDeploymentResult'
          description: A list of the individual group deployments in the bulk deployment operation.
        NextToken:
          type: string
          description: The token for the next set of results, or ''null'' if there are no additional results.
    ResetDeploymentsResponse:
      type: object
      properties:
        DeploymentArn:
          type: string
          description: The ARN of the deployment.
        DeploymentId:
          type: string
          description: The ID of the deployment.
    RuntimeConfiguration:
      type: object
      properties:
        TelemetryConfiguration:
          $ref: '#/components/schemas/TelemetryConfiguration'
    StopBulkDeploymentResponse:
      type: object
      properties: {}
    TelemetryConfiguration:
      type: object
      properties:
        ConfigurationSyncStatus:
          type: string
          enum:
          - InSync
          - OutOfSync
          description: Synchronization status of the device reported configuration with the desired configuration.
        Telemetry:
          type: string
          enum:
          - 'On'
          - 'Off'
          description: Configure telemetry to be on or off.
      required:
      - Telemetry
    TelemetryConfigurationUpdate:
      type: object
      properties:
        Telemetry:
          type: string
          enum:
          - 'On'
          - 'Off'
          description: Configure telemetry to be on or off.
      required:
      - Telemetry
    UpdateThingRuntimeConfigurationResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/greengrass/service/2017-06-07/greengrass-2017-06-07.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)