sagemaker

package
v0.0.0-...-2f9a852 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sagemaker is a client for AWS Sagemaker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ListNotebookInstances() (NotebookInstances, error)
	DescribeNotebookInstance(string) (NotebookInstance, error)
	StartNotebookInstance(string) error
	StopNotebookInstance(string) error
	DeleteNotebookInstance(string) error
}

Client represnts a method for accessing Sagemaker.

type NotebookInstance

type NotebookInstance struct {
	AcceleratorTypes                    []string
	AdditionalCodeRepositories          []string
	CreationTime                        time.Time
	DefaultCodeRepository               string
	DirectInternetAccess                string
	FailureReason                       string
	InstanceType                        string
	KmsKeyId                            string
	LastModifiedTime                    time.Time
	NetworkInterfaceId                  string
	NotebookInstanceArn                 string
	NotebookInstanceLifecycleConfigName string
	NotebookInstanceName                string
	NotebookInstanceStatus              string
	RoleArn                             string
	RootAccess                          string
	SecurityGroups                      []string
	SubnetId                            string
	Url                                 string
	VolumeSizeInGB                      int64
}

Notebook represents a Sagemaker notebook instance.

type NotebookInstances

type NotebookInstances []NotebookInstance

Notebooks is a collection of Sagemaker notebook instances.

type SDKClient

type SDKClient struct {
	// contains filtered or unexported fields
}

SDKClient implements access to Sagemaker via the AWS SDK.

func New

func New(sess *session.Session) SDKClient

New returns an SDKClient configured with the given session.

func (SDKClient) DeleteNotebookInstance

func (sagemaker SDKClient) DeleteNotebookInstance(name string) error

func (SDKClient) DescribeNotebookInstance

func (sagemaker SDKClient) DescribeNotebookInstance(name string) (NotebookInstance, error)

func (SDKClient) ListNotebookInstances

func (sagemaker SDKClient) ListNotebookInstances() (NotebookInstances, error)

func (SDKClient) StartNotebookInstance

func (sagemaker SDKClient) StartNotebookInstance(name string) error

func (SDKClient) StopNotebookInstance

func (sagemaker SDKClient) StopNotebookInstance(name string) error

Directories

Path Synopsis
mock
client
Package client is a generated GoMock package.
Package client is a generated GoMock package.
sdk
Package sdk is a generated GoMock package.
Package sdk is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL