GEThttps://api.spotinst.io/ocean/aws/ecs/cluster/{OCEAN_ID}/fargateMigration/status?accountId={ACCOUNT_ID}

Get the status of a Fargate service import.

URL Parameters

Parameter Type Description
OCEAN_ID * String

Ocean ECS cluster ID

ACCOUNT_ID * String

The Spotinst accountId associated with your token.

Example: act-123abc
Request

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

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "kind": "spotinst:ocean:aws:ecs:fargateMigration:status",
  "items": [
    {
      "ecsClusterName": "EcsTestCluster",
      "ecsClusterRegion": "us-east-2",
      "state": "FINISHED",
      "importedServices": [
        "test_with_1"
      ]
    }
  ],
  "count": 1
}