types

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Sumary information for an Amazon Lookout for Vision dataset.

type DatasetSource

type DatasetSource struct {

	// Location information for the manifest file.
	GroundTruthManifest *DatasetGroundTruthManifest
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The prediction results from a call to DetectAnomalies.

type ImageSource

type ImageSource struct {

	// The type of the image.
	Type *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Amazon S3 Location information for an input manifest file.

type InternalServerException

type InternalServerException struct {
	Message *string

	RetryAfterSeconds int32
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Describes an Amazon Lookout for Vision model.

type ModelHostingStatus

type ModelHostingStatus string
const (
	ModelHostingStatusStartingHosting ModelHostingStatus = "STARTING_HOSTING"
	ModelHostingStatusHosted          ModelHostingStatus = "HOSTED"
	ModelHostingStatusHostingFailed   ModelHostingStatus = "HOSTING_FAILED"
	ModelHostingStatusStoppingHosting ModelHostingStatus = "STOPPING_HOSTING"
	ModelHostingStatusSystemUpdating  ModelHostingStatus = "SYSTEM_UPDATING"
)

Enum values for ModelHostingStatus

func (ModelHostingStatus) Values

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. Not available until training has successfully
	// completed.
	Performance *ModelPerformance

	// The status of the model.
	Status ModelStatus

	// The status message for the model.
	StatusMessage *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Metadata about an Amazon Lookout for Vision project.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ResourceId   *string
	ResourceType ResourceType
	// contains filtered or unexported fields
}

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 (*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 contains the training output.
	//
	// This member is required.
	Bucket *string

	// The path of the folder, within the S3 bucket, that contains the training output.
	Prefix *string
	// contains filtered or unexported fields
}

Information about the location training output.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ResourceId   *string
	ResourceType ResourceType
	QuotaCode    *string
	ServiceCode  *string
	// contains filtered or unexported fields
}

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 (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type Tag added in v1.2.0

type Tag struct {

	// The key of the tag that is attached to the specified model.
	//
	// This member is required.
	Key *string

	// The value of the tag that is attached to the specified model.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

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

type ThrottlingException

type ThrottlingException struct {
	Message *string

	QuotaCode         *string
	ServiceCode       *string
	RetryAfterSeconds int32
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL