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.

NotebookInstanceSummary

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

type NotebookInstanceSummary struct { AdditionalCodeRepositories []*string `type:"list"` CreationTime *time.Time `type:"timestamp"` DefaultCodeRepository *string `min:"1" type:"string"` InstanceType *string `type:"string" enum:"InstanceType"` LastModifiedTime *time.Time `type:"timestamp"` NotebookInstanceArn *string `type:"string" required:"true"` NotebookInstanceLifecycleConfigName *string `type:"string"` NotebookInstanceName *string `type:"string" required:"true"` NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"` Url *string `type:"string"` }

Provides summary information for an Amazon SageMaker notebook instance.

AdditionalCodeRepositories

Type: []*string

An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).

CreationTime

Type: *time.Time

A timestamp that shows when the notebook instance was created.

DefaultCodeRepository

Type: *string

The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).

InstanceType

Type: *string

The type of ML compute instance that the notebook instance is running on.

LastModifiedTime

Type: *time.Time

A timestamp that shows when the notebook instance was last modified.

NotebookInstanceArn

Type: *string

The Amazon Resource Name (ARN) of the notebook instance.

NotebookInstanceArn is a required field

NotebookInstanceLifecycleConfigName

Type: *string

The name of a notebook instance lifecycle configuration associated with this notebook instance.

For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).

NotebookInstanceName

Type: *string

The name of the notebook instance that you want a summary for.

NotebookInstanceName is a required field

NotebookInstanceStatus

Type: *string

The status of the notebook instance.

Url

Type: *string

The URL that you use to connect to the Jupyter instance running in your notebook instance.

Method

GoString

func (s NotebookInstanceSummary) GoString() string

GoString returns the string representation

SetAdditionalCodeRepositories

func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary

SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.

SetCreationTime

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

SetCreationTime sets the CreationTime field's value.

SetDefaultCodeRepository

func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary

SetDefaultCodeRepository sets the DefaultCodeRepository field's value.

SetInstanceType

func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary

SetInstanceType sets the InstanceType field's value.

SetLastModifiedTime

func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary

SetLastModifiedTime sets the LastModifiedTime field's value.

SetNotebookInstanceArn

func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary

SetNotebookInstanceArn sets the NotebookInstanceArn field's value.

SetNotebookInstanceLifecycleConfigName

func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary

SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.

SetNotebookInstanceName

func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary

SetNotebookInstanceName sets the NotebookInstanceName field's value.

SetNotebookInstanceStatus

func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary

SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.

SetUrl

func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary

SetUrl sets the Url field's value.

String

func (s NotebookInstanceSummary) String() string

String returns the string representation

On this page: