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.

CreateModelPackageInput

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

type CreateModelPackageInput struct { CertifyForMarketplace *bool `type:"boolean"` InferenceSpecification *InferenceSpecification `type:"structure"` ModelPackageDescription *string `type:"string"` ModelPackageName *string `min:"1" type:"string" required:"true"` SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"` ValidationSpecification *ModelPackageValidationSpecification `type:"structure"` }

CertifyForMarketplace

Type: *bool

Whether to certify the model package for listing on AWS Marketplace.

InferenceSpecification

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

ModelPackageDescription

Type: *string

A description of the model package.

ModelPackageName

Type: *string

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

ModelPackageName is a required field

SourceAlgorithmSpecification

A list of algorithms that were used to create a model package.

ValidationSpecification

Specifies batch transform jobs that Amazon SageMaker runs to validate your model package.

Method

GoString

func (s CreateModelPackageInput) GoString() string

GoString returns the string representation

SetCertifyForMarketplace

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

SetCertifyForMarketplace sets the CertifyForMarketplace field's value.

SetInferenceSpecification

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

SetInferenceSpecification sets the InferenceSpecification field's value.

SetModelPackageDescription

func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput

SetModelPackageDescription sets the ModelPackageDescription field's value.

SetModelPackageName

func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput

SetModelPackageName sets the ModelPackageName field's value.

SetSourceAlgorithmSpecification

func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput

SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.

SetValidationSpecification

func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput

SetValidationSpecification sets the ValidationSpecification field's value.

String

func (s CreateModelPackageInput) String() string

String returns the string representation

Validate

func (s *CreateModelPackageInput) Validate() error

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

On this page: