Patch Tasks

Creates a device patches in bulk

Changed on

Creates an SSM state manager association for a ssm managed device

post/patchTasks

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

Example request

{
  "patches": [
    {
      "deviceId": "ggv2-ec2-devive1",
      "patchId": "a1b83c20-ab84-11ea-9634-37cb5e1c09aa",
      "createdAt": "2020-06-11T01:41:12.546Z",
      "updatedAt": "2020-06-11T01:41:12.546Z",
      "patchTemplateName": "ggv2-ec2-amazonlinux2-template",
      "patchStatus": "failed",
      "patchType": "agentbased",
      "statusMessage": "DEVICE_NOT_ACTIVATED_AS_HYBRID_INSTANCE",
      "associationId": "a1b83c20-ab84-11ea-9634-37cb5e1c09aa",
      "extraVars": {
        "iot_endpoint": "<string>",
        "iot_role_alias": "<string>"
      }
    }
  ]
}

Response

OK

Changes