Method description
Obtains description about a job based on the job ID.
Parameter description
Parameter | Type | Description |
---|---|---|
jobId | String | Job ID |
Response description
If the call succeeds, a GetJobDescriptionResponse instance is returned. You can use the getJobDescription() method of this instance to obtain the JobDescription object.
If a failure occurs, a ClientException is thrown.
Sample code
try{
GetJobDescriptionResponse response = client.getJobDescription("job-0101010299123");
//Succeeded
JobDescription jobDescription = response.getJobDescription();
}catch(ClientException e){
e.printStackTrace();
// Failed
}