{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.lookoutvision#AccessDeniedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "
You are not authorized to perform the action.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.lookoutvision#AnomalyClassFilter": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#pattern": "(normal|anomaly)" } }, "com.amazonaws.lookoutvision#Boolean": { "type": "boolean" }, "com.amazonaws.lookoutvision#ClientToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9-]+$" } }, "com.amazonaws.lookoutvision#ConflictException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The ID of the resource.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.lookoutvision#ResourceType", "traits": { "smithy.api#documentation": "The type of the resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The update or deletion of a resource caused an inconsistent state.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.lookoutvision#ContentType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.lookoutvision#CreateDataset": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#CreateDatasetRequest" }, "output": { "target": "com.amazonaws.lookoutvision#CreateDatasetResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset
can create a \n training or a test dataset from a valid dataset source (DatasetSource
).
If you want a single dataset project, specify train
for the value of \n DatasetType
.
To have a project with separate training and test datasets, call CreateDataset
twice.\n On the first call, specify train
for the value of \n DatasetType
. On the second call, specify test
for the value of \n DatasetType
.
This operation requires permissions to perform the\n lookoutvision:CreateDataset
operation.
The name of the project in which you want to create a dataset.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset. Specify train
for a training dataset.\n Specify test
for a test dataset.
The location of the manifest file that Amazon Lookout for Vision uses to create the dataset.
\nIf you don't specify DatasetSource
, an empty dataset is created and the operation \n synchronously returns. Later, you can add JSON Lines by calling UpdateDatasetEntries.\n
If you specify a value for DataSource
, the manifest at the S3 location\n is validated and used to create the dataset. The call to CreateDataset
is asynchronous\n and might take a while to complete. To find out the current status, Check the value of Status
\n returned in a call to DescribeDataset.
ClientToken is an idempotency token that ensures a call to CreateDataset
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from CreateDataset
.\n In this case, safely retry your call\n to CreateDataset
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateDataset
. An idempotency\n token is active for 8 hours.\n
Information about the dataset.
" } } } }, "com.amazonaws.lookoutvision#CreateModel": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#CreateModelRequest" }, "output": { "target": "com.amazonaws.lookoutvision#CreateModelResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates a new version of a model within an an Amazon Lookout for Vision project. \n CreateModel
is an asynchronous operation in which Amazon Lookout for Vision trains, tests,\n and evaluates a new version of a model.
To get the current status, check the Status
field returned\n in the response from DescribeModel.
If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset\n to create a training and a test dataset. \n If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test \n the model.
\nAfter training completes, the evaluation metrics are stored at the location specified in\n OutputConfig
.
This operation requires permissions to perform the\n lookoutvision:CreateModel
operation. If you want to tag your model, you also require\n permission to the lookoutvision:TagResource
operation.
The name of the project in which you want to create a model version.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.lookoutvision#ModelDescriptionMessage", "traits": { "smithy.api#documentation": "A description for the version of the model.
" } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to CreateModel
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from CreateModel
.\n In this case, safely retry your call\n to CreateModel
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateModel
. An idempotency\n token is active for 8 hours.
The location where Amazon Lookout for Vision saves the training results.
", "smithy.api#required": {} } }, "KmsKeyId": { "target": "com.amazonaws.lookoutvision#KmsKeyId", "traits": { "smithy.api#documentation": "The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK).\n The key is used to encrypt training and test images copied into the service for model training. Your \n source images are unaffected.\n If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.
" } }, "Tags": { "target": "com.amazonaws.lookoutvision#TagList", "traits": { "smithy.api#documentation": "A set of tags (key-value pairs) that you want to attach to the model.
" } } } }, "com.amazonaws.lookoutvision#CreateModelResponse": { "type": "structure", "members": { "ModelMetadata": { "target": "com.amazonaws.lookoutvision#ModelMetadata", "traits": { "smithy.api#documentation": "The response from a call to CreateModel
.
Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling\n CreateDataset.
\nThis operation requires permissions to perform the\n lookoutvision:CreateProject
operation.
The name for the project.
", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to CreateProject
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from CreateProject
.\n In this case, safely retry your call\n to CreateProject
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateProject
. An idempotency\n token is active for 8 hours.
Information about the project.
" } } } }, "com.amazonaws.lookoutvision#DatasetChanges": { "type": "blob", "traits": { "smithy.api#length": { "min": 1, "max": 10485760 } } }, "com.amazonaws.lookoutvision#DatasetDescription": { "type": "structure", "members": { "ProjectName": { "target": "com.amazonaws.lookoutvision#ProjectName", "traits": { "smithy.api#documentation": "The name of the project that contains the dataset.
" } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset. The value train
represents a training dataset or single dataset project.\n The value test
represents a test dataset.
The Unix timestamp for the time and date that the dataset was created.
" } }, "LastUpdatedTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The Unix timestamp for the date and time that the dataset was last updated.
" } }, "Status": { "target": "com.amazonaws.lookoutvision#DatasetStatus", "traits": { "smithy.api#documentation": "The status of the dataset.
" } }, "StatusMessage": { "target": "com.amazonaws.lookoutvision#DatasetStatusMessage", "traits": { "smithy.api#documentation": "The status message for the dataset.
" } }, "ImageStats": { "target": "com.amazonaws.lookoutvision#DatasetImageStats", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "The description for a dataset. For more information, see DescribeDataset.
" } }, "com.amazonaws.lookoutvision#DatasetEntry": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 8192 }, "smithy.api#pattern": "^\\{.*\\}$" } }, "com.amazonaws.lookoutvision#DatasetEntryList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#DatasetEntry" } }, "com.amazonaws.lookoutvision#DatasetGroundTruthManifest": { "type": "structure", "members": { "S3Object": { "target": "com.amazonaws.lookoutvision#InputS3Object", "traits": { "smithy.api#documentation": "The S3 bucket location for the manifest file.
" } } }, "traits": { "smithy.api#documentation": "Location information about a manifest file. You can use a manifest file to\n create a dataset.
" } }, "com.amazonaws.lookoutvision#DatasetImageStats": { "type": "structure", "members": { "Total": { "target": "com.amazonaws.lookoutvision#Integer", "traits": { "smithy.api#documentation": "The total number of images in the dataset.
" } }, "Labeled": { "target": "com.amazonaws.lookoutvision#Integer", "traits": { "smithy.api#documentation": "The total number of labeled images.
" } }, "Normal": { "target": "com.amazonaws.lookoutvision#Integer", "traits": { "smithy.api#documentation": "The total number of images labeled as normal.
" } }, "Anomaly": { "target": "com.amazonaws.lookoutvision#Integer", "traits": { "smithy.api#documentation": "the total number of images labeled as an anomaly.
" } } }, "traits": { "smithy.api#documentation": "Statistics about the images in a dataset.
" } }, "com.amazonaws.lookoutvision#DatasetMetadata": { "type": "structure", "members": { "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset.
" } }, "CreationTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The Unix timestamp for the date and time that the dataset was created.
" } }, "Status": { "target": "com.amazonaws.lookoutvision#DatasetStatus", "traits": { "smithy.api#documentation": "The status for the dataset.
" } }, "StatusMessage": { "target": "com.amazonaws.lookoutvision#DatasetStatusMessage", "traits": { "smithy.api#documentation": "The status message for the dataset.
" } } }, "traits": { "smithy.api#documentation": "Sumary information for an Amazon Lookout for Vision dataset.
" } }, "com.amazonaws.lookoutvision#DatasetMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#DatasetMetadata" } }, "com.amazonaws.lookoutvision#DatasetSource": { "type": "structure", "members": { "GroundTruthManifest": { "target": "com.amazonaws.lookoutvision#DatasetGroundTruthManifest", "traits": { "smithy.api#documentation": "Location information for the manifest file.
" } } }, "traits": { "smithy.api#documentation": "Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.
" } }, "com.amazonaws.lookoutvision#DatasetStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATE_IN_PROGRESS", "name": "CREATE_IN_PROGRESS" }, { "value": "CREATE_COMPLETE", "name": "CREATE_COMPLETE" }, { "value": "CREATE_FAILED", "name": "CREATE_FAILED" }, { "value": "UPDATE_IN_PROGRESS", "name": "UPDATE_IN_PROGRESS" }, { "value": "UPDATE_COMPLETE", "name": "UPDATE_COMPLETE" }, { "value": "UPDATE_FAILED_ROLLBACK_IN_PROGRESS", "name": "UPDATE_FAILED_ROLLBACK_IN_PROGRESS" }, { "value": "UPDATE_FAILED_ROLLBACK_COMPLETE", "name": "UPDATE_FAILED_ROLLBACK_COMPLETE" }, { "value": "DELETE_IN_PROGRESS", "name": "DELETE_IN_PROGRESS" }, { "value": "DELETE_COMPLETE", "name": "DELETE_COMPLETE" }, { "value": "DELETE_FAILED", "name": "DELETE_FAILED" } ] } }, "com.amazonaws.lookoutvision#DatasetStatusMessage": { "type": "string" }, "com.amazonaws.lookoutvision#DatasetType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#pattern": "train|test" } }, "com.amazonaws.lookoutvision#DateTime": { "type": "timestamp" }, "com.amazonaws.lookoutvision#DeleteDataset": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DeleteDatasetRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DeleteDatasetResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an existing Amazon Lookout for Vision dataset
.
If your the project has a single\n dataset, you must create a new dataset before you can create a model.
\nIf you project has a training dataset and a test dataset consider the following.
\nIf you delete the test dataset, your project reverts to a single dataset project. If you then\n train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.
\nIf you delete the training dataset, you must create a training dataset before you can create a model.
\nThis operation requires permissions to perform the\n lookoutvision:DeleteDataset
operation.
The name of the project that contains the dataset that you want to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset to delete. Specify train
to delete the training dataset.\n Specify test
to delete the test dataset. To delete the dataset in a single dataset project, \n specify train
.
ClientToken is an idempotency token that ensures a call to DeleteDataset
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from DeleteDataset
.\n In this case, safely retry your call\n to DeleteDataset
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteDataset
. An idempotency\n token is active for 8 hours.
Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model,\n use the StopModel operation.
\nIt might take a few seconds to delete a model. To determine if a model has been deleted, call\n ListProjects and check if the version of the model (ModelVersion
) is in the\n Models
array.
This operation requires permissions to perform the\n lookoutvision:DeleteModel
operation.
The name of the project that contains the model that you want to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model that you want to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to DeleteModel
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from DeleteModel
.\n In this case, safely retry your call\n to DeleteModel
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteModel
. An idempotency\n token is active for 8 hours.
The Amazon Resource Name (ARN) of the model that was deleted.
" } } } }, "com.amazonaws.lookoutvision#DeleteProject": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DeleteProjectRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DeleteProjectResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an Amazon Lookout for Vision project.
\nTo delete a project, you must first delete each version of the model associated with \n the project. To delete a model use the DeleteModel operation.
\nYou also have to delete the dataset(s) associated with the model. For more information, see \n DeleteDataset. The images referenced by the training and test datasets aren't deleted. \n
\nThis operation requires permissions to perform the\n lookoutvision:DeleteProject
operation.
The name of the project to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to DeleteProject
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from DeleteProject
.\n In this case, safely retry your call\n to DeleteProject
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteProject
. An idempotency\n token is active for 8 hours.
The Amazon Resource Name (ARN) of the project that was deleted.
" } } } }, "com.amazonaws.lookoutvision#DescribeDataset": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DescribeDatasetRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DescribeDatasetResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Describe an Amazon Lookout for Vision dataset.
\nThis operation requires permissions to perform the\n lookoutvision:DescribeDataset
operation.
The name of the project that contains the dataset that you want to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset to describe. Specify train
to describe the \n training dataset. Specify test
to describe the test dataset.\n If you have a single dataset project, specify train
\n
The description of the requested dataset.
" } } } }, "com.amazonaws.lookoutvision#DescribeModel": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DescribeModelRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DescribeModelResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes a version of an Amazon Lookout for Vision model.
\nThis operation requires permissions to perform the\n lookoutvision:DescribeModel
operation.
The project that contains the version of a model that you want to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model that you want to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lookoutvision#DescribeModelResponse": { "type": "structure", "members": { "ModelDescription": { "target": "com.amazonaws.lookoutvision#ModelDescription", "traits": { "smithy.api#documentation": "Contains the description of the model.
" } } } }, "com.amazonaws.lookoutvision#DescribeProject": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DescribeProjectRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DescribeProjectResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes an Amazon Lookout for Vision project.
\nThis operation requires permissions to perform the\n lookoutvision:DescribeProject
operation.
The name of the project that you want to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lookoutvision#DescribeProjectResponse": { "type": "structure", "members": { "ProjectDescription": { "target": "com.amazonaws.lookoutvision#ProjectDescription", "traits": { "smithy.api#documentation": "The description of the project.
" } } } }, "com.amazonaws.lookoutvision#DetectAnomalies": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#DetectAnomaliesRequest" }, "output": { "target": "com.amazonaws.lookoutvision#DetectAnomaliesResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Detects anomalies in an image that you supply.
\nThe response from DetectAnomalies
includes a boolean prediction\n that the image contains one or more anomalies and a confidence value for the prediction.
Before calling DetectAnomalies
, you must first start your model with the StartModel operation.\n You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your\n model uses. If you are not using a model, use the StopModel operation to stop your model.
This operation requires permissions to perform the\n lookoutvision:DetectAnomalies
operation.
The name of the project that contains the model version that you want to use.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model that you want to use.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Body": { "target": "com.amazonaws.lookoutvision#Stream", "traits": { "smithy.api#documentation": "The unencrypted image bytes that you want to analyze.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "ContentType": { "target": "com.amazonaws.lookoutvision#ContentType", "traits": { "smithy.api#documentation": "The type of the image passed in Body
.\n Valid values are image/png
(PNG format images) and image/jpeg
(JPG format images).
The results of the DetectAnomalies
operation.
The source of the image that was analyzed. direct
means that the\n images was supplied from the local computer. No other values are supported.
True if the image contains an anomaly, otherwise false.
" } }, "Confidence": { "target": "com.amazonaws.lookoutvision#Float", "traits": { "smithy.api#documentation": "The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
" } } }, "traits": { "smithy.api#documentation": "The prediction results from a call to DetectAnomalies.
" } }, "com.amazonaws.lookoutvision#ExceptionString": { "type": "string" }, "com.amazonaws.lookoutvision#Float": { "type": "float", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lookoutvision#ImageSource": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.lookoutvision#ImageSourceType", "traits": { "smithy.api#documentation": "The type of the image.
" } } }, "traits": { "smithy.api#documentation": "The source for an image.
" } }, "com.amazonaws.lookoutvision#ImageSourceType": { "type": "string", "traits": { "smithy.api#pattern": "direct" } }, "com.amazonaws.lookoutvision#InferenceUnits": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.lookoutvision#InputS3Object": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { "smithy.api#documentation": "The Amazon S3 bucket that contains the manifest.
", "smithy.api#required": {} } }, "Key": { "target": "com.amazonaws.lookoutvision#S3ObjectKey", "traits": { "smithy.api#documentation": "The name and location of the manifest file withiin the bucket.
", "smithy.api#required": {} } }, "VersionId": { "target": "com.amazonaws.lookoutvision#S3ObjectVersion", "traits": { "smithy.api#documentation": "The version ID of the bucket.
" } } }, "traits": { "smithy.api#documentation": "Amazon S3 Location information for an input manifest file.
" } }, "com.amazonaws.lookoutvision#Integer": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lookoutvision#InternalServerException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } }, "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { "smithy.api#documentation": "The period of time, in seconds, before the operation can be retried.
", "smithy.api#httpHeader": "Retry-After" } } }, "traits": { "smithy.api#documentation": "Amazon Lookout for Vision experienced a service issue. Try your call again.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.lookoutvision#IsLabeled": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lookoutvision#KmsKeyId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" } }, "com.amazonaws.lookoutvision#ListDatasetEntries": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#ListDatasetEntriesRequest" }, "output": { "target": "com.amazonaws.lookoutvision#ListDatasetEntriesResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly\n information for a single image, including the image location and the assigned label.
\nThis operation requires permissions to perform the\n lookoutvision:ListDatasetEntries
operation.
The name of the project that contains the dataset that you want to list.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset that you want to list. Specify train
to list \n the training dataset. Specify test
to list the test dataset. If you have a single dataset\n project, specify train
.
Specify true
to include labeled entries, otherwise specify false
. If you\n don't specify a value, Lookout for Vision returns all entries.
Specify normal
to include only normal images. Specify anomaly
to only include\n anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00
.
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00
.
If the previous response was incomplete (because there is more data to retrieve),\n Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to\n retrieve the next set of dataset entries.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.lookoutvision#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results to return per paginated call. The largest value you can specify is 100. \n If you specify a value greater than 100, a ValidationException\n error occurs. The default value is 100.
", "smithy.api#httpQuery": "maxResults" } }, "SourceRefContains": { "target": "com.amazonaws.lookoutvision#QueryString", "traits": { "smithy.api#documentation": "Perform a \"contains\" search on the values of the source-ref
key within the dataset. \n For example a value of \"IMG_17\" returns all JSON Lines where the source-ref
key value matches *IMG_17*.
A list of the entries (JSON Lines) within the dataset.
" } }, "NextToken": { "target": "com.amazonaws.lookoutvision#PaginationToken", "traits": { "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set ofdataset entries.
" } } } }, "com.amazonaws.lookoutvision#ListModels": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#ListModelsRequest" }, "output": { "target": "com.amazonaws.lookoutvision#ListModelsResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists the versions of a model in an Amazon Lookout for Vision project.
\nThis operation requires permissions to perform the\n lookoutvision:ListModels
operation.
The name of the project that contains the model versions that you want to list.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.lookoutvision#PaginationToken", "traits": { "smithy.api#documentation": "If the previous response was incomplete (because there is more data to retrieve),\n Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to\n retrieve the next set of models.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.lookoutvision#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results to return per paginated call. The largest value you can specify is 100. \n If you specify a value greater than 100, a ValidationException\n error occurs. The default value is 100.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lookoutvision#ListModelsResponse": { "type": "structure", "members": { "Models": { "target": "com.amazonaws.lookoutvision#ModelMetadataList", "traits": { "smithy.api#documentation": "A list of model versions in the specified project.
" } }, "NextToken": { "target": "com.amazonaws.lookoutvision#PaginationToken", "traits": { "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set of models.
" } } } }, "com.amazonaws.lookoutvision#ListProjects": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#ListProjectsRequest" }, "output": { "target": "com.amazonaws.lookoutvision#ListProjectsResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists the Amazon Lookout for Vision projects in your AWS account.
\nThis operation requires permissions to perform the\n lookoutvision:ListProjects
operation.
If the previous response was incomplete (because there is more data to retrieve),\n Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to\n retrieve the next set of projects.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.lookoutvision#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results to return per paginated call. The largest value you can specify is 100. \n If you specify a value greater than 100, a ValidationException\n error occurs. The default value is 100.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lookoutvision#ListProjectsResponse": { "type": "structure", "members": { "Projects": { "target": "com.amazonaws.lookoutvision#ProjectMetadataList", "traits": { "smithy.api#documentation": "A list of projects in your AWS account.
" } }, "NextToken": { "target": "com.amazonaws.lookoutvision#PaginationToken", "traits": { "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set of projects.
" } } } }, "com.amazonaws.lookoutvision#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.lookoutvision#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Returns a list of tags attached to the specified Amazon Lookout for Vision model.
\nThis operation requires permissions to perform the\n lookoutvision:ListTagsForResource
operation.
The Amazon Resource Name (ARN) of the model for which you want to list tags.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lookoutvision#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.lookoutvision#TagList", "traits": { "smithy.api#documentation": "A map of tag keys and values attached to the specified model.
" } } } }, "com.amazonaws.lookoutvision#LookoutVisionService": { "type": "service", "version": "2020-11-20", "operations": [ { "target": "com.amazonaws.lookoutvision#CreateDataset" }, { "target": "com.amazonaws.lookoutvision#CreateModel" }, { "target": "com.amazonaws.lookoutvision#CreateProject" }, { "target": "com.amazonaws.lookoutvision#DeleteDataset" }, { "target": "com.amazonaws.lookoutvision#DeleteModel" }, { "target": "com.amazonaws.lookoutvision#DeleteProject" }, { "target": "com.amazonaws.lookoutvision#DescribeDataset" }, { "target": "com.amazonaws.lookoutvision#DescribeModel" }, { "target": "com.amazonaws.lookoutvision#DescribeProject" }, { "target": "com.amazonaws.lookoutvision#DetectAnomalies" }, { "target": "com.amazonaws.lookoutvision#ListDatasetEntries" }, { "target": "com.amazonaws.lookoutvision#ListModels" }, { "target": "com.amazonaws.lookoutvision#ListProjects" }, { "target": "com.amazonaws.lookoutvision#ListTagsForResource" }, { "target": "com.amazonaws.lookoutvision#StartModel" }, { "target": "com.amazonaws.lookoutvision#StopModel" }, { "target": "com.amazonaws.lookoutvision#TagResource" }, { "target": "com.amazonaws.lookoutvision#UntagResource" }, { "target": "com.amazonaws.lookoutvision#UpdateDatasetEntries" } ], "traits": { "aws.api#service": { "sdkId": "LookoutVision", "arnNamespace": "lookoutvision", "cloudFormationName": "LookoutVision", "cloudTrailEventSource": "lookoutvision.amazonaws.com", "endpointPrefix": "lookoutvision" }, "aws.auth#sigv4": { "name": "lookoutvision" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, \n data types, common parameters, and common errors.
\nAmazon Lookout for Vision enables you to find visual defects in industrial products,\n accurately and at scale. It uses computer vision to identify missing components in an industrial product,\n damage to vehicles or structures, irregularities in production lines, and even minuscule defects in\n silicon wafers — or any other physical item where quality is important such as a missing capacitor\n on printed circuit boards.
", "smithy.api#title": "Amazon Lookout for Vision" } }, "com.amazonaws.lookoutvision#ModelArn": { "type": "string" }, "com.amazonaws.lookoutvision#ModelDescription": { "type": "structure", "members": { "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model
" } }, "ModelArn": { "target": "com.amazonaws.lookoutvision#ModelArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the model.
" } }, "CreationTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The unix timestamp for the date and time that the model was created.
" } }, "Description": { "target": "com.amazonaws.lookoutvision#ModelDescriptionMessage", "traits": { "smithy.api#documentation": "The description for the model.
" } }, "Status": { "target": "com.amazonaws.lookoutvision#ModelStatus", "traits": { "smithy.api#documentation": "The status of the model.
" } }, "StatusMessage": { "target": "com.amazonaws.lookoutvision#ModelStatusMessage", "traits": { "smithy.api#documentation": "The status message for the model.
" } }, "Performance": { "target": "com.amazonaws.lookoutvision#ModelPerformance", "traits": { "smithy.api#documentation": "Performance metrics for the model. Created during training.
" } }, "OutputConfig": { "target": "com.amazonaws.lookoutvision#OutputConfig", "traits": { "smithy.api#documentation": "The S3 location where Amazon Lookout for Vision saves model training files.
" } }, "EvaluationManifest": { "target": "com.amazonaws.lookoutvision#OutputS3Object", "traits": { "smithy.api#documentation": "The S3 location where Amazon Lookout for Vision saves the manifest file\n that was used to test the trained model and generate the performance scores.
" } }, "EvaluationResult": { "target": "com.amazonaws.lookoutvision#OutputS3Object", "traits": { "smithy.api#documentation": "The S3 location where Amazon Lookout for Vision saves the performance metrics.
" } }, "EvaluationEndTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The unix timestamp for the date and time that the evaluation ended.
" } }, "KmsKeyId": { "target": "com.amazonaws.lookoutvision#KmsKeyId", "traits": { "smithy.api#documentation": "The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model\n during training.
" } } }, "traits": { "smithy.api#documentation": "Describes an Amazon Lookout for Vision model.
" } }, "com.amazonaws.lookoutvision#ModelDescriptionMessage": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 500 }, "smithy.api#pattern": "[0-9A-Za-z\\.\\-_]*" } }, "com.amazonaws.lookoutvision#ModelHostingStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "STARTING_HOSTING", "name": "STARTING_HOSTING" }, { "value": "HOSTED", "name": "HOSTED" }, { "value": "HOSTING_FAILED", "name": "HOSTING_FAILED" }, { "value": "STOPPING_HOSTING", "name": "STOPPING_HOSTING" }, { "value": "SYSTEM_UPDATING", "name": "SYSTEM_UPDATING" } ] } }, "com.amazonaws.lookoutvision#ModelMetadata": { "type": "structure", "members": { "CreationTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The unix timestamp for the date and time that the model was created.
" } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model.
" } }, "ModelArn": { "target": "com.amazonaws.lookoutvision#ModelArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the model.
" } }, "Description": { "target": "com.amazonaws.lookoutvision#ModelDescriptionMessage", "traits": { "smithy.api#documentation": "The description for the model.
" } }, "Status": { "target": "com.amazonaws.lookoutvision#ModelStatus", "traits": { "smithy.api#documentation": "The status of the model.
" } }, "StatusMessage": { "target": "com.amazonaws.lookoutvision#ModelStatusMessage", "traits": { "smithy.api#documentation": "The status message for the model.
" } }, "Performance": { "target": "com.amazonaws.lookoutvision#ModelPerformance", "traits": { "smithy.api#documentation": "Performance metrics for the model. Not available until training has successfully completed.
" } } }, "traits": { "smithy.api#documentation": "Describes an Amazon Lookout for Vision model.
" } }, "com.amazonaws.lookoutvision#ModelMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#ModelMetadata" } }, "com.amazonaws.lookoutvision#ModelPerformance": { "type": "structure", "members": { "F1Score": { "target": "com.amazonaws.lookoutvision#Float", "traits": { "smithy.api#documentation": "The overall F1 score metric for the trained model.
" } }, "Recall": { "target": "com.amazonaws.lookoutvision#Float", "traits": { "smithy.api#documentation": "The overall recall metric value for the trained model.
" } }, "Precision": { "target": "com.amazonaws.lookoutvision#Float", "traits": { "smithy.api#documentation": "The overall precision metric value for the trained model.
" } } }, "traits": { "smithy.api#documentation": "Information about the evaluation performance of a trained model.
" } }, "com.amazonaws.lookoutvision#ModelStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "TRAINING", "name": "TRAINING" }, { "value": "TRAINED", "name": "TRAINED" }, { "value": "TRAINING_FAILED", "name": "TRAINING_FAILED" }, { "value": "STARTING_HOSTING", "name": "STARTING_HOSTING" }, { "value": "HOSTED", "name": "HOSTED" }, { "value": "HOSTING_FAILED", "name": "HOSTING_FAILED" }, { "value": "STOPPING_HOSTING", "name": "STOPPING_HOSTING" }, { "value": "SYSTEM_UPDATING", "name": "SYSTEM_UPDATING" }, { "value": "DELETING", "name": "DELETING" } ] } }, "com.amazonaws.lookoutvision#ModelStatusMessage": { "type": "string" }, "com.amazonaws.lookoutvision#ModelVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#pattern": "([1-9][0-9]*|latest)" } }, "com.amazonaws.lookoutvision#OutputConfig": { "type": "structure", "members": { "S3Location": { "target": "com.amazonaws.lookoutvision#S3Location", "traits": { "smithy.api#documentation": "The S3 location for the output.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The S3 location where Amazon Lookout for Vision saves model training files.
" } }, "com.amazonaws.lookoutvision#OutputS3Object": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { "smithy.api#documentation": "The bucket that contains the training output.
", "smithy.api#required": {} } }, "Key": { "target": "com.amazonaws.lookoutvision#S3ObjectKey", "traits": { "smithy.api#documentation": "The location of the training output in the bucket.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The S3 location where Amazon Lookout for Vision saves training output.
" } }, "com.amazonaws.lookoutvision#PageSize": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.lookoutvision#PaginationToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 }, "smithy.api#pattern": "^[a-zA-Z0-9\\/\\+\\=]{0,2048}$" } }, "com.amazonaws.lookoutvision#ProjectArn": { "type": "string" }, "com.amazonaws.lookoutvision#ProjectDescription": { "type": "structure", "members": { "ProjectArn": { "target": "com.amazonaws.lookoutvision#ProjectArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the project.
" } }, "ProjectName": { "target": "com.amazonaws.lookoutvision#ProjectName", "traits": { "smithy.api#documentation": "The name of the project.
" } }, "CreationTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The unix timestamp for the date and time that the project was created.
" } }, "Datasets": { "target": "com.amazonaws.lookoutvision#DatasetMetadataList", "traits": { "smithy.api#documentation": "A list of datasets in the project.
" } } }, "traits": { "smithy.api#documentation": "Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.
" } }, "com.amazonaws.lookoutvision#ProjectMetadata": { "type": "structure", "members": { "ProjectArn": { "target": "com.amazonaws.lookoutvision#ProjectArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the project.
" } }, "ProjectName": { "target": "com.amazonaws.lookoutvision#ProjectName", "traits": { "smithy.api#documentation": "The name of the project.
" } }, "CreationTimestamp": { "target": "com.amazonaws.lookoutvision#DateTime", "traits": { "smithy.api#documentation": "The unix timestamp for the date and time that the project was created.
" } } }, "traits": { "smithy.api#documentation": "Metadata about an Amazon Lookout for Vision project.
" } }, "com.amazonaws.lookoutvision#ProjectMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#ProjectMetadata" } }, "com.amazonaws.lookoutvision#ProjectName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "[a-zA-Z0-9][a-zA-Z0-9_\\-]*" } }, "com.amazonaws.lookoutvision#QueryString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": ".*\\S.*" } }, "com.amazonaws.lookoutvision#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The ID of the resource.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.lookoutvision#ResourceType", "traits": { "smithy.api#documentation": "The type of the resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The resource could not be found.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.lookoutvision#ResourceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PROJECT", "name": "PROJECT" }, { "value": "DATASET", "name": "DATASET" }, { "value": "MODEL", "name": "MODEL" }, { "value": "TRIAL", "name": "TRIAL" } ] } }, "com.amazonaws.lookoutvision#RetryAfterSeconds": { "type": "integer" }, "com.amazonaws.lookoutvision#S3BucketName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "[0-9A-Za-z\\.\\-_]*" } }, "com.amazonaws.lookoutvision#S3KeyPrefix": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 }, "smithy.api#pattern": "^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" } }, "com.amazonaws.lookoutvision#S3Location": { "type": "structure", "members": { "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { "smithy.api#documentation": "The S3 bucket that contains the training output.
", "smithy.api#required": {} } }, "Prefix": { "target": "com.amazonaws.lookoutvision#S3KeyPrefix", "traits": { "smithy.api#documentation": "The path of the folder, within the S3 bucket, that contains the training output.
" } } }, "traits": { "smithy.api#documentation": "Information about the location training output.
" } }, "com.amazonaws.lookoutvision#S3ObjectKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" } }, "com.amazonaws.lookoutvision#S3ObjectVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.lookoutvision#ServiceQuotaExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The ID of the resource.
" } }, "ResourceType": { "target": "com.amazonaws.lookoutvision#ResourceType", "traits": { "smithy.api#documentation": "The type of the resource.
" } }, "QuotaCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The quota code.
", "smithy.api#required": {} } }, "ServiceCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The service code.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A service quota was exceeded the allowed limit. For more information, see\n Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.lookoutvision#StartModel": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#StartModelRequest" }, "output": { "target": "com.amazonaws.lookoutvision#StartModelResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while\n to complete. To check the current state of the model, use DescribeModel.
\nA 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 \n DetectAnomalies.
\nYou are charged for the amount of time that the model is running. To stop a running\n model, call StopModel.
\nThis operation requires permissions to perform the\n lookoutvision:StartModel
operation.
The name of the project that contains the model that you want to start.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model that you want to start.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "MinInferenceUnits": { "target": "com.amazonaws.lookoutvision#InferenceUnits", "traits": { "smithy.api#documentation": "The minimum number of inference units to use. A single\n inference unit represents 1 hour of processing and can support up to 5 Transaction Pers Second (TPS).\n Use a higher number to increase the TPS throughput of your model. You are charged for the number\n of inference units that you use.\n
", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to StartModel
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from StartModel
.\n In this case, safely retry your call\n to StartModel
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to StartModel
. An idempotency\n token is active for 8 hours.\n
The current running status of the model.
" } } } }, "com.amazonaws.lookoutvision#StopModel": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#StopModelRequest" }, "output": { "target": "com.amazonaws.lookoutvision#StopModelResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Stops the hosting of a running model. The operation might take a while to complete. To\n check the current status, call DescribeModel.
\nAfter the model hosting stops, the Status
of the model is TRAINED
.
This operation requires permissions to perform the\n lookoutvision:StopModel
operation.
The name of the project that contains the model that you want to stop.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { "smithy.api#documentation": "The version of the model that you want to stop.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to StopModel
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from StopModel
.\n In this case, safely retry your call\n to StopModel
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to StopModel
. An idempotency\n token is active for 8 hours.\n \n \n
The status of the model.
" } } } }, "com.amazonaws.lookoutvision#Stream": { "type": "blob", "traits": { "smithy.api#requiresLength": {}, "smithy.api#streaming": {} } }, "com.amazonaws.lookoutvision#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.lookoutvision#TagKey", "traits": { "smithy.api#documentation": "The key of the tag that is attached to the specified model.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.lookoutvision#TagValue", "traits": { "smithy.api#documentation": "The value of the tag that is attached to the specified model.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A key and value pair that is attached to the specified Amazon Lookout for Vision model.
" } }, "com.amazonaws.lookoutvision#TagArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.lookoutvision#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.lookoutvision#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lookoutvision#TagList": { "type": "list", "member": { "target": "com.amazonaws.lookoutvision#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lookoutvision#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#TagResourceRequest" }, "output": { "target": "com.amazonaws.lookoutvision#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Adds one or more key-value tags to an Amazon Lookout for Vision model. \n For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.
\nThis operation requires permissions to perform the\n lookoutvision:TagResource
operation.
The Amazon Resource Name (ARN) of the model to assign the tags.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.lookoutvision#TagList", "traits": { "smithy.api#documentation": "The key-value tags to assign to the model.
", "smithy.api#required": {} } } } }, "com.amazonaws.lookoutvision#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lookoutvision#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.lookoutvision#ThrottlingException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } }, "QuotaCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The quota code.
" } }, "ServiceCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#documentation": "The service code.
" } }, "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { "smithy.api#documentation": "The period of time, in seconds, before the operation can be retried.
", "smithy.api#httpHeader": "Retry-After" } } }, "traits": { "smithy.api#documentation": "Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.lookoutvision#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#UntagResourceRequest" }, "output": { "target": "com.amazonaws.lookoutvision#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Removes one or more tags from an Amazon Lookout for Vision model. For more information, see \n Tagging a model in the Amazon Lookout for Vision Developer Guide.
\nThis operation requires permissions to perform the\n lookoutvision:UntagResource
operation.
The Amazon Resource Name (ARN) of the model from which you want to remove tags.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.lookoutvision#TagKeyList", "traits": { "smithy.api#documentation": "A list of the keys of the tags that you want to remove.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.lookoutvision#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lookoutvision#UpdateDatasetEntries": { "type": "operation", "input": { "target": "com.amazonaws.lookoutvision#UpdateDatasetEntriesRequest" }, "output": { "target": "com.amazonaws.lookoutvision#UpdateDatasetEntriesResponse" }, "errors": [ { "target": "com.amazonaws.lookoutvision#AccessDeniedException" }, { "target": "com.amazonaws.lookoutvision#ConflictException" }, { "target": "com.amazonaws.lookoutvision#InternalServerException" }, { "target": "com.amazonaws.lookoutvision#ResourceNotFoundException" }, { "target": "com.amazonaws.lookoutvision#ThrottlingException" }, { "target": "com.amazonaws.lookoutvision#ValidationException" } ], "traits": { "smithy.api#documentation": "Adds one or more JSON Line entries to a dataset. A JSON Line includes information about an image\n used for training or testing an Amazon Lookout for Vision model. The following is an example JSON Line.
\n \n \nUpdating a dataset might take a while to complete. To check the current status, call DescribeDataset and\n check the Status
field in the response.
This operation requires permissions to perform the\n lookoutvision:UpdateDatasetEntries
operation.
The name of the project that contains the dataset that you want to update.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { "smithy.api#documentation": "The type of the dataset that you want to update. Specify train
to update\n the training dataset. Specify test
to update the test dataset. If you\n have a single dataset project, specify train
.
The entries to add to the dataset.
", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
\n completes only once. You choose the value to pass. For example, An issue, \n such as an network outage, might prevent you from getting a response from UpdateDatasetEntries
.\n In this case, safely retry your call\n to UpdateDatasetEntries
by using the same ClientToken
parameter value. An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to UpdateDatasetEntries
. An idempotency\n token is active for 8 hours.\n
The status of the dataset update.
" } } } }, "com.amazonaws.lookoutvision#ValidationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "An input validation error occured. For example, invalid characters in a project name,\n or if a pagination token is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }