- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
ListNodeFromTemplateJobsCommand
Returns a list of camera stream node jobs.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { PanoramaClient, ListNodeFromTemplateJobsCommand } from "@aws-sdk/client-panorama"; // ES Modules import
// const { PanoramaClient, ListNodeFromTemplateJobsCommand } = require("@aws-sdk/client-panorama"); // CommonJS import
const client = new PanoramaClient(config);
const input = { // ListNodeFromTemplateJobsRequest
NextToken: "STRING_VALUE",
MaxResults: Number("int"),
};
const command = new ListNodeFromTemplateJobsCommand(input);
const response = await client.send(command);
// { // ListNodeFromTemplateJobsResponse
// NodeFromTemplateJobs: [ // NodeFromTemplateJobList // required
// { // NodeFromTemplateJob
// JobId: "STRING_VALUE",
// TemplateType: "STRING_VALUE",
// Status: "STRING_VALUE",
// StatusMessage: "STRING_VALUE",
// CreatedTime: new Date("TIMESTAMP"),
// NodeName: "STRING_VALUE",
// },
// ],
// NextToken: "STRING_VALUE",
// };
ListNodeFromTemplateJobsCommand Input
See ListNodeFromTemplateJobsCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
MaxResults | number | undefined | The maximum number of node from template jobs to return in one page of results. |
NextToken | string | undefined | Specify the pagination token from a previous request to retrieve the next page of results. |
ListNodeFromTemplateJobsCommand Output
See ListNodeFromTemplateJobsCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
NodeFromTemplateJobs Required | NodeFromTemplateJob[] | undefined | A list of jobs. |
NextToken | string | undefined | A pagination token that's included if more results are available. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | The requestor does not have permission to access the target action or resource. |
ConflictException | client | The target resource is in use. |
InternalServerException | server | An internal error occurred. |
ValidationException | client | The request contains an invalid parameter value. |
PanoramaServiceException | Base exception class for all service exceptions from Panorama service. |