Description
Obtains the description of a submitted job.
Parameter description
Parameter | Type | Description |
---|---|---|
job | CreateResponse object, str | Job ID |
Response description
The get_job_description method returns a GetResponse
object, which encapsulates all interfaces of JobDescription.For more information about the interfaces and attributes of JobDescription, see Section 4.1 “create_job”.
Example
try:
# Get a Client object.
client = Client(...
...
# Job ID.
job = "job-xxxx"
# Get run-time infromation of the job.
job_desc = client.get_job_description(job)
print (job_desc.Name, job_desc.Description)
except ClientError, e:
print(e)