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.

DescribeModelOutput

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

type DescribeModelOutput struct { Containers []*ContainerDefinition `type:"list"` CreationTime *time.Time `type:"timestamp" required:"true"` EnableNetworkIsolation *bool `type:"boolean"` ExecutionRoleArn *string `min:"20" type:"string" required:"true"` ModelArn *string `min:"20" type:"string" required:"true"` ModelName *string `type:"string" required:"true"` PrimaryContainer *ContainerDefinition `type:"structure"` VpcConfig *VpcConfig `type:"structure"` }

Containers

Describes the container, as part of model definition.

CreationTime

Type: *time.Time

A timestamp that shows when the model was created.

CreationTime is a required field

EnableNetworkIsolation

Type: *bool

If True, no inbound or outbound network calls can be made to or from the model container.

The Semantic Segmentation built-in algorithm does not support network isolation.

ExecutionRoleArn

Type: *string

The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

ExecutionRoleArn is a required field

ModelArn

Type: *string

The Amazon Resource Name (ARN) of the model.

ModelArn is a required field

ModelName

Type: *string

Name of the Amazon SageMaker model.

ModelName is a required field

PrimaryContainer

Describes the container, as part of model definition.

VpcConfig

Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).

Method

GoString

func (s DescribeModelOutput) GoString() string

GoString returns the string representation

SetContainers

func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput

SetContainers sets the Containers field's value.

SetCreationTime

func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput

SetCreationTime sets the CreationTime field's value.

SetEnableNetworkIsolation

func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput

SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.

SetExecutionRoleArn

func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

SetModelArn

func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput

SetModelArn sets the ModelArn field's value.

SetModelName

func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput

SetModelName sets the ModelName field's value.

SetPrimaryContainer

func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput

SetPrimaryContainer sets the PrimaryContainer field's value.

SetVpcConfig

func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput

SetVpcConfig sets the VpcConfig field's value.

String

func (s DescribeModelOutput) String() string

String returns the string representation

On this page: