AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateDataSourceFromS3Input

import "github.com/aws/aws-sdk-go/service/machinelearning"

type CreateDataSourceFromS3Input struct { ComputeStatistics *bool `type:"boolean"` DataSourceId *string `min:"1" type:"string" required:"true"` DataSourceName *string `type:"string"` DataSpec *S3DataSpec `type:"structure" required:"true"` }

ComputeStatistics

Type: *bool

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.

DataSourceId

Type: *string

A user-supplied identifier that uniquely identifies the DataSource.

DataSourceId is a required field

DataSourceName

Type: *string

A user-supplied name or description of the DataSource.

DataSpec

Describes the data specification of a DataSource.

Method

GoString

func (s CreateDataSourceFromS3Input) GoString() string

GoString returns the string representation

SetComputeStatistics

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

SetComputeStatistics sets the ComputeStatistics field's value.

SetDataSourceId

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

SetDataSourceId sets the DataSourceId field's value.

SetDataSourceName

func (s *CreateDataSourceFromS3Input) SetDataSourceName(v string) *CreateDataSourceFromS3Input

SetDataSourceName sets the DataSourceName field's value.

SetDataSpec

func (s *CreateDataSourceFromS3Input) SetDataSpec(v *S3DataSpec) *CreateDataSourceFromS3Input

SetDataSpec sets the DataSpec field's value.

String

func (s CreateDataSourceFromS3Input) String() string

String returns the string representation

Validate

func (s *CreateDataSourceFromS3Input) Validate() error

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

On this page: