Interface RestElasticInstanceService
- All Known Implementing Classes:
RestElasticInstanceServiceImpl
public interface RestElasticInstanceService
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
getInstanceLog
(@NotNull String instanceId) Obtain logs from an EC2 instance.
-
Method Details
-
getInstanceLog
@NotNull @NotNull String getInstanceLog(@NotNull @NotNull String instanceId) throws WebValidationException, NotFoundException Obtain logs from an EC2 instance.- Parameters:
instanceId
- id of the instance- Returns:
- instance logs, empty string will be returned if there were no logs to fetch
- Throws:
WebValidationException
NotFoundException
-