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.

CreateAlgorithmInput

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

type CreateAlgorithmInput struct { AlgorithmDescription *string `type:"string"` AlgorithmName *string `min:"1" type:"string" required:"true"` CertifyForMarketplace *bool `type:"boolean"` InferenceSpecification *InferenceSpecification `type:"structure"` TrainingSpecification *TrainingSpecification `type:"structure" required:"true"` ValidationSpecification *AlgorithmValidationSpecification `type:"structure"` }

AlgorithmDescription

Type: *string

A description of the algorithm.

AlgorithmName

Type: *string

The name of the algorithm.

AlgorithmName is a required field

CertifyForMarketplace

Type: *bool

Whether to certify the algorithm so that it can be listed in AWS Marketplace.

InferenceSpecification

Defines how to perform inference generation after a training job is run.

TrainingSpecification

Defines how the algorithm is used for a training job.

ValidationSpecification

Specifies configurations for one or more training jobs that Amazon SageMaker runs to test the algorithm.

Method

GoString

func (s CreateAlgorithmInput) GoString() string

GoString returns the string representation

SetAlgorithmDescription

func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput

SetAlgorithmDescription sets the AlgorithmDescription field's value.

SetAlgorithmName

func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput

SetAlgorithmName sets the AlgorithmName field's value.

SetCertifyForMarketplace

func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput

SetCertifyForMarketplace sets the CertifyForMarketplace field's value.

SetInferenceSpecification

func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput

SetInferenceSpecification sets the InferenceSpecification field's value.

SetTrainingSpecification

func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput

SetTrainingSpecification sets the TrainingSpecification field's value.

SetValidationSpecification

func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput

SetValidationSpecification sets the ValidationSpecification field's value.

String

func (s CreateAlgorithmInput) String() string

String returns the string representation

Validate

func (s *CreateAlgorithmInput) Validate() error

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

On this page: