{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-list-deployments-input-structure.json",
"name": "ListDeploymentsInput",
"description": "Represents the input of a ListDeployments operation.",
"type": "object",
"properties": {
"applicationName": {
"allOf": [
{
"$ref": "#/components/schemas/ApplicationName"
},
{
"description": "
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
If applicationName is specified, then deploymentGroupName must be specified. If it is not specified, then deploymentGroupName must not be specified.
The name of a deployment group for the specified application.
If deploymentGroupName is specified, then applicationName must be specified. If it is not specified, then applicationName must not be specified.
A subset of deployments to list by status:
Created: Include created deployments in the resulting list.
Queued: Include queued deployments in the resulting list.
In Progress: Include in-progress deployments in the resulting list.
Succeeded: Include successful deployments in the resulting list.
Failed: Include failed deployments in the resulting list.
Stopped: Include stopped deployments in the resulting list.