Documentation
¶
Index ¶
- type AccessDeniedException
- type ConflictException
- type DatasetDescription
- type DatasetGroundTruthManifest
- type DatasetImageStats
- type DatasetMetadata
- type DatasetSource
- type DatasetStatus
- type DetectAnomalyResult
- type ImageSource
- type InputS3Object
- type InternalServerException
- type ModelDescription
- type ModelHostingStatus
- type ModelMetadata
- type ModelPerformance
- type ModelStatus
- type OutputConfig
- type OutputS3Object
- type ProjectDescription
- type ProjectMetadata
- type ResourceNotFoundException
- type ResourceType
- type S3Location
- type ServiceQuotaExceededException
- type ThrottlingException
- type ValidationException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct {
Message *string
}
You are not authorized to perform the action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ConflictException ¶
type ConflictException struct { Message *string ResourceId *string ResourceType ResourceType }
The update or deletion of a resource caused an inconsistent state.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DatasetDescription ¶
type DatasetDescription struct { // The Unix timestamp for the time and date that the dataset was created. CreationTimestamp *time.Time // The type of the dataset. The value train represents a training dataset or single // dataset project. The value test represents a test dataset. DatasetType *string // ImageStats *DatasetImageStats // The Unix timestamp for the date and time that the dataset was last updated. LastUpdatedTimestamp *time.Time // The name of the project that contains the dataset. ProjectName *string // The status of the dataset. Status DatasetStatus // The status message for the dataset. StatusMessage *string }
The description for a dataset. For more information, see DescribeDataset.
type DatasetGroundTruthManifest ¶
type DatasetGroundTruthManifest struct { // The S3 bucket location for the manifest file. S3Object *InputS3Object }
Location information about a manifest file. You can use a manifest file to create a dataset.
type DatasetImageStats ¶
type DatasetImageStats struct { // the total number of images labeled as an anomaly. Anomaly *int32 // The total number of labeled images. Labeled *int32 // The total number of images labeled as normal. Normal *int32 // The total number of images in the dataset. Total *int32 }
Statistics about the images in a dataset.
type DatasetMetadata ¶
type DatasetMetadata struct { // The Unix timestamp for the date and time that the dataset was created. CreationTimestamp *time.Time // The type of the dataset. DatasetType *string // The status for the dataset. Status DatasetStatus // The status message for the dataset. StatusMessage *string }
Sumary information for an Amazon Lookout for Vision dataset.
type DatasetSource ¶
type DatasetSource struct { // Location information for the manifest file. GroundTruthManifest *DatasetGroundTruthManifest }
Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.
type DatasetStatus ¶
type DatasetStatus string
const ( DatasetStatusCreateInProgress DatasetStatus = "CREATE_IN_PROGRESS" DatasetStatusCreateComplete DatasetStatus = "CREATE_COMPLETE" DatasetStatusCreateFailed DatasetStatus = "CREATE_FAILED" DatasetStatusUpdateInProgress DatasetStatus = "UPDATE_IN_PROGRESS" DatasetStatusUpdateComplete DatasetStatus = "UPDATE_COMPLETE" DatasetStatusUpdateFailedRollbackInProgress DatasetStatus = "UPDATE_FAILED_ROLLBACK_IN_PROGRESS" DatasetStatusUpdateFailedRollbackComplete DatasetStatus = "UPDATE_FAILED_ROLLBACK_COMPLETE" DatasetStatusDeleteInProgress DatasetStatus = "DELETE_IN_PROGRESS" DatasetStatusDeleteComplete DatasetStatus = "DELETE_COMPLETE" DatasetStatusDeleteFailed DatasetStatus = "DELETE_FAILED" )
Enum values for DatasetStatus
func (DatasetStatus) Values ¶
func (DatasetStatus) Values() []DatasetStatus
Values returns all known values for DatasetStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type DetectAnomalyResult ¶
type DetectAnomalyResult struct { // The confidence that Amazon Lookout for Vision has in the accuracy of the // prediction. Confidence *float32 // True if the image contains an anomaly, otherwise false. IsAnomalous bool // The source of the image that was analyzed. direct means that the images was // supplied from the local computer. No other values are supported. Source *ImageSource }
The prediction results from a call to DetectAnomalies.
type ImageSource ¶
type ImageSource struct { // The type of the image. Type *string }
The source for an image.
type InputS3Object ¶
type InputS3Object struct { // The Amazon S3 bucket that contains the manifest. // // This member is required. Bucket *string // The name and location of the manifest file withiin the bucket. // // This member is required. Key *string // The version ID of the bucket. VersionId *string }
Amazon S3 Location information for an input manifest file.
type InternalServerException ¶
Amazon Lookout for Vision experienced a service issue. Try your call again.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type ModelDescription ¶
type ModelDescription struct { // The unix timestamp for the date and time that the model was created. CreationTimestamp *time.Time // The description for the model. Description *string // The unix timestamp for the date and time that the evaluation ended. EvaluationEndTimestamp *time.Time // 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. EvaluationManifest *OutputS3Object // The S3 location where Amazon Lookout for Vision saves the performance metrics. EvaluationResult *OutputS3Object // The identifer for the AWS Key Management Service (AWS KMS) key that was used to // encrypt the model during training. KmsKeyId *string // The Amazon Resource Name (ARN) of the model. ModelArn *string // The version of the model ModelVersion *string // The S3 location where Amazon Lookout for Vision saves model training files. OutputConfig *OutputConfig // Performance metrics for the model. Created during training. Performance *ModelPerformance // The status of the model. Status ModelStatus // The status message for the model. StatusMessage *string }
Describes an Amazon Lookout for Vision model.
type ModelHostingStatus ¶
type ModelHostingStatus string
const ( ModelHostingStatusRunning ModelHostingStatus = "RUNNING" ModelHostingStatusStarting ModelHostingStatus = "STARTING" ModelHostingStatusStopped ModelHostingStatus = "STOPPED" ModelHostingStatusFailed ModelHostingStatus = "FAILED" )
Enum values for ModelHostingStatus
func (ModelHostingStatus) Values ¶
func (ModelHostingStatus) Values() []ModelHostingStatus
Values returns all known values for ModelHostingStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ModelMetadata ¶
type ModelMetadata struct { // The unix timestamp for the date and time that the model was created. CreationTimestamp *time.Time // The description for the model. Description *string // The Amazon Resource Name (ARN) of the model. ModelArn *string // The version of the model. ModelVersion *string // Performance metrics for the model. Created during training. Performance *ModelPerformance // The status of the model. Status ModelStatus // The status message for the model. StatusMessage *string }
Describes an Amazon Lookout for Vision model.
type ModelPerformance ¶
type ModelPerformance struct { // The overall F1 score metric for the trained model. F1Score *float32 // The overall precision metric value for the trained model. Precision *float32 // The overall recall metric value for the trained model. Recall *float32 }
Information about the evaluation performance of a trained model.
type ModelStatus ¶
type ModelStatus string
const ( ModelStatusTraining ModelStatus = "TRAINING" ModelStatusTrained ModelStatus = "TRAINED" ModelStatusTrainingFailed ModelStatus = "TRAINING_FAILED" ModelStatusStartingHosting ModelStatus = "STARTING_HOSTING" ModelStatusHosted ModelStatus = "HOSTED" ModelStatusHostingFailed ModelStatus = "HOSTING_FAILED" ModelStatusStoppingHosting ModelStatus = "STOPPING_HOSTING" ModelStatusSystemUpdating ModelStatus = "SYSTEM_UPDATING" ModelStatusDeleting ModelStatus = "DELETING" )
Enum values for ModelStatus
func (ModelStatus) Values ¶
func (ModelStatus) Values() []ModelStatus
Values returns all known values for ModelStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type OutputConfig ¶
type OutputConfig struct { // The S3 location for the output. // // This member is required. S3Location *S3Location }
The S3 location where Amazon Lookout for Vision saves model training files.
type OutputS3Object ¶
type OutputS3Object struct { // The bucket that contains the training output. // // This member is required. Bucket *string // The location of the training output in the bucket. // // This member is required. Key *string }
The S3 location where Amazon Lookout for Vision saves training output.
type ProjectDescription ¶
type ProjectDescription struct { // The unix timestamp for the date and time that the project was created. CreationTimestamp *time.Time // A list of datasets in the project. Datasets []DatasetMetadata // The Amazon Resource Name (ARN) of the project. ProjectArn *string // The name of the project. ProjectName *string }
Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.
type ProjectMetadata ¶
type ProjectMetadata struct { // The unix timestamp for the date and time that the project was created. CreationTimestamp *time.Time // The Amazon Resource Name (ARN) of the project. ProjectArn *string // The name of the project. ProjectName *string }
Metadata about an Amazon Lookout for Vision project.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ResourceId *string ResourceType ResourceType }
The resource could not be found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ResourceType ¶
type ResourceType string
const ( ResourceTypeProject ResourceType = "PROJECT" ResourceTypeDataset ResourceType = "DATASET" ResourceTypeModel ResourceType = "MODEL" ResourceTypeTrial ResourceType = "TRIAL" )
Enum values for ResourceType
func (ResourceType) Values ¶
func (ResourceType) Values() []ResourceType
Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type S3Location ¶
type S3Location struct { // The S3 bucket that contain the manifest file. // // This member is required. Bucket *string // The path and name of the manifest file with the S3 bucket. Prefix *string }
Information about the location of a manifest file.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ResourceId *string ResourceType ResourceType QuotaCode *string ServiceCode *string }
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.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type ThrottlingException ¶
type ThrottlingException struct { Message *string QuotaCode *string ServiceCode *string RetryAfterSeconds int32 }
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type ValidationException ¶
type ValidationException struct {
Message *string
}
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string