machinelearning

package
Version: v1.40.45 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 11 Imported by: 21

Documentation

Overview

Package machinelearning provides the client and types for making API requests to Amazon Machine Learning.

Definition of the public APIs exposed by Amazon Machine Learning

See machinelearning package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/machinelearning/

Using the Client

To contact Amazon Machine Learning with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Machine Learning client MachineLearning for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/machinelearning/#New

Index

Constants

View Source
const (
	// BatchPredictionFilterVariableCreatedAt is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableCreatedAt = "CreatedAt"

	// BatchPredictionFilterVariableLastUpdatedAt is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableLastUpdatedAt = "LastUpdatedAt"

	// BatchPredictionFilterVariableStatus is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableStatus = "Status"

	// BatchPredictionFilterVariableName is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableName = "Name"

	// BatchPredictionFilterVariableIamuser is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableIamuser = "IAMUser"

	// BatchPredictionFilterVariableMlmodelId is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableMlmodelId = "MLModelId"

	// BatchPredictionFilterVariableDataSourceId is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableDataSourceId = "DataSourceId"

	// BatchPredictionFilterVariableDataUri is a BatchPredictionFilterVariable enum value
	BatchPredictionFilterVariableDataUri = "DataURI"
)

A list of the variables to use in searching or filtering BatchPrediction.

* CreatedAt - Sets the search criteria to BatchPrediction creation date.

* Status - Sets the search criteria to BatchPrediction status.

* Name - Sets the search criteria to the contents of BatchPrediction Name.

* IAMUser - Sets the search criteria to the user account that invoked
the BatchPrediction creation.

* MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction.

* DataSourceId - Sets the search criteria to the DataSource used in the
BatchPrediction.

* DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction.
The URL can identify either a file or an Amazon Simple Storage Service
(Amazon S3) bucket or directory.
View Source
const (
	// DataSourceFilterVariableCreatedAt is a DataSourceFilterVariable enum value
	DataSourceFilterVariableCreatedAt = "CreatedAt"

	// DataSourceFilterVariableLastUpdatedAt is a DataSourceFilterVariable enum value
	DataSourceFilterVariableLastUpdatedAt = "LastUpdatedAt"

	// DataSourceFilterVariableStatus is a DataSourceFilterVariable enum value
	DataSourceFilterVariableStatus = "Status"

	// DataSourceFilterVariableName is a DataSourceFilterVariable enum value
	DataSourceFilterVariableName = "Name"

	// DataSourceFilterVariableDataLocationS3 is a DataSourceFilterVariable enum value
	DataSourceFilterVariableDataLocationS3 = "DataLocationS3"

	// DataSourceFilterVariableIamuser is a DataSourceFilterVariable enum value
	DataSourceFilterVariableIamuser = "IAMUser"
)

A list of the variables to use in searching or filtering DataSource.

* CreatedAt - Sets the search criteria to DataSource creation date.

* Status - Sets the search criteria to DataSource status.

* Name - Sets the search criteria to the contents of DataSource Name.

* DataUri - Sets the search criteria to the URI of data files used to
create the DataSource. The URI can identify either a file or an Amazon
Simple Storage Service (Amazon S3) bucket or directory.

* IAMUser - Sets the search criteria to the user account that invoked
the DataSource creation.

Note: The variable names should match the variable names in the DataSource.

View Source
const (
	// DetailsAttributesPredictiveModelType is a DetailsAttributes enum value
	DetailsAttributesPredictiveModelType = "PredictiveModelType"

	// DetailsAttributesAlgorithm is a DetailsAttributes enum value
	DetailsAttributesAlgorithm = "Algorithm"
)

Contains the key values of DetailsMap:

* PredictiveModelType - Indicates the type of the MLModel.

* Algorithm - Indicates the algorithm that was used for the MLModel.
View Source
const (
	// EntityStatusPending is a EntityStatus enum value
	EntityStatusPending = "PENDING"

	// EntityStatusInprogress is a EntityStatus enum value
	EntityStatusInprogress = "INPROGRESS"

	// EntityStatusFailed is a EntityStatus enum value
	EntityStatusFailed = "FAILED"

	// EntityStatusCompleted is a EntityStatus enum value
	EntityStatusCompleted = "COMPLETED"

	// EntityStatusDeleted is a EntityStatus enum value
	EntityStatusDeleted = "DELETED"
)

Object status with the following possible values:

* PENDING

* INPROGRESS

* FAILED

* COMPLETED

* DELETED
View Source
const (
	// EvaluationFilterVariableCreatedAt is a EvaluationFilterVariable enum value
	EvaluationFilterVariableCreatedAt = "CreatedAt"

	// EvaluationFilterVariableLastUpdatedAt is a EvaluationFilterVariable enum value
	EvaluationFilterVariableLastUpdatedAt = "LastUpdatedAt"

	// EvaluationFilterVariableStatus is a EvaluationFilterVariable enum value
	EvaluationFilterVariableStatus = "Status"

	// EvaluationFilterVariableName is a EvaluationFilterVariable enum value
	EvaluationFilterVariableName = "Name"

	// EvaluationFilterVariableIamuser is a EvaluationFilterVariable enum value
	EvaluationFilterVariableIamuser = "IAMUser"

	// EvaluationFilterVariableMlmodelId is a EvaluationFilterVariable enum value
	EvaluationFilterVariableMlmodelId = "MLModelId"

	// EvaluationFilterVariableDataSourceId is a EvaluationFilterVariable enum value
	EvaluationFilterVariableDataSourceId = "DataSourceId"

	// EvaluationFilterVariableDataUri is a EvaluationFilterVariable enum value
	EvaluationFilterVariableDataUri = "DataURI"
)

A list of the variables to use in searching or filtering Evaluation.

* CreatedAt - Sets the search criteria to Evaluation creation date.

* Status - Sets the search criteria to Evaluation status.

* Name - Sets the search criteria to the contents of Evaluation Name.

* IAMUser - Sets the search criteria to the user account that invoked
an evaluation.

* MLModelId - Sets the search criteria to the Predictor that was evaluated.

* DataSourceId - Sets the search criteria to the DataSource used in evaluation.

* DataUri - Sets the search criteria to the data file(s) used in evaluation.
The URL can identify either a file or an Amazon Simple Storage Service
(Amazon S3) bucket or directory.
View Source
const (
	// MLModelFilterVariableCreatedAt is a MLModelFilterVariable enum value
	MLModelFilterVariableCreatedAt = "CreatedAt"

	// MLModelFilterVariableLastUpdatedAt is a MLModelFilterVariable enum value
	MLModelFilterVariableLastUpdatedAt = "LastUpdatedAt"

	// MLModelFilterVariableStatus is a MLModelFilterVariable enum value
	MLModelFilterVariableStatus = "Status"

	// MLModelFilterVariableName is a MLModelFilterVariable enum value
	MLModelFilterVariableName = "Name"

	// MLModelFilterVariableIamuser is a MLModelFilterVariable enum value
	MLModelFilterVariableIamuser = "IAMUser"

	// MLModelFilterVariableTrainingDataSourceId is a MLModelFilterVariable enum value
	MLModelFilterVariableTrainingDataSourceId = "TrainingDataSourceId"

	// MLModelFilterVariableRealtimeEndpointStatus is a MLModelFilterVariable enum value
	MLModelFilterVariableRealtimeEndpointStatus = "RealtimeEndpointStatus"

	// MLModelFilterVariableMlmodelType is a MLModelFilterVariable enum value
	MLModelFilterVariableMlmodelType = "MLModelType"

	// MLModelFilterVariableAlgorithm is a MLModelFilterVariable enum value
	MLModelFilterVariableAlgorithm = "Algorithm"

	// MLModelFilterVariableTrainingDataUri is a MLModelFilterVariable enum value
	MLModelFilterVariableTrainingDataUri = "TrainingDataURI"
)
View Source
const (
	// MLModelTypeRegression is a MLModelType enum value
	MLModelTypeRegression = "REGRESSION"

	// MLModelTypeBinary is a MLModelType enum value
	MLModelTypeBinary = "BINARY"

	// MLModelTypeMulticlass is a MLModelType enum value
	MLModelTypeMulticlass = "MULTICLASS"
)
View Source
const (
	// RealtimeEndpointStatusNone is a RealtimeEndpointStatus enum value
	RealtimeEndpointStatusNone = "NONE"

	// RealtimeEndpointStatusReady is a RealtimeEndpointStatus enum value
	RealtimeEndpointStatusReady = "READY"

	// RealtimeEndpointStatusUpdating is a RealtimeEndpointStatus enum value
	RealtimeEndpointStatusUpdating = "UPDATING"

	// RealtimeEndpointStatusFailed is a RealtimeEndpointStatus enum value
	RealtimeEndpointStatusFailed = "FAILED"
)
View Source
const (
	// SortOrderAsc is a SortOrder enum value
	SortOrderAsc = "asc"

	// SortOrderDsc is a SortOrder enum value
	SortOrderDsc = "dsc"
)

The sort order specified in a listing condition. Possible values include the following:

* asc - Present the information in ascending order (from A-Z).

* dsc - Present the information in descending order (from Z-A).
View Source
const (
	// TaggableResourceTypeBatchPrediction is a TaggableResourceType enum value
	TaggableResourceTypeBatchPrediction = "BatchPrediction"

	// TaggableResourceTypeDataSource is a TaggableResourceType enum value
	TaggableResourceTypeDataSource = "DataSource"

	// TaggableResourceTypeEvaluation is a TaggableResourceType enum value
	TaggableResourceTypeEvaluation = "Evaluation"

	// TaggableResourceTypeMlmodel is a TaggableResourceType enum value
	TaggableResourceTypeMlmodel = "MLModel"
)
View Source
const (

	// ErrCodeIdempotentParameterMismatchException for service response error code
	// "IdempotentParameterMismatchException".
	//
	// A second request to use or change an object was not allowed. This can result
	// from retrying a request using a parameter that was not present in the original
	// request.
	ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An error on the server occurred when trying to process a request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeInvalidInputException for service response error code
	// "InvalidInputException".
	//
	// An error on the client occurred. Typically, the cause is an invalid input
	// value.
	ErrCodeInvalidInputException = "InvalidInputException"

	// ErrCodeInvalidTagException for service response error code
	// "InvalidTagException".
	ErrCodeInvalidTagException = "InvalidTagException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The subscriber exceeded the maximum number of operations. This exception
	// can occur when listing objects such as DataSource.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodePredictorNotMountedException for service response error code
	// "PredictorNotMountedException".
	//
	// The exception is thrown when a predict request is made to an unmounted MLModel.
	ErrCodePredictorNotMountedException = "PredictorNotMountedException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A specified resource cannot be located.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeTagLimitExceededException for service response error code
	// "TagLimitExceededException".
	ErrCodeTagLimitExceededException = "TagLimitExceededException"
)
View Source
const (
	ServiceName = "machinelearning"  // Name of service.
	EndpointsID = ServiceName        // ID to lookup a service endpoint with.
	ServiceID   = "Machine Learning" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AlgorithmSgd is a Algorithm enum value
	AlgorithmSgd = "sgd"
)

The function used to train an MLModel. Training choices supported by Amazon ML include the following:

* SGD - Stochastic Gradient Descent.

* RandomForest - Random forest of decision trees.

Variables

This section is empty.

Functions

func Algorithm_Values added in v1.34.3

func Algorithm_Values() []string

Algorithm_Values returns all elements of the Algorithm enum

func BatchPredictionFilterVariable_Values added in v1.34.3

func BatchPredictionFilterVariable_Values() []string

BatchPredictionFilterVariable_Values returns all elements of the BatchPredictionFilterVariable enum

func DataSourceFilterVariable_Values added in v1.34.3

func DataSourceFilterVariable_Values() []string

DataSourceFilterVariable_Values returns all elements of the DataSourceFilterVariable enum

func DetailsAttributes_Values added in v1.34.3

func DetailsAttributes_Values() []string

DetailsAttributes_Values returns all elements of the DetailsAttributes enum

func EntityStatus_Values added in v1.34.3

func EntityStatus_Values() []string

EntityStatus_Values returns all elements of the EntityStatus enum

func EvaluationFilterVariable_Values added in v1.34.3

func EvaluationFilterVariable_Values() []string

EvaluationFilterVariable_Values returns all elements of the EvaluationFilterVariable enum

func MLModelFilterVariable_Values added in v1.34.3

func MLModelFilterVariable_Values() []string

MLModelFilterVariable_Values returns all elements of the MLModelFilterVariable enum

func MLModelType_Values added in v1.34.3

func MLModelType_Values() []string

MLModelType_Values returns all elements of the MLModelType enum

func RealtimeEndpointStatus_Values added in v1.34.3

func RealtimeEndpointStatus_Values() []string

RealtimeEndpointStatus_Values returns all elements of the RealtimeEndpointStatus enum

func SortOrder_Values added in v1.34.3

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func TaggableResourceType_Values added in v1.34.3

func TaggableResourceType_Values() []string

TaggableResourceType_Values returns all elements of the TaggableResourceType enum

Types

type AddTagsInput added in v1.1.33

type AddTagsInput struct {

	// The ID of the ML object to tag. For example, exampleModelId.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The type of the ML object to tag.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"`

	// The key-value pairs to use to create tags. If you specify a key without specifying
	// a value, Amazon ML creates a tag with the specified key and a value of null.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddTagsInput) GoString added in v1.1.33

func (s AddTagsInput) 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 (*AddTagsInput) SetResourceId added in v1.5.0

func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput

SetResourceId sets the ResourceId field's value.

func (*AddTagsInput) SetResourceType added in v1.5.0

func (s *AddTagsInput) SetResourceType(v string) *AddTagsInput

SetResourceType sets the ResourceType field's value.

func (*AddTagsInput) SetTags added in v1.5.0

func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput

SetTags sets the Tags field's value.

func (AddTagsInput) String added in v1.1.33

func (s AddTagsInput) 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 (*AddTagsInput) Validate added in v1.1.33

func (s *AddTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsOutput added in v1.1.33

type AddTagsOutput struct {

	// The ID of the ML object that was tagged.
	ResourceId *string `min:"1" type:"string"`

	// The type of the ML object that was tagged.
	ResourceType *string `type:"string" enum:"TaggableResourceType"`
	// contains filtered or unexported fields
}

Amazon ML returns the following elements.

func (AddTagsOutput) GoString added in v1.1.33

func (s AddTagsOutput) 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 (*AddTagsOutput) SetResourceId added in v1.5.0

func (s *AddTagsOutput) SetResourceId(v string) *AddTagsOutput

SetResourceId sets the ResourceId field's value.

func (*AddTagsOutput) SetResourceType added in v1.5.0

func (s *AddTagsOutput) SetResourceType(v string) *AddTagsOutput

SetResourceType sets the ResourceType field's value.

func (AddTagsOutput) String added in v1.1.33

func (s AddTagsOutput) 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 BatchPrediction

type BatchPrediction struct {

	// The ID of the DataSource that points to the group of observations to predict.
	BatchPredictionDataSourceId *string `min:"1" type:"string"`

	// The ID assigned to the BatchPrediction at creation. This value should be
	// identical to the value of the BatchPredictionID in the request.
	BatchPredictionId *string `min:"1" type:"string"`

	// Long integer type that is a 64-bit signed number.
	ComputeTime *int64 `type:"long"`

	// The time that the BatchPrediction was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account that invoked the BatchPrediction. The account type can
	// be either an AWS root account or an AWS Identity and Access Management (IAM)
	// user account.
	CreatedByIamUser *string `type:"string"`

	// A timestamp represented in epoch time.
	FinishedAt *time.Time `type:"timestamp"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	InputDataLocationS3 *string `type:"string"`

	// Long integer type that is a 64-bit signed number.
	InvalidRecordCount *int64 `type:"long"`

	// The time of the most recent edit to the BatchPrediction. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// The ID of the MLModel that generated predictions for the BatchPrediction
	// request.
	MLModelId *string `min:"1" type:"string"`

	// A description of the most recent details about processing the batch prediction
	// request.
	Message *string `type:"string"`

	// A user-supplied name or description of the BatchPrediction.
	Name *string `type:"string"`

	// The location of an Amazon S3 bucket or directory to receive the operation
	// results. The following substrings are not allowed in the s3 key portion of
	// the outputURI field: ':', '//', '/./', '/../'.
	OutputUri *string `type:"string"`

	// A timestamp represented in epoch time.
	StartedAt *time.Time `type:"timestamp"`

	// The status of the BatchPrediction. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    generate predictions for a batch of observations.
	//
	//    * INPROGRESS - The process is underway.
	//
	//    * FAILED - The request to perform a batch prediction did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The batch prediction process completed successfully.
	//
	//    * DELETED - The BatchPrediction is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`

	// Long integer type that is a 64-bit signed number.
	TotalRecordCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

Represents the output of a GetBatchPrediction operation.

The content consists of the detailed metadata, the status, and the data file information of a Batch Prediction.

func (BatchPrediction) GoString added in v0.6.5

func (s BatchPrediction) 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 (*BatchPrediction) SetBatchPredictionDataSourceId added in v1.5.0

func (s *BatchPrediction) SetBatchPredictionDataSourceId(v string) *BatchPrediction

SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.

func (*BatchPrediction) SetBatchPredictionId added in v1.5.0

func (s *BatchPrediction) SetBatchPredictionId(v string) *BatchPrediction

SetBatchPredictionId sets the BatchPredictionId field's value.

func (*BatchPrediction) SetComputeTime added in v1.5.0

func (s *BatchPrediction) SetComputeTime(v int64) *BatchPrediction

SetComputeTime sets the ComputeTime field's value.

func (*BatchPrediction) SetCreatedAt added in v1.5.0

func (s *BatchPrediction) SetCreatedAt(v time.Time) *BatchPrediction

SetCreatedAt sets the CreatedAt field's value.

func (*BatchPrediction) SetCreatedByIamUser added in v1.5.0

func (s *BatchPrediction) SetCreatedByIamUser(v string) *BatchPrediction

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*BatchPrediction) SetFinishedAt added in v1.5.0

func (s *BatchPrediction) SetFinishedAt(v time.Time) *BatchPrediction

SetFinishedAt sets the FinishedAt field's value.

func (*BatchPrediction) SetInputDataLocationS3 added in v1.5.0

func (s *BatchPrediction) SetInputDataLocationS3(v string) *BatchPrediction

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*BatchPrediction) SetInvalidRecordCount added in v1.5.0

func (s *BatchPrediction) SetInvalidRecordCount(v int64) *BatchPrediction

SetInvalidRecordCount sets the InvalidRecordCount field's value.

func (*BatchPrediction) SetLastUpdatedAt added in v1.5.0

func (s *BatchPrediction) SetLastUpdatedAt(v time.Time) *BatchPrediction

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*BatchPrediction) SetMLModelId added in v1.5.0

func (s *BatchPrediction) SetMLModelId(v string) *BatchPrediction

SetMLModelId sets the MLModelId field's value.

func (*BatchPrediction) SetMessage added in v1.5.0

func (s *BatchPrediction) SetMessage(v string) *BatchPrediction

SetMessage sets the Message field's value.

func (*BatchPrediction) SetName added in v1.5.0

func (s *BatchPrediction) SetName(v string) *BatchPrediction

SetName sets the Name field's value.

func (*BatchPrediction) SetOutputUri added in v1.5.0

func (s *BatchPrediction) SetOutputUri(v string) *BatchPrediction

SetOutputUri sets the OutputUri field's value.

func (*BatchPrediction) SetStartedAt added in v1.5.0

func (s *BatchPrediction) SetStartedAt(v time.Time) *BatchPrediction

SetStartedAt sets the StartedAt field's value.

func (*BatchPrediction) SetStatus added in v1.5.0

func (s *BatchPrediction) SetStatus(v string) *BatchPrediction

SetStatus sets the Status field's value.

func (*BatchPrediction) SetTotalRecordCount added in v1.5.0

func (s *BatchPrediction) SetTotalRecordCount(v int64) *BatchPrediction

SetTotalRecordCount sets the TotalRecordCount field's value.

func (BatchPrediction) String added in v0.6.5

func (s BatchPrediction) 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 CreateBatchPredictionInput

type CreateBatchPredictionInput struct {

	// The ID of the DataSource that points to the group of observations to predict.
	//
	// BatchPredictionDataSourceId is a required field
	BatchPredictionDataSourceId *string `min:"1" type:"string" required:"true"`

	// A user-supplied ID that uniquely identifies the BatchPrediction.
	//
	// BatchPredictionId is a required field
	BatchPredictionId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the BatchPrediction. BatchPredictionName
	// can only use the UTF-8 character set.
	BatchPredictionName *string `type:"string"`

	// The ID of the MLModel that will generate predictions for the group of observations.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`

	// The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory
	// to store the batch prediction results. The following substrings are not allowed
	// in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.
	//
	// Amazon ML needs permissions to store and retrieve the logs on your behalf.
	// For information about how to set permissions, see the Amazon Machine Learning
	// Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg).
	//
	// OutputUri is a required field
	OutputUri *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateBatchPredictionInput) GoString added in v0.6.5

func (s CreateBatchPredictionInput) 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 (*CreateBatchPredictionInput) SetBatchPredictionDataSourceId added in v1.5.0

func (s *CreateBatchPredictionInput) SetBatchPredictionDataSourceId(v string) *CreateBatchPredictionInput

SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.

func (*CreateBatchPredictionInput) SetBatchPredictionId added in v1.5.0

func (s *CreateBatchPredictionInput) SetBatchPredictionId(v string) *CreateBatchPredictionInput

SetBatchPredictionId sets the BatchPredictionId field's value.

func (*CreateBatchPredictionInput) SetBatchPredictionName added in v1.5.0

func (s *CreateBatchPredictionInput) SetBatchPredictionName(v string) *CreateBatchPredictionInput

SetBatchPredictionName sets the BatchPredictionName field's value.

func (*CreateBatchPredictionInput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (*CreateBatchPredictionInput) SetOutputUri added in v1.5.0

SetOutputUri sets the OutputUri field's value.

func (CreateBatchPredictionInput) String added in v0.6.5

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 (*CreateBatchPredictionInput) Validate added in v1.1.21

func (s *CreateBatchPredictionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBatchPredictionOutput

type CreateBatchPredictionOutput struct {

	// A user-supplied ID that uniquely identifies the BatchPrediction. This value
	// is identical to the value of the BatchPredictionId in the request.
	BatchPredictionId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateBatchPrediction operation, and is an acknowledgement that Amazon ML received the request.

The CreateBatchPrediction operation is asynchronous. You can poll for status updates by using the >GetBatchPrediction operation and checking the Status parameter of the result.

func (CreateBatchPredictionOutput) GoString added in v0.6.5

func (s CreateBatchPredictionOutput) 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 (*CreateBatchPredictionOutput) SetBatchPredictionId added in v1.5.0

SetBatchPredictionId sets the BatchPredictionId field's value.

func (CreateBatchPredictionOutput) String added in v0.6.5

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 CreateDataSourceFromRDSInput

type CreateDataSourceFromRDSInput struct {

	// The compute statistics for a DataSource. The statistics are generated from
	// the observation data referenced by a DataSource. Amazon ML uses the statistics
	// internally during MLModel training. This parameter must be set to true if
	// the DataSource needs to be used for MLModel training.
	ComputeStatistics *bool `type:"boolean"`

	// A user-supplied ID that uniquely identifies the DataSource. Typically, an
	// Amazon Resource Number (ARN) becomes the ID for a DataSource.
	//
	// DataSourceId is a required field
	DataSourceId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the DataSource.
	DataSourceName *string `type:"string"`

	// The data specification of an Amazon RDS DataSource:
	//
	//    * DatabaseInformation - DatabaseName - The name of the Amazon RDS database.
	//    InstanceIdentifier - A unique identifier for the Amazon RDS database instance.
	//
	//    * DatabaseCredentials - AWS Identity and Access Management (IAM) credentials
	//    that are used to connect to the Amazon RDS database.
	//
	//    * ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an
	//    EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple
	//    Storage Service (Amazon S3). For more information, see Role templates
	//    (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html)
	//    for data pipelines.
	//
	//    * ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data
	//    Pipeline service to monitor the progress of the copy task from Amazon
	//    RDS to Amazon S3. For more information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html)
	//    for data pipelines.
	//
	//    * SecurityInfo - The security information to use to access an RDS DB instance.
	//    You need to set up appropriate ingress rules for the security entity IDs
	//    provided to allow access to the Amazon RDS instance. Specify a [SubnetId,
	//    SecurityGroupIds] pair for a VPC-based RDS DB instance.
	//
	//    * SelectSqlQuery - A query that is used to retrieve the observation data
	//    for the Datasource.
	//
	//    * S3StagingLocation - The Amazon S3 location for staging Amazon RDS data.
	//    The data retrieved from Amazon RDS using SelectSqlQuery is stored in this
	//    location.
	//
	//    * DataSchemaUri - The Amazon S3 location of the DataSchema.
	//
	//    * DataSchema - A JSON string representing the schema. This is not required
	//    if DataSchemaUri is specified.
	//
	//    * DataRearrangement - A JSON string that represents the splitting and
	//    rearrangement requirements for the Datasource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
	//
	// RDSData is a required field
	RDSData *RDSDataSpec `type:"structure" required:"true"`

	// The role that Amazon ML assumes on behalf of the user to create and activate
	// a data pipeline in the user's account and copy data using the SelectSqlQuery
	// query from Amazon RDS to Amazon S3.
	//
	// RoleARN is a required field
	RoleARN *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDataSourceFromRDSInput) GoString added in v0.6.5

func (s CreateDataSourceFromRDSInput) 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 (*CreateDataSourceFromRDSInput) SetComputeStatistics added in v1.5.0

SetComputeStatistics sets the ComputeStatistics field's value.

func (*CreateDataSourceFromRDSInput) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (*CreateDataSourceFromRDSInput) SetDataSourceName added in v1.5.0

SetDataSourceName sets the DataSourceName field's value.

func (*CreateDataSourceFromRDSInput) SetRDSData added in v1.5.0

SetRDSData sets the RDSData field's value.

func (*CreateDataSourceFromRDSInput) SetRoleARN added in v1.5.0

SetRoleARN sets the RoleARN field's value.

func (CreateDataSourceFromRDSInput) String added in v0.6.5

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 (*CreateDataSourceFromRDSInput) Validate added in v1.1.21

func (s *CreateDataSourceFromRDSInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDataSourceFromRDSOutput

type CreateDataSourceFromRDSOutput struct {

	// A user-supplied ID that uniquely identifies the datasource. This value should
	// be identical to the value of the DataSourceID in the request.
	DataSourceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDataSourceFromRDS operation, and is an acknowledgement that Amazon ML received the request.

The CreateDataSourceFromRDS> operation is asynchronous. You can poll for updates by using the GetBatchPrediction operation and checking the Status parameter. You can inspect the Message when Status shows up as FAILED. You can also check the progress of the copy operation by going to the DataPipeline console and looking up the pipeline using the pipelineId from the describe call.

func (CreateDataSourceFromRDSOutput) GoString added in v0.6.5

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 (*CreateDataSourceFromRDSOutput) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (CreateDataSourceFromRDSOutput) String added in v0.6.5

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 CreateDataSourceFromRedshiftInput

type CreateDataSourceFromRedshiftInput struct {

	// The compute statistics for a DataSource. The statistics are generated from
	// the observation data referenced by a DataSource. Amazon ML uses the statistics
	// internally during MLModel training. This parameter must be set to true if
	// the DataSource needs to be used for MLModel training.
	ComputeStatistics *bool `type:"boolean"`

	// A user-supplied ID that uniquely identifies the DataSource.
	//
	// DataSourceId is a required field
	DataSourceId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the DataSource.
	DataSourceName *string `type:"string"`

	// The data specification of an Amazon Redshift DataSource:
	//
	//    * DatabaseInformation - DatabaseName - The name of the Amazon Redshift
	//    database. ClusterIdentifier - The unique ID for the Amazon Redshift cluster.
	//
	//    * DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials
	//    that are used to connect to the Amazon Redshift database.
	//
	//    * SelectSqlQuery - The query that is used to retrieve the observation
	//    data for the Datasource.
	//
	//    * S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location
	//    for staging Amazon Redshift data. The data retrieved from Amazon Redshift
	//    using the SelectSqlQuery query is stored in this location.
	//
	//    * DataSchemaUri - The Amazon S3 location of the DataSchema.
	//
	//    * DataSchema - A JSON string representing the schema. This is not required
	//    if DataSchemaUri is specified.
	//
	//    * DataRearrangement - A JSON string that represents the splitting and
	//    rearrangement requirements for the DataSource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
	//
	// DataSpec is a required field
	DataSpec *RedshiftDataSpec `type:"structure" required:"true"`

	// A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the
	// role on behalf of the user to create the following:
	//
	//    * A security group to allow Amazon ML to execute the SelectSqlQuery query
	//    on an Amazon Redshift cluster
	//
	//    * An Amazon S3 bucket policy to grant Amazon ML read/write permissions
	//    on the S3StagingLocation
	//
	// RoleARN is a required field
	RoleARN *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDataSourceFromRedshiftInput) GoString added in v0.6.5

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 (*CreateDataSourceFromRedshiftInput) SetComputeStatistics added in v1.5.0

SetComputeStatistics sets the ComputeStatistics field's value.

func (*CreateDataSourceFromRedshiftInput) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (*CreateDataSourceFromRedshiftInput) SetDataSourceName added in v1.5.0

SetDataSourceName sets the DataSourceName field's value.

func (*CreateDataSourceFromRedshiftInput) SetDataSpec added in v1.5.0

SetDataSpec sets the DataSpec field's value.

func (*CreateDataSourceFromRedshiftInput) SetRoleARN added in v1.5.0

SetRoleARN sets the RoleARN field's value.

func (CreateDataSourceFromRedshiftInput) String added in v0.6.5

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 (*CreateDataSourceFromRedshiftInput) Validate added in v1.1.21

Validate inspects the fields of the type to determine if they are valid.

type CreateDataSourceFromRedshiftOutput

type CreateDataSourceFromRedshiftOutput struct {

	// A user-supplied ID that uniquely identifies the datasource. This value should
	// be identical to the value of the DataSourceID in the request.
	DataSourceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDataSourceFromRedshift operation, and is an acknowledgement that Amazon ML received the request.

The CreateDataSourceFromRedshift operation is asynchronous. You can poll for updates by using the GetBatchPrediction operation and checking the Status parameter.

func (CreateDataSourceFromRedshiftOutput) GoString added in v0.6.5

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 (*CreateDataSourceFromRedshiftOutput) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (CreateDataSourceFromRedshiftOutput) String added in v0.6.5

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 CreateDataSourceFromS3Input

type CreateDataSourceFromS3Input struct {

	// The compute statistics for a DataSource. The statistics are generated from
	// the observation data referenced by a DataSource. Amazon ML uses the statistics
	// internally during MLModel training. This parameter must be set to true if
	// the DataSource needs to be used for MLModel training.
	ComputeStatistics *bool `type:"boolean"`

	// A user-supplied identifier that uniquely identifies the DataSource.
	//
	// DataSourceId is a required field
	DataSourceId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the DataSource.
	DataSourceName *string `type:"string"`

	// The data specification of a DataSource:
	//
	//    * DataLocationS3 - The Amazon S3 location of the observation data.
	//
	//    * DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.
	//
	//    * DataSchema - A JSON string representing the schema. This is not required
	//    if DataSchemaUri is specified.
	//
	//    * DataRearrangement - A JSON string that represents the splitting and
	//    rearrangement requirements for the Datasource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
	//
	// DataSpec is a required field
	DataSpec *S3DataSpec `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDataSourceFromS3Input) GoString added in v0.6.5

func (s CreateDataSourceFromS3Input) 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 (*CreateDataSourceFromS3Input) SetComputeStatistics added in v1.5.0

func (s *CreateDataSourceFromS3Input) SetComputeStatistics(v bool) *CreateDataSourceFromS3Input

SetComputeStatistics sets the ComputeStatistics field's value.

func (*CreateDataSourceFromS3Input) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (*CreateDataSourceFromS3Input) SetDataSourceName added in v1.5.0

SetDataSourceName sets the DataSourceName field's value.

func (*CreateDataSourceFromS3Input) SetDataSpec added in v1.5.0

SetDataSpec sets the DataSpec field's value.

func (CreateDataSourceFromS3Input) String added in v0.6.5

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 (*CreateDataSourceFromS3Input) Validate added in v1.1.21

func (s *CreateDataSourceFromS3Input) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDataSourceFromS3Output

type CreateDataSourceFromS3Output struct {

	// A user-supplied ID that uniquely identifies the DataSource. This value should
	// be identical to the value of the DataSourceID in the request.
	DataSourceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDataSourceFromS3 operation, and is an acknowledgement that Amazon ML received the request.

The CreateDataSourceFromS3 operation is asynchronous. You can poll for updates by using the GetBatchPrediction operation and checking the Status parameter.

func (CreateDataSourceFromS3Output) GoString added in v0.6.5

func (s CreateDataSourceFromS3Output) 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 (*CreateDataSourceFromS3Output) SetDataSourceId added in v1.5.0

SetDataSourceId sets the DataSourceId field's value.

func (CreateDataSourceFromS3Output) String added in v0.6.5

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 CreateEvaluationInput

type CreateEvaluationInput struct {

	// The ID of the DataSource for the evaluation. The schema of the DataSource
	// must match the schema used to create the MLModel.
	//
	// EvaluationDataSourceId is a required field
	EvaluationDataSourceId *string `min:"1" type:"string" required:"true"`

	// A user-supplied ID that uniquely identifies the Evaluation.
	//
	// EvaluationId is a required field
	EvaluationId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the Evaluation.
	EvaluationName *string `type:"string"`

	// The ID of the MLModel to evaluate.
	//
	// The schema used in creating the MLModel must match the schema of the DataSource
	// used in the Evaluation.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateEvaluationInput) GoString added in v0.6.5

func (s CreateEvaluationInput) 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 (*CreateEvaluationInput) SetEvaluationDataSourceId added in v1.5.0

func (s *CreateEvaluationInput) SetEvaluationDataSourceId(v string) *CreateEvaluationInput

SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.

func (*CreateEvaluationInput) SetEvaluationId added in v1.5.0

func (s *CreateEvaluationInput) SetEvaluationId(v string) *CreateEvaluationInput

SetEvaluationId sets the EvaluationId field's value.

func (*CreateEvaluationInput) SetEvaluationName added in v1.5.0

func (s *CreateEvaluationInput) SetEvaluationName(v string) *CreateEvaluationInput

SetEvaluationName sets the EvaluationName field's value.

func (*CreateEvaluationInput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (CreateEvaluationInput) String added in v0.6.5

func (s CreateEvaluationInput) 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 (*CreateEvaluationInput) Validate added in v1.1.21

func (s *CreateEvaluationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEvaluationOutput

type CreateEvaluationOutput struct {

	// The user-supplied ID that uniquely identifies the Evaluation. This value
	// should be identical to the value of the EvaluationId in the request.
	EvaluationId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateEvaluation operation, and is an acknowledgement that Amazon ML received the request.

CreateEvaluation operation is asynchronous. You can poll for status updates by using the GetEvcaluation operation and checking the Status parameter.

func (CreateEvaluationOutput) GoString added in v0.6.5

func (s CreateEvaluationOutput) 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 (*CreateEvaluationOutput) SetEvaluationId added in v1.5.0

func (s *CreateEvaluationOutput) SetEvaluationId(v string) *CreateEvaluationOutput

SetEvaluationId sets the EvaluationId field's value.

func (CreateEvaluationOutput) String added in v0.6.5

func (s CreateEvaluationOutput) 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 CreateMLModelInput

type CreateMLModelInput struct {

	// A user-supplied ID that uniquely identifies the MLModel.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`

	// A user-supplied name or description of the MLModel.
	MLModelName *string `type:"string"`

	// The category of supervised learning that this MLModel will address. Choose
	// from the following types:
	//
	//    * Choose REGRESSION if the MLModel will be used to predict a numeric value.
	//
	//    * Choose BINARY if the MLModel result has two possible values.
	//
	//    * Choose MULTICLASS if the MLModel result has a limited number of values.
	//
	// For more information, see the Amazon Machine Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg).
	//
	// MLModelType is a required field
	MLModelType *string `type:"string" required:"true" enum:"MLModelType"`

	// A list of the training parameters in the MLModel. The list is implemented
	// as a map of key-value pairs.
	//
	// The following is the current set of training parameters:
	//
	//    * sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending
	//    on the input data, the size of the model might affect its performance.
	//    The value is an integer that ranges from 100000 to 2147483648. The default
	//    value is 33554432.
	//
	//    * sgd.maxPasses - The number of times that the training process traverses
	//    the observations to build the MLModel. The value is an integer that ranges
	//    from 1 to 10000. The default value is 10.
	//
	//    * sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling
	//    the data improves a model's ability to find the optimal solution for a
	//    variety of data types. The valid values are auto and none. The default
	//    value is none. We strongly recommend that you shuffle your data.
	//
	//    * sgd.l1RegularizationAmount - The coefficient regularization L1 norm.
	//    It controls overfitting the data by penalizing large coefficients. This
	//    tends to drive coefficients to zero, resulting in a sparse feature set.
	//    If you use this parameter, start by specifying a small value, such as
	//    1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default
	//    is to not use L1 normalization. This parameter can't be used when L2 is
	//    specified. Use this parameter sparingly.
	//
	//    * sgd.l2RegularizationAmount - The coefficient regularization L2 norm.
	//    It controls overfitting the data by penalizing large coefficients. This
	//    tends to drive coefficients to small, nonzero values. If you use this
	//    parameter, start by specifying a small value, such as 1.0E-08. The value
	//    is a double that ranges from 0 to MAX_DOUBLE. The default is to not use
	//    L2 normalization. This parameter can't be used when L1 is specified. Use
	//    this parameter sparingly.
	Parameters map[string]*string `type:"map"`

	// The data recipe for creating the MLModel. You must specify either the recipe
	// or its URI. If you don't specify a recipe or its URI, Amazon ML creates a
	// default.
	Recipe *string `type:"string"`

	// The Amazon Simple Storage Service (Amazon S3) location and file name that
	// contains the MLModel recipe. You must specify either the recipe or its URI.
	// If you don't specify a recipe or its URI, Amazon ML creates a default.
	RecipeUri *string `type:"string"`

	// The DataSource that points to the training data.
	//
	// TrainingDataSourceId is a required field
	TrainingDataSourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMLModelInput) GoString added in v0.6.5

func (s CreateMLModelInput) 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 (*CreateMLModelInput) SetMLModelId added in v1.5.0

func (s *CreateMLModelInput) SetMLModelId(v string) *CreateMLModelInput

SetMLModelId sets the MLModelId field's value.

func (*CreateMLModelInput) SetMLModelName added in v1.5.0

func (s *CreateMLModelInput) SetMLModelName(v string) *CreateMLModelInput

SetMLModelName sets the MLModelName field's value.

func (*CreateMLModelInput) SetMLModelType added in v1.5.0

func (s *CreateMLModelInput) SetMLModelType(v string) *CreateMLModelInput

SetMLModelType sets the MLModelType field's value.

func (*CreateMLModelInput) SetParameters added in v1.5.0

func (s *CreateMLModelInput) SetParameters(v map[string]*string) *CreateMLModelInput

SetParameters sets the Parameters field's value.

func (*CreateMLModelInput) SetRecipe added in v1.5.0

func (s *CreateMLModelInput) SetRecipe(v string) *CreateMLModelInput

SetRecipe sets the Recipe field's value.

func (*CreateMLModelInput) SetRecipeUri added in v1.5.0

func (s *CreateMLModelInput) SetRecipeUri(v string) *CreateMLModelInput

SetRecipeUri sets the RecipeUri field's value.

func (*CreateMLModelInput) SetTrainingDataSourceId added in v1.5.0

func (s *CreateMLModelInput) SetTrainingDataSourceId(v string) *CreateMLModelInput

SetTrainingDataSourceId sets the TrainingDataSourceId field's value.

func (CreateMLModelInput) String added in v0.6.5

func (s CreateMLModelInput) 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 (*CreateMLModelInput) Validate added in v1.1.21

func (s *CreateMLModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateMLModelOutput

type CreateMLModelOutput struct {

	// A user-supplied ID that uniquely identifies the MLModel. This value should
	// be identical to the value of the MLModelId in the request.
	MLModelId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateMLModel operation, and is an acknowledgement that Amazon ML received the request.

The CreateMLModel operation is asynchronous. You can poll for status updates by using the GetMLModel operation and checking the Status parameter.

func (CreateMLModelOutput) GoString added in v0.6.5

func (s CreateMLModelOutput) 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 (*CreateMLModelOutput) SetMLModelId added in v1.5.0

func (s *CreateMLModelOutput) SetMLModelId(v string) *CreateMLModelOutput

SetMLModelId sets the MLModelId field's value.

func (CreateMLModelOutput) String added in v0.6.5

func (s CreateMLModelOutput) 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 CreateRealtimeEndpointInput

type CreateRealtimeEndpointInput struct {

	// The ID assigned to the MLModel during creation.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRealtimeEndpointInput) GoString added in v0.6.5

func (s CreateRealtimeEndpointInput) 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 (*CreateRealtimeEndpointInput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (CreateRealtimeEndpointInput) String added in v0.6.5

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 (*CreateRealtimeEndpointInput) Validate added in v1.1.21

func (s *CreateRealtimeEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRealtimeEndpointOutput

type CreateRealtimeEndpointOutput struct {

	// A user-supplied ID that uniquely identifies the MLModel. This value should
	// be identical to the value of the MLModelId in the request.
	MLModelId *string `min:"1" type:"string"`

	// The endpoint information of the MLModel
	RealtimeEndpointInfo *RealtimeEndpointInfo `type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of an CreateRealtimeEndpoint operation.

The result contains the MLModelId and the endpoint information for the MLModel.

Note: The endpoint information includes the URI of the MLModel; that is, the location to send online prediction requests for the specified MLModel.

func (CreateRealtimeEndpointOutput) GoString added in v0.6.5

func (s CreateRealtimeEndpointOutput) 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 (*CreateRealtimeEndpointOutput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (*CreateRealtimeEndpointOutput) SetRealtimeEndpointInfo added in v1.5.0

SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value.

func (CreateRealtimeEndpointOutput) String added in v0.6.5

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 DataSource

type DataSource struct {

	// The parameter is true if statistics need to be generated from the observation
	// data.
	ComputeStatistics *bool `type:"boolean"`

	// Long integer type that is a 64-bit signed number.
	ComputeTime *int64 `type:"long"`

	// The time that the DataSource was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account from which the DataSource was created. The account type
	// can be either an AWS root account or an AWS Identity and Access Management
	// (IAM) user account.
	CreatedByIamUser *string `type:"string"`

	// The location and name of the data in Amazon Simple Storage Service (Amazon
	// S3) that is used by a DataSource.
	DataLocationS3 *string `type:"string"`

	// A JSON string that represents the splitting and rearrangement requirement
	// used when this DataSource was created.
	DataRearrangement *string `type:"string"`

	// The total number of observations contained in the data files that the DataSource
	// references.
	DataSizeInBytes *int64 `type:"long"`

	// The ID that is assigned to the DataSource during creation.
	DataSourceId *string `min:"1" type:"string"`

	// A timestamp represented in epoch time.
	FinishedAt *time.Time `type:"timestamp"`

	// The time of the most recent edit to the BatchPrediction. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// A description of the most recent details about creating the DataSource.
	Message *string `type:"string"`

	// A user-supplied name or description of the DataSource.
	Name *string `type:"string"`

	// The number of data files referenced by the DataSource.
	NumberOfFiles *int64 `type:"long"`

	// The datasource details that are specific to Amazon RDS.
	RDSMetadata *RDSMetadata `type:"structure"`

	// Describes the DataSource details specific to Amazon Redshift.
	RedshiftMetadata *RedshiftMetadata `type:"structure"`

	// The Amazon Resource Name (ARN) of an AWS IAM Role (https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts),
	// such as the following: arn:aws:iam::account:role/rolename.
	RoleARN *string `min:"1" type:"string"`

	// A timestamp represented in epoch time.
	StartedAt *time.Time `type:"timestamp"`

	// The current status of the DataSource. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    create a DataSource.
	//
	//    * INPROGRESS - The creation process is underway.
	//
	//    * FAILED - The request to create a DataSource did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The creation process completed successfully.
	//
	//    * DELETED - The DataSource is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`
	// contains filtered or unexported fields
}

Represents the output of the GetDataSource operation.

The content consists of the detailed metadata and data file information and the current status of the DataSource.

func (DataSource) GoString added in v0.6.5

func (s DataSource) 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 (*DataSource) SetComputeStatistics added in v1.5.0

func (s *DataSource) SetComputeStatistics(v bool) *DataSource

SetComputeStatistics sets the ComputeStatistics field's value.

func (*DataSource) SetComputeTime added in v1.5.0

func (s *DataSource) SetComputeTime(v int64) *DataSource

SetComputeTime sets the ComputeTime field's value.

func (*DataSource) SetCreatedAt added in v1.5.0

func (s *DataSource) SetCreatedAt(v time.Time) *DataSource

SetCreatedAt sets the CreatedAt field's value.

func (*DataSource) SetCreatedByIamUser added in v1.5.0

func (s *DataSource) SetCreatedByIamUser(v string) *DataSource

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*DataSource) SetDataLocationS3 added in v1.5.0

func (s *DataSource) SetDataLocationS3(v string) *DataSource

SetDataLocationS3 sets the DataLocationS3 field's value.

func (*DataSource) SetDataRearrangement added in v1.5.0

func (s *DataSource) SetDataRearrangement(v string) *DataSource

SetDataRearrangement sets the DataRearrangement field's value.

func (*DataSource) SetDataSizeInBytes added in v1.5.0

func (s *DataSource) SetDataSizeInBytes(v int64) *DataSource

SetDataSizeInBytes sets the DataSizeInBytes field's value.

func (*DataSource) SetDataSourceId added in v1.5.0

func (s *DataSource) SetDataSourceId(v string) *DataSource

SetDataSourceId sets the DataSourceId field's value.

func (*DataSource) SetFinishedAt added in v1.5.0

func (s *DataSource) SetFinishedAt(v time.Time) *DataSource

SetFinishedAt sets the FinishedAt field's value.

func (*DataSource) SetLastUpdatedAt added in v1.5.0

func (s *DataSource) SetLastUpdatedAt(v time.Time) *DataSource

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*DataSource) SetMessage added in v1.5.0

func (s *DataSource) SetMessage(v string) *DataSource

SetMessage sets the Message field's value.

func (*DataSource) SetName added in v1.5.0

func (s *DataSource) SetName(v string) *DataSource

SetName sets the Name field's value.

func (*DataSource) SetNumberOfFiles added in v1.5.0

func (s *DataSource) SetNumberOfFiles(v int64) *DataSource

SetNumberOfFiles sets the NumberOfFiles field's value.

func (*DataSource) SetRDSMetadata added in v1.5.0

func (s *DataSource) SetRDSMetadata(v *RDSMetadata) *DataSource

SetRDSMetadata sets the RDSMetadata field's value.

func (*DataSource) SetRedshiftMetadata added in v1.5.0

func (s *DataSource) SetRedshiftMetadata(v *RedshiftMetadata) *DataSource

SetRedshiftMetadata sets the RedshiftMetadata field's value.

func (*DataSource) SetRoleARN added in v1.5.0

func (s *DataSource) SetRoleARN(v string) *DataSource

SetRoleARN sets the RoleARN field's value.

func (*DataSource) SetStartedAt added in v1.5.0

func (s *DataSource) SetStartedAt(v time.Time) *DataSource

SetStartedAt sets the StartedAt field's value.

func (*DataSource) SetStatus added in v1.5.0

func (s *DataSource) SetStatus(v string) *DataSource

SetStatus sets the Status field's value.

func (DataSource) String added in v0.6.5

func (s DataSource) 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 DeleteBatchPredictionInput

type DeleteBatchPredictionInput struct {

	// A user-supplied ID that uniquely identifies the BatchPrediction.
	//
	// BatchPredictionId is a required field
	BatchPredictionId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBatchPredictionInput) GoString added in v0.6.5

func (s DeleteBatchPredictionInput) 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 (*DeleteBatchPredictionInput) SetBatchPredictionId added in v1.5.0

func (s *DeleteBatchPredictionInput) SetBatchPredictionId(v string) *DeleteBatchPredictionInput

SetBatchPredictionId sets the BatchPredictionId field's value.

func (DeleteBatchPredictionInput) String added in v0.6.5

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 (*DeleteBatchPredictionInput) Validate added in v1.1.21

func (s *DeleteBatchPredictionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBatchPredictionOutput

type DeleteBatchPredictionOutput struct {

	// A user-supplied ID that uniquely identifies the BatchPrediction. This value
	// should be identical to the value of the BatchPredictionID in the request.
	BatchPredictionId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DeleteBatchPrediction operation.

You can use the GetBatchPrediction operation and check the value of the Status parameter to see whether a BatchPrediction is marked as DELETED.

func (DeleteBatchPredictionOutput) GoString added in v0.6.5

func (s DeleteBatchPredictionOutput) 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 (*DeleteBatchPredictionOutput) SetBatchPredictionId added in v1.5.0

SetBatchPredictionId sets the BatchPredictionId field's value.

func (DeleteBatchPredictionOutput) String added in v0.6.5

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 DeleteDataSourceInput

type DeleteDataSourceInput struct {

	// A user-supplied ID that uniquely identifies the DataSource.
	//
	// DataSourceId is a required field
	DataSourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSourceInput) GoString added in v0.6.5

func (s DeleteDataSourceInput) 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 (*DeleteDataSourceInput) SetDataSourceId added in v1.5.0

func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput

SetDataSourceId sets the DataSourceId field's value.

func (DeleteDataSourceInput) String added in v0.6.5

func (s DeleteDataSourceInput) 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 (*DeleteDataSourceInput) Validate added in v1.1.21

func (s *DeleteDataSourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDataSourceOutput

type DeleteDataSourceOutput struct {

	// A user-supplied ID that uniquely identifies the DataSource. This value should
	// be identical to the value of the DataSourceID in the request.
	DataSourceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DeleteDataSource operation.

func (DeleteDataSourceOutput) GoString added in v0.6.5

func (s DeleteDataSourceOutput) 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 (*DeleteDataSourceOutput) SetDataSourceId added in v1.5.0

func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput

SetDataSourceId sets the DataSourceId field's value.

func (DeleteDataSourceOutput) String added in v0.6.5

func (s DeleteDataSourceOutput) 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 DeleteEvaluationInput

type DeleteEvaluationInput struct {

	// A user-supplied ID that uniquely identifies the Evaluation to delete.
	//
	// EvaluationId is a required field
	EvaluationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEvaluationInput) GoString added in v0.6.5

func (s DeleteEvaluationInput) 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 (*DeleteEvaluationInput) SetEvaluationId added in v1.5.0

func (s *DeleteEvaluationInput) SetEvaluationId(v string) *DeleteEvaluationInput

SetEvaluationId sets the EvaluationId field's value.

func (DeleteEvaluationInput) String added in v0.6.5

func (s DeleteEvaluationInput) 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 (*DeleteEvaluationInput) Validate added in v1.1.21

func (s *DeleteEvaluationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEvaluationOutput

type DeleteEvaluationOutput struct {

	// A user-supplied ID that uniquely identifies the Evaluation. This value should
	// be identical to the value of the EvaluationId in the request.
	EvaluationId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DeleteEvaluation operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.

You can use the GetEvaluation operation and check the value of the Status parameter to see whether an Evaluation is marked as DELETED.

func (DeleteEvaluationOutput) GoString added in v0.6.5

func (s DeleteEvaluationOutput) 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 (*DeleteEvaluationOutput) SetEvaluationId added in v1.5.0

func (s *DeleteEvaluationOutput) SetEvaluationId(v string) *DeleteEvaluationOutput

SetEvaluationId sets the EvaluationId field's value.

func (DeleteEvaluationOutput) String added in v0.6.5

func (s DeleteEvaluationOutput) 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 DeleteMLModelInput

type DeleteMLModelInput struct {

	// A user-supplied ID that uniquely identifies the MLModel.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMLModelInput) GoString added in v0.6.5

func (s DeleteMLModelInput) 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 (*DeleteMLModelInput) SetMLModelId added in v1.5.0

func (s *DeleteMLModelInput) SetMLModelId(v string) *DeleteMLModelInput

SetMLModelId sets the MLModelId field's value.

func (DeleteMLModelInput) String added in v0.6.5

func (s DeleteMLModelInput) 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 (*DeleteMLModelInput) Validate added in v1.1.21

func (s *DeleteMLModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMLModelOutput

type DeleteMLModelOutput struct {

	// A user-supplied ID that uniquely identifies the MLModel. This value should
	// be identical to the value of the MLModelID in the request.
	MLModelId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a DeleteMLModel operation.

You can use the GetMLModel operation and check the value of the Status parameter to see whether an MLModel is marked as DELETED.

func (DeleteMLModelOutput) GoString added in v0.6.5

func (s DeleteMLModelOutput) 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 (*DeleteMLModelOutput) SetMLModelId added in v1.5.0

func (s *DeleteMLModelOutput) SetMLModelId(v string) *DeleteMLModelOutput

SetMLModelId sets the MLModelId field's value.

func (DeleteMLModelOutput) String added in v0.6.5

func (s DeleteMLModelOutput) 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 DeleteRealtimeEndpointInput

type DeleteRealtimeEndpointInput struct {

	// The ID assigned to the MLModel during creation.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRealtimeEndpointInput) GoString added in v0.6.5

func (s DeleteRealtimeEndpointInput) 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 (*DeleteRealtimeEndpointInput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (DeleteRealtimeEndpointInput) String added in v0.6.5

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 (*DeleteRealtimeEndpointInput) Validate added in v1.1.21

func (s *DeleteRealtimeEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRealtimeEndpointOutput

type DeleteRealtimeEndpointOutput struct {

	// A user-supplied ID that uniquely identifies the MLModel. This value should
	// be identical to the value of the MLModelId in the request.
	MLModelId *string `min:"1" type:"string"`

	// The endpoint information of the MLModel
	RealtimeEndpointInfo *RealtimeEndpointInfo `type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of an DeleteRealtimeEndpoint operation.

The result contains the MLModelId and the endpoint information for the MLModel.

func (DeleteRealtimeEndpointOutput) GoString added in v0.6.5

func (s DeleteRealtimeEndpointOutput) 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 (*DeleteRealtimeEndpointOutput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (*DeleteRealtimeEndpointOutput) SetRealtimeEndpointInfo added in v1.5.0

SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value.

func (DeleteRealtimeEndpointOutput) String added in v0.6.5

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 DeleteTagsInput added in v1.1.33

type DeleteTagsInput struct {

	// The ID of the tagged ML object. For example, exampleModelId.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The type of the tagged ML object.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"`

	// One or more tags to delete.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTagsInput) GoString added in v1.1.33

func (s DeleteTagsInput) 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 (*DeleteTagsInput) SetResourceId added in v1.5.0

func (s *DeleteTagsInput) SetResourceId(v string) *DeleteTagsInput

SetResourceId sets the ResourceId field's value.

func (*DeleteTagsInput) SetResourceType added in v1.5.0

func (s *DeleteTagsInput) SetResourceType(v string) *DeleteTagsInput

SetResourceType sets the ResourceType field's value.

func (*DeleteTagsInput) SetTagKeys added in v1.5.0

func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput

SetTagKeys sets the TagKeys field's value.

func (DeleteTagsInput) String added in v1.1.33

func (s DeleteTagsInput) 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 (*DeleteTagsInput) Validate added in v1.1.33

func (s *DeleteTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTagsOutput added in v1.1.33

type DeleteTagsOutput struct {

	// The ID of the ML object from which tags were deleted.
	ResourceId *string `min:"1" type:"string"`

	// The type of the ML object from which tags were deleted.
	ResourceType *string `type:"string" enum:"TaggableResourceType"`
	// contains filtered or unexported fields
}

Amazon ML returns the following elements.

func (DeleteTagsOutput) GoString added in v1.1.33

func (s DeleteTagsOutput) 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 (*DeleteTagsOutput) SetResourceId added in v1.5.0

func (s *DeleteTagsOutput) SetResourceId(v string) *DeleteTagsOutput

SetResourceId sets the ResourceId field's value.

func (*DeleteTagsOutput) SetResourceType added in v1.5.0

func (s *DeleteTagsOutput) SetResourceType(v string) *DeleteTagsOutput

SetResourceType sets the ResourceType field's value.

func (DeleteTagsOutput) String added in v1.1.33

func (s DeleteTagsOutput) 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 DescribeBatchPredictionsInput

type DescribeBatchPredictionsInput struct {

	// The equal to operator. The BatchPrediction results will have FilterVariable
	// values that exactly match the value specified with EQ.
	EQ *string `type:"string"`

	// Use one of the following variables to filter a list of BatchPrediction:
	//
	//    * CreatedAt - Sets the search criteria to the BatchPrediction creation
	//    date.
	//
	//    * Status - Sets the search criteria to the BatchPrediction status.
	//
	//    * Name - Sets the search criteria to the contents of the BatchPrediction
	//    Name.
	//
	//    * IAMUser - Sets the search criteria to the user account that invoked
	//    the BatchPrediction creation.
	//
	//    * MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction.
	//
	//    * DataSourceId - Sets the search criteria to the DataSource used in the
	//    BatchPrediction.
	//
	//    * DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction.
	//    The URL can identify either a file or an Amazon Simple Storage Solution
	//    (Amazon S3) bucket or directory.
	FilterVariable *string `type:"string" enum:"BatchPredictionFilterVariable"`

	// The greater than or equal to operator. The BatchPrediction results will have
	// FilterVariable values that are greater than or equal to the value specified
	// with GE.
	GE *string `type:"string"`

	// The greater than operator. The BatchPrediction results will have FilterVariable
	// values that are greater than the value specified with GT.
	GT *string `type:"string"`

	// The less than or equal to operator. The BatchPrediction results will have
	// FilterVariable values that are less than or equal to the value specified
	// with LE.
	LE *string `type:"string"`

	// The less than operator. The BatchPrediction results will have FilterVariable
	// values that are less than the value specified with LT.
	LT *string `type:"string"`

	// The number of pages of information to include in the result. The range of
	// acceptable values is 1 through 100. The default value is 100.
	Limit *int64 `min:"1" type:"integer"`

	// The not equal to operator. The BatchPrediction results will have FilterVariable
	// values not equal to the value specified with NE.
	NE *string `type:"string"`

	// An ID of the page in the paginated results.
	NextToken *string `type:"string"`

	// A string that is found at the beginning of a variable, such as Name or Id.
	//
	// For example, a Batch Prediction operation could have the Name 2014-09-09-HolidayGiftMailer.
	// To search for this BatchPrediction, select Name for the FilterVariable and
	// any of the following strings for the Prefix:
	//
	//    * 2014-09
	//
	//    * 2014-09-09
	//
	//    * 2014-09-09-Holiday
	Prefix *string `type:"string"`

	// A two-value parameter that determines the sequence of the resulting list
	// of MLModels.
	//
	//    * asc - Arranges the list in ascending order (A-Z, 0-9).
	//
	//    * dsc - Arranges the list in descending order (Z-A, 9-0).
	//
	// Results are sorted by FilterVariable.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (DescribeBatchPredictionsInput) GoString added in v0.6.5

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 (*DescribeBatchPredictionsInput) SetEQ added in v1.5.0

SetEQ sets the EQ field's value.

func (*DescribeBatchPredictionsInput) SetFilterVariable added in v1.5.0

SetFilterVariable sets the FilterVariable field's value.

func (*DescribeBatchPredictionsInput) SetGE added in v1.5.0

SetGE sets the GE field's value.

func (*DescribeBatchPredictionsInput) SetGT added in v1.5.0

SetGT sets the GT field's value.

func (*DescribeBatchPredictionsInput) SetLE added in v1.5.0

SetLE sets the LE field's value.

func (*DescribeBatchPredictionsInput) SetLT added in v1.5.0

SetLT sets the LT field's value.

func (*DescribeBatchPredictionsInput) SetLimit added in v1.5.0

SetLimit sets the Limit field's value.

func (*DescribeBatchPredictionsInput) SetNE added in v1.5.0

SetNE sets the NE field's value.

func (*DescribeBatchPredictionsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeBatchPredictionsInput) SetPrefix added in v1.5.0

SetPrefix sets the Prefix field's value.

func (*DescribeBatchPredictionsInput) SetSortOrder added in v1.5.0

SetSortOrder sets the SortOrder field's value.

func (DescribeBatchPredictionsInput) String added in v0.6.5

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 (*DescribeBatchPredictionsInput) Validate added in v1.1.21

func (s *DescribeBatchPredictionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBatchPredictionsOutput

type DescribeBatchPredictionsOutput struct {

	// The ID of the next page in the paginated results that indicates at least
	// one more page follows.
	NextToken *string `type:"string"`

	// A list of BatchPrediction objects that meet the search criteria.
	Results []*BatchPrediction `type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeBatchPredictions operation. The content is essentially a list of BatchPredictions.

func (DescribeBatchPredictionsOutput) GoString added in v0.6.5

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 (*DescribeBatchPredictionsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeBatchPredictionsOutput) SetResults added in v1.5.0

SetResults sets the Results field's value.

func (DescribeBatchPredictionsOutput) String added in v0.6.5

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 DescribeDataSourcesInput

type DescribeDataSourcesInput struct {

	// The equal to operator. The DataSource results will have FilterVariable values
	// that exactly match the value specified with EQ.
	EQ *string `type:"string"`

	// Use one of the following variables to filter a list of DataSource:
	//
	//    * CreatedAt - Sets the search criteria to DataSource creation dates.
	//
	//    * Status - Sets the search criteria to DataSource statuses.
	//
	//    * Name - Sets the search criteria to the contents of DataSource Name.
	//
	//    * DataUri - Sets the search criteria to the URI of data files used to
	//    create the DataSource. The URI can identify either a file or an Amazon
	//    Simple Storage Service (Amazon S3) bucket or directory.
	//
	//    * IAMUser - Sets the search criteria to the user account that invoked
	//    the DataSource creation.
	FilterVariable *string `type:"string" enum:"DataSourceFilterVariable"`

	// The greater than or equal to operator. The DataSource results will have FilterVariable
	// values that are greater than or equal to the value specified with GE.
	GE *string `type:"string"`

	// The greater than operator. The DataSource results will have FilterVariable
	// values that are greater than the value specified with GT.
	GT *string `type:"string"`

	// The less than or equal to operator. The DataSource results will have FilterVariable
	// values that are less than or equal to the value specified with LE.
	LE *string `type:"string"`

	// The less than operator. The DataSource results will have FilterVariable values
	// that are less than the value specified with LT.
	LT *string `type:"string"`

	// The maximum number of DataSource to include in the result.
	Limit *int64 `min:"1" type:"integer"`

	// The not equal to operator. The DataSource results will have FilterVariable
	// values not equal to the value specified with NE.
	NE *string `type:"string"`

	// The ID of the page in the paginated results.
	NextToken *string `type:"string"`

	// A string that is found at the beginning of a variable, such as Name or Id.
	//
	// For example, a DataSource could have the Name 2014-09-09-HolidayGiftMailer.
	// To search for this DataSource, select Name for the FilterVariable and any
	// of the following strings for the Prefix:
	//
	//    * 2014-09
	//
	//    * 2014-09-09
	//
	//    * 2014-09-09-Holiday
	Prefix *string `type:"string"`

	// A two-value parameter that determines the sequence of the resulting list
	// of DataSource.
	//
	//    * asc - Arranges the list in ascending order (A-Z, 0-9).
	//
	//    * dsc - Arranges the list in descending order (Z-A, 9-0).
	//
	// Results are sorted by FilterVariable.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (DescribeDataSourcesInput) GoString added in v0.6.5

func (s DescribeDataSourcesInput) 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 (*DescribeDataSourcesInput) SetEQ added in v1.5.0

SetEQ sets the EQ field's value.

func (*DescribeDataSourcesInput) SetFilterVariable added in v1.5.0

func (s *DescribeDataSourcesInput) SetFilterVariable(v string) *DescribeDataSourcesInput

SetFilterVariable sets the FilterVariable field's value.

func (*DescribeDataSourcesInput) SetGE added in v1.5.0

SetGE sets the GE field's value.

func (*DescribeDataSourcesInput) SetGT added in v1.5.0

SetGT sets the GT field's value.

func (*DescribeDataSourcesInput) SetLE added in v1.5.0

SetLE sets the LE field's value.

func (*DescribeDataSourcesInput) SetLT added in v1.5.0

SetLT sets the LT field's value.

func (*DescribeDataSourcesInput) SetLimit added in v1.5.0

SetLimit sets the Limit field's value.

func (*DescribeDataSourcesInput) SetNE added in v1.5.0

SetNE sets the NE field's value.

func (*DescribeDataSourcesInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeDataSourcesInput) SetPrefix added in v1.5.0

SetPrefix sets the Prefix field's value.

func (*DescribeDataSourcesInput) SetSortOrder added in v1.5.0

SetSortOrder sets the SortOrder field's value.

func (DescribeDataSourcesInput) String added in v0.6.5

func (s DescribeDataSourcesInput) 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 (*DescribeDataSourcesInput) Validate added in v1.1.21

func (s *DescribeDataSourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDataSourcesOutput

type DescribeDataSourcesOutput struct {

	// An ID of the next page in the paginated results that indicates at least one
	// more page follows.
	NextToken *string `type:"string"`

	// A list of DataSource that meet the search criteria.
	Results []*DataSource `type:"list"`
	// contains filtered or unexported fields
}

Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource.

func (DescribeDataSourcesOutput) GoString added in v0.6.5

func (s DescribeDataSourcesOutput) 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 (*DescribeDataSourcesOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeDataSourcesOutput) SetResults added in v1.5.0

SetResults sets the Results field's value.

func (DescribeDataSourcesOutput) String added in v0.6.5

func (s DescribeDataSourcesOutput) 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 DescribeEvaluationsInput

type DescribeEvaluationsInput struct {

	// The equal to operator. The Evaluation results will have FilterVariable values
	// that exactly match the value specified with EQ.
	EQ *string `type:"string"`

	// Use one of the following variable to filter a list of Evaluation objects:
	//
	//    * CreatedAt - Sets the search criteria to the Evaluation creation date.
	//
	//    * Status - Sets the search criteria to the Evaluation status.
	//
	//    * Name - Sets the search criteria to the contents of Evaluation Name.
	//
	//    * IAMUser - Sets the search criteria to the user account that invoked
	//    an Evaluation.
	//
	//    * MLModelId - Sets the search criteria to the MLModel that was evaluated.
	//
	//    * DataSourceId - Sets the search criteria to the DataSource used in Evaluation.
	//
	//    * DataUri - Sets the search criteria to the data file(s) used in Evaluation.
	//    The URL can identify either a file or an Amazon Simple Storage Solution
	//    (Amazon S3) bucket or directory.
	FilterVariable *string `type:"string" enum:"EvaluationFilterVariable"`

	// The greater than or equal to operator. The Evaluation results will have FilterVariable
	// values that are greater than or equal to the value specified with GE.
	GE *string `type:"string"`

	// The greater than operator. The Evaluation results will have FilterVariable
	// values that are greater than the value specified with GT.
	GT *string `type:"string"`

	// The less than or equal to operator. The Evaluation results will have FilterVariable
	// values that are less than or equal to the value specified with LE.
	LE *string `type:"string"`

	// The less than operator. The Evaluation results will have FilterVariable values
	// that are less than the value specified with LT.
	LT *string `type:"string"`

	// The maximum number of Evaluation to include in the result.
	Limit *int64 `min:"1" type:"integer"`

	// The not equal to operator. The Evaluation results will have FilterVariable
	// values not equal to the value specified with NE.
	NE *string `type:"string"`

	// The ID of the page in the paginated results.
	NextToken *string `type:"string"`

	// A string that is found at the beginning of a variable, such as Name or Id.
	//
	// For example, an Evaluation could have the Name 2014-09-09-HolidayGiftMailer.
	// To search for this Evaluation, select Name for the FilterVariable and any
	// of the following strings for the Prefix:
	//
	//    * 2014-09
	//
	//    * 2014-09-09
	//
	//    * 2014-09-09-Holiday
	Prefix *string `type:"string"`

	// A two-value parameter that determines the sequence of the resulting list
	// of Evaluation.
	//
	//    * asc - Arranges the list in ascending order (A-Z, 0-9).
	//
	//    * dsc - Arranges the list in descending order (Z-A, 9-0).
	//
	// Results are sorted by FilterVariable.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (DescribeEvaluationsInput) GoString added in v0.6.5

func (s DescribeEvaluationsInput) 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 (*DescribeEvaluationsInput) SetEQ added in v1.5.0

SetEQ sets the EQ field's value.

func (*DescribeEvaluationsInput) SetFilterVariable added in v1.5.0

func (s *DescribeEvaluationsInput) SetFilterVariable(v string) *DescribeEvaluationsInput

SetFilterVariable sets the FilterVariable field's value.

func (*DescribeEvaluationsInput) SetGE added in v1.5.0

SetGE sets the GE field's value.

func (*DescribeEvaluationsInput) SetGT added in v1.5.0

SetGT sets the GT field's value.

func (*DescribeEvaluationsInput) SetLE added in v1.5.0

SetLE sets the LE field's value.

func (*DescribeEvaluationsInput) SetLT added in v1.5.0

SetLT sets the LT field's value.

func (*DescribeEvaluationsInput) SetLimit added in v1.5.0

SetLimit sets the Limit field's value.

func (*DescribeEvaluationsInput) SetNE added in v1.5.0

SetNE sets the NE field's value.

func (*DescribeEvaluationsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeEvaluationsInput) SetPrefix added in v1.5.0

SetPrefix sets the Prefix field's value.

func (*DescribeEvaluationsInput) SetSortOrder added in v1.5.0

SetSortOrder sets the SortOrder field's value.

func (DescribeEvaluationsInput) String added in v0.6.5

func (s DescribeEvaluationsInput) 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 (*DescribeEvaluationsInput) Validate added in v1.1.21

func (s *DescribeEvaluationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEvaluationsOutput

type DescribeEvaluationsOutput struct {

	// The ID of the next page in the paginated results that indicates at least
	// one more page follows.
	NextToken *string `type:"string"`

	// A list of Evaluation that meet the search criteria.
	Results []*Evaluation `type:"list"`
	// contains filtered or unexported fields
}

Represents the query results from a DescribeEvaluations operation. The content is essentially a list of Evaluation.

func (DescribeEvaluationsOutput) GoString added in v0.6.5

func (s DescribeEvaluationsOutput) 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 (*DescribeEvaluationsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeEvaluationsOutput) SetResults added in v1.5.0

SetResults sets the Results field's value.

func (DescribeEvaluationsOutput) String added in v0.6.5

func (s DescribeEvaluationsOutput) 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 DescribeMLModelsInput

type DescribeMLModelsInput struct {

	// The equal to operator. The MLModel results will have FilterVariable values
	// that exactly match the value specified with EQ.
	EQ *string `type:"string"`

	// Use one of the following variables to filter a list of MLModel:
	//
	//    * CreatedAt - Sets the search criteria to MLModel creation date.
	//
	//    * Status - Sets the search criteria to MLModel status.
	//
	//    * Name - Sets the search criteria to the contents of MLModel Name.
	//
	//    * IAMUser - Sets the search criteria to the user account that invoked
	//    the MLModel creation.
	//
	//    * TrainingDataSourceId - Sets the search criteria to the DataSource used
	//    to train one or more MLModel.
	//
	//    * RealtimeEndpointStatus - Sets the search criteria to the MLModel real-time
	//    endpoint status.
	//
	//    * MLModelType - Sets the search criteria to MLModel type: binary, regression,
	//    or multi-class.
	//
	//    * Algorithm - Sets the search criteria to the algorithm that the MLModel
	//    uses.
	//
	//    * TrainingDataURI - Sets the search criteria to the data file(s) used
	//    in training a MLModel. The URL can identify either a file or an Amazon
	//    Simple Storage Service (Amazon S3) bucket or directory.
	FilterVariable *string `type:"string" enum:"MLModelFilterVariable"`

	// The greater than or equal to operator. The MLModel results will have FilterVariable
	// values that are greater than or equal to the value specified with GE.
	GE *string `type:"string"`

	// The greater than operator. The MLModel results will have FilterVariable values
	// that are greater than the value specified with GT.
	GT *string `type:"string"`

	// The less than or equal to operator. The MLModel results will have FilterVariable
	// values that are less than or equal to the value specified with LE.
	LE *string `type:"string"`

	// The less than operator. The MLModel results will have FilterVariable values
	// that are less than the value specified with LT.
	LT *string `type:"string"`

	// The number of pages of information to include in the result. The range of
	// acceptable values is 1 through 100. The default value is 100.
	Limit *int64 `min:"1" type:"integer"`

	// The not equal to operator. The MLModel results will have FilterVariable values
	// not equal to the value specified with NE.
	NE *string `type:"string"`

	// The ID of the page in the paginated results.
	NextToken *string `type:"string"`

	// A string that is found at the beginning of a variable, such as Name or Id.
	//
	// For example, an MLModel could have the Name 2014-09-09-HolidayGiftMailer.
	// To search for this MLModel, select Name for the FilterVariable and any of
	// the following strings for the Prefix:
	//
	//    * 2014-09
	//
	//    * 2014-09-09
	//
	//    * 2014-09-09-Holiday
	Prefix *string `type:"string"`

	// A two-value parameter that determines the sequence of the resulting list
	// of MLModel.
	//
	//    * asc - Arranges the list in ascending order (A-Z, 0-9).
	//
	//    * dsc - Arranges the list in descending order (Z-A, 9-0).
	//
	// Results are sorted by FilterVariable.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (DescribeMLModelsInput) GoString added in v0.6.5

func (s DescribeMLModelsInput) 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 (*DescribeMLModelsInput) SetEQ added in v1.5.0

SetEQ sets the EQ field's value.

func (*DescribeMLModelsInput) SetFilterVariable added in v1.5.0

func (s *DescribeMLModelsInput) SetFilterVariable(v string) *DescribeMLModelsInput

SetFilterVariable sets the FilterVariable field's value.

func (*DescribeMLModelsInput) SetGE added in v1.5.0

SetGE sets the GE field's value.

func (*DescribeMLModelsInput) SetGT added in v1.5.0

SetGT sets the GT field's value.

func (*DescribeMLModelsInput) SetLE added in v1.5.0

SetLE sets the LE field's value.

func (*DescribeMLModelsInput) SetLT added in v1.5.0

SetLT sets the LT field's value.

func (*DescribeMLModelsInput) SetLimit added in v1.5.0

SetLimit sets the Limit field's value.

func (*DescribeMLModelsInput) SetNE added in v1.5.0

SetNE sets the NE field's value.

func (*DescribeMLModelsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeMLModelsInput) SetPrefix added in v1.5.0

SetPrefix sets the Prefix field's value.

func (*DescribeMLModelsInput) SetSortOrder added in v1.5.0

SetSortOrder sets the SortOrder field's value.

func (DescribeMLModelsInput) String added in v0.6.5

func (s DescribeMLModelsInput) 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 (*DescribeMLModelsInput) Validate added in v1.1.21

func (s *DescribeMLModelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeMLModelsOutput

type DescribeMLModelsOutput struct {

	// The ID of the next page in the paginated results that indicates at least
	// one more page follows.
	NextToken *string `type:"string"`

	// A list of MLModel that meet the search criteria.
	Results []*MLModel `type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a DescribeMLModels operation. The content is essentially a list of MLModel.

func (DescribeMLModelsOutput) GoString added in v0.6.5

func (s DescribeMLModelsOutput) 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 (*DescribeMLModelsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeMLModelsOutput) SetResults added in v1.5.0

SetResults sets the Results field's value.

func (DescribeMLModelsOutput) String added in v0.6.5

func (s DescribeMLModelsOutput) 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 DescribeTagsInput added in v1.1.33

type DescribeTagsInput struct {

	// The ID of the ML object. For example, exampleModelId.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The type of the ML object.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"`
	// contains filtered or unexported fields
}

func (DescribeTagsInput) GoString added in v1.1.33

func (s DescribeTagsInput) 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 (*DescribeTagsInput) SetResourceId added in v1.5.0

func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput

SetResourceId sets the ResourceId field's value.

func (*DescribeTagsInput) SetResourceType added in v1.5.0

func (s *DescribeTagsInput) SetResourceType(v string) *DescribeTagsInput

SetResourceType sets the ResourceType field's value.

func (DescribeTagsInput) String added in v1.1.33

func (s DescribeTagsInput) 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 (*DescribeTagsInput) Validate added in v1.1.33

func (s *DescribeTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTagsOutput added in v1.1.33

type DescribeTagsOutput struct {

	// The ID of the tagged ML object.
	ResourceId *string `min:"1" type:"string"`

	// The type of the tagged ML object.
	ResourceType *string `type:"string" enum:"TaggableResourceType"`

	// A list of tags associated with the ML object.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Amazon ML returns the following elements.

func (DescribeTagsOutput) GoString added in v1.1.33

func (s DescribeTagsOutput) 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 (*DescribeTagsOutput) SetResourceId added in v1.5.0

func (s *DescribeTagsOutput) SetResourceId(v string) *DescribeTagsOutput

SetResourceId sets the ResourceId field's value.

func (*DescribeTagsOutput) SetResourceType added in v1.5.0

func (s *DescribeTagsOutput) SetResourceType(v string) *DescribeTagsOutput

SetResourceType sets the ResourceType field's value.

func (*DescribeTagsOutput) SetTags added in v1.5.0

func (s *DescribeTagsOutput) SetTags(v []*Tag) *DescribeTagsOutput

SetTags sets the Tags field's value.

func (DescribeTagsOutput) String added in v1.1.33

func (s DescribeTagsOutput) 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 Evaluation

type Evaluation struct {

	// Long integer type that is a 64-bit signed number.
	ComputeTime *int64 `type:"long"`

	// The time that the Evaluation was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account that invoked the evaluation. The account type can be
	// either an AWS root account or an AWS Identity and Access Management (IAM)
	// user account.
	CreatedByIamUser *string `type:"string"`

	// The ID of the DataSource that is used to evaluate the MLModel.
	EvaluationDataSourceId *string `min:"1" type:"string"`

	// The ID that is assigned to the Evaluation at creation.
	EvaluationId *string `min:"1" type:"string"`

	// A timestamp represented in epoch time.
	FinishedAt *time.Time `type:"timestamp"`

	// The location and name of the data in Amazon Simple Storage Server (Amazon
	// S3) that is used in the evaluation.
	InputDataLocationS3 *string `type:"string"`

	// The time of the most recent edit to the Evaluation. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// The ID of the MLModel that is the focus of the evaluation.
	MLModelId *string `min:"1" type:"string"`

	// A description of the most recent details about evaluating the MLModel.
	Message *string `type:"string"`

	// A user-supplied name or description of the Evaluation.
	Name *string `type:"string"`

	// Measurements of how well the MLModel performed, using observations referenced
	// by the DataSource. One of the following metrics is returned, based on the
	// type of the MLModel:
	//
	//    * BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique
	//    to measure performance.
	//
	//    * RegressionRMSE: A regression MLModel uses the Root Mean Square Error
	//    (RMSE) technique to measure performance. RMSE measures the difference
	//    between predicted and actual values for a single variable.
	//
	//    * MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique
	//    to measure performance.
	//
	// For more information about performance metrics, please see the Amazon Machine
	// Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg).
	PerformanceMetrics *PerformanceMetrics `type:"structure"`

	// A timestamp represented in epoch time.
	StartedAt *time.Time `type:"timestamp"`

	// The status of the evaluation. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    evaluate an MLModel.
	//
	//    * INPROGRESS - The evaluation is underway.
	//
	//    * FAILED - The request to evaluate an MLModel did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The evaluation process completed successfully.
	//
	//    * DELETED - The Evaluation is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`
	// contains filtered or unexported fields
}

Represents the output of GetEvaluation operation.

The content consists of the detailed metadata and data file information and the current status of the Evaluation.

func (Evaluation) GoString added in v0.6.5

func (s Evaluation) 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 (*Evaluation) SetComputeTime added in v1.5.0

func (s *Evaluation) SetComputeTime(v int64) *Evaluation

SetComputeTime sets the ComputeTime field's value.

func (*Evaluation) SetCreatedAt added in v1.5.0

func (s *Evaluation) SetCreatedAt(v time.Time) *Evaluation

SetCreatedAt sets the CreatedAt field's value.

func (*Evaluation) SetCreatedByIamUser added in v1.5.0

func (s *Evaluation) SetCreatedByIamUser(v string) *Evaluation

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*Evaluation) SetEvaluationDataSourceId added in v1.5.0

func (s *Evaluation) SetEvaluationDataSourceId(v string) *Evaluation

SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.

func (*Evaluation) SetEvaluationId added in v1.5.0

func (s *Evaluation) SetEvaluationId(v string) *Evaluation

SetEvaluationId sets the EvaluationId field's value.

func (*Evaluation) SetFinishedAt added in v1.5.0

func (s *Evaluation) SetFinishedAt(v time.Time) *Evaluation

SetFinishedAt sets the FinishedAt field's value.

func (*Evaluation) SetInputDataLocationS3 added in v1.5.0

func (s *Evaluation) SetInputDataLocationS3(v string) *Evaluation

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*Evaluation) SetLastUpdatedAt added in v1.5.0

func (s *Evaluation) SetLastUpdatedAt(v time.Time) *Evaluation

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*Evaluation) SetMLModelId added in v1.5.0

func (s *Evaluation) SetMLModelId(v string) *Evaluation

SetMLModelId sets the MLModelId field's value.

func (*Evaluation) SetMessage added in v1.5.0

func (s *Evaluation) SetMessage(v string) *Evaluation

SetMessage sets the Message field's value.

func (*Evaluation) SetName added in v1.5.0

func (s *Evaluation) SetName(v string) *Evaluation

SetName sets the Name field's value.

func (*Evaluation) SetPerformanceMetrics added in v1.5.0

func (s *Evaluation) SetPerformanceMetrics(v *PerformanceMetrics) *Evaluation

SetPerformanceMetrics sets the PerformanceMetrics field's value.

func (*Evaluation) SetStartedAt added in v1.5.0

func (s *Evaluation) SetStartedAt(v time.Time) *Evaluation

SetStartedAt sets the StartedAt field's value.

func (*Evaluation) SetStatus added in v1.5.0

func (s *Evaluation) SetStatus(v string) *Evaluation

SetStatus sets the Status field's value.

func (Evaluation) String added in v0.6.5

func (s Evaluation) 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 GetBatchPredictionInput

type GetBatchPredictionInput struct {

	// An ID assigned to the BatchPrediction at creation.
	//
	// BatchPredictionId is a required field
	BatchPredictionId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBatchPredictionInput) GoString added in v0.6.5

func (s GetBatchPredictionInput) 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 (*GetBatchPredictionInput) SetBatchPredictionId added in v1.5.0

func (s *GetBatchPredictionInput) SetBatchPredictionId(v string) *GetBatchPredictionInput

SetBatchPredictionId sets the BatchPredictionId field's value.

func (GetBatchPredictionInput) String added in v0.6.5

func (s GetBatchPredictionInput) 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 (*GetBatchPredictionInput) Validate added in v1.1.21

func (s *GetBatchPredictionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBatchPredictionOutput

type GetBatchPredictionOutput struct {

	// The ID of the DataSource that was used to create the BatchPrediction.
	BatchPredictionDataSourceId *string `min:"1" type:"string"`

	// An ID assigned to the BatchPrediction at creation. This value should be identical
	// to the value of the BatchPredictionID in the request.
	BatchPredictionId *string `min:"1" type:"string"`

	// The approximate CPU time in milliseconds that Amazon Machine Learning spent
	// processing the BatchPrediction, normalized and scaled on computation resources.
	// ComputeTime is only available if the BatchPrediction is in the COMPLETED
	// state.
	ComputeTime *int64 `type:"long"`

	// The time when the BatchPrediction was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account that invoked the BatchPrediction. The account type can
	// be either an AWS root account or an AWS Identity and Access Management (IAM)
	// user account.
	CreatedByIamUser *string `type:"string"`

	// The epoch time when Amazon Machine Learning marked the BatchPrediction as
	// COMPLETED or FAILED. FinishedAt is only available when the BatchPrediction
	// is in the COMPLETED or FAILED state.
	FinishedAt *time.Time `type:"timestamp"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	InputDataLocationS3 *string `type:"string"`

	// The number of invalid records that Amazon Machine Learning saw while processing
	// the BatchPrediction.
	InvalidRecordCount *int64 `type:"long"`

	// The time of the most recent edit to BatchPrediction. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// A link to the file that contains logs of the CreateBatchPrediction operation.
	LogUri *string `type:"string"`

	// The ID of the MLModel that generated predictions for the BatchPrediction
	// request.
	MLModelId *string `min:"1" type:"string"`

	// A description of the most recent details about processing the batch prediction
	// request.
	Message *string `type:"string"`

	// A user-supplied name or description of the BatchPrediction.
	Name *string `type:"string"`

	// The location of an Amazon S3 bucket or directory to receive the operation
	// results.
	OutputUri *string `type:"string"`

	// The epoch time when Amazon Machine Learning marked the BatchPrediction as
	// INPROGRESS. StartedAt isn't available if the BatchPrediction is in the PENDING
	// state.
	StartedAt *time.Time `type:"timestamp"`

	// The status of the BatchPrediction, which can be one of the following values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    generate batch predictions.
	//
	//    * INPROGRESS - The batch predictions are in progress.
	//
	//    * FAILED - The request to perform a batch prediction did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The batch prediction process completed successfully.
	//
	//    * DELETED - The BatchPrediction is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`

	// The number of total records that Amazon Machine Learning saw while processing
	// the BatchPrediction.
	TotalRecordCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

Represents the output of a GetBatchPrediction operation and describes a BatchPrediction.

func (GetBatchPredictionOutput) GoString added in v0.6.5

func (s GetBatchPredictionOutput) 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 (*GetBatchPredictionOutput) SetBatchPredictionDataSourceId added in v1.5.0

func (s *GetBatchPredictionOutput) SetBatchPredictionDataSourceId(v string) *GetBatchPredictionOutput

SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.

func (*GetBatchPredictionOutput) SetBatchPredictionId added in v1.5.0

func (s *GetBatchPredictionOutput) SetBatchPredictionId(v string) *GetBatchPredictionOutput

SetBatchPredictionId sets the BatchPredictionId field's value.

func (*GetBatchPredictionOutput) SetComputeTime added in v1.5.0

SetComputeTime sets the ComputeTime field's value.

func (*GetBatchPredictionOutput) SetCreatedAt added in v1.5.0

SetCreatedAt sets the CreatedAt field's value.

func (*GetBatchPredictionOutput) SetCreatedByIamUser added in v1.5.0

func (s *GetBatchPredictionOutput) SetCreatedByIamUser(v string) *GetBatchPredictionOutput

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*GetBatchPredictionOutput) SetFinishedAt added in v1.5.0

SetFinishedAt sets the FinishedAt field's value.

func (*GetBatchPredictionOutput) SetInputDataLocationS3 added in v1.5.0

func (s *GetBatchPredictionOutput) SetInputDataLocationS3(v string) *GetBatchPredictionOutput

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*GetBatchPredictionOutput) SetInvalidRecordCount added in v1.5.0

func (s *GetBatchPredictionOutput) SetInvalidRecordCount(v int64) *GetBatchPredictionOutput

SetInvalidRecordCount sets the InvalidRecordCount field's value.

func (*GetBatchPredictionOutput) SetLastUpdatedAt added in v1.5.0

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*GetBatchPredictionOutput) SetLogUri added in v1.5.0

SetLogUri sets the LogUri field's value.

func (*GetBatchPredictionOutput) SetMLModelId added in v1.5.0

SetMLModelId sets the MLModelId field's value.

func (*GetBatchPredictionOutput) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (*GetBatchPredictionOutput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*GetBatchPredictionOutput) SetOutputUri added in v1.5.0

SetOutputUri sets the OutputUri field's value.

func (*GetBatchPredictionOutput) SetStartedAt added in v1.5.0

SetStartedAt sets the StartedAt field's value.

func (*GetBatchPredictionOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (*GetBatchPredictionOutput) SetTotalRecordCount added in v1.5.0

func (s *GetBatchPredictionOutput) SetTotalRecordCount(v int64) *GetBatchPredictionOutput

SetTotalRecordCount sets the TotalRecordCount field's value.

func (GetBatchPredictionOutput) String added in v0.6.5

func (s GetBatchPredictionOutput) 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 GetDataSourceInput

type GetDataSourceInput struct {

	// The ID assigned to the DataSource at creation.
	//
	// DataSourceId is a required field
	DataSourceId *string `min:"1" type:"string" required:"true"`

	// Specifies whether the GetDataSource operation should return DataSourceSchema.
	//
	// If true, DataSourceSchema is returned.
	//
	// If false, DataSourceSchema is not returned.
	Verbose *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (GetDataSourceInput) GoString added in v0.6.5

func (s GetDataSourceInput) 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 (*GetDataSourceInput) SetDataSourceId added in v1.5.0

func (s *GetDataSourceInput) SetDataSourceId(v string) *GetDataSourceInput

SetDataSourceId sets the DataSourceId field's value.

func (*GetDataSourceInput) SetVerbose added in v1.5.0

func (s *GetDataSourceInput) SetVerbose(v bool) *GetDataSourceInput

SetVerbose sets the Verbose field's value.

func (GetDataSourceInput) String added in v0.6.5

func (s GetDataSourceInput) 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 (*GetDataSourceInput) Validate added in v1.1.21

func (s *GetDataSourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDataSourceOutput

type GetDataSourceOutput struct {

	// The parameter is true if statistics need to be generated from the observation
	// data.
	ComputeStatistics *bool `type:"boolean"`

	// The approximate CPU time in milliseconds that Amazon Machine Learning spent
	// processing the DataSource, normalized and scaled on computation resources.
	// ComputeTime is only available if the DataSource is in the COMPLETED state
	// and the ComputeStatistics is set to true.
	ComputeTime *int64 `type:"long"`

	// The time that the DataSource was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account from which the DataSource was created. The account type
	// can be either an AWS root account or an AWS Identity and Access Management
	// (IAM) user account.
	CreatedByIamUser *string `type:"string"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	DataLocationS3 *string `type:"string"`

	// A JSON string that represents the splitting and rearrangement requirement
	// used when this DataSource was created.
	DataRearrangement *string `type:"string"`

	// The total size of observations in the data files.
	DataSizeInBytes *int64 `type:"long"`

	// The ID assigned to the DataSource at creation. This value should be identical
	// to the value of the DataSourceId in the request.
	DataSourceId *string `min:"1" type:"string"`

	// The schema used by all of the data files of this DataSource.
	//
	// Note: This parameter is provided as part of the verbose format.
	DataSourceSchema *string `type:"string"`

	// The epoch time when Amazon Machine Learning marked the DataSource as COMPLETED
	// or FAILED. FinishedAt is only available when the DataSource is in the COMPLETED
	// or FAILED state.
	FinishedAt *time.Time `type:"timestamp"`

	// The time of the most recent edit to the DataSource. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// A link to the file containing logs of CreateDataSourceFrom* operations.
	LogUri *string `type:"string"`

	// The user-supplied description of the most recent details about creating the
	// DataSource.
	Message *string `type:"string"`

	// A user-supplied name or description of the DataSource.
	Name *string `type:"string"`

	// The number of data files referenced by the DataSource.
	NumberOfFiles *int64 `type:"long"`

	// The datasource details that are specific to Amazon RDS.
	RDSMetadata *RDSMetadata `type:"structure"`

	// Describes the DataSource details specific to Amazon Redshift.
	RedshiftMetadata *RedshiftMetadata `type:"structure"`

	// The Amazon Resource Name (ARN) of an AWS IAM Role (https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts),
	// such as the following: arn:aws:iam::account:role/rolename.
	RoleARN *string `min:"1" type:"string"`

	// The epoch time when Amazon Machine Learning marked the DataSource as INPROGRESS.
	// StartedAt isn't available if the DataSource is in the PENDING state.
	StartedAt *time.Time `type:"timestamp"`

	// The current status of the DataSource. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon ML submitted a request to create a DataSource.
	//
	//    * INPROGRESS - The creation process is underway.
	//
	//    * FAILED - The request to create a DataSource did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The creation process completed successfully.
	//
	//    * DELETED - The DataSource is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`
	// contains filtered or unexported fields
}

Represents the output of a GetDataSource operation and describes a DataSource.

func (GetDataSourceOutput) GoString added in v0.6.5

func (s GetDataSourceOutput) 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 (*GetDataSourceOutput) SetComputeStatistics added in v1.5.0

func (s *GetDataSourceOutput) SetComputeStatistics(v bool) *GetDataSourceOutput

SetComputeStatistics sets the ComputeStatistics field's value.

func (*GetDataSourceOutput) SetComputeTime added in v1.5.0

func (s *GetDataSourceOutput) SetComputeTime(v int64) *GetDataSourceOutput

SetComputeTime sets the ComputeTime field's value.

func (*GetDataSourceOutput) SetCreatedAt added in v1.5.0

func (s *GetDataSourceOutput) SetCreatedAt(v time.Time) *GetDataSourceOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetDataSourceOutput) SetCreatedByIamUser added in v1.5.0

func (s *GetDataSourceOutput) SetCreatedByIamUser(v string) *GetDataSourceOutput

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*GetDataSourceOutput) SetDataLocationS3 added in v1.5.0

func (s *GetDataSourceOutput) SetDataLocationS3(v string) *GetDataSourceOutput

SetDataLocationS3 sets the DataLocationS3 field's value.

func (*GetDataSourceOutput) SetDataRearrangement added in v1.5.0

func (s *GetDataSourceOutput) SetDataRearrangement(v string) *GetDataSourceOutput

SetDataRearrangement sets the DataRearrangement field's value.

func (*GetDataSourceOutput) SetDataSizeInBytes added in v1.5.0

func (s *GetDataSourceOutput) SetDataSizeInBytes(v int64) *GetDataSourceOutput

SetDataSizeInBytes sets the DataSizeInBytes field's value.

func (*GetDataSourceOutput) SetDataSourceId added in v1.5.0

func (s *GetDataSourceOutput) SetDataSourceId(v string) *GetDataSourceOutput

SetDataSourceId sets the DataSourceId field's value.

func (*GetDataSourceOutput) SetDataSourceSchema added in v1.5.0

func (s *GetDataSourceOutput) SetDataSourceSchema(v string) *GetDataSourceOutput

SetDataSourceSchema sets the DataSourceSchema field's value.

func (*GetDataSourceOutput) SetFinishedAt added in v1.5.0

func (s *GetDataSourceOutput) SetFinishedAt(v time.Time) *GetDataSourceOutput

SetFinishedAt sets the FinishedAt field's value.

func (*GetDataSourceOutput) SetLastUpdatedAt added in v1.5.0

func (s *GetDataSourceOutput) SetLastUpdatedAt(v time.Time) *GetDataSourceOutput

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*GetDataSourceOutput) SetLogUri added in v1.5.0

SetLogUri sets the LogUri field's value.

func (*GetDataSourceOutput) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (*GetDataSourceOutput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*GetDataSourceOutput) SetNumberOfFiles added in v1.5.0

func (s *GetDataSourceOutput) SetNumberOfFiles(v int64) *GetDataSourceOutput

SetNumberOfFiles sets the NumberOfFiles field's value.

func (*GetDataSourceOutput) SetRDSMetadata added in v1.5.0

func (s *GetDataSourceOutput) SetRDSMetadata(v *RDSMetadata) *GetDataSourceOutput

SetRDSMetadata sets the RDSMetadata field's value.

func (*GetDataSourceOutput) SetRedshiftMetadata added in v1.5.0

func (s *GetDataSourceOutput) SetRedshiftMetadata(v *RedshiftMetadata) *GetDataSourceOutput

SetRedshiftMetadata sets the RedshiftMetadata field's value.

func (*GetDataSourceOutput) SetRoleARN added in v1.5.0

SetRoleARN sets the RoleARN field's value.

func (*GetDataSourceOutput) SetStartedAt added in v1.5.0

func (s *GetDataSourceOutput) SetStartedAt(v time.Time) *GetDataSourceOutput

SetStartedAt sets the StartedAt field's value.

func (*GetDataSourceOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (GetDataSourceOutput) String added in v0.6.5

func (s GetDataSourceOutput) 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 GetEvaluationInput

type GetEvaluationInput struct {

	// The ID of the Evaluation to retrieve. The evaluation of each MLModel is recorded
	// and cataloged. The ID provides the means to access the information.
	//
	// EvaluationId is a required field
	EvaluationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetEvaluationInput) GoString added in v0.6.5

func (s GetEvaluationInput) 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 (*GetEvaluationInput) SetEvaluationId added in v1.5.0

func (s *GetEvaluationInput) SetEvaluationId(v string) *GetEvaluationInput

SetEvaluationId sets the EvaluationId field's value.

func (GetEvaluationInput) String added in v0.6.5

func (s GetEvaluationInput) 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 (*GetEvaluationInput) Validate added in v1.1.21

func (s *GetEvaluationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEvaluationOutput

type GetEvaluationOutput struct {

	// The approximate CPU time in milliseconds that Amazon Machine Learning spent
	// processing the Evaluation, normalized and scaled on computation resources.
	// ComputeTime is only available if the Evaluation is in the COMPLETED state.
	ComputeTime *int64 `type:"long"`

	// The time that the Evaluation was created. The time is expressed in epoch
	// time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account that invoked the evaluation. The account type can be
	// either an AWS root account or an AWS Identity and Access Management (IAM)
	// user account.
	CreatedByIamUser *string `type:"string"`

	// The DataSource used for this evaluation.
	EvaluationDataSourceId *string `min:"1" type:"string"`

	// The evaluation ID which is same as the EvaluationId in the request.
	EvaluationId *string `min:"1" type:"string"`

	// The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED
	// or FAILED. FinishedAt is only available when the Evaluation is in the COMPLETED
	// or FAILED state.
	FinishedAt *time.Time `type:"timestamp"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	InputDataLocationS3 *string `type:"string"`

	// The time of the most recent edit to the Evaluation. The time is expressed
	// in epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// A link to the file that contains logs of the CreateEvaluation operation.
	LogUri *string `type:"string"`

	// The ID of the MLModel that was the focus of the evaluation.
	MLModelId *string `min:"1" type:"string"`

	// A description of the most recent details about evaluating the MLModel.
	Message *string `type:"string"`

	// A user-supplied name or description of the Evaluation.
	Name *string `type:"string"`

	// Measurements of how well the MLModel performed using observations referenced
	// by the DataSource. One of the following metric is returned based on the type
	// of the MLModel:
	//
	//    * BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique
	//    to measure performance.
	//
	//    * RegressionRMSE: A regression MLModel uses the Root Mean Square Error
	//    (RMSE) technique to measure performance. RMSE measures the difference
	//    between predicted and actual values for a single variable.
	//
	//    * MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique
	//    to measure performance.
	//
	// For more information about performance metrics, please see the Amazon Machine
	// Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg).
	PerformanceMetrics *PerformanceMetrics `type:"structure"`

	// The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS.
	// StartedAt isn't available if the Evaluation is in the PENDING state.
	StartedAt *time.Time `type:"timestamp"`

	// The status of the evaluation. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Language (Amazon ML) submitted a request to
	//    evaluate an MLModel.
	//
	//    * INPROGRESS - The evaluation is underway.
	//
	//    * FAILED - The request to evaluate an MLModel did not run to completion.
	//    It is not usable.
	//
	//    * COMPLETED - The evaluation process completed successfully.
	//
	//    * DELETED - The Evaluation is marked as deleted. It is not usable.
	Status *string `type:"string" enum:"EntityStatus"`
	// contains filtered or unexported fields
}

Represents the output of a GetEvaluation operation and describes an Evaluation.

func (GetEvaluationOutput) GoString added in v0.6.5

func (s GetEvaluationOutput) 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 (*GetEvaluationOutput) SetComputeTime added in v1.5.0

func (s *GetEvaluationOutput) SetComputeTime(v int64) *GetEvaluationOutput

SetComputeTime sets the ComputeTime field's value.

func (*GetEvaluationOutput) SetCreatedAt added in v1.5.0

func (s *GetEvaluationOutput) SetCreatedAt(v time.Time) *GetEvaluationOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetEvaluationOutput) SetCreatedByIamUser added in v1.5.0

func (s *GetEvaluationOutput) SetCreatedByIamUser(v string) *GetEvaluationOutput

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*GetEvaluationOutput) SetEvaluationDataSourceId added in v1.5.0

func (s *GetEvaluationOutput) SetEvaluationDataSourceId(v string) *GetEvaluationOutput

SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.

func (*GetEvaluationOutput) SetEvaluationId added in v1.5.0

func (s *GetEvaluationOutput) SetEvaluationId(v string) *GetEvaluationOutput

SetEvaluationId sets the EvaluationId field's value.

func (*GetEvaluationOutput) SetFinishedAt added in v1.5.0

func (s *GetEvaluationOutput) SetFinishedAt(v time.Time) *GetEvaluationOutput

SetFinishedAt sets the FinishedAt field's value.

func (*GetEvaluationOutput) SetInputDataLocationS3 added in v1.5.0

func (s *GetEvaluationOutput) SetInputDataLocationS3(v string) *GetEvaluationOutput

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*GetEvaluationOutput) SetLastUpdatedAt added in v1.5.0

func (s *GetEvaluationOutput) SetLastUpdatedAt(v time.Time) *GetEvaluationOutput

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*GetEvaluationOutput) SetLogUri added in v1.5.0

SetLogUri sets the LogUri field's value.

func (*GetEvaluationOutput) SetMLModelId added in v1.5.0

func (s *GetEvaluationOutput) SetMLModelId(v string) *GetEvaluationOutput

SetMLModelId sets the MLModelId field's value.

func (*GetEvaluationOutput) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (*GetEvaluationOutput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*GetEvaluationOutput) SetPerformanceMetrics added in v1.5.0

func (s *GetEvaluationOutput) SetPerformanceMetrics(v *PerformanceMetrics) *GetEvaluationOutput

SetPerformanceMetrics sets the PerformanceMetrics field's value.

func (*GetEvaluationOutput) SetStartedAt added in v1.5.0

func (s *GetEvaluationOutput) SetStartedAt(v time.Time) *GetEvaluationOutput

SetStartedAt sets the StartedAt field's value.

func (*GetEvaluationOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (GetEvaluationOutput) String added in v0.6.5

func (s GetEvaluationOutput) 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 GetMLModelInput

type GetMLModelInput struct {

	// The ID assigned to the MLModel at creation.
	//
	// MLModelId is a required field
	MLModelId *string `min:"1" type:"string" required:"true"`

	// Specifies whether the GetMLModel operation should return Recipe.
	//
	// If true, Recipe is returned.
	//
	// If false, Recipe is not returned.
	Verbose *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (GetMLModelInput) GoString added in v0.6.5

func (s GetMLModelInput) 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 (*GetMLModelInput) SetMLModelId added in v1.5.0

func (s *GetMLModelInput) SetMLModelId(v string) *GetMLModelInput

SetMLModelId sets the MLModelId field's value.

func (*GetMLModelInput) SetVerbose added in v1.5.0

func (s *GetMLModelInput) SetVerbose(v bool) *GetMLModelInput

SetVerbose sets the Verbose field's value.

func (GetMLModelInput) String added in v0.6.5

func (s GetMLModelInput) 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 (*GetMLModelInput) Validate added in v1.1.21

func (s *GetMLModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMLModelOutput

type GetMLModelOutput struct {

	// The approximate CPU time in milliseconds that Amazon Machine Learning spent
	// processing the MLModel, normalized and scaled on computation resources. ComputeTime
	// is only available if the MLModel is in the COMPLETED state.
	ComputeTime *int64 `type:"long"`

	// The time that the MLModel was created. The time is expressed in epoch time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account from which the MLModel was created. The account type
	// can be either an AWS root account or an AWS Identity and Access Management
	// (IAM) user account.
	CreatedByIamUser *string `type:"string"`

	// The current endpoint of the MLModel
	EndpointInfo *RealtimeEndpointInfo `type:"structure"`

	// The epoch time when Amazon Machine Learning marked the MLModel as COMPLETED
	// or FAILED. FinishedAt is only available when the MLModel is in the COMPLETED
	// or FAILED state.
	FinishedAt *time.Time `type:"timestamp"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	InputDataLocationS3 *string `type:"string"`

	// The time of the most recent edit to the MLModel. The time is expressed in
	// epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// A link to the file that contains logs of the CreateMLModel operation.
	LogUri *string `type:"string"`

	// The MLModel ID, which is same as the MLModelId in the request.
	MLModelId *string `min:"1" type:"string"`

	// Identifies the MLModel category. The following are the available types:
	//
	//    * REGRESSION -- Produces a numeric result. For example, "What price should
	//    a house be listed at?"
	//
	//    * BINARY -- Produces one of two possible results. For example, "Is this
	//    an e-commerce website?"
	//
	//    * MULTICLASS -- Produces one of several possible results. For example,
	//    "Is this a HIGH, LOW or MEDIUM risk trade?"
	MLModelType *string `type:"string" enum:"MLModelType"`

	// A description of the most recent details about accessing the MLModel.
	Message *string `type:"string"`

	// A user-supplied name or description of the MLModel.
	Name *string `type:"string"`

	// The recipe to use when training the MLModel. The Recipe provides detailed
	// information about the observation data to use during training, and manipulations
	// to perform on the observation data during training.
	//
	// Note: This parameter is provided as part of the verbose format.
	Recipe *string `type:"string"`

	// The schema used by all of the data files referenced by the DataSource.
	//
	// Note: This parameter is provided as part of the verbose format.
	Schema *string `type:"string"`

	// The scoring threshold is used in binary classification MLModel models. It
	// marks the boundary between a positive prediction and a negative prediction.
	//
	// Output values greater than or equal to the threshold receive a positive result
	// from the MLModel, such as true. Output values less than the threshold receive
	// a negative response from the MLModel, such as false.
	ScoreThreshold *float64 `type:"float"`

	// The time of the most recent edit to the ScoreThreshold. The time is expressed
	// in epoch time.
	ScoreThresholdLastUpdatedAt *time.Time `type:"timestamp"`

	// Long integer type that is a 64-bit signed number.
	SizeInBytes *int64 `type:"long"`

	// The epoch time when Amazon Machine Learning marked the MLModel as INPROGRESS.
	// StartedAt isn't available if the MLModel is in the PENDING state.
	StartedAt *time.Time `type:"timestamp"`

	// The current status of the MLModel. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    describe a MLModel.
	//
	//    * INPROGRESS - The request is processing.
	//
	//    * FAILED - The request did not run to completion. The ML model isn't usable.
	//
	//    * COMPLETED - The request completed successfully.
	//
	//    * DELETED - The MLModel is marked as deleted. It isn't usable.
	Status *string `type:"string" enum:"EntityStatus"`

	// The ID of the training DataSource.
	TrainingDataSourceId *string `min:"1" type:"string"`

	// A list of the training parameters in the MLModel. The list is implemented
	// as a map of key-value pairs.
	//
	// The following is the current set of training parameters:
	//
	//    * sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending
	//    on the input data, the size of the model might affect its performance.
	//    The value is an integer that ranges from 100000 to 2147483648. The default
	//    value is 33554432.
	//
	//    * sgd.maxPasses - The number of times that the training process traverses
	//    the observations to build the MLModel. The value is an integer that ranges
	//    from 1 to 10000. The default value is 10.
	//
	//    * sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling
	//    data improves a model's ability to find the optimal solution for a variety
	//    of data types. The valid values are auto and none. The default value is
	//    none. We strongly recommend that you shuffle your data.
	//
	//    * sgd.l1RegularizationAmount - The coefficient regularization L1 norm.
	//    It controls overfitting the data by penalizing large coefficients. This
	//    tends to drive coefficients to zero, resulting in a sparse feature set.
	//    If you use this parameter, start by specifying a small value, such as
	//    1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default
	//    is to not use L1 normalization. This parameter can't be used when L2 is
	//    specified. Use this parameter sparingly.
	//
	//    * sgd.l2RegularizationAmount - The coefficient regularization L2 norm.
	//    It controls overfitting the data by penalizing large coefficients. This
	//    tends to drive coefficients to small, nonzero values. If you use this
	//    parameter, start by specifying a small value, such as 1.0E-08. The value
	//    is a double that ranges from 0 to MAX_DOUBLE. The default is to not use
	//    L2 normalization. This parameter can't be used when L1 is specified. Use
	//    this parameter sparingly.
	TrainingParameters map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

Represents the output of a GetMLModel operation, and provides detailed information about a MLModel.

func (GetMLModelOutput) GoString added in v0.6.5

func (s GetMLModelOutput) 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 (*GetMLModelOutput) SetComputeTime added in v1.5.0

func (s *GetMLModelOutput) SetComputeTime(v int64) *GetMLModelOutput

SetComputeTime sets the ComputeTime field's value.

func (*GetMLModelOutput) SetCreatedAt added in v1.5.0

func (s *GetMLModelOutput) SetCreatedAt(v time.Time) *GetMLModelOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetMLModelOutput) SetCreatedByIamUser added in v1.5.0

func (s *GetMLModelOutput) SetCreatedByIamUser(v string) *GetMLModelOutput

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*GetMLModelOutput) SetEndpointInfo added in v1.5.0

func (s *GetMLModelOutput) SetEndpointInfo(v *RealtimeEndpointInfo) *GetMLModelOutput

SetEndpointInfo sets the EndpointInfo field's value.

func (*GetMLModelOutput) SetFinishedAt added in v1.5.0

func (s *GetMLModelOutput) SetFinishedAt(v time.Time) *GetMLModelOutput

SetFinishedAt sets the FinishedAt field's value.

func (*GetMLModelOutput) SetInputDataLocationS3 added in v1.5.0

func (s *GetMLModelOutput) SetInputDataLocationS3(v string) *GetMLModelOutput

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*GetMLModelOutput) SetLastUpdatedAt added in v1.5.0

func (s *GetMLModelOutput) SetLastUpdatedAt(v time.Time) *GetMLModelOutput

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*GetMLModelOutput) SetLogUri added in v1.5.0

func (s *GetMLModelOutput) SetLogUri(v string) *GetMLModelOutput

SetLogUri sets the LogUri field's value.

func (*GetMLModelOutput) SetMLModelId added in v1.5.0

func (s *GetMLModelOutput) SetMLModelId(v string) *GetMLModelOutput

SetMLModelId sets the MLModelId field's value.

func (*GetMLModelOutput) SetMLModelType added in v1.5.0

func (s *GetMLModelOutput) SetMLModelType(v string) *GetMLModelOutput

SetMLModelType sets the MLModelType field's value.

func (*GetMLModelOutput) SetMessage added in v1.5.0

func (s *GetMLModelOutput) SetMessage(v string) *GetMLModelOutput

SetMessage sets the Message field's value.

func (*GetMLModelOutput) SetName added in v1.5.0

func (s *GetMLModelOutput) SetName(v string) *GetMLModelOutput

SetName sets the Name field's value.

func (*GetMLModelOutput) SetRecipe added in v1.5.0

func (s *GetMLModelOutput) SetRecipe(v string) *GetMLModelOutput

SetRecipe sets the Recipe field's value.

func (*GetMLModelOutput) SetSchema added in v1.5.0

func (s *GetMLModelOutput) SetSchema(v string) *GetMLModelOutput

SetSchema sets the Schema field's value.

func (*GetMLModelOutput) SetScoreThreshold added in v1.5.0

func (s *GetMLModelOutput) SetScoreThreshold(v float64) *GetMLModelOutput

SetScoreThreshold sets the ScoreThreshold field's value.

func (*GetMLModelOutput) SetScoreThresholdLastUpdatedAt added in v1.5.0

func (s *GetMLModelOutput) SetScoreThresholdLastUpdatedAt(v time.Time) *GetMLModelOutput

SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value.

func (*GetMLModelOutput) SetSizeInBytes added in v1.5.0

func (s *GetMLModelOutput) SetSizeInBytes(v int64) *GetMLModelOutput

SetSizeInBytes sets the SizeInBytes field's value.

func (*GetMLModelOutput) SetStartedAt added in v1.5.0

func (s *GetMLModelOutput) SetStartedAt(v time.Time) *GetMLModelOutput

SetStartedAt sets the StartedAt field's value.

func (*GetMLModelOutput) SetStatus added in v1.5.0

func (s *GetMLModelOutput) SetStatus(v string) *GetMLModelOutput

SetStatus sets the Status field's value.

func (*GetMLModelOutput) SetTrainingDataSourceId added in v1.5.0

func (s *GetMLModelOutput) SetTrainingDataSourceId(v string) *GetMLModelOutput

SetTrainingDataSourceId sets the TrainingDataSourceId field's value.

func (*GetMLModelOutput) SetTrainingParameters added in v1.5.0

func (s *GetMLModelOutput) SetTrainingParameters(v map[string]*string) *GetMLModelOutput

SetTrainingParameters sets the TrainingParameters field's value.

func (GetMLModelOutput) String added in v0.6.5

func (s GetMLModelOutput) 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 IdempotentParameterMismatchException added in v1.28.0

type IdempotentParameterMismatchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *int64 `locationName:"code" type:"integer"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.

func (*IdempotentParameterMismatchException) Code added in v1.28.0

Code returns the exception type name.

func (*IdempotentParameterMismatchException) Error added in v1.28.0

func (IdempotentParameterMismatchException) GoString added in v1.28.0

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 (*IdempotentParameterMismatchException) Message added in v1.28.0

Message returns the exception's message.

func (*IdempotentParameterMismatchException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IdempotentParameterMismatchException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*IdempotentParameterMismatchException) StatusCode added in v1.28.0

func (s *IdempotentParameterMismatchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IdempotentParameterMismatchException) String added in v1.28.0

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 InternalServerException added in v1.28.0

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *int64 `locationName:"code" type:"integer"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An error on the server occurred when trying to process a request.

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

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 InvalidInputException added in v1.28.0

type InvalidInputException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *int64 `locationName:"code" type:"integer"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An error on the client occurred. Typically, the cause is an invalid input value.

func (*InvalidInputException) Code added in v1.28.0

func (s *InvalidInputException) Code() string

Code returns the exception type name.

func (*InvalidInputException) Error added in v1.28.0

func (s *InvalidInputException) Error() string

func (InvalidInputException) GoString added in v1.28.0

func (s InvalidInputException) 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 (*InvalidInputException) Message added in v1.28.0

func (s *InvalidInputException) Message() string

Message returns the exception's message.

func (*InvalidInputException) OrigErr added in v1.28.0

func (s *InvalidInputException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidInputException) RequestID added in v1.28.0

func (s *InvalidInputException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidInputException) StatusCode added in v1.28.0

func (s *InvalidInputException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidInputException) String added in v1.28.0

func (s InvalidInputException) 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 InvalidTagException added in v1.28.0

type InvalidTagException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*InvalidTagException) Code added in v1.28.0

func (s *InvalidTagException) Code() string

Code returns the exception type name.

func (*InvalidTagException) Error added in v1.28.0

func (s *InvalidTagException) Error() string

func (InvalidTagException) GoString added in v1.28.0

func (s InvalidTagException) 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 (*InvalidTagException) Message added in v1.28.0

func (s *InvalidTagException) Message() string

Message returns the exception's message.

func (*InvalidTagException) OrigErr added in v1.28.0

func (s *InvalidTagException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTagException) RequestID added in v1.28.0

func (s *InvalidTagException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTagException) StatusCode added in v1.28.0

func (s *InvalidTagException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTagException) String added in v1.28.0

func (s InvalidTagException) 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 LimitExceededException added in v1.28.0

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *int64 `locationName:"code" type:"integer"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as DataSource.

func (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

func (s LimitExceededException) 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 (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String added in v1.28.0

func (s LimitExceededException) 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 MLModel

type MLModel struct {

	// The algorithm used to train the MLModel. The following algorithm is supported:
	//
	//    * SGD -- Stochastic gradient descent. The goal of SGD is to minimize the
	//    gradient of the loss function.
	Algorithm *string `type:"string" enum:"Algorithm"`

	// Long integer type that is a 64-bit signed number.
	ComputeTime *int64 `type:"long"`

	// The time that the MLModel was created. The time is expressed in epoch time.
	CreatedAt *time.Time `type:"timestamp"`

	// The AWS user account from which the MLModel was created. The account type
	// can be either an AWS root account or an AWS Identity and Access Management
	// (IAM) user account.
	CreatedByIamUser *string `type:"string"`

	// The current endpoint of the MLModel.
	EndpointInfo *RealtimeEndpointInfo `type:"structure"`

	// A timestamp represented in epoch time.
	FinishedAt *time.Time `type:"timestamp"`

	// The location of the data file or directory in Amazon Simple Storage Service
	// (Amazon S3).
	InputDataLocationS3 *string `type:"string"`

	// The time of the most recent edit to the MLModel. The time is expressed in
	// epoch time.
	LastUpdatedAt *time.Time `type:"timestamp"`

	// The ID assigned to the MLModel at creation.
	MLModelId *string `min:"1" type:"string"`

	// Identifies the MLModel category. The following are the available types:
	//
	//    * REGRESSION - Produces a numeric result. For example, "What price should
	//    a house be listed at?"
	//
	//    * BINARY - Produces one of two possible results. For example, "Is this
	//    a child-friendly web site?".
	//
	//    * MULTICLASS - Produces one of several possible results. For example,
	//    "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".
	MLModelType *string `type:"string" enum:"MLModelType"`

	// A description of the most recent details about accessing the MLModel.
	Message *string `type:"string"`

	// A user-supplied name or description of the MLModel.
	Name *string `type:"string"`

	ScoreThreshold *float64 `type:"float"`

	// The time of the most recent edit to the ScoreThreshold. The time is expressed
	// in epoch time.
	ScoreThresholdLastUpdatedAt *time.Time `type:"timestamp"`

	// Long integer type that is a 64-bit signed number.
	SizeInBytes *int64 `type:"long"`

	// A timestamp represented in epoch time.
	StartedAt *time.Time `type:"timestamp"`

	// The current status of an MLModel. This element can have one of the following
	// values:
	//
	//    * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to
	//    create an MLModel.
	//
	//    * INPROGRESS - The creation process is underway.
	//
	//    * FAILED - The request to create an MLModel didn't run to completion.
	//    The model isn't usable.
	//
	//    * COMPLETED - The creation process completed successfully.
	//
	//    * DELETED - The MLModel is marked as deleted. It isn't usable.
	Status *string `type:"string" enum:"EntityStatus"`

	// The ID of the training DataSource. The CreateMLModel operation uses the TrainingDataSourceId.
	TrainingDataSourceId *string `min:"1" type:"string"`

	// A list of the training parameters in the MLModel. The list is implemented
	// as a map of key-value pairs.
	//
	// The following is the current set of training parameters:
	//
	//    * sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending
	//    on the input data, the size of the model might affect its performance.
	//    The value is an integer that ranges from 100000 to 2147483648. The default
	//    value is 33554432.
	//
	//    * sgd.maxPasses - The number of times that the training process traverses
	//    the observations to build the MLModel. The value is an integer that ranges
	//    from 1 to 10000. The default value is 10.
	//
	//    * sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling
	//    the data improves a model's ability to find the optimal solution for a
	//    variety of data types. The valid values are auto and none. The default
	//    value is none.
	//
	//    * sgd.l1RegularizationAmount - The coefficient regularization L1 norm,
	//    which controls overfitting the data by penalizing large coefficients.
	//    This parameter tends to drive coefficients to zero, resulting in sparse
	//    feature set. If you use this parameter, start by specifying a small value,
	//    such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE.
	//    The default is to not use L1 normalization. This parameter can't be used
	//    when L2 is specified. Use this parameter sparingly.
	//
	//    * sgd.l2RegularizationAmount - The coefficient regularization L2 norm,
	//    which controls overfitting the data by penalizing large coefficients.
	//    This tends to drive coefficients to small, nonzero values. If you use
	//    this parameter, start by specifying a small value, such as 1.0E-08. The
	//    value is a double that ranges from 0 to MAX_DOUBLE. The default is to
	//    not use L2 normalization. This parameter can't be used when L1 is specified.
	//    Use this parameter sparingly.
	TrainingParameters map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

Represents the output of a GetMLModel operation.

The content consists of the detailed metadata and the current status of the MLModel.

func (MLModel) GoString added in v0.6.5

func (s MLModel) 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 (*MLModel) SetAlgorithm added in v1.5.0

func (s *MLModel) SetAlgorithm(v string) *MLModel

SetAlgorithm sets the Algorithm field's value.

func (*MLModel) SetComputeTime added in v1.5.0

func (s *MLModel) SetComputeTime(v int64) *MLModel

SetComputeTime sets the ComputeTime field's value.

func (*MLModel) SetCreatedAt added in v1.5.0

func (s *MLModel) SetCreatedAt(v time.Time) *MLModel

SetCreatedAt sets the CreatedAt field's value.

func (*MLModel) SetCreatedByIamUser added in v1.5.0

func (s *MLModel) SetCreatedByIamUser(v string) *MLModel

SetCreatedByIamUser sets the CreatedByIamUser field's value.

func (*MLModel) SetEndpointInfo added in v1.5.0

func (s *MLModel) SetEndpointInfo(v *RealtimeEndpointInfo) *MLModel

SetEndpointInfo sets the EndpointInfo field's value.

func (*MLModel) SetFinishedAt added in v1.5.0

func (s *MLModel) SetFinishedAt(v time.Time) *MLModel

SetFinishedAt sets the FinishedAt field's value.

func (*MLModel) SetInputDataLocationS3 added in v1.5.0

func (s *MLModel) SetInputDataLocationS3(v string) *MLModel

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

func (*MLModel) SetLastUpdatedAt added in v1.5.0

func (s *MLModel) SetLastUpdatedAt(v time.Time) *MLModel

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*MLModel) SetMLModelId added in v1.5.0

func (s *MLModel) SetMLModelId(v string) *MLModel

SetMLModelId sets the MLModelId field's value.

func (*MLModel) SetMLModelType added in v1.5.0

func (s *MLModel) SetMLModelType(v string) *MLModel

SetMLModelType sets the MLModelType field's value.

func (*MLModel) SetMessage added in v1.5.0

func (s *MLModel) SetMessage(v string) *MLModel

SetMessage sets the Message field's value.

func (*MLModel) SetName added in v1.5.0

func (s *MLModel) SetName(v string) *MLModel

SetName sets the Name field's value.

func (*MLModel) SetScoreThreshold added in v1.5.0

func (s *MLModel) SetScoreThreshold(v float64) *MLModel

SetScoreThreshold sets the ScoreThreshold field's value.

func (*MLModel) SetScoreThresholdLastUpdatedAt added in v1.5.0

func (s *MLModel) SetScoreThresholdLastUpdatedAt(v time.Time) *MLModel

SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value.

func (*MLModel) SetSizeInBytes added in v1.5.0

func (s *MLModel) SetSizeInBytes(v int64) *MLModel

SetSizeInBytes sets the SizeInBytes field's value.

func (*MLModel) SetStartedAt added in v1.5.0

func (s *MLModel) SetStartedAt(v time.Time) *MLModel

SetStartedAt sets the StartedAt field's value.

func (*MLModel) SetStatus added in v1.5.0

func (s *MLModel) SetStatus(v string) *MLModel

SetStatus sets the Status field's value.

func (*MLModel) SetTrainingDataSourceId added in v1.5.0

func (s *MLModel) SetTrainingDataSourceId(v string) *MLModel

SetTrainingDataSourceId sets the TrainingDataSourceId field's value.

func (*MLModel) SetTrainingParameters added in v1.5.0

func (s *MLModel) SetTrainingParameters(v map[string]*string) *MLModel

SetTrainingParameters sets the TrainingParameters field's value.

func (MLModel) String added in v0.6.5

func (s MLModel) 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 MachineLearning

type MachineLearning struct {
	*client.Client
}

MachineLearning provides the API operation methods for making requests to Amazon Machine Learning. See this package's package overview docs for details on the service.

MachineLearning methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the MachineLearning 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 MachineLearning client from just a session.
svc := machinelearning.New(mySession)

// Create a MachineLearning client with additional configuration
svc := machinelearning.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*MachineLearning) AddTags added in v1.1.33

func (c *MachineLearning) AddTags(input *AddTagsInput) (*AddTagsOutput, error)

AddTags API operation for Amazon Machine Learning.

Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value.

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 Machine Learning's API operation AddTags for usage and error information.

Returned Error Types:

* InvalidInputException
An error on the client occurred. Typically, the cause is an invalid input
value.

* InvalidTagException

* TagLimitExceededException

* ResourceNotFoundException
A specified resource cannot be located.

* InternalServerException
An error on the server occurred when trying to process a request.

func (*MachineLearning) AddTagsRequest added in v1.1.33

func (c *MachineLearning) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)

AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags 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" retur