fbpx
PUThttps://api.spotinst.io/aws/emr/mrScaler/{MRSCALER_ID}/scale/up?adjustment={NUMBER_OF_INSTANCES}&accountId={ACCOUNT_ID}

  

Scale up MR Scaler instances

Parameters

Parameter Type Description
MRSCALER_ID * String

The MRScaler id you want to Scale up

Example: simrs-12223
NUMBER_OF_INSTANCES * Integer

Amount of instances to add to MR Scaler

Example: 3
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": "3213e42e-455e-4901-a185-cc3eb65fac5f",
    "url": "/aws/emr/mrScaler/simrs-123456789/scale/up?adjustment=3",
    "method": "PUT",
    "time": "2015-06-28T15:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:emr:mrScaler:scale",
    "items": [
      {
        "modifiedInstanceGroups": [
          "ig-9870IUVXMYYW9",
          "ig-2470IUVXLJ652S"
        ],
        "newInstanceGroups": [
          "ig-0570LPWAZXBSR3"
        ]
      }
    ],
    "count": 1
  }
}