latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Insights Service
Instances Potential Savings
Describe potential savings for the listed instances. You can provide multiple instance IDs separated by a comma. The response will provide potential monthly savings in USD.
get/aws/instancePotentialSavings
Query parameters
regionstring required
The AWS Region
instanceIdsstring required
The instance ID
Parameters
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
Response
Instances Potential Savings Response
Example response
{
"request": {
"id": "ff3e1e5b-91b8-42fa-8267-b988efc7f662",
"url": "/aws/instancePotentialSavings?instanceIds=i-08674ba9a6ddb73f4%2Ci-0973dc7a755d34894®ion=us-west-2",
"method": "GET",
"timestamp": "2015-06-29T13:01:55.060Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"kind": "spotinst:cs:aws:potentialSavings",
"items": [
{
"newSpotRequests": [
{
"resourceType": "EC2Instance",
"name": "i-12345abcde12345",
"instances": 1,
"instanceTypes": [
"t2.medium"
],
"potentialSavings": 28
},
{
"resourceType": "EC2Instance",
"name": "i-0973dc7a755d34894",
"instances": 1,
"instanceTypes": [
"m4.large"
],
"potentialSavings": 60
}
]
}
],
"count": 2
}
}