CmdID

CmdID / aws / aws iot

aws iot get-job-document

Gets a job document. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve the document for a job

The following get-job-document example displays details about the document for the job whose ID is example-job-01.

aws iot get-job-document --job-id "example-job-01"Identify
--job-idThe unique identifier you assigned to this job when it was created.
Its output
{
    "document": "\n{\n    \"operation\":\"customJob\",\n    \"otherInfo\":\"someValue\"\n}\n"
}

For more information, see Creating and Managing Jobs (CLI) in the AWS IoT Developer Guide.

Options

2 in the AWS CLI reference
--before-substitutionProvides a view of the job document before and after the substitution parameters have been resolved with their exact values.
--job-idThe unique identifier you assigned to this job when it was created.