fbpx
GEThttps://api.spotinst.io/aws/emr/mrScaler/{MRSCALER_ID}/cluster?accountId={ACCOUNT_ID}

                         Get Mr Scaler cluster list

Parameters

Parameter Type Description
MRSCALER_ID * String

The MRScaler id you want to get a cluster information for

Example: simrs-12223
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request

Headers
{
	"Content-Type": "application/json",
	"Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
"request": {
    "id": "91f7f580-2c9d-42dc-b3c2-12223456789",
    "url": "/aws/emr/mrScaler/simrs-12223456789/cluster",
    "method": "GET",
    "timestamp": "2015-08-02T09:11:16.356Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:emr:mrScaler:cluster",
    "items": [
      {
        "id": "j-3N7WPI3R0D1R7",
        "availabilityZone": "us-east-1a",
        "state": "terminated",
        "createdAt": "2015-08-02T09:11:16.356Z",
        "updatedAt": "2015-08-02T10:11:16.356Z"
      }
    ],
    "count": 1
  }
}