sagemaker

package
v2.0.0-preview.4+incom... Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sagemaker provides the client and types for making API requests to Amazon SageMaker Service.

Definition of the public APIs exposed by SageMaker

See https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24 for more information on this service.

See sagemaker package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/sagemaker/

Using the Client

To Amazon SageMaker Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon SageMaker Service client SageMaker for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/sagemaker/#New

Index

Constants

View Source
const (

	// ErrCodeResourceInUse for service response error code
	// "ResourceInUse".
	//
	// Resource being accessed is in use.
	ErrCodeResourceInUse = "ResourceInUse"

	// ErrCodeResourceLimitExceeded for service response error code
	// "ResourceLimitExceeded".
	//
	// You have exceeded an Amazon SageMaker resource limit. For example, you might
	// have too many training jobs created.
	ErrCodeResourceLimitExceeded = "ResourceLimitExceeded"

	// ErrCodeResourceNotFound for service response error code
	// "ResourceNotFound".
	//
	// Resource being access is not found.
	ErrCodeResourceNotFound = "ResourceNotFound"
)
View Source
const (
	ServiceName = "sagemaker" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTagsInput

type AddTagsInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to tag.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// An array of Tag objects. Each tag is a key-value pair. Only the key parameter
	// is required. If you don't specify a value, Amazon SageMaker sets the value
	// to an empty string.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTagsInput

func (AddTagsInput) GoString

func (s AddTagsInput) GoString() string

GoString returns the string representation

func (AddTagsInput) String

func (s AddTagsInput) String() string

String returns the string representation

func (*AddTagsInput) Validate

func (s *AddTagsInput) Validate() error

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

type AddTagsOutput

type AddTagsOutput struct {

	// A list of tags associated with the Amazon SageMaker resource.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTagsOutput

func (AddTagsOutput) GoString

func (s AddTagsOutput) GoString() string

GoString returns the string representation

func (AddTagsOutput) SDKResponseMetadata

func (s AddTagsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AddTagsOutput) String

func (s AddTagsOutput) String() string

String returns the string representation

type AddTagsRequest

type AddTagsRequest struct {
	*aws.Request
	Input *AddTagsInput
	Copy  func(*AddTagsInput) AddTagsRequest
}

AddTagsRequest is a API request type for the AddTags API operation.

func (AddTagsRequest) Send

func (r AddTagsRequest) Send() (*AddTagsOutput, error)

Send marshals and sends the AddTags API request.

type AlgorithmSpecification

type AlgorithmSpecification struct {

	// The registry path of the Docker image that contains the training algorithm.
	// For information about docker registry paths for built-in algorithms, see
	// sagemaker-algo-docker-registry-paths.
	//
	// TrainingImage is a required field
	TrainingImage *string `type:"string" required:"true"`

	// The input mode that the algorithm supports. For the input modes that Amazon
	// SageMaker algorithms support, see Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
	// If an algorithm supports the File input mode, Amazon SageMaker downloads
	// the training data from S3 to the provisioned ML storage Volume, and mounts
	// the directory to docker volume for training container. If an algorithm supports
	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
	// container.
	//
	// In File mode, make sure you provision ML storage volume with sufficient capacity
	// to accommodate the data download from S3. In addition to the training data,
	// the ML storage volume also stores the output model. The algorithm container
	// use ML storage volume to also store intermediate information, if any.
	//
	// For distributed algorithms using File mode, training data is distributed
	// uniformly, and your training duration is predictable if the input data objects
	// size is approximately same. Amazon SageMaker does not split the files any
	// further for model training. If the object sizes are skewed, training won't
	// be optimal as the data distribution is also skewed where one host in a training
	// cluster is overloaded, thus becoming bottleneck in training.
	//
	// TrainingInputMode is a required field
	TrainingInputMode TrainingInputMode `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Specifies the training algorithm to use in a CreateTrainingJob (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateTrainingJob.html) request.

For more information about algorithms provided by Amazon SageMaker, see Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information about using your own algorithms, see your-algorithms. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlgorithmSpecification

func (AlgorithmSpecification) GoString

func (s AlgorithmSpecification) GoString() string

GoString returns the string representation

func (AlgorithmSpecification) String

func (s AlgorithmSpecification) String() string

String returns the string representation

func (*AlgorithmSpecification) Validate

func (s *AlgorithmSpecification) Validate() error

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

type Channel

type Channel struct {

	// The name of the channel.
	//
	// ChannelName is a required field
	ChannelName *string `min:"1" type:"string" required:"true"`

	// If training data is compressed, the compression type. The default value is
	// None. CompressionType is used only in PIPE input mode. In FILE mode, leave
	// this field unset or set it to None.
	CompressionType CompressionType `type:"string" enum:"true"`

	// The MIME type of the data.
	ContentType *string `type:"string"`

	// The location of the channel data.
	//
	// DataSource is a required field
	DataSource *DataSource `type:"structure" required:"true"`

	// Specify RecordIO as the value when input data is in raw format but the training
	// algorithm requires the RecordIO format, in which caseAmazon SageMaker wraps
	// each individual S3 object in a RecordIO record. If the input data is already
	// in RecordIO format, you don't need to set this attribute. For more information,
	// see Create a Dataset Using RecordIO (https://mxnet.incubator.apache.org/how_to/recordio.html?highlight=im2rec)
	RecordWrapperType RecordWrapper `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A channel is a named input source that training algorithms can consume. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Channel

func (Channel) GoString

func (s Channel) GoString() string

GoString returns the string representation

func (Channel) String

func (s Channel) String() string

String returns the string representation

func (*Channel) Validate

func (s *Channel) Validate() error

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

type CompressionType

type CompressionType string
const (
	CompressionTypeNone CompressionType = "None"
	CompressionTypeGzip CompressionType = "Gzip"
)

Enum values for CompressionType

func (CompressionType) MarshalValue

func (enum CompressionType) MarshalValue() (string, error)

func (CompressionType) MarshalValueBuf

func (enum CompressionType) MarshalValueBuf(b []byte) ([]byte, error)

type ContainerDefinition

type ContainerDefinition struct {

	// The DNS host name for the container after Amazon SageMaker deploys it.
	ContainerHostname *string `type:"string"`

	// The environment variables to set in the Docker container. Each key and value
	// in the Environment string to string map can have length of up to 1024. We
	// support up to 16 entries in the map.
	Environment map[string]string `type:"map"`

	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
	// is stored. If you are using your own custom algorithm instead of an algorithm
	// provided by Amazon SageMaker, the inference code must meet Amazon SageMaker
	// requirements. For more information, see Using Your Own Algorithms with Amazon
	// SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
	//
	// Image is a required field
	Image *string `type:"string" required:"true"`

	// The S3 path where the model artifacts, which result from model training,
	// are stored. This path must point to a single gzip compressed tar archive
	// (.tar.gz suffix).
	ModelDataUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the container, as part of model definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ContainerDefinition

func (ContainerDefinition) GoString

func (s ContainerDefinition) GoString() string

GoString returns the string representation

func (ContainerDefinition) String

func (s ContainerDefinition) String() string

String returns the string representation

func (*ContainerDefinition) Validate

func (s *ContainerDefinition) Validate() error

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

type CreateEndpointConfigInput

type CreateEndpointConfigInput struct {

	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
	// (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html)
	// request.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
	// instance that hosts the endpoint.
	KmsKeyId *string `type:"string"`

	// An array of ProductionVariant objects, one for each model that you want to
	// host at this endpoint.
	//
	// ProductionVariants is a required field
	ProductionVariants []ProductionVariant `min:"1" type:"list" required:"true"`

	// An array of key-value pairs. For more information, see Using Cost Allocation
	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
	// in the AWS Billing and Cost Management User Guide.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfigInput

func (CreateEndpointConfigInput) GoString

func (s CreateEndpointConfigInput) GoString() string

GoString returns the string representation

func (CreateEndpointConfigInput) String

func (s CreateEndpointConfigInput) String() string

String returns the string representation

func (*CreateEndpointConfigInput) Validate

func (s *CreateEndpointConfigInput) Validate() error

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

type CreateEndpointConfigOutput

type CreateEndpointConfigOutput struct {

	// The Amazon Resource Name (ARN) of the endpoint configuration.
	//
	// EndpointConfigArn is a required field
	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfigOutput

func (CreateEndpointConfigOutput) GoString

func (s CreateEndpointConfigOutput) GoString() string

GoString returns the string representation

func (CreateEndpointConfigOutput) SDKResponseMetadata

func (s CreateEndpointConfigOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateEndpointConfigOutput) String

String returns the string representation

type CreateEndpointConfigRequest

type CreateEndpointConfigRequest struct {
	*aws.Request
	Input *CreateEndpointConfigInput
	Copy  func(*CreateEndpointConfigInput) CreateEndpointConfigRequest
}

CreateEndpointConfigRequest is a API request type for the CreateEndpointConfig API operation.

func (CreateEndpointConfigRequest) Send

Send marshals and sends the CreateEndpointConfig API request.

type CreateEndpointInput

type CreateEndpointInput struct {

	// The name of an endpoint configuration. For more information, see CreateEndpointConfig
	// (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html).
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`

	// The name of the endpoint. The name must be unique within an AWS Region in
	// your AWS account.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`

	// An array of key-value pairs. For more information, see Using Cost Allocation
	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)in
	// the AWS Billing and Cost Management User Guide.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointInput

func (CreateEndpointInput) GoString

func (s CreateEndpointInput) GoString() string

GoString returns the string representation

func (CreateEndpointInput) String

func (s CreateEndpointInput) String() string

String returns the string representation

func (*CreateEndpointInput) Validate

func (s *CreateEndpointInput) Validate() error

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

type CreateEndpointOutput

type CreateEndpointOutput struct {

	// The Amazon Resource Name (ARN) of the endpoint.
	//
	// EndpointArn is a required field
	EndpointArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointOutput

func (CreateEndpointOutput) GoString

func (s CreateEndpointOutput) GoString() string

GoString returns the string representation

func (CreateEndpointOutput) SDKResponseMetadata

func (s CreateEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateEndpointOutput) String

func (s CreateEndpointOutput) String() string

String returns the string representation

type CreateEndpointRequest

type CreateEndpointRequest struct {
	*aws.Request
	Input *CreateEndpointInput
	Copy  func(*CreateEndpointInput) CreateEndpointRequest
}

CreateEndpointRequest is a API request type for the CreateEndpoint API operation.

func (CreateEndpointRequest) Send

Send marshals and sends the CreateEndpoint API request.

type CreateModelInput

type CreateModelInput struct {

	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
	// assume to access model artifacts and docker image for deployment on ML compute
	// instances. Deploying on ML compute instances is part of model hosting. For
	// more information, see Amazon SageMaker Roles (http://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
	//
	// ExecutionRoleArn is a required field
	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`

	// The name of the new model.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`

	// The location of the primary docker image containing inference code, associated
	// artifacts, and custom environment map that the inference code uses when the
	// model is deployed into production.
	//
	// PrimaryContainer is a required field
	PrimaryContainer *ContainerDefinition `type:"structure" required:"true"`

	// An array of key-value pairs. For more information, see Using Cost Allocation
	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
	// in the AWS Billing and Cost Management User Guide.
	Tags []Tag `type:"list"`

	// A object that specifies the VPC that you want your model to connect to. Control
	// access to and from your training container by configuring the VPC. For more
	// information, see host-vpc.
	VpcConfig *VpcConfig `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelInput

func (CreateModelInput) GoString

func (s CreateModelInput) GoString() string

GoString returns the string representation

func (CreateModelInput) String

func (s CreateModelInput) String() string

String returns the string representation

func (*CreateModelInput) Validate

func (s *CreateModelInput) Validate() error

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

type CreateModelOutput

type CreateModelOutput struct {

	// The ARN of the model created in Amazon SageMaker.
	//
	// ModelArn is a required field
	ModelArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelOutput

func (CreateModelOutput) GoString

func (s CreateModelOutput) GoString() string

GoString returns the string representation

func (CreateModelOutput) SDKResponseMetadata

func (s CreateModelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateModelOutput) String

func (s CreateModelOutput) String() string

String returns the string representation

type CreateModelRequest

type CreateModelRequest struct {
	*aws.Request
	Input *CreateModelInput
	Copy  func(*CreateModelInput) CreateModelRequest
}

CreateModelRequest is a API request type for the CreateModel API operation.

func (CreateModelRequest) Send

Send marshals and sends the CreateModel API request.

type CreateNotebookInstanceInput

type CreateNotebookInstanceInput struct {

	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
	// If you set this to Disabled this notebook instance will be able to access
	// resources only in your VPC, and will not be able to connect to Amazon SageMaker
	// training and endpoint services unless your configure a NAT Gateway in your
	// VPC.
	//
	// For more information, see appendix-notebook-and-internet-access. You can
	// set the value of this parameter to Disabled only if you set a value for the
	// SubnetId parameter.
	DirectInternetAccess DirectInternetAccess `type:"string" enum:"true"`

	// The type of ML compute instance to launch for the notebook instance.
	//
	// InstanceType is a required field
	InstanceType InstanceType `type:"string" required:"true" enum:"true"`

	// If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt data
	// at rest on the ML storage volume that is attached to your notebook instance.
	KmsKeyId *string `type:"string"`

	// The name of a lifecycle configuration to associate with the notebook instance.
	// For information about lifestyle configurations, see notebook-lifecycle-config.
	LifecycleConfigName *string `type:"string"`

	// The name of the new notebook instance.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`

	// When you send any requests to AWS resources from the notebook instance, Amazon
	// SageMaker assumes this role to perform tasks on your behalf. You must grant
	// this role necessary permissions so Amazon SageMaker can perform these tasks.
	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
	// permissions to assume this role. For more information, see Amazon SageMaker
	// Roles (http://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
	//
	// RoleArn is a required field
	RoleArn *string `min:"20" type:"string" required:"true"`

	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
	// must be for the same VPC as specified in the subnet.
	SecurityGroupIds []string `type:"list"`

	// The ID of the subnet in a VPC to which you would like to have a connectivity
	// from your ML compute instance.
	SubnetId *string `type:"string"`

	// A list of tags to associate with the notebook instance. You can add tags
	// later by using the CreateTags API.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceInput

func (CreateNotebookInstanceInput) GoString

func (s CreateNotebookInstanceInput) GoString() string

GoString returns the string representation

func (CreateNotebookInstanceInput) String

String returns the string representation

func (*CreateNotebookInstanceInput) Validate

func (s *CreateNotebookInstanceInput) Validate() error

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

type CreateNotebookInstanceLifecycleConfigInput

type CreateNotebookInstanceLifecycleConfigInput struct {

	// The name of the lifecycle configuration.
	//
	// NotebookInstanceLifecycleConfigName is a required field
	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`

	// A shell script that runs only once, when you create a notebook instance.
	OnCreate []NotebookInstanceLifecycleHook `type:"list"`

	// A shell script that runs every time you start a notebook instance, including
	// when you create the notebook instance.
	OnStart []NotebookInstanceLifecycleHook `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfigInput

func (CreateNotebookInstanceLifecycleConfigInput) GoString

GoString returns the string representation

func (CreateNotebookInstanceLifecycleConfigInput) String

String returns the string representation

func (*CreateNotebookInstanceLifecycleConfigInput) Validate

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

type CreateNotebookInstanceLifecycleConfigOutput

type CreateNotebookInstanceLifecycleConfigOutput struct {

	// The Amazon Resource Name (ARN) of the lifecycle configuration.
	NotebookInstanceLifecycleConfigArn *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfigOutput

func (CreateNotebookInstanceLifecycleConfigOutput) GoString

GoString returns the string representation

func (CreateNotebookInstanceLifecycleConfigOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (CreateNotebookInstanceLifecycleConfigOutput) String

String returns the string representation

type CreateNotebookInstanceLifecycleConfigRequest

CreateNotebookInstanceLifecycleConfigRequest is a API request type for the CreateNotebookInstanceLifecycleConfig API operation.

func (CreateNotebookInstanceLifecycleConfigRequest) Send

Send marshals and sends the CreateNotebookInstanceLifecycleConfig API request.

type CreateNotebookInstanceOutput

type CreateNotebookInstanceOutput struct {

	// The Amazon Resource Name (ARN) of the notebook instance.
	NotebookInstanceArn *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceOutput

func (CreateNotebookInstanceOutput) GoString

func (s CreateNotebookInstanceOutput) GoString() string

GoString returns the string representation

func (CreateNotebookInstanceOutput) SDKResponseMetadata

func (s CreateNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateNotebookInstanceOutput) String

String returns the string representation

type CreateNotebookInstanceRequest

type CreateNotebookInstanceRequest struct {
	*aws.Request
	Input *CreateNotebookInstanceInput
	Copy  func(*CreateNotebookInstanceInput) CreateNotebookInstanceRequest
}

CreateNotebookInstanceRequest is a API request type for the CreateNotebookInstance API operation.

func (CreateNotebookInstanceRequest) Send

Send marshals and sends the CreateNotebookInstance API request.

type CreatePresignedNotebookInstanceUrlInput

type CreatePresignedNotebookInstanceUrlInput struct {

	// The name of the notebook instance.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`

	// The duration of the session, in seconds. The default is 12 hours.
	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrlInput

func (CreatePresignedNotebookInstanceUrlInput) GoString

GoString returns the string representation

func (CreatePresignedNotebookInstanceUrlInput) String

String returns the string representation

func (*CreatePresignedNotebookInstanceUrlInput) Validate

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

type CreatePresignedNotebookInstanceUrlOutput

type CreatePresignedNotebookInstanceUrlOutput struct {

	// A JSON object that contains the URL string.
	AuthorizedUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrlOutput

func (CreatePresignedNotebookInstanceUrlOutput) GoString

GoString returns the string representation

func (CreatePresignedNotebookInstanceUrlOutput) SDKResponseMetadata

func (s CreatePresignedNotebookInstanceUrlOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreatePresignedNotebookInstanceUrlOutput) String

String returns the string representation

type CreatePresignedNotebookInstanceUrlRequest

CreatePresignedNotebookInstanceUrlRequest is a API request type for the CreatePresignedNotebookInstanceUrl API operation.

func (CreatePresignedNotebookInstanceUrlRequest) Send

Send marshals and sends the CreatePresignedNotebookInstanceUrl API request.

type CreateTrainingJobInput

type CreateTrainingJobInput struct {

	// The registry path of the Docker image that contains the training algorithm
	// and algorithm-specific metadata, including the input mode. For more information
	// about algorithms provided by Amazon SageMaker, see Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
	// For information about providing your own algorithms, see your-algorithms.
	//
	// AlgorithmSpecification is a required field
	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`

	// Algorithm-specific parameters. You set hyperparameters before you start the
	// learning process. Hyperparameters influence the quality of the model. For
	// a list of hyperparameters for each training algorithm provided by Amazon
	// SageMaker, see Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
	//
	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
	// a key-value pair. Each key and value is limited to 256 characters, as specified
	// by the Length Constraint.
	HyperParameters map[string]string `type:"map"`

	// An array of Channel objects. Each channel is a named input source. InputDataConfig
	// describes the input data and its location.
	//
	// Algorithms can accept input data from one or more channels. For example,
	// an algorithm might have two channels of input data, training_data and validation_data.
	// The configuration for each channel provides the S3 location where the input
	// data is stored. It also provides information about the stored data: the MIME
	// type, compression method, and whether the data is wrapped in RecordIO format.
	//
	// Depending on the input mode that the algorithm supports, Amazon SageMaker
	// either copies input data files from an S3 bucket to a local directory in
	// the Docker container, or makes it available as input streams.
	//
	// InputDataConfig is a required field
	InputDataConfig []Channel `min:"1" type:"list" required:"true"`

	// Specifies the path to the S3 bucket where you want to store model artifacts.
	// Amazon SageMaker creates subfolders for the artifacts.
	//
	// OutputDataConfig is a required field
	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`

	// The resources, including the ML compute instances and ML storage volumes,
	// to use for model training.
	//
	// ML storage volumes store model artifacts and incremental states. Training
	// algorithms might also use ML storage volumes for scratch space. If you want
	// Amazon SageMaker to use the ML storage volume to store the training data,
	// choose File as the TrainingInputMode in the algorithm specification. For
	// distributed training algorithms, specify an instance count greater than 1.
	//
	// ResourceConfig is a required field
	ResourceConfig *ResourceConfig `type:"structure" required:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
	// to perform tasks on your behalf.
	//
	// During model training, Amazon SageMaker needs your permission to read input
	// data from an S3 bucket, download a Docker image that contains training code,
	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
	// (http://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
	//
	// RoleArn is a required field
	RoleArn *string `min:"20" type:"string" required:"true"`

	// Sets a duration for training. Use this parameter to cap model training costs.
	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
	// delays job termination for 120 seconds. Algorithms might use this 120-second
	// window to save the model artifacts.
	//
	// When Amazon SageMaker terminates a job because the stopping condition has
	// been met, training algorithms provided by Amazon SageMaker save the intermediate
	// results of the job. This intermediate data is a valid model artifact. You
	// can use it to create a model using the CreateModel API.
	//
	// StoppingCondition is a required field
	StoppingCondition *StoppingCondition `type:"structure" required:"true"`

	// An array of key-value pairs. For more information, see Using Cost Allocation
	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
	// in the AWS Billing and Cost Management User Guide.
	Tags []Tag `type:"list"`

	// The name of the training job. The name must be unique within an AWS Region
	// in an AWS account. It appears in the Amazon SageMaker console.
	//
	// TrainingJobName is a required field
	TrainingJobName *string `min:"1" type:"string" required:"true"`

	// A object that specifies the VPC that you want your training job to connect
	// to. Control access to and from your training container by configuring the
	// VPC. For more information, see train-vpc
	VpcConfig *VpcConfig `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJobRequest

func (CreateTrainingJobInput) GoString

func (s CreateTrainingJobInput) GoString() string

GoString returns the string representation

func (CreateTrainingJobInput) String

func (s CreateTrainingJobInput) String() string

String returns the string representation

func (*CreateTrainingJobInput) Validate

func (s *CreateTrainingJobInput) Validate() error

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

type CreateTrainingJobOutput

type CreateTrainingJobOutput struct {

	// The Amazon Resource Name (ARN) of the training job.
	//
	// TrainingJobArn is a required field
	TrainingJobArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJobResponse

func (CreateTrainingJobOutput) GoString

func (s CreateTrainingJobOutput) GoString() string

GoString returns the string representation

func (CreateTrainingJobOutput) SDKResponseMetadata

func (s CreateTrainingJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateTrainingJobOutput) String

func (s CreateTrainingJobOutput) String() string

String returns the string representation

type CreateTrainingJobRequest

type CreateTrainingJobRequest struct {
	*aws.Request
	Input *CreateTrainingJobInput
	Copy  func(*CreateTrainingJobInput) CreateTrainingJobRequest
}

CreateTrainingJobRequest is a API request type for the CreateTrainingJob API operation.

func (CreateTrainingJobRequest) Send

Send marshals and sends the CreateTrainingJob API request.

type DataSource

type DataSource struct {

	// The S3 location of the data source that is associated with a channel.
	//
	// S3DataSource is a required field
	S3DataSource *S3DataSource `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Describes the location of the channel data. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DataSource

func (DataSource) GoString

func (s DataSource) GoString() string

GoString returns the string representation

func (DataSource) String

func (s DataSource) String() string

String returns the string representation

func (*DataSource) Validate

func (s *DataSource) Validate() error

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

type DeleteEndpointConfigInput

type DeleteEndpointConfigInput struct {

	// The name of the endpoint configuration that you want to delete.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfigInput

func (DeleteEndpointConfigInput) GoString

func (s DeleteEndpointConfigInput) GoString() string

GoString returns the string representation

func (DeleteEndpointConfigInput) String

func (s DeleteEndpointConfigInput) String() string

String returns the string representation

func (*DeleteEndpointConfigInput) Validate

func (s *DeleteEndpointConfigInput) Validate() error

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

type DeleteEndpointConfigOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfigOutput

func (DeleteEndpointConfigOutput) GoString

func (s DeleteEndpointConfigOutput) GoString() string

GoString returns the string representation

func (DeleteEndpointConfigOutput) SDKResponseMetadata

func (s DeleteEndpointConfigOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEndpointConfigOutput) String

String returns the string representation

type DeleteEndpointConfigRequest

type DeleteEndpointConfigRequest struct {
	*aws.Request
	Input *DeleteEndpointConfigInput
	Copy  func(*DeleteEndpointConfigInput) DeleteEndpointConfigRequest
}

DeleteEndpointConfigRequest is a API request type for the DeleteEndpointConfig API operation.

func (DeleteEndpointConfigRequest) Send

Send marshals and sends the DeleteEndpointConfig API request.

type DeleteEndpointInput

type DeleteEndpointInput struct {

	// The name of the endpoint that you want to delete.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointInput

func (DeleteEndpointInput) GoString

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation

func (DeleteEndpointInput) String

func (s DeleteEndpointInput) String() string

String returns the string representation

func (*DeleteEndpointInput) Validate

func (s *DeleteEndpointInput) Validate() error

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

type DeleteEndpointOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointOutput

func (DeleteEndpointOutput) GoString

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation

func (DeleteEndpointOutput) SDKResponseMetadata

func (s DeleteEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEndpointOutput) String

func (s DeleteEndpointOutput) String() string

String returns the string representation

type DeleteEndpointRequest

type DeleteEndpointRequest struct {
	*aws.Request
	Input *DeleteEndpointInput
	Copy  func(*DeleteEndpointInput) DeleteEndpointRequest
}

DeleteEndpointRequest is a API request type for the DeleteEndpoint API operation.

func (DeleteEndpointRequest) Send

Send marshals and sends the DeleteEndpoint API request.

type DeleteModelInput

type DeleteModelInput struct {

	// The name of the model to delete.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelInput

func (DeleteModelInput) GoString

func (s DeleteModelInput) GoString() string

GoString returns the string representation

func (DeleteModelInput) String

func (s DeleteModelInput) String() string

String returns the string representation

func (*DeleteModelInput) Validate

func (s *DeleteModelInput) Validate() error

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

type DeleteModelOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelOutput

func (DeleteModelOutput) GoString

func (s DeleteModelOutput) GoString() string

GoString returns the string representation

func (DeleteModelOutput) SDKResponseMetadata

func (s DeleteModelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteModelOutput) String

func (s DeleteModelOutput) String() string

String returns the string representation

type DeleteModelRequest

type DeleteModelRequest struct {
	*aws.Request
	Input *DeleteModelInput
	Copy  func(*DeleteModelInput) DeleteModelRequest
}

DeleteModelRequest is a API request type for the DeleteModel API operation.

func (DeleteModelRequest) Send

Send marshals and sends the DeleteModel API request.

type DeleteNotebookInstanceInput

type DeleteNotebookInstanceInput struct {

	// The name of the Amazon SageMaker notebook instance to delete.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceInput

func (DeleteNotebookInstanceInput) GoString

func (s DeleteNotebookInstanceInput) GoString() string

GoString returns the string representation

func (DeleteNotebookInstanceInput) String

String returns the string representation

func (*DeleteNotebookInstanceInput) Validate

func (s *DeleteNotebookInstanceInput) Validate() error

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

type DeleteNotebookInstanceLifecycleConfigInput

type DeleteNotebookInstanceLifecycleConfigInput struct {

	// The name of the lifecycle configuration to delete.
	//
	// NotebookInstanceLifecycleConfigName is a required field
	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfigInput

func (DeleteNotebookInstanceLifecycleConfigInput) GoString

GoString returns the string representation

func (DeleteNotebookInstanceLifecycleConfigInput) String

String returns the string representation

func (*DeleteNotebookInstanceLifecycleConfigInput) Validate

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

type DeleteNotebookInstanceLifecycleConfigOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfigOutput

func (DeleteNotebookInstanceLifecycleConfigOutput) GoString

GoString returns the string representation

func (DeleteNotebookInstanceLifecycleConfigOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteNotebookInstanceLifecycleConfigOutput) String

String returns the string representation

type DeleteNotebookInstanceLifecycleConfigRequest

DeleteNotebookInstanceLifecycleConfigRequest is a API request type for the DeleteNotebookInstanceLifecycleConfig API operation.

func (DeleteNotebookInstanceLifecycleConfigRequest) Send

Send marshals and sends the DeleteNotebookInstanceLifecycleConfig API request.

type DeleteNotebookInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceOutput

func (DeleteNotebookInstanceOutput) GoString

func (s DeleteNotebookInstanceOutput) GoString() string

GoString returns the string representation

func (DeleteNotebookInstanceOutput) SDKResponseMetadata

func (s DeleteNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteNotebookInstanceOutput) String

String returns the string representation

type DeleteNotebookInstanceRequest

type DeleteNotebookInstanceRequest struct {
	*aws.Request
	Input *DeleteNotebookInstanceInput
	Copy  func(*DeleteNotebookInstanceInput) DeleteNotebookInstanceRequest
}

DeleteNotebookInstanceRequest is a API request type for the DeleteNotebookInstance API operation.

func (DeleteNotebookInstanceRequest) Send

Send marshals and sends the DeleteNotebookInstance API request.

type DeleteTagsInput

type DeleteTagsInput struct {

	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// An array or one or more tag keys to delete.
	//
	// TagKeys is a required field
	TagKeys []string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTagsInput

func (DeleteTagsInput) GoString

func (s DeleteTagsInput) GoString() string

GoString returns the string representation

func (DeleteTagsInput) String

func (s DeleteTagsInput) String() string

String returns the string representation

func (*DeleteTagsInput) Validate

func (s *DeleteTagsInput) Validate() error

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

type DeleteTagsOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTagsOutput

func (DeleteTagsOutput) GoString

func (s DeleteTagsOutput) GoString() string

GoString returns the string representation

func (DeleteTagsOutput) SDKResponseMetadata

func (s DeleteTagsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteTagsOutput) String

func (s DeleteTagsOutput) String() string

String returns the string representation

type DeleteTagsRequest

type DeleteTagsRequest struct {
	*aws.Request
	Input *DeleteTagsInput
	Copy  func(*DeleteTagsInput) DeleteTagsRequest
}

DeleteTagsRequest is a API request type for the DeleteTags API operation.

func (DeleteTagsRequest) Send

Send marshals and sends the DeleteTags API request.

type DescribeEndpointConfigInput

type DescribeEndpointConfigInput struct {

	// The name of the endpoint configuration.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfigInput

func (DescribeEndpointConfigInput) GoString

func (s DescribeEndpointConfigInput) GoString() string

GoString returns the string representation

func (DescribeEndpointConfigInput) String

String returns the string representation

func (*DescribeEndpointConfigInput) Validate

func (s *DescribeEndpointConfigInput) Validate() error

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

type DescribeEndpointConfigOutput

type DescribeEndpointConfigOutput struct {

	// A timestamp that shows when the endpoint configuration was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the endpoint configuration.
	//
	// EndpointConfigArn is a required field
	EndpointConfigArn *string `min:"20" type:"string" required:"true"`

	// Name of the Amazon SageMaker endpoint configuration.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`

	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
	// ML storage volume attached to the instance.
	KmsKeyId *string `type:"string"`

	// An array of ProductionVariant objects, one for each model that you want to
	// host at this endpoint.
	//
	// ProductionVariants is a required field
	ProductionVariants []ProductionVariant `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfigOutput

func (DescribeEndpointConfigOutput) GoString

func (s DescribeEndpointConfigOutput) GoString() string

GoString returns the string representation

func (DescribeEndpointConfigOutput) SDKResponseMetadata

func (s DescribeEndpointConfigOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEndpointConfigOutput) String

String returns the string representation

type DescribeEndpointConfigRequest

type DescribeEndpointConfigRequest struct {
	*aws.Request
	Input *DescribeEndpointConfigInput
	Copy  func(*DescribeEndpointConfigInput) DescribeEndpointConfigRequest
}

DescribeEndpointConfigRequest is a API request type for the DescribeEndpointConfig API operation.

func (DescribeEndpointConfigRequest) Send

Send marshals and sends the DescribeEndpointConfig API request.

type DescribeEndpointInput

type DescribeEndpointInput struct {

	// The name of the endpoint.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointInput

func (DescribeEndpointInput) GoString

func (s DescribeEndpointInput) GoString() string

GoString returns the string representation

func (DescribeEndpointInput) String

func (s DescribeEndpointInput) String() string

String returns the string representation

func (*DescribeEndpointInput) Validate

func (s *DescribeEndpointInput) Validate() error

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

type DescribeEndpointOutput

type DescribeEndpointOutput struct {

	// A timestamp that shows when the endpoint was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the endpoint.
	//
	// EndpointArn is a required field
	EndpointArn *string `min:"20" type:"string" required:"true"`

	// The name of the endpoint configuration associated with this endpoint.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`

	// Name of the endpoint.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`

	// The status of the endpoint.
	//
	// EndpointStatus is a required field
	EndpointStatus EndpointStatus `type:"string" required:"true" enum:"true"`

	// If the status of the endpoint is Failed, the reason why it failed.
	FailureReason *string `type:"string"`

	// A timestamp that shows when the endpoint was last modified.
	//
	// LastModifiedTime is a required field
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// An array of ProductionVariant objects, one for each model hosted behind this
	// endpoint.
	ProductionVariants []ProductionVariantSummary `min:"1" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointOutput

func (DescribeEndpointOutput) GoString

func (s DescribeEndpointOutput) GoString() string

GoString returns the string representation

func (DescribeEndpointOutput) SDKResponseMetadata

func (s DescribeEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeEndpointOutput) String

func (s DescribeEndpointOutput) String() string

String returns the string representation

type DescribeEndpointRequest

type DescribeEndpointRequest struct {
	*aws.Request
	Input *DescribeEndpointInput
	Copy  func(*DescribeEndpointInput) DescribeEndpointRequest
}

DescribeEndpointRequest is a API request type for the DescribeEndpoint API operation.

func (DescribeEndpointRequest) Send

Send marshals and sends the DescribeEndpoint API request.

type DescribeModelInput

type DescribeModelInput struct {

	// The name of the model.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelInput

func (DescribeModelInput) GoString

func (s DescribeModelInput) GoString() string

GoString returns the string representation

func (DescribeModelInput) String

func (s DescribeModelInput) String() string

String returns the string representation

func (*DescribeModelInput) Validate

func (s *DescribeModelInput) Validate() error

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

type DescribeModelOutput

type DescribeModelOutput struct {

	// A timestamp that shows when the model was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
	// model.
	//
	// ExecutionRoleArn is a required field
	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the model.
	//
	// ModelArn is a required field
	ModelArn *string `min:"20" type:"string" required:"true"`

	// Name of the Amazon SageMaker model.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`

	// The location of the primary inference code, associated artifacts, and custom
	// environment map that the inference code uses when it is deployed in production.
	//
	// PrimaryContainer is a required field
	PrimaryContainer *ContainerDefinition `type:"structure" required:"true"`

	// A object that specifies the VPC that this model has access to. For more information,
	// see host-vpc
	VpcConfig *VpcConfig `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelOutput

func (DescribeModelOutput) GoString

func (s DescribeModelOutput) GoString() string

GoString returns the string representation

func (DescribeModelOutput) SDKResponseMetadata

func (s DescribeModelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeModelOutput) String

func (s DescribeModelOutput) String() string

String returns the string representation

type DescribeModelRequest

type DescribeModelRequest struct {
	*aws.Request
	Input *DescribeModelInput
	Copy  func(*DescribeModelInput) DescribeModelRequest
}

DescribeModelRequest is a API request type for the DescribeModel API operation.

func (DescribeModelRequest) Send

Send marshals and sends the DescribeModel API request.

type DescribeNotebookInstanceInput

type DescribeNotebookInstanceInput struct {

	// The name of the notebook instance that you want information about.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceInput

func (DescribeNotebookInstanceInput) GoString

GoString returns the string representation

func (DescribeNotebookInstanceInput) String

String returns the string representation

func (*DescribeNotebookInstanceInput) Validate

func (s *DescribeNotebookInstanceInput) Validate() error

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

type DescribeNotebookInstanceLifecycleConfigInput

type DescribeNotebookInstanceLifecycleConfigInput struct {

	// The name of the lifecycle configuration to describe.
	//
	// NotebookInstanceLifecycleConfigName is a required field
	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfigInput

func (DescribeNotebookInstanceLifecycleConfigInput) GoString

GoString returns the string representation

func (DescribeNotebookInstanceLifecycleConfigInput) String

String returns the string representation

func (*DescribeNotebookInstanceLifecycleConfigInput) Validate

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

type DescribeNotebookInstanceLifecycleConfigOutput

type DescribeNotebookInstanceLifecycleConfigOutput struct {

	// A timestamp that tells when the lifecycle configuration was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A timestamp that tells when the lifecycle configuration was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the lifecycle configuration.
	NotebookInstanceLifecycleConfigArn *string `type:"string"`

	// The name of the lifecycle configuration.
	NotebookInstanceLifecycleConfigName *string `type:"string"`

	// The shell script that runs only once, when you create a notebook instance.
	OnCreate []NotebookInstanceLifecycleHook `type:"list"`

	// The shell script that runs every time you start a notebook instance, including
	// when you create the notebook instance.
	OnStart []NotebookInstanceLifecycleHook `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfigOutput

func (DescribeNotebookInstanceLifecycleConfigOutput) GoString

GoString returns the string representation

func (DescribeNotebookInstanceLifecycleConfigOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeNotebookInstanceLifecycleConfigOutput) String

String returns the string representation

type DescribeNotebookInstanceLifecycleConfigRequest

DescribeNotebookInstanceLifecycleConfigRequest is a API request type for the DescribeNotebookInstanceLifecycleConfig API operation.

func (DescribeNotebookInstanceLifecycleConfigRequest) Send

Send marshals and sends the DescribeNotebookInstanceLifecycleConfig API request.

type DescribeNotebookInstanceOutput

type DescribeNotebookInstanceOutput struct {

	// A timestamp. Use this parameter to return the time when the notebook instance
	// was created
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// Describes whether Amazon SageMaker provides internet access to the notebook
	// instance. If this value is set to Disabled, he notebook instance does not
	// have internet access, and cannot connect to Amazon SageMaker training and
	// endpoint services.
	//
	// For more information, see appendix-notebook-and-internet-access.
	DirectInternetAccess DirectInternetAccess `type:"string" enum:"true"`

	// If status is failed, the reason it failed.
	FailureReason *string `type:"string"`

	// The type of ML compute instance running on the notebook instance.
	InstanceType InstanceType `type:"string" enum:"true"`

	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
	// ML storage volume attached to the instance.
	KmsKeyId *string `type:"string"`

	// A timestamp. Use this parameter to retrieve the time when the notebook instance
	// was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// Network interface IDs that Amazon SageMaker created at the time of creating
	// the instance.
	NetworkInterfaceId *string `type:"string"`

	// The Amazon Resource Name (ARN) of the notebook instance.
	NotebookInstanceArn *string `type:"string"`

	// Returns the name of a notebook instance lifecycle configuration.
	//
	// For information about notebook instance lifestyle configurations, see notebook-lifecycle-config.
	NotebookInstanceLifecycleConfigName *string `type:"string"`

	// Name of the Amazon SageMaker notebook instance.
	NotebookInstanceName *string `type:"string"`

	// The status of the notebook instance.
	NotebookInstanceStatus NotebookInstanceStatus `type:"string" enum:"true"`

	// Amazon Resource Name (ARN) of the IAM role associated with the instance.
	RoleArn *string `min:"20" type:"string"`

	// The IDs of the VPC security groups.
	SecurityGroups []string `type:"list"`

	// The ID of the VPC subnet.
	SubnetId *string `type:"string"`

	// The URL that you use to connect to the Jupyter notebook that is running in
	// your notebook instance.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceOutput

func (DescribeNotebookInstanceOutput) GoString

GoString returns the string representation

func (DescribeNotebookInstanceOutput) SDKResponseMetadata

func (s DescribeNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeNotebookInstanceOutput) String

String returns the string representation

type DescribeNotebookInstanceRequest

type DescribeNotebookInstanceRequest struct {
	*aws.Request
	Input *DescribeNotebookInstanceInput
	Copy  func(*DescribeNotebookInstanceInput) DescribeNotebookInstanceRequest
}

DescribeNotebookInstanceRequest is a API request type for the DescribeNotebookInstance API operation.

func (DescribeNotebookInstanceRequest) Send

Send marshals and sends the DescribeNotebookInstance API request.

type DescribeTrainingJobInput

type DescribeTrainingJobInput struct {

	// The name of the training job.
	//
	// TrainingJobName is a required field
	TrainingJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJobRequest

func (DescribeTrainingJobInput) GoString

func (s DescribeTrainingJobInput) GoString() string

GoString returns the string representation

func (DescribeTrainingJobInput) String

func (s DescribeTrainingJobInput) String() string

String returns the string representation

func (*DescribeTrainingJobInput) Validate

func (s *DescribeTrainingJobInput) Validate() error

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

type DescribeTrainingJobOutput

type DescribeTrainingJobOutput struct {

	// Information about the algorithm used for training, and algorithm metadata.
	//
	// AlgorithmSpecification is a required field
	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`

	// A timestamp that indicates when the training job was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// If the training job failed, the reason it failed.
	FailureReason *string `type:"string"`

	// Algorithm-specific parameters.
	HyperParameters map[string]string `type:"map"`

	// An array of Channel objects that describes each data input channel.
	//
	// InputDataConfig is a required field
	InputDataConfig []Channel `min:"1" type:"list" required:"true"`

	// A timestamp that indicates when the status of the training job was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// Information about the Amazon S3 location that is configured for storing model
	// artifacts.
	//
	// ModelArtifacts is a required field
	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`

	// The S3 path where model artifacts that you configured when creating the job
	// are stored. Amazon SageMaker creates subfolders for model artifacts.
	OutputDataConfig *OutputDataConfig `type:"structure"`

	// Resources, including ML compute instances and ML storage volumes, that are
	// configured for model training.
	//
	// ResourceConfig is a required field
	ResourceConfig *ResourceConfig `type:"structure" required:"true"`

	// The AWS Identity and Access Management (IAM) role configured for the training
	// job.
	RoleArn *string `min:"20" type:"string"`

	// Provides granular information about the system state. For more information,
	// see TrainingJobStatus.
	//
	// SecondaryStatus is a required field
	SecondaryStatus SecondaryStatus `type:"string" required:"true" enum:"true"`

	// The condition under which to stop the training job.
	//
	// StoppingCondition is a required field
	StoppingCondition *StoppingCondition `type:"structure" required:"true"`

	// A timestamp that indicates when model training ended.
	TrainingEndTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the training job.
	//
	// TrainingJobArn is a required field
	TrainingJobArn *string `type:"string" required:"true"`

	// Name of the model training job.
	//
	// TrainingJobName is a required field
	TrainingJobName *string `min:"1" type:"string" required:"true"`

	// The status of the training job.
	//
	// For the InProgress status, Amazon SageMaker can return these secondary statuses:
	//
	//    * Starting - Preparing for training.
	//
	//    * Downloading - Optional stage for algorithms that support File training
	//    input mode. It indicates data is being downloaded to ML storage volumes.
	//
	//    * Training - Training is in progress.
	//
	//    * Uploading - Training is complete and model upload is in progress.
	//
	// For the Stopped training status, Amazon SageMaker can return these secondary
	// statuses:
	//
	//    * MaxRuntimeExceeded - Job stopped as a result of maximum allowed runtime
	//    exceeded.
	//
	// TrainingJobStatus is a required field
	TrainingJobStatus TrainingJobStatus `type:"string" required:"true" enum:"true"`

	// A timestamp that indicates when training started.
	TrainingStartTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A object that specifies the VPC that this training job has access to. For
	// more information, see train-vpc.
	VpcConfig *VpcConfig `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJobResponse

func (DescribeTrainingJobOutput) GoString

func (s DescribeTrainingJobOutput) GoString() string

GoString returns the string representation

func (DescribeTrainingJobOutput) SDKResponseMetadata

func (s DescribeTrainingJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeTrainingJobOutput) String

func (s DescribeTrainingJobOutput) String() string

String returns the string representation

type DescribeTrainingJobRequest

type DescribeTrainingJobRequest struct {
	*aws.Request
	Input *DescribeTrainingJobInput
	Copy  func(*DescribeTrainingJobInput) DescribeTrainingJobRequest
}

DescribeTrainingJobRequest is a API request type for the DescribeTrainingJob API operation.

func (DescribeTrainingJobRequest) Send

Send marshals and sends the DescribeTrainingJob API request.

type DesiredWeightAndCapacity

type DesiredWeightAndCapacity struct {

	// The variant's capacity.
	DesiredInstanceCount *int64 `min:"1" type:"integer"`

	// The variant's weight.
	DesiredWeight *float64 `type:"float"`

	// The name of the variant to update.
	//
	// VariantName is a required field
	VariantName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies weight and capacity values for a production variant. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DesiredWeightAndCapacity

func (DesiredWeightAndCapacity) GoString

func (s DesiredWeightAndCapacity) GoString() string

GoString returns the string representation

func (DesiredWeightAndCapacity) String

func (s DesiredWeightAndCapacity) String() string

String returns the string representation

func (*DesiredWeightAndCapacity) Validate

func (s *DesiredWeightAndCapacity) Validate() error

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

type DirectInternetAccess

type DirectInternetAccess string
const (
	DirectInternetAccessEnabled  DirectInternetAccess = "Enabled"
	DirectInternetAccessDisabled DirectInternetAccess = "Disabled"
)

Enum values for DirectInternetAccess

func (DirectInternetAccess) MarshalValue

func (enum DirectInternetAccess) MarshalValue() (string, error)

func (DirectInternetAccess) MarshalValueBuf

func (enum DirectInternetAccess) MarshalValueBuf(b []byte) ([]byte, error)

type EndpointConfigSortKey

type EndpointConfigSortKey string
const (
	EndpointConfigSortKeyName         EndpointConfigSortKey = "Name"
	EndpointConfigSortKeyCreationTime EndpointConfigSortKey = "CreationTime"
)

Enum values for EndpointConfigSortKey

func (EndpointConfigSortKey) MarshalValue

func (enum EndpointConfigSortKey) MarshalValue() (string, error)

func (EndpointConfigSortKey) MarshalValueBuf

func (enum EndpointConfigSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type EndpointConfigSummary

type EndpointConfigSummary struct {

	// A timestamp that shows when the endpoint configuration was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the endpoint configuration.
	//
	// EndpointConfigArn is a required field
	EndpointConfigArn *string `min:"20" type:"string" required:"true"`

	// The name of the endpoint configuration.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides summary information for an endpoint configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointConfigSummary

func (EndpointConfigSummary) GoString

func (s EndpointConfigSummary) GoString() string

GoString returns the string representation

func (EndpointConfigSummary) String

func (s EndpointConfigSummary) String() string

String returns the string representation

type EndpointSortKey

type EndpointSortKey string
const (
	EndpointSortKeyName         EndpointSortKey = "Name"
	EndpointSortKeyCreationTime EndpointSortKey = "CreationTime"
	EndpointSortKeyStatus       EndpointSortKey = "Status"
)

Enum values for EndpointSortKey

func (EndpointSortKey) MarshalValue

func (enum EndpointSortKey) MarshalValue() (string, error)

func (EndpointSortKey) MarshalValueBuf

func (enum EndpointSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type EndpointStatus

type EndpointStatus string
const (
	EndpointStatusOutOfService EndpointStatus = "OutOfService"
	EndpointStatusCreating     EndpointStatus = "Creating"
	EndpointStatusUpdating     EndpointStatus = "Updating"
	EndpointStatusRollingBack  EndpointStatus = "RollingBack"
	EndpointStatusInService    EndpointStatus = "InService"
	EndpointStatusDeleting     EndpointStatus = "Deleting"
	EndpointStatusFailed       EndpointStatus = "Failed"
)

Enum values for EndpointStatus

func (EndpointStatus) MarshalValue

func (enum EndpointStatus) MarshalValue() (string, error)

func (EndpointStatus) MarshalValueBuf

func (enum EndpointStatus) MarshalValueBuf(b []byte) ([]byte, error)

type EndpointSummary

type EndpointSummary struct {

	// A timestamp that shows when the endpoint was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the endpoint.
	//
	// EndpointArn is a required field
	EndpointArn *string `min:"20" type:"string" required:"true"`

	// The name of the endpoint.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`

	// The status of the endpoint.
	//
	// EndpointStatus is a required field
	EndpointStatus EndpointStatus `type:"string" required:"true" enum:"true"`

	// A timestamp that shows when the endpoint was last modified.
	//
	// LastModifiedTime is a required field
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
	// contains filtered or unexported fields
}

Provides summary information for an endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointSummary

func (EndpointSummary) GoString

func (s EndpointSummary) GoString() string

GoString returns the string representation

func (EndpointSummary) String

func (s EndpointSummary) String() string

String returns the string representation

type InstanceType

type InstanceType string
const (
	InstanceTypeMlT2Medium   InstanceType = "ml.t2.medium"
	InstanceTypeMlT2Large    InstanceType = "ml.t2.large"
	InstanceTypeMlT2Xlarge   InstanceType = "ml.t2.xlarge"
	InstanceTypeMlT22xlarge  InstanceType = "ml.t2.2xlarge"
	InstanceTypeMlM4Xlarge   InstanceType = "ml.m4.xlarge"
	InstanceTypeMlM42xlarge  InstanceType = "ml.m4.2xlarge"
	InstanceTypeMlM44xlarge  InstanceType = "ml.m4.4xlarge"
	InstanceTypeMlM410xlarge InstanceType = "ml.m4.10xlarge"
	InstanceTypeMlM416xlarge InstanceType = "ml.m4.16xlarge"
	InstanceTypeMlP2Xlarge   InstanceType = "ml.p2.xlarge"
	InstanceTypeMlP28xlarge  InstanceType = "ml.p2.8xlarge"
	InstanceTypeMlP216xlarge InstanceType = "ml.p2.16xlarge"
	InstanceTypeMlP32xlarge  InstanceType = "ml.p3.2xlarge"
	InstanceTypeMlP38xlarge  InstanceType = "ml.p3.8xlarge"
	InstanceTypeMlP316xlarge InstanceType = "ml.p3.16xlarge"
)

Enum values for InstanceType

func (InstanceType) MarshalValue

func (enum InstanceType) MarshalValue() (string, error)

func (InstanceType) MarshalValueBuf

func (enum InstanceType) MarshalValueBuf(b []byte) ([]byte, error)

type ListEndpointConfigsInput

type ListEndpointConfigsInput struct {

	// A filter that returns only endpoint configurations created after the specified
	// time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only endpoint configurations created before the specified
	// time (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of training jobs to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in the endpoint configuration name. This filter returns only endpoint
	// configurations whose name contains the specified string.
	NameContains *string `type:"string"`

	// If the result of the previous ListEndpointConfig request was truncated, the
	// response includes a NextToken. To retrieve the next set of endpoint configurations,
	// use the token in the next request.
	NextToken *string `type:"string"`

	// The field to sort results by. The default is CreationTime.
	SortBy EndpointConfigSortKey `type:"string" enum:"true"`

	// The sort order for results. The default is Ascending.
	SortOrder OrderKey `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigsInput

func (ListEndpointConfigsInput) GoString

func (s ListEndpointConfigsInput) GoString() string

GoString returns the string representation

func (ListEndpointConfigsInput) String

func (s ListEndpointConfigsInput) String() string

String returns the string representation

func (*ListEndpointConfigsInput) Validate

func (s *ListEndpointConfigsInput) Validate() error

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

type ListEndpointConfigsOutput

type ListEndpointConfigsOutput struct {

	// An array of endpoint configurations.
	//
	// EndpointConfigs is a required field
	EndpointConfigs []EndpointConfigSummary `type:"list" required:"true"`

	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
	// the next set of endpoint configurations, use it in the subsequent request
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigsOutput

func (ListEndpointConfigsOutput) GoString

func (s ListEndpointConfigsOutput) GoString() string

GoString returns the string representation

func (ListEndpointConfigsOutput) SDKResponseMetadata

func (s ListEndpointConfigsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListEndpointConfigsOutput) String

func (s ListEndpointConfigsOutput) String() string

String returns the string representation

type ListEndpointConfigsPager

type ListEndpointConfigsPager struct {
	aws.Pager
}

ListEndpointConfigsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListEndpointConfigsPager) CurrentPage

type ListEndpointConfigsRequest

type ListEndpointConfigsRequest struct {
	*aws.Request
	Input *ListEndpointConfigsInput
	Copy  func(*ListEndpointConfigsInput) ListEndpointConfigsRequest
}

ListEndpointConfigsRequest is a API request type for the ListEndpointConfigs API operation.

func (*ListEndpointConfigsRequest) Paginate

Paginate pages iterates over the pages of a ListEndpointConfigsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
		req := client.ListEndpointConfigsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListEndpointConfigsRequest) Send

Send marshals and sends the ListEndpointConfigs API request.

type ListEndpointsInput

type ListEndpointsInput struct {

	// A filter that returns only endpoints that were created after the specified
	// time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only endpoints that were created before the specified
	// time (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only endpoints that were modified after the specified
	// timestamp.
	LastModifiedTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only endpoints that were modified before the specified
	// timestamp.
	LastModifiedTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of endpoints to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in endpoint names. This filter returns only endpoints whose name
	// contains the specified string.
	NameContains *string `type:"string"`

	// If the result of a ListEndpoints request was truncated, the response includes
	// a NextToken. To retrieve the next set of endpoints, use the token in the
	// next request.
	NextToken *string `type:"string"`

	// Sorts the list of results. The default is CreationTime.
	SortBy EndpointSortKey `type:"string" enum:"true"`

	// The sort order for results. The default is Ascending.
	SortOrder OrderKey `type:"string" enum:"true"`

	// A filter that returns only endpoints with the specified status.
	StatusEquals EndpointStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointsInput

func (ListEndpointsInput) GoString

func (s ListEndpointsInput) GoString() string

GoString returns the string representation

func (ListEndpointsInput) String

func (s ListEndpointsInput) String() string

String returns the string representation

func (*ListEndpointsInput) Validate

func (s *ListEndpointsInput) Validate() error

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

type ListEndpointsOutput

type ListEndpointsOutput struct {

	// An array or endpoint objects.
	//
	// Endpoints is a required field
	Endpoints []EndpointSummary `type:"list" required:"true"`

	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
	// the next set of training jobs, use it in the subsequent request.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointsOutput

func (ListEndpointsOutput) GoString

func (s ListEndpointsOutput) GoString() string

GoString returns the string representation

func (ListEndpointsOutput) SDKResponseMetadata

func (s ListEndpointsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListEndpointsOutput) String

func (s ListEndpointsOutput) String() string

String returns the string representation

type ListEndpointsPager

type ListEndpointsPager struct {
	aws.Pager
}

ListEndpointsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListEndpointsPager) CurrentPage

func (p *ListEndpointsPager) CurrentPage() *ListEndpointsOutput

type ListEndpointsRequest

type ListEndpointsRequest struct {
	*aws.Request
	Input *ListEndpointsInput
	Copy  func(*ListEndpointsInput) ListEndpointsRequest
}

ListEndpointsRequest is a API request type for the ListEndpoints API operation.

func (*ListEndpointsRequest) Paginate

func (p *ListEndpointsRequest) Paginate(opts ...aws.Option) ListEndpointsPager

Paginate pages iterates over the pages of a ListEndpointsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListEndpoints operation.
		req := client.ListEndpointsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListEndpointsRequest) Send

Send marshals and sends the ListEndpoints API request.

type ListModelsInput

type ListModelsInput struct {

	// A filter that returns only models created after the specified time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only models created before the specified time (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of models to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in the training job name. This filter returns only models in the
	// training job whose name contains the specified string.
	NameContains *string `type:"string"`

	// If the response to a previous ListModels request was truncated, the response
	// includes a NextToken. To retrieve the next set of models, use the token in
	// the next request.
	NextToken *string `type:"string"`

	// Sorts the list of results. The default is CreationTime.
	SortBy ModelSortKey `type:"string" enum:"true"`

	// The sort order for results. The default is Ascending.
	SortOrder OrderKey `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelsInput

func (ListModelsInput) GoString

func (s ListModelsInput) GoString() string

GoString returns the string representation

func (ListModelsInput) String

func (s ListModelsInput) String() string

String returns the string representation

func (*ListModelsInput) Validate

func (s *ListModelsInput) Validate() error

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

type ListModelsOutput

type ListModelsOutput struct {

	// An array of ModelSummary objects, each of which lists a model.
	//
	// Models is a required field
	Models []ModelSummary `type:"list" required:"true"`

	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
	// the next set of models, use it in the subsequent request.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelsOutput

func (ListModelsOutput) GoString

func (s ListModelsOutput) GoString() string

GoString returns the string representation

func (ListModelsOutput) SDKResponseMetadata

func (s ListModelsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListModelsOutput) String

func (s ListModelsOutput) String() string

String returns the string representation

type ListModelsPager

type ListModelsPager struct {
	aws.Pager
}

ListModelsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListModelsPager) CurrentPage

func (p *ListModelsPager) CurrentPage() *ListModelsOutput

type ListModelsRequest

type ListModelsRequest struct {
	*aws.Request
	Input *ListModelsInput
	Copy  func(*ListModelsInput) ListModelsRequest
}

ListModelsRequest is a API request type for the ListModels API operation.

func (*ListModelsRequest) Paginate

func (p *ListModelsRequest) Paginate(opts ...aws.Option) ListModelsPager

Paginate pages iterates over the pages of a ListModelsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListModels operation.
		req := client.ListModelsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListModelsRequest) Send

Send marshals and sends the ListModels API request.

type ListNotebookInstanceLifecycleConfigsInput

type ListNotebookInstanceLifecycleConfigsInput struct {

	// A filter that returns only lifecycle configurations that were created after
	// the specified time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only lifecycle configurations that were created before
	// the specified time (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only lifecycle configurations that were modified after
	// the specified time (timestamp).
	LastModifiedTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only lifecycle configurations that were modified before
	// the specified time (timestamp).
	LastModifiedTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of lifecycle configurations to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in the lifecycle configuration name. This filter returns only lifecycle
	// configurations whose name contains the specified string.
	NameContains *string `type:"string"`

	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
	// the response includes a NextToken. To get the next set of lifecycle configurations,
	// use the token in the next request.
	NextToken *string `type:"string"`

	// Sorts the list of results. The default is CreationTime.
	SortBy NotebookInstanceLifecycleConfigSortKey `type:"string" enum:"true"`

	// The sort order for results.
	SortOrder NotebookInstanceLifecycleConfigSortOrder `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigsInput

func (ListNotebookInstanceLifecycleConfigsInput) GoString

GoString returns the string representation

func (ListNotebookInstanceLifecycleConfigsInput) String

String returns the string representation

func (*ListNotebookInstanceLifecycleConfigsInput) Validate

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

type ListNotebookInstanceLifecycleConfigsOutput

type ListNotebookInstanceLifecycleConfigsOutput struct {

	// If the response is truncated, Amazon SageMaker returns this token. To get
	// the next set of lifecycle configurations, use it in the next request.
	NextToken *string `type:"string"`

	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
	// a lifecycle configuration.
	NotebookInstanceLifecycleConfigs []NotebookInstanceLifecycleConfigSummary `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigsOutput

func (ListNotebookInstanceLifecycleConfigsOutput) GoString

GoString returns the string representation

func (ListNotebookInstanceLifecycleConfigsOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (ListNotebookInstanceLifecycleConfigsOutput) String

String returns the string representation

type ListNotebookInstanceLifecycleConfigsPager

type ListNotebookInstanceLifecycleConfigsPager struct {
	aws.Pager
}

ListNotebookInstanceLifecycleConfigsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListNotebookInstanceLifecycleConfigsPager) CurrentPage

type ListNotebookInstanceLifecycleConfigsRequest

ListNotebookInstanceLifecycleConfigsRequest is a API request type for the ListNotebookInstanceLifecycleConfigs API operation.

func (*ListNotebookInstanceLifecycleConfigsRequest) Paginate

Paginate pages iterates over the pages of a ListNotebookInstanceLifecycleConfigsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
		req := client.ListNotebookInstanceLifecycleConfigsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListNotebookInstanceLifecycleConfigsRequest) Send

Send marshals and sends the ListNotebookInstanceLifecycleConfigs API request.

type ListNotebookInstancesInput

type ListNotebookInstancesInput struct {

	// A filter that returns only notebook instances that were created after the
	// specified time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only notebook instances that were created before the
	// specified time (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only notebook instances that were modified after the
	// specified time (timestamp).
	LastModifiedTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only notebook instances that were modified before the
	// specified time (timestamp).
	LastModifiedTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of notebook instances to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in the notebook instances' name. This filter returns only notebook
	// instances whose name contains the specified string.
	NameContains *string `type:"string"`

	// If the previous call to the ListNotebookInstances is truncated, the response
	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
	// request to fetch the next set of notebook instances.
	//
	// You might specify a filter or a sort order in your request. When response
	// is truncated, you must use the same values for the filer and sort order in
	// the next request.
	NextToken *string `type:"string"`

	// A string in the name of a notebook instances lifecycle configuration associated
	// with this notebook instance. This filter returns only notebook instances
	// associated with a lifecycle configuration with a name that contains the specified
	// string.
	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`

	// The field to sort results by. The default is Name.
	SortBy NotebookInstanceSortKey `type:"string" enum:"true"`

	// The sort order for results.
	SortOrder NotebookInstanceSortOrder `type:"string" enum:"true"`

	// A filter that returns only notebook instances with the specified status.
	StatusEquals NotebookInstanceStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstancesInput

func (ListNotebookInstancesInput) GoString

func (s ListNotebookInstancesInput) GoString() string

GoString returns the string representation

func (ListNotebookInstancesInput) String

String returns the string representation

func (*ListNotebookInstancesInput) Validate

func (s *ListNotebookInstancesInput) Validate() error

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

type ListNotebookInstancesOutput

type ListNotebookInstancesOutput struct {

	// If the response to the previous ListNotebookInstances request was truncated,
	// Amazon SageMaker returns this token. To retrieve the next set of notebook
	// instances, use the token in the next request.
	NextToken *string `type:"string"`

	// An array of NotebookInstanceSummary objects, one for each notebook instance.
	NotebookInstances []NotebookInstanceSummary `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstancesOutput

func (ListNotebookInstancesOutput) GoString

func (s ListNotebookInstancesOutput) GoString() string

GoString returns the string representation

func (ListNotebookInstancesOutput) SDKResponseMetadata

func (s ListNotebookInstancesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListNotebookInstancesOutput) String

String returns the string representation

type ListNotebookInstancesPager

type ListNotebookInstancesPager struct {
	aws.Pager
}

ListNotebookInstancesPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListNotebookInstancesPager) CurrentPage

type ListNotebookInstancesRequest

type ListNotebookInstancesRequest struct {
	*aws.Request
	Input *ListNotebookInstancesInput
	Copy  func(*ListNotebookInstancesInput) ListNotebookInstancesRequest
}

ListNotebookInstancesRequest is a API request type for the ListNotebookInstances API operation.

func (*ListNotebookInstancesRequest) Paginate

Paginate pages iterates over the pages of a ListNotebookInstancesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListNotebookInstances operation.
		req := client.ListNotebookInstancesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListNotebookInstancesRequest) Send

Send marshals and sends the ListNotebookInstances API request.

type ListTagsInput

type ListTagsInput struct {

	// Maximum number of tags to return.
	MaxResults *int64 `min:"50" type:"integer"`

	// If the response to the previous ListTags request is truncated, Amazon SageMaker
	// returns this token. To retrieve the next set of tags, use it in the subsequent
	// request.
	NextToken *string `type:"string"`

	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTagsInput

func (ListTagsInput) GoString

func (s ListTagsInput) GoString() string

GoString returns the string representation

func (ListTagsInput) String

func (s ListTagsInput) String() string

String returns the string representation

func (*ListTagsInput) Validate

func (s *ListTagsInput) Validate() error

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

type ListTagsOutput

type ListTagsOutput struct {

	// If response is truncated, Amazon SageMaker includes a token in the response.
	// You can use this token in your subsequent request to fetch next set of tokens.
	NextToken *string `type:"string"`

	// An array of Tag objects, each with a tag key and a value.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTagsOutput

func (ListTagsOutput) GoString

func (s ListTagsOutput) GoString() string

GoString returns the string representation

func (ListTagsOutput) SDKResponseMetadata

func (s ListTagsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTagsOutput) String

func (s ListTagsOutput) String() string

String returns the string representation

type ListTagsPager

type ListTagsPager struct {
	aws.Pager
}

ListTagsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListTagsPager) CurrentPage

func (p *ListTagsPager) CurrentPage() *ListTagsOutput

type ListTagsRequest

type ListTagsRequest struct {
	*aws.Request
	Input *ListTagsInput
	Copy  func(*ListTagsInput) ListTagsRequest
}

ListTagsRequest is a API request type for the ListTags API operation.

func (*ListTagsRequest) Paginate

func (p *ListTagsRequest) Paginate(opts ...aws.Option) ListTagsPager

Paginate pages iterates over the pages of a ListTagsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListTags operation.
		req := client.ListTagsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListTagsRequest) Send

func (r ListTagsRequest) Send() (*ListTagsOutput, error)

Send marshals and sends the ListTags API request.

type ListTrainingJobsInput

type ListTrainingJobsInput struct {

	// A filter that only training jobs created after the specified time (timestamp).
	CreationTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only training jobs created before the specified time
	// (timestamp).
	CreationTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only training jobs modified after the specified time
	// (timestamp).
	LastModifiedTimeAfter *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A filter that returns only training jobs modified before the specified time
	// (timestamp).
	LastModifiedTimeBefore *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The maximum number of training jobs to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// A string in the training job name. This filter returns only models whose
	// name contains the specified string.
	NameContains *string `type:"string"`

	// If the result of the previous ListTrainingJobs request was truncated, the
	// response includes a NextToken. To retrieve the next set of training jobs,
	// use the token in the next request.
	NextToken *string `type:"string"`

	// The field to sort results by. The default is CreationTime.
	SortBy SortBy `type:"string" enum:"true"`

	// The sort order for results. The default is Ascending.
	SortOrder SortOrder `type:"string" enum:"true"`

	// A filter that retrieves only training jobs with a specific status.
	StatusEquals TrainingJobStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsRequest

func (ListTrainingJobsInput) GoString

func (s ListTrainingJobsInput) GoString() string

GoString returns the string representation

func (ListTrainingJobsInput) String

func (s ListTrainingJobsInput) String() string

String returns the string representation

func (*ListTrainingJobsInput) Validate

func (s *ListTrainingJobsInput) Validate() error

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

type ListTrainingJobsOutput

type ListTrainingJobsOutput struct {

	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
	// the next set of training jobs, use it in the subsequent request.
	NextToken *string `type:"string"`

	// An array of TrainingJobSummary objects, each listing a training job.
	//
	// TrainingJobSummaries is a required field
	TrainingJobSummaries []TrainingJobSummary `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsResponse

func (ListTrainingJobsOutput) GoString

func (s ListTrainingJobsOutput) GoString() string

GoString returns the string representation

func (ListTrainingJobsOutput) SDKResponseMetadata

func (s ListTrainingJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTrainingJobsOutput) String

func (s ListTrainingJobsOutput) String() string

String returns the string representation

type ListTrainingJobsPager

type ListTrainingJobsPager struct {
	aws.Pager
}

ListTrainingJobsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListTrainingJobsPager) CurrentPage

type ListTrainingJobsRequest

type ListTrainingJobsRequest struct {
	*aws.Request
	Input *ListTrainingJobsInput
	Copy  func(*ListTrainingJobsInput) ListTrainingJobsRequest
}

ListTrainingJobsRequest is a API request type for the ListTrainingJobs API operation.

func (*ListTrainingJobsRequest) Paginate

Paginate pages iterates over the pages of a ListTrainingJobsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListTrainingJobs operation.
		req := client.ListTrainingJobsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListTrainingJobsRequest) Send

Send marshals and sends the ListTrainingJobs API request.

type ModelArtifacts

type ModelArtifacts struct {

	// The path of the S3 object that contains the model artifacts. For example,
	// s3://bucket-name/keynameprefix/model.tar.gz.
	//
	// S3ModelArtifacts is a required field
	S3ModelArtifacts *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information about the location that is configured for storing model artifacts. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelArtifacts

func (ModelArtifacts) GoString

func (s ModelArtifacts) GoString() string

GoString returns the string representation

func (ModelArtifacts) String

func (s ModelArtifacts) String() string

String returns the string representation

type ModelSortKey

type ModelSortKey string
const (
	ModelSortKeyName         ModelSortKey = "Name"
	ModelSortKeyCreationTime ModelSortKey = "CreationTime"
)

Enum values for ModelSortKey

func (ModelSortKey) MarshalValue

func (enum ModelSortKey) MarshalValue() (string, error)

func (ModelSortKey) MarshalValueBuf

func (enum ModelSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type ModelSummary

type ModelSummary struct {

	// A timestamp that indicates when the model was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// The Amazon Resource Name (ARN) of the model.
	//
	// ModelArn is a required field
	ModelArn *string `min:"20" type:"string" required:"true"`

	// The name of the model that you want a summary for.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides summary information about a model. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelSummary

func (ModelSummary) GoString

func (s ModelSummary) GoString() string

GoString returns the string representation

func (ModelSummary) String

func (s ModelSummary) String() string

String returns the string representation

type NotebookInstanceLifecycleConfigSortKey

type NotebookInstanceLifecycleConfigSortKey string
const (
	NotebookInstanceLifecycleConfigSortKeyName             NotebookInstanceLifecycleConfigSortKey = "Name"
	NotebookInstanceLifecycleConfigSortKeyCreationTime     NotebookInstanceLifecycleConfigSortKey = "CreationTime"
	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime NotebookInstanceLifecycleConfigSortKey = "LastModifiedTime"
)

Enum values for NotebookInstanceLifecycleConfigSortKey

func (NotebookInstanceLifecycleConfigSortKey) MarshalValue

func (enum NotebookInstanceLifecycleConfigSortKey) MarshalValue() (string, error)

func (NotebookInstanceLifecycleConfigSortKey) MarshalValueBuf

func (enum NotebookInstanceLifecycleConfigSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type NotebookInstanceLifecycleConfigSortOrder

type NotebookInstanceLifecycleConfigSortOrder string
const (
	NotebookInstanceLifecycleConfigSortOrderAscending  NotebookInstanceLifecycleConfigSortOrder = "Ascending"
	NotebookInstanceLifecycleConfigSortOrderDescending NotebookInstanceLifecycleConfigSortOrder = "Descending"
)

Enum values for NotebookInstanceLifecycleConfigSortOrder

func (NotebookInstanceLifecycleConfigSortOrder) MarshalValue

func (enum NotebookInstanceLifecycleConfigSortOrder) MarshalValue() (string, error)

func (NotebookInstanceLifecycleConfigSortOrder) MarshalValueBuf

func (enum NotebookInstanceLifecycleConfigSortOrder) MarshalValueBuf(b []byte) ([]byte, error)

type NotebookInstanceLifecycleConfigSummary

type NotebookInstanceLifecycleConfigSummary struct {

	// A timestamp that tells when the lifecycle configuration was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A timestamp that tells when the lifecycle configuration was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the lifecycle configuration.
	//
	// NotebookInstanceLifecycleConfigArn is a required field
	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`

	// The name of the lifecycle configuration.
	//
	// NotebookInstanceLifecycleConfigName is a required field
	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides a summary of a notebook instance lifecycle configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/NotebookInstanceLifecycleConfigSummary

func (NotebookInstanceLifecycleConfigSummary) GoString

GoString returns the string representation

func (NotebookInstanceLifecycleConfigSummary) String

String returns the string representation

type NotebookInstanceLifecycleHook

type NotebookInstanceLifecycleHook struct {

	// A base64-encoded string that contains a shell script for a notebook instance
	// lifecycle configuration.
	Content *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains the notebook instance lifecycle configuration script.

Each lifecycle configuration script has a limit of 16384 characters.

The value of the $PATH environment variable that is available to both scripts is /sbin:bin:/usr/sbin:/usr/bin.

View CloudWatch Logs for notebook instance lifecycle configurations in log group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].

Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.

For information about notebook instance lifestyle configurations, see notebook-lifecycle-config. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/NotebookInstanceLifecycleHook

func (NotebookInstanceLifecycleHook) GoString

GoString returns the string representation

func (NotebookInstanceLifecycleHook) String

String returns the string representation

func (*NotebookInstanceLifecycleHook) Validate

func (s *NotebookInstanceLifecycleHook) Validate() error

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

type NotebookInstanceSortKey

type NotebookInstanceSortKey string
const (
	NotebookInstanceSortKeyName         NotebookInstanceSortKey = "Name"
	NotebookInstanceSortKeyCreationTime NotebookInstanceSortKey = "CreationTime"
	NotebookInstanceSortKeyStatus       NotebookInstanceSortKey = "Status"
)

Enum values for NotebookInstanceSortKey

func (NotebookInstanceSortKey) MarshalValue

func (enum NotebookInstanceSortKey) MarshalValue() (string, error)

func (NotebookInstanceSortKey) MarshalValueBuf

func (enum NotebookInstanceSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type NotebookInstanceSortOrder

type NotebookInstanceSortOrder string
const (
	NotebookInstanceSortOrderAscending  NotebookInstanceSortOrder = "Ascending"
	NotebookInstanceSortOrderDescending NotebookInstanceSortOrder = "Descending"
)

Enum values for NotebookInstanceSortOrder

func (NotebookInstanceSortOrder) MarshalValue

func (enum NotebookInstanceSortOrder) MarshalValue() (string, error)

func (NotebookInstanceSortOrder) MarshalValueBuf

func (enum NotebookInstanceSortOrder) MarshalValueBuf(b []byte) ([]byte, error)

type NotebookInstanceStatus

type NotebookInstanceStatus string
const (
	NotebookInstanceStatusPending   NotebookInstanceStatus = "Pending"
	NotebookInstanceStatusInService NotebookInstanceStatus = "InService"
	NotebookInstanceStatusStopping  NotebookInstanceStatus = "Stopping"
	NotebookInstanceStatusStopped   NotebookInstanceStatus = "Stopped"
	NotebookInstanceStatusFailed    NotebookInstanceStatus = "Failed"
	NotebookInstanceStatusDeleting  NotebookInstanceStatus = "Deleting"
)

Enum values for NotebookInstanceStatus

func (NotebookInstanceStatus) MarshalValue

func (enum NotebookInstanceStatus) MarshalValue() (string, error)

func (NotebookInstanceStatus) MarshalValueBuf

func (enum NotebookInstanceStatus) MarshalValueBuf(b []byte) ([]byte, error)

type NotebookInstanceSummary

type NotebookInstanceSummary struct {

	// A timestamp that shows when the notebook instance was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The type of ML compute instance that the notebook instance is running on.
	InstanceType InstanceType `type:"string" enum:"true"`

	// A timestamp that shows when the notebook instance was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the notebook instance.
	//
	// NotebookInstanceArn is a required field
	NotebookInstanceArn *string `type:"string" required:"true"`

	// The name of a notebook instance lifecycle configuration associated with this
	// notebook instance.
	//
	// For information about notebook instance lifestyle configurations, see notebook-lifecycle-config.
	NotebookInstanceLifecycleConfigName *string `type:"string"`

	// The name of the notebook instance that you want a summary for.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`

	// The status of the notebook instance.
	NotebookInstanceStatus NotebookInstanceStatus `type:"string" enum:"true"`

	// The URL that you use to connect to the Jupyter instance running in your notebook
	// instance.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

Provides summary information for an Amazon SageMaker notebook instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/NotebookInstanceSummary

func (NotebookInstanceSummary) GoString

func (s NotebookInstanceSummary) GoString() string

GoString returns the string representation

func (NotebookInstanceSummary) String

func (s NotebookInstanceSummary) String() string

String returns the string representation

type OrderKey

type OrderKey string
const (
	OrderKeyAscending  OrderKey = "Ascending"
	OrderKeyDescending OrderKey = "Descending"
)

Enum values for OrderKey

func (OrderKey) MarshalValue

func (enum OrderKey) MarshalValue() (string, error)

func (OrderKey) MarshalValueBuf

func (enum OrderKey) MarshalValueBuf(b []byte) ([]byte, error)

type OutputDataConfig

type OutputDataConfig struct {

	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
	//
	// If the configuration of the output S3 bucket requires server-side encryption
	// for objects, and you don't provide the KMS key ID, Amazon SageMaker uses
	// the default service key. For more information, see KMS-Managed Encryption
	// Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
	// in Amazon Simple Storage Service developer guide.
	//
	// The KMS key policy must grant permission to the IAM role you specify in your
	// CreateTrainingJob request. Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
	// in the AWS Key Management Service Developer Guide.
	KmsKeyId *string `type:"string"`

	// Identifies the S3 path where you want Amazon SageMaker to store the model
	// artifacts. For example, s3://bucket-name/key-name-prefix.
	//
	// S3OutputPath is a required field
	S3OutputPath *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information about how to store model training results (model artifacts). Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OutputDataConfig

func (OutputDataConfig) GoString

func (s OutputDataConfig) GoString() string

GoString returns the string representation

func (OutputDataConfig) String

func (s OutputDataConfig) String() string

String returns the string representation

func (*OutputDataConfig) Validate

func (s *OutputDataConfig) Validate() error

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

type ProductionVariant

type ProductionVariant struct {

	// Number of instances to launch initially.
	//
	// InitialInstanceCount is a required field
	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`

	// Determines initial traffic distribution among all of the models that you
	// specify in the endpoint configuration. The traffic to a production variant
	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
	InitialVariantWeight *float64 `type:"float"`

	// The ML compute instance type.
	//
	// InstanceType is a required field
	InstanceType ProductionVariantInstanceType `type:"string" required:"true" enum:"true"`

	// The name of the model that you want to host. This is the name that you specified
	// when creating the model.
	//
	// ModelName is a required field
	ModelName *string `type:"string" required:"true"`

	// The name of the production variant.
	//
	// VariantName is a required field
	VariantName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant

func (ProductionVariant) GoString

func (s ProductionVariant) GoString() string

GoString returns the string representation

func (ProductionVariant) String

func (s ProductionVariant) String() string

String returns the string representation

func (*ProductionVariant) Validate

func (s *ProductionVariant) Validate() error

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

type ProductionVariantInstanceType

type ProductionVariantInstanceType string
const (
	ProductionVariantInstanceTypeMlT2Medium   ProductionVariantInstanceType = "ml.t2.medium"
	ProductionVariantInstanceTypeMlT2Large    ProductionVariantInstanceType = "ml.t2.large"
	ProductionVariantInstanceTypeMlT2Xlarge   ProductionVariantInstanceType = "ml.t2.xlarge"
	ProductionVariantInstanceTypeMlT22xlarge  ProductionVariantInstanceType = "ml.t2.2xlarge"
	ProductionVariantInstanceTypeMlM4Xlarge   ProductionVariantInstanceType = "ml.m4.xlarge"
	ProductionVariantInstanceTypeMlM42xlarge  ProductionVariantInstanceType = "ml.m4.2xlarge"
	ProductionVariantInstanceTypeMlM44xlarge  ProductionVariantInstanceType = "ml.m4.4xlarge"
	ProductionVariantInstanceTypeMlM410xlarge ProductionVariantInstanceType = "ml.m4.10xlarge"
	ProductionVariantInstanceTypeMlM416xlarge ProductionVariantInstanceType = "ml.m4.16xlarge"
	ProductionVariantInstanceTypeMlM5Large    ProductionVariantInstanceType = "ml.m5.large"
	ProductionVariantInstanceTypeMlM5Xlarge   ProductionVariantInstanceType = "ml.m5.xlarge"
	ProductionVariantInstanceTypeMlM52xlarge  ProductionVariantInstanceType = "ml.m5.2xlarge"
	ProductionVariantInstanceTypeMlM54xlarge  ProductionVariantInstanceType = "ml.m5.4xlarge"
	ProductionVariantInstanceTypeMlM512xlarge ProductionVariantInstanceType = "ml.m5.12xlarge"
	ProductionVariantInstanceTypeMlM524xlarge ProductionVariantInstanceType = "ml.m5.24xlarge"
	ProductionVariantInstanceTypeMlC4Large    ProductionVariantInstanceType = "ml.c4.large"
	ProductionVariantInstanceTypeMlC4Xlarge   ProductionVariantInstanceType = "ml.c4.xlarge"
	ProductionVariantInstanceTypeMlC42xlarge  ProductionVariantInstanceType = "ml.c4.2xlarge"
	ProductionVariantInstanceTypeMlC44xlarge  ProductionVariantInstanceType = "ml.c4.4xlarge"
	ProductionVariantInstanceTypeMlC48xlarge  ProductionVariantInstanceType = "ml.c4.8xlarge"
	ProductionVariantInstanceTypeMlP2Xlarge   ProductionVariantInstanceType = "ml.p2.xlarge"
	ProductionVariantInstanceTypeMlP28xlarge  ProductionVariantInstanceType = "ml.p2.8xlarge"
	ProductionVariantInstanceTypeMlP216xlarge ProductionVariantInstanceType = "ml.p2.16xlarge"
	ProductionVariantInstanceTypeMlP32xlarge  ProductionVariantInstanceType = "ml.p3.2xlarge"
	ProductionVariantInstanceTypeMlP38xlarge  ProductionVariantInstanceType = "ml.p3.8xlarge"
	ProductionVariantInstanceTypeMlP316xlarge ProductionVariantInstanceType = "ml.p3.16xlarge"
	ProductionVariantInstanceTypeMlC5Large    ProductionVariantInstanceType = "ml.c5.large"
	ProductionVariantInstanceTypeMlC5Xlarge   ProductionVariantInstanceType = "ml.c5.xlarge"
	ProductionVariantInstanceTypeMlC52xlarge  ProductionVariantInstanceType = "ml.c5.2xlarge"
	ProductionVariantInstanceTypeMlC54xlarge  ProductionVariantInstanceType = "ml.c5.4xlarge"
	ProductionVariantInstanceTypeMlC59xlarge  ProductionVariantInstanceType = "ml.c5.9xlarge"
	ProductionVariantInstanceTypeMlC518xlarge ProductionVariantInstanceType = "ml.c5.18xlarge"
)

Enum values for ProductionVariantInstanceType

func (ProductionVariantInstanceType) MarshalValue

func (enum ProductionVariantInstanceType) MarshalValue() (string, error)

func (ProductionVariantInstanceType) MarshalValueBuf

func (enum ProductionVariantInstanceType) MarshalValueBuf(b []byte) ([]byte, error)

type ProductionVariantSummary

type ProductionVariantSummary struct {

	// The number of instances associated with the variant.
	CurrentInstanceCount *int64 `min:"1" type:"integer"`

	// The weight associated with the variant.
	CurrentWeight *float64 `type:"float"`

	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
	// request.
	DesiredInstanceCount *int64 `min:"1" type:"integer"`

	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
	// request.
	DesiredWeight *float64 `type:"float"`

	// The name of the variant.
	//
	// VariantName is a required field
	VariantName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities API and the endpoint status is Updating, you get different desired and current values. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantSummary

func (ProductionVariantSummary) GoString

func (s ProductionVariantSummary) GoString() string

GoString returns the string representation

func (ProductionVariantSummary) String

func (s ProductionVariantSummary) String() string

String returns the string representation

type RecordWrapper

type RecordWrapper string
const (
	RecordWrapperNone     RecordWrapper = "None"
	RecordWrapperRecordIo RecordWrapper = "RecordIO"
)

Enum values for RecordWrapper

func (RecordWrapper) MarshalValue

func (enum RecordWrapper) MarshalValue() (string, error)

func (RecordWrapper) MarshalValueBuf

func (enum RecordWrapper) MarshalValueBuf(b []byte) ([]byte, error)

type ResourceConfig

type ResourceConfig struct {

	// The number of ML compute instances to use. For distributed training, provide
	// a value greater than 1.
	//
	// InstanceCount is a required field
	InstanceCount *int64 `min:"1" type:"integer" required:"true"`

	// The ML compute instance type.
	//
	// InstanceType is a required field
	InstanceType TrainingInstanceType `type:"string" required:"true" enum:"true"`

	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
	// instance(s) that run the training job.
	VolumeKmsKeyId *string `type:"string"`

	// The size of the ML storage volume that you want to provision.
	//
	// ML storage volumes store model artifacts and incremental states. Training
	// algorithms might also use the ML storage volume for scratch space. If you
	// want to store the training data in the ML storage volume, choose File as
	// the TrainingInputMode in the algorithm specification.
	//
	// You must specify sufficient ML storage for your scenario.
	//
	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
	// type.
	//
	// VolumeSizeInGB is a required field
	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Describes the resources, including ML compute instances and ML storage volumes, to use for model training. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ResourceConfig

func (ResourceConfig) GoString

func (s ResourceConfig) GoString() string

GoString returns the string representation

func (ResourceConfig) String

func (s ResourceConfig) String() string

String returns the string representation

func (*ResourceConfig) Validate

func (s *ResourceConfig) Validate() error

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

type S3DataDistribution

type S3DataDistribution string
const (
	S3DataDistributionFullyReplicated S3DataDistribution = "FullyReplicated"
	S3DataDistributionShardedByS3key  S3DataDistribution = "ShardedByS3Key"
)

Enum values for S3DataDistribution

func (S3DataDistribution) MarshalValue

func (enum S3DataDistribution) MarshalValue() (string, error)

func (S3DataDistribution) MarshalValueBuf

func (enum S3DataDistribution) MarshalValueBuf(b []byte) ([]byte, error)

type S3DataSource

type S3DataSource struct {

	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
	// instance that is launched for model training, specify FullyReplicated.
	//
	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
	// instance that is launched for model training, specify ShardedByS3Key. If
	// there are n ML compute instances launched for a training job, each instance
	// gets approximately 1/n of the number of S3 objects. In this case, model training
	// on each machine uses only the subset of training data.
	//
	// Don't choose more ML compute instances for training than available S3 objects.
	// If you do, some nodes won't get any data and you will pay for nodes that
	// aren't getting any training data. This applies in both FILE and PIPE modes.
	// Keep this in mind when developing algorithms.
	//
	// In distributed training, where you use multiple ML compute EC2 instances,
	// you might choose ShardedByS3Key. If the algorithm requires copying training
	// data to the ML storage volume (when TrainingInputMode is set to File), this
	// copies 1/n of the number of objects.
	S3DataDistributionType S3DataDistribution `type:"string" enum:"true"`

	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
	// uses all objects with the specified key name prefix for model training.
	//
	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
	// file containing a list of object keys that you want Amazon SageMaker to use
	// for model training.
	//
	// S3DataType is a required field
	S3DataType S3DataType `type:"string" required:"true" enum:"true"`

	// Depending on the value specified for the S3DataType, identifies either a
	// key name prefix or a manifest. For example:
	//
	//    *  A key name prefix might look like this: s3://bucketname/exampleprefix.
	//
	//
	//    *  A manifest might look like this: s3://bucketname/example.manifest
	//
	//  The manifest is an S3 object which is a JSON file with the following format:
	//
	//
	// [
	//
	//  {"prefix": "s3://customer_bucket/some/prefix/"},
	//
	//  "relative/path/to/custdata-1",
	//
	//  "relative/path/custdata-2",
	//
	//  ...
	//
	//  ]
	//
	//  The preceding JSON matches the following s3Uris:
	//
	// s3://customer_bucket/some/prefix/relative/path/to/custdata-1
	//
	// s3://customer_bucket/some/prefix/relative/path/custdata-1
	//
	// ...
	//
	//  The complete set of s3uris in this manifest constitutes the input data for
	//    the channel for this datasource. The object that each s3uris points to
	//    must readable by the IAM role that Amazon SageMaker uses to perform tasks
	//    on your behalf.
	//
	// S3Uri is a required field
	S3Uri *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the S3 data source. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3DataSource

func (S3DataSource) GoString

func (s S3DataSource) GoString() string

GoString returns the string representation

func (S3DataSource) String

func (s S3DataSource) String() string

String returns the string representation

func (*S3DataSource) Validate

func (s *S3DataSource) Validate() error

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

type S3DataType

type S3DataType string
const (
	S3DataTypeManifestFile S3DataType = "ManifestFile"
	S3DataTypeS3prefix     S3DataType = "S3Prefix"
)

Enum values for S3DataType

func (S3DataType) MarshalValue

func (enum S3DataType) MarshalValue() (string, error)

func (S3DataType) MarshalValueBuf

func (enum S3DataType) MarshalValueBuf(b []byte) ([]byte, error)

type SageMaker

type SageMaker struct {
	*aws.Client
}

SageMaker provides the API operation methods for making requests to Amazon SageMaker Service. See this package's package overview docs for details on the service.

SageMaker methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *SageMaker

New creates a new instance of the SageMaker client with a config.

Example:

// Create a SageMaker client from just a config.
svc := sagemaker.New(myConfig)

func (*SageMaker) AddTagsRequest

func (c *SageMaker) AddTagsRequest(input *AddTagsInput) AddTagsRequest

AddTagsRequest returns a request value for making API operation for Amazon SageMaker Service.

Adds or overwrites one or more tags for the specified Amazon SageMaker resource. You can add tags to notebook instances, training jobs, models, endpoint configurations, and endpoints.

Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see Using Cost Allocation Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) in the AWS Billing and Cost Management User Guide.

// Example sending a request using the AddTagsRequest method.
req := client.AddTagsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags

func (*SageMaker) CreateEndpointConfigRequest

func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) CreateEndpointConfigRequest

CreateEndpointConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Creates an endpoint configuration that Amazon SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the CreateModel API, to deploy and the resources that you want Amazon SageMaker to provision. Then you call the CreateEndpoint (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html) API.

Use this API only if you want to use Amazon SageMaker hosting services to deploy models into production.

In the request, you define one or more ProductionVariants, each of which identifies a model. Each ProductionVariant parameter also describes the resources that you want Amazon SageMaker to provision. This includes the number and type of ML compute instances to deploy.

If you are hosting multiple models, you also assign a VariantWeight to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B.

// Example sending a request using the CreateEndpointConfigRequest method.
req := client.CreateEndpointConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig

func (*SageMaker) CreateEndpointRequest

func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) CreateEndpointRequest

CreateEndpointRequest returns a request value for making API operation for Amazon SageMaker Service.

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html) API.

Use this API only for hosting models using Amazon SageMaker hosting services.

The endpoint name must be unique within an AWS Region in your AWS account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint (http://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html) API.

For an example, see Exercise 1: Using the K-Means Algorithm Provided by Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ex1.html).

// Example sending a request using the CreateEndpointRequest method.
req := client.CreateEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint

func (*SageMaker) CreateModelRequest

func (c *SageMaker) CreateModelRequest(input *CreateModelInput) CreateModelRequest

CreateModelRequest returns a request value for making API operation for Amazon SageMaker Service.

Creates a model in Amazon SageMaker. In the request, you name the model and describe one or more containers. For each container, you specify the docker image containing inference code, artifacts (from prior training), and custom environment map that the inference code uses when you deploy the model into production.

Use this API to create a model only if you want to use Amazon SageMaker hosting services. To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API.

Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment.

In the CreateModel request, you must define a container with the PrimaryContainer parameter.

In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.

// Example sending a request using the CreateModelRequest method.
req := client.CreateModelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel

func (*SageMaker) CreateNotebookInstanceLifecycleConfigRequest

func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) CreateNotebookInstanceLifecycleConfigRequest

CreateNotebookInstanceLifecycleConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Creates a lifecycle configuration that you can associate with a notebook instance. A lifecycle configuration is a collection of shell scripts that run when you create or start a notebook instance.

Each lifecycle configuration script has a limit of 16384 characters.

The value of the $PATH environment variable that is available to both scripts is /sbin:bin:/usr/sbin:/usr/bin.

View CloudWatch Logs for notebook instance lifecycle configurations in log group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].

Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.

For information about notebook instance lifestyle configurations, see notebook-lifecycle-config.

// Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
req := client.CreateNotebookInstanceLifecycleConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig

func (*SageMaker) CreateNotebookInstanceRequest

func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) CreateNotebookInstanceRequest

CreateNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook.

In a CreateNotebookInstance request, specify the type of ML compute instance that you want to run. Amazon SageMaker launches the instance, installs common libraries that you can use to explore datasets for model training, and attaches an ML storage volume to the notebook instance.

Amazon SageMaker also provides a set of example notebooks. Each notebook demonstrates how to use Amazon SageMaker with a specific algorithm or with a machine learning framework.

After receiving the request, Amazon SageMaker does the following:

Creates a network interface in the Amazon SageMaker VPC.

(Option) If you specified SubnetId, Amazon SageMaker creates a network interface in your own VPC, which is inferred from the subnet ID that you provide in the input. When creating this network interface, Amazon SageMaker attaches the security group that you specified in the request to the network interface that it creates in your VPC.

Launches an EC2 instance of the type specified in the request in the Amazon SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies both network interfaces when launching this instance. This enables inbound traffic from your own VPC to the notebook instance, assuming that the security groups allow it.

After creating the notebook instance, Amazon SageMaker returns its Amazon Resource Name (ARN).

After Amazon SageMaker creates the notebook instance, you can connect to the Jupyter server and work in Jupyter notebooks. For example, you can write code to explore a dataset that you can use for model training, train a model, host models by creating Amazon SageMaker endpoints, and validate hosted models.

For more information, see How It Works (http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).

// Example sending a request using the CreateNotebookInstanceRequest method.
req := client.CreateNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance

func (*SageMaker) CreatePresignedNotebookInstanceUrlRequest

func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) CreatePresignedNotebookInstanceUrlRequest

CreatePresignedNotebookInstanceUrlRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns a URL that you can use to connect to the Juypter server from a notebook instance. In the Amazon SageMaker console, when you choose Open next to a notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page.

// Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
req := client.CreatePresignedNotebookInstanceUrlRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl

func (*SageMaker) CreateTrainingJobRequest

func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) CreateTrainingJobRequest

CreateTrainingJobRequest returns a request value for making API operation for Amazon SageMaker Service.

Starts a model training job. After training completes, Amazon SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts in a deep learning service other than Amazon SageMaker, provided that you know how to use them for inferences.

In the request body, you provide the following:

  • AlgorithmSpecification - Identifies the training algorithm to use.

  • HyperParameters - Specify these algorithm-specific parameters to influence the quality of the final model. For a list of hyperparameters for each training algorithm provided by Amazon SageMaker, see Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).

  • InputDataConfig - Describes the training dataset and the Amazon S3 location where it is stored.

  • OutputDataConfig - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results of model training.

  • ResourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance.

  • RoleARN - The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete model training.

  • StoppingCondition - Sets a duration for training. Use this parameter to cap model training costs.

    For more information about Amazon SageMaker, see How It Works (http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html)

    // Example sending a request using the CreateTrainingJobRequest method. req := client.CreateTrainingJobRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob

func (*SageMaker) DeleteEndpointConfigRequest

func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) DeleteEndpointConfigRequest

DeleteEndpointConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes an endpoint configuration. The DeleteEndpoingConfig API deletes only the specified configuration. It does not delete endpoints created using the configuration.

// Example sending a request using the DeleteEndpointConfigRequest method.
req := client.DeleteEndpointConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig

func (*SageMaker) DeleteEndpointRequest

func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) DeleteEndpointRequest

DeleteEndpointRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes an endpoint. Amazon SageMaker frees up all of the resources that were deployed when the endpoint was created.

// Example sending a request using the DeleteEndpointRequest method.
req := client.DeleteEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint

func (*SageMaker) DeleteModelRequest

func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) DeleteModelRequest

DeleteModelRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes a model. The DeleteModel API deletes only the model entry that was created in Amazon SageMaker when you called the CreateModel (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateModel.html) API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

// Example sending a request using the DeleteModelRequest method.
req := client.DeleteModelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel

func (*SageMaker) DeleteNotebookInstanceLifecycleConfigRequest

func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) DeleteNotebookInstanceLifecycleConfigRequest

DeleteNotebookInstanceLifecycleConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes a notebook instance lifecycle configuration.

// Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
req := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig

func (*SageMaker) DeleteNotebookInstanceRequest

func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) DeleteNotebookInstanceRequest

DeleteNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the StopNotebookInstance API.

When you delete a notebook instance, you lose all of your data. Amazon SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance.

// Example sending a request using the DeleteNotebookInstanceRequest method.
req := client.DeleteNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance

func (*SageMaker) DeleteTagsRequest

func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest

DeleteTagsRequest returns a request value for making API operation for Amazon SageMaker Service.

Deletes the specified tags from an Amazon SageMaker resource.

To list a resource's tags, use the ListTags API.

// Example sending a request using the DeleteTagsRequest method.
req := client.DeleteTagsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags

func (*SageMaker) DescribeEndpointConfigRequest

func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) DescribeEndpointConfigRequest

DescribeEndpointConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns the description of an endpoint configuration created using the CreateEndpointConfig API.

// Example sending a request using the DescribeEndpointConfigRequest method.
req := client.DescribeEndpointConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig

func (*SageMaker) DescribeEndpointRequest

func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) DescribeEndpointRequest

DescribeEndpointRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns the description of an endpoint.

// Example sending a request using the DescribeEndpointRequest method.
req := client.DescribeEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint

func (*SageMaker) DescribeModelRequest

func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) DescribeModelRequest

DescribeModelRequest returns a request value for making API operation for Amazon SageMaker Service.

Describes a model that you created using the CreateModel API.

// Example sending a request using the DescribeModelRequest method.
req := client.DescribeModelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel

func (*SageMaker) DescribeNotebookInstanceLifecycleConfigRequest

func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) DescribeNotebookInstanceLifecycleConfigRequest

DescribeNotebookInstanceLifecycleConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns a description of a notebook instance lifecycle configuration.

For information about notebook instance lifestyle configurations, see notebook-lifecycle-config.

// Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
req := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig

func (*SageMaker) DescribeNotebookInstanceRequest

func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) DescribeNotebookInstanceRequest

DescribeNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns information about a notebook instance.

// Example sending a request using the DescribeNotebookInstanceRequest method.
req := client.DescribeNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance

func (*SageMaker) DescribeTrainingJobRequest

func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) DescribeTrainingJobRequest

DescribeTrainingJobRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns information about a training job.

// Example sending a request using the DescribeTrainingJobRequest method.
req := client.DescribeTrainingJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob

func (*SageMaker) ListEndpointConfigsRequest

func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) ListEndpointConfigsRequest

ListEndpointConfigsRequest returns a request value for making API operation for Amazon SageMaker Service.

Lists endpoint configurations.

// Example sending a request using the ListEndpointConfigsRequest method.
req := client.ListEndpointConfigsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs

func (*SageMaker) ListEndpointsRequest

func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) ListEndpointsRequest

ListEndpointsRequest returns a request value for making API operation for Amazon SageMaker Service.

Lists endpoints.

// Example sending a request using the ListEndpointsRequest method.
req := client.ListEndpointsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints

func (*SageMaker) ListModelsRequest

func (c *SageMaker) ListModelsRequest(input *ListModelsInput) ListModelsRequest

ListModelsRequest returns a request value for making API operation for Amazon SageMaker Service.

Lists models created with the CreateModel (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateModel.html) API.

// Example sending a request using the ListModelsRequest method.
req := client.ListModelsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels

func (*SageMaker) ListNotebookInstanceLifecycleConfigsRequest

func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) ListNotebookInstanceLifecycleConfigsRequest

ListNotebookInstanceLifecycleConfigsRequest returns a request value for making API operation for Amazon SageMaker Service.

Lists notebook instance lifestyle configurations created with the API.

// Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
req := client.ListNotebookInstanceLifecycleConfigsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs

func (*SageMaker) ListNotebookInstancesRequest

func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) ListNotebookInstancesRequest

ListNotebookInstancesRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns a list of the Amazon SageMaker notebook instances in the requester's account in an AWS Region.

// Example sending a request using the ListNotebookInstancesRequest method.
req := client.ListNotebookInstancesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances

func (*SageMaker) ListTagsRequest

func (c *SageMaker) ListTagsRequest(input *ListTagsInput) ListTagsRequest

ListTagsRequest returns a request value for making API operation for Amazon SageMaker Service.

Returns the tags for the specified Amazon SageMaker resource.

// Example sending a request using the ListTagsRequest method.
req := client.ListTagsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags

func (*SageMaker) ListTrainingJobsRequest

func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) ListTrainingJobsRequest

ListTrainingJobsRequest returns a request value for making API operation for Amazon SageMaker Service.

Lists training jobs.

// Example sending a request using the ListTrainingJobsRequest method.
req := client.ListTrainingJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs

func (*SageMaker) StartNotebookInstanceRequest

func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) StartNotebookInstanceRequest

StartNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to InService. A notebook instance's status must be InService before you can connect to your Jupyter notebook.

// Example sending a request using the StartNotebookInstanceRequest method.
req := client.StartNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance

func (*SageMaker) StopNotebookInstanceRequest

func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) StopNotebookInstanceRequest

StopNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Terminates the ML compute instance. Before terminating the instance, Amazon SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves the ML storage volume.

To access data on the ML storage volume for a notebook instance that has been terminated, call the StartNotebookInstance API. StartNotebookInstance launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work.

// Example sending a request using the StopNotebookInstanceRequest method.
req := client.StopNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance

func (*SageMaker) StopTrainingJobRequest

func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) StopTrainingJobRequest

StopTrainingJobRequest returns a request value for making API operation for Amazon SageMaker Service.

Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost.

Training algorithms provided by Amazon SageMaker save the intermediate results of a model training job. This intermediate data is a valid model artifact. You can use the model artifacts that are saved when Amazon SageMaker stops a training job to create a model.

When it receives a StopTrainingJob request, Amazon SageMaker changes the status of the job to Stopping. After Amazon SageMaker stops the job, it sets the status to Stopped.

// Example sending a request using the StopTrainingJobRequest method.
req := client.StopTrainingJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob

func (*SageMaker) UpdateEndpointRequest

func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) UpdateEndpointRequest

UpdateEndpointRequest returns a request value for making API operation for Amazon SageMaker Service.

Deploys the new EndpointConfig specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous EndpointConfig (there is no availability loss).

When Amazon SageMaker receives the request, it sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint (http://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html) API.

// Example sending a request using the UpdateEndpointRequest method.
req := client.UpdateEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint

func (*SageMaker) UpdateEndpointWeightsAndCapacitiesRequest

func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) UpdateEndpointWeightsAndCapacitiesRequest

UpdateEndpointWeightsAndCapacitiesRequest returns a request value for making API operation for Amazon SageMaker Service.

Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint (http://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html) API.

// Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
req := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities

func (*SageMaker) UpdateNotebookInstanceLifecycleConfigRequest

func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) UpdateNotebookInstanceLifecycleConfigRequest

UpdateNotebookInstanceLifecycleConfigRequest returns a request value for making API operation for Amazon SageMaker Service.

Updates a notebook instance lifecycle configuration created with the API.

// Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
req := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig

func (*SageMaker) UpdateNotebookInstanceRequest

func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) UpdateNotebookInstanceRequest

UpdateNotebookInstanceRequest returns a request value for making API operation for Amazon SageMaker Service.

Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements. You can also update the VPC security groups.

// Example sending a request using the UpdateNotebookInstanceRequest method.
req := client.UpdateNotebookInstanceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance

func (*SageMaker) WaitUntilEndpointDeleted

func (c *SageMaker) WaitUntilEndpointDeleted(input *DescribeEndpointInput) error

WaitUntilEndpointDeleted uses the SageMaker API operation DescribeEndpoint to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilEndpointDeletedWithContext

func (c *SageMaker) WaitUntilEndpointDeletedWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...aws.WaiterOption) error

WaitUntilEndpointDeletedWithContext is an extended version of WaitUntilEndpointDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SageMaker) WaitUntilEndpointInService

func (c *SageMaker) WaitUntilEndpointInService(input *DescribeEndpointInput) error

WaitUntilEndpointInService uses the SageMaker API operation DescribeEndpoint to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilEndpointInServiceWithContext

func (c *SageMaker) WaitUntilEndpointInServiceWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...aws.WaiterOption) error

WaitUntilEndpointInServiceWithContext is an extended version of WaitUntilEndpointInService. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SageMaker) WaitUntilNotebookInstanceDeleted

func (c *SageMaker) WaitUntilNotebookInstanceDeleted(input *DescribeNotebookInstanceInput) error

WaitUntilNotebookInstanceDeleted uses the SageMaker API operation DescribeNotebookInstance to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilNotebookInstanceDeletedWithContext

func (c *SageMaker) WaitUntilNotebookInstanceDeletedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...aws.WaiterOption) error

WaitUntilNotebookInstanceDeletedWithContext is an extended version of WaitUntilNotebookInstanceDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SageMaker) WaitUntilNotebookInstanceInService

func (c *SageMaker) WaitUntilNotebookInstanceInService(input *DescribeNotebookInstanceInput) error

WaitUntilNotebookInstanceInService uses the SageMaker API operation DescribeNotebookInstance to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilNotebookInstanceInServiceWithContext

func (c *SageMaker) WaitUntilNotebookInstanceInServiceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...aws.WaiterOption) error

WaitUntilNotebookInstanceInServiceWithContext is an extended version of WaitUntilNotebookInstanceInService. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SageMaker) WaitUntilNotebookInstanceStopped

func (c *SageMaker) WaitUntilNotebookInstanceStopped(input *DescribeNotebookInstanceInput) error

WaitUntilNotebookInstanceStopped uses the SageMaker API operation DescribeNotebookInstance to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilNotebookInstanceStoppedWithContext

func (c *SageMaker) WaitUntilNotebookInstanceStoppedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...aws.WaiterOption) error

WaitUntilNotebookInstanceStoppedWithContext is an extended version of WaitUntilNotebookInstanceStopped. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SageMaker) WaitUntilTrainingJobCompletedOrStopped

func (c *SageMaker) WaitUntilTrainingJobCompletedOrStopped(input *DescribeTrainingJobInput) error

WaitUntilTrainingJobCompletedOrStopped uses the SageMaker API operation DescribeTrainingJob to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*SageMaker) WaitUntilTrainingJobCompletedOrStoppedWithContext

func (c *SageMaker) WaitUntilTrainingJobCompletedOrStoppedWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...aws.WaiterOption) error

WaitUntilTrainingJobCompletedOrStoppedWithContext is an extended version of WaitUntilTrainingJobCompletedOrStopped. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type SecondaryStatus

type SecondaryStatus string
const (
	SecondaryStatusStarting           SecondaryStatus = "Starting"
	SecondaryStatusDownloading        SecondaryStatus = "Downloading"
	SecondaryStatusTraining           SecondaryStatus = "Training"
	SecondaryStatusUploading          SecondaryStatus = "Uploading"
	SecondaryStatusStopping           SecondaryStatus = "Stopping"
	SecondaryStatusStopped            SecondaryStatus = "Stopped"
	SecondaryStatusMaxRuntimeExceeded SecondaryStatus = "MaxRuntimeExceeded"
	SecondaryStatusCompleted          SecondaryStatus = "Completed"
	SecondaryStatusFailed             SecondaryStatus = "Failed"
)

Enum values for SecondaryStatus

func (SecondaryStatus) MarshalValue

func (enum SecondaryStatus) MarshalValue() (string, error)

func (SecondaryStatus) MarshalValueBuf

func (enum SecondaryStatus) MarshalValueBuf(b []byte) ([]byte, error)

type SortBy

type SortBy string
const (
	SortByName         SortBy = "Name"
	SortByCreationTime SortBy = "CreationTime"
	SortByStatus       SortBy = "Status"
)

Enum values for SortBy

func (SortBy) MarshalValue

func (enum SortBy) MarshalValue() (string, error)

func (SortBy) MarshalValueBuf

func (enum SortBy) MarshalValueBuf(b []byte) ([]byte, error)

type SortOrder

type SortOrder string
const (
	SortOrderAscending  SortOrder = "Ascending"
	SortOrderDescending SortOrder = "Descending"
)

Enum values for SortOrder

func (SortOrder) MarshalValue

func (enum SortOrder) MarshalValue() (string, error)

func (SortOrder) MarshalValueBuf

func (enum SortOrder) MarshalValueBuf(b []byte) ([]byte, error)

type StartNotebookInstanceInput

type StartNotebookInstanceInput struct {

	// The name of the notebook instance to start.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstanceInput

func (StartNotebookInstanceInput) GoString

func (s StartNotebookInstanceInput) GoString() string

GoString returns the string representation

func (StartNotebookInstanceInput) String

String returns the string representation

func (*StartNotebookInstanceInput) Validate

func (s *StartNotebookInstanceInput) Validate() error

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

type StartNotebookInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstanceOutput

func (StartNotebookInstanceOutput) GoString

func (s StartNotebookInstanceOutput) GoString() string

GoString returns the string representation

func (StartNotebookInstanceOutput) SDKResponseMetadata

func (s StartNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartNotebookInstanceOutput) String

String returns the string representation

type StartNotebookInstanceRequest

type StartNotebookInstanceRequest struct {
	*aws.Request
	Input *StartNotebookInstanceInput
	Copy  func(*StartNotebookInstanceInput) StartNotebookInstanceRequest
}

StartNotebookInstanceRequest is a API request type for the StartNotebookInstance API operation.

func (StartNotebookInstanceRequest) Send

Send marshals and sends the StartNotebookInstance API request.

type StopNotebookInstanceInput

type StopNotebookInstanceInput struct {

	// The name of the notebook instance to terminate.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstanceInput

func (StopNotebookInstanceInput) GoString

func (s StopNotebookInstanceInput) GoString() string

GoString returns the string representation

func (StopNotebookInstanceInput) String

func (s StopNotebookInstanceInput) String() string

String returns the string representation

func (*StopNotebookInstanceInput) Validate

func (s *StopNotebookInstanceInput) Validate() error

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

type StopNotebookInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstanceOutput

func (StopNotebookInstanceOutput) GoString

func (s StopNotebookInstanceOutput) GoString() string

GoString returns the string representation

func (StopNotebookInstanceOutput) SDKResponseMetadata

func (s StopNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopNotebookInstanceOutput) String

String returns the string representation

type StopNotebookInstanceRequest

type StopNotebookInstanceRequest struct {
	*aws.Request
	Input *StopNotebookInstanceInput
	Copy  func(*StopNotebookInstanceInput) StopNotebookInstanceRequest
}

StopNotebookInstanceRequest is a API request type for the StopNotebookInstance API operation.

func (StopNotebookInstanceRequest) Send

Send marshals and sends the StopNotebookInstance API request.

type StopTrainingJobInput

type StopTrainingJobInput struct {

	// The name of the training job to stop.
	//
	// TrainingJobName is a required field
	TrainingJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJobRequest

func (StopTrainingJobInput) GoString

func (s StopTrainingJobInput) GoString() string

GoString returns the string representation

func (StopTrainingJobInput) String

func (s StopTrainingJobInput) String() string

String returns the string representation

func (*StopTrainingJobInput) Validate

func (s *StopTrainingJobInput) Validate() error

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

type StopTrainingJobOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJobOutput

func (StopTrainingJobOutput) GoString

func (s StopTrainingJobOutput) GoString() string

GoString returns the string representation

func (StopTrainingJobOutput) SDKResponseMetadata

func (s StopTrainingJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopTrainingJobOutput) String

func (s StopTrainingJobOutput) String() string

String returns the string representation

type StopTrainingJobRequest

type StopTrainingJobRequest struct {
	*aws.Request
	Input *StopTrainingJobInput
	Copy  func(*StopTrainingJobInput) StopTrainingJobRequest
}

StopTrainingJobRequest is a API request type for the StopTrainingJob API operation.

func (StopTrainingJobRequest) Send

Send marshals and sends the StopTrainingJob API request.

type StoppingCondition

type StoppingCondition struct {

	// The maximum length of time, in seconds, that the training job can run. If
	// model training does not complete during this time, Amazon SageMaker ends
	// the job. If value is not specified, default value is 1 day. Maximum value
	// is 5 days.
	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Specifies how long model training can run. When model training reaches the limit, Amazon SageMaker ends the training job. Use this API to cap model training cost.

To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of training is not lost.

Training algorithms provided by Amazon SageMaker automatically saves the intermediate results of a model training job (it is best effort case, as model might not be ready to save as some stages, for example training just started). This intermediate data is a valid model artifact. You can use it to create a model (CreateModel). Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StoppingCondition

func (StoppingCondition) GoString

func (s StoppingCondition) GoString() string

GoString returns the string representation

func (StoppingCondition) String

func (s StoppingCondition) String() string

String returns the string representation

func (*StoppingCondition) Validate

func (s *StoppingCondition) Validate() error

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

type Tag

type Tag struct {

	// The tag key.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The tag value.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TrainingInputMode

type TrainingInputMode string
const (
	TrainingInputModePipe TrainingInputMode = "Pipe"
	TrainingInputModeFile TrainingInputMode = "File"
)

Enum values for TrainingInputMode

func (TrainingInputMode) MarshalValue

func (enum TrainingInputMode) MarshalValue() (string, error)

func (TrainingInputMode) MarshalValueBuf

func (enum TrainingInputMode) MarshalValueBuf(b []byte) ([]byte, error)

type TrainingInstanceType

type TrainingInstanceType string
const (
	TrainingInstanceTypeMlM4Xlarge   TrainingInstanceType = "ml.m4.xlarge"
	TrainingInstanceTypeMlM42xlarge  TrainingInstanceType = "ml.m4.2xlarge"
	TrainingInstanceTypeMlM44xlarge  TrainingInstanceType = "ml.m4.4xlarge"
	TrainingInstanceTypeMlM410xlarge TrainingInstanceType = "ml.m4.10xlarge"
	TrainingInstanceTypeMlM416xlarge TrainingInstanceType = "ml.m4.16xlarge"
	TrainingInstanceTypeMlM5Large    TrainingInstanceType = "ml.m5.large"
	TrainingInstanceTypeMlM5Xlarge   TrainingInstanceType = "ml.m5.xlarge"
	TrainingInstanceTypeMlM52xlarge  TrainingInstanceType = "ml.m5.2xlarge"
	TrainingInstanceTypeMlM54xlarge  TrainingInstanceType = "ml.m5.4xlarge"
	TrainingInstanceTypeMlM512xlarge TrainingInstanceType = "ml.m5.12xlarge"
	TrainingInstanceTypeMlM524xlarge TrainingInstanceType = "ml.m5.24xlarge"
	TrainingInstanceTypeMlC4Xlarge   TrainingInstanceType = "ml.c4.xlarge"
	TrainingInstanceTypeMlC42xlarge  TrainingInstanceType = "ml.c4.2xlarge"
	TrainingInstanceTypeMlC44xlarge  TrainingInstanceType = "ml.c4.4xlarge"
	TrainingInstanceTypeMlC48xlarge  TrainingInstanceType = "ml.c4.8xlarge"
	TrainingInstanceTypeMlP2Xlarge   TrainingInstanceType = "ml.p2.xlarge"
	TrainingInstanceTypeMlP28xlarge  TrainingInstanceType = "ml.p2.8xlarge"
	TrainingInstanceTypeMlP216xlarge TrainingInstanceType = "ml.p2.16xlarge"
	TrainingInstanceTypeMlP32xlarge  TrainingInstanceType = "ml.p3.2xlarge"
	TrainingInstanceTypeMlP38xlarge  TrainingInstanceType = "ml.p3.8xlarge"
	TrainingInstanceTypeMlP316xlarge TrainingInstanceType = "ml.p3.16xlarge"
	TrainingInstanceTypeMlC5Xlarge   TrainingInstanceType = "ml.c5.xlarge"
	TrainingInstanceTypeMlC52xlarge  TrainingInstanceType = "ml.c5.2xlarge"
	TrainingInstanceTypeMlC54xlarge  TrainingInstanceType = "ml.c5.4xlarge"
	TrainingInstanceTypeMlC59xlarge  TrainingInstanceType = "ml.c5.9xlarge"
	TrainingInstanceTypeMlC518xlarge TrainingInstanceType = "ml.c5.18xlarge"
)

Enum values for TrainingInstanceType

func (TrainingInstanceType) MarshalValue

func (enum TrainingInstanceType) MarshalValue() (string, error)

func (TrainingInstanceType) MarshalValueBuf

func (enum TrainingInstanceType) MarshalValueBuf(b []byte) ([]byte, error)

type TrainingJobStatus

type TrainingJobStatus string
const (
	TrainingJobStatusInProgress TrainingJobStatus = "InProgress"
	TrainingJobStatusCompleted  TrainingJobStatus = "Completed"
	TrainingJobStatusFailed     TrainingJobStatus = "Failed"
	TrainingJobStatusStopping   TrainingJobStatus = "Stopping"
	TrainingJobStatusStopped    TrainingJobStatus = "Stopped"
)

Enum values for TrainingJobStatus

func (TrainingJobStatus) MarshalValue

func (enum TrainingJobStatus) MarshalValue() (string, error)

func (TrainingJobStatus) MarshalValueBuf

func (enum TrainingJobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type TrainingJobSummary

type TrainingJobSummary struct {

	// A timestamp that shows when the training job was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// Timestamp when the training job was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// A timestamp that shows when the training job ended. This field is set only
	// if the training job has one of the terminal statuses (Completed, Failed,
	// or Stopped).
	TrainingEndTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the training job.
	//
	// TrainingJobArn is a required field
	TrainingJobArn *string `type:"string" required:"true"`

	// The name of the training job that you want a summary for.
	//
	// TrainingJobName is a required field
	TrainingJobName *string `min:"1" type:"string" required:"true"`

	// The status of the training job.
	//
	// TrainingJobStatus is a required field
	TrainingJobStatus TrainingJobStatus `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Provides summary information about a training job. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingJobSummary

func (TrainingJobSummary) GoString

func (s TrainingJobSummary) GoString() string

GoString returns the string representation

func (TrainingJobSummary) String

func (s TrainingJobSummary) String() string

String returns the string representation

type UpdateEndpointInput

type UpdateEndpointInput struct {

	// The name of the new endpoint configuration.
	//
	// EndpointConfigName is a required field
	EndpointConfigName *string `type:"string" required:"true"`

	// The name of the endpoint whose configuration you want to update.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointInput

func (UpdateEndpointInput) GoString

func (s UpdateEndpointInput) GoString() string

GoString returns the string representation

func (UpdateEndpointInput) String

func (s UpdateEndpointInput) String() string

String returns the string representation

func (*UpdateEndpointInput) Validate

func (s *UpdateEndpointInput) Validate() error

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

type UpdateEndpointOutput

type UpdateEndpointOutput struct {

	// The Amazon Resource Name (ARN) of the endpoint.
	//
	// EndpointArn is a required field
	EndpointArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointOutput

func (UpdateEndpointOutput) GoString

func (s UpdateEndpointOutput) GoString() string

GoString returns the string representation

func (UpdateEndpointOutput) SDKResponseMetadata

func (s UpdateEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEndpointOutput) String

func (s UpdateEndpointOutput) String() string

String returns the string representation

type UpdateEndpointRequest

type UpdateEndpointRequest struct {
	*aws.Request
	Input *UpdateEndpointInput
	Copy  func(*UpdateEndpointInput) UpdateEndpointRequest
}

UpdateEndpointRequest is a API request type for the UpdateEndpoint API operation.

func (UpdateEndpointRequest) Send

Send marshals and sends the UpdateEndpoint API request.

type UpdateEndpointWeightsAndCapacitiesInput

type UpdateEndpointWeightsAndCapacitiesInput struct {

	// An object that provides new capacity and weight values for a variant.
	//
	// DesiredWeightsAndCapacities is a required field
	DesiredWeightsAndCapacities []DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`

	// The name of an existing Amazon SageMaker endpoint.
	//
	// EndpointName is a required field
	EndpointName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacitiesInput

func (UpdateEndpointWeightsAndCapacitiesInput) GoString

GoString returns the string representation

func (UpdateEndpointWeightsAndCapacitiesInput) String

String returns the string representation

func (*UpdateEndpointWeightsAndCapacitiesInput) Validate

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

type UpdateEndpointWeightsAndCapacitiesOutput

type UpdateEndpointWeightsAndCapacitiesOutput struct {

	// The Amazon Resource Name (ARN) of the updated endpoint.
	//
	// EndpointArn is a required field
	EndpointArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacitiesOutput

func (UpdateEndpointWeightsAndCapacitiesOutput) GoString

GoString returns the string representation

func (UpdateEndpointWeightsAndCapacitiesOutput) SDKResponseMetadata

func (s UpdateEndpointWeightsAndCapacitiesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEndpointWeightsAndCapacitiesOutput) String

String returns the string representation

type UpdateEndpointWeightsAndCapacitiesRequest

UpdateEndpointWeightsAndCapacitiesRequest is a API request type for the UpdateEndpointWeightsAndCapacities API operation.

func (UpdateEndpointWeightsAndCapacitiesRequest) Send

Send marshals and sends the UpdateEndpointWeightsAndCapacities API request.

type UpdateNotebookInstanceInput

type UpdateNotebookInstanceInput struct {

	// The Amazon ML compute instance type.
	InstanceType InstanceType `type:"string" enum:"true"`

	// The name of the notebook instance to update.
	//
	// NotebookInstanceName is a required field
	NotebookInstanceName *string `type:"string" required:"true"`

	// Amazon Resource Name (ARN) of the IAM role to associate with the instance.
	RoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceInput

func (UpdateNotebookInstanceInput) GoString

func (s UpdateNotebookInstanceInput) GoString() string

GoString returns the string representation

func (UpdateNotebookInstanceInput) String

String returns the string representation

func (*UpdateNotebookInstanceInput) Validate

func (s *UpdateNotebookInstanceInput) Validate() error

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

type UpdateNotebookInstanceLifecycleConfigInput

type UpdateNotebookInstanceLifecycleConfigInput struct {

	// The name of the lifecycle configuration.
	//
	// NotebookInstanceLifecycleConfigName is a required field
	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`

	// The shell script that runs only once, when you create a notebook instance
	OnCreate []NotebookInstanceLifecycleHook `type:"list"`

	// The shell script that runs every time you start a notebook instance, including
	// when you create the notebook instance.
	OnStart []NotebookInstanceLifecycleHook `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfigInput

func (UpdateNotebookInstanceLifecycleConfigInput) GoString

GoString returns the string representation

func (UpdateNotebookInstanceLifecycleConfigInput) String

String returns the string representation

func (*UpdateNotebookInstanceLifecycleConfigInput) Validate

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

type UpdateNotebookInstanceLifecycleConfigOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfigOutput

func (UpdateNotebookInstanceLifecycleConfigOutput) GoString

GoString returns the string representation

func (UpdateNotebookInstanceLifecycleConfigOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateNotebookInstanceLifecycleConfigOutput) String

String returns the string representation

type UpdateNotebookInstanceLifecycleConfigRequest

UpdateNotebookInstanceLifecycleConfigRequest is a API request type for the UpdateNotebookInstanceLifecycleConfig API operation.

func (UpdateNotebookInstanceLifecycleConfigRequest) Send

Send marshals and sends the UpdateNotebookInstanceLifecycleConfig API request.

type UpdateNotebookInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceOutput

func (UpdateNotebookInstanceOutput) GoString

func (s UpdateNotebookInstanceOutput) GoString() string

GoString returns the string representation

func (UpdateNotebookInstanceOutput) SDKResponseMetadata

func (s UpdateNotebookInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateNotebookInstanceOutput) String

String returns the string representation

type UpdateNotebookInstanceRequest

type UpdateNotebookInstanceRequest struct {
	*aws.Request
	Input *UpdateNotebookInstanceInput
	Copy  func(*UpdateNotebookInstanceInput) UpdateNotebookInstanceRequest
}

UpdateNotebookInstanceRequest is a API request type for the UpdateNotebookInstance API operation.

func (UpdateNotebookInstanceRequest) Send

Send marshals and sends the UpdateNotebookInstance API request.

type VpcConfig

type VpcConfig struct {

	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
	// groups for the VPC that is specified in the Subnets field.
	//
	// SecurityGroupIds is a required field
	SecurityGroupIds []string `min:"1" type:"list" required:"true"`

	// The ID of the subnets in the VPC to which you want to connect your training
	// job or model.
	//
	// Subnets is a required field
	Subnets []string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

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 host-vpc and train-vpc. Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/VpcConfig

func (VpcConfig) GoString

func (s VpcConfig) GoString() string

GoString returns the string representation

func (VpcConfig) String

func (s VpcConfig) String() string

String returns the string representation

func (*VpcConfig) Validate

func (s *VpcConfig) Validate() error

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

Directories

Path Synopsis
Package sagemakeriface provides an interface to enable mocking the Amazon SageMaker Service service client for testing your code.
Package sagemakeriface provides an interface to enable mocking the Amazon SageMaker Service service client for testing your code.

Jump to

Keyboard shortcuts

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