Client library for Amazon Lookout for Vision
npm install --save @datafire/amazonaws_lookoutvision
let amazonaws_lookoutvision = require('@datafire/amazonaws_lookoutvision').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
.then(data => {
console.log(data);
});
This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, data types, common parameters, and common errors.
Amazon Lookout for Vision enables you to find visual defects in industrial products, accurately and at scale. It uses computer vision to identify missing components in an industrial product, damage to vehicles or structures, irregularities in production lines, and even minuscule defects in silicon wafers — or any other physical item where quality is important such as a missing capacitor on printed circuit boards.
amazonaws_lookoutvision.ListProjects({}, context)
- input
object
- nextToken
string
- maxResults
integer
- MaxResults
string
- NextToken
string
- nextToken
- output ListProjectsResponse
amazonaws_lookoutvision.CreateProject({
"ProjectName": ""
}, context)
- input
object
- ProjectName required
string
: S nsme for the project.
- ProjectName required
- output CreateProjectResponse
amazonaws_lookoutvision.DeleteProject({
"projectName": ""
}, context)
- input
object
- projectName required
string
- projectName required
- output DeleteProjectResponse
amazonaws_lookoutvision.DescribeProject({
"projectName": ""
}, context)
- input
object
- projectName required
string
- projectName required
- output DescribeProjectResponse
amazonaws_lookoutvision.CreateDataset({
"projectName": "",
"DatasetType": ""
}, context)
- input
object
- projectName required
string
- DatasetSource
object
: Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.- GroundTruthManifest
- S3Object
- Bucket required
- Key required
- VersionId
- S3Object
- GroundTruthManifest
- DatasetType required
string
: The type of the dataset. Specifytrain
for a training dataset. Specifytest
for a test dataset.
- projectName required
Output schema unknown
amazonaws_lookoutvision.DeleteDataset({
"projectName": "",
"datasetType": ""
}, context)
- input
object
- projectName required
string
- datasetType required
string
- projectName required
Output schema unknown
amazonaws_lookoutvision.DescribeDataset({
"projectName": "",
"datasetType": ""
}, context)
- input
object
- projectName required
string
- datasetType required
string
- projectName required
- output DescribeDatasetResponse
amazonaws_lookoutvision.ListDatasetEntries({
"projectName": "",
"datasetType": ""
}, context)
- input
object
- projectName required
string
- datasetType required
string
- labeled
boolean
- anomalyClass
string
- createdBefore
string
- createdAfter
string
- nextToken
string
- maxResults
integer
- sourceRefContains
string
- MaxResults
string
- NextToken
string
- projectName required
- output ListDatasetEntriesResponse
amazonaws_lookoutvision.UpdateDatasetEntries({
"projectName": "",
"datasetType": "",
"Changes": ""
}, context)
- input
object
- projectName required
string
- datasetType required
string
- Changes required
string
: The entries to add to the dataset.
- projectName required
Output schema unknown
amazonaws_lookoutvision.ListModels({
"projectName": ""
}, context)
- input
object
- projectName required
string
- nextToken
string
- maxResults
integer
- MaxResults
string
- NextToken
string
- projectName required
- output ListModelsResponse
amazonaws_lookoutvision.CreateModel({
"projectName": "",
"OutputConfig": {}
}, context)
- input
object
- projectName required
string
- Description
object
: Describes an Amazon Lookout for Vision model.- CreationTimestamp
- Description
- EvaluationEndTimestamp
- EvaluationManifest
- Bucket required
- Key required
- EvaluationResult
- Bucket required
- Key required
- KmsKeyId
- ModelArn
- ModelVersion
- OutputConfig
- S3Location required
- Bucket required
- Prefix
- S3Location required
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- KmsKeyId
string
: The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages. - OutputConfig required
object
: The S3 location where Amazon Lookout for Vision saves model training files.- S3Location
- Bucket required
- Prefix
- S3Location
- projectName required
Output schema unknown
amazonaws_lookoutvision.DeleteModel({
"projectName": "",
"modelVersion": ""
}, context)
- input
object
- projectName required
string
- modelVersion required
string
- projectName required
Output schema unknown
amazonaws_lookoutvision.DescribeModel({
"projectName": "",
"modelVersion": ""
}, context)
- input
object
- projectName required
string
- modelVersion required
string
- projectName required
- output DescribeModelResponse
amazonaws_lookoutvision.DetectAnomalies({
"projectName": "",
"modelVersion": "",
"content-type": "",
"Body": ""
}, context)
- input
object
- projectName required
string
- modelVersion required
string
- content-type required
string
- Body required
string
: The unencrypted image bytes that you want to analyze.
- projectName required
- output DetectAnomaliesResponse
amazonaws_lookoutvision.StartModel({
"projectName": "",
"modelVersion": "",
"MinInferenceUnits": 0
}, context)
- input
object
- projectName required
string
- modelVersion required
string
- MinInferenceUnits required
integer
: The minimum number of inference units to use. A single inference unit represents 1 hour of processing and can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
- projectName required
Output schema unknown
amazonaws_lookoutvision.StopModel({
"projectName": "",
"modelVersion": ""
}, context)
- input
object
- projectName required
string
- modelVersion required
string
- projectName required
Output schema unknown
- AnomalyClassFilter
string
- Boolean
boolean
- ClientToken
string
- ContentType
string
- CreateDatasetRequest
object
- DatasetSource
- GroundTruthManifest
- S3Object
- Bucket required
- Key required
- VersionId
- S3Object
- GroundTruthManifest
- DatasetType required
- DatasetSource
- CreateDatasetResponse
object
- DatasetMetadata
- CreationTimestamp
- DatasetType
- Status
- StatusMessage
- DatasetMetadata
- CreateModelRequest
object
- Description
- CreationTimestamp
- Description
- EvaluationEndTimestamp
- EvaluationManifest
- Bucket required
- Key required
- EvaluationResult
- Bucket required
- Key required
- KmsKeyId
- ModelArn
- ModelVersion
- OutputConfig
- S3Location required
- Bucket required
- Prefix
- S3Location required
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- KmsKeyId
- OutputConfig required
- S3Location required
- Bucket required
- Prefix
- S3Location required
- Description
- CreateModelResponse
object
- ModelMetadata
- CreationTimestamp
- Description
- ModelArn
- ModelVersion
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- ModelMetadata
- CreateProjectRequest
object
- ProjectName required
- CreateProjectResponse
object
- ProjectMetadata
- CreationTimestamp
- ProjectArn
- ProjectName
- ProjectMetadata
- DatasetChanges
string
- DatasetDescription
object
: The description for a dataset. For more information, see DescribeDataset.- CreationTimestamp
- DatasetType
- ImageStats
- Anomaly
- Labeled
- Normal
- Total
- LastUpdatedTimestamp
- ProjectName
- Status
- StatusMessage
- DatasetEntry
string
- DatasetEntryList
array
- items DatasetEntry
- DatasetGroundTruthManifest
object
: Location information about a manifest file. You can use a manifest file to create a dataset.- S3Object
- Bucket required
- Key required
- VersionId
- S3Object
- DatasetImageStats
object
: Statistics about the images in a dataset.- Anomaly
- Labeled
- Normal
- Total
- DatasetMetadata
object
: Sumary information for an Amazon Lookout for Vision dataset.- CreationTimestamp
- DatasetType
- Status
- StatusMessage
- DatasetMetadataList
array
- items DatasetMetadata
- DatasetSource
object
: Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.- GroundTruthManifest
- S3Object
- Bucket required
- Key required
- VersionId
- S3Object
- GroundTruthManifest
- DatasetStatus
string
(values: CREATE_IN_PROGRESS, CREATE_COMPLETE, CREATE_FAILED, UPDATE_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_FAILED_ROLLBACK_IN_PROGRESS, UPDATE_FAILED_ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_COMPLETE, DELETE_FAILED)
- DatasetStatusMessage
string
- DatasetType
string
- DateTime
string
- DeleteDatasetRequest
object
- DeleteDatasetResponse
object
- DeleteModelRequest
object
- DeleteModelResponse
object
- ModelArn
- DeleteProjectRequest
object
- DeleteProjectResponse
object
- ProjectArn
- DescribeDatasetRequest
object
- DescribeDatasetResponse
object
- DatasetDescription
- CreationTimestamp
- DatasetType
- ImageStats
- Anomaly
- Labeled
- Normal
- Total
- LastUpdatedTimestamp
- ProjectName
- Status
- StatusMessage
- DatasetDescription
- DescribeModelRequest
object
- DescribeModelResponse
object
- ModelDescription
- CreationTimestamp
- Description
- EvaluationEndTimestamp
- EvaluationManifest
- Bucket required
- Key required
- EvaluationResult
- Bucket required
- Key required
- KmsKeyId
- ModelArn
- ModelVersion
- OutputConfig
- S3Location required
- Bucket required
- Prefix
- S3Location required
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- ModelDescription
- DescribeProjectRequest
object
- DescribeProjectResponse
object
- ProjectDescription
- CreationTimestamp
- Datasets
- items DatasetMetadata
- ProjectArn
- ProjectName
- ProjectDescription
- DetectAnomaliesRequest
object
- Body required
- DetectAnomaliesResponse
object
- DetectAnomalyResult
- Confidence
- IsAnomalous
- Source
- Type
- DetectAnomalyResult
- DetectAnomalyResult
object
: The prediction results from a call to DetectAnomalies.- Confidence
- IsAnomalous
- Source
- Type
- Float
number
- ImageSource
object
: The source for an image.- Type
- ImageSourceType
string
- InferenceUnits
integer
- InputS3Object
object
: Amazon S3 Location information for an input manifest file.- Bucket required
- Key required
- VersionId
- Integer
integer
- IsLabeled
boolean
- KmsKeyId
string
- ListDatasetEntriesRequest
object
- ListDatasetEntriesResponse
object
- DatasetEntries
- items DatasetEntry
- NextToken
- DatasetEntries
- ListModelsRequest
object
- ListModelsResponse
object
- Models
- items ModelMetadata
- NextToken
- Models
- ListProjectsRequest
object
- ListProjectsResponse
object
- NextToken
- Projects
- items ProjectMetadata
- ModelArn
string
- ModelDescription
object
: Describes an Amazon Lookout for Vision model.- CreationTimestamp
- Description
- EvaluationEndTimestamp
- EvaluationManifest
- Bucket required
- Key required
- EvaluationResult
- Bucket required
- Key required
- KmsKeyId
- ModelArn
- ModelVersion
- OutputConfig
- S3Location required
- Bucket required
- Prefix
- S3Location required
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- ModelDescriptionMessage
string
- ModelHostingStatus
string
(values: RUNNING, STARTING, STOPPED, FAILED)
- ModelMetadata
object
: Describes an Amazon Lookout for Vision model.- CreationTimestamp
- Description
- ModelArn
- ModelVersion
- Performance
- F1Score
- Precision
- Recall
- Status
- StatusMessage
- ModelMetadataList
array
- items ModelMetadata
- ModelPerformance
object
: Information about the evaluation performance of a trained model.- F1Score
- Precision
- Recall
- ModelStatus
string
(values: TRAINING, TRAINED, TRAINING_FAILED, STARTING_HOSTING, HOSTED, HOSTING_FAILED, STOPPING_HOSTING, SYSTEM_UPDATING, DELETING)
- ModelStatusMessage
string
- ModelVersion
string
- OutputConfig
object
: The S3 location where Amazon Lookout for Vision saves model training files.- S3Location required
- Bucket required
- Prefix
- S3Location required
- OutputS3Object
object
: The S3 location where Amazon Lookout for Vision saves training output.- Bucket required
- Key required
- PageSize
integer
- PaginationToken
string
- ProjectArn
string
- ProjectDescription
object
: Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.- CreationTimestamp
- Datasets
- items DatasetMetadata
- ProjectArn
- ProjectName
- ProjectMetadata
object
: Metadata about an Amazon Lookout for Vision project.- CreationTimestamp
- ProjectArn
- ProjectName
- ProjectMetadataList
array
- items ProjectMetadata
- ProjectName
string
- QueryString
string
- S3BucketName
string
- S3KeyPrefix
string
- S3Location
object
: Information about the location of a manifest file.- Bucket required
- Prefix
- S3ObjectKey
string
- S3ObjectVersion
string
- StartModelRequest
object
- MinInferenceUnits required
- StartModelResponse
object
- Status
- StopModelRequest
object
- StopModelResponse
object
- Status
- Stream
string
- UpdateDatasetEntriesRequest
object
- Changes required
- UpdateDatasetEntriesResponse
object
- Status