{ "version":"2.0", "metadata":{ "apiVersion":"2020-11-20", "endpointPrefix":"lookoutvision", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon Lookout for Vision", "serviceId":"LookoutVision", "signatureVersion":"v4", "signingName":"lookoutvision", "uid":"lookoutvision-2020-11-20" }, "operations":{ "CreateDataset":{ "name":"CreateDataset", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/datasets", "responseCode":202 }, "input":{"shape":"CreateDatasetRequest"}, "output":{"shape":"CreateDatasetResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a new dataset in an Amazon Lookout for Vision project. `CreateDataset` can create a training or a test dataset from a valid dataset source (`DatasetSource`).

If you want a single dataset project, specify `train` for the value of `DatasetType`.

To have a project with separate training and test datasets, call `CreateDataset` twice. On the first call, specify `train` for the value of `DatasetType`. On the second call, specify `test` for the value of `DatasetType`.

This operation requires permissions to perform the `lookoutvision:CreateDataset` operation.

" }, "CreateModel":{ "name":"CreateModel", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/models", "responseCode":202 }, "input":{"shape":"CreateModelRequest"}, "output":{"shape":"CreateModelResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a new version of a model within an an Amazon Lookout for Vision project. `CreateModel` is an asynchronous operation in which Amazon Lookout for Vision trains, tests, and evaluates a new version of a model.

To get the current status, check the `Status` field returned in the response from DescribeModel.

If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset to create a training and a test dataset. If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test the model.

After training completes, the evaluation metrics are stored at the location specified in `OutputConfig`.

This operation requires permissions to perform the `lookoutvision:CreateModel` operation. If you want to tag your model, you also require permission to the `lookoutvision:TagResource` operation.

" }, "CreateProject":{ "name":"CreateProject", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects" }, "input":{"shape":"CreateProjectRequest"}, "output":{"shape":"CreateProjectResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.

This operation requires permissions to perform the `lookoutvision:CreateProject` operation.

" }, "DeleteDataset":{ "name":"DeleteDataset", "http":{ "method":"DELETE", "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}", "responseCode":202 }, "input":{"shape":"DeleteDatasetRequest"}, "output":{"shape":"DeleteDatasetResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Deletes an existing Amazon Lookout for Vision `dataset`.

If your the project has a single dataset, you must create a new dataset before you can create a model.

If you project has a training dataset and a test dataset consider the following.

- If you delete the test dataset, your project reverts to a single dataset project. If you then train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.

- If you delete the training dataset, you must create a training dataset before you can create a model.

This operation requires permissions to perform the `lookoutvision:DeleteDataset` operation.

" }, "DeleteModel":{ "name":"DeleteModel", "http":{ "method":"DELETE", "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}", "responseCode":202 }, "input":{"shape":"DeleteModelRequest"}, "output":{"shape":"DeleteModelResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.

It might take a few seconds to delete a model. To determine if a model has been deleted, call ListModels and check if the version of the model (`ModelVersion`) is in the `Models` array.

This operation requires permissions to perform the `lookoutvision:DeleteModel` operation.

" }, "DeleteProject":{ "name":"DeleteProject", "http":{ "method":"DELETE", "requestUri":"/2020-11-20/projects/{projectName}" }, "input":{"shape":"DeleteProjectRequest"}, "output":{"shape":"DeleteProjectResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Deletes an Amazon Lookout for Vision project.

To delete a project, you must first delete each version of the model associated with the project. To delete a model use the DeleteModel operation.

You also have to delete the dataset(s) associated with the model. For more information, see DeleteDataset. The images referenced by the training and test datasets aren't deleted.

This operation requires permissions to perform the `lookoutvision:DeleteProject` operation.

" }, "DescribeDataset":{ "name":"DescribeDataset", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}" }, "input":{"shape":"DescribeDatasetRequest"}, "output":{"shape":"DescribeDatasetResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Describe an Amazon Lookout for Vision dataset.

This operation requires permissions to perform the `lookoutvision:DescribeDataset` operation.

" }, "DescribeModel":{ "name":"DescribeModel", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}" }, "input":{"shape":"DescribeModelRequest"}, "output":{"shape":"DescribeModelResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Describes a version of an Amazon Lookout for Vision model.

This operation requires permissions to perform the `lookoutvision:DescribeModel` operation.

" }, "DescribeModelPackagingJob":{ "name":"DescribeModelPackagingJob", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs/{jobName}" }, "input":{"shape":"DescribeModelPackagingJobRequest"}, "output":{"shape":"DescribeModelPackagingJobResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Describes an Amazon Lookout for Vision model packaging job.

This operation requires permissions to perform the `lookoutvision:DescribeModelPackagingJob` operation.

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

" }, "DescribeProject":{ "name":"DescribeProject", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}" }, "input":{"shape":"DescribeProjectRequest"}, "output":{"shape":"DescribeProjectResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Describes an Amazon Lookout for Vision project.

This operation requires permissions to perform the `lookoutvision:DescribeProject` operation.

" }, "DetectAnomalies":{ "name":"DetectAnomalies", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/detect" }, "input":{"shape":"DetectAnomaliesRequest"}, "output":{"shape":"DetectAnomaliesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Detects anomalies in an image that you supply.

The response from `DetectAnomalies` includes a boolean prediction that the image contains one or more anomalies and a confidence value for the prediction. If the model is an image segmentation model, the response also includes segmentation information for each type of anomaly found in the image.

Before calling `DetectAnomalies`, you must first start your model with the StartModel operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your model uses. If you are not using a model, use the StopModel operation to stop your model.

For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.

This operation requires permissions to perform the `lookoutvision:DetectAnomalies` operation.

" }, "ListDatasetEntries":{ "name":"ListDatasetEntries", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries" }, "input":{"shape":"ListDatasetEntriesRequest"}, "output":{"shape":"ListDatasetEntriesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.

This operation requires permissions to perform the `lookoutvision:ListDatasetEntries` operation.

" }, "ListModelPackagingJobs":{ "name":"ListModelPackagingJobs", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs" }, "input":{"shape":"ListModelPackagingJobsRequest"}, "output":{"shape":"ListModelPackagingJobsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

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

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

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

" }, "ListModels":{ "name":"ListModels", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects/{projectName}/models" }, "input":{"shape":"ListModelsRequest"}, "output":{"shape":"ListModelsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Lists the versions of a model in an Amazon Lookout for Vision project.

The `ListModels` operation is eventually consistent. Recent calls to `CreateModel` might take a while to appear in the response from `ListProjects`.

This operation requires permissions to perform the `lookoutvision:ListModels` operation.

" }, "ListProjects":{ "name":"ListProjects", "http":{ "method":"GET", "requestUri":"/2020-11-20/projects" }, "input":{"shape":"ListProjectsRequest"}, "output":{"shape":"ListProjectsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Lists the Amazon Lookout for Vision projects in your AWS account that are in the AWS Region in which you call `ListProjects`.

The `ListProjects` operation is eventually consistent. Recent calls to `CreateProject` and `DeleteProject` might take a while to appear in the response from `ListProjects`.

This operation requires permissions to perform the `lookoutvision:ListProjects` operation.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/2020-11-20/tags/{resourceArn}" }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Returns a list of tags attached to the specified Amazon Lookout for Vision model.

This operation requires permissions to perform the `lookoutvision:ListTagsForResource` operation.

" }, "StartModel":{ "name":"StartModel", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/start", "responseCode":202 }, "input":{"shape":"StartModelRequest"}, "output":{"shape":"StartModelResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use DescribeModel.

A model is ready to use when its status is `HOSTED`.

Once the model is running, you can detect custom labels in new images by calling DetectAnomalies.

You are charged for the amount of time that the model is running. To stop a running model, call StopModel.

This operation requires permissions to perform the `lookoutvision:StartModel` operation.

" }, "StartModelPackagingJob":{ "name":"StartModelPackagingJob", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs" }, "input":{"shape":"StartModelPackagingJobRequest"}, "output":{"shape":"StartModelPackagingJobResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass.

Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of `Status` is `SUCCEEDED`.

To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API.

This operation requires the following permissions:

- `lookoutvision:StartModelPackagingJob`

- `s3:PutObject`

- `s3:GetBucketLocation`

- `kms:GenerateDataKey`

- `greengrass:CreateComponentVersion`

- `greengrass:DescribeComponent`

- (Optional) `greengrass:TagResource`. Only required if you want to tag the component.

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

" }, "StopModel":{ "name":"StopModel", "http":{ "method":"POST", "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/stop", "responseCode":202 }, "input":{"shape":"StopModelRequest"}, "output":{"shape":"StopModelResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Stops the hosting of a running model. The operation might take a while to complete. To check the current status, call DescribeModel.

After the model hosting stops, the `Status` of the model is `TRAINED`.

This operation requires permissions to perform the `lookoutvision:StopModel` operation.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/2020-11-20/tags/{resourceArn}" }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Adds one or more key-value tags to an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.

This operation requires permissions to perform the `lookoutvision:TagResource` operation.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/2020-11-20/tags/{resourceArn}" }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Removes one or more tags from an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.

This operation requires permissions to perform the `lookoutvision:UntagResource` operation.

" }, "UpdateDatasetEntries":{ "name":"UpdateDatasetEntries", "http":{ "method":"PATCH", "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries", "responseCode":202 }, "input":{"shape":"UpdateDatasetEntriesRequest"}, "output":{"shape":"UpdateDatasetEntriesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Adds or updates one or more JSON Line entries in a dataset. A JSON Line includes information about an image used for training or testing an Amazon Lookout for Vision model.

To update an existing JSON Line, use the `source-ref` field to identify the JSON Line. The JSON line that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset.

For more information, see Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.

The images you reference in the `source-ref` field of a JSON line, must be in the same S3 bucket as the existing images in the dataset.

Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and check the `Status` field in the response.

This operation requires permissions to perform the `lookoutvision:UpdateDatasetEntries` operation.

" } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "required":["Message"], "members":{ "Message":{"shape":"ExceptionString"} }, "documentation":"

You are not authorized to perform the action.

", "error":{"httpStatusCode":403}, "exception":true }, "Anomaly":{ "type":"structure", "members":{ "Name":{ "shape":"AnomalyName", "documentation":"

The name of an anomaly type found in an image. `Name` maps to an anomaly type in the training dataset, apart from the anomaly type `background`. The service automatically inserts the `background` anomaly type into the response from `DetectAnomalies`.

" }, "PixelAnomaly":{ "shape":"PixelAnomaly", "documentation":"

Information about the pixel mask that covers an anomaly type.

" } }, "documentation":"

Information about an anomaly type found on an image by an image segmentation model. For more information, see DetectAnomalies.

" }, "AnomalyClassFilter":{ "type":"string", "max":10, "min":1, "pattern":"(normal|anomaly)" }, "AnomalyList":{ "type":"list", "member":{"shape":"Anomaly"} }, "AnomalyMask":{ "type":"blob", "max":5242880, "min":1 }, "AnomalyName":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9]*" }, "Boolean":{"type":"boolean"}, "ClientToken":{ "type":"string", "max":64, "min":1, "pattern":"^[a-zA-Z0-9-]+$" }, "Color":{ "type":"string", "max":7, "min":7, "pattern":"\\#[a-zA-Z0-9]{6}" }, "CompilerOptions":{ "type":"string", "max":1024, "min":3, "pattern":".*" }, "ComponentDescription":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9-_. ()':,;?]+" }, "ComponentName":{ "type":"string", "max":128, "min":1, "pattern":"[a-zA-Z0-9-_.]+" }, "ComponentVersion":{ "type":"string", "max":64, "min":1, "pattern":"^([0-9]{1,6})\\.([0-9]{1,6})\\.([0-9]{1,6})$" }, "ComponentVersionArn":{ "type":"string", "pattern":"arn:[^:]*:greengrass:[^:]*:aws:components:[^:]+" }, "ConflictException":{ "type":"structure", "required":[ "Message", "ResourceId", "ResourceType" ], "members":{ "Message":{"shape":"ExceptionString"}, "ResourceId":{ "shape":"ExceptionString", "documentation":"

The ID of the resource.

" }, "ResourceType":{ "shape":"ResourceType", "documentation":"

The type of the resource.

" } }, "documentation":"

The update or deletion of a resource caused an inconsistent state.

", "error":{"httpStatusCode":409}, "exception":true }, "ContentType":{ "type":"string", "max":255, "min":1, "pattern":".*" }, "CreateDatasetRequest":{ "type":"structure", "required":[ "ProjectName", "DatasetType" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project in which you want to create a dataset.

", "location":"uri", "locationName":"projectName" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset. Specify `train` for a training dataset. Specify `test` for a test dataset.

" }, "DatasetSource":{ "shape":"DatasetSource", "documentation":"

The location of the manifest file that Amazon Lookout for Vision uses to create the dataset.

If you don't specify `DatasetSource`, an empty dataset is created and the operation synchronously returns. Later, you can add JSON Lines by calling UpdateDatasetEntries.

If you specify a value for `DataSource`, the manifest at the S3 location is validated and used to create the dataset. The call to `CreateDataset` is asynchronous and might take a while to complete. To find out the current status, Check the value of `Status` returned in a call to DescribeDataset.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `CreateDataset` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `CreateDataset`. In this case, safely retry your call to `CreateDataset` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple dataset creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `CreateDataset`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "CreateDatasetResponse":{ "type":"structure", "members":{ "DatasetMetadata":{ "shape":"DatasetMetadata", "documentation":"

Information about the dataset.

" } } }, "CreateModelRequest":{ "type":"structure", "required":[ "ProjectName", "OutputConfig" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project in which you want to create a model version.

", "location":"uri", "locationName":"projectName" }, "Description":{ "shape":"ModelDescriptionMessage", "documentation":"

A description for the version of the model.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `CreateModel` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `CreateModel`. In this case, safely retry your call to `CreateModel` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from starting multiple training jobs. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `CreateModel`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" }, "OutputConfig":{ "shape":"OutputConfig", "documentation":"

The location where Amazon Lookout for Vision saves the training results.

" }, "KmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The identifier for your AWS KMS key. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.

" }, "Tags":{ "shape":"TagList", "documentation":"

A set of tags (key-value pairs) that you want to attach to the model.

" } } }, "CreateModelResponse":{ "type":"structure", "members":{ "ModelMetadata":{ "shape":"ModelMetadata", "documentation":"

The response from a call to `CreateModel`.

" } } }, "CreateProjectRequest":{ "type":"structure", "required":["ProjectName"], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name for the project.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `CreateProject` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `CreateProject`. In this case, safely retry your call to `CreateProject` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `CreateProject`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "CreateProjectResponse":{ "type":"structure", "members":{ "ProjectMetadata":{ "shape":"ProjectMetadata", "documentation":"

Information about the project.

" } } }, "DatasetChanges":{ "type":"blob", "max":10485760, "min":1 }, "DatasetDescription":{ "type":"structure", "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the dataset.

" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset. The value `train` represents a training dataset or single dataset project. The value `test` represents a test dataset.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the time and date that the dataset was created.

" }, "LastUpdatedTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the date and time that the dataset was last updated.

" }, "Status":{ "shape":"DatasetStatus", "documentation":"

The status of the dataset.

" }, "StatusMessage":{ "shape":"DatasetStatusMessage", "documentation":"

The status message for the dataset.

" }, "ImageStats":{ "shape":"DatasetImageStats", "documentation":"

Statistics about the images in a dataset.

" } }, "documentation":"

The description for a dataset. For more information, see DescribeDataset.

" }, "DatasetEntry":{ "type":"string", "max":8192, "min":2, "pattern":"^\\{.*\\}$" }, "DatasetEntryList":{ "type":"list", "member":{"shape":"DatasetEntry"} }, "DatasetGroundTruthManifest":{ "type":"structure", "members":{ "S3Object":{ "shape":"InputS3Object", "documentation":"

The S3 bucket location for the manifest file.

" } }, "documentation":"

Location information about a manifest file. You can use a manifest file to create a dataset.

" }, "DatasetImageStats":{ "type":"structure", "members":{ "Total":{ "shape":"Integer", "documentation":"

The total number of images in the dataset.

" }, "Labeled":{ "shape":"Integer", "documentation":"

The total number of labeled images.

" }, "Normal":{ "shape":"Integer", "documentation":"

The total number of images labeled as normal.

" }, "Anomaly":{ "shape":"Integer", "documentation":"

the total number of images labeled as an anomaly.

" } }, "documentation":"

Statistics about the images in a dataset.

" }, "DatasetMetadata":{ "type":"structure", "members":{ "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the date and time that the dataset was created.

" }, "Status":{ "shape":"DatasetStatus", "documentation":"

The status for the dataset.

" }, "StatusMessage":{ "shape":"DatasetStatusMessage", "documentation":"

The status message for the dataset.

" } }, "documentation":"

Summary information for an Amazon Lookout for Vision dataset. For more information, see DescribeDataset and ProjectDescription.

" }, "DatasetMetadataList":{ "type":"list", "member":{"shape":"DatasetMetadata"} }, "DatasetSource":{ "type":"structure", "members":{ "GroundTruthManifest":{ "shape":"DatasetGroundTruthManifest", "documentation":"

Location information for the manifest file.

" } }, "documentation":"

Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.

" }, "DatasetStatus":{ "type":"string", "enum":[ "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":{"type":"string"}, "DatasetType":{ "type":"string", "max":10, "min":1, "pattern":"train|test" }, "DateTime":{"type":"timestamp"}, "DeleteDatasetRequest":{ "type":"structure", "required":[ "ProjectName", "DatasetType" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the dataset that you want to delete.

", "location":"uri", "locationName":"projectName" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset to delete. Specify `train` to delete the training dataset. Specify `test` to delete the test dataset. To delete the dataset in a single dataset project, specify `train`.

", "location":"uri", "locationName":"datasetType" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `DeleteDataset` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `DeleteDataset`. In this case, safely retry your call to `DeleteDataset` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple deletetion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `DeleteDataset`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "DeleteDatasetResponse":{ "type":"structure", "members":{ } }, "DeleteModelRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model that you want to delete.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersionNoLatest", "documentation":"

The version of the model that you want to delete.

", "location":"uri", "locationName":"modelVersion" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `DeleteModel` completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from `DeleteModel`. In this case, safely retry your call to `DeleteModel` by using the same `ClientToken` parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple model deletion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `DeleteModel`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "DeleteModelResponse":{ "type":"structure", "members":{ "ModelArn":{ "shape":"ModelArn", "documentation":"

The Amazon Resource Name (ARN) of the model that was deleted.

" } } }, "DeleteProjectRequest":{ "type":"structure", "required":["ProjectName"], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project to delete.

", "location":"uri", "locationName":"projectName" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `DeleteProject` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `DeleteProject`. In this case, safely retry your call to `DeleteProject` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project deletion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `DeleteProject`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "DeleteProjectResponse":{ "type":"structure", "members":{ "ProjectArn":{ "shape":"ProjectArn", "documentation":"

The Amazon Resource Name (ARN) of the project that was deleted.

" } } }, "DescribeDatasetRequest":{ "type":"structure", "required":[ "ProjectName", "DatasetType" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the dataset that you want to describe.

", "location":"uri", "locationName":"projectName" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset to describe. Specify `train` to describe the training dataset. Specify `test` to describe the test dataset. If you have a single dataset project, specify `train`

", "location":"uri", "locationName":"datasetType" } } }, "DescribeDatasetResponse":{ "type":"structure", "members":{ "DatasetDescription":{ "shape":"DatasetDescription", "documentation":"

The description of the requested dataset.

" } } }, "DescribeModelPackagingJobRequest":{ "type":"structure", "required":[ "ProjectName", "JobName" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model packaging job that you want to describe.

", "location":"uri", "locationName":"projectName" }, "JobName":{ "shape":"ModelPackagingJobName", "documentation":"

The job name for the model packaging job.

", "location":"uri", "locationName":"jobName" } } }, "DescribeModelPackagingJobResponse":{ "type":"structure", "members":{ "ModelPackagingDescription":{ "shape":"ModelPackagingDescription", "documentation":"

The description of the model packaging job.

" } } }, "DescribeModelRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The project that contains the version of a model that you want to describe.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model that you want to describe.

", "location":"uri", "locationName":"modelVersion" } } }, "DescribeModelResponse":{ "type":"structure", "members":{ "ModelDescription":{ "shape":"ModelDescription", "documentation":"

Contains the description of the model.

" } } }, "DescribeProjectRequest":{ "type":"structure", "required":["ProjectName"], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that you want to describe.

", "location":"uri", "locationName":"projectName" } } }, "DescribeProjectResponse":{ "type":"structure", "members":{ "ProjectDescription":{ "shape":"ProjectDescription", "documentation":"

The description of the project.

" } } }, "DetectAnomaliesRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion", "Body", "ContentType" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model version that you want to use.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model that you want to use.

", "location":"uri", "locationName":"modelVersion" }, "Body":{ "shape":"Stream", "documentation":"

The unencrypted image bytes that you want to analyze.

" }, "ContentType":{ "shape":"ContentType", "documentation":"

The type of the image passed in `Body`. Valid values are `image/png` (PNG format images) and `image/jpeg` (JPG format images).

", "location":"header", "locationName":"Content-Type" } }, "payload":"Body" }, "DetectAnomaliesResponse":{ "type":"structure", "members":{ "DetectAnomalyResult":{ "shape":"DetectAnomalyResult", "documentation":"

The results of the `DetectAnomalies` operation.

" } } }, "DetectAnomalyResult":{ "type":"structure", "members":{ "Source":{ "shape":"ImageSource", "documentation":"

The source of the image that was analyzed. `direct` means that the images was supplied from the local computer. No other values are supported.

" }, "IsAnomalous":{ "shape":"Boolean", "documentation":"

True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.

" }, "Confidence":{ "shape":"Float", "documentation":"

The confidence that Lookout for Vision has in the accuracy of the classification in `IsAnomalous`.

" }, "Anomalies":{ "shape":"AnomalyList", "documentation":"

If the model is an image segmentation model, `Anomalies` contains a list of anomaly types found in the image. There is one entry for each type of anomaly found (even if multiple instances of an anomaly type exist on the image). The first element in the list is always an anomaly type representing the image background ('background') and shouldn't be considered an anomaly. Amazon Lookout for Vision automatically add the background anomaly type to the response, and you don't need to declare a background anomaly type in your dataset.

If the list has one entry ('background'), no anomalies were found on the image.

An image classification model doesn't return an `Anomalies` list.

" }, "AnomalyMask":{ "shape":"AnomalyMask", "documentation":"

If the model is an image segmentation model, `AnomalyMask` contains pixel masks that covers all anomaly types found on the image. Each anomaly type has a different mask color. To map a color to an anomaly type, see the `color` field of the PixelAnomaly object.

An image classification model doesn't return an `Anomalies` list.

" } }, "documentation":"

The prediction results from a call to DetectAnomalies. `DetectAnomalyResult` includes classification information for the prediction (`IsAnomalous` and `Confidence`). If the model you use is an image segementation model, `DetectAnomalyResult` also includes segmentation information (`Anomalies` and `AnomalyMask`). Classification information is calculated separately from segmentation information and you shouldn't assume a relationship between them.

" }, "ExceptionString":{"type":"string"}, "Float":{"type":"float"}, "GreengrassConfiguration":{ "type":"structure", "required":[ "S3OutputLocation", "ComponentName" ], "members":{ "CompilerOptions":{ "shape":"CompilerOptions", "documentation":"

Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify `TargetDevice`, don't specify `CompilerOptions`.

For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.

" }, "TargetDevice":{ "shape":"TargetDevice", "documentation":"

The target device for the model. Currently the only supported value is `jetson_xavier`. If you specify `TargetDevice`, you can't specify `TargetPlatform`.

" }, "TargetPlatform":{ "shape":"TargetPlatform", "documentation":"

The target platform for the model. If you specify `TargetPlatform`, you can't specify `TargetDevice`.

" }, "S3OutputLocation":{ "shape":"S3Location", "documentation":"

An S3 location in which Lookout for Vision stores the component artifacts.

" }, "ComponentName":{ "shape":"ComponentName", "documentation":"

A name for the AWS IoT Greengrass component.

" }, "ComponentVersion":{ "shape":"ComponentVersion", "documentation":"

A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of `Model Version.0.0` is used.

" }, "ComponentDescription":{ "shape":"ComponentDescription", "documentation":"

A description for the AWS IoT Greengrass component.

" }, "Tags":{ "shape":"TagList", "documentation":"

A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.

" } }, "documentation":"

Configuration information for the AWS IoT Greengrass component created in a model packaging job. For more information, see StartModelPackagingJob.

You can't specify a component with the same `ComponentName` and `Componentversion` as an existing component with the same component name and component version.

" }, "GreengrassOutputDetails":{ "type":"structure", "members":{ "ComponentVersionArn":{ "shape":"ComponentVersionArn", "documentation":"

The Amazon Resource Name (ARN) of the component.

" }, "ComponentName":{ "shape":"ComponentName", "documentation":"

The name of the component.

" }, "ComponentVersion":{ "shape":"ComponentVersion", "documentation":"

The version of the component.

" } }, "documentation":"

Information about the AWS IoT Greengrass component created by a model packaging job.

" }, "ImageSource":{ "type":"structure", "members":{ "Type":{ "shape":"ImageSourceType", "documentation":"

The type of the image.

" } }, "documentation":"

The source for an image.

" }, "ImageSourceType":{ "type":"string", "pattern":"direct" }, "InferenceUnits":{ "type":"integer", "min":1 }, "InputS3Object":{ "type":"structure", "required":[ "Bucket", "Key" ], "members":{ "Bucket":{ "shape":"S3BucketName", "documentation":"

The Amazon S3 bucket that contains the manifest.

" }, "Key":{ "shape":"S3ObjectKey", "documentation":"

The name and location of the manifest file withiin the bucket.

" }, "VersionId":{ "shape":"S3ObjectVersion", "documentation":"

The version ID of the bucket.

" } }, "documentation":"

Amazon S3 Location information for an input manifest file.

" }, "Integer":{"type":"integer"}, "InternalServerException":{ "type":"structure", "required":["Message"], "members":{ "Message":{"shape":"ExceptionString"}, "RetryAfterSeconds":{ "shape":"RetryAfterSeconds", "documentation":"

The period of time, in seconds, before the operation can be retried.

", "location":"header", "locationName":"Retry-After" } }, "documentation":"

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

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "IsLabeled":{"type":"boolean"}, "KmsKeyId":{ "type":"string", "max":2048, "min":1, "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" }, "ListDatasetEntriesRequest":{ "type":"structure", "required":[ "ProjectName", "DatasetType" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the dataset that you want to list.

", "location":"uri", "locationName":"projectName" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset that you want to list. Specify `train` to list the training dataset. Specify `test` to list the test dataset. If you have a single dataset project, specify `train`.

", "location":"uri", "locationName":"datasetType" }, "Labeled":{ "shape":"IsLabeled", "documentation":"

Specify `true` to include labeled entries, otherwise specify `false`. If you don't specify a value, Lookout for Vision returns all entries.

", "location":"querystring", "locationName":"labeled" }, "AnomalyClass":{ "shape":"AnomalyClassFilter", "documentation":"

Specify `normal` to include only normal images. Specify `anomaly` to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.

", "location":"querystring", "locationName":"anomalyClass" }, "BeforeCreationDate":{ "shape":"DateTime", "documentation":"

Only includes entries before the specified date in the response. For example, `2020-06-23T00:00:00`.

", "location":"querystring", "locationName":"createdBefore" }, "AfterCreationDate":{ "shape":"DateTime", "documentation":"

Only includes entries after the specified date in the response. For example, `2020-06-23T00:00:00`.

", "location":"querystring", "locationName":"createdAfter" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.

", "location":"querystring", "locationName":"nextToken" }, "MaxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", "location":"querystring", "locationName":"maxResults" }, "SourceRefContains":{ "shape":"QueryString", "documentation":"

Perform a \"contains\" search on the values of the `source-ref` key within the dataset. For example a value of \"IMG_17\" returns all JSON Lines where the `source-ref` key value matches *IMG_17*.

", "location":"querystring", "locationName":"sourceRefContains" } } }, "ListDatasetEntriesResponse":{ "type":"structure", "members":{ "DatasetEntries":{ "shape":"DatasetEntryList", "documentation":"

A list of the entries (JSON Lines) within the dataset.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set ofdataset entries.

" } } }, "ListModelPackagingJobsRequest":{ "type":"structure", "required":["ProjectName"], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project for which you want to list the model packaging jobs.

", "location":"uri", "locationName":"projectName" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "MaxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", "location":"querystring", "locationName":"maxResults" } } }, "ListModelPackagingJobsResponse":{ "type":"structure", "members":{ "ModelPackagingJobs":{ "shape":"ModelPackagingJobsList", "documentation":"

A list of the model packaging jobs created for the specified Amazon Lookout for Vision project.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

" } } }, "ListModelsRequest":{ "type":"structure", "required":["ProjectName"], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model versions that you want to list.

", "location":"uri", "locationName":"projectName" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of models.

", "location":"querystring", "locationName":"nextToken" }, "MaxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", "location":"querystring", "locationName":"maxResults" } } }, "ListModelsResponse":{ "type":"structure", "members":{ "Models":{ "shape":"ModelMetadataList", "documentation":"

A list of model versions in the specified project.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.

" } } }, "ListProjectsRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"PaginationToken", "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of projects.

", "location":"querystring", "locationName":"nextToken" }, "MaxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", "location":"querystring", "locationName":"maxResults" } } }, "ListProjectsResponse":{ "type":"structure", "members":{ "Projects":{ "shape":"ProjectMetadataList", "documentation":"

A list of projects in your AWS account.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["ResourceArn"], "members":{ "ResourceArn":{ "shape":"TagArn", "documentation":"

The Amazon Resource Name (ARN) of the model for which you want to list tags.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "Tags":{ "shape":"TagList", "documentation":"

A map of tag keys and values attached to the specified model.

" } } }, "ModelArn":{"type":"string"}, "ModelDescription":{ "type":"structure", "members":{ "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model

" }, "ModelArn":{ "shape":"ModelArn", "documentation":"

The Amazon Resource Name (ARN) of the model.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The unix timestamp for the date and time that the model was created.

" }, "Description":{ "shape":"ModelDescriptionMessage", "documentation":"

The description for the model.

" }, "Status":{ "shape":"ModelStatus", "documentation":"

The status of the model.

" }, "StatusMessage":{ "shape":"ModelStatusMessage", "documentation":"

The status message for the model.

" }, "Performance":{ "shape":"ModelPerformance", "documentation":"

Performance metrics for the model. Created during training.

" }, "OutputConfig":{ "shape":"OutputConfig", "documentation":"

The S3 location where Amazon Lookout for Vision saves model training files.

" }, "EvaluationManifest":{ "shape":"OutputS3Object", "documentation":"

The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.

" }, "EvaluationResult":{ "shape":"OutputS3Object", "documentation":"

The S3 location where Amazon Lookout for Vision saves the performance metrics.

" }, "EvaluationEndTimestamp":{ "shape":"DateTime", "documentation":"

The unix timestamp for the date and time that the evaluation ended.

" }, "KmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.

" }, "MinInferenceUnits":{ "shape":"InferenceUnits", "documentation":"

The minimum number of inference units used by the model. For more information, see StartModel

" }, "MaxInferenceUnits":{ "shape":"InferenceUnits", "documentation":"

The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.

" } }, "documentation":"

Describes an Amazon Lookout for Vision model.

" }, "ModelDescriptionMessage":{ "type":"string", "max":500, "min":1, "pattern":"[0-9A-Za-z\\.\\-_]*" }, "ModelHostingStatus":{ "type":"string", "enum":[ "STARTING_HOSTING", "HOSTED", "HOSTING_FAILED", "STOPPING_HOSTING", "SYSTEM_UPDATING" ] }, "ModelMetadata":{ "type":"structure", "members":{ "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The unix timestamp for the date and time that the model was created.

" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model.

" }, "ModelArn":{ "shape":"ModelArn", "documentation":"

The Amazon Resource Name (ARN) of the model.

" }, "Description":{ "shape":"ModelDescriptionMessage", "documentation":"

The description for the model.

" }, "Status":{ "shape":"ModelStatus", "documentation":"

The status of the model.

" }, "StatusMessage":{ "shape":"ModelStatusMessage", "documentation":"

The status message for the model.

" }, "Performance":{ "shape":"ModelPerformance", "documentation":"

Performance metrics for the model. Not available until training has successfully completed.

" } }, "documentation":"

Describes an Amazon Lookout for Vision model.

" }, "ModelMetadataList":{ "type":"list", "member":{"shape":"ModelMetadata"} }, "ModelPackagingConfiguration":{ "type":"structure", "required":["Greengrass"], "members":{ "Greengrass":{ "shape":"GreengrassConfiguration", "documentation":"

Configuration information for the AWS IoT Greengrass component in a model packaging job.

" } }, "documentation":"

Configuration information for a Amazon Lookout for Vision model packaging job. For more information, see StartModelPackagingJob.

" }, "ModelPackagingDescription":{ "type":"structure", "members":{ "JobName":{ "shape":"ModelPackagingJobName", "documentation":"

The name of the model packaging job.

" }, "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that's associated with a model that's in the model package.

" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model used in the model packaging job.

" }, "ModelPackagingConfiguration":{ "shape":"ModelPackagingConfiguration", "documentation":"

The configuration information used in the model packaging job.

" }, "ModelPackagingJobDescription":{ "shape":"ModelPackagingJobDescription", "documentation":"

The description for the model packaging job.

" }, "ModelPackagingMethod":{ "shape":"ModelPackagingMethod", "documentation":"

The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

" }, "ModelPackagingOutputDetails":{ "shape":"ModelPackagingOutputDetails", "documentation":"

Information about the output of the model packaging job. For more information, see DescribeModelPackagingJob.

" }, "Status":{ "shape":"ModelPackagingJobStatus", "documentation":"

The status of the model packaging job.

" }, "StatusMessage":{ "shape":"ModelPackagingStatusMessage", "documentation":"

The status message for the model packaging job.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the time and date that the model packaging job was created.

" }, "LastUpdatedTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the time and date that the model packaging job was last updated.

" } }, "documentation":"

Information about a model packaging job. For more information, see DescribeModelPackagingJob.

" }, "ModelPackagingJobDescription":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9-_. ()':,;?]+" }, "ModelPackagingJobMetadata":{ "type":"structure", "members":{ "JobName":{ "shape":"ModelPackagingJobName", "documentation":"

The name of the model packaging job.

" }, "ProjectName":{ "shape":"ProjectName", "documentation":"

The project that contains the model that is in the model package.

" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model that is in the model package.

" }, "ModelPackagingJobDescription":{ "shape":"ModelPackagingJobDescription", "documentation":"

The description for the model packaging job.

" }, "ModelPackagingMethod":{ "shape":"ModelPackagingMethod", "documentation":"

The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

" }, "Status":{ "shape":"ModelPackagingJobStatus", "documentation":"

The status of the model packaging job.

" }, "StatusMessage":{ "shape":"ModelPackagingStatusMessage", "documentation":"

The status message for the model packaging job.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the time and date that the model packaging job was created.

" }, "LastUpdatedTimestamp":{ "shape":"DateTime", "documentation":"

The Unix timestamp for the time and date that the model packaging job was last updated.

" } }, "documentation":"

Metadata for a model packaging job. For more information, see ListModelPackagingJobs.

" }, "ModelPackagingJobName":{ "type":"string", "max":64, "min":1, "pattern":"[a-zA-Z0-9-]+" }, "ModelPackagingJobStatus":{ "type":"string", "enum":[ "CREATED", "RUNNING", "SUCCEEDED", "FAILED" ] }, "ModelPackagingJobsList":{ "type":"list", "member":{"shape":"ModelPackagingJobMetadata"} }, "ModelPackagingMethod":{ "type":"string", "max":32, "min":1, "pattern":"^[a-zA-Z0-9]+" }, "ModelPackagingOutputDetails":{ "type":"structure", "members":{ "Greengrass":{ "shape":"GreengrassOutputDetails", "documentation":"

Information about the AWS IoT Greengrass component in a model packaging job.

" } }, "documentation":"

Information about the output from a model packaging job.

" }, "ModelPackagingStatusMessage":{"type":"string"}, "ModelPerformance":{ "type":"structure", "members":{ "F1Score":{ "shape":"Float", "documentation":"

The overall F1 score metric for the trained model.

" }, "Recall":{ "shape":"Float", "documentation":"

The overall recall metric value for the trained model.

" }, "Precision":{ "shape":"Float", "documentation":"

The overall precision metric value for the trained model.

" } }, "documentation":"

Information about the evaluation performance of a trained model.

" }, "ModelStatus":{ "type":"string", "enum":[ "TRAINING", "TRAINED", "TRAINING_FAILED", "STARTING_HOSTING", "HOSTED", "HOSTING_FAILED", "STOPPING_HOSTING", "SYSTEM_UPDATING", "DELETING" ] }, "ModelStatusMessage":{"type":"string"}, "ModelVersion":{ "type":"string", "max":10, "min":1, "pattern":"([1-9][0-9]*|latest)" }, "ModelVersionNoLatest":{ "type":"string", "max":10, "min":1, "pattern":"([1-9][0-9]*)" }, "OutputConfig":{ "type":"structure", "required":["S3Location"], "members":{ "S3Location":{ "shape":"S3Location", "documentation":"

The S3 location for the output.

" } }, "documentation":"

The S3 location where Amazon Lookout for Vision saves model training files.

" }, "OutputS3Object":{ "type":"structure", "required":[ "Bucket", "Key" ], "members":{ "Bucket":{ "shape":"S3BucketName", "documentation":"

The bucket that contains the training output.

" }, "Key":{ "shape":"S3ObjectKey", "documentation":"

The location of the training output in the bucket.

" } }, "documentation":"

The S3 location where Amazon Lookout for Vision saves training output.

" }, "PageSize":{ "type":"integer", "max":100, "min":1 }, "PaginationToken":{ "type":"string", "max":2048, "pattern":"^[a-zA-Z0-9\\/\\+\\=]{0,2048}$" }, "PixelAnomaly":{ "type":"structure", "members":{ "TotalPercentageArea":{ "shape":"Float", "documentation":"

The percentage area of the image that the anomaly type covers.

" }, "Color":{ "shape":"Color", "documentation":"

A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.

" } }, "documentation":"

Information about the pixels in an anomaly mask. For more information, see Anomaly. `PixelAnomaly` is only returned by image segmentation models.

" }, "ProjectArn":{"type":"string"}, "ProjectDescription":{ "type":"structure", "members":{ "ProjectArn":{ "shape":"ProjectArn", "documentation":"

The Amazon Resource Name (ARN) of the project.

" }, "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The unix timestamp for the date and time that the project was created.

" }, "Datasets":{ "shape":"DatasetMetadataList", "documentation":"

A list of datasets in the project.

" } }, "documentation":"

Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.

" }, "ProjectMetadata":{ "type":"structure", "members":{ "ProjectArn":{ "shape":"ProjectArn", "documentation":"

The Amazon Resource Name (ARN) of the project.

" }, "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project.

" }, "CreationTimestamp":{ "shape":"DateTime", "documentation":"

The unix timestamp for the date and time that the project was created.

" } }, "documentation":"

Metadata about an Amazon Lookout for Vision project.

" }, "ProjectMetadataList":{ "type":"list", "member":{"shape":"ProjectMetadata"} }, "ProjectName":{ "type":"string", "max":255, "min":1, "pattern":"[a-zA-Z0-9][a-zA-Z0-9_\\-]*" }, "QueryString":{ "type":"string", "max":2048, "min":1, "pattern":".*\\S.*" }, "ResourceNotFoundException":{ "type":"structure", "required":[ "Message", "ResourceId", "ResourceType" ], "members":{ "Message":{"shape":"ExceptionString"}, "ResourceId":{ "shape":"ExceptionString", "documentation":"

The ID of the resource.

" }, "ResourceType":{ "shape":"ResourceType", "documentation":"

The type of the resource.

" } }, "documentation":"

The resource could not be found.

", "error":{"httpStatusCode":404}, "exception":true }, "ResourceType":{ "type":"string", "enum":[ "PROJECT", "DATASET", "MODEL", "TRIAL", "MODEL_PACKAGE_JOB" ] }, "RetryAfterSeconds":{"type":"integer"}, "S3BucketName":{ "type":"string", "max":63, "min":3, "pattern":"[0-9A-Za-z\\.\\-_]*" }, "S3KeyPrefix":{ "type":"string", "max":1024, "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" }, "S3Location":{ "type":"structure", "required":["Bucket"], "members":{ "Bucket":{ "shape":"S3BucketName", "documentation":"

The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.

" }, "Prefix":{ "shape":"S3KeyPrefix", "documentation":"

The path of the folder, within the S3 bucket, that contains the output.

" } }, "documentation":"

Information about the location of training output or the output of a model packaging job.

" }, "S3ObjectKey":{ "type":"string", "max":1024, "min":1, "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" }, "S3ObjectVersion":{ "type":"string", "max":1024, "min":1, "pattern":".*" }, "ServiceQuotaExceededException":{ "type":"structure", "required":[ "Message", "QuotaCode", "ServiceCode" ], "members":{ "Message":{"shape":"ExceptionString"}, "ResourceId":{ "shape":"ExceptionString", "documentation":"

The ID of the resource.

" }, "ResourceType":{ "shape":"ResourceType", "documentation":"

The type of the resource.

" }, "QuotaCode":{ "shape":"ExceptionString", "documentation":"

The quota code.

" }, "ServiceCode":{ "shape":"ExceptionString", "documentation":"

The service code.

" } }, "documentation":"

A service quota was exceeded the allowed limit. For more information, see Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.

", "error":{"httpStatusCode":402}, "exception":true }, "StartModelPackagingJobRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion", "Configuration" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project which contains the version of the model that you want to package.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model within the project that you want to package.

" }, "JobName":{ "shape":"ModelPackagingJobName", "documentation":"

A name for the model packaging job. If you don't supply a value, the service creates a job name for you.

" }, "Configuration":{ "shape":"ModelPackagingConfiguration", "documentation":"

The configuration for the model packaging job.

" }, "Description":{ "shape":"ModelPackagingJobDescription", "documentation":"

A description for the model packaging job.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `StartModelPackagingJob` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `StartModelPackagingJob`. In this case, safely retry your call to `StartModelPackagingJob` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple dataset creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `StartModelPackagingJob`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "StartModelPackagingJobResponse":{ "type":"structure", "members":{ "JobName":{ "shape":"ModelPackagingJobName", "documentation":"

The job name for the model packaging job. If you don't supply a job name in the `JobName` input parameter, the service creates a job name for you.

" } } }, "StartModelRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion", "MinInferenceUnits" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model that you want to start.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model that you want to start.

", "location":"uri", "locationName":"modelVersion" }, "MinInferenceUnits":{ "shape":"InferenceUnits", "documentation":"

The minimum number of inference units to use. A single inference unit represents 1 hour of processing. Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `StartModel` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `StartModel`. In this case, safely retry your call to `StartModel` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple start requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `StartModel`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" }, "MaxInferenceUnits":{ "shape":"InferenceUnits", "documentation":"

The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Lookout for Vision doesn't auto-scale the model.

" } } }, "StartModelResponse":{ "type":"structure", "members":{ "Status":{ "shape":"ModelHostingStatus", "documentation":"

The current running status of the model.

" } } }, "StopModelRequest":{ "type":"structure", "required":[ "ProjectName", "ModelVersion" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the model that you want to stop.

", "location":"uri", "locationName":"projectName" }, "ModelVersion":{ "shape":"ModelVersion", "documentation":"

The version of the model that you want to stop.

", "location":"uri", "locationName":"modelVersion" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `StopModel` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `StopModel`. In this case, safely retry your call to `StopModel` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple stop requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `StopModel`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "StopModelResponse":{ "type":"structure", "members":{ "Status":{ "shape":"ModelHostingStatus", "documentation":"

The status of the model.

" } } }, "Stream":{ "type":"blob", "requiresLength":true, "streaming":true }, "Tag":{ "type":"structure", "required":[ "Key", "Value" ], "members":{ "Key":{ "shape":"TagKey", "documentation":"

The key of the tag that is attached to the specified model.

" }, "Value":{ "shape":"TagValue", "documentation":"

The value of the tag that is attached to the specified model.

" } }, "documentation":"

A key and value pair that is attached to the specified Amazon Lookout for Vision model.

" }, "TagArn":{ "type":"string", "max":1011, "min":1 }, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":200, "min":0 }, "TagList":{ "type":"list", "member":{"shape":"Tag"}, "max":200, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "ResourceArn", "Tags" ], "members":{ "ResourceArn":{ "shape":"TagArn", "documentation":"

The Amazon Resource Name (ARN) of the model to assign the tags.

", "location":"uri", "locationName":"resourceArn" }, "Tags":{ "shape":"TagList", "documentation":"

The key-value tags to assign to the model.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TargetDevice":{ "type":"string", "enum":["jetson_xavier"] }, "TargetPlatform":{ "type":"structure", "required":[ "Os", "Arch" ], "members":{ "Os":{ "shape":"TargetPlatformOs", "documentation":"

The target operating system for the model. Linux is the only operating system that is currently supported.

" }, "Arch":{ "shape":"TargetPlatformArch", "documentation":"

The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).

" }, "Accelerator":{ "shape":"TargetPlatformAccelerator", "documentation":"

The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the `gpu-code`, `trt-ver`, and `cuda-ver` compiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:

- `mcpu`: CPU micro-architecture. For example, `{'mcpu': 'skylake-avx512'}`

- `mattr`: CPU flags. For example, `{'mattr': ['+neon', '+vfpv4']}`

" } }, "documentation":"

The platform on which a model runs on an AWS IoT Greengrass core device.

" }, "TargetPlatformAccelerator":{ "type":"string", "enum":["NVIDIA"] }, "TargetPlatformArch":{ "type":"string", "enum":[ "ARM64", "X86_64" ] }, "TargetPlatformOs":{ "type":"string", "enum":["LINUX"] }, "ThrottlingException":{ "type":"structure", "required":["Message"], "members":{ "Message":{"shape":"ExceptionString"}, "QuotaCode":{ "shape":"ExceptionString", "documentation":"

The quota code.

" }, "ServiceCode":{ "shape":"ExceptionString", "documentation":"

The service code.

" }, "RetryAfterSeconds":{ "shape":"RetryAfterSeconds", "documentation":"

The period of time, in seconds, before the operation can be retried.

", "location":"header", "locationName":"Retry-After" } }, "documentation":"

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

", "error":{"httpStatusCode":429}, "exception":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "ResourceArn", "TagKeys" ], "members":{ "ResourceArn":{ "shape":"TagArn", "documentation":"

The Amazon Resource Name (ARN) of the model from which you want to remove tags.

", "location":"uri", "locationName":"resourceArn" }, "TagKeys":{ "shape":"TagKeyList", "documentation":"

A list of the keys of the tags that you want to remove.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateDatasetEntriesRequest":{ "type":"structure", "required":[ "ProjectName", "DatasetType", "Changes" ], "members":{ "ProjectName":{ "shape":"ProjectName", "documentation":"

The name of the project that contains the dataset that you want to update.

", "location":"uri", "locationName":"projectName" }, "DatasetType":{ "shape":"DatasetType", "documentation":"

The type of the dataset that you want to update. Specify `train` to update the training dataset. Specify `test` to update the test dataset. If you have a single dataset project, specify `train`.

", "location":"uri", "locationName":"datasetType" }, "Changes":{ "shape":"DatasetChanges", "documentation":"

The entries to add to the dataset.

" }, "ClientToken":{ "shape":"ClientToken", "documentation":"

ClientToken is an idempotency token that ensures a call to `UpdateDatasetEntries` completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from `UpdateDatasetEntries`. In this case, safely retry your call to `UpdateDatasetEntries` by using the same `ClientToken` parameter value.

If you don't supply a value for `ClientToken`, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for `ClientToken` is considered a new call to `UpdateDatasetEntries`. An idempotency token is active for 8 hours.

", "idempotencyToken":true, "location":"header", "locationName":"X-Amzn-Client-Token" } } }, "UpdateDatasetEntriesResponse":{ "type":"structure", "members":{ "Status":{ "shape":"DatasetStatus", "documentation":"

The status of the dataset update.

" } } }, "ValidationException":{ "type":"structure", "required":["Message"], "members":{ "Message":{"shape":"ExceptionString"} }, "documentation":"

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

", "error":{"httpStatusCode":400}, "exception":true } }, "documentation":"

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.

" }