Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListModelPackagingJobsCommandProtected

Lists the model packaging jobs created for an Amazon Lookout for Vision project.

This operation requires permissions to perform the lookoutvision:ListModelPackagingJobs operation.

     <p>For more information, see
<i>Using your Amazon Lookout for Vision model on an edge device</i> in the Amazon Lookout for Vision Developer Guide. </p>

Example

Use a bare-bones client and the command you need to make an API call.

import { LookoutVisionClient, ListModelPackagingJobsCommand } from "@aws-sdk/client-lookoutvision"; // ES Modules import
// const { LookoutVisionClient, ListModelPackagingJobsCommand } = require("@aws-sdk/client-lookoutvision"); // CommonJS import
const client = new LookoutVisionClient(config);
const input = { // ListModelPackagingJobsRequest
ProjectName: "STRING_VALUE", // required
NextToken: "STRING_VALUE",
MaxResults: Number("int"),
};
const command = new ListModelPackagingJobsCommand(input);
const response = await client.send(command);
// { // ListModelPackagingJobsResponse
// ModelPackagingJobs: [ // ModelPackagingJobsList
// { // ModelPackagingJobMetadata
// JobName: "STRING_VALUE",
// ProjectName: "STRING_VALUE",
// ModelVersion: "STRING_VALUE",
// ModelPackagingJobDescription: "STRING_VALUE",
// ModelPackagingMethod: "STRING_VALUE",
// Status: "CREATED" || "RUNNING" || "SUCCEEDED" || "FAILED",
// StatusMessage: "STRING_VALUE",
// CreationTimestamp: new Date("TIMESTAMP"),
// LastUpdatedTimestamp: new Date("TIMESTAMP"),
// },
// ],
// NextToken: "STRING_VALUE",
// };

Param

ListModelPackagingJobsCommandInput

Returns

ListModelPackagingJobsCommandOutput

See

Throws

AccessDeniedException (client fault)

You are not authorized to perform the action.

Throws

InternalServerException (server fault)

Amazon Lookout for Vision experienced a service issue. Try your call again.

Throws

ResourceNotFoundException (client fault)

The resource could not be found.

Throws

ThrottlingException (client fault)

Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.

Throws

ValidationException (client fault)

An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.

Throws

LookoutVisionServiceException

Base exception class for all service exceptions from LookoutVision service.

Hierarchy

Constructors

Properties

Methods