latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup AWS

Activity Events

Get historical data on events that happened in a specific Elastigroup like update, scaling activities, creation of new instances, etc.

get/aws/ec2/group/{groupId}/events

Query parameters

fromDatestring required

Starting date to fetch the events from

accountIdstring

ID of the account associated with your token

Parameters

#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref

Response

Successful Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/aws/ec2/group/sig-12345/events?fromDate=2016-10-01",
    "method": "GET",
    "timestamp": "2016-01-21T17:12:51.451Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:group",
    "items": [
      {
        "groupId": "sig-12345",
        "eventType": "Update",
        "createdAt": "2016-01-21T17:10:04.000+0000",
        "subEvents": {
          "type": "scaleUp",
          "newSpots": [
            {
              "spotInstanceRequestId": "sir-0294dbzt"
            },
            {
              "spotInstanceRequestId": "sir-02940b7h"
            },
            {
              "spotInstanceRequestId": "sir-028z1age"
            },
            {
              "spotInstanceRequestId": "sir-028z456e"
            },
            {
              "spotInstanceRequestId": "sir-028wg6gr"
            },
            {
              "spotInstanceRequestId": "sir-0294a9v5"
            }
          ]
        },
        "newInstances": [
          "string"
        ]
      },
      {
        "groupId": "sig-12345",
        "eventType": "Update",
        "createdAt": "2016-01-21T17:10:04.000+0000",
        "subEvents": {
          "type": "scaleUp",
          "newSpots": [
            {
              "spotInstanceRequestId": "sir-0294dbzt"
            },
            {
              "spotInstanceRequestId": "sir-02940b7h"
            },
            {
              "spotInstanceRequestId": "sir-028z1age"
            },
            {
              "spotInstanceRequestId": "sir-028z456e"
            },
            {
              "spotInstanceRequestId": "sir-028wg6gr"
            },
            {
              "spotInstanceRequestId": "sir-0294a9v5"
            }
          ]
        },
        "newInstances": [
          "string"
        ]
      },
      {
        "groupId": "sig-12345",
        "eventType": "Update",
        "createdAt": "2016-01-21T17:10:04.000+0000",
        "subEvents": {
          "type": "scaleUp",
          "newSpots": [
            {
              "spotInstanceRequestId": "sir-0294dbzt"
            },
            {
              "spotInstanceRequestId": "sir-02940b7h"
            },
            {
              "spotInstanceRequestId": "sir-028z1age"
            },
            {
              "spotInstanceRequestId": "sir-028z456e"
            },
            {
              "spotInstanceRequestId": "sir-028wg6gr"
            },
            {
              "spotInstanceRequestId": "sir-0294a9v5"
            }
          ]
        },
        "newInstances": [
          "string"
        ]
      },
      {
        "groupId": "sig-12345",
        "eventType": "Update",
        "createdAt": "2016-01-21T17:10:04.000+0000",
        "subEvents": {
          "type": "scaleUp",
          "newSpots": [
            {
              "spotInstanceRequestId": "sir-0294dbzt"
            },
            {
              "spotInstanceRequestId": "sir-02940b7h"
            },
            {
              "spotInstanceRequestId": "sir-028z1age"
            },
            {
              "spotInstanceRequestId": "sir-028z456e"
            },
            {
              "spotInstanceRequestId": "sir-028wg6gr"
            },
            {
              "spotInstanceRequestId": "sir-0294a9v5"
            }
          ]
        },
        "newInstances": [
          "string"
        ]
      }
    ],
    "count": 1
  }
}