Documentation ¶
Overview ¶
Package lookoutforvision provides the client and types for making API requests to Amazon Lookout for Vision.
This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, data types, common parameters, and common errors.
Amazon Lookout for Vision enables you to find visual defects in industrial products, accurately and at scale. It uses computer vision to identify missing components in an industrial product, damage to vehicles or structures, irregularities in production lines, and even minuscule defects in silicon wafers — or any other physical item where quality is important such as a missing capacitor on printed circuit boards.
See https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20 for more information on this service.
See lookoutforvision package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutforvision/
Using the Client ¶
To contact Amazon Lookout for Vision with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Lookout for Vision client LookoutForVision for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutforvision/#New
Index ¶
- Constants
- func DatasetStatus_Values() []string
- func ModelHostingStatus_Values() []string
- func ModelPackagingJobStatus_Values() []string
- func ModelStatus_Values() []string
- func ResourceType_Values() []string
- func TargetDevice_Values() []string
- func TargetPlatformAccelerator_Values() []string
- func TargetPlatformArch_Values() []string
- func TargetPlatformOs_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type Anomaly
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateDatasetInput
- func (s CreateDatasetInput) GoString() string
- func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput
- func (s *CreateDatasetInput) SetDatasetSource(v *DatasetSource) *CreateDatasetInput
- func (s *CreateDatasetInput) SetDatasetType(v string) *CreateDatasetInput
- func (s *CreateDatasetInput) SetProjectName(v string) *CreateDatasetInput
- func (s CreateDatasetInput) String() string
- func (s *CreateDatasetInput) Validate() error
- type CreateDatasetOutput
- type CreateModelInput
- func (s CreateModelInput) GoString() string
- func (s *CreateModelInput) SetClientToken(v string) *CreateModelInput
- func (s *CreateModelInput) SetDescription(v string) *CreateModelInput
- func (s *CreateModelInput) SetKmsKeyId(v string) *CreateModelInput
- func (s *CreateModelInput) SetOutputConfig(v *OutputConfig) *CreateModelInput
- func (s *CreateModelInput) SetProjectName(v string) *CreateModelInput
- func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
- func (s CreateModelInput) String() string
- func (s *CreateModelInput) Validate() error
- type CreateModelOutput
- type CreateProjectInput
- type CreateProjectOutput
- type DatasetDescription
- func (s DatasetDescription) GoString() string
- func (s *DatasetDescription) SetCreationTimestamp(v time.Time) *DatasetDescription
- func (s *DatasetDescription) SetDatasetType(v string) *DatasetDescription
- func (s *DatasetDescription) SetImageStats(v *DatasetImageStats) *DatasetDescription
- func (s *DatasetDescription) SetLastUpdatedTimestamp(v time.Time) *DatasetDescription
- func (s *DatasetDescription) SetProjectName(v string) *DatasetDescription
- func (s *DatasetDescription) SetStatus(v string) *DatasetDescription
- func (s *DatasetDescription) SetStatusMessage(v string) *DatasetDescription
- func (s DatasetDescription) String() string
- type DatasetGroundTruthManifest
- type DatasetImageStats
- func (s DatasetImageStats) GoString() string
- func (s *DatasetImageStats) SetAnomaly(v int64) *DatasetImageStats
- func (s *DatasetImageStats) SetLabeled(v int64) *DatasetImageStats
- func (s *DatasetImageStats) SetNormal(v int64) *DatasetImageStats
- func (s *DatasetImageStats) SetTotal(v int64) *DatasetImageStats
- func (s DatasetImageStats) String() string
- type DatasetMetadata
- func (s DatasetMetadata) GoString() string
- func (s *DatasetMetadata) SetCreationTimestamp(v time.Time) *DatasetMetadata
- func (s *DatasetMetadata) SetDatasetType(v string) *DatasetMetadata
- func (s *DatasetMetadata) SetStatus(v string) *DatasetMetadata
- func (s *DatasetMetadata) SetStatusMessage(v string) *DatasetMetadata
- func (s DatasetMetadata) String() string
- type DatasetSource
- type DeleteDatasetInput
- func (s DeleteDatasetInput) GoString() string
- func (s *DeleteDatasetInput) SetClientToken(v string) *DeleteDatasetInput
- func (s *DeleteDatasetInput) SetDatasetType(v string) *DeleteDatasetInput
- func (s *DeleteDatasetInput) SetProjectName(v string) *DeleteDatasetInput
- func (s DeleteDatasetInput) String() string
- func (s *DeleteDatasetInput) Validate() error
- type DeleteDatasetOutput
- type DeleteModelInput
- func (s DeleteModelInput) GoString() string
- func (s *DeleteModelInput) SetClientToken(v string) *DeleteModelInput
- func (s *DeleteModelInput) SetModelVersion(v string) *DeleteModelInput
- func (s *DeleteModelInput) SetProjectName(v string) *DeleteModelInput
- func (s DeleteModelInput) String() string
- func (s *DeleteModelInput) Validate() error
- type DeleteModelOutput
- type DeleteProjectInput
- type DeleteProjectOutput
- type DescribeDatasetInput
- type DescribeDatasetOutput
- type DescribeModelInput
- type DescribeModelOutput
- type DescribeModelPackagingJobInput
- func (s DescribeModelPackagingJobInput) GoString() string
- func (s *DescribeModelPackagingJobInput) SetJobName(v string) *DescribeModelPackagingJobInput
- func (s *DescribeModelPackagingJobInput) SetProjectName(v string) *DescribeModelPackagingJobInput
- func (s DescribeModelPackagingJobInput) String() string
- func (s *DescribeModelPackagingJobInput) Validate() error
- type DescribeModelPackagingJobOutput
- type DescribeProjectInput
- type DescribeProjectOutput
- type DetectAnomaliesInput
- func (s DetectAnomaliesInput) GoString() string
- func (s *DetectAnomaliesInput) SetBody(v io.ReadSeeker) *DetectAnomaliesInput
- func (s *DetectAnomaliesInput) SetContentType(v string) *DetectAnomaliesInput
- func (s *DetectAnomaliesInput) SetModelVersion(v string) *DetectAnomaliesInput
- func (s *DetectAnomaliesInput) SetProjectName(v string) *DetectAnomaliesInput
- func (s DetectAnomaliesInput) String() string
- func (s *DetectAnomaliesInput) Validate() error
- type DetectAnomaliesOutput
- type DetectAnomalyResult
- func (s DetectAnomalyResult) GoString() string
- func (s *DetectAnomalyResult) SetAnomalies(v []*Anomaly) *DetectAnomalyResult
- func (s *DetectAnomalyResult) SetAnomalyMask(v []byte) *DetectAnomalyResult
- func (s *DetectAnomalyResult) SetConfidence(v float64) *DetectAnomalyResult
- func (s *DetectAnomalyResult) SetIsAnomalous(v bool) *DetectAnomalyResult
- func (s *DetectAnomalyResult) SetSource(v *ImageSource) *DetectAnomalyResult
- func (s DetectAnomalyResult) String() string
- type GreengrassConfiguration
- func (s GreengrassConfiguration) GoString() string
- func (s *GreengrassConfiguration) SetCompilerOptions(v string) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetComponentDescription(v string) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetComponentName(v string) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetComponentVersion(v string) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetS3OutputLocation(v *S3Location) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetTags(v []*Tag) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetTargetDevice(v string) *GreengrassConfiguration
- func (s *GreengrassConfiguration) SetTargetPlatform(v *TargetPlatform) *GreengrassConfiguration
- func (s GreengrassConfiguration) String() string
- func (s *GreengrassConfiguration) Validate() error
- type GreengrassOutputDetails
- func (s GreengrassOutputDetails) GoString() string
- func (s *GreengrassOutputDetails) SetComponentName(v string) *GreengrassOutputDetails
- func (s *GreengrassOutputDetails) SetComponentVersion(v string) *GreengrassOutputDetails
- func (s *GreengrassOutputDetails) SetComponentVersionArn(v string) *GreengrassOutputDetails
- func (s GreengrassOutputDetails) String() string
- type ImageSource
- type InputS3Object
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListDatasetEntriesInput
- func (s ListDatasetEntriesInput) GoString() string
- func (s *ListDatasetEntriesInput) SetAfterCreationDate(v time.Time) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetAnomalyClass(v string) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetBeforeCreationDate(v time.Time) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetDatasetType(v string) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetLabeled(v bool) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetMaxResults(v int64) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetNextToken(v string) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetProjectName(v string) *ListDatasetEntriesInput
- func (s *ListDatasetEntriesInput) SetSourceRefContains(v string) *ListDatasetEntriesInput
- func (s ListDatasetEntriesInput) String() string
- func (s *ListDatasetEntriesInput) Validate() error
- type ListDatasetEntriesOutput
- type ListModelPackagingJobsInput
- func (s ListModelPackagingJobsInput) GoString() string
- func (s *ListModelPackagingJobsInput) SetMaxResults(v int64) *ListModelPackagingJobsInput
- func (s *ListModelPackagingJobsInput) SetNextToken(v string) *ListModelPackagingJobsInput
- func (s *ListModelPackagingJobsInput) SetProjectName(v string) *ListModelPackagingJobsInput
- func (s ListModelPackagingJobsInput) String() string
- func (s *ListModelPackagingJobsInput) Validate() error
- type ListModelPackagingJobsOutput
- func (s ListModelPackagingJobsOutput) GoString() string
- func (s *ListModelPackagingJobsOutput) SetModelPackagingJobs(v []*ModelPackagingJobMetadata) *ListModelPackagingJobsOutput
- func (s *ListModelPackagingJobsOutput) SetNextToken(v string) *ListModelPackagingJobsOutput
- func (s ListModelPackagingJobsOutput) String() string
- type ListModelsInput
- func (s ListModelsInput) GoString() string
- func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput
- func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput
- func (s *ListModelsInput) SetProjectName(v string) *ListModelsInput
- func (s ListModelsInput) String() string
- func (s *ListModelsInput) Validate() error
- type ListModelsOutput
- type ListProjectsInput
- type ListProjectsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LookoutForVision
- func (c *LookoutForVision) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error)
- func (c *LookoutForVision) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput)
- func (c *LookoutForVision) CreateDatasetWithContext(ctx aws.Context, input *CreateDatasetInput, opts ...request.Option) (*CreateDatasetOutput, error)
- func (c *LookoutForVision) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
- func (c *LookoutForVision) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
- func (c *LookoutForVision) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
- func (c *LookoutForVision) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
- func (c *LookoutForVision) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
- func (c *LookoutForVision) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
- func (c *LookoutForVision) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error)
- func (c *LookoutForVision) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput)
- func (c *LookoutForVision) DeleteDatasetWithContext(ctx aws.Context, input *DeleteDatasetInput, opts ...request.Option) (*DeleteDatasetOutput, error)
- func (c *LookoutForVision) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
- func (c *LookoutForVision) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
- func (c *LookoutForVision) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
- func (c *LookoutForVision) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
- func (c *LookoutForVision) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
- func (c *LookoutForVision) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
- func (c *LookoutForVision) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error)
- func (c *LookoutForVision) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput)
- func (c *LookoutForVision) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error)
- func (c *LookoutForVision) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error)
- func (c *LookoutForVision) DescribeModelPackagingJob(input *DescribeModelPackagingJobInput) (*DescribeModelPackagingJobOutput, error)
- func (c *LookoutForVision) DescribeModelPackagingJobRequest(input *DescribeModelPackagingJobInput) (req *request.Request, output *DescribeModelPackagingJobOutput)
- func (c *LookoutForVision) DescribeModelPackagingJobWithContext(ctx aws.Context, input *DescribeModelPackagingJobInput, opts ...request.Option) (*DescribeModelPackagingJobOutput, error)
- func (c *LookoutForVision) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput)
- func (c *LookoutForVision) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error)
- func (c *LookoutForVision) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)
- func (c *LookoutForVision) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)
- func (c *LookoutForVision) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)
- func (c *LookoutForVision) DetectAnomalies(input *DetectAnomaliesInput) (*DetectAnomaliesOutput, error)
- func (c *LookoutForVision) DetectAnomaliesRequest(input *DetectAnomaliesInput) (req *request.Request, output *DetectAnomaliesOutput)
- func (c *LookoutForVision) DetectAnomaliesWithContext(ctx aws.Context, input *DetectAnomaliesInput, opts ...request.Option) (*DetectAnomaliesOutput, error)
- func (c *LookoutForVision) ListDatasetEntries(input *ListDatasetEntriesInput) (*ListDatasetEntriesOutput, error)
- func (c *LookoutForVision) ListDatasetEntriesPages(input *ListDatasetEntriesInput, fn func(*ListDatasetEntriesOutput, bool) bool) error
- func (c *LookoutForVision) ListDatasetEntriesPagesWithContext(ctx aws.Context, input *ListDatasetEntriesInput, ...) error
- func (c *LookoutForVision) ListDatasetEntriesRequest(input *ListDatasetEntriesInput) (req *request.Request, output *ListDatasetEntriesOutput)
- func (c *LookoutForVision) ListDatasetEntriesWithContext(ctx aws.Context, input *ListDatasetEntriesInput, opts ...request.Option) (*ListDatasetEntriesOutput, error)
- func (c *LookoutForVision) ListModelPackagingJobs(input *ListModelPackagingJobsInput) (*ListModelPackagingJobsOutput, error)
- func (c *LookoutForVision) ListModelPackagingJobsPages(input *ListModelPackagingJobsInput, ...) error
- func (c *LookoutForVision) ListModelPackagingJobsPagesWithContext(ctx aws.Context, input *ListModelPackagingJobsInput, ...) error
- func (c *LookoutForVision) ListModelPackagingJobsRequest(input *ListModelPackagingJobsInput) (req *request.Request, output *ListModelPackagingJobsOutput)
- func (c *LookoutForVision) ListModelPackagingJobsWithContext(ctx aws.Context, input *ListModelPackagingJobsInput, opts ...request.Option) (*ListModelPackagingJobsOutput, error)
- func (c *LookoutForVision) ListModels(input *ListModelsInput) (*ListModelsOutput, error)
- func (c *LookoutForVision) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error
- func (c *LookoutForVision) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, ...) error
- func (c *LookoutForVision) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput)
- func (c *LookoutForVision) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error)
- func (c *LookoutForVision) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
- func (c *LookoutForVision) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error
- func (c *LookoutForVision) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, ...) error
- func (c *LookoutForVision) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
- func (c *LookoutForVision) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
- func (c *LookoutForVision) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *LookoutForVision) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *LookoutForVision) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *LookoutForVision) StartModel(input *StartModelInput) (*StartModelOutput, error)
- func (c *LookoutForVision) StartModelPackagingJob(input *StartModelPackagingJobInput) (*StartModelPackagingJobOutput, error)
- func (c *LookoutForVision) StartModelPackagingJobRequest(input *StartModelPackagingJobInput) (req *request.Request, output *StartModelPackagingJobOutput)
- func (c *LookoutForVision) StartModelPackagingJobWithContext(ctx aws.Context, input *StartModelPackagingJobInput, opts ...request.Option) (*StartModelPackagingJobOutput, error)
- func (c *LookoutForVision) StartModelRequest(input *StartModelInput) (req *request.Request, output *StartModelOutput)
- func (c *LookoutForVision) StartModelWithContext(ctx aws.Context, input *StartModelInput, opts ...request.Option) (*StartModelOutput, error)
- func (c *LookoutForVision) StopModel(input *StopModelInput) (*StopModelOutput, error)
- func (c *LookoutForVision) StopModelRequest(input *StopModelInput) (req *request.Request, output *StopModelOutput)
- func (c *LookoutForVision) StopModelWithContext(ctx aws.Context, input *StopModelInput, opts ...request.Option) (*StopModelOutput, error)
- func (c *LookoutForVision) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *LookoutForVision) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *LookoutForVision) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *LookoutForVision) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *LookoutForVision) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *LookoutForVision) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *LookoutForVision) UpdateDatasetEntries(input *UpdateDatasetEntriesInput) (*UpdateDatasetEntriesOutput, error)
- func (c *LookoutForVision) UpdateDatasetEntriesRequest(input *UpdateDatasetEntriesInput) (req *request.Request, output *UpdateDatasetEntriesOutput)
- func (c *LookoutForVision) UpdateDatasetEntriesWithContext(ctx aws.Context, input *UpdateDatasetEntriesInput, opts ...request.Option) (*UpdateDatasetEntriesOutput, error)
- type ModelDescription
- func (s ModelDescription) GoString() string
- func (s *ModelDescription) SetCreationTimestamp(v time.Time) *ModelDescription
- func (s *ModelDescription) SetDescription(v string) *ModelDescription
- func (s *ModelDescription) SetEvaluationEndTimestamp(v time.Time) *ModelDescription
- func (s *ModelDescription) SetEvaluationManifest(v *OutputS3Object) *ModelDescription
- func (s *ModelDescription) SetEvaluationResult(v *OutputS3Object) *ModelDescription
- func (s *ModelDescription) SetKmsKeyId(v string) *ModelDescription
- func (s *ModelDescription) SetMaxInferenceUnits(v int64) *ModelDescription
- func (s *ModelDescription) SetMinInferenceUnits(v int64) *ModelDescription
- func (s *ModelDescription) SetModelArn(v string) *ModelDescription
- func (s *ModelDescription) SetModelVersion(v string) *ModelDescription
- func (s *ModelDescription) SetOutputConfig(v *OutputConfig) *ModelDescription
- func (s *ModelDescription) SetPerformance(v *ModelPerformance) *ModelDescription
- func (s *ModelDescription) SetStatus(v string) *ModelDescription
- func (s *ModelDescription) SetStatusMessage(v string) *ModelDescription
- func (s ModelDescription) String() string
- type ModelMetadata
- func (s ModelMetadata) GoString() string
- func (s *ModelMetadata) SetCreationTimestamp(v time.Time) *ModelMetadata
- func (s *ModelMetadata) SetDescription(v string) *ModelMetadata
- func (s *ModelMetadata) SetModelArn(v string) *ModelMetadata
- func (s *ModelMetadata) SetModelVersion(v string) *ModelMetadata
- func (s *ModelMetadata) SetPerformance(v *ModelPerformance) *ModelMetadata
- func (s *ModelMetadata) SetStatus(v string) *ModelMetadata
- func (s *ModelMetadata) SetStatusMessage(v string) *ModelMetadata
- func (s ModelMetadata) String() string
- type ModelPackagingConfiguration
- type ModelPackagingDescription
- func (s ModelPackagingDescription) GoString() string
- func (s *ModelPackagingDescription) SetCreationTimestamp(v time.Time) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetJobName(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetModelPackagingConfiguration(v *ModelPackagingConfiguration) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetModelPackagingJobDescription(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetModelPackagingMethod(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetModelPackagingOutputDetails(v *ModelPackagingOutputDetails) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetModelVersion(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetProjectName(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetStatus(v string) *ModelPackagingDescription
- func (s *ModelPackagingDescription) SetStatusMessage(v string) *ModelPackagingDescription
- func (s ModelPackagingDescription) String() string
- type ModelPackagingJobMetadata
- func (s ModelPackagingJobMetadata) GoString() string
- func (s *ModelPackagingJobMetadata) SetCreationTimestamp(v time.Time) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetJobName(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetModelPackagingJobDescription(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetModelPackagingMethod(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetModelVersion(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetProjectName(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetStatus(v string) *ModelPackagingJobMetadata
- func (s *ModelPackagingJobMetadata) SetStatusMessage(v string) *ModelPackagingJobMetadata
- func (s ModelPackagingJobMetadata) String() string
- type ModelPackagingOutputDetails
- type ModelPerformance
- type OutputConfig
- type OutputS3Object
- type PixelAnomaly
- type ProjectDescription
- func (s ProjectDescription) GoString() string
- func (s *ProjectDescription) SetCreationTimestamp(v time.Time) *ProjectDescription
- func (s *ProjectDescription) SetDatasets(v []*DatasetMetadata) *ProjectDescription
- func (s *ProjectDescription) SetProjectArn(v string) *ProjectDescription
- func (s *ProjectDescription) SetProjectName(v string) *ProjectDescription
- func (s ProjectDescription) String() string
- type ProjectMetadata
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type S3Location
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type StartModelInput
- func (s StartModelInput) GoString() string
- func (s *StartModelInput) SetClientToken(v string) *StartModelInput
- func (s *StartModelInput) SetMaxInferenceUnits(v int64) *StartModelInput
- func (s *StartModelInput) SetMinInferenceUnits(v int64) *StartModelInput
- func (s *StartModelInput) SetModelVersion(v string) *StartModelInput
- func (s *StartModelInput) SetProjectName(v string) *StartModelInput
- func (s StartModelInput) String() string
- func (s *StartModelInput) Validate() error
- type StartModelOutput
- type StartModelPackagingJobInput
- func (s StartModelPackagingJobInput) GoString() string
- func (s *StartModelPackagingJobInput) SetClientToken(v string) *StartModelPackagingJobInput
- func (s *StartModelPackagingJobInput) SetConfiguration(v *ModelPackagingConfiguration) *StartModelPackagingJobInput
- func (s *StartModelPackagingJobInput) SetDescription(v string) *StartModelPackagingJobInput
- func (s *StartModelPackagingJobInput) SetJobName(v string) *StartModelPackagingJobInput
- func (s *StartModelPackagingJobInput) SetModelVersion(v string) *StartModelPackagingJobInput
- func (s *StartModelPackagingJobInput) SetProjectName(v string) *StartModelPackagingJobInput
- func (s StartModelPackagingJobInput) String() string
- func (s *StartModelPackagingJobInput) Validate() error
- type StartModelPackagingJobOutput
- type StopModelInput
- func (s StopModelInput) GoString() string
- func (s *StopModelInput) SetClientToken(v string) *StopModelInput
- func (s *StopModelInput) SetModelVersion(v string) *StopModelInput
- func (s *StopModelInput) SetProjectName(v string) *StopModelInput
- func (s StopModelInput) String() string
- func (s *StopModelInput) Validate() error
- type StopModelOutput
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type TargetPlatform
- func (s TargetPlatform) GoString() string
- func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform
- func (s *TargetPlatform) SetArch(v string) *TargetPlatform
- func (s *TargetPlatform) SetOs(v string) *TargetPlatform
- func (s TargetPlatform) String() string
- func (s *TargetPlatform) Validate() error
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDatasetEntriesInput
- func (s UpdateDatasetEntriesInput) GoString() string
- func (s *UpdateDatasetEntriesInput) SetChanges(v []byte) *UpdateDatasetEntriesInput
- func (s *UpdateDatasetEntriesInput) SetClientToken(v string) *UpdateDatasetEntriesInput
- func (s *UpdateDatasetEntriesInput) SetDatasetType(v string) *UpdateDatasetEntriesInput
- func (s *UpdateDatasetEntriesInput) SetProjectName(v string) *UpdateDatasetEntriesInput
- func (s UpdateDatasetEntriesInput) String() string
- func (s *UpdateDatasetEntriesInput) Validate() error
- type UpdateDatasetEntriesOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // DatasetStatusCreateInProgress is a DatasetStatus enum value DatasetStatusCreateInProgress = "CREATE_IN_PROGRESS" // DatasetStatusCreateComplete is a DatasetStatus enum value DatasetStatusCreateComplete = "CREATE_COMPLETE" // DatasetStatusCreateFailed is a DatasetStatus enum value DatasetStatusCreateFailed = "CREATE_FAILED" // DatasetStatusUpdateInProgress is a DatasetStatus enum value DatasetStatusUpdateInProgress = "UPDATE_IN_PROGRESS" // DatasetStatusUpdateComplete is a DatasetStatus enum value DatasetStatusUpdateComplete = "UPDATE_COMPLETE" // DatasetStatusUpdateFailedRollbackInProgress is a DatasetStatus enum value DatasetStatusUpdateFailedRollbackInProgress = "UPDATE_FAILED_ROLLBACK_IN_PROGRESS" // DatasetStatusUpdateFailedRollbackComplete is a DatasetStatus enum value DatasetStatusUpdateFailedRollbackComplete = "UPDATE_FAILED_ROLLBACK_COMPLETE" // DatasetStatusDeleteInProgress is a DatasetStatus enum value DatasetStatusDeleteInProgress = "DELETE_IN_PROGRESS" // DatasetStatusDeleteComplete is a DatasetStatus enum value DatasetStatusDeleteComplete = "DELETE_COMPLETE" // DatasetStatusDeleteFailed is a DatasetStatus enum value DatasetStatusDeleteFailed = "DELETE_FAILED" )
const ( // ModelHostingStatusStartingHosting is a ModelHostingStatus enum value ModelHostingStatusStartingHosting = "STARTING_HOSTING" // ModelHostingStatusHosted is a ModelHostingStatus enum value ModelHostingStatusHosted = "HOSTED" // ModelHostingStatusHostingFailed is a ModelHostingStatus enum value ModelHostingStatusHostingFailed = "HOSTING_FAILED" // ModelHostingStatusStoppingHosting is a ModelHostingStatus enum value ModelHostingStatusStoppingHosting = "STOPPING_HOSTING" // ModelHostingStatusSystemUpdating is a ModelHostingStatus enum value ModelHostingStatusSystemUpdating = "SYSTEM_UPDATING" )
const ( // ModelPackagingJobStatusCreated is a ModelPackagingJobStatus enum value ModelPackagingJobStatusCreated = "CREATED" // ModelPackagingJobStatusRunning is a ModelPackagingJobStatus enum value ModelPackagingJobStatusRunning = "RUNNING" // ModelPackagingJobStatusSucceeded is a ModelPackagingJobStatus enum value ModelPackagingJobStatusSucceeded = "SUCCEEDED" // ModelPackagingJobStatusFailed is a ModelPackagingJobStatus enum value ModelPackagingJobStatusFailed = "FAILED" )
const ( // ModelStatusTraining is a ModelStatus enum value ModelStatusTraining = "TRAINING" // ModelStatusTrained is a ModelStatus enum value ModelStatusTrained = "TRAINED" // ModelStatusTrainingFailed is a ModelStatus enum value ModelStatusTrainingFailed = "TRAINING_FAILED" // ModelStatusStartingHosting is a ModelStatus enum value ModelStatusStartingHosting = "STARTING_HOSTING" // ModelStatusHosted is a ModelStatus enum value ModelStatusHosted = "HOSTED" // ModelStatusHostingFailed is a ModelStatus enum value ModelStatusHostingFailed = "HOSTING_FAILED" // ModelStatusStoppingHosting is a ModelStatus enum value ModelStatusStoppingHosting = "STOPPING_HOSTING" // ModelStatusSystemUpdating is a ModelStatus enum value ModelStatusSystemUpdating = "SYSTEM_UPDATING" // ModelStatusDeleting is a ModelStatus enum value ModelStatusDeleting = "DELETING" )
const ( // ResourceTypeProject is a ResourceType enum value ResourceTypeProject = "PROJECT" // ResourceTypeDataset is a ResourceType enum value ResourceTypeDataset = "DATASET" // ResourceTypeModel is a ResourceType enum value ResourceTypeModel = "MODEL" // ResourceTypeTrial is a ResourceType enum value ResourceTypeTrial = "TRIAL" // ResourceTypeModelPackageJob is a ResourceType enum value ResourceTypeModelPackageJob = "MODEL_PACKAGE_JOB" )
const ( // TargetPlatformArchArm64 is a TargetPlatformArch enum value TargetPlatformArchArm64 = "ARM64" // TargetPlatformArchX8664 is a TargetPlatformArch enum value TargetPlatformArchX8664 = "X86_64" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You are not authorized to perform the action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // The update or deletion of a resource caused an inconsistent state. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // Amazon Lookout for Vision experienced a service issue. Try your call again. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource could not be found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // 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. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // Amazon Lookout for Vision is temporarily unable to process the request. Try // your call again. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". // // An input validation error occured. For example, invalid characters in a project // name, or if a pagination token is invalid. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "LookoutVision" // Name of service. EndpointsID = "lookoutvision" // ID to lookup a service endpoint with. ServiceID = "LookoutVision" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// TargetDeviceJetsonXavier is a TargetDevice enum value
TargetDeviceJetsonXavier = "jetson_xavier"
)
const (
// TargetPlatformAcceleratorNvidia is a TargetPlatformAccelerator enum value
TargetPlatformAcceleratorNvidia = "NVIDIA"
)
const (
// TargetPlatformOsLinux is a TargetPlatformOs enum value
TargetPlatformOsLinux = "LINUX"
)
Variables ¶
This section is empty.
Functions ¶
func DatasetStatus_Values ¶
func DatasetStatus_Values() []string
DatasetStatus_Values returns all elements of the DatasetStatus enum
func ModelHostingStatus_Values ¶
func ModelHostingStatus_Values() []string
ModelHostingStatus_Values returns all elements of the ModelHostingStatus enum
func ModelPackagingJobStatus_Values ¶
func ModelPackagingJobStatus_Values() []string
ModelPackagingJobStatus_Values returns all elements of the ModelPackagingJobStatus enum
func ModelStatus_Values ¶
func ModelStatus_Values() []string
ModelStatus_Values returns all elements of the ModelStatus enum
func ResourceType_Values ¶
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func TargetDevice_Values ¶
func TargetDevice_Values() []string
TargetDevice_Values returns all elements of the TargetDevice enum
func TargetPlatformAccelerator_Values ¶
func TargetPlatformAccelerator_Values() []string
TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum
func TargetPlatformArch_Values ¶
func TargetPlatformArch_Values() []string
TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum
func TargetPlatformOs_Values ¶
func TargetPlatformOs_Values() []string
TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You are not authorized to perform the action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Anomaly ¶
type Anomaly struct { // The name of an anomaly type found in an image. Name maps to an anomaly type // in the training dataset, apart from the anomaly type background. The service // automatically inserts the background anomaly type into the response from // DetectAnomalies. Name *string `min:"1" type:"string"` // Information about the pixel mask that covers an anomaly type. PixelAnomaly *PixelAnomaly `type:"structure"` // contains filtered or unexported fields }
Information about an anomaly type found on an image by an image segmentation model. For more information, see DetectAnomalies.
func (Anomaly) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Anomaly) SetPixelAnomaly ¶
func (s *Anomaly) SetPixelAnomaly(v *PixelAnomaly) *Anomaly
SetPixelAnomaly sets the PixelAnomaly field's value.
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // The type of the resource. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceType"` // contains filtered or unexported fields }
The update or deletion of a resource caused an inconsistent state.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDatasetInput ¶
type CreateDatasetInput struct { // ClientToken is an idempotency token that ensures a call to CreateDataset // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from CreateDataset. In this case, // safely retry your call to CreateDataset by using the same ClientToken parameter // value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple dataset creation requests. You'll need to provide your own value // for other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to CreateDataset. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The location of the manifest file that Amazon Lookout for Vision uses to // create the dataset. // // If you don't specify DatasetSource, an empty dataset is created and the operation // synchronously returns. Later, you can add JSON Lines by calling UpdateDatasetEntries. // // If you specify a value for DataSource, the manifest at the S3 location is // validated and used to create the dataset. The call to CreateDataset is asynchronous // and might take a while to complete. To find out the current status, Check // the value of Status returned in a call to DescribeDataset. DatasetSource *DatasetSource `type:"structure"` // The type of the dataset. Specify train for a training dataset. Specify test // for a test dataset. // // DatasetType is a required field DatasetType *string `min:"1" type:"string" required:"true"` // The name of the project in which you want to create a dataset. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateDatasetInput) GoString ¶
func (s CreateDatasetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateDatasetInput) SetClientToken ¶
func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput
SetClientToken sets the ClientToken field's value.
func (*CreateDatasetInput) SetDatasetSource ¶
func (s *CreateDatasetInput) SetDatasetSource(v *DatasetSource) *CreateDatasetInput
SetDatasetSource sets the DatasetSource field's value.
func (*CreateDatasetInput) SetDatasetType ¶
func (s *CreateDatasetInput) SetDatasetType(v string) *CreateDatasetInput
SetDatasetType sets the DatasetType field's value.
func (*CreateDatasetInput) SetProjectName ¶
func (s *CreateDatasetInput) SetProjectName(v string) *CreateDatasetInput
SetProjectName sets the ProjectName field's value.
func (CreateDatasetInput) String ¶
func (s CreateDatasetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateDatasetInput) Validate ¶
func (s *CreateDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDatasetOutput ¶
type CreateDatasetOutput struct { // Information about the dataset. DatasetMetadata *DatasetMetadata `type:"structure"` // contains filtered or unexported fields }
func (CreateDatasetOutput) GoString ¶
func (s CreateDatasetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateDatasetOutput) SetDatasetMetadata ¶
func (s *CreateDatasetOutput) SetDatasetMetadata(v *DatasetMetadata) *CreateDatasetOutput
SetDatasetMetadata sets the DatasetMetadata field's value.
func (CreateDatasetOutput) String ¶
func (s CreateDatasetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateModelInput ¶
type CreateModelInput struct { // ClientToken is an idempotency token that ensures a call to CreateModel completes // only once. You choose the value to pass. For example, An issue might prevent // you from getting a response from CreateModel. In this case, safely retry // your call to CreateModel by using the same ClientToken parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from starting // multiple training jobs. You'll need to provide your own value for other use // cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to CreateModel. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // A description for the version of the model. Description *string `min:"1" type:"string"` // The identifier for your AWS KMS key. The key is used to encrypt training // and test images copied into the service for model training. Your source images // are unaffected. If this parameter is not specified, the copied images are // encrypted by a key that AWS owns and manages. KmsKeyId *string `min:"1" type:"string"` // The location where Amazon Lookout for Vision saves the training results. // // OutputConfig is a required field OutputConfig *OutputConfig `type:"structure" required:"true"` // The name of the project in which you want to create a model version. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // A set of tags (key-value pairs) that you want to attach to the model. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (CreateModelInput) GoString ¶
func (s CreateModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelInput) SetClientToken ¶
func (s *CreateModelInput) SetClientToken(v string) *CreateModelInput
SetClientToken sets the ClientToken field's value.
func (*CreateModelInput) SetDescription ¶
func (s *CreateModelInput) SetDescription(v string) *CreateModelInput
SetDescription sets the Description field's value.
func (*CreateModelInput) SetKmsKeyId ¶
func (s *CreateModelInput) SetKmsKeyId(v string) *CreateModelInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateModelInput) SetOutputConfig ¶
func (s *CreateModelInput) SetOutputConfig(v *OutputConfig) *CreateModelInput
SetOutputConfig sets the OutputConfig field's value.
func (*CreateModelInput) SetProjectName ¶
func (s *CreateModelInput) SetProjectName(v string) *CreateModelInput
SetProjectName sets the ProjectName field's value.
func (*CreateModelInput) SetTags ¶
func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
SetTags sets the Tags field's value.
func (CreateModelInput) String ¶
func (s CreateModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelInput) Validate ¶
func (s *CreateModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelOutput ¶
type CreateModelOutput struct { // The response from a call to CreateModel. ModelMetadata *ModelMetadata `type:"structure"` // contains filtered or unexported fields }
func (CreateModelOutput) GoString ¶
func (s CreateModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelOutput) SetModelMetadata ¶
func (s *CreateModelOutput) SetModelMetadata(v *ModelMetadata) *CreateModelOutput
SetModelMetadata sets the ModelMetadata field's value.
func (CreateModelOutput) String ¶
func (s CreateModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateProjectInput ¶
type CreateProjectInput struct { // ClientToken is an idempotency token that ensures a call to CreateProject // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from CreateProject. In this case, // safely retry your call to CreateProject by using the same ClientToken parameter // value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple project creation requests. You'll need to provide your own value // for other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to CreateProject. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The name for the project. // // ProjectName is a required field ProjectName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateProjectInput) GoString ¶
func (s CreateProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProjectInput) SetClientToken ¶
func (s *CreateProjectInput) SetClientToken(v string) *CreateProjectInput
SetClientToken sets the ClientToken field's value.
func (*CreateProjectInput) SetProjectName ¶
func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput
SetProjectName sets the ProjectName field's value.
func (CreateProjectInput) String ¶
func (s CreateProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProjectInput) Validate ¶
func (s *CreateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProjectOutput ¶
type CreateProjectOutput struct { // Information about the project. ProjectMetadata *ProjectMetadata `type:"structure"` // contains filtered or unexported fields }
func (CreateProjectOutput) GoString ¶
func (s CreateProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProjectOutput) SetProjectMetadata ¶
func (s *CreateProjectOutput) SetProjectMetadata(v *ProjectMetadata) *CreateProjectOutput
SetProjectMetadata sets the ProjectMetadata field's value.
func (CreateProjectOutput) String ¶
func (s CreateProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DatasetDescription ¶
type DatasetDescription struct { // The Unix timestamp for the time and date that the dataset was created. CreationTimestamp *time.Time `type:"timestamp"` // 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 `min:"1" type:"string"` // Statistics about the images in a dataset. ImageStats *DatasetImageStats `type:"structure"` // The Unix timestamp for the date and time that the dataset was last updated. LastUpdatedTimestamp *time.Time `type:"timestamp"` // The name of the project that contains the dataset. ProjectName *string `min:"1" type:"string"` // The status of the dataset. Status *string `type:"string" enum:"DatasetStatus"` // The status message for the dataset. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
The description for a dataset. For more information, see DescribeDataset.
func (DatasetDescription) GoString ¶
func (s DatasetDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetDescription) SetCreationTimestamp ¶
func (s *DatasetDescription) SetCreationTimestamp(v time.Time) *DatasetDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*DatasetDescription) SetDatasetType ¶
func (s *DatasetDescription) SetDatasetType(v string) *DatasetDescription
SetDatasetType sets the DatasetType field's value.
func (*DatasetDescription) SetImageStats ¶
func (s *DatasetDescription) SetImageStats(v *DatasetImageStats) *DatasetDescription
SetImageStats sets the ImageStats field's value.
func (*DatasetDescription) SetLastUpdatedTimestamp ¶
func (s *DatasetDescription) SetLastUpdatedTimestamp(v time.Time) *DatasetDescription
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*DatasetDescription) SetProjectName ¶
func (s *DatasetDescription) SetProjectName(v string) *DatasetDescription
SetProjectName sets the ProjectName field's value.
func (*DatasetDescription) SetStatus ¶
func (s *DatasetDescription) SetStatus(v string) *DatasetDescription
SetStatus sets the Status field's value.
func (*DatasetDescription) SetStatusMessage ¶
func (s *DatasetDescription) SetStatusMessage(v string) *DatasetDescription
SetStatusMessage sets the StatusMessage field's value.
func (DatasetDescription) String ¶
func (s DatasetDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DatasetGroundTruthManifest ¶
type DatasetGroundTruthManifest struct { // The S3 bucket location for the manifest file. S3Object *InputS3Object `type:"structure"` // contains filtered or unexported fields }
Location information about a manifest file. You can use a manifest file to create a dataset.
func (DatasetGroundTruthManifest) GoString ¶
func (s DatasetGroundTruthManifest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetGroundTruthManifest) SetS3Object ¶
func (s *DatasetGroundTruthManifest) SetS3Object(v *InputS3Object) *DatasetGroundTruthManifest
SetS3Object sets the S3Object field's value.
func (DatasetGroundTruthManifest) String ¶
func (s DatasetGroundTruthManifest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetGroundTruthManifest) Validate ¶
func (s *DatasetGroundTruthManifest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DatasetImageStats ¶
type DatasetImageStats struct { // the total number of images labeled as an anomaly. Anomaly *int64 `type:"integer"` // The total number of labeled images. Labeled *int64 `type:"integer"` // The total number of images labeled as normal. Normal *int64 `type:"integer"` // The total number of images in the dataset. Total *int64 `type:"integer"` // contains filtered or unexported fields }
Statistics about the images in a dataset.
func (DatasetImageStats) GoString ¶
func (s DatasetImageStats) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetImageStats) SetAnomaly ¶
func (s *DatasetImageStats) SetAnomaly(v int64) *DatasetImageStats
SetAnomaly sets the Anomaly field's value.
func (*DatasetImageStats) SetLabeled ¶
func (s *DatasetImageStats) SetLabeled(v int64) *DatasetImageStats
SetLabeled sets the Labeled field's value.
func (*DatasetImageStats) SetNormal ¶
func (s *DatasetImageStats) SetNormal(v int64) *DatasetImageStats
SetNormal sets the Normal field's value.
func (*DatasetImageStats) SetTotal ¶
func (s *DatasetImageStats) SetTotal(v int64) *DatasetImageStats
SetTotal sets the Total field's value.
func (DatasetImageStats) String ¶
func (s DatasetImageStats) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DatasetMetadata ¶
type DatasetMetadata struct { // The Unix timestamp for the date and time that the dataset was created. CreationTimestamp *time.Time `type:"timestamp"` // The type of the dataset. DatasetType *string `min:"1" type:"string"` // The status for the dataset. Status *string `type:"string" enum:"DatasetStatus"` // The status message for the dataset. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Summary information for an Amazon Lookout for Vision dataset. For more information, see DescribeDataset and ProjectDescription.
func (DatasetMetadata) GoString ¶
func (s DatasetMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetMetadata) SetCreationTimestamp ¶
func (s *DatasetMetadata) SetCreationTimestamp(v time.Time) *DatasetMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*DatasetMetadata) SetDatasetType ¶
func (s *DatasetMetadata) SetDatasetType(v string) *DatasetMetadata
SetDatasetType sets the DatasetType field's value.
func (*DatasetMetadata) SetStatus ¶
func (s *DatasetMetadata) SetStatus(v string) *DatasetMetadata
SetStatus sets the Status field's value.
func (*DatasetMetadata) SetStatusMessage ¶
func (s *DatasetMetadata) SetStatusMessage(v string) *DatasetMetadata
SetStatusMessage sets the StatusMessage field's value.
func (DatasetMetadata) String ¶
func (s DatasetMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DatasetSource ¶
type DatasetSource struct { // Location information for the manifest file. GroundTruthManifest *DatasetGroundTruthManifest `type:"structure"` // contains filtered or unexported fields }
Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.
func (DatasetSource) GoString ¶
func (s DatasetSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetSource) SetGroundTruthManifest ¶
func (s *DatasetSource) SetGroundTruthManifest(v *DatasetGroundTruthManifest) *DatasetSource
SetGroundTruthManifest sets the GroundTruthManifest field's value.
func (DatasetSource) String ¶
func (s DatasetSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatasetSource) Validate ¶
func (s *DatasetSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDatasetInput ¶
type DeleteDatasetInput struct { // ClientToken is an idempotency token that ensures a call to DeleteDataset // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from DeleteDataset. In this case, // safely retry your call to DeleteDataset by using the same ClientToken parameter // value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple deletetion requests. You'll need to provide your own value for other // use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to DeleteDataset. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The type of the dataset to delete. Specify train to delete the training dataset. // Specify test to delete the test dataset. To delete the dataset in a single // dataset project, specify train. // // DatasetType is a required field DatasetType *string `location:"uri" locationName:"datasetType" min:"1" type:"string" required:"true"` // The name of the project that contains the dataset that you want to delete. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDatasetInput) GoString ¶
func (s DeleteDatasetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteDatasetInput) SetClientToken ¶
func (s *DeleteDatasetInput) SetClientToken(v string) *DeleteDatasetInput
SetClientToken sets the ClientToken field's value.
func (*DeleteDatasetInput) SetDatasetType ¶
func (s *DeleteDatasetInput) SetDatasetType(v string) *DeleteDatasetInput
SetDatasetType sets the DatasetType field's value.
func (*DeleteDatasetInput) SetProjectName ¶
func (s *DeleteDatasetInput) SetProjectName(v string) *DeleteDatasetInput
SetProjectName sets the ProjectName field's value.
func (DeleteDatasetInput) String ¶
func (s DeleteDatasetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteDatasetInput) Validate ¶
func (s *DeleteDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDatasetOutput ¶
type DeleteDatasetOutput struct {
// contains filtered or unexported fields
}
func (DeleteDatasetOutput) GoString ¶
func (s DeleteDatasetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteDatasetOutput) String ¶
func (s DeleteDatasetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelInput ¶
type DeleteModelInput struct { // ClientToken is an idempotency token that ensures a call to DeleteModel completes // only once. You choose the value to pass. For example, an issue might prevent // you from getting a response from DeleteModel. In this case, safely retry // your call to DeleteModel by using the same ClientToken parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple model deletion requests. You'll need to provide your own value for // other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to DeleteModel. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The version of the model that you want to delete. // // ModelVersion is a required field ModelVersion *string `location:"uri" locationName:"modelVersion" min:"1" type:"string" required:"true"` // The name of the project that contains the model that you want to delete. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteModelInput) GoString ¶
func (s DeleteModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteModelInput) SetClientToken ¶
func (s *DeleteModelInput) SetClientToken(v string) *DeleteModelInput
SetClientToken sets the ClientToken field's value.
func (*DeleteModelInput) SetModelVersion ¶
func (s *DeleteModelInput) SetModelVersion(v string) *DeleteModelInput
SetModelVersion sets the ModelVersion field's value.
func (*DeleteModelInput) SetProjectName ¶
func (s *DeleteModelInput) SetProjectName(v string) *DeleteModelInput
SetProjectName sets the ProjectName field's value.
func (DeleteModelInput) String ¶
func (s DeleteModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteModelInput) Validate ¶
func (s *DeleteModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteModelOutput ¶
type DeleteModelOutput struct { // The Amazon Resource Name (ARN) of the model that was deleted. ModelArn *string `type:"string"` // contains filtered or unexported fields }
func (DeleteModelOutput) GoString ¶
func (s DeleteModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteModelOutput) SetModelArn ¶
func (s *DeleteModelOutput) SetModelArn(v string) *DeleteModelOutput
SetModelArn sets the ModelArn field's value.
func (DeleteModelOutput) String ¶
func (s DeleteModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteProjectInput ¶
type DeleteProjectInput struct { // ClientToken is an idempotency token that ensures a call to DeleteProject // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from DeleteProject. In this case, // safely retry your call to DeleteProject by using the same ClientToken parameter // value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple project deletion requests. You'll need to provide your own value // for other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to DeleteProject. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The name of the project to delete. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteProjectInput) GoString ¶
func (s DeleteProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectInput) SetClientToken ¶
func (s *DeleteProjectInput) SetClientToken(v string) *DeleteProjectInput
SetClientToken sets the ClientToken field's value.
func (*DeleteProjectInput) SetProjectName ¶
func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput
SetProjectName sets the ProjectName field's value.
func (DeleteProjectInput) String ¶
func (s DeleteProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectInput) Validate ¶
func (s *DeleteProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { // The Amazon Resource Name (ARN) of the project that was deleted. ProjectArn *string `type:"string"` // contains filtered or unexported fields }
func (DeleteProjectOutput) GoString ¶
func (s DeleteProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectOutput) SetProjectArn ¶
func (s *DeleteProjectOutput) SetProjectArn(v string) *DeleteProjectOutput
SetProjectArn sets the ProjectArn field's value.
func (DeleteProjectOutput) String ¶
func (s DeleteProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeDatasetInput ¶
type DescribeDatasetInput struct { // The type of the dataset to describe. Specify train to describe the training // dataset. Specify test to describe the test dataset. If you have a single // dataset project, specify train // // DatasetType is a required field DatasetType *string `location:"uri" locationName:"datasetType" min:"1" type:"string" required:"true"` // The name of the project that contains the dataset that you want to describe. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeDatasetInput) GoString ¶
func (s DescribeDatasetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeDatasetInput) SetDatasetType ¶
func (s *DescribeDatasetInput) SetDatasetType(v string) *DescribeDatasetInput
SetDatasetType sets the DatasetType field's value.
func (*DescribeDatasetInput) SetProjectName ¶
func (s *DescribeDatasetInput) SetProjectName(v string) *DescribeDatasetInput
SetProjectName sets the ProjectName field's value.
func (DescribeDatasetInput) String ¶
func (s DescribeDatasetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeDatasetInput) Validate ¶
func (s *DescribeDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDatasetOutput ¶
type DescribeDatasetOutput struct { // The description of the requested dataset. DatasetDescription *DatasetDescription `type:"structure"` // contains filtered or unexported fields }
func (DescribeDatasetOutput) GoString ¶
func (s DescribeDatasetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeDatasetOutput) SetDatasetDescription ¶
func (s *DescribeDatasetOutput) SetDatasetDescription(v *DatasetDescription) *DescribeDatasetOutput
SetDatasetDescription sets the DatasetDescription field's value.
func (DescribeDatasetOutput) String ¶
func (s DescribeDatasetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeModelInput ¶
type DescribeModelInput struct { // The version of the model that you want to describe. // // ModelVersion is a required field ModelVersion *string `location:"uri" locationName:"modelVersion" min:"1" type:"string" required:"true"` // The project that contains the version of a model that you want to describe. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeModelInput) GoString ¶
func (s DescribeModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelInput) SetModelVersion ¶
func (s *DescribeModelInput) SetModelVersion(v string) *DescribeModelInput
SetModelVersion sets the ModelVersion field's value.
func (*DescribeModelInput) SetProjectName ¶
func (s *DescribeModelInput) SetProjectName(v string) *DescribeModelInput
SetProjectName sets the ProjectName field's value.
func (DescribeModelInput) String ¶
func (s DescribeModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelInput) Validate ¶
func (s *DescribeModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeModelOutput ¶
type DescribeModelOutput struct { // Contains the description of the model. ModelDescription *ModelDescription `type:"structure"` // contains filtered or unexported fields }
func (DescribeModelOutput) GoString ¶
func (s DescribeModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelOutput) SetModelDescription ¶
func (s *DescribeModelOutput) SetModelDescription(v *ModelDescription) *DescribeModelOutput
SetModelDescription sets the ModelDescription field's value.
func (DescribeModelOutput) String ¶
func (s DescribeModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeModelPackagingJobInput ¶
type DescribeModelPackagingJobInput struct { // The job name for the model packaging job. // // JobName is a required field JobName *string `location:"uri" locationName:"jobName" min:"1" type:"string" required:"true"` // The name of the project that contains the model packaging job that you want // to describe. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeModelPackagingJobInput) GoString ¶
func (s DescribeModelPackagingJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelPackagingJobInput) SetJobName ¶
func (s *DescribeModelPackagingJobInput) SetJobName(v string) *DescribeModelPackagingJobInput
SetJobName sets the JobName field's value.
func (*DescribeModelPackagingJobInput) SetProjectName ¶
func (s *DescribeModelPackagingJobInput) SetProjectName(v string) *DescribeModelPackagingJobInput
SetProjectName sets the ProjectName field's value.
func (DescribeModelPackagingJobInput) String ¶
func (s DescribeModelPackagingJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelPackagingJobInput) Validate ¶
func (s *DescribeModelPackagingJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeModelPackagingJobOutput ¶
type DescribeModelPackagingJobOutput struct { // The description of the model packaging job. ModelPackagingDescription *ModelPackagingDescription `type:"structure"` // contains filtered or unexported fields }
func (DescribeModelPackagingJobOutput) GoString ¶
func (s DescribeModelPackagingJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeModelPackagingJobOutput) SetModelPackagingDescription ¶
func (s *DescribeModelPackagingJobOutput) SetModelPackagingDescription(v *ModelPackagingDescription) *DescribeModelPackagingJobOutput
SetModelPackagingDescription sets the ModelPackagingDescription field's value.
func (DescribeModelPackagingJobOutput) String ¶
func (s DescribeModelPackagingJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeProjectInput ¶
type DescribeProjectInput struct { // The name of the project that you want to describe. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeProjectInput) GoString ¶
func (s DescribeProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectInput) SetProjectName ¶
func (s *DescribeProjectInput) SetProjectName(v string) *DescribeProjectInput
SetProjectName sets the ProjectName field's value.
func (DescribeProjectInput) String ¶
func (s DescribeProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectInput) Validate ¶
func (s *DescribeProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProjectOutput ¶
type DescribeProjectOutput struct { // The description of the project. ProjectDescription *ProjectDescription `type:"structure"` // contains filtered or unexported fields }
func (DescribeProjectOutput) GoString ¶
func (s DescribeProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectOutput) SetProjectDescription ¶
func (s *DescribeProjectOutput) SetProjectDescription(v *ProjectDescription) *DescribeProjectOutput
SetProjectDescription sets the ProjectDescription field's value.
func (DescribeProjectOutput) String ¶
func (s DescribeProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DetectAnomaliesInput ¶
type DetectAnomaliesInput struct { // The unencrypted image bytes that you want to analyze. // // Body is a required field Body io.ReadSeeker `type:"blob" required:"true"` // The type of the image passed in Body. Valid values are image/png (PNG format // images) and image/jpeg (JPG format images). // // ContentType is a required field ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string" required:"true"` // The version of the model that you want to use. // // ModelVersion is a required field ModelVersion *string `location:"uri" locationName:"modelVersion" min:"1" type:"string" required:"true"` // The name of the project that contains the model version that you want to // use. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DetectAnomaliesInput) GoString ¶
func (s DetectAnomaliesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DetectAnomaliesInput) SetBody ¶
func (s *DetectAnomaliesInput) SetBody(v io.ReadSeeker) *DetectAnomaliesInput
SetBody sets the Body field's value.
func (*DetectAnomaliesInput) SetContentType ¶
func (s *DetectAnomaliesInput) SetContentType(v string) *DetectAnomaliesInput
SetContentType sets the ContentType field's value.
func (*DetectAnomaliesInput) SetModelVersion ¶
func (s *DetectAnomaliesInput) SetModelVersion(v string) *DetectAnomaliesInput
SetModelVersion sets the ModelVersion field's value.
func (*DetectAnomaliesInput) SetProjectName ¶
func (s *DetectAnomaliesInput) SetProjectName(v string) *DetectAnomaliesInput
SetProjectName sets the ProjectName field's value.
func (DetectAnomaliesInput) String ¶
func (s DetectAnomaliesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DetectAnomaliesInput) Validate ¶
func (s *DetectAnomaliesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetectAnomaliesOutput ¶
type DetectAnomaliesOutput struct { // The results of the DetectAnomalies operation. DetectAnomalyResult *DetectAnomalyResult `type:"structure"` // contains filtered or unexported fields }
func (DetectAnomaliesOutput) GoString ¶
func (s DetectAnomaliesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DetectAnomaliesOutput) SetDetectAnomalyResult ¶
func (s *DetectAnomaliesOutput) SetDetectAnomalyResult(v *DetectAnomalyResult) *DetectAnomaliesOutput
SetDetectAnomalyResult sets the DetectAnomalyResult field's value.
func (DetectAnomaliesOutput) String ¶
func (s DetectAnomaliesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DetectAnomalyResult ¶
type DetectAnomalyResult struct { // If the model is an image segmentation model, Anomalies contains a list of // anomaly types found in the image. There is one entry for each type of anomaly // found (even if multiple instances of an anomaly type exist on the image). // The first element in the list is always an anomaly type representing the // image background ('background') and shouldn't be considered an anomaly. Amazon // Lookout for Vision automatically add the background anomaly type to the response, // and you don't need to declare a background anomaly type in your dataset. // // If the list has one entry ('background'), no anomalies were found on the // image. // // An image classification model doesn't return an Anomalies list. Anomalies []*Anomaly `type:"list"` // If the model is an image segmentation model, AnomalyMask contains pixel masks // that covers all anomaly types found on the image. Each anomaly type has a // different mask color. To map a color to an anomaly type, see the color field // of the PixelAnomaly object. // // An image classification model doesn't return an Anomalies list. // AnomalyMask is automatically base64 encoded/decoded by the SDK. AnomalyMask []byte `min:"1" type:"blob"` // The confidence that Lookout for Vision has in the accuracy of the classification // in IsAnomalous. Confidence *float64 `type:"float"` // True if Amazon Lookout for Vision classifies the image as containing an anomaly, // otherwise false. IsAnomalous *bool `type:"boolean"` // 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 `type:"structure"` // contains filtered or unexported fields }
The prediction results from a call to DetectAnomalies. DetectAnomalyResult includes classification information for the prediction (IsAnomalous and Confidence). If the model you use is an image segementation model, DetectAnomalyResult also includes segmentation information (Anomalies and AnomalyMask). Classification information is calculated separately from segmentation information and you shouldn't assume a relationship between them.
func (DetectAnomalyResult) GoString ¶
func (s DetectAnomalyResult) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DetectAnomalyResult) SetAnomalies ¶
func (s *DetectAnomalyResult) SetAnomalies(v []*Anomaly) *DetectAnomalyResult
SetAnomalies sets the Anomalies field's value.
func (*DetectAnomalyResult) SetAnomalyMask ¶
func (s *DetectAnomalyResult) SetAnomalyMask(v []byte) *DetectAnomalyResult
SetAnomalyMask sets the AnomalyMask field's value.
func (*DetectAnomalyResult) SetConfidence ¶
func (s *DetectAnomalyResult) SetConfidence(v float64) *DetectAnomalyResult
SetConfidence sets the Confidence field's value.
func (*DetectAnomalyResult) SetIsAnomalous ¶
func (s *DetectAnomalyResult) SetIsAnomalous(v bool) *DetectAnomalyResult
SetIsAnomalous sets the IsAnomalous field's value.
func (*DetectAnomalyResult) SetSource ¶
func (s *DetectAnomalyResult) SetSource(v *ImageSource) *DetectAnomalyResult
SetSource sets the Source field's value.
func (DetectAnomalyResult) String ¶
func (s DetectAnomalyResult) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GreengrassConfiguration ¶
type GreengrassConfiguration struct { // Additional compiler options for the Greengrass component. Currently, only // NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. // If you specify TargetDevice, don't specify CompilerOptions. // // For more information, see Compiler options in the Amazon Lookout for Vision // Developer Guide. CompilerOptions *string `min:"3" type:"string"` // A description for the AWS IoT Greengrass component. ComponentDescription *string `min:"1" type:"string"` // A name for the AWS IoT Greengrass component. // // ComponentName is a required field ComponentName *string `min:"1" type:"string" required:"true"` // A Version for the AWS IoT Greengrass component. If you don't provide a value, // a default value of Model Version.0.0 is used. ComponentVersion *string `min:"1" type:"string"` // An S3 location in which Lookout for Vision stores the component artifacts. // // S3OutputLocation is a required field S3OutputLocation *S3Location `type:"structure" required:"true"` // A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass // component. Tags []*Tag `type:"list"` // The target device for the model. Currently the only supported value is jetson_xavier. // If you specify TargetDevice, you can't specify TargetPlatform. TargetDevice *string `type:"string" enum:"TargetDevice"` // The target platform for the model. If you specify TargetPlatform, you can't // specify TargetDevice. TargetPlatform *TargetPlatform `type:"structure"` // contains filtered or unexported fields }
Configuration information for the AWS IoT Greengrass component created in a model packaging job. For more information, see StartModelPackagingJob.
You can't specify a component with the same ComponentName and Componentversion as an existing component with the same component name and component version.
func (GreengrassConfiguration) GoString ¶
func (s GreengrassConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GreengrassConfiguration) SetCompilerOptions ¶
func (s *GreengrassConfiguration) SetCompilerOptions(v string) *GreengrassConfiguration
SetCompilerOptions sets the CompilerOptions field's value.
func (*GreengrassConfiguration) SetComponentDescription ¶
func (s *GreengrassConfiguration) SetComponentDescription(v string) *GreengrassConfiguration
SetComponentDescription sets the ComponentDescription field's value.
func (*GreengrassConfiguration) SetComponentName ¶
func (s *GreengrassConfiguration) SetComponentName(v string) *GreengrassConfiguration
SetComponentName sets the ComponentName field's value.
func (*GreengrassConfiguration) SetComponentVersion ¶
func (s *GreengrassConfiguration) SetComponentVersion(v string) *GreengrassConfiguration
SetComponentVersion sets the ComponentVersion field's value.
func (*GreengrassConfiguration) SetS3OutputLocation ¶
func (s *GreengrassConfiguration) SetS3OutputLocation(v *S3Location) *GreengrassConfiguration
SetS3OutputLocation sets the S3OutputLocation field's value.
func (*GreengrassConfiguration) SetTags ¶
func (s *GreengrassConfiguration) SetTags(v []*Tag) *GreengrassConfiguration
SetTags sets the Tags field's value.
func (*GreengrassConfiguration) SetTargetDevice ¶
func (s *GreengrassConfiguration) SetTargetDevice(v string) *GreengrassConfiguration
SetTargetDevice sets the TargetDevice field's value.
func (*GreengrassConfiguration) SetTargetPlatform ¶
func (s *GreengrassConfiguration) SetTargetPlatform(v *TargetPlatform) *GreengrassConfiguration
SetTargetPlatform sets the TargetPlatform field's value.
func (GreengrassConfiguration) String ¶
func (s GreengrassConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GreengrassConfiguration) Validate ¶
func (s *GreengrassConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GreengrassOutputDetails ¶
type GreengrassOutputDetails struct { // The name of the component. ComponentName *string `min:"1" type:"string"` // The version of the component. ComponentVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the component. ComponentVersionArn *string `type:"string"` // contains filtered or unexported fields }
Information about the AWS IoT Greengrass component created by a model packaging job.
func (GreengrassOutputDetails) GoString ¶
func (s GreengrassOutputDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GreengrassOutputDetails) SetComponentName ¶
func (s *GreengrassOutputDetails) SetComponentName(v string) *GreengrassOutputDetails
SetComponentName sets the ComponentName field's value.
func (*GreengrassOutputDetails) SetComponentVersion ¶
func (s *GreengrassOutputDetails) SetComponentVersion(v string) *GreengrassOutputDetails
SetComponentVersion sets the ComponentVersion field's value.
func (*GreengrassOutputDetails) SetComponentVersionArn ¶
func (s *GreengrassOutputDetails) SetComponentVersionArn(v string) *GreengrassOutputDetails
SetComponentVersionArn sets the ComponentVersionArn field's value.
func (GreengrassOutputDetails) String ¶
func (s GreengrassOutputDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImageSource ¶
type ImageSource struct { // The type of the image. Type *string `type:"string"` // contains filtered or unexported fields }
The source for an image.
func (ImageSource) GoString ¶
func (s ImageSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImageSource) SetType ¶
func (s *ImageSource) SetType(v string) *ImageSource
SetType sets the Type field's value.
func (ImageSource) String ¶
func (s ImageSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InputS3Object ¶
type InputS3Object struct { // The Amazon S3 bucket that contains the manifest. // // Bucket is a required field Bucket *string `min:"3" type:"string" required:"true"` // The name and location of the manifest file withiin the bucket. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The version ID of the bucket. VersionId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Amazon S3 Location information for an input manifest file.
func (InputS3Object) GoString ¶
func (s InputS3Object) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InputS3Object) SetBucket ¶
func (s *InputS3Object) SetBucket(v string) *InputS3Object
SetBucket sets the Bucket field's value.
func (*InputS3Object) SetKey ¶
func (s *InputS3Object) SetKey(v string) *InputS3Object
SetKey sets the Key field's value.
func (*InputS3Object) SetVersionId ¶
func (s *InputS3Object) SetVersionId(v string) *InputS3Object
SetVersionId sets the VersionId field's value.
func (InputS3Object) String ¶
func (s InputS3Object) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InputS3Object) Validate ¶
func (s *InputS3Object) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The period of time, in seconds, before the operation can be retried. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // contains filtered or unexported fields }
Amazon Lookout for Vision experienced a service issue. Try your call again.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListDatasetEntriesInput ¶
type ListDatasetEntriesInput struct { // Only includes entries after the specified date in the response. For example, // 2020-06-23T00:00:00. AfterCreationDate *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` // Specify normal to include only normal images. Specify anomaly to only include // anomalous entries. If you don't specify a value, Amazon Lookout for Vision // returns normal and anomalous images. AnomalyClass *string `location:"querystring" locationName:"anomalyClass" min:"1" type:"string"` // Only includes entries before the specified date in the response. For example, // 2020-06-23T00:00:00. BeforeCreationDate *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` // The type of the dataset that you want to list. Specify train to list the // training dataset. Specify test to list the test dataset. If you have a single // dataset project, specify train. // // DatasetType is a required field DatasetType *string `location:"uri" locationName:"datasetType" min:"1" type:"string" required:"true"` // Specify true to include labeled entries, otherwise specify false. If you // don't specify a value, Lookout for Vision returns all entries. Labeled *bool `location:"querystring" locationName:"labeled" type:"boolean"` // The maximum number of results to return per paginated call. The largest value // you can specify is 100. If you specify a value greater than 100, a ValidationException // error occurs. The default value is 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // If the previous response was incomplete (because there is more data to retrieve), // Amazon Lookout for Vision returns a pagination token in the response. You // can use this pagination token to retrieve the next set of dataset entries. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the project that contains the dataset that you want to list. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // Perform a "contains" search on the values of the source-ref key within the // dataset. For example a value of "IMG_17" returns all JSON Lines where the // source-ref key value matches *IMG_17*. SourceRefContains *string `location:"querystring" locationName:"sourceRefContains" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListDatasetEntriesInput) GoString ¶
func (s ListDatasetEntriesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListDatasetEntriesInput) SetAfterCreationDate ¶
func (s *ListDatasetEntriesInput) SetAfterCreationDate(v time.Time) *ListDatasetEntriesInput
SetAfterCreationDate sets the AfterCreationDate field's value.
func (*ListDatasetEntriesInput) SetAnomalyClass ¶
func (s *ListDatasetEntriesInput) SetAnomalyClass(v string) *ListDatasetEntriesInput
SetAnomalyClass sets the AnomalyClass field's value.
func (*ListDatasetEntriesInput) SetBeforeCreationDate ¶
func (s *ListDatasetEntriesInput) SetBeforeCreationDate(v time.Time) *ListDatasetEntriesInput
SetBeforeCreationDate sets the BeforeCreationDate field's value.
func (*ListDatasetEntriesInput) SetDatasetType ¶
func (s *ListDatasetEntriesInput) SetDatasetType(v string) *ListDatasetEntriesInput
SetDatasetType sets the DatasetType field's value.
func (*ListDatasetEntriesInput) SetLabeled ¶
func (s *ListDatasetEntriesInput) SetLabeled(v bool) *ListDatasetEntriesInput
SetLabeled sets the Labeled field's value.
func (*ListDatasetEntriesInput) SetMaxResults ¶
func (s *ListDatasetEntriesInput) SetMaxResults(v int64) *ListDatasetEntriesInput
SetMaxResults sets the MaxResults field's value.
func (*ListDatasetEntriesInput) SetNextToken ¶
func (s *ListDatasetEntriesInput) SetNextToken(v string) *ListDatasetEntriesInput
SetNextToken sets the NextToken field's value.
func (*ListDatasetEntriesInput) SetProjectName ¶
func (s *ListDatasetEntriesInput) SetProjectName(v string) *ListDatasetEntriesInput
SetProjectName sets the ProjectName field's value.
func (*ListDatasetEntriesInput) SetSourceRefContains ¶
func (s *ListDatasetEntriesInput) SetSourceRefContains(v string) *ListDatasetEntriesInput
SetSourceRefContains sets the SourceRefContains field's value.
func (ListDatasetEntriesInput) String ¶
func (s ListDatasetEntriesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListDatasetEntriesInput) Validate ¶
func (s *ListDatasetEntriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDatasetEntriesOutput ¶
type ListDatasetEntriesOutput struct { // A list of the entries (JSON Lines) within the dataset. DatasetEntries []*string `type:"list"` // If the response is truncated, Amazon Lookout for Vision returns this token // that you can use in the subsequent request to retrieve the next set ofdataset // entries. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListDatasetEntriesOutput) GoString ¶
func (s ListDatasetEntriesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListDatasetEntriesOutput) SetDatasetEntries ¶
func (s *ListDatasetEntriesOutput) SetDatasetEntries(v []*string) *ListDatasetEntriesOutput
SetDatasetEntries sets the DatasetEntries field's value.
func (*ListDatasetEntriesOutput) SetNextToken ¶
func (s *ListDatasetEntriesOutput) SetNextToken(v string) *ListDatasetEntriesOutput
SetNextToken sets the NextToken field's value.
func (ListDatasetEntriesOutput) String ¶
func (s ListDatasetEntriesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListModelPackagingJobsInput ¶
type ListModelPackagingJobsInput struct { // The maximum number of results to return per paginated call. The largest value // you can specify is 100. If you specify a value greater than 100, a ValidationException // error occurs. The default value is 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // If the previous response was incomplete (because there is more results to // retrieve), Amazon Lookout for Vision returns a pagination token in the response. // You can use this pagination token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the project for which you want to list the model packaging jobs. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListModelPackagingJobsInput) GoString ¶
func (s ListModelPackagingJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelPackagingJobsInput) SetMaxResults ¶
func (s *ListModelPackagingJobsInput) SetMaxResults(v int64) *ListModelPackagingJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListModelPackagingJobsInput) SetNextToken ¶
func (s *ListModelPackagingJobsInput) SetNextToken(v string) *ListModelPackagingJobsInput
SetNextToken sets the NextToken field's value.
func (*ListModelPackagingJobsInput) SetProjectName ¶
func (s *ListModelPackagingJobsInput) SetProjectName(v string) *ListModelPackagingJobsInput
SetProjectName sets the ProjectName field's value.
func (ListModelPackagingJobsInput) String ¶
func (s ListModelPackagingJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelPackagingJobsInput) Validate ¶
func (s *ListModelPackagingJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListModelPackagingJobsOutput ¶
type ListModelPackagingJobsOutput struct { // A list of the model packaging jobs created for the specified Amazon Lookout // for Vision project. ModelPackagingJobs []*ModelPackagingJobMetadata `type:"list"` // If the previous response was incomplete (because there is more results to // retrieve), Amazon Lookout for Vision returns a pagination token in the response. // You can use this pagination token to retrieve the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListModelPackagingJobsOutput) GoString ¶
func (s ListModelPackagingJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelPackagingJobsOutput) SetModelPackagingJobs ¶
func (s *ListModelPackagingJobsOutput) SetModelPackagingJobs(v []*ModelPackagingJobMetadata) *ListModelPackagingJobsOutput
SetModelPackagingJobs sets the ModelPackagingJobs field's value.
func (*ListModelPackagingJobsOutput) SetNextToken ¶
func (s *ListModelPackagingJobsOutput) SetNextToken(v string) *ListModelPackagingJobsOutput
SetNextToken sets the NextToken field's value.
func (ListModelPackagingJobsOutput) String ¶
func (s ListModelPackagingJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListModelsInput ¶
type ListModelsInput struct { // The maximum number of results to return per paginated call. The largest value // you can specify is 100. If you specify a value greater than 100, a ValidationException // error occurs. The default value is 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // If the previous response was incomplete (because there is more data to retrieve), // Amazon Lookout for Vision returns a pagination token in the response. You // can use this pagination token to retrieve the next set of models. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the project that contains the model versions that you want to // list. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListModelsInput) GoString ¶
func (s ListModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelsInput) SetMaxResults ¶
func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListModelsInput) SetNextToken ¶
func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput
SetNextToken sets the NextToken field's value.
func (*ListModelsInput) SetProjectName ¶
func (s *ListModelsInput) SetProjectName(v string) *ListModelsInput
SetProjectName sets the ProjectName field's value.
func (ListModelsInput) String ¶
func (s ListModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelsInput) Validate ¶
func (s *ListModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListModelsOutput ¶
type ListModelsOutput struct { // A list of model versions in the specified project. Models []*ModelMetadata `type:"list"` // If the response is truncated, Amazon Lookout for Vision returns this token // that you can use in the subsequent request to retrieve the next set of models. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListModelsOutput) GoString ¶
func (s ListModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelsOutput) SetModels ¶
func (s *ListModelsOutput) SetModels(v []*ModelMetadata) *ListModelsOutput
SetModels sets the Models field's value.
func (*ListModelsOutput) SetNextToken ¶
func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput
SetNextToken sets the NextToken field's value.
func (ListModelsOutput) String ¶
func (s ListModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProjectsInput ¶
type ListProjectsInput struct { // The maximum number of results to return per paginated call. The largest value // you can specify is 100. If you specify a value greater than 100, a ValidationException // error occurs. The default value is 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // If the previous response was incomplete (because there is more data to retrieve), // Amazon Lookout for Vision returns a pagination token in the response. You // can use this pagination token to retrieve the next set of projects. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListProjectsInput) GoString ¶
func (s ListProjectsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProjectsInput) SetMaxResults ¶
func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProjectsInput) SetNextToken ¶
func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput
SetNextToken sets the NextToken field's value.
func (ListProjectsInput) String ¶
func (s ListProjectsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProjectsInput) Validate ¶
func (s *ListProjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProjectsOutput ¶
type ListProjectsOutput struct { // If the response is truncated, Amazon Lookout for Vision returns this token // that you can use in the subsequent request to retrieve the next set of projects. NextToken *string `type:"string"` // A list of projects in your AWS account. Projects []*ProjectMetadata `type:"list"` // contains filtered or unexported fields }
func (ListProjectsOutput) GoString ¶
func (s ListProjectsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProjectsOutput) SetNextToken ¶
func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput
SetNextToken sets the NextToken field's value.
func (*ListProjectsOutput) SetProjects ¶
func (s *ListProjectsOutput) SetProjects(v []*ProjectMetadata) *ListProjectsOutput
SetProjects sets the Projects field's value.
func (ListProjectsOutput) String ¶
func (s ListProjectsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the model for which you want to list tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A map of tag keys and values attached to the specified model. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LookoutForVision ¶
LookoutForVision provides the API operation methods for making requests to Amazon Lookout for Vision. See this package's package overview docs for details on the service.
LookoutForVision methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *LookoutForVision
New creates a new instance of the LookoutForVision client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a LookoutForVision client from just a session. svc := lookoutforvision.New(mySession) // Create a LookoutForVision client with additional configuration svc := lookoutforvision.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*LookoutForVision) CreateDataset ¶
func (c *LookoutForVision) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error)
CreateDataset API operation for Amazon Lookout for Vision.
Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset can create a training or a test dataset from a valid dataset source (DatasetSource).
If you want a single dataset project, specify train for the value of DatasetType.
To have a project with separate training and test datasets, call CreateDataset twice. On the first call, specify train for the value of DatasetType. On the second call, specify test for the value of DatasetType.
This operation requires permissions to perform the lookoutvision:CreateDataset operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation CreateDataset for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateDataset
func (*LookoutForVision) CreateDatasetRequest ¶
func (c *LookoutForVision) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput)
CreateDatasetRequest generates a "aws/request.Request" representing the client's request for the CreateDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDataset for more information on using the CreateDataset API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDatasetRequest method. req, resp := client.CreateDatasetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateDataset
func (*LookoutForVision) CreateDatasetWithContext ¶
func (c *LookoutForVision) CreateDatasetWithContext(ctx aws.Context, input *CreateDatasetInput, opts ...request.Option) (*CreateDatasetOutput, error)
CreateDatasetWithContext is the same as CreateDataset with the addition of the ability to pass a context and additional request options.
See CreateDataset for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) CreateModel ¶
func (c *LookoutForVision) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
CreateModel API operation for Amazon Lookout for Vision.
Creates a new version of a model within an an Amazon Lookout for Vision project. CreateModel is an asynchronous operation in which Amazon Lookout for Vision trains, tests, and evaluates a new version of a model.
To get the current status, check the Status field returned in the response from DescribeModel.
If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset to create a training and a test dataset. If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test the model.
After training completes, the evaluation metrics are stored at the location specified in OutputConfig.
This operation requires permissions to perform the lookoutvision:CreateModel operation. If you want to tag your model, you also require permission to the lookoutvision:TagResource operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation CreateModel for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateModel
func (*LookoutForVision) CreateModelRequest ¶
func (c *LookoutForVision) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
CreateModelRequest generates a "aws/request.Request" representing the client's request for the CreateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModel for more information on using the CreateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelRequest method. req, resp := client.CreateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateModel
func (*LookoutForVision) CreateModelWithContext ¶
func (c *LookoutForVision) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
CreateModelWithContext is the same as CreateModel with the addition of the ability to pass a context and additional request options.
See CreateModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) CreateProject ¶
func (c *LookoutForVision) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
CreateProject API operation for Amazon Lookout for Vision.
Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.
This operation requires permissions to perform the lookoutvision:CreateProject operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation CreateProject for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateProject
func (*LookoutForVision) CreateProjectRequest ¶
func (c *LookoutForVision) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
CreateProjectRequest generates a "aws/request.Request" representing the client's request for the CreateProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateProject for more information on using the CreateProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateProjectRequest method. req, resp := client.CreateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateProject
func (*LookoutForVision) CreateProjectWithContext ¶
func (c *LookoutForVision) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
CreateProjectWithContext is the same as CreateProject with the addition of the ability to pass a context and additional request options.
See CreateProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DeleteDataset ¶
func (c *LookoutForVision) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error)
DeleteDataset API operation for Amazon Lookout for Vision.
Deletes an existing Amazon Lookout for Vision dataset.
If your the project has a single dataset, you must create a new dataset before you can create a model.
If you project has a training dataset and a test dataset consider the following.
If you delete the test dataset, your project reverts to a single dataset project. If you then train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.
If you delete the training dataset, you must create a training dataset before you can create a model.
This operation requires permissions to perform the lookoutvision:DeleteDataset operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DeleteDataset for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteDataset
func (*LookoutForVision) DeleteDatasetRequest ¶
func (c *LookoutForVision) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput)
DeleteDatasetRequest generates a "aws/request.Request" representing the client's request for the DeleteDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDataset for more information on using the DeleteDataset API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDatasetRequest method. req, resp := client.DeleteDatasetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteDataset
func (*LookoutForVision) DeleteDatasetWithContext ¶
func (c *LookoutForVision) DeleteDatasetWithContext(ctx aws.Context, input *DeleteDatasetInput, opts ...request.Option) (*DeleteDatasetOutput, error)
DeleteDatasetWithContext is the same as DeleteDataset with the addition of the ability to pass a context and additional request options.
See DeleteDataset for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DeleteModel ¶
func (c *LookoutForVision) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
DeleteModel API operation for Amazon Lookout for Vision.
Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.
It might take a few seconds to delete a model. To determine if a model has been deleted, call ListModels and check if the version of the model (ModelVersion) is in the Models array.
This operation requires permissions to perform the lookoutvision:DeleteModel operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DeleteModel for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteModel
func (*LookoutForVision) DeleteModelRequest ¶
func (c *LookoutForVision) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
DeleteModelRequest generates a "aws/request.Request" representing the client's request for the DeleteModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModel for more information on using the DeleteModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelRequest method. req, resp := client.DeleteModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteModel
func (*LookoutForVision) DeleteModelWithContext ¶
func (c *LookoutForVision) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
DeleteModelWithContext is the same as DeleteModel with the addition of the ability to pass a context and additional request options.
See DeleteModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DeleteProject ¶
func (c *LookoutForVision) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
DeleteProject API operation for Amazon Lookout for Vision.
Deletes an Amazon Lookout for Vision project.
To delete a project, you must first delete each version of the model associated with the project. To delete a model use the DeleteModel operation.
You also have to delete the dataset(s) associated with the model. For more information, see DeleteDataset. The images referenced by the training and test datasets aren't deleted.
This operation requires permissions to perform the lookoutvision:DeleteProject operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DeleteProject for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteProject
func (*LookoutForVision) DeleteProjectRequest ¶
func (c *LookoutForVision) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
DeleteProjectRequest generates a "aws/request.Request" representing the client's request for the DeleteProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteProject for more information on using the DeleteProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteProjectRequest method. req, resp := client.DeleteProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteProject
func (*LookoutForVision) DeleteProjectWithContext ¶
func (c *LookoutForVision) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
DeleteProjectWithContext is the same as DeleteProject with the addition of the ability to pass a context and additional request options.
See DeleteProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DescribeDataset ¶
func (c *LookoutForVision) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error)
DescribeDataset API operation for Amazon Lookout for Vision.
Describe an Amazon Lookout for Vision dataset.
This operation requires permissions to perform the lookoutvision:DescribeDataset operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DescribeDataset for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeDataset
func (*LookoutForVision) DescribeDatasetRequest ¶
func (c *LookoutForVision) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput)
DescribeDatasetRequest generates a "aws/request.Request" representing the client's request for the DescribeDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeDataset for more information on using the DescribeDataset API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeDatasetRequest method. req, resp := client.DescribeDatasetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeDataset
func (*LookoutForVision) DescribeDatasetWithContext ¶
func (c *LookoutForVision) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error)
DescribeDatasetWithContext is the same as DescribeDataset with the addition of the ability to pass a context and additional request options.
See DescribeDataset for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DescribeModel ¶
func (c *LookoutForVision) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error)
DescribeModel API operation for Amazon Lookout for Vision.
Describes a version of an Amazon Lookout for Vision model.
This operation requires permissions to perform the lookoutvision:DescribeModel operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DescribeModel for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel
func (*LookoutForVision) DescribeModelPackagingJob ¶
func (c *LookoutForVision) DescribeModelPackagingJob(input *DescribeModelPackagingJobInput) (*DescribeModelPackagingJobOutput, error)
DescribeModelPackagingJob API operation for Amazon Lookout for Vision.
Describes an Amazon Lookout for Vision model packaging job.
This operation requires permissions to perform the lookoutvision:DescribeModelPackagingJob operation.
For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DescribeModelPackagingJob for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJob
func (*LookoutForVision) DescribeModelPackagingJobRequest ¶
func (c *LookoutForVision) DescribeModelPackagingJobRequest(input *DescribeModelPackagingJobInput) (req *request.Request, output *DescribeModelPackagingJobOutput)
DescribeModelPackagingJobRequest generates a "aws/request.Request" representing the client's request for the DescribeModelPackagingJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeModelPackagingJob for more information on using the DescribeModelPackagingJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeModelPackagingJobRequest method. req, resp := client.DescribeModelPackagingJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJob
func (*LookoutForVision) DescribeModelPackagingJobWithContext ¶
func (c *LookoutForVision) DescribeModelPackagingJobWithContext(ctx aws.Context, input *DescribeModelPackagingJobInput, opts ...request.Option) (*DescribeModelPackagingJobOutput, error)
DescribeModelPackagingJobWithContext is the same as DescribeModelPackagingJob with the addition of the ability to pass a context and additional request options.
See DescribeModelPackagingJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DescribeModelRequest ¶
func (c *LookoutForVision) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput)
DescribeModelRequest generates a "aws/request.Request" representing the client's request for the DescribeModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeModel for more information on using the DescribeModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeModelRequest method. req, resp := client.DescribeModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel
func (*LookoutForVision) DescribeModelWithContext ¶
func (c *LookoutForVision) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error)
DescribeModelWithContext is the same as DescribeModel with the addition of the ability to pass a context and additional request options.
See DescribeModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DescribeProject ¶
func (c *LookoutForVision) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)
DescribeProject API operation for Amazon Lookout for Vision.
Describes an Amazon Lookout for Vision project.
This operation requires permissions to perform the lookoutvision:DescribeProject operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DescribeProject for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeProject
func (*LookoutForVision) DescribeProjectRequest ¶
func (c *LookoutForVision) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)
DescribeProjectRequest generates a "aws/request.Request" representing the client's request for the DescribeProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeProject for more information on using the DescribeProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeProjectRequest method. req, resp := client.DescribeProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeProject
func (*LookoutForVision) DescribeProjectWithContext ¶
func (c *LookoutForVision) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)
DescribeProjectWithContext is the same as DescribeProject with the addition of the ability to pass a context and additional request options.
See DescribeProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) DetectAnomalies ¶
func (c *LookoutForVision) DetectAnomalies(input *DetectAnomaliesInput) (*DetectAnomaliesOutput, error)
DetectAnomalies API operation for Amazon Lookout for Vision.
Detects anomalies in an image that you supply.
The response from DetectAnomalies includes a boolean prediction that the image contains one or more anomalies and a confidence value for the prediction. If the model is an image segmentation model, the response also includes segmentation information for each type of anomaly found in the image.
Before calling DetectAnomalies, you must first start your model with the StartModel operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your model uses. If you are not using a model, use the StopModel operation to stop your model.
For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.
This operation requires permissions to perform the lookoutvision:DetectAnomalies operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation DetectAnomalies for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DetectAnomalies
func (*LookoutForVision) DetectAnomaliesRequest ¶
func (c *LookoutForVision) DetectAnomaliesRequest(input *DetectAnomaliesInput) (req *request.Request, output *DetectAnomaliesOutput)
DetectAnomaliesRequest generates a "aws/request.Request" representing the client's request for the DetectAnomalies operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DetectAnomalies for more information on using the DetectAnomalies API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DetectAnomaliesRequest method. req, resp := client.DetectAnomaliesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DetectAnomalies
func (*LookoutForVision) DetectAnomaliesWithContext ¶
func (c *LookoutForVision) DetectAnomaliesWithContext(ctx aws.Context, input *DetectAnomaliesInput, opts ...request.Option) (*DetectAnomaliesOutput, error)
DetectAnomaliesWithContext is the same as DetectAnomalies with the addition of the ability to pass a context and additional request options.
See DetectAnomalies for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListDatasetEntries ¶
func (c *LookoutForVision) ListDatasetEntries(input *ListDatasetEntriesInput) (*ListDatasetEntriesOutput, error)
ListDatasetEntries API operation for Amazon Lookout for Vision.
Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.
This operation requires permissions to perform the lookoutvision:ListDatasetEntries operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation ListDatasetEntries for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListDatasetEntries
func (*LookoutForVision) ListDatasetEntriesPages ¶
func (c *LookoutForVision) ListDatasetEntriesPages(input *ListDatasetEntriesInput, fn func(*ListDatasetEntriesOutput, bool) bool) error
ListDatasetEntriesPages iterates over the pages of a ListDatasetEntries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListDatasetEntries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListDatasetEntries operation. pageNum := 0 err := client.ListDatasetEntriesPages(params, func(page *lookoutforvision.ListDatasetEntriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutForVision) ListDatasetEntriesPagesWithContext ¶
func (c *LookoutForVision) ListDatasetEntriesPagesWithContext(ctx aws.Context, input *ListDatasetEntriesInput, fn func(*ListDatasetEntriesOutput, bool) bool, opts ...request.Option) error
ListDatasetEntriesPagesWithContext same as ListDatasetEntriesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListDatasetEntriesRequest ¶
func (c *LookoutForVision) ListDatasetEntriesRequest(input *ListDatasetEntriesInput) (req *request.Request, output *ListDatasetEntriesOutput)
ListDatasetEntriesRequest generates a "aws/request.Request" representing the client's request for the ListDatasetEntries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDatasetEntries for more information on using the ListDatasetEntries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDatasetEntriesRequest method. req, resp := client.ListDatasetEntriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListDatasetEntries
func (*LookoutForVision) ListDatasetEntriesWithContext ¶
func (c *LookoutForVision) ListDatasetEntriesWithContext(ctx aws.Context, input *ListDatasetEntriesInput, opts ...request.Option) (*ListDatasetEntriesOutput, error)
ListDatasetEntriesWithContext is the same as ListDatasetEntries with the addition of the ability to pass a context and additional request options.
See ListDatasetEntries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListModelPackagingJobs ¶
func (c *LookoutForVision) ListModelPackagingJobs(input *ListModelPackagingJobsInput) (*ListModelPackagingJobsOutput, error)
ListModelPackagingJobs API operation for Amazon Lookout for Vision.
Lists the model packaging jobs created for an Amazon Lookout for Vision project.
This operation requires permissions to perform the lookoutvision:ListModelPackagingJobs operation.
For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation ListModelPackagingJobs for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobs
func (*LookoutForVision) ListModelPackagingJobsPages ¶
func (c *LookoutForVision) ListModelPackagingJobsPages(input *ListModelPackagingJobsInput, fn func(*ListModelPackagingJobsOutput, bool) bool) error
ListModelPackagingJobsPages iterates over the pages of a ListModelPackagingJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListModelPackagingJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListModelPackagingJobs operation. pageNum := 0 err := client.ListModelPackagingJobsPages(params, func(page *lookoutforvision.ListModelPackagingJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutForVision) ListModelPackagingJobsPagesWithContext ¶
func (c *LookoutForVision) ListModelPackagingJobsPagesWithContext(ctx aws.Context, input *ListModelPackagingJobsInput, fn func(*ListModelPackagingJobsOutput, bool) bool, opts ...request.Option) error
ListModelPackagingJobsPagesWithContext same as ListModelPackagingJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListModelPackagingJobsRequest ¶
func (c *LookoutForVision) ListModelPackagingJobsRequest(input *ListModelPackagingJobsInput) (req *request.Request, output *ListModelPackagingJobsOutput)
ListModelPackagingJobsRequest generates a "aws/request.Request" representing the client's request for the ListModelPackagingJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListModelPackagingJobs for more information on using the ListModelPackagingJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListModelPackagingJobsRequest method. req, resp := client.ListModelPackagingJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobs
func (*LookoutForVision) ListModelPackagingJobsWithContext ¶
func (c *LookoutForVision) ListModelPackagingJobsWithContext(ctx aws.Context, input *ListModelPackagingJobsInput, opts ...request.Option) (*ListModelPackagingJobsOutput, error)
ListModelPackagingJobsWithContext is the same as ListModelPackagingJobs with the addition of the ability to pass a context and additional request options.
See ListModelPackagingJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListModels ¶
func (c *LookoutForVision) ListModels(input *ListModelsInput) (*ListModelsOutput, error)
ListModels API operation for Amazon Lookout for Vision.
Lists the versions of a model in an Amazon Lookout for Vision project.
The ListModels operation is eventually consistent. Recent calls to CreateModel might take a while to appear in the response from ListProjects.
This operation requires permissions to perform the lookoutvision:ListModels operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation ListModels for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModels
func (*LookoutForVision) ListModelsPages ¶
func (c *LookoutForVision) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error
ListModelsPages iterates over the pages of a ListModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListModels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListModels operation. pageNum := 0 err := client.ListModelsPages(params, func(page *lookoutforvision.ListModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutForVision) ListModelsPagesWithContext ¶
func (c *LookoutForVision) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error
ListModelsPagesWithContext same as ListModelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListModelsRequest ¶
func (c *LookoutForVision) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput)
ListModelsRequest generates a "aws/request.Request" representing the client's request for the ListModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListModels for more information on using the ListModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListModelsRequest method. req, resp := client.ListModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModels
func (*LookoutForVision) ListModelsWithContext ¶
func (c *LookoutForVision) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error)
ListModelsWithContext is the same as ListModels with the addition of the ability to pass a context and additional request options.
See ListModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListProjects ¶
func (c *LookoutForVision) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
ListProjects API operation for Amazon Lookout for Vision.
Lists the Amazon Lookout for Vision projects in your AWS account that are in the AWS Region in which you call ListProjects.
The ListProjects operation is eventually consistent. Recent calls to CreateProject and DeleteProject might take a while to appear in the response from ListProjects.
This operation requires permissions to perform the lookoutvision:ListProjects operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation ListProjects for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListProjects
func (*LookoutForVision) ListProjectsPages ¶
func (c *LookoutForVision) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error
ListProjectsPages iterates over the pages of a ListProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProjects method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProjects operation. pageNum := 0 err := client.ListProjectsPages(params, func(page *lookoutforvision.ListProjectsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutForVision) ListProjectsPagesWithContext ¶
func (c *LookoutForVision) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error
ListProjectsPagesWithContext same as ListProjectsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListProjectsRequest ¶
func (c *LookoutForVision) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
ListProjectsRequest generates a "aws/request.Request" representing the client's request for the ListProjects operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProjects for more information on using the ListProjects API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProjectsRequest method. req, resp := client.ListProjectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListProjects
func (*LookoutForVision) ListProjectsWithContext ¶
func (c *LookoutForVision) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
ListProjectsWithContext is the same as ListProjects with the addition of the ability to pass a context and additional request options.
See ListProjects for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) ListTagsForResource ¶
func (c *LookoutForVision) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Lookout for Vision.
Returns a list of tags attached to the specified Amazon Lookout for Vision model.
This operation requires permissions to perform the lookoutvision:ListTagsForResource operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation ListTagsForResource for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListTagsForResource
func (*LookoutForVision) ListTagsForResourceRequest ¶
func (c *LookoutForVision) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListTagsForResource
func (*LookoutForVision) ListTagsForResourceWithContext ¶
func (c *LookoutForVision) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) StartModel ¶
func (c *LookoutForVision) StartModel(input *StartModelInput) (*StartModelOutput, error)
StartModel API operation for Amazon Lookout for Vision.
Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use DescribeModel.
A model is ready to use when its status is HOSTED.
Once the model is running, you can detect custom labels in new images by calling DetectAnomalies.
You are charged for the amount of time that the model is running. To stop a running model, call StopModel.
This operation requires permissions to perform the lookoutvision:StartModel operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation StartModel for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModel
func (*LookoutForVision) StartModelPackagingJob ¶
func (c *LookoutForVision) StartModelPackagingJob(input *StartModelPackagingJobInput) (*StartModelPackagingJobOutput, error)
StartModelPackagingJob API operation for Amazon Lookout for Vision.
Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass.
Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED.
To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment (https://docs.aws.amazon.com/greengrass/v2/APIReference/API_CreateDeployment.html) API.
This operation requires the following permissions:
lookoutvision:StartModelPackagingJob
s3:PutObject
s3:GetBucketLocation
kms:GenerateDataKey
greengrass:CreateComponentVersion
greengrass:DescribeComponent
(Optional) greengrass:TagResource. Only required if you want to tag the component.
For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation StartModelPackagingJob for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJob
func (*LookoutForVision) StartModelPackagingJobRequest ¶
func (c *LookoutForVision) StartModelPackagingJobRequest(input *StartModelPackagingJobInput) (req *request.Request, output *StartModelPackagingJobOutput)
StartModelPackagingJobRequest generates a "aws/request.Request" representing the client's request for the StartModelPackagingJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartModelPackagingJob for more information on using the StartModelPackagingJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartModelPackagingJobRequest method. req, resp := client.StartModelPackagingJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJob
func (*LookoutForVision) StartModelPackagingJobWithContext ¶
func (c *LookoutForVision) StartModelPackagingJobWithContext(ctx aws.Context, input *StartModelPackagingJobInput, opts ...request.Option) (*StartModelPackagingJobOutput, error)
StartModelPackagingJobWithContext is the same as StartModelPackagingJob with the addition of the ability to pass a context and additional request options.
See StartModelPackagingJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) StartModelRequest ¶
func (c *LookoutForVision) StartModelRequest(input *StartModelInput) (req *request.Request, output *StartModelOutput)
StartModelRequest generates a "aws/request.Request" representing the client's request for the StartModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartModel for more information on using the StartModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartModelRequest method. req, resp := client.StartModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModel
func (*LookoutForVision) StartModelWithContext ¶
func (c *LookoutForVision) StartModelWithContext(ctx aws.Context, input *StartModelInput, opts ...request.Option) (*StartModelOutput, error)
StartModelWithContext is the same as StartModel with the addition of the ability to pass a context and additional request options.
See StartModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) StopModel ¶
func (c *LookoutForVision) StopModel(input *StopModelInput) (*StopModelOutput, error)
StopModel API operation for Amazon Lookout for Vision.
Stops the hosting of a running model. The operation might take a while to complete. To check the current status, call DescribeModel.
After the model hosting stops, the Status of the model is TRAINED.
This operation requires permissions to perform the lookoutvision:StopModel operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation StopModel for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StopModel
func (*LookoutForVision) StopModelRequest ¶
func (c *LookoutForVision) StopModelRequest(input *StopModelInput) (req *request.Request, output *StopModelOutput)
StopModelRequest generates a "aws/request.Request" representing the client's request for the StopModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopModel for more information on using the StopModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopModelRequest method. req, resp := client.StopModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StopModel
func (*LookoutForVision) StopModelWithContext ¶
func (c *LookoutForVision) StopModelWithContext(ctx aws.Context, input *StopModelInput, opts ...request.Option) (*StopModelOutput, error)
StopModelWithContext is the same as StopModel with the addition of the ability to pass a context and additional request options.
See StopModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) TagResource ¶
func (c *LookoutForVision) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Lookout for Vision.
Adds one or more key-value tags to an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.
This operation requires permissions to perform the lookoutvision:TagResource operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation TagResource for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ServiceQuotaExceededException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TagResource
func (*LookoutForVision) TagResourceRequest ¶
func (c *LookoutForVision) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TagResource
func (*LookoutForVision) TagResourceWithContext ¶
func (c *LookoutForVision) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) UntagResource ¶
func (c *LookoutForVision) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Lookout for Vision.
Removes one or more tags from an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.
This operation requires permissions to perform the lookoutvision:UntagResource operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation UntagResource for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UntagResource
func (*LookoutForVision) UntagResourceRequest ¶
func (c *LookoutForVision) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UntagResource
func (*LookoutForVision) UntagResourceWithContext ¶
func (c *LookoutForVision) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutForVision) UpdateDatasetEntries ¶
func (c *LookoutForVision) UpdateDatasetEntries(input *UpdateDatasetEntriesInput) (*UpdateDatasetEntriesOutput, error)
UpdateDatasetEntries API operation for Amazon Lookout for Vision.
Adds or updates one or more JSON Line entries in a dataset. A JSON Line includes information about an image used for training or testing an Amazon Lookout for Vision model.
To update an existing JSON Line, use the source-ref field to identify the JSON Line. The JSON line that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset.
For more information, see Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.
The images you reference in the source-ref field of a JSON line, must be in the same S3 bucket as the existing images in the dataset.
Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and check the Status field in the response.
This operation requires permissions to perform the lookoutvision:UpdateDatasetEntries operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Vision's API operation UpdateDatasetEntries for usage and error information.
Returned Error Types:
AccessDeniedException You are not authorized to perform the action.
InternalServerException Amazon Lookout for Vision experienced a service issue. Try your call again.
ValidationException An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
ConflictException The update or deletion of a resource caused an inconsistent state.
ResourceNotFoundException The resource could not be found.
ThrottlingException Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UpdateDatasetEntries
func (*LookoutForVision) UpdateDatasetEntriesRequest ¶
func (c *LookoutForVision) UpdateDatasetEntriesRequest(input *UpdateDatasetEntriesInput) (req *request.Request, output *UpdateDatasetEntriesOutput)
UpdateDatasetEntriesRequest generates a "aws/request.Request" representing the client's request for the UpdateDatasetEntries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDatasetEntries for more information on using the UpdateDatasetEntries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDatasetEntriesRequest method. req, resp := client.UpdateDatasetEntriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UpdateDatasetEntries
func (*LookoutForVision) UpdateDatasetEntriesWithContext ¶
func (c *LookoutForVision) UpdateDatasetEntriesWithContext(ctx aws.Context, input *UpdateDatasetEntriesInput, opts ...request.Option) (*UpdateDatasetEntriesOutput, error)
UpdateDatasetEntriesWithContext is the same as UpdateDatasetEntries with the addition of the ability to pass a context and additional request options.
See UpdateDatasetEntries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type ModelDescription ¶
type ModelDescription struct { // The unix timestamp for the date and time that the model was created. CreationTimestamp *time.Time `type:"timestamp"` // The description for the model. Description *string `min:"1" type:"string"` // The unix timestamp for the date and time that the evaluation ended. EvaluationEndTimestamp *time.Time `type:"timestamp"` // 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 `type:"structure"` // The S3 location where Amazon Lookout for Vision saves the performance metrics. EvaluationResult *OutputS3Object `type:"structure"` // The identifer for the AWS Key Management Service (AWS KMS) key that was used // to encrypt the model during training. KmsKeyId *string `min:"1" type:"string"` // The maximum number of inference units Amazon Lookout for Vision uses to auto-scale // the model. For more information, see StartModel. MaxInferenceUnits *int64 `min:"1" type:"integer"` // The minimum number of inference units used by the model. For more information, // see StartModel MinInferenceUnits *int64 `min:"1" type:"integer"` // The Amazon Resource Name (ARN) of the model. ModelArn *string `type:"string"` // The version of the model ModelVersion *string `min:"1" type:"string"` // The S3 location where Amazon Lookout for Vision saves model training files. OutputConfig *OutputConfig `type:"structure"` // Performance metrics for the model. Created during training. Performance *ModelPerformance `type:"structure"` // The status of the model. Status *string `type:"string" enum:"ModelStatus"` // The status message for the model. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Describes an Amazon Lookout for Vision model.
func (ModelDescription) GoString ¶
func (s ModelDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelDescription) SetCreationTimestamp ¶
func (s *ModelDescription) SetCreationTimestamp(v time.Time) *ModelDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ModelDescription) SetDescription ¶
func (s *ModelDescription) SetDescription(v string) *ModelDescription
SetDescription sets the Description field's value.
func (*ModelDescription) SetEvaluationEndTimestamp ¶
func (s *ModelDescription) SetEvaluationEndTimestamp(v time.Time) *ModelDescription
SetEvaluationEndTimestamp sets the EvaluationEndTimestamp field's value.
func (*ModelDescription) SetEvaluationManifest ¶
func (s *ModelDescription) SetEvaluationManifest(v *OutputS3Object) *ModelDescription
SetEvaluationManifest sets the EvaluationManifest field's value.
func (*ModelDescription) SetEvaluationResult ¶
func (s *ModelDescription) SetEvaluationResult(v *OutputS3Object) *ModelDescription
SetEvaluationResult sets the EvaluationResult field's value.
func (*ModelDescription) SetKmsKeyId ¶
func (s *ModelDescription) SetKmsKeyId(v string) *ModelDescription
SetKmsKeyId sets the KmsKeyId field's value.
func (*ModelDescription) SetMaxInferenceUnits ¶
func (s *ModelDescription) SetMaxInferenceUnits(v int64) *ModelDescription
SetMaxInferenceUnits sets the MaxInferenceUnits field's value.
func (*ModelDescription) SetMinInferenceUnits ¶
func (s *ModelDescription) SetMinInferenceUnits(v int64) *ModelDescription
SetMinInferenceUnits sets the MinInferenceUnits field's value.
func (*ModelDescription) SetModelArn ¶
func (s *ModelDescription) SetModelArn(v string) *ModelDescription
SetModelArn sets the ModelArn field's value.
func (*ModelDescription) SetModelVersion ¶
func (s *ModelDescription) SetModelVersion(v string) *ModelDescription
SetModelVersion sets the ModelVersion field's value.
func (*ModelDescription) SetOutputConfig ¶
func (s *ModelDescription) SetOutputConfig(v *OutputConfig) *ModelDescription
SetOutputConfig sets the OutputConfig field's value.
func (*ModelDescription) SetPerformance ¶
func (s *ModelDescription) SetPerformance(v *ModelPerformance) *ModelDescription
SetPerformance sets the Performance field's value.
func (*ModelDescription) SetStatus ¶
func (s *ModelDescription) SetStatus(v string) *ModelDescription
SetStatus sets the Status field's value.
func (*ModelDescription) SetStatusMessage ¶
func (s *ModelDescription) SetStatusMessage(v string) *ModelDescription
SetStatusMessage sets the StatusMessage field's value.
func (ModelDescription) String ¶
func (s ModelDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ModelMetadata ¶
type ModelMetadata struct { // The unix timestamp for the date and time that the model was created. CreationTimestamp *time.Time `type:"timestamp"` // The description for the model. Description *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the model. ModelArn *string `type:"string"` // The version of the model. ModelVersion *string `min:"1" type:"string"` // Performance metrics for the model. Not available until training has successfully // completed. Performance *ModelPerformance `type:"structure"` // The status of the model. Status *string `type:"string" enum:"ModelStatus"` // The status message for the model. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Describes an Amazon Lookout for Vision model.
func (ModelMetadata) GoString ¶
func (s ModelMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelMetadata) SetCreationTimestamp ¶
func (s *ModelMetadata) SetCreationTimestamp(v time.Time) *ModelMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ModelMetadata) SetDescription ¶
func (s *ModelMetadata) SetDescription(v string) *ModelMetadata
SetDescription sets the Description field's value.
func (*ModelMetadata) SetModelArn ¶
func (s *ModelMetadata) SetModelArn(v string) *ModelMetadata
SetModelArn sets the ModelArn field's value.
func (*ModelMetadata) SetModelVersion ¶
func (s *ModelMetadata) SetModelVersion(v string) *ModelMetadata
SetModelVersion sets the ModelVersion field's value.
func (*ModelMetadata) SetPerformance ¶
func (s *ModelMetadata) SetPerformance(v *ModelPerformance) *ModelMetadata
SetPerformance sets the Performance field's value.
func (*ModelMetadata) SetStatus ¶
func (s *ModelMetadata) SetStatus(v string) *ModelMetadata
SetStatus sets the Status field's value.
func (*ModelMetadata) SetStatusMessage ¶
func (s *ModelMetadata) SetStatusMessage(v string) *ModelMetadata
SetStatusMessage sets the StatusMessage field's value.
func (ModelMetadata) String ¶
func (s ModelMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ModelPackagingConfiguration ¶
type ModelPackagingConfiguration struct { // Configuration information for the AWS IoT Greengrass component in a model // packaging job. // // Greengrass is a required field Greengrass *GreengrassConfiguration `type:"structure" required:"true"` // contains filtered or unexported fields }
Configuration information for a Amazon Lookout for Vision model packaging job. For more information, see StartModelPackagingJob.
func (ModelPackagingConfiguration) GoString ¶
func (s ModelPackagingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPackagingConfiguration) SetGreengrass ¶
func (s *ModelPackagingConfiguration) SetGreengrass(v *GreengrassConfiguration) *ModelPackagingConfiguration
SetGreengrass sets the Greengrass field's value.
func (ModelPackagingConfiguration) String ¶
func (s ModelPackagingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPackagingConfiguration) Validate ¶
func (s *ModelPackagingConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModelPackagingDescription ¶
type ModelPackagingDescription struct { // The Unix timestamp for the time and date that the model packaging job was // created. CreationTimestamp *time.Time `type:"timestamp"` // The name of the model packaging job. JobName *string `min:"1" type:"string"` // The Unix timestamp for the time and date that the model packaging job was // last updated. LastUpdatedTimestamp *time.Time `type:"timestamp"` // The configuration information used in the model packaging job. ModelPackagingConfiguration *ModelPackagingConfiguration `type:"structure"` // The description for the model packaging job. ModelPackagingJobDescription *string `min:"1" type:"string"` // The AWS service used to package the job. Currently Lookout for Vision can // package jobs with AWS IoT Greengrass. ModelPackagingMethod *string `min:"1" type:"string"` // Information about the output of the model packaging job. For more information, // see DescribeModelPackagingJob. ModelPackagingOutputDetails *ModelPackagingOutputDetails `type:"structure"` // The version of the model used in the model packaging job. ModelVersion *string `min:"1" type:"string"` // The name of the project that's associated with a model that's in the model // package. ProjectName *string `min:"1" type:"string"` // The status of the model packaging job. Status *string `type:"string" enum:"ModelPackagingJobStatus"` // The status message for the model packaging job. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Information about a model packaging job. For more information, see DescribeModelPackagingJob.
func (ModelPackagingDescription) GoString ¶
func (s ModelPackagingDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPackagingDescription) SetCreationTimestamp ¶
func (s *ModelPackagingDescription) SetCreationTimestamp(v time.Time) *ModelPackagingDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ModelPackagingDescription) SetJobName ¶
func (s *ModelPackagingDescription) SetJobName(v string) *ModelPackagingDescription
SetJobName sets the JobName field's value.
func (*ModelPackagingDescription) SetLastUpdatedTimestamp ¶
func (s *ModelPackagingDescription) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingDescription
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*ModelPackagingDescription) SetModelPackagingConfiguration ¶
func (s *ModelPackagingDescription) SetModelPackagingConfiguration(v *ModelPackagingConfiguration) *ModelPackagingDescription
SetModelPackagingConfiguration sets the ModelPackagingConfiguration field's value.
func (*ModelPackagingDescription) SetModelPackagingJobDescription ¶
func (s *ModelPackagingDescription) SetModelPackagingJobDescription(v string) *ModelPackagingDescription
SetModelPackagingJobDescription sets the ModelPackagingJobDescription field's value.
func (*ModelPackagingDescription) SetModelPackagingMethod ¶
func (s *ModelPackagingDescription) SetModelPackagingMethod(v string) *ModelPackagingDescription
SetModelPackagingMethod sets the ModelPackagingMethod field's value.
func (*ModelPackagingDescription) SetModelPackagingOutputDetails ¶
func (s *ModelPackagingDescription) SetModelPackagingOutputDetails(v *ModelPackagingOutputDetails) *ModelPackagingDescription
SetModelPackagingOutputDetails sets the ModelPackagingOutputDetails field's value.
func (*ModelPackagingDescription) SetModelVersion ¶
func (s *ModelPackagingDescription) SetModelVersion(v string) *ModelPackagingDescription
SetModelVersion sets the ModelVersion field's value.
func (*ModelPackagingDescription) SetProjectName ¶
func (s *ModelPackagingDescription) SetProjectName(v string) *ModelPackagingDescription
SetProjectName sets the ProjectName field's value.
func (*ModelPackagingDescription) SetStatus ¶
func (s *ModelPackagingDescription) SetStatus(v string) *ModelPackagingDescription
SetStatus sets the Status field's value.
func (*ModelPackagingDescription) SetStatusMessage ¶
func (s *ModelPackagingDescription) SetStatusMessage(v string) *ModelPackagingDescription
SetStatusMessage sets the StatusMessage field's value.
func (ModelPackagingDescription) String ¶
func (s ModelPackagingDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ModelPackagingJobMetadata ¶
type ModelPackagingJobMetadata struct { // The Unix timestamp for the time and date that the model packaging job was // created. CreationTimestamp *time.Time `type:"timestamp"` // The name of the model packaging job. JobName *string `min:"1" type:"string"` // The Unix timestamp for the time and date that the model packaging job was // last updated. LastUpdatedTimestamp *time.Time `type:"timestamp"` // The description for the model packaging job. ModelPackagingJobDescription *string `min:"1" type:"string"` // The AWS service used to package the job. Currently Lookout for Vision can // package jobs with AWS IoT Greengrass. ModelPackagingMethod *string `min:"1" type:"string"` // The version of the model that is in the model package. ModelVersion *string `min:"1" type:"string"` // The project that contains the model that is in the model package. ProjectName *string `min:"1" type:"string"` // The status of the model packaging job. Status *string `type:"string" enum:"ModelPackagingJobStatus"` // The status message for the model packaging job. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Metadata for a model packaging job. For more information, see ListModelPackagingJobs.
func (ModelPackagingJobMetadata) GoString ¶
func (s ModelPackagingJobMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPackagingJobMetadata) SetCreationTimestamp ¶
func (s *ModelPackagingJobMetadata) SetCreationTimestamp(v time.Time) *ModelPackagingJobMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ModelPackagingJobMetadata) SetJobName ¶
func (s *ModelPackagingJobMetadata) SetJobName(v string) *ModelPackagingJobMetadata
SetJobName sets the JobName field's value.
func (*ModelPackagingJobMetadata) SetLastUpdatedTimestamp ¶
func (s *ModelPackagingJobMetadata) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingJobMetadata
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*ModelPackagingJobMetadata) SetModelPackagingJobDescription ¶
func (s *ModelPackagingJobMetadata) SetModelPackagingJobDescription(v string) *ModelPackagingJobMetadata
SetModelPackagingJobDescription sets the ModelPackagingJobDescription field's value.
func (*ModelPackagingJobMetadata) SetModelPackagingMethod ¶
func (s *ModelPackagingJobMetadata) SetModelPackagingMethod(v string) *ModelPackagingJobMetadata
SetModelPackagingMethod sets the ModelPackagingMethod field's value.
func (*ModelPackagingJobMetadata) SetModelVersion ¶
func (s *ModelPackagingJobMetadata) SetModelVersion(v string) *ModelPackagingJobMetadata
SetModelVersion sets the ModelVersion field's value.
func (*ModelPackagingJobMetadata) SetProjectName ¶
func (s *ModelPackagingJobMetadata) SetProjectName(v string) *ModelPackagingJobMetadata
SetProjectName sets the ProjectName field's value.
func (*ModelPackagingJobMetadata) SetStatus ¶
func (s *ModelPackagingJobMetadata) SetStatus(v string) *ModelPackagingJobMetadata
SetStatus sets the Status field's value.
func (*ModelPackagingJobMetadata) SetStatusMessage ¶
func (s *ModelPackagingJobMetadata) SetStatusMessage(v string) *ModelPackagingJobMetadata
SetStatusMessage sets the StatusMessage field's value.
func (ModelPackagingJobMetadata) String ¶
func (s ModelPackagingJobMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ModelPackagingOutputDetails ¶
type ModelPackagingOutputDetails struct { // Information about the AWS IoT Greengrass component in a model packaging job. Greengrass *GreengrassOutputDetails `type:"structure"` // contains filtered or unexported fields }
Information about the output from a model packaging job.
func (ModelPackagingOutputDetails) GoString ¶
func (s ModelPackagingOutputDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPackagingOutputDetails) SetGreengrass ¶
func (s *ModelPackagingOutputDetails) SetGreengrass(v *GreengrassOutputDetails) *ModelPackagingOutputDetails
SetGreengrass sets the Greengrass field's value.
func (ModelPackagingOutputDetails) String ¶
func (s ModelPackagingOutputDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ModelPerformance ¶
type ModelPerformance struct { // The overall F1 score metric for the trained model. F1Score *float64 `type:"float"` // The overall precision metric value for the trained model. Precision *float64 `type:"float"` // The overall recall metric value for the trained model. Recall *float64 `type:"float"` // contains filtered or unexported fields }
Information about the evaluation performance of a trained model.
func (ModelPerformance) GoString ¶
func (s ModelPerformance) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelPerformance) SetF1Score ¶
func (s *ModelPerformance) SetF1Score(v float64) *ModelPerformance
SetF1Score sets the F1Score field's value.
func (*ModelPerformance) SetPrecision ¶
func (s *ModelPerformance) SetPrecision(v float64) *ModelPerformance
SetPrecision sets the Precision field's value.
func (*ModelPerformance) SetRecall ¶
func (s *ModelPerformance) SetRecall(v float64) *ModelPerformance
SetRecall sets the Recall field's value.
func (ModelPerformance) String ¶
func (s ModelPerformance) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OutputConfig ¶
type OutputConfig struct { // The S3 location for the output. // // S3Location is a required field S3Location *S3Location `type:"structure" required:"true"` // contains filtered or unexported fields }
The S3 location where Amazon Lookout for Vision saves model training files.
func (OutputConfig) GoString ¶
func (s OutputConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OutputConfig) SetS3Location ¶
func (s *OutputConfig) SetS3Location(v *S3Location) *OutputConfig
SetS3Location sets the S3Location field's value.
func (OutputConfig) String ¶
func (s OutputConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OutputConfig) Validate ¶
func (s *OutputConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OutputS3Object ¶
type OutputS3Object struct { // The bucket that contains the training output. // // Bucket is a required field Bucket *string `min:"3" type:"string" required:"true"` // The location of the training output in the bucket. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The S3 location where Amazon Lookout for Vision saves training output.
func (OutputS3Object) GoString ¶
func (s OutputS3Object) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OutputS3Object) SetBucket ¶
func (s *OutputS3Object) SetBucket(v string) *OutputS3Object
SetBucket sets the Bucket field's value.
func (*OutputS3Object) SetKey ¶
func (s *OutputS3Object) SetKey(v string) *OutputS3Object
SetKey sets the Key field's value.
func (OutputS3Object) String ¶
func (s OutputS3Object) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PixelAnomaly ¶
type PixelAnomaly struct { // A hex color value for the mask that covers an anomaly type. Each anomaly // type has a different mask color. The color maps to the color of the anomaly // type used in the training dataset. Color *string `min:"7" type:"string"` // The percentage area of the image that the anomaly type covers. TotalPercentageArea *float64 `type:"float"` // contains filtered or unexported fields }
Information about the pixels in an anomaly mask. For more information, see Anomaly. PixelAnomaly is only returned by image segmentation models.
func (PixelAnomaly) GoString ¶
func (s PixelAnomaly) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PixelAnomaly) SetColor ¶
func (s *PixelAnomaly) SetColor(v string) *PixelAnomaly
SetColor sets the Color field's value.
func (*PixelAnomaly) SetTotalPercentageArea ¶
func (s *PixelAnomaly) SetTotalPercentageArea(v float64) *PixelAnomaly
SetTotalPercentageArea sets the TotalPercentageArea field's value.
func (PixelAnomaly) String ¶
func (s PixelAnomaly) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProjectDescription ¶
type ProjectDescription struct { // The unix timestamp for the date and time that the project was created. CreationTimestamp *time.Time `type:"timestamp"` // A list of datasets in the project. Datasets []*DatasetMetadata `type:"list"` // The Amazon Resource Name (ARN) of the project. ProjectArn *string `type:"string"` // The name of the project. ProjectName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.
func (ProjectDescription) GoString ¶
func (s ProjectDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProjectDescription) SetCreationTimestamp ¶
func (s *ProjectDescription) SetCreationTimestamp(v time.Time) *ProjectDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ProjectDescription) SetDatasets ¶
func (s *ProjectDescription) SetDatasets(v []*DatasetMetadata) *ProjectDescription
SetDatasets sets the Datasets field's value.
func (*ProjectDescription) SetProjectArn ¶
func (s *ProjectDescription) SetProjectArn(v string) *ProjectDescription
SetProjectArn sets the ProjectArn field's value.
func (*ProjectDescription) SetProjectName ¶
func (s *ProjectDescription) SetProjectName(v string) *ProjectDescription
SetProjectName sets the ProjectName field's value.
func (ProjectDescription) String ¶
func (s ProjectDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProjectMetadata ¶
type ProjectMetadata struct { // The unix timestamp for the date and time that the project was created. CreationTimestamp *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of the project. ProjectArn *string `type:"string"` // The name of the project. ProjectName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Metadata about an Amazon Lookout for Vision project.
func (ProjectMetadata) GoString ¶
func (s ProjectMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProjectMetadata) SetCreationTimestamp ¶
func (s *ProjectMetadata) SetCreationTimestamp(v time.Time) *ProjectMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*ProjectMetadata) SetProjectArn ¶
func (s *ProjectMetadata) SetProjectArn(v string) *ProjectMetadata
SetProjectArn sets the ProjectArn field's value.
func (*ProjectMetadata) SetProjectName ¶
func (s *ProjectMetadata) SetProjectName(v string) *ProjectMetadata
SetProjectName sets the ProjectName field's value.
func (ProjectMetadata) String ¶
func (s ProjectMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // The type of the resource. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceType"` // contains filtered or unexported fields }
The resource could not be found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3Location ¶
type S3Location struct { // The S3 bucket that contains the training or model packaging job output. If // you are training a model, the bucket must in your AWS account. If you use // an S3 bucket for a model packaging job, the S3 bucket must be in the same // AWS Region and AWS account in which you use AWS IoT Greengrass. // // Bucket is a required field Bucket *string `min:"3" type:"string" required:"true"` // The path of the folder, within the S3 bucket, that contains the output. Prefix *string `type:"string"` // contains filtered or unexported fields }
Information about the location of training output or the output of a model packaging job.
func (S3Location) GoString ¶
func (s S3Location) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Location) SetBucket ¶
func (s *S3Location) SetBucket(v string) *S3Location
SetBucket sets the Bucket field's value.
func (*S3Location) SetPrefix ¶
func (s *S3Location) SetPrefix(v string) *S3Location
SetPrefix sets the Prefix field's value.
func (S3Location) String ¶
func (s S3Location) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Location) Validate ¶
func (s *S3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The quota code. // // QuotaCode is a required field QuotaCode *string `type:"string" required:"true"` // The ID of the resource. ResourceId *string `type:"string"` // The type of the resource. ResourceType *string `type:"string" enum:"ResourceType"` // The service code. // // ServiceCode is a required field ServiceCode *string `type:"string" required:"true"` // 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) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartModelInput ¶
type StartModelInput struct { // ClientToken is an idempotency token that ensures a call to StartModel completes // only once. You choose the value to pass. For example, An issue might prevent // you from getting a response from StartModel. In this case, safely retry your // call to StartModel by using the same ClientToken parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple start requests. You'll need to provide your own value for other // use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to StartModel. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The maximum number of inference units to use for auto-scaling the model. // If you don't specify a value, Amazon Lookout for Vision doesn't auto-scale // the model. MaxInferenceUnits *int64 `min:"1" type:"integer"` // The minimum number of inference units to use. A single inference unit represents // 1 hour of processing. Use a higher number to increase the TPS throughput // of your model. You are charged for the number of inference units that you // use. // // MinInferenceUnits is a required field MinInferenceUnits *int64 `min:"1" type:"integer" required:"true"` // The version of the model that you want to start. // // ModelVersion is a required field ModelVersion *string `location:"uri" locationName:"modelVersion" min:"1" type:"string" required:"true"` // The name of the project that contains the model that you want to start. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartModelInput) GoString ¶
func (s StartModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelInput) SetClientToken ¶
func (s *StartModelInput) SetClientToken(v string) *StartModelInput
SetClientToken sets the ClientToken field's value.
func (*StartModelInput) SetMaxInferenceUnits ¶
func (s *StartModelInput) SetMaxInferenceUnits(v int64) *StartModelInput
SetMaxInferenceUnits sets the MaxInferenceUnits field's value.
func (*StartModelInput) SetMinInferenceUnits ¶
func (s *StartModelInput) SetMinInferenceUnits(v int64) *StartModelInput
SetMinInferenceUnits sets the MinInferenceUnits field's value.
func (*StartModelInput) SetModelVersion ¶
func (s *StartModelInput) SetModelVersion(v string) *StartModelInput
SetModelVersion sets the ModelVersion field's value.
func (*StartModelInput) SetProjectName ¶
func (s *StartModelInput) SetProjectName(v string) *StartModelInput
SetProjectName sets the ProjectName field's value.
func (StartModelInput) String ¶
func (s StartModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelInput) Validate ¶
func (s *StartModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartModelOutput ¶
type StartModelOutput struct { // The current running status of the model. Status *string `type:"string" enum:"ModelHostingStatus"` // contains filtered or unexported fields }
func (StartModelOutput) GoString ¶
func (s StartModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelOutput) SetStatus ¶
func (s *StartModelOutput) SetStatus(v string) *StartModelOutput
SetStatus sets the Status field's value.
func (StartModelOutput) String ¶
func (s StartModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartModelPackagingJobInput ¶
type StartModelPackagingJobInput struct { // ClientToken is an idempotency token that ensures a call to StartModelPackagingJob // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from StartModelPackagingJob. In // this case, safely retry your call to StartModelPackagingJob by using the // same ClientToken parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple dataset creation requests. You'll need to provide your own value // for other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to StartModelPackagingJob. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The configuration for the model packaging job. // // Configuration is a required field Configuration *ModelPackagingConfiguration `type:"structure" required:"true"` // A description for the model packaging job. Description *string `min:"1" type:"string"` // A name for the model packaging job. If you don't supply a value, the service // creates a job name for you. JobName *string `min:"1" type:"string"` // The version of the model within the project that you want to package. // // ModelVersion is a required field ModelVersion *string `min:"1" type:"string" required:"true"` // The name of the project which contains the version of the model that you // want to package. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartModelPackagingJobInput) GoString ¶
func (s StartModelPackagingJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelPackagingJobInput) SetClientToken ¶
func (s *StartModelPackagingJobInput) SetClientToken(v string) *StartModelPackagingJobInput
SetClientToken sets the ClientToken field's value.
func (*StartModelPackagingJobInput) SetConfiguration ¶
func (s *StartModelPackagingJobInput) SetConfiguration(v *ModelPackagingConfiguration) *StartModelPackagingJobInput
SetConfiguration sets the Configuration field's value.
func (*StartModelPackagingJobInput) SetDescription ¶
func (s *StartModelPackagingJobInput) SetDescription(v string) *StartModelPackagingJobInput
SetDescription sets the Description field's value.
func (*StartModelPackagingJobInput) SetJobName ¶
func (s *StartModelPackagingJobInput) SetJobName(v string) *StartModelPackagingJobInput
SetJobName sets the JobName field's value.
func (*StartModelPackagingJobInput) SetModelVersion ¶
func (s *StartModelPackagingJobInput) SetModelVersion(v string) *StartModelPackagingJobInput
SetModelVersion sets the ModelVersion field's value.
func (*StartModelPackagingJobInput) SetProjectName ¶
func (s *StartModelPackagingJobInput) SetProjectName(v string) *StartModelPackagingJobInput
SetProjectName sets the ProjectName field's value.
func (StartModelPackagingJobInput) String ¶
func (s StartModelPackagingJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelPackagingJobInput) Validate ¶
func (s *StartModelPackagingJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartModelPackagingJobOutput ¶
type StartModelPackagingJobOutput struct { // The job name for the model packaging job. If you don't supply a job name // in the JobName input parameter, the service creates a job name for you. JobName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (StartModelPackagingJobOutput) GoString ¶
func (s StartModelPackagingJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartModelPackagingJobOutput) SetJobName ¶
func (s *StartModelPackagingJobOutput) SetJobName(v string) *StartModelPackagingJobOutput
SetJobName sets the JobName field's value.
func (StartModelPackagingJobOutput) String ¶
func (s StartModelPackagingJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopModelInput ¶
type StopModelInput struct { // ClientToken is an idempotency token that ensures a call to StopModel completes // only once. You choose the value to pass. For example, An issue might prevent // you from getting a response from StopModel. In this case, safely retry your // call to StopModel by using the same ClientToken parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple stop requests. You'll need to provide your own value for other use // cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to StopModel. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The version of the model that you want to stop. // // ModelVersion is a required field ModelVersion *string `location:"uri" locationName:"modelVersion" min:"1" type:"string" required:"true"` // The name of the project that contains the model that you want to stop. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopModelInput) GoString ¶
func (s StopModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopModelInput) SetClientToken ¶
func (s *StopModelInput) SetClientToken(v string) *StopModelInput
SetClientToken sets the ClientToken field's value.
func (*StopModelInput) SetModelVersion ¶
func (s *StopModelInput) SetModelVersion(v string) *StopModelInput
SetModelVersion sets the ModelVersion field's value.
func (*StopModelInput) SetProjectName ¶
func (s *StopModelInput) SetProjectName(v string) *StopModelInput
SetProjectName sets the ProjectName field's value.
func (StopModelInput) String ¶
func (s StopModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopModelInput) Validate ¶
func (s *StopModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopModelOutput ¶
type StopModelOutput struct { // The status of the model. Status *string `type:"string" enum:"ModelHostingStatus"` // contains filtered or unexported fields }
func (StopModelOutput) GoString ¶
func (s StopModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopModelOutput) SetStatus ¶
func (s *StopModelOutput) SetStatus(v string) *StopModelOutput
SetStatus sets the Status field's value.
func (StopModelOutput) String ¶
func (s StopModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tag ¶
type Tag struct { // The key of the tag that is attached to the specified model. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag that is attached to the specified model. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
A key and value pair that is attached to the specified Amazon Lookout for Vision model.
func (Tag) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the model to assign the tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // The key-value tags to assign to the model. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TargetPlatform ¶
type TargetPlatform struct { // The target accelerator for the model. Currently, Amazon Lookout for Vision // only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. // If you specify NVIDIA as an accelerator, you must also specify the gpu-code, // trt-ver, and cuda-ver compiler options. If you don't specify an accelerator, // Lookout for Vision uses the CPU for compilation and we highly recommend that // you use the GreengrassConfiguration$CompilerOptions field. For example, you // can use the following compiler options for CPU: // // * mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} // // * mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']} Accelerator *string `type:"string" enum:"TargetPlatformAccelerator"` // The target architecture for the model. The currently supported architectures // are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 // 64-bit CPU). // // Arch is a required field Arch *string `type:"string" required:"true" enum:"TargetPlatformArch"` // The target operating system for the model. Linux is the only operating system // that is currently supported. // // Os is a required field Os *string `type:"string" required:"true" enum:"TargetPlatformOs"` // contains filtered or unexported fields }
The platform on which a model runs on an AWS IoT Greengrass core device.
func (TargetPlatform) GoString ¶
func (s TargetPlatform) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TargetPlatform) SetAccelerator ¶
func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform
SetAccelerator sets the Accelerator field's value.
func (*TargetPlatform) SetArch ¶
func (s *TargetPlatform) SetArch(v string) *TargetPlatform
SetArch sets the Arch field's value.
func (*TargetPlatform) SetOs ¶
func (s *TargetPlatform) SetOs(v string) *TargetPlatform
SetOs sets the Os field's value.
func (TargetPlatform) String ¶
func (s TargetPlatform) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TargetPlatform) Validate ¶
func (s *TargetPlatform) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The quota code. QuotaCode *string `type:"string"` // The period of time, in seconds, before the operation can be retried. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // The service code. ServiceCode *string `type:"string"` // contains filtered or unexported fields }
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the model from which you want to remove // tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // A list of the keys of the tags that you want to remove. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateDatasetEntriesInput ¶
type UpdateDatasetEntriesInput struct { // The entries to add to the dataset. // Changes is automatically base64 encoded/decoded by the SDK. // // Changes is a required field Changes []byte `min:"1" type:"blob" required:"true"` // ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries // completes only once. You choose the value to pass. For example, An issue // might prevent you from getting a response from UpdateDatasetEntries. In this // case, safely retry your call to UpdateDatasetEntries by using the same ClientToken // parameter value. // // If you don't supply a value for ClientToken, the AWS SDK you are using inserts // a value for you. This prevents retries after a network error from making // multiple updates with the same dataset entries. You'll need to provide your // own value for other use cases. // // An error occurs if the other input parameters are not the same as in the // first request. Using a different value for ClientToken is considered a new // call to UpdateDatasetEntries. An idempotency token is active for 8 hours. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` // The type of the dataset that you want to update. Specify train to update // the training dataset. Specify test to update the test dataset. If you have // a single dataset project, specify train. // // DatasetType is a required field DatasetType *string `location:"uri" locationName:"datasetType" min:"1" type:"string" required:"true"` // The name of the project that contains the dataset that you want to update. // // ProjectName is a required field ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateDatasetEntriesInput) GoString ¶
func (s UpdateDatasetEntriesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateDatasetEntriesInput) SetChanges ¶
func (s *UpdateDatasetEntriesInput) SetChanges(v []byte) *UpdateDatasetEntriesInput
SetChanges sets the Changes field's value.
func (*UpdateDatasetEntriesInput) SetClientToken ¶
func (s *UpdateDatasetEntriesInput) SetClientToken(v string) *UpdateDatasetEntriesInput
SetClientToken sets the ClientToken field's value.
func (*UpdateDatasetEntriesInput) SetDatasetType ¶
func (s *UpdateDatasetEntriesInput) SetDatasetType(v string) *UpdateDatasetEntriesInput
SetDatasetType sets the DatasetType field's value.
func (*UpdateDatasetEntriesInput) SetProjectName ¶
func (s *UpdateDatasetEntriesInput) SetProjectName(v string) *UpdateDatasetEntriesInput
SetProjectName sets the ProjectName field's value.
func (UpdateDatasetEntriesInput) String ¶
func (s UpdateDatasetEntriesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateDatasetEntriesInput) Validate ¶
func (s *UpdateDatasetEntriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDatasetEntriesOutput ¶
type UpdateDatasetEntriesOutput struct { // The status of the dataset update. Status *string `type:"string" enum:"DatasetStatus"` // contains filtered or unexported fields }
func (UpdateDatasetEntriesOutput) GoString ¶
func (s UpdateDatasetEntriesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateDatasetEntriesOutput) SetStatus ¶
func (s *UpdateDatasetEntriesOutput) SetStatus(v string) *UpdateDatasetEntriesOutput
SetStatus sets the Status field's value.
func (UpdateDatasetEntriesOutput) String ¶
func (s UpdateDatasetEntriesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"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) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package lookoutforvisioniface provides an interface to enable mocking the Amazon Lookout for Vision service client for testing your code.
|
Package lookoutforvisioniface provides an interface to enable mocking the Amazon Lookout for Vision service client for testing your code. |