AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateDataSourceInput

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

type UpdateDataSourceInput struct { DataSourceId *string `min:"1" type:"string" required:"true"` DataSourceName *string `type:"string" required:"true"` }

DataSourceId

Type: *string

The ID assigned to the DataSource during creation.

DataSourceId is a required field

DataSourceName

Type: *string

A new user-supplied name or description of the DataSource that will replace the current description.

DataSourceName is a required field

Method

GoString

func (s UpdateDataSourceInput) GoString() string

GoString returns the string representation

SetDataSourceId

func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput

SetDataSourceId sets the DataSourceId field's value.

SetDataSourceName

func (s *UpdateDataSourceInput) SetDataSourceName(v string) *UpdateDataSourceInput

SetDataSourceName sets the DataSourceName field's value.

String

func (s UpdateDataSourceInput) String() string

String returns the string representation

Validate

func (s *UpdateDataSourceInput) Validate() error

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

On this page: