Fetch RuleExecution
Bad Request
Internal server error
Returns List of RuleExecution
{- "policyExecutionFilter": {
- "accountId": "string",
- "targetAccount": [
- "string"
], - "executionStatus": "FAILED",
- "region": [
- "string"
], - "cloudProvider": "AWS",
- "cloudProviders": [
- "AWS"
], - "ruleIds": [
- "string"
], - "ruleSetIds": [
- "string"
], - "executionIds": [
- "string"
], - "ruleEnforcementId": [
- "string"
], - "time": [
- {
- "operator": "NOT_IN",
- "timestamp": 0
}
], - "limit": 0,
- "offset": 0,
- "savings": 0,
- "ruleExecutionSortType": "COST",
- "sortOrder": "ASCENDING",
- "resourceCountGreaterThanZero": true,
- "costType": "POTENTIAL",
- "isDryRun": true
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Rule Execution Filter Values
Bad Request
Internal server error
Returns filter values for Rule Execution.
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Return actioned resources for a rule execution
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Return resources/logs for a rule execution
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Return logs for a rule execution
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Return resources for a rule execution
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Find last execution given rules list
Bad Request
Internal server error
Returns List of RuleExecutions.
[- "string"
]
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Returns governance recommendation details.
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Job enqueued to refresh cost for a rule execution
Bad Request
Internal server error
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}