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.

CreateBatchPredictionInput

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

type CreateBatchPredictionInput struct { BatchPredictionDataSourceId *string `min:"1" type:"string" required:"true"` BatchPredictionId *string `min:"1" type:"string" required:"true"` BatchPredictionName *string `type:"string"` MLModelId *string `min:"1" type:"string" required:"true"` OutputUri *string `type:"string" required:"true"` }

BatchPredictionDataSourceId

Type: *string

The ID of the DataSource that points to the group of observations to predict.

BatchPredictionDataSourceId is a required field

BatchPredictionId

Type: *string

A user-supplied ID that uniquely identifies the BatchPrediction.

BatchPredictionId is a required field

BatchPredictionName

Type: *string

A user-supplied name or description of the BatchPrediction. BatchPredictionName can only use the UTF-8 character set.

MLModelId

Type: *string

The ID of the MLModel that will generate predictions for the group of observations.

MLModelId is a required field

OutputUri

Type: *string

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

Method

GoString

func (s CreateBatchPredictionInput) GoString() string

GoString returns the string representation

SetBatchPredictionDataSourceId

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

SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.

SetBatchPredictionId

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

SetBatchPredictionId sets the BatchPredictionId field's value.

SetBatchPredictionName

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

SetBatchPredictionName sets the BatchPredictionName field's value.

SetMLModelId

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

SetMLModelId sets the MLModelId field's value.

SetOutputUri

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

SetOutputUri sets the OutputUri field's value.

String

func (s CreateBatchPredictionInput) String() string

String returns the string representation

Validate

func (s *CreateBatchPredictionInput) Validate() error

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

On this page: