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.
Protected
Lists the model packaging jobs created for an Amazon Lookout for Vision project.
This operation requires permissions to perform the lookoutvision:ListModelPackagingJobs operation.
lookoutvision:ListModelPackagingJobs
<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>
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 importconst 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",// };
ListModelPackagingJobsCommandInput
ListModelPackagingJobsCommandOutput
input
response
config
AccessDeniedException (client fault)
You are not authorized to perform the action.
InternalServerException (server fault)
Amazon Lookout for Vision experienced a service issue. Try your call again.
ResourceNotFoundException (client fault)
The resource could not be found.
ThrottlingException (client fault)
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ValidationException (client fault)
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
LookoutVisionServiceException
Base exception class for all service exceptions from LookoutVision service.
Readonly
Static
Lists the model packaging jobs created for an Amazon Lookout for Vision project.
This operation requires permissions to perform the
lookoutvision:ListModelPackagingJobs
operation.Example
Use a bare-bones client and the command you need to make an API call.
Param
ListModelPackagingJobsCommandInput
Returns
ListModelPackagingJobsCommandOutput
See
input
shape.response
shape.config
shape.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.