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 contact 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
- type AddTagsInput
- type AddTagsOutput
- type AlgorithmSpecification
- func (s AlgorithmSpecification) GoString() string
- func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification
- func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification
- func (s AlgorithmSpecification) String() string
- func (s *AlgorithmSpecification) Validate() error
- type Channel
- func (s Channel) GoString() string
- func (s *Channel) SetChannelName(v string) *Channel
- func (s *Channel) SetCompressionType(v string) *Channel
- func (s *Channel) SetContentType(v string) *Channel
- func (s *Channel) SetDataSource(v *DataSource) *Channel
- func (s *Channel) SetRecordWrapperType(v string) *Channel
- func (s Channel) String() string
- func (s *Channel) Validate() error
- type ContainerDefinition
- func (s ContainerDefinition) GoString() string
- func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition
- func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition
- func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition
- func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition
- func (s ContainerDefinition) String() string
- func (s *ContainerDefinition) Validate() error
- type CreateEndpointConfigInput
- func (s CreateEndpointConfigInput) GoString() string
- func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput
- func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput
- func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput
- func (s CreateEndpointConfigInput) String() string
- func (s *CreateEndpointConfigInput) Validate() error
- type CreateEndpointConfigOutput
- type CreateEndpointInput
- func (s CreateEndpointInput) GoString() string
- func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput
- func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput
- func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput
- func (s CreateEndpointInput) String() string
- func (s *CreateEndpointInput) Validate() error
- type CreateEndpointOutput
- type CreateModelInput
- func (s CreateModelInput) GoString() string
- func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput
- func (s *CreateModelInput) SetModelName(v string) *CreateModelInput
- func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput
- func (s *CreateModelInput) SetSupplementalContainers(v []*ContainerDefinition) *CreateModelInput
- func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
- func (s CreateModelInput) String() string
- func (s *CreateModelInput) Validate() error
- type CreateModelOutput
- type CreateNotebookInstanceInput
- func (s CreateNotebookInstanceInput) GoString() string
- func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput
- func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput
- func (s CreateNotebookInstanceInput) String() string
- func (s *CreateNotebookInstanceInput) Validate() error
- type CreateNotebookInstanceOutput
- type CreatePresignedNotebookInstanceUrlInput
- func (s CreatePresignedNotebookInstanceUrlInput) GoString() string
- func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput
- func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput
- func (s CreatePresignedNotebookInstanceUrlInput) String() string
- func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error
- type CreatePresignedNotebookInstanceUrlOutput
- type CreateTrainingJobInput
- func (s CreateTrainingJobInput) GoString() string
- func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput
- func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput
- func (s CreateTrainingJobInput) String() string
- func (s *CreateTrainingJobInput) Validate() error
- type CreateTrainingJobOutput
- type DataSource
- type DeleteEndpointConfigInput
- type DeleteEndpointConfigOutput
- type DeleteEndpointInput
- type DeleteEndpointOutput
- type DeleteModelInput
- type DeleteModelOutput
- type DeleteNotebookInstanceInput
- type DeleteNotebookInstanceOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DescribeEndpointConfigInput
- type DescribeEndpointConfigOutput
- func (s DescribeEndpointConfigOutput) GoString() string
- func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput
- func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput
- func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput
- func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput
- func (s DescribeEndpointConfigOutput) String() string
- type DescribeEndpointInput
- type DescribeEndpointOutput
- func (s DescribeEndpointOutput) GoString() string
- func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput
- func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput
- func (s DescribeEndpointOutput) String() string
- type DescribeModelInput
- type DescribeModelOutput
- func (s DescribeModelOutput) GoString() string
- func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput
- func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput
- func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput
- func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput
- func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput
- func (s *DescribeModelOutput) SetSupplementalContainers(v []*ContainerDefinition) *DescribeModelOutput
- func (s DescribeModelOutput) String() string
- type DescribeNotebookInstanceInput
- type DescribeNotebookInstanceOutput
- func (s DescribeNotebookInstanceOutput) GoString() string
- func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput
- func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput
- func (s DescribeNotebookInstanceOutput) String() string
- type DescribeTrainingJobInput
- type DescribeTrainingJobOutput
- func (s DescribeTrainingJobOutput) GoString() string
- func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput
- func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput
- func (s DescribeTrainingJobOutput) String() string
- type DesiredWeightAndCapacity
- func (s DesiredWeightAndCapacity) GoString() string
- func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity
- func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity
- func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity
- func (s DesiredWeightAndCapacity) String() string
- func (s *DesiredWeightAndCapacity) Validate() error
- type EndpointConfigSummary
- func (s EndpointConfigSummary) GoString() string
- func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary
- func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary
- func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary
- func (s EndpointConfigSummary) String() string
- type EndpointSummary
- func (s EndpointSummary) GoString() string
- func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary
- func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary
- func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary
- func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary
- func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary
- func (s EndpointSummary) String() string
- type ListEndpointConfigsInput
- func (s ListEndpointConfigsInput) GoString() string
- func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput
- func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput
- func (s ListEndpointConfigsInput) String() string
- func (s *ListEndpointConfigsInput) Validate() error
- type ListEndpointConfigsOutput
- type ListEndpointsInput
- func (s ListEndpointsInput) GoString() string
- func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput
- func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput
- func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput
- func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput
- func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput
- func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput
- func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput
- func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput
- func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput
- func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput
- func (s ListEndpointsInput) String() string
- func (s *ListEndpointsInput) Validate() error
- type ListEndpointsOutput
- type ListModelsInput
- func (s ListModelsInput) GoString() string
- func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput
- func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput
- func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput
- func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput
- func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput
- func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput
- func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput
- func (s ListModelsInput) String() string
- func (s *ListModelsInput) Validate() error
- type ListModelsOutput
- type ListNotebookInstancesInput
- func (s ListNotebookInstancesInput) GoString() string
- func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput
- func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput
- func (s ListNotebookInstancesInput) String() string
- func (s *ListNotebookInstancesInput) Validate() error
- type ListNotebookInstancesOutput
- func (s ListNotebookInstancesOutput) GoString() string
- func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput
- func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput
- func (s ListNotebookInstancesOutput) String() string
- type ListTagsInput
- func (s ListTagsInput) GoString() string
- func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
- func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
- func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
- func (s ListTagsInput) String() string
- func (s *ListTagsInput) Validate() error
- type ListTagsOutput
- type ListTrainingJobsInput
- func (s ListTrainingJobsInput) GoString() string
- func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput
- func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput
- func (s ListTrainingJobsInput) String() string
- func (s *ListTrainingJobsInput) Validate() error
- type ListTrainingJobsOutput
- type ModelArtifacts
- type ModelSummary
- type NotebookInstanceSummary
- func (s NotebookInstanceSummary) GoString() string
- func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary
- func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary
- func (s NotebookInstanceSummary) String() string
- type OutputDataConfig
- type ProductionVariant
- func (s ProductionVariant) GoString() string
- func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant
- func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant
- func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant
- func (s *ProductionVariant) SetModelName(v string) *ProductionVariant
- func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant
- func (s ProductionVariant) String() string
- func (s *ProductionVariant) Validate() error
- type ProductionVariantSummary
- func (s ProductionVariantSummary) GoString() string
- func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary
- func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary
- func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary
- func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary
- func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary
- func (s ProductionVariantSummary) String() string
- type ResourceConfig
- func (s ResourceConfig) GoString() string
- func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig
- func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig
- func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig
- func (s ResourceConfig) String() string
- func (s *ResourceConfig) Validate() error
- type S3DataSource
- func (s S3DataSource) GoString() string
- func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource
- func (s *S3DataSource) SetS3DataType(v string) *S3DataSource
- func (s *S3DataSource) SetS3Uri(v string) *S3DataSource
- func (s S3DataSource) String() string
- func (s *S3DataSource) Validate() error
- type SageMaker
- func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
- func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
- func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
- func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error)
- func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error)
- func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput)
- func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error)
- func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput)
- func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error)
- func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
- func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
- func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
- func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error)
- func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput)
- func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error)
- func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error)
- func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput)
- func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, ...) (*CreatePresignedNotebookInstanceUrlOutput, error)
- func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error)
- func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput)
- func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error)
- func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)
- func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error)
- func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput)
- func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error)
- func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)
- func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)
- func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
- func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
- func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
- func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error)
- func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput)
- func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error)
- func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)
- func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)
- func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)
- func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error)
- func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error)
- func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput)
- func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error)
- func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput)
- func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error)
- func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error)
- func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput)
- func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error)
- func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error)
- func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput)
- func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error)
- func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error)
- func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput)
- func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error)
- func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error)
- func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, ...) error
- func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, ...) error
- func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput)
- func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error)
- func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error)
- func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error
- func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, ...) error
- func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput)
- func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error)
- func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error)
- func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error
- func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, ...) error
- func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput)
- func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error)
- func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error)
- func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, ...) error
- func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, ...) error
- func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput)
- func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error)
- func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
- func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error
- func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, ...) error
- func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
- func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
- func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error)
- func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error
- func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, ...) error
- func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput)
- func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error)
- func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error)
- func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput)
- func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error)
- func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error)
- func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput)
- func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error)
- func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error)
- func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput)
- func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error)
- func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error)
- func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput)
- func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error)
- func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput)
- func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, ...) (*UpdateEndpointWeightsAndCapacitiesOutput, error)
- func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error)
- func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error)
- func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput)
- func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error)
- func (c *SageMaker) WaitUntilEndpointDeleted(input *DescribeEndpointInput) error
- func (c *SageMaker) WaitUntilEndpointDeletedWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.WaiterOption) error
- func (c *SageMaker) WaitUntilEndpointInService(input *DescribeEndpointInput) error
- func (c *SageMaker) WaitUntilEndpointInServiceWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.WaiterOption) error
- func (c *SageMaker) WaitUntilNotebookInstanceDeleted(input *DescribeNotebookInstanceInput) error
- func (c *SageMaker) WaitUntilNotebookInstanceDeletedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, ...) error
- func (c *SageMaker) WaitUntilNotebookInstanceInService(input *DescribeNotebookInstanceInput) error
- func (c *SageMaker) WaitUntilNotebookInstanceInServiceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, ...) error
- func (c *SageMaker) WaitUntilNotebookInstanceStopped(input *DescribeNotebookInstanceInput) error
- func (c *SageMaker) WaitUntilNotebookInstanceStoppedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, ...) error
- func (c *SageMaker) WaitUntilTrainingJobCompletedOrStopped(input *DescribeTrainingJobInput) error
- func (c *SageMaker) WaitUntilTrainingJobCompletedOrStoppedWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.WaiterOption) error
- type StartNotebookInstanceInput
- type StartNotebookInstanceOutput
- type StopNotebookInstanceInput
- type StopNotebookInstanceOutput
- type StopTrainingJobInput
- type StopTrainingJobOutput
- type StoppingCondition
- type Tag
- type TrainingJobSummary
- func (s TrainingJobSummary) GoString() string
- func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary
- func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary
- func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary
- func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary
- func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary
- func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary
- func (s TrainingJobSummary) String() string
- type UpdateEndpointInput
- type UpdateEndpointOutput
- type UpdateEndpointWeightsAndCapacitiesInput
- func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string
- func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput
- func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput
- func (s UpdateEndpointWeightsAndCapacitiesInput) String() string
- func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error
- type UpdateEndpointWeightsAndCapacitiesOutput
- type UpdateNotebookInstanceInput
- func (s UpdateNotebookInstanceInput) GoString() string
- func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput
- func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput
- func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput
- func (s UpdateNotebookInstanceInput) String() string
- func (s *UpdateNotebookInstanceInput) Validate() error
- type UpdateNotebookInstanceOutput
Constants ¶
const ( // CompressionTypeNone is a CompressionType enum value CompressionTypeNone = "None" // CompressionTypeGzip is a CompressionType enum value CompressionTypeGzip = "Gzip" )
const ( // EndpointConfigSortKeyName is a EndpointConfigSortKey enum value EndpointConfigSortKeyName = "Name" // EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value EndpointConfigSortKeyCreationTime = "CreationTime" )
const ( // EndpointSortKeyName is a EndpointSortKey enum value EndpointSortKeyName = "Name" // EndpointSortKeyCreationTime is a EndpointSortKey enum value EndpointSortKeyCreationTime = "CreationTime" // EndpointSortKeyStatus is a EndpointSortKey enum value EndpointSortKeyStatus = "Status" )
const ( // EndpointStatusOutOfService is a EndpointStatus enum value EndpointStatusOutOfService = "OutOfService" // EndpointStatusCreating is a EndpointStatus enum value EndpointStatusCreating = "Creating" // EndpointStatusUpdating is a EndpointStatus enum value EndpointStatusUpdating = "Updating" // EndpointStatusRollingBack is a EndpointStatus enum value EndpointStatusRollingBack = "RollingBack" // EndpointStatusInService is a EndpointStatus enum value EndpointStatusInService = "InService" // EndpointStatusDeleting is a EndpointStatus enum value EndpointStatusDeleting = "Deleting" // EndpointStatusFailed is a EndpointStatus enum value EndpointStatusFailed = "Failed" )
const ( // InstanceTypeMlT2Medium is a InstanceType enum value InstanceTypeMlT2Medium = "ml.t2.medium" // InstanceTypeMlM4Xlarge is a InstanceType enum value InstanceTypeMlM4Xlarge = "ml.m4.xlarge" // InstanceTypeMlP2Xlarge is a InstanceType enum value InstanceTypeMlP2Xlarge = "ml.p2.xlarge" )
const ( // ModelSortKeyName is a ModelSortKey enum value ModelSortKeyName = "Name" // ModelSortKeyCreationTime is a ModelSortKey enum value ModelSortKeyCreationTime = "CreationTime" )
const ( // NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value NotebookInstanceSortKeyName = "Name" // NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value NotebookInstanceSortKeyCreationTime = "CreationTime" // NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value NotebookInstanceSortKeyStatus = "Status" )
const ( // NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value NotebookInstanceSortOrderAscending = "Ascending" // NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value NotebookInstanceSortOrderDescending = "Descending" )
const ( // NotebookInstanceStatusPending is a NotebookInstanceStatus enum value NotebookInstanceStatusPending = "Pending" // NotebookInstanceStatusInService is a NotebookInstanceStatus enum value NotebookInstanceStatusInService = "InService" // NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value NotebookInstanceStatusStopping = "Stopping" // NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value NotebookInstanceStatusStopped = "Stopped" // NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value NotebookInstanceStatusFailed = "Failed" // NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value NotebookInstanceStatusDeleting = "Deleting" )
const ( // OrderKeyAscending is a OrderKey enum value OrderKeyAscending = "Ascending" // OrderKeyDescending is a OrderKey enum value OrderKeyDescending = "Descending" )
const ( // ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge" // ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge" // ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge" // ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge" // ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge" // ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge" // ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge" // ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge" // ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge" // ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium" )
const ( // RecordWrapperNone is a RecordWrapper enum value RecordWrapperNone = "None" // RecordWrapperRecordIo is a RecordWrapper enum value RecordWrapperRecordIo = "RecordIO" )
const ( // S3DataDistributionFullyReplicated is a S3DataDistribution enum value S3DataDistributionFullyReplicated = "FullyReplicated" // S3DataDistributionShardedByS3key is a S3DataDistribution enum value S3DataDistributionShardedByS3key = "ShardedByS3Key" )
const ( // S3DataTypeManifestFile is a S3DataType enum value S3DataTypeManifestFile = "ManifestFile" // S3DataTypeS3prefix is a S3DataType enum value S3DataTypeS3prefix = "S3Prefix" )
const ( // SecondaryStatusStarting is a SecondaryStatus enum value SecondaryStatusStarting = "Starting" // SecondaryStatusDownloading is a SecondaryStatus enum value SecondaryStatusDownloading = "Downloading" // SecondaryStatusTraining is a SecondaryStatus enum value SecondaryStatusTraining = "Training" // SecondaryStatusUploading is a SecondaryStatus enum value SecondaryStatusUploading = "Uploading" // SecondaryStatusStopping is a SecondaryStatus enum value SecondaryStatusStopping = "Stopping" // SecondaryStatusStopped is a SecondaryStatus enum value SecondaryStatusStopped = "Stopped" // SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded" // SecondaryStatusCompleted is a SecondaryStatus enum value SecondaryStatusCompleted = "Completed" // SecondaryStatusFailed is a SecondaryStatus enum value SecondaryStatusFailed = "Failed" )
const ( // SortByName is a SortBy enum value SortByName = "Name" // SortByCreationTime is a SortBy enum value SortByCreationTime = "CreationTime" // SortByStatus is a SortBy enum value SortByStatus = "Status" )
const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "Ascending" // SortOrderDescending is a SortOrder enum value SortOrderDescending = "Descending" )
const ( // TrainingInputModePipe is a TrainingInputMode enum value TrainingInputModePipe = "Pipe" // TrainingInputModeFile is a TrainingInputMode enum value TrainingInputModeFile = "File" )
const ( // TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge" // TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge" // TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge" // TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge" // TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge" // TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge" // TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge" // TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge" // TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge" // TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge" // TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge" // TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge" // TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge" // TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge" // TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge" // TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge" // TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge" )
const ( // TrainingJobStatusInProgress is a TrainingJobStatus enum value TrainingJobStatusInProgress = "InProgress" // TrainingJobStatusCompleted is a TrainingJobStatus enum value TrainingJobStatusCompleted = "Completed" // TrainingJobStatusFailed is a TrainingJobStatus enum value TrainingJobStatusFailed = "Failed" // TrainingJobStatusStopping is a TrainingJobStatus enum value TrainingJobStatusStopping = "Stopping" // TrainingJobStatusStopped is a TrainingJobStatus enum value TrainingJobStatusStopped = "Stopped" )
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" )
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 }
See also, 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) SetResourceArn ¶
func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput
SetResourceArn sets the ResourceArn field's value.
func (*AddTagsInput) SetTags ¶
func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput
SetTags sets the Tags field's value.
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 }
See also, 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) SetTags ¶
func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput
SetTags sets the Tags field's value.
func (AddTagsOutput) String ¶
func (s AddTagsOutput) String() string
String returns the string representation
type AlgorithmSpecification ¶
type AlgorithmSpecification struct { // The registry path of the Docker image that contains the training algorithm. // For information about using your own algorithms, see Docker Registry Paths // for Algorithms Provided by Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/algos-docker-registry-paths.html). // // 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 accomodate 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 *string `type:"string" required:"true" enum:"TrainingInputMode"` // 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 Bring Your Own Algorithms (http://docs.aws.amazon.com/sagemaker/latest/dg/adv-topics-own-algo.html). See also, 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) SetTrainingImage ¶
func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification
SetTrainingImage sets the TrainingImage field's value.
func (*AlgorithmSpecification) SetTrainingInputMode ¶
func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification
SetTrainingInputMode sets the TrainingInputMode field's value.
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 *string `type:"string" enum:"CompressionType"` // 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 *string `type:"string" enum:"RecordWrapper"` // contains filtered or unexported fields }
A channel is a named input source that training algorithms can consume. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Channel
func (*Channel) SetChannelName ¶
SetChannelName sets the ChannelName field's value.
func (*Channel) SetCompressionType ¶
SetCompressionType sets the CompressionType field's value.
func (*Channel) SetContentType ¶
SetContentType sets the ContentType field's value.
func (*Channel) SetDataSource ¶
func (s *Channel) SetDataSource(v *DataSource) *Channel
SetDataSource sets the DataSource field's value.
func (*Channel) SetRecordWrapperType ¶
SetRecordWrapperType sets the RecordWrapperType field's value.
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. See also, 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) SetContainerHostname ¶
func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition
SetContainerHostname sets the ContainerHostname field's value.
func (*ContainerDefinition) SetEnvironment ¶
func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition
SetEnvironment sets the Environment field's value.
func (*ContainerDefinition) SetImage ¶
func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition
SetImage sets the Image field's value.
func (*ContainerDefinition) SetModelDataUrl ¶
func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition
SetModelDataUrl sets the ModelDataUrl field's value.
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"` // 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 }
See also, 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) SetEndpointConfigName ¶
func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (*CreateEndpointConfigInput) SetProductionVariants ¶
func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput
SetProductionVariants sets the ProductionVariants field's value.
func (*CreateEndpointConfigInput) SetTags ¶
func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput
SetTags sets the Tags field's value.
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 }
See also, 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) SetEndpointConfigArn ¶
func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput
SetEndpointConfigArn sets the EndpointConfigArn field's value.
func (CreateEndpointConfigOutput) String ¶
func (s CreateEndpointConfigOutput) String() string
String returns the string representation
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 }
See also, 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) SetEndpointConfigName ¶
func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (*CreateEndpointInput) SetEndpointName ¶
func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput
SetEndpointName sets the EndpointName field's value.
func (*CreateEndpointInput) SetTags ¶
func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput
SetTags sets the Tags field's value.
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 }
See also, 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) SetEndpointArn ¶
func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput
SetEndpointArn sets the EndpointArn field's value.
func (CreateEndpointOutput) String ¶
func (s CreateEndpointOutput) String() string
String returns the string representation
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 *string `min:"20" type:"string"` // 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"` // The additional optional containers to deploy. SupplementalContainers []*ContainerDefinition `type:"list"` // 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 }
See also, 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) SetExecutionRoleArn ¶
func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (*CreateModelInput) SetModelName ¶
func (s *CreateModelInput) SetModelName(v string) *CreateModelInput
SetModelName sets the ModelName field's value.
func (*CreateModelInput) SetPrimaryContainer ¶
func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput
SetPrimaryContainer sets the PrimaryContainer field's value.
func (*CreateModelInput) SetSupplementalContainers ¶
func (s *CreateModelInput) SetSupplementalContainers(v []*ContainerDefinition) *CreateModelInput
SetSupplementalContainers sets the SupplementalContainers field's value.
func (*CreateModelInput) SetTags ¶
func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
SetTags sets the Tags field's value.
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 }
See also, 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) SetModelArn ¶
func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput
SetModelArn sets the ModelArn field's value.
func (CreateModelOutput) String ¶
func (s CreateModelOutput) String() string
String returns the string representation
type CreateNotebookInstanceInput ¶
type CreateNotebookInstanceInput struct { // The type of ML compute instance to launch for the notebook instance. // // InstanceType is a required field InstanceType *string `type:"string" required:"true" enum:"InstanceType"` // 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 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 }
See also, 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) SetInstanceType ¶
func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput
SetInstanceType sets the InstanceType field's value.
func (*CreateNotebookInstanceInput) SetKmsKeyId ¶
func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateNotebookInstanceInput) SetNotebookInstanceName ¶
func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (*CreateNotebookInstanceInput) SetRoleArn ¶
func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput
SetRoleArn sets the RoleArn field's value.
func (*CreateNotebookInstanceInput) SetSecurityGroupIds ¶
func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*CreateNotebookInstanceInput) SetSubnetId ¶
func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput
SetSubnetId sets the SubnetId field's value.
func (*CreateNotebookInstanceInput) SetTags ¶
func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput
SetTags sets the Tags field's value.
func (CreateNotebookInstanceInput) String ¶
func (s CreateNotebookInstanceInput) String() 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 CreateNotebookInstanceOutput ¶
type CreateNotebookInstanceOutput struct { // The Amazon Resource Name (ARN) of the notebook instance. NotebookInstanceArn *string `type:"string"` // contains filtered or unexported fields }
See also, 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) SetNotebookInstanceArn ¶
func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput
SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
func (CreateNotebookInstanceOutput) String ¶
func (s CreateNotebookInstanceOutput) String() string
String returns the string representation
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 }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrlInput
func (CreatePresignedNotebookInstanceUrlInput) GoString ¶
func (s CreatePresignedNotebookInstanceUrlInput) GoString() string
GoString returns the string representation
func (*CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName ¶
func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (*CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds ¶
func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput
SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
func (CreatePresignedNotebookInstanceUrlInput) String ¶
func (s CreatePresignedNotebookInstanceUrlInput) String() string
String returns the string representation
func (*CreatePresignedNotebookInstanceUrlInput) Validate ¶
func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error
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 }
func (CreatePresignedNotebookInstanceUrlOutput) GoString ¶
func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string
GoString returns the string representation
func (*CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl ¶
func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput
SetAuthorizedUrl sets the AuthorizedUrl field's value.
func (CreatePresignedNotebookInstanceUrlOutput) String ¶
func (s CreatePresignedNotebookInstanceUrlOutput) String() string
String returns the string representation
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 Bring Your Own Algorithms // (http://docs.aws.amazon.com/sagemaker/latest/dg/adv-topics-own-algo.html). // // 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"` // contains filtered or unexported fields }
See also, 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) SetAlgorithmSpecification ¶
func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput
SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
func (*CreateTrainingJobInput) SetHyperParameters ¶
func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput
SetHyperParameters sets the HyperParameters field's value.
func (*CreateTrainingJobInput) SetInputDataConfig ¶
func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput
SetInputDataConfig sets the InputDataConfig field's value.
func (*CreateTrainingJobInput) SetOutputDataConfig ¶
func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput
SetOutputDataConfig sets the OutputDataConfig field's value.
func (*CreateTrainingJobInput) SetResourceConfig ¶
func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput
SetResourceConfig sets the ResourceConfig field's value.
func (*CreateTrainingJobInput) SetRoleArn ¶
func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput
SetRoleArn sets the RoleArn field's value.
func (*CreateTrainingJobInput) SetStoppingCondition ¶
func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput
SetStoppingCondition sets the StoppingCondition field's value.
func (*CreateTrainingJobInput) SetTags ¶
func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput
SetTags sets the Tags field's value.
func (*CreateTrainingJobInput) SetTrainingJobName ¶
func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput
SetTrainingJobName sets the TrainingJobName field's value.
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 }
See also, 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) SetTrainingJobArn ¶
func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput
SetTrainingJobArn sets the TrainingJobArn field's value.
func (CreateTrainingJobOutput) String ¶
func (s CreateTrainingJobOutput) String() string
String returns the string representation
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. See also, 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) SetS3DataSource ¶
func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource
SetS3DataSource sets the S3DataSource field's value.
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 }
See also, 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) SetEndpointConfigName ¶
func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput
SetEndpointConfigName sets the EndpointConfigName field's value.
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
}
See also, 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) String ¶
func (s DeleteEndpointConfigOutput) String() string
String returns the string representation
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 }
See also, 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) SetEndpointName ¶
func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput
SetEndpointName sets the EndpointName field's value.
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
}
See also, 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) String ¶
func (s DeleteEndpointOutput) String() string
String returns the string representation
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 }
See also, 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) SetModelName ¶
func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput
SetModelName sets the ModelName field's value.
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
}
See also, 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) String ¶
func (s DeleteModelOutput) String() string
String returns the string representation
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 }
See also, 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) SetNotebookInstanceName ¶
func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (DeleteNotebookInstanceInput) String ¶
func (s DeleteNotebookInstanceInput) String() 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 DeleteNotebookInstanceOutput ¶
type DeleteNotebookInstanceOutput struct {
// contains filtered or unexported fields
}
See also, 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) String ¶
func (s DeleteNotebookInstanceOutput) String() string
String returns the string representation
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 }
See also, 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) SetResourceArn ¶
func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput
SetResourceArn sets the ResourceArn field's value.
func (*DeleteTagsInput) SetTagKeys ¶
func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput
SetTagKeys sets the TagKeys field's value.
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
}
See also, 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) String ¶
func (s DeleteTagsOutput) String() string
String returns the string representation
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 }
See also, 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) SetEndpointConfigName ¶
func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (DescribeEndpointConfigInput) String ¶
func (s DescribeEndpointConfigInput) String() 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"` // 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 }
See also, 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) SetCreationTime ¶
func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeEndpointConfigOutput) SetEndpointConfigArn ¶
func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput
SetEndpointConfigArn sets the EndpointConfigArn field's value.
func (*DescribeEndpointConfigOutput) SetEndpointConfigName ¶
func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (*DescribeEndpointConfigOutput) SetProductionVariants ¶
func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput
SetProductionVariants sets the ProductionVariants field's value.
func (DescribeEndpointConfigOutput) String ¶
func (s DescribeEndpointConfigOutput) String() string
String returns the string representation
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 }
See also, 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) SetEndpointName ¶
func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput
SetEndpointName sets the EndpointName field's value.
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 *string `type:"string" required:"true" enum:"EndpointStatus"` // 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 }
See also, 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) SetCreationTime ¶
func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeEndpointOutput) SetEndpointArn ¶
func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput
SetEndpointArn sets the EndpointArn field's value.
func (*DescribeEndpointOutput) SetEndpointConfigName ¶
func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (*DescribeEndpointOutput) SetEndpointName ¶
func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput
SetEndpointName sets the EndpointName field's value.
func (*DescribeEndpointOutput) SetEndpointStatus ¶
func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput
SetEndpointStatus sets the EndpointStatus field's value.
func (*DescribeEndpointOutput) SetFailureReason ¶
func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput
SetFailureReason sets the FailureReason field's value.
func (*DescribeEndpointOutput) SetLastModifiedTime ¶
func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*DescribeEndpointOutput) SetProductionVariants ¶
func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput
SetProductionVariants sets the ProductionVariants field's value.
func (DescribeEndpointOutput) String ¶
func (s DescribeEndpointOutput) String() string
String returns the string representation
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 }
See also, 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) SetModelName ¶
func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput
SetModelName sets the ModelName field's value.
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"` // The description of additional optional containers that you defined when creating // the model. // // SupplementalContainers is a required field SupplementalContainers []*ContainerDefinition `type:"list" required:"true"` // contains filtered or unexported fields }
See also, 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) SetCreationTime ¶
func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeModelOutput) SetExecutionRoleArn ¶
func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (*DescribeModelOutput) SetModelArn ¶
func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput
SetModelArn sets the ModelArn field's value.
func (*DescribeModelOutput) SetModelName ¶
func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput
SetModelName sets the ModelName field's value.
func (*DescribeModelOutput) SetPrimaryContainer ¶
func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput
SetPrimaryContainer sets the PrimaryContainer field's value.
func (*DescribeModelOutput) SetSupplementalContainers ¶
func (s *DescribeModelOutput) SetSupplementalContainers(v []*ContainerDefinition) *DescribeModelOutput
SetSupplementalContainers sets the SupplementalContainers field's value.
func (DescribeModelOutput) String ¶
func (s DescribeModelOutput) String() string
String returns the string representation
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 }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceInput
func (DescribeNotebookInstanceInput) GoString ¶
func (s DescribeNotebookInstanceInput) GoString() string
GoString returns the string representation
func (*DescribeNotebookInstanceInput) SetNotebookInstanceName ¶
func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (DescribeNotebookInstanceInput) String ¶
func (s DescribeNotebookInstanceInput) String() 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 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"` // If staus is failed, the reason it failed. FailureReason *string `type:"string"` // The type of ML compute instance running on the notebook instance. InstanceType *string `type:"string" enum:"InstanceType"` // 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"` // Name of the Amazon SageMaker notebook instance. NotebookInstanceName *string `type:"string"` // The status of the notebook instance. NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"` // 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 }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceOutput
func (DescribeNotebookInstanceOutput) GoString ¶
func (s DescribeNotebookInstanceOutput) GoString() string
GoString returns the string representation
func (*DescribeNotebookInstanceOutput) SetCreationTime ¶
func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeNotebookInstanceOutput) SetFailureReason ¶
func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput
SetFailureReason sets the FailureReason field's value.
func (*DescribeNotebookInstanceOutput) SetInstanceType ¶
func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput
SetInstanceType sets the InstanceType field's value.
func (*DescribeNotebookInstanceOutput) SetKmsKeyId ¶
func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*DescribeNotebookInstanceOutput) SetLastModifiedTime ¶
func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*DescribeNotebookInstanceOutput) SetNetworkInterfaceId ¶
func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*DescribeNotebookInstanceOutput) SetNotebookInstanceArn ¶
func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput
SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
func (*DescribeNotebookInstanceOutput) SetNotebookInstanceName ¶
func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (*DescribeNotebookInstanceOutput) SetNotebookInstanceStatus ¶
func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput
SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
func (*DescribeNotebookInstanceOutput) SetRoleArn ¶
func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput
SetRoleArn sets the RoleArn field's value.
func (*DescribeNotebookInstanceOutput) SetSecurityGroups ¶
func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput
SetSecurityGroups sets the SecurityGroups field's value.
func (*DescribeNotebookInstanceOutput) SetSubnetId ¶
func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput
SetSubnetId sets the SubnetId field's value.
func (*DescribeNotebookInstanceOutput) SetUrl ¶
func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput
SetUrl sets the Url field's value.
func (DescribeNotebookInstanceOutput) String ¶
func (s DescribeNotebookInstanceOutput) String() string
String returns the string representation
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 }
See also, 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) SetTrainingJobName ¶
func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput
SetTrainingJobName sets the TrainingJobName field's value.
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 *string `type:"string" required:"true" enum:"SecondaryStatus"` // 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 *string `type:"string" required:"true" enum:"TrainingJobStatus"` // A timestamp that indicates when training started. TrainingStartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
See also, 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) SetAlgorithmSpecification ¶
func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput
SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
func (*DescribeTrainingJobOutput) SetCreationTime ¶
func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeTrainingJobOutput) SetFailureReason ¶
func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput
SetFailureReason sets the FailureReason field's value.
func (*DescribeTrainingJobOutput) SetHyperParameters ¶
func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput
SetHyperParameters sets the HyperParameters field's value.
func (*DescribeTrainingJobOutput) SetInputDataConfig ¶
func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput
SetInputDataConfig sets the InputDataConfig field's value.
func (*DescribeTrainingJobOutput) SetLastModifiedTime ¶
func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*DescribeTrainingJobOutput) SetModelArtifacts ¶
func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput
SetModelArtifacts sets the ModelArtifacts field's value.
func (*DescribeTrainingJobOutput) SetOutputDataConfig ¶
func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput
SetOutputDataConfig sets the OutputDataConfig field's value.
func (*DescribeTrainingJobOutput) SetResourceConfig ¶
func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput
SetResourceConfig sets the ResourceConfig field's value.
func (*DescribeTrainingJobOutput) SetRoleArn ¶
func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput
SetRoleArn sets the RoleArn field's value.
func (*DescribeTrainingJobOutput) SetSecondaryStatus ¶
func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput
SetSecondaryStatus sets the SecondaryStatus field's value.
func (*DescribeTrainingJobOutput) SetStoppingCondition ¶
func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput
SetStoppingCondition sets the StoppingCondition field's value.
func (*DescribeTrainingJobOutput) SetTrainingEndTime ¶
func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput
SetTrainingEndTime sets the TrainingEndTime field's value.
func (*DescribeTrainingJobOutput) SetTrainingJobArn ¶
func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput
SetTrainingJobArn sets the TrainingJobArn field's value.
func (*DescribeTrainingJobOutput) SetTrainingJobName ¶
func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput
SetTrainingJobName sets the TrainingJobName field's value.
func (*DescribeTrainingJobOutput) SetTrainingJobStatus ¶
func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput
SetTrainingJobStatus sets the TrainingJobStatus field's value.
func (*DescribeTrainingJobOutput) SetTrainingStartTime ¶
func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput
SetTrainingStartTime sets the TrainingStartTime field's value.
func (DescribeTrainingJobOutput) String ¶
func (s DescribeTrainingJobOutput) String() string
String returns the string representation
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. See also, 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) SetDesiredInstanceCount ¶
func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity
SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
func (*DesiredWeightAndCapacity) SetDesiredWeight ¶
func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity
SetDesiredWeight sets the DesiredWeight field's value.
func (*DesiredWeightAndCapacity) SetVariantName ¶
func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity
SetVariantName sets the VariantName field's value.
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 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. See also, 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) SetCreationTime ¶
func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary
SetCreationTime sets the CreationTime field's value.
func (*EndpointConfigSummary) SetEndpointConfigArn ¶
func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary
SetEndpointConfigArn sets the EndpointConfigArn field's value.
func (*EndpointConfigSummary) SetEndpointConfigName ¶
func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary
SetEndpointConfigName sets the EndpointConfigName field's value.
func (EndpointConfigSummary) String ¶
func (s EndpointConfigSummary) String() string
String returns the string representation
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 *string `type:"string" required:"true" enum:"EndpointStatus"` // 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. See also, 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) SetCreationTime ¶
func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary
SetCreationTime sets the CreationTime field's value.
func (*EndpointSummary) SetEndpointArn ¶
func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary
SetEndpointArn sets the EndpointArn field's value.
func (*EndpointSummary) SetEndpointName ¶
func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary
SetEndpointName sets the EndpointName field's value.
func (*EndpointSummary) SetEndpointStatus ¶
func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary
SetEndpointStatus sets the EndpointStatus field's value.
func (*EndpointSummary) SetLastModifiedTime ¶
func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary
SetLastModifiedTime sets the LastModifiedTime field's value.
func (EndpointSummary) String ¶
func (s EndpointSummary) String() string
String returns the string representation
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 *string `type:"string" enum:"EndpointConfigSortKey"` // The sort order for results. The default is Ascending. SortOrder *string `type:"string" enum:"OrderKey"` // contains filtered or unexported fields }
See also, 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) SetCreationTimeAfter ¶
func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListEndpointConfigsInput) SetCreationTimeBefore ¶
func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListEndpointConfigsInput) SetMaxResults ¶
func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput
SetMaxResults sets the MaxResults field's value.
func (*ListEndpointConfigsInput) SetNameContains ¶
func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput
SetNameContains sets the NameContains field's value.
func (*ListEndpointConfigsInput) SetNextToken ¶
func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput
SetNextToken sets the NextToken field's value.
func (*ListEndpointConfigsInput) SetSortBy ¶
func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput
SetSortBy sets the SortBy field's value.
func (*ListEndpointConfigsInput) SetSortOrder ¶
func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput
SetSortOrder sets the SortOrder field's value.
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 }
See also, 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) SetEndpointConfigs ¶
func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput
SetEndpointConfigs sets the EndpointConfigs field's value.
func (*ListEndpointConfigsOutput) SetNextToken ¶
func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput
SetNextToken sets the NextToken field's value.
func (ListEndpointConfigsOutput) String ¶
func (s ListEndpointConfigsOutput) String() string
String returns the string representation
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 *string `type:"string" enum:"EndpointSortKey"` // The sort order for results. The default is Ascending. SortOrder *string `type:"string" enum:"OrderKey"` // A filter that returns only endpoints with the specified status. StatusEquals *string `type:"string" enum:"EndpointStatus"` // contains filtered or unexported fields }
See also, 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) SetCreationTimeAfter ¶
func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListEndpointsInput) SetCreationTimeBefore ¶
func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListEndpointsInput) SetLastModifiedTimeAfter ¶
func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput
SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
func (*ListEndpointsInput) SetLastModifiedTimeBefore ¶
func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput
SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
func (*ListEndpointsInput) SetMaxResults ¶
func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput
SetMaxResults sets the MaxResults field's value.
func (*ListEndpointsInput) SetNameContains ¶
func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput
SetNameContains sets the NameContains field's value.
func (*ListEndpointsInput) SetNextToken ¶
func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput
SetNextToken sets the NextToken field's value.
func (*ListEndpointsInput) SetSortBy ¶
func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput
SetSortBy sets the SortBy field's value.
func (*ListEndpointsInput) SetSortOrder ¶
func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput
SetSortOrder sets the SortOrder field's value.
func (*ListEndpointsInput) SetStatusEquals ¶
func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput
SetStatusEquals sets the StatusEquals field's value.
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 }
See also, 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) SetEndpoints ¶
func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput
SetEndpoints sets the Endpoints field's value.
func (*ListEndpointsOutput) SetNextToken ¶
func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput
SetNextToken sets the NextToken field's value.
func (ListEndpointsOutput) String ¶
func (s ListEndpointsOutput) String() string
String returns the string representation
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 *string `type:"string" enum:"ModelSortKey"` // The sort order for results. The default is Ascending. SortOrder *string `type:"string" enum:"OrderKey"` // contains filtered or unexported fields }
See also, 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) SetCreationTimeAfter ¶
func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListModelsInput) SetCreationTimeBefore ¶
func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListModelsInput) SetMaxResults ¶
func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListModelsInput) SetNameContains ¶
func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput
SetNameContains sets the NameContains field's value.
func (*ListModelsInput) SetNextToken ¶
func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput
SetNextToken sets the NextToken field's value.
func (*ListModelsInput) SetSortBy ¶
func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput
SetSortBy sets the SortBy field's value.
func (*ListModelsInput) SetSortOrder ¶
func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput
SetSortOrder sets the SortOrder field's value.
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 }
See also, 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) SetModels ¶
func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput
SetModels sets the Models field's value.
func (*ListModelsOutput) SetNextToken ¶
func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput
SetNextToken sets the NextToken field's value.
func (ListModelsOutput) String ¶
func (s ListModelsOutput) String() string
String returns the string representation
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"` // The field to sort results by. The default is Name. SortBy *string `type:"string" enum:"NotebookInstanceSortKey"` // The sort order for results. SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"` // A filter that returns only notebook instances with the specified status. StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"` // contains filtered or unexported fields }
See also, 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) SetCreationTimeAfter ¶
func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListNotebookInstancesInput) SetCreationTimeBefore ¶
func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListNotebookInstancesInput) SetLastModifiedTimeAfter ¶
func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput
SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
func (*ListNotebookInstancesInput) SetLastModifiedTimeBefore ¶
func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput
SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
func (*ListNotebookInstancesInput) SetMaxResults ¶
func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput
SetMaxResults sets the MaxResults field's value.
func (*ListNotebookInstancesInput) SetNameContains ¶
func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput
SetNameContains sets the NameContains field's value.
func (*ListNotebookInstancesInput) SetNextToken ¶
func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput
SetNextToken sets the NextToken field's value.
func (*ListNotebookInstancesInput) SetSortBy ¶
func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput
SetSortBy sets the SortBy field's value.
func (*ListNotebookInstancesInput) SetSortOrder ¶
func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput
SetSortOrder sets the SortOrder field's value.
func (*ListNotebookInstancesInput) SetStatusEquals ¶
func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput
SetStatusEquals sets the StatusEquals field's value.
func (ListNotebookInstancesInput) String ¶
func (s ListNotebookInstancesInput) String() 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 }
See also, 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) SetNextToken ¶
func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput
SetNextToken sets the NextToken field's value.
func (*ListNotebookInstancesOutput) SetNotebookInstances ¶
func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput
SetNotebookInstances sets the NotebookInstances field's value.
func (ListNotebookInstancesOutput) String ¶
func (s ListNotebookInstancesOutput) String() string
String returns the string representation
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 }
See also, 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) SetMaxResults ¶
func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
SetMaxResults sets the MaxResults field's value.
func (*ListTagsInput) SetNextToken ¶
func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
SetNextToken sets the NextToken field's value.
func (*ListTagsInput) SetResourceArn ¶
func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
SetResourceArn sets the ResourceArn field's value.
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 }
See also, 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) SetNextToken ¶
func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsOutput) SetTags ¶
func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput
SetTags sets the Tags field's value.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation
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 *string `type:"string" enum:"SortBy"` // The sort order for results. The default is Ascending. SortOrder *string `type:"string" enum:"SortOrder"` // A filter that retrieves only training jobs with a specific status. StatusEquals *string `type:"string" enum:"TrainingJobStatus"` // contains filtered or unexported fields }
See also, 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) SetCreationTimeAfter ¶
func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListTrainingJobsInput) SetCreationTimeBefore ¶
func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListTrainingJobsInput) SetLastModifiedTimeAfter ¶
func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput
SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
func (*ListTrainingJobsInput) SetLastModifiedTimeBefore ¶
func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput
SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
func (*ListTrainingJobsInput) SetMaxResults ¶
func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListTrainingJobsInput) SetNameContains ¶
func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput
SetNameContains sets the NameContains field's value.
func (*ListTrainingJobsInput) SetNextToken ¶
func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput
SetNextToken sets the NextToken field's value.
func (*ListTrainingJobsInput) SetSortBy ¶
func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput
SetSortBy sets the SortBy field's value.
func (*ListTrainingJobsInput) SetSortOrder ¶
func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput
SetSortOrder sets the SortOrder field's value.
func (*ListTrainingJobsInput) SetStatusEquals ¶
func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput
SetStatusEquals sets the StatusEquals field's value.
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 }
See also, 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) SetNextToken ¶
func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput
SetNextToken sets the NextToken field's value.
func (*ListTrainingJobsOutput) SetTrainingJobSummaries ¶
func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput
SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
func (ListTrainingJobsOutput) String ¶
func (s ListTrainingJobsOutput) String() string
String returns the string representation
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. See also, 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) SetS3ModelArtifacts ¶
func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts
SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
func (ModelArtifacts) String ¶
func (s ModelArtifacts) String() string
String returns the string representation
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. See also, 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) SetCreationTime ¶
func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary
SetCreationTime sets the CreationTime field's value.
func (*ModelSummary) SetModelArn ¶
func (s *ModelSummary) SetModelArn(v string) *ModelSummary
SetModelArn sets the ModelArn field's value.
func (*ModelSummary) SetModelName ¶
func (s *ModelSummary) SetModelName(v string) *ModelSummary
SetModelName sets the ModelName field's value.
func (ModelSummary) String ¶
func (s ModelSummary) String() string
String returns the string representation
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 *string `type:"string" enum:"InstanceType"` // 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 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 *string `type:"string" enum:"NotebookInstanceStatus"` // 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. See also, 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) SetCreationTime ¶
func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary
SetCreationTime sets the CreationTime field's value.
func (*NotebookInstanceSummary) SetInstanceType ¶
func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary
SetInstanceType sets the InstanceType field's value.
func (*NotebookInstanceSummary) SetLastModifiedTime ¶
func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*NotebookInstanceSummary) SetNotebookInstanceArn ¶
func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary
SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
func (*NotebookInstanceSummary) SetNotebookInstanceName ¶
func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (*NotebookInstanceSummary) SetNotebookInstanceStatus ¶
func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary
SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
func (*NotebookInstanceSummary) SetUrl ¶
func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary
SetUrl sets the Url field's value.
func (NotebookInstanceSummary) String ¶
func (s NotebookInstanceSummary) String() string
String returns the string representation
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). See also, 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) SetKmsKeyId ¶
func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig
SetKmsKeyId sets the KmsKeyId field's value.
func (*OutputDataConfig) SetS3OutputPath ¶
func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig
SetS3OutputPath sets the S3OutputPath field's value.
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 *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"` // 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. See also, 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) SetInitialInstanceCount ¶
func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant
SetInitialInstanceCount sets the InitialInstanceCount field's value.
func (*ProductionVariant) SetInitialVariantWeight ¶
func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant
SetInitialVariantWeight sets the InitialVariantWeight field's value.
func (*ProductionVariant) SetInstanceType ¶
func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant
SetInstanceType sets the InstanceType field's value.
func (*ProductionVariant) SetModelName ¶
func (s *ProductionVariant) SetModelName(v string) *ProductionVariant
SetModelName sets the ModelName field's value.
func (*ProductionVariant) SetVariantName ¶
func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant
SetVariantName sets the VariantName field's value.
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 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 UpdateWeightAndCapacities request. DesiredInstanceCount *int64 `min:"1" type:"integer"` // The requested weight, as specified in the UpdateWeightAndCapacities 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 UpdateWeightAndCapacities API and the endpoint status is Updating, you get different desired and current values. See also, 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) SetCurrentInstanceCount ¶
func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary
SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
func (*ProductionVariantSummary) SetCurrentWeight ¶
func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary
SetCurrentWeight sets the CurrentWeight field's value.
func (*ProductionVariantSummary) SetDesiredInstanceCount ¶
func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary
SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
func (*ProductionVariantSummary) SetDesiredWeight ¶
func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary
SetDesiredWeight sets the DesiredWeight field's value.
func (*ProductionVariantSummary) SetVariantName ¶
func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary
SetVariantName sets the VariantName field's value.
func (ProductionVariantSummary) String ¶
func (s ProductionVariantSummary) String() string
String returns the string representation
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 *string `type:"string" required:"true" enum:"TrainingInstanceType"` // 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. See also, 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) SetInstanceCount ¶
func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig
SetInstanceCount sets the InstanceCount field's value.
func (*ResourceConfig) SetInstanceType ¶
func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig
SetInstanceType sets the InstanceType field's value.
func (*ResourceConfig) SetVolumeSizeInGB ¶
func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig
SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
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 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 *string `type:"string" enum:"S3DataDistribution"` // 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 *string `type:"string" required:"true" enum:"S3DataType"` // 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. See also, 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) SetS3DataDistributionType ¶
func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource
SetS3DataDistributionType sets the S3DataDistributionType field's value.
func (*S3DataSource) SetS3DataType ¶
func (s *S3DataSource) SetS3DataType(v string) *S3DataSource
SetS3DataType sets the S3DataType field's value.
func (*S3DataSource) SetS3Uri ¶
func (s *S3DataSource) SetS3Uri(v string) *S3DataSource
SetS3Uri sets the S3Uri field's value.
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 SageMaker ¶
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(p client.ConfigProvider, cfgs ...*aws.Config) *SageMaker
New creates a new instance of the SageMaker client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a SageMaker client from just a session. svc := sagemaker.New(mySession) // Create a SageMaker client with additional configuration svc := sagemaker.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*SageMaker) AddTags ¶
func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
AddTags 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation AddTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
func (*SageMaker) AddTagsRequest ¶
func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddTags for more information on using the AddTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddTagsRequest method. req, resp := client.AddTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
func (*SageMaker) AddTagsWithContext ¶
func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
AddTagsWithContext is the same as AddTags with the addition of the ability to pass a context and additional request options.
See AddTags for details on how to use this API operation.
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) CreateEndpoint ¶
func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error)
CreateEndpoint 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).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreateEndpoint for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
func (*SageMaker) CreateEndpointConfig ¶
func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error)
CreateEndpointConfig 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreateEndpointConfig for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
func (*SageMaker) CreateEndpointConfigRequest ¶
func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput)
CreateEndpointConfigRequest generates a "aws/request.Request" representing the client's request for the CreateEndpointConfig operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateEndpointConfig for more information on using the CreateEndpointConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateEndpointConfigRequest method. req, resp := client.CreateEndpointConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
func (*SageMaker) CreateEndpointConfigWithContext ¶
func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error)
CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of the ability to pass a context and additional request options.
See CreateEndpointConfig for details on how to use this API operation.
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) CreateEndpointRequest ¶
func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput)
CreateEndpointRequest generates a "aws/request.Request" representing the client's request for the CreateEndpoint operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateEndpoint for more information on using the CreateEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateEndpointRequest method. req, resp := client.CreateEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
func (*SageMaker) CreateEndpointWithContext ¶
func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error)
CreateEndpointWithContext is the same as CreateEndpoint with the addition of the ability to pass a context and additional request options.
See CreateEndpoint for details on how to use this API operation.
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) CreateModel ¶
func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
CreateModel 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 at least one container with the PrimaryContainer parameter. You can optionally specify additional containers with the SupplementalContainers 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreateModel for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
func (*SageMaker) CreateModelRequest ¶
func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
CreateModelRequest generates a "aws/request.Request" representing the client's request for the CreateModel operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModel for more information on using the CreateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelRequest method. req, resp := client.CreateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
func (*SageMaker) CreateModelWithContext ¶
func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
CreateModelWithContext is the same as CreateModel with the addition of the ability to pass a context and additional request options.
See CreateModel for details on how to use this API operation.
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) CreateNotebookInstance ¶
func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error)
CreateNotebookInstance API operation for Amazon SageMaker Service.
Creates an Amazon SageMaker notebook instance. A notebook instance is an ML compute instance running on a Jupyter notebook.
In a CreateNotebookInstance request, you 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 an 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, 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).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreateNotebookInstance for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
func (*SageMaker) CreateNotebookInstanceRequest ¶
func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput)
CreateNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the CreateNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateNotebookInstance for more information on using the CreateNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateNotebookInstanceRequest method. req, resp := client.CreateNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
func (*SageMaker) CreateNotebookInstanceWithContext ¶
func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error)
CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of the ability to pass a context and additional request options.
See CreateNotebookInstance for details on how to use this API operation.
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) CreatePresignedNotebookInstanceUrl ¶
func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error)
CreatePresignedNotebookInstanceUrl 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreatePresignedNotebookInstanceUrl for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
func (*SageMaker) CreatePresignedNotebookInstanceUrlRequest ¶
func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput)
CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method. req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
func (*SageMaker) CreatePresignedNotebookInstanceUrlWithContext ¶
func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error)
CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of the ability to pass a context and additional request options.
See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
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) CreateTrainingJob ¶
func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error)
CreateTrainingJob 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)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation CreateTrainingJob for usage and error information.
Returned Error Codes:
ErrCodeResourceInUse "ResourceInUse" Resource being accessed is in use.
ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
func (*SageMaker) CreateTrainingJobRequest ¶
func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput)
CreateTrainingJobRequest generates a "aws/request.Request" representing the client's request for the CreateTrainingJob operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateTrainingJob for more information on using the CreateTrainingJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateTrainingJobRequest method. req, resp := client.CreateTrainingJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
func (*SageMaker) CreateTrainingJobWithContext ¶
func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error)
CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of the ability to pass a context and additional request options.
See CreateTrainingJob for details on how to use this API operation.
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) DeleteEndpoint ¶
func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)
DeleteEndpoint 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DeleteEndpoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
func (*SageMaker) DeleteEndpointConfig ¶
func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error)
DeleteEndpointConfig 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DeleteEndpointConfig for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
func (*SageMaker) DeleteEndpointConfigRequest ¶
func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput)
DeleteEndpointConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpointConfig operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEndpointConfig for more information on using the DeleteEndpointConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEndpointConfigRequest method. req, resp := client.DeleteEndpointConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
func (*SageMaker) DeleteEndpointConfigWithContext ¶
func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error)
DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of the ability to pass a context and additional request options.
See DeleteEndpointConfig for details on how to use this API operation.
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) DeleteEndpointRequest ¶
func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)
DeleteEndpointRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpoint operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEndpoint for more information on using the DeleteEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEndpointRequest method. req, resp := client.DeleteEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
func (*SageMaker) DeleteEndpointWithContext ¶
func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)
DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of the ability to pass a context and additional request options.
See DeleteEndpoint for details on how to use this API operation.
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) DeleteModel ¶
func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
DeleteModel 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DeleteModel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
func (*SageMaker) DeleteModelRequest ¶
func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
DeleteModelRequest generates a "aws/request.Request" representing the client's request for the DeleteModel operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModel for more information on using the DeleteModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelRequest method. req, resp := client.DeleteModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
func (*SageMaker) DeleteModelWithContext ¶
func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
DeleteModelWithContext is the same as DeleteModel with the addition of the ability to pass a context and additional request options.
See DeleteModel for details on how to use this API operation.
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) DeleteNotebookInstance ¶
func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error)
DeleteNotebookInstance 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DeleteNotebookInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
func (*SageMaker) DeleteNotebookInstanceRequest ¶
func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput)
DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the DeleteNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteNotebookInstance for more information on using the DeleteNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteNotebookInstanceRequest method. req, resp := client.DeleteNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
func (*SageMaker) DeleteNotebookInstanceWithContext ¶
func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error)
DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of the ability to pass a context and additional request options.
See DeleteNotebookInstance for details on how to use this API operation.
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) DeleteTags ¶
func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)
DeleteTags 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DeleteTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
func (*SageMaker) DeleteTagsRequest ¶
func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)
DeleteTagsRequest generates a "aws/request.Request" representing the client's request for the DeleteTags operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteTags for more information on using the DeleteTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteTagsRequest method. req, resp := client.DeleteTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
func (*SageMaker) DeleteTagsWithContext ¶
func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)
DeleteTagsWithContext is the same as DeleteTags with the addition of the ability to pass a context and additional request options.
See DeleteTags for details on how to use this API operation.
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) DescribeEndpoint ¶
func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error)
DescribeEndpoint API operation for Amazon SageMaker Service.
Returns the description of an endpoint.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DescribeEndpoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
func (*SageMaker) DescribeEndpointConfig ¶
func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error)
DescribeEndpointConfig API operation for Amazon SageMaker Service.
Returns the description of an endpoint configuration created using the CreateEndpointConfig API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DescribeEndpointConfig for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
func (*SageMaker) DescribeEndpointConfigRequest ¶
func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput)
DescribeEndpointConfigRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpointConfig operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeEndpointConfig for more information on using the DescribeEndpointConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeEndpointConfigRequest method. req, resp := client.DescribeEndpointConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
func (*SageMaker) DescribeEndpointConfigWithContext ¶
func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error)
DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of the ability to pass a context and additional request options.
See DescribeEndpointConfig for details on how to use this API operation.
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) DescribeEndpointRequest ¶
func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput)
DescribeEndpointRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpoint operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeEndpoint for more information on using the DescribeEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeEndpointRequest method. req, resp := client.DescribeEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
func (*SageMaker) DescribeEndpointWithContext ¶
func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error)
DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of the ability to pass a context and additional request options.
See DescribeEndpoint for details on how to use this API operation.
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) DescribeModel ¶
func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error)
DescribeModel API operation for Amazon SageMaker Service.
Describes a model that you created using the CreateModel API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DescribeModel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
func (*SageMaker) DescribeModelRequest ¶
func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput)
DescribeModelRequest generates a "aws/request.Request" representing the client's request for the DescribeModel operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeModel for more information on using the DescribeModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeModelRequest method. req, resp := client.DescribeModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
func (*SageMaker) DescribeModelWithContext ¶
func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error)
DescribeModelWithContext is the same as DescribeModel with the addition of the ability to pass a context and additional request options.
See DescribeModel for details on how to use this API operation.
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) DescribeNotebookInstance ¶
func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error)
DescribeNotebookInstance API operation for Amazon SageMaker Service.
Returns information about a notebook instance.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DescribeNotebookInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
func (*SageMaker) DescribeNotebookInstanceRequest ¶
func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput)
DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the DescribeNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeNotebookInstance for more information on using the DescribeNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeNotebookInstanceRequest method. req, resp := client.DescribeNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
func (*SageMaker) DescribeNotebookInstanceWithContext ¶
func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error)
DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of the ability to pass a context and additional request options.
See DescribeNotebookInstance for details on how to use this API operation.
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) DescribeTrainingJob ¶
func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error)
DescribeTrainingJob API operation for Amazon SageMaker Service.
Returns information about a training job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation DescribeTrainingJob for usage and error information.
Returned Error Codes:
- ErrCodeResourceNotFound "ResourceNotFound" Resource being access is not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
func (*SageMaker) DescribeTrainingJobRequest ¶
func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput)
DescribeTrainingJobRequest generates a "aws/request.Request" representing the client's request for the DescribeTrainingJob operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeTrainingJob for more information on using the DescribeTrainingJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeTrainingJobRequest method. req, resp := client.DescribeTrainingJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
func (*SageMaker) DescribeTrainingJobWithContext ¶
func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error)
DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of the ability to pass a context and additional request options.
See DescribeTrainingJob for details on how to use this API operation.
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) ListEndpointConfigs ¶
func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error)
ListEndpointConfigs API operation for Amazon SageMaker Service.
Lists endpoint configurations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListEndpointConfigs for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
func (*SageMaker) ListEndpointConfigsPages ¶
func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error
ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEndpointConfigs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListEndpointConfigs operation. pageNum := 0 err := client.ListEndpointConfigsPages(params, func(page *ListEndpointConfigsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListEndpointConfigsPagesWithContext ¶
func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error
ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except it takes a Context and allows setting request options on the pages.
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) ListEndpointConfigsRequest ¶
func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput)
ListEndpointConfigsRequest generates a "aws/request.Request" representing the client's request for the ListEndpointConfigs operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEndpointConfigs for more information on using the ListEndpointConfigs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEndpointConfigsRequest method. req, resp := client.ListEndpointConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
func (*SageMaker) ListEndpointConfigsWithContext ¶
func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error)
ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of the ability to pass a context and additional request options.
See ListEndpointConfigs for details on how to use this API operation.
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) ListEndpoints ¶
func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error)
ListEndpoints API operation for Amazon SageMaker Service.
Lists endpoints.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListEndpoints for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
func (*SageMaker) ListEndpointsPages ¶
func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error
ListEndpointsPages iterates over the pages of a ListEndpoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEndpoints method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListEndpoints operation. pageNum := 0 err := client.ListEndpointsPages(params, func(page *ListEndpointsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListEndpointsPagesWithContext ¶
func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error
ListEndpointsPagesWithContext same as ListEndpointsPages except it takes a Context and allows setting request options on the pages.
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) ListEndpointsRequest ¶
func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput)
ListEndpointsRequest generates a "aws/request.Request" representing the client's request for the ListEndpoints operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEndpoints for more information on using the ListEndpoints API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEndpointsRequest method. req, resp := client.ListEndpointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
func (*SageMaker) ListEndpointsWithContext ¶
func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error)
ListEndpointsWithContext is the same as ListEndpoints with the addition of the ability to pass a context and additional request options.
See ListEndpoints for details on how to use this API operation.
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) ListModels ¶
func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error)
ListModels API operation for Amazon SageMaker Service.
Lists models created with the CreateModel (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateModel.html) API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListModels for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
func (*SageMaker) ListModelsPages ¶
func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error
ListModelsPages iterates over the pages of a ListModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListModels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListModels operation. pageNum := 0 err := client.ListModelsPages(params, func(page *ListModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListModelsPagesWithContext ¶
func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error
ListModelsPagesWithContext same as ListModelsPages except it takes a Context and allows setting request options on the pages.
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) ListModelsRequest ¶
func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput)
ListModelsRequest generates a "aws/request.Request" representing the client's request for the ListModels operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListModels for more information on using the ListModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListModelsRequest method. req, resp := client.ListModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
func (*SageMaker) ListModelsWithContext ¶
func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error)
ListModelsWithContext is the same as ListModels with the addition of the ability to pass a context and additional request options.
See ListModels for details on how to use this API operation.
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) ListNotebookInstances ¶
func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error)
ListNotebookInstances API operation for Amazon SageMaker Service.
Returns a list of the Amazon SageMaker notebook instances in the requester's account in an AWS Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListNotebookInstances for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
func (*SageMaker) ListNotebookInstancesPages ¶
func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error
ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNotebookInstances method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListNotebookInstances operation. pageNum := 0 err := client.ListNotebookInstancesPages(params, func(page *ListNotebookInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListNotebookInstancesPagesWithContext ¶
func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error
ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except it takes a Context and allows setting request options on the pages.
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) ListNotebookInstancesRequest ¶
func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput)
ListNotebookInstancesRequest generates a "aws/request.Request" representing the client's request for the ListNotebookInstances operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListNotebookInstances for more information on using the ListNotebookInstances API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListNotebookInstancesRequest method. req, resp := client.ListNotebookInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
func (*SageMaker) ListNotebookInstancesWithContext ¶
func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error)
ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of the ability to pass a context and additional request options.
See ListNotebookInstances for details on how to use this API operation.
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) ListTags ¶
func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
ListTags API operation for Amazon SageMaker Service.
Returns the tags for the specified Amazon SageMaker resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
func (*SageMaker) ListTagsPages ¶
func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error
ListTagsPages iterates over the pages of a ListTags operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTags method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTags operation. pageNum := 0 err := client.ListTagsPages(params, func(page *ListTagsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListTagsPagesWithContext ¶
func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error
ListTagsPagesWithContext same as ListTagsPages except it takes a Context and allows setting request options on the pages.
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) ListTagsRequest ¶
func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
ListTagsRequest generates a "aws/request.Request" representing the client's request for the ListTags operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTags for more information on using the ListTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsRequest method. req, resp := client.ListTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
func (*SageMaker) ListTagsWithContext ¶
func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
ListTagsWithContext is the same as ListTags with the addition of the ability to pass a context and additional request options.
See ListTags for details on how to use this API operation.
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) ListTrainingJobs ¶
func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error)
ListTrainingJobs API operation for Amazon SageMaker Service.
Lists training jobs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation ListTrainingJobs for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
func (*SageMaker) ListTrainingJobsPages ¶
func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error
ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTrainingJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTrainingJobs operation. pageNum := 0 err := client.ListTrainingJobsPages(params, func(page *ListTrainingJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*SageMaker) ListTrainingJobsPagesWithContext ¶
func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error
ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except it takes a Context and allows setting request options on the pages.
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) ListTrainingJobsRequest ¶
func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput)
ListTrainingJobsRequest generates a "aws/request.Request" representing the client's request for the ListTrainingJobs operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTrainingJobs for more information on using the ListTrainingJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTrainingJobsRequest method. req, resp := client.ListTrainingJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
func (*SageMaker) ListTrainingJobsWithContext ¶
func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error)
ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of the ability to pass a context and additional request options.
See ListTrainingJobs for details on how to use this API operation.
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) StartNotebookInstance ¶
func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error)
StartNotebookInstance 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 (is this same as "Running" in the console?) before you can connect to your Jupyter notebook.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation StartNotebookInstance for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
func (*SageMaker) StartNotebookInstanceRequest ¶
func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput)
StartNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the StartNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartNotebookInstance for more information on using the StartNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartNotebookInstanceRequest method. req, resp := client.StartNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
func (*SageMaker) StartNotebookInstanceWithContext ¶
func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error)
StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of the ability to pass a context and additional request options.
See StartNotebookInstance for details on how to use this API operation.
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) StopNotebookInstance ¶
func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error)
StopNotebookInstance 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation StopNotebookInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
func (*SageMaker) StopNotebookInstanceRequest ¶
func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput)
StopNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the StopNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopNotebookInstance for more information on using the StopNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopNotebookInstanceRequest method. req, resp := client.StopNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
func (*SageMaker) StopNotebookInstanceWithContext ¶
func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error)
StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of the ability to pass a context and additional request options.
See StopNotebookInstance for details on how to use this API operation.
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) StopTrainingJob ¶
func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error)
StopTrainingJob 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation StopTrainingJob for usage and error information.
Returned Error Codes:
- ErrCodeResourceNotFound "ResourceNotFound" Resource being access is not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
func (*SageMaker) StopTrainingJobRequest ¶
func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput)
StopTrainingJobRequest generates a "aws/request.Request" representing the client's request for the StopTrainingJob operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopTrainingJob for more information on using the StopTrainingJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopTrainingJobRequest method. req, resp := client.StopTrainingJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
func (*SageMaker) StopTrainingJobWithContext ¶
func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error)
StopTrainingJobWithContext is the same as StopTrainingJob with the addition of the ability to pass a context and additional request options.
See StopTrainingJob for details on how to use this API operation.
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) UpdateEndpoint ¶
func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error)
UpdateEndpoint 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation UpdateEndpoint for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
func (*SageMaker) UpdateEndpointRequest ¶
func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput)
UpdateEndpointRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpoint operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEndpoint for more information on using the UpdateEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEndpointRequest method. req, resp := client.UpdateEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
func (*SageMaker) UpdateEndpointWeightsAndCapacities ¶
func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error)
UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
Updates variant weight, capacity, or both of one or more variants associated with an endpoint. This operation updates weight, capacity, or both for the previously provisioned 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation UpdateEndpointWeightsAndCapacities for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
func (*SageMaker) UpdateEndpointWeightsAndCapacitiesRequest ¶
func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput)
UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method. req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
func (*SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext ¶
func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error)
UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of the ability to pass a context and additional request options.
See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
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) UpdateEndpointWithContext ¶
func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error)
UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of the ability to pass a context and additional request options.
See UpdateEndpoint for details on how to use this API operation.
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) UpdateNotebookInstance ¶
func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error)
UpdateNotebookInstance 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon SageMaker Service's API operation UpdateNotebookInstance for usage and error information.
Returned Error Codes:
- ErrCodeResourceLimitExceeded "ResourceLimitExceeded" You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
func (*SageMaker) UpdateNotebookInstanceRequest ¶
func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput)
UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the client's request for the UpdateNotebookInstance operation. The "output" return value will be populated with the request's response once the request complets successfuly.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateNotebookInstance for more information on using the UpdateNotebookInstance API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateNotebookInstanceRequest method. req, resp := client.UpdateNotebookInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
func (*SageMaker) UpdateNotebookInstanceWithContext ¶
func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error)
UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of the ability to pass a context and additional request options.
See UpdateNotebookInstance for details on how to use this API operation.
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) WaitUntilEndpointDeleted ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilEndpointDeletedWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.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 ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilEndpointInServiceWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.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 ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilNotebookInstanceDeletedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.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 ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilNotebookInstanceInServiceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.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 ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilNotebookInstanceStoppedWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.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 ¶ added in v1.12.43
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 ¶ added in v1.12.43
func (c *SageMaker) WaitUntilTrainingJobCompletedOrStoppedWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.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 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 }
See also, 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) SetNotebookInstanceName ¶
func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (StartNotebookInstanceInput) String ¶
func (s StartNotebookInstanceInput) String() 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
}
See also, 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) String ¶
func (s StartNotebookInstanceOutput) String() string
String returns the string representation
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 }
See also, 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) SetNotebookInstanceName ¶
func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
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
}
See also, 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) String ¶
func (s StopNotebookInstanceOutput) String() string
String returns the string representation
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 }
See also, 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) SetTrainingJobName ¶
func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput
SetTrainingJobName sets the TrainingJobName field's value.
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
}
See also, 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) String ¶
func (s StopTrainingJobOutput) String() string
String returns the string representation
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). See also, 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) SetMaxRuntimeInSeconds ¶
func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition
SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
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. See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Tag
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 *string `type:"string" required:"true" enum:"TrainingJobStatus"` // contains filtered or unexported fields }
Provides summary information about a training job. See also, 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) SetCreationTime ¶
func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary
SetCreationTime sets the CreationTime field's value.
func (*TrainingJobSummary) SetLastModifiedTime ¶
func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*TrainingJobSummary) SetTrainingEndTime ¶
func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary
SetTrainingEndTime sets the TrainingEndTime field's value.
func (*TrainingJobSummary) SetTrainingJobArn ¶
func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary
SetTrainingJobArn sets the TrainingJobArn field's value.
func (*TrainingJobSummary) SetTrainingJobName ¶
func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary
SetTrainingJobName sets the TrainingJobName field's value.
func (*TrainingJobSummary) SetTrainingJobStatus ¶
func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary
SetTrainingJobStatus sets the TrainingJobStatus field's value.
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 }
See also, 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) SetEndpointConfigName ¶
func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput
SetEndpointConfigName sets the EndpointConfigName field's value.
func (*UpdateEndpointInput) SetEndpointName ¶
func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput
SetEndpointName sets the EndpointName field's value.
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 }
See also, 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) SetEndpointArn ¶
func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput
SetEndpointArn sets the EndpointArn field's value.
func (UpdateEndpointOutput) String ¶
func (s UpdateEndpointOutput) String() string
String returns the string representation
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 }
See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacitiesInput
func (UpdateEndpointWeightsAndCapacitiesInput) GoString ¶
func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string
GoString returns the string representation
func (*UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities ¶
func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput
SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
func (*UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName ¶
func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput
SetEndpointName sets the EndpointName field's value.
func (UpdateEndpointWeightsAndCapacitiesInput) String ¶
func (s UpdateEndpointWeightsAndCapacitiesInput) String() string
String returns the string representation
func (*UpdateEndpointWeightsAndCapacitiesInput) Validate ¶
func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error
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 }
func (UpdateEndpointWeightsAndCapacitiesOutput) GoString ¶
func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string
GoString returns the string representation
func (*UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn ¶
func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput
SetEndpointArn sets the EndpointArn field's value.
func (UpdateEndpointWeightsAndCapacitiesOutput) String ¶
func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string
String returns the string representation
type UpdateNotebookInstanceInput ¶
type UpdateNotebookInstanceInput struct { // The Amazon ML compute instance type. InstanceType *string `type:"string" enum:"InstanceType"` // 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 }
See also, 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) SetInstanceType ¶
func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput
SetInstanceType sets the InstanceType field's value.
func (*UpdateNotebookInstanceInput) SetNotebookInstanceName ¶
func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput
SetNotebookInstanceName sets the NotebookInstanceName field's value.
func (*UpdateNotebookInstanceInput) SetRoleArn ¶
func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput
SetRoleArn sets the RoleArn field's value.
func (UpdateNotebookInstanceInput) String ¶
func (s UpdateNotebookInstanceInput) String() 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 UpdateNotebookInstanceOutput ¶
type UpdateNotebookInstanceOutput struct {
// contains filtered or unexported fields
}
See also, 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) String ¶
func (s UpdateNotebookInstanceOutput) String() string
String returns the string representation
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. |