---
title: "POST /listDeploymentJobs"
method: POST
path: "/listDeploymentJobs"
deprecated: true
---

# POST /listDeploymentJobs

`POST /listDeploymentJobs`

> **Deprecated.**

Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.

This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service.

## Query parameters

- `maxResults` string
- `nextToken` string

## Request body

- object
  - `filters` Filter[] — <p>Optional filters to limit results.</p> <p>The filter names <code>status</code> and <code>fleetName</code> are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status <code>InProgress</code> or the status <code>Pending</code>.</p>
    - `name` string — The name of the filter.
    - `values` Name[] — A list of values.
  - `nextToken` string — If the previous paginated request did not return all of the remaining results, the response object's <code>nextToken</code> parameter value is set to a token. To retrieve the next set of results, call <code>ListDeploymentJobs</code> again and assign that token to the request object's <code>nextToken</code> parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
  - `maxResults` integer — When this parameter is used, <code>ListDeploymentJobs</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListDeploymentJobs</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 200. If this parameter is not used, then <code>ListDeploymentJobs</code> returns up to 200 results and a <code>nextToken</code> value if applicable.

## Response `200`

Success

- ListDeploymentJobsResponse — Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html.
  - `deploymentJobs` DeploymentJob[] — A list of deployment jobs that meet the criteria of the request.
    - `arn` string — The Amazon Resource Name (ARN) of the deployment job.
    - `fleet` string — The Amazon Resource Name (ARN) of the fleet.
    - `status` 'Pending' | 'Preparing' | 'InProgress' | 'Failed' | 'Succeeded' | 'Canceled' — The status of the deployment job.
    - `deploymentApplicationConfigs` DeploymentApplicationConfig[] — The deployment application configuration.
      - `application` string, required — The Amazon Resource Name (ARN) of the robot application.
      - `applicationVersion` string, required — The version of the application.
      - `launchConfig` object, required — The launch configuration.
        - `packageName` string, required — The package name.
        - `preLaunchFile` string — The deployment pre-launch file. This file will be executed prior to the launch file.
        - `launchFile` string, required — The launch file name.
        - `postLaunchFile` string — The deployment post-launch file. This file will be executed after the launch file.
        - `environmentVariables` object — An array of key/value pairs specifying environment variables for the robot application
    - `deploymentConfig` object — The deployment configuration.
      - `concurrentDeploymentPercentage` integer — The percentage of robots receiving the deployment at the same time.
      - `failureThresholdPercentage` integer — The percentage of deployments that need to fail before stopping deployment.
      - `robotDeploymentTimeoutInSeconds` integer — The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
      - `downloadConditionFile` object — The download condition file.
        - `bucket` string, required — The bucket containing the object.
        - `key` string, required — The key of the object.
        - `etag` string — The etag of the object.
    - `failureReason` string — A short description of the reason why the deployment job failed.
    - `failureCode` 'ResourceNotFound' | 'EnvironmentSetupError' | 'EtagMismatch' | 'FailureThresholdBreached' | 'RobotDeploymentAborted' | 'RobotDeploymentNoResponse' | 'RobotAgentConnectionTimeout' | 'GreengrassDeploymentFailed' | 'InvalidGreengrassGroup' | 'MissingRobotArchitecture' | 'MissingRobotApplicationArchitecture' | 'MissingRobotDeploymentResource' | 'GreengrassGroupVersionDoesNotExist' | 'LambdaDeleted' | 'ExtractingBundleFailure' | 'PreLaunchFileFailure' | 'PostLaunchFileFailure' | 'BadPermissionError' | 'DownloadConditionFailed' | 'BadLambdaAssociated' | 'InternalServerError' | 'RobotApplicationDoesNotExist' | 'DeploymentFleetDoesNotExist' | 'FleetDeploymentTimeout' — The deployment job failure code.
    - `createdAt` string, date-time — The time, in milliseconds since the epoch, when the deployment job was created.
  - `nextToken` string — If the previous paginated request did not return all of the remaining results, the response object's <code>nextToken</code> parameter value is set to a token. To retrieve the next set of results, call <code>ListDeploymentJobs</code> again and assign that token to the request object's <code>nextToken</code> parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InvalidParameterException
- `482` — InternalServerException
- `483` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/robomaker.md) · [All operations](https://skmtc.net/aws/apis/robomaker/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/robomaker/versions/a6f68d7d4866/schema)
