{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-structure/iot-greengrass-deployment-list-structure.json",
"name": "DeploymentList",
"description": "DeploymentList schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"targetArn": {
"allOf": [
{
"$ref": "#/components/schemas/TargetARN"
},
{
"description": "The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group."
}
]
},
"revisionId": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The revision number of the deployment."
}
]
},
"deploymentId": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The ID of the deployment."
}
]
},
"deploymentName": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The name of the deployment."
}
]
},
"creationTimestamp": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The time at which the deployment was created, expressed in ISO 8601 format."
}
]
},
"deploymentStatus": {
"allOf": [
{
"$ref": "#/components/schemas/DeploymentStatus"
},
{
"description": "The status of the deployment."
}
]
},
"isLatestForTarget": {
"allOf": [
{
"$ref": "#/components/schemas/IsLatestForTarget"
},
{
"description": "Whether or not the deployment is the latest revision for its target."
}
]
},
"parentTargetArn": {
"allOf": [
{
"$ref": "#/components/schemas/ThingGroupARN"
},
{
"description": "The parent deployment's target ARN within a subdeployment."
}
]
}
},
"description": "Contains information about a deployment."
}
}