Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/batch/describe-jobs.rst
1567 views
**To describe a job**

The following ``describe-jobs`` example describes a job with the specified job ID. ::

    aws batch describe-jobs \
        --jobs bcf0b186-a532-4122-842e-2ccab8d54efb

Output::

    {
        "jobs": [
            {
                "status": "SUBMITTED",
                "container": {
                    "mountPoints": [],
                    "image": "busybox",
                    "environment": [],
                    "vcpus": 1,
                    "command": [
                        "sleep",
                        "60"
                    ],
                    "volumes": [],
                    "memory": 128,
                    "ulimits": []
                },
                "parameters": {},
                "jobDefinition": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1",
                "jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
                "jobId": "bcf0b186-a532-4122-842e-2ccab8d54efb",
                "dependsOn": [],
                "jobName": "example",
                "createdAt": 1480483387803
            }
        ]
    }