func DatasetStatus_Values() []string
DatasetStatus_Values returns all elements of the DatasetStatus enum
func ModelHostingStatus_Values() []string
ModelHostingStatus_Values returns all elements of the ModelHostingStatus enum
func ModelPackagingJobStatus_Values() []string
ModelPackagingJobStatus_Values returns all elements of the ModelPackagingJobStatus enum
func ModelStatus_Values() []string
ModelStatus_Values returns all elements of the ModelStatus enum
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func TargetDevice_Values() []string
TargetDevice_Values returns all elements of the TargetDevice enum
func TargetPlatformAccelerator_Values() []string
TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum
func TargetPlatformArch_Values() []string
TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum
func TargetPlatformOs_Values() []string
TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum
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 (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
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 (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s Anomaly) 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 (s *Anomaly) SetName(v string) *Anomaly
SetName sets the Name field's value.
func (s *Anomaly) SetPixelAnomaly(v *PixelAnomaly) *Anomaly
SetPixelAnomaly sets the PixelAnomaly field's value.
func (s Anomaly) 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 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 (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
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 (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput
SetClientToken sets the ClientToken field's value.
func (s *CreateDatasetInput) SetDatasetSource(v *DatasetSource) *CreateDatasetInput
SetDatasetSource sets the DatasetSource field's value.
func (s *CreateDatasetInput) SetDatasetType(v string) *CreateDatasetInput
SetDatasetType sets the DatasetType field's value.
func (s *CreateDatasetInput) SetProjectName(v string) *CreateDatasetInput
SetProjectName sets the ProjectName field's value.
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 (s *CreateDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDatasetOutput struct { // Information about the dataset. DatasetMetadata *DatasetMetadata `type:"structure"` // contains filtered or unexported fields }
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 (s *CreateDatasetOutput) SetDatasetMetadata(v *DatasetMetadata) *CreateDatasetOutput
SetDatasetMetadata sets the DatasetMetadata field's value.
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 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 (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 (s *CreateModelInput) SetClientToken(v string) *CreateModelInput
SetClientToken sets the ClientToken field's value.
func (s *CreateModelInput) SetDescription(v string) *CreateModelInput
SetDescription sets the Description field's value.
func (s *CreateModelInput) SetKmsKeyId(v string) *CreateModelInput
SetKmsKeyId sets the KmsKeyId field's value.
func (s *CreateModelInput) SetOutputConfig(v *OutputConfig) *CreateModelInput
SetOutputConfig sets the OutputConfig field's value.
func (s *CreateModelInput) SetProjectName(v string) *CreateModelInput
SetProjectName sets the ProjectName field's value.
func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
SetTags sets the Tags field's value.
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 (s *CreateModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelOutput struct { // The response from a call to CreateModel. ModelMetadata *ModelMetadata `type:"structure"` // contains filtered or unexported fields }
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 (s *CreateModelOutput) SetModelMetadata(v *ModelMetadata) *CreateModelOutput
SetModelMetadata sets the ModelMetadata field's value.
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 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 (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 (s *CreateProjectInput) SetClientToken(v string) *CreateProjectInput
SetClientToken sets the ClientToken field's value.
func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput
SetProjectName sets the ProjectName field's value.
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 (s *CreateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProjectOutput struct { // Information about the project. ProjectMetadata *ProjectMetadata `type:"structure"` // contains filtered or unexported fields }
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 (s *CreateProjectOutput) SetProjectMetadata(v *ProjectMetadata) *CreateProjectOutput
SetProjectMetadata sets the ProjectMetadata field's value.
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 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 (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 (s *DatasetDescription) SetCreationTimestamp(v time.Time) *DatasetDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *DatasetDescription) SetDatasetType(v string) *DatasetDescription
SetDatasetType sets the DatasetType field's value.
func (s *DatasetDescription) SetImageStats(v *DatasetImageStats) *DatasetDescription
SetImageStats sets the ImageStats field's value.
func (s *DatasetDescription) SetLastUpdatedTimestamp(v time.Time) *DatasetDescription
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (s *DatasetDescription) SetProjectName(v string) *DatasetDescription
SetProjectName sets the ProjectName field's value.
func (s *DatasetDescription) SetStatus(v string) *DatasetDescription
SetStatus sets the Status field's value.
func (s *DatasetDescription) SetStatusMessage(v string) *DatasetDescription
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *DatasetGroundTruthManifest) SetS3Object(v *InputS3Object) *DatasetGroundTruthManifest
SetS3Object sets the S3Object field's value.
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 (s *DatasetGroundTruthManifest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DatasetImageStats) SetAnomaly(v int64) *DatasetImageStats
SetAnomaly sets the Anomaly field's value.
func (s *DatasetImageStats) SetLabeled(v int64) *DatasetImageStats
SetLabeled sets the Labeled field's value.
func (s *DatasetImageStats) SetNormal(v int64) *DatasetImageStats
SetNormal sets the Normal field's value.
func (s *DatasetImageStats) SetTotal(v int64) *DatasetImageStats
SetTotal sets the Total field's value.
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 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 (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 (s *DatasetMetadata) SetCreationTimestamp(v time.Time) *DatasetMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *DatasetMetadata) SetDatasetType(v string) *DatasetMetadata
SetDatasetType sets the DatasetType field's value.
func (s *DatasetMetadata) SetStatus(v string) *DatasetMetadata
SetStatus sets the Status field's value.
func (s *DatasetMetadata) SetStatusMessage(v string) *DatasetMetadata
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *DatasetSource) SetGroundTruthManifest(v *DatasetGroundTruthManifest) *DatasetSource
SetGroundTruthManifest sets the GroundTruthManifest field's value.
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 (s *DatasetSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteDatasetInput) SetClientToken(v string) *DeleteDatasetInput
SetClientToken sets the ClientToken field's value.
func (s *DeleteDatasetInput) SetDatasetType(v string) *DeleteDatasetInput
SetDatasetType sets the DatasetType field's value.
func (s *DeleteDatasetInput) SetProjectName(v string) *DeleteDatasetInput
SetProjectName sets the ProjectName field's value.
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 (s *DeleteDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDatasetOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *DeleteModelInput) SetClientToken(v string) *DeleteModelInput
SetClientToken sets the ClientToken field's value.
func (s *DeleteModelInput) SetModelVersion(v string) *DeleteModelInput
SetModelVersion sets the ModelVersion field's value.
func (s *DeleteModelInput) SetProjectName(v string) *DeleteModelInput
SetProjectName sets the ProjectName field's value.
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 (s *DeleteModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteModelOutput struct { // The Amazon Resource Name (ARN) of the model that was deleted. ModelArn *string `type:"string"` // contains filtered or unexported fields }
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 (s *DeleteModelOutput) SetModelArn(v string) *DeleteModelOutput
SetModelArn sets the ModelArn field's value.
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 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 (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 (s *DeleteProjectInput) SetClientToken(v string) *DeleteProjectInput
SetClientToken sets the ClientToken field's value.
func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput
SetProjectName sets the ProjectName field's value.
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 (s *DeleteProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProjectOutput struct { // The Amazon Resource Name (ARN) of the project that was deleted. ProjectArn *string `type:"string"` // contains filtered or unexported fields }
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 (s *DeleteProjectOutput) SetProjectArn(v string) *DeleteProjectOutput
SetProjectArn sets the ProjectArn field's value.
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 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 (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 (s *DescribeDatasetInput) SetDatasetType(v string) *DescribeDatasetInput
SetDatasetType sets the DatasetType field's value.
func (s *DescribeDatasetInput) SetProjectName(v string) *DescribeDatasetInput
SetProjectName sets the ProjectName field's value.
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 (s *DescribeDatasetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDatasetOutput struct { // The description of the requested dataset. DatasetDescription *DatasetDescription `type:"structure"` // contains filtered or unexported fields }
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 (s *DescribeDatasetOutput) SetDatasetDescription(v *DatasetDescription) *DescribeDatasetOutput
SetDatasetDescription sets the DatasetDescription field's value.
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 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 (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 (s *DescribeModelInput) SetModelVersion(v string) *DescribeModelInput
SetModelVersion sets the ModelVersion field's value.
func (s *DescribeModelInput) SetProjectName(v string) *DescribeModelInput
SetProjectName sets the ProjectName field's value.
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 (s *DescribeModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeModelOutput struct { // Contains the description of the model. ModelDescription *ModelDescription `type:"structure"` // contains filtered or unexported fields }
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 (s *DescribeModelOutput) SetModelDescription(v *ModelDescription) *DescribeModelOutput
SetModelDescription sets the ModelDescription field's value.
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 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 (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 (s *DescribeModelPackagingJobInput) SetJobName(v string) *DescribeModelPackagingJobInput
SetJobName sets the JobName field's value.
func (s *DescribeModelPackagingJobInput) SetProjectName(v string) *DescribeModelPackagingJobInput
SetProjectName sets the ProjectName field's value.
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 (s *DescribeModelPackagingJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeModelPackagingJobOutput struct { // The description of the model packaging job. ModelPackagingDescription *ModelPackagingDescription `type:"structure"` // contains filtered or unexported fields }
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 (s *DescribeModelPackagingJobOutput) SetModelPackagingDescription(v *ModelPackagingDescription) *DescribeModelPackagingJobOutput
SetModelPackagingDescription sets the ModelPackagingDescription field's value.
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 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 (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 (s *DescribeProjectInput) SetProjectName(v string) *DescribeProjectInput
SetProjectName sets the ProjectName field's value.
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 (s *DescribeProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProjectOutput struct { // The description of the project. ProjectDescription *ProjectDescription `type:"structure"` // contains filtered or unexported fields }
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 (s *DescribeProjectOutput) SetProjectDescription(v *ProjectDescription) *DescribeProjectOutput
SetProjectDescription sets the ProjectDescription field's value.
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 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 (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 (s *DetectAnomaliesInput) SetBody(v io.ReadSeeker) *DetectAnomaliesInput
SetBody sets the Body field's value.
func (s *DetectAnomaliesInput) SetContentType(v string) *DetectAnomaliesInput
SetContentType sets the ContentType field's value.
func (s *DetectAnomaliesInput) SetModelVersion(v string) *DetectAnomaliesInput
SetModelVersion sets the ModelVersion field's value.
func (s *DetectAnomaliesInput) SetProjectName(v string) *DetectAnomaliesInput
SetProjectName sets the ProjectName field's value.
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 (s *DetectAnomaliesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetectAnomaliesOutput struct { // The results of the DetectAnomalies operation. DetectAnomalyResult *DetectAnomalyResult `type:"structure"` // contains filtered or unexported fields }
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 (s *DetectAnomaliesOutput) SetDetectAnomalyResult(v *DetectAnomalyResult) *DetectAnomaliesOutput
SetDetectAnomalyResult sets the DetectAnomalyResult field's value.
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 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 (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 (s *DetectAnomalyResult) SetAnomalies(v []*Anomaly) *DetectAnomalyResult
SetAnomalies sets the Anomalies field's value.
func (s *DetectAnomalyResult) SetAnomalyMask(v []byte) *DetectAnomalyResult
SetAnomalyMask sets the AnomalyMask field's value.
func (s *DetectAnomalyResult) SetConfidence(v float64) *DetectAnomalyResult
SetConfidence sets the Confidence field's value.
func (s *DetectAnomalyResult) SetIsAnomalous(v bool) *DetectAnomalyResult
SetIsAnomalous sets the IsAnomalous field's value.
func (s *DetectAnomalyResult) SetSource(v *ImageSource) *DetectAnomalyResult
SetSource sets the Source field's value.
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 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 (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 (s *GreengrassConfiguration) SetCompilerOptions(v string) *GreengrassConfiguration
SetCompilerOptions sets the CompilerOptions field's value.
func (s *GreengrassConfiguration) SetComponentDescription(v string) *GreengrassConfiguration
SetComponentDescription sets the ComponentDescription field's value.
func (s *GreengrassConfiguration) SetComponentName(v string) *GreengrassConfiguration
SetComponentName sets the ComponentName field's value.
func (s *GreengrassConfiguration) SetComponentVersion(v string) *GreengrassConfiguration
SetComponentVersion sets the ComponentVersion field's value.
func (s *GreengrassConfiguration) SetS3OutputLocation(v *S3Location) *GreengrassConfiguration
SetS3OutputLocation sets the S3OutputLocation field's value.
func (s *GreengrassConfiguration) SetTags(v []*Tag) *GreengrassConfiguration
SetTags sets the Tags field's value.
func (s *GreengrassConfiguration) SetTargetDevice(v string) *GreengrassConfiguration
SetTargetDevice sets the TargetDevice field's value.
func (s *GreengrassConfiguration) SetTargetPlatform(v *TargetPlatform) *GreengrassConfiguration
SetTargetPlatform sets the TargetPlatform field's value.
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 (s *GreengrassConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *GreengrassOutputDetails) SetComponentName(v string) *GreengrassOutputDetails
SetComponentName sets the ComponentName field's value.
func (s *GreengrassOutputDetails) SetComponentVersion(v string) *GreengrassOutputDetails
SetComponentVersion sets the ComponentVersion field's value.
func (s *GreengrassOutputDetails) SetComponentVersionArn(v string) *GreengrassOutputDetails
SetComponentVersionArn sets the ComponentVersionArn field's value.
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 struct { // The type of the image. Type *string `type:"string"` // contains filtered or unexported fields }
The source for an image.
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 (s *ImageSource) SetType(v string) *ImageSource
SetType sets the Type field's value.
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 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 (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 (s *InputS3Object) SetBucket(v string) *InputS3Object
SetBucket sets the Bucket field's value.
func (s *InputS3Object) SetKey(v string) *InputS3Object
SetKey sets the Key field's value.
func (s *InputS3Object) SetVersionId(v string) *InputS3Object
SetVersionId sets the VersionId field's value.
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 (s *InputS3Object) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *ListDatasetEntriesInput) SetAfterCreationDate(v time.Time) *ListDatasetEntriesInput
SetAfterCreationDate sets the AfterCreationDate field's value.
func (s *ListDatasetEntriesInput) SetAnomalyClass(v string) *ListDatasetEntriesInput
SetAnomalyClass sets the AnomalyClass field's value.
func (s *ListDatasetEntriesInput) SetBeforeCreationDate(v time.Time) *ListDatasetEntriesInput
SetBeforeCreationDate sets the BeforeCreationDate field's value.
func (s *ListDatasetEntriesInput) SetDatasetType(v string) *ListDatasetEntriesInput
SetDatasetType sets the DatasetType field's value.
func (s *ListDatasetEntriesInput) SetLabeled(v bool) *ListDatasetEntriesInput
SetLabeled sets the Labeled field's value.
func (s *ListDatasetEntriesInput) SetMaxResults(v int64) *ListDatasetEntriesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDatasetEntriesInput) SetNextToken(v string) *ListDatasetEntriesInput
SetNextToken sets the NextToken field's value.
func (s *ListDatasetEntriesInput) SetProjectName(v string) *ListDatasetEntriesInput
SetProjectName sets the ProjectName field's value.
func (s *ListDatasetEntriesInput) SetSourceRefContains(v string) *ListDatasetEntriesInput
SetSourceRefContains sets the SourceRefContains field's value.
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 (s *ListDatasetEntriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListDatasetEntriesOutput) SetDatasetEntries(v []*string) *ListDatasetEntriesOutput
SetDatasetEntries sets the DatasetEntries field's value.
func (s *ListDatasetEntriesOutput) SetNextToken(v string) *ListDatasetEntriesOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListModelPackagingJobsInput) SetMaxResults(v int64) *ListModelPackagingJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListModelPackagingJobsInput) SetNextToken(v string) *ListModelPackagingJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListModelPackagingJobsInput) SetProjectName(v string) *ListModelPackagingJobsInput
SetProjectName sets the ProjectName field's value.
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 (s *ListModelPackagingJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListModelPackagingJobsOutput) SetModelPackagingJobs(v []*ModelPackagingJobMetadata) *ListModelPackagingJobsOutput
SetModelPackagingJobs sets the ModelPackagingJobs field's value.
func (s *ListModelPackagingJobsOutput) SetNextToken(v string) *ListModelPackagingJobsOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput
SetNextToken sets the NextToken field's value.
func (s *ListModelsInput) SetProjectName(v string) *ListModelsInput
SetProjectName sets the ProjectName field's value.
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 (s *ListModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListModelsOutput) SetModels(v []*ModelMetadata) *ListModelsOutput
SetModels sets the Models field's value.
func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput
SetNextToken sets the NextToken field's value.
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 (s *ListProjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput
SetNextToken sets the NextToken field's value.
func (s *ListProjectsOutput) SetProjects(v []*ProjectMetadata) *ListProjectsOutput
SetProjects sets the Projects field's value.
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 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 (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 (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
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 (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
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 struct { *client.Client }
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(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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 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 (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 (s *ModelDescription) SetCreationTimestamp(v time.Time) *ModelDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ModelDescription) SetDescription(v string) *ModelDescription
SetDescription sets the Description field's value.
func (s *ModelDescription) SetEvaluationEndTimestamp(v time.Time) *ModelDescription
SetEvaluationEndTimestamp sets the EvaluationEndTimestamp field's value.
func (s *ModelDescription) SetEvaluationManifest(v *OutputS3Object) *ModelDescription
SetEvaluationManifest sets the EvaluationManifest field's value.
func (s *ModelDescription) SetEvaluationResult(v *OutputS3Object) *ModelDescription
SetEvaluationResult sets the EvaluationResult field's value.
func (s *ModelDescription) SetKmsKeyId(v string) *ModelDescription
SetKmsKeyId sets the KmsKeyId field's value.
func (s *ModelDescription) SetMaxInferenceUnits(v int64) *ModelDescription
SetMaxInferenceUnits sets the MaxInferenceUnits field's value.
func (s *ModelDescription) SetMinInferenceUnits(v int64) *ModelDescription
SetMinInferenceUnits sets the MinInferenceUnits field's value.
func (s *ModelDescription) SetModelArn(v string) *ModelDescription
SetModelArn sets the ModelArn field's value.
func (s *ModelDescription) SetModelVersion(v string) *ModelDescription
SetModelVersion sets the ModelVersion field's value.
func (s *ModelDescription) SetOutputConfig(v *OutputConfig) *ModelDescription
SetOutputConfig sets the OutputConfig field's value.
func (s *ModelDescription) SetPerformance(v *ModelPerformance) *ModelDescription
SetPerformance sets the Performance field's value.
func (s *ModelDescription) SetStatus(v string) *ModelDescription
SetStatus sets the Status field's value.
func (s *ModelDescription) SetStatusMessage(v string) *ModelDescription
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *ModelMetadata) SetCreationTimestamp(v time.Time) *ModelMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ModelMetadata) SetDescription(v string) *ModelMetadata
SetDescription sets the Description field's value.
func (s *ModelMetadata) SetModelArn(v string) *ModelMetadata
SetModelArn sets the ModelArn field's value.
func (s *ModelMetadata) SetModelVersion(v string) *ModelMetadata
SetModelVersion sets the ModelVersion field's value.
func (s *ModelMetadata) SetPerformance(v *ModelPerformance) *ModelMetadata
SetPerformance sets the Performance field's value.
func (s *ModelMetadata) SetStatus(v string) *ModelMetadata
SetStatus sets the Status field's value.
func (s *ModelMetadata) SetStatusMessage(v string) *ModelMetadata
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *ModelPackagingConfiguration) SetGreengrass(v *GreengrassConfiguration) *ModelPackagingConfiguration
SetGreengrass sets the Greengrass field's value.
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 (s *ModelPackagingConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ModelPackagingDescription) SetCreationTimestamp(v time.Time) *ModelPackagingDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ModelPackagingDescription) SetJobName(v string) *ModelPackagingDescription
SetJobName sets the JobName field's value.
func (s *ModelPackagingDescription) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingDescription
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (s *ModelPackagingDescription) SetModelPackagingConfiguration(v *ModelPackagingConfiguration) *ModelPackagingDescription
SetModelPackagingConfiguration sets the ModelPackagingConfiguration field's value.
func (s *ModelPackagingDescription) SetModelPackagingJobDescription(v string) *ModelPackagingDescription
SetModelPackagingJobDescription sets the ModelPackagingJobDescription field's value.
func (s *ModelPackagingDescription) SetModelPackagingMethod(v string) *ModelPackagingDescription
SetModelPackagingMethod sets the ModelPackagingMethod field's value.
func (s *ModelPackagingDescription) SetModelPackagingOutputDetails(v *ModelPackagingOutputDetails) *ModelPackagingDescription
SetModelPackagingOutputDetails sets the ModelPackagingOutputDetails field's value.
func (s *ModelPackagingDescription) SetModelVersion(v string) *ModelPackagingDescription
SetModelVersion sets the ModelVersion field's value.
func (s *ModelPackagingDescription) SetProjectName(v string) *ModelPackagingDescription
SetProjectName sets the ProjectName field's value.
func (s *ModelPackagingDescription) SetStatus(v string) *ModelPackagingDescription
SetStatus sets the Status field's value.
func (s *ModelPackagingDescription) SetStatusMessage(v string) *ModelPackagingDescription
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *ModelPackagingJobMetadata) SetCreationTimestamp(v time.Time) *ModelPackagingJobMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ModelPackagingJobMetadata) SetJobName(v string) *ModelPackagingJobMetadata
SetJobName sets the JobName field's value.
func (s *ModelPackagingJobMetadata) SetLastUpdatedTimestamp(v time.Time) *ModelPackagingJobMetadata
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (s *ModelPackagingJobMetadata) SetModelPackagingJobDescription(v string) *ModelPackagingJobMetadata
SetModelPackagingJobDescription sets the ModelPackagingJobDescription field's value.
func (s *ModelPackagingJobMetadata) SetModelPackagingMethod(v string) *ModelPackagingJobMetadata
SetModelPackagingMethod sets the ModelPackagingMethod field's value.
func (s *ModelPackagingJobMetadata) SetModelVersion(v string) *ModelPackagingJobMetadata
SetModelVersion sets the ModelVersion field's value.
func (s *ModelPackagingJobMetadata) SetProjectName(v string) *ModelPackagingJobMetadata
SetProjectName sets the ProjectName field's value.
func (s *ModelPackagingJobMetadata) SetStatus(v string) *ModelPackagingJobMetadata
SetStatus sets the Status field's value.
func (s *ModelPackagingJobMetadata) SetStatusMessage(v string) *ModelPackagingJobMetadata
SetStatusMessage sets the StatusMessage field's value.
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 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 (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 (s *ModelPackagingOutputDetails) SetGreengrass(v *GreengrassOutputDetails) *ModelPackagingOutputDetails
SetGreengrass sets the Greengrass field's value.
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 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 (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 (s *ModelPerformance) SetF1Score(v float64) *ModelPerformance
SetF1Score sets the F1Score field's value.
func (s *ModelPerformance) SetPrecision(v float64) *ModelPerformance
SetPrecision sets the Precision field's value.
func (s *ModelPerformance) SetRecall(v float64) *ModelPerformance
SetRecall sets the Recall field's value.
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 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 (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 (s *OutputConfig) SetS3Location(v *S3Location) *OutputConfig
SetS3Location sets the S3Location field's value.
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 (s *OutputConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *OutputS3Object) SetBucket(v string) *OutputS3Object
SetBucket sets the Bucket field's value.
func (s *OutputS3Object) SetKey(v string) *OutputS3Object
SetKey sets the Key field's value.
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 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 (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 (s *PixelAnomaly) SetColor(v string) *PixelAnomaly
SetColor sets the Color field's value.
func (s *PixelAnomaly) SetTotalPercentageArea(v float64) *PixelAnomaly
SetTotalPercentageArea sets the TotalPercentageArea field's value.
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 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 (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 (s *ProjectDescription) SetCreationTimestamp(v time.Time) *ProjectDescription
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ProjectDescription) SetDatasets(v []*DatasetMetadata) *ProjectDescription
SetDatasets sets the Datasets field's value.
func (s *ProjectDescription) SetProjectArn(v string) *ProjectDescription
SetProjectArn sets the ProjectArn field's value.
func (s *ProjectDescription) SetProjectName(v string) *ProjectDescription
SetProjectName sets the ProjectName field's value.
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 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 (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 (s *ProjectMetadata) SetCreationTimestamp(v time.Time) *ProjectMetadata
SetCreationTimestamp sets the CreationTimestamp field's value.
func (s *ProjectMetadata) SetProjectArn(v string) *ProjectMetadata
SetProjectArn sets the ProjectArn field's value.
func (s *ProjectMetadata) SetProjectName(v string) *ProjectMetadata
SetProjectName sets the ProjectName field's value.
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 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 (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
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 (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *S3Location) SetBucket(v string) *S3Location
SetBucket sets the Bucket field's value.
func (s *S3Location) SetPrefix(v string) *S3Location
SetPrefix sets the Prefix field's value.
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 (s *S3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
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 (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *StartModelInput) SetClientToken(v string) *StartModelInput
SetClientToken sets the ClientToken field's value.
func (s *StartModelInput) SetMaxInferenceUnits(v int64) *StartModelInput
SetMaxInferenceUnits sets the MaxInferenceUnits field's value.
func (s *StartModelInput) SetMinInferenceUnits(v int64) *StartModelInput
SetMinInferenceUnits sets the MinInferenceUnits field's value.
func (s *StartModelInput) SetModelVersion(v string) *StartModelInput
SetModelVersion sets the ModelVersion field's value.
func (s *StartModelInput) SetProjectName(v string) *StartModelInput
SetProjectName sets the ProjectName field's value.
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 (s *StartModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartModelOutput struct { // The current running status of the model. Status *string `type:"string" enum:"ModelHostingStatus"` // contains filtered or unexported fields }
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 (s *StartModelOutput) SetStatus(v string) *StartModelOutput
SetStatus sets the Status field's value.
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 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 (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 (s *StartModelPackagingJobInput) SetClientToken(v string) *StartModelPackagingJobInput
SetClientToken sets the ClientToken field's value.
func (s *StartModelPackagingJobInput) SetConfiguration(v *ModelPackagingConfiguration) *StartModelPackagingJobInput
SetConfiguration sets the Configuration field's value.
func (s *StartModelPackagingJobInput) SetDescription(v string) *StartModelPackagingJobInput
SetDescription sets the Description field's value.
func (s *StartModelPackagingJobInput) SetJobName(v string) *StartModelPackagingJobInput
SetJobName sets the JobName field's value.
func (s *StartModelPackagingJobInput) SetModelVersion(v string) *StartModelPackagingJobInput
SetModelVersion sets the ModelVersion field's value.
func (s *StartModelPackagingJobInput) SetProjectName(v string) *StartModelPackagingJobInput
SetProjectName sets the ProjectName field's value.
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 (s *StartModelPackagingJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *StartModelPackagingJobOutput) SetJobName(v string) *StartModelPackagingJobOutput
SetJobName sets the JobName field's value.
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 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 (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 (s *StopModelInput) SetClientToken(v string) *StopModelInput
SetClientToken sets the ClientToken field's value.
func (s *StopModelInput) SetModelVersion(v string) *StopModelInput
SetModelVersion sets the ModelVersion field's value.
func (s *StopModelInput) SetProjectName(v string) *StopModelInput
SetProjectName sets the ProjectName field's value.
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 (s *StopModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopModelOutput struct { // The status of the model. Status *string `type:"string" enum:"ModelHostingStatus"` // contains filtered or unexported fields }
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 (s *StopModelOutput) SetStatus(v string) *StopModelOutput
SetStatus sets the Status field's value.
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 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 (s Tag) 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 (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
func (s Tag) 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 (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
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 (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform
SetAccelerator sets the Accelerator field's value.
func (s *TargetPlatform) SetArch(v string) *TargetPlatform
SetArch sets the Arch field's value.
func (s *TargetPlatform) SetOs(v string) *TargetPlatform
SetOs sets the Os field's value.
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 (s *TargetPlatform) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
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 (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
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 (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *UpdateDatasetEntriesInput) SetChanges(v []byte) *UpdateDatasetEntriesInput
SetChanges sets the Changes field's value.
func (s *UpdateDatasetEntriesInput) SetClientToken(v string) *UpdateDatasetEntriesInput
SetClientToken sets the ClientToken field's value.
func (s *UpdateDatasetEntriesInput) SetDatasetType(v string) *UpdateDatasetEntriesInput
SetDatasetType sets the DatasetType field's value.
func (s *UpdateDatasetEntriesInput) SetProjectName(v string) *UpdateDatasetEntriesInput
SetProjectName sets the ProjectName field's value.
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 (s *UpdateDatasetEntriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDatasetEntriesOutput struct { // The status of the dataset update. Status *string `type:"string" enum:"DatasetStatus"` // contains filtered or unexported fields }
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 (s *UpdateDatasetEntriesOutput) SetStatus(v string) *UpdateDatasetEntriesOutput
SetStatus sets the Status field's value.
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 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 (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
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 (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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".