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.

DescribeDataSourcesInput

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

type DescribeDataSourcesInput struct { EQ *string `type:"string"` FilterVariable *string `type:"string" enum:"DataSourceFilterVariable"` GE *string `type:"string"` GT *string `type:"string"` LE *string `type:"string"` LT *string `type:"string"` Limit *int64 `min:"1" type:"integer"` NE *string `type:"string"` NextToken *string `type:"string"` Prefix *string `type:"string"` SortOrder *string `type:"string" enum:"SortOrder"` }

EQ

Type: *string

The equal to operator. The DataSource results will have FilterVariable values that exactly match the value specified with EQ.

FilterVariable

Type: *string

Use one of the following variables to filter a list of DataSource:

  • CreatedAt - Sets the search criteria to DataSource creation dates.

  • Status - Sets the search criteria to DataSource statuses.

  • Name - Sets the search criteria to the contents of DataSourceName.

  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • IAMUser - Sets the search criteria to the user account that invoked the DataSource creation.

GE

Type: *string

The greater than or equal to operator. The DataSource results will have FilterVariable values that are greater than or equal to the value specified with GE.

GT

Type: *string

The greater than operator. The DataSource results will have FilterVariable values that are greater than the value specified with GT.

LE

Type: *string

The less than or equal to operator. The DataSource results will have FilterVariable values that are less than or equal to the value specified with LE.

LT

Type: *string

The less than operator. The DataSource results will have FilterVariable values that are less than the value specified with LT.

Limit

Type: *int64

The maximum number of DataSource to include in the result.

NE

Type: *string

The not equal to operator. The DataSource results will have FilterVariable values not equal to the value specified with NE.

NextToken

Type: *string

The ID of the page in the paginated results.

Prefix

Type: *string

A string that is found at the beginning of a variable, such as Name or Id.

For example, a DataSource could have the Name2014-09-09-HolidayGiftMailer. To search for this DataSource, select Name for the FilterVariable and any of the following strings for the Prefix:

  • 2014-09

  • 2014-09-09

  • 2014-09-09-Holiday

SortOrder

Type: *string

A two-value parameter that determines the sequence of the resulting list of DataSource.

  • asc - Arranges the list in ascending order (A-Z, 0-9).

  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

Method

GoString

func (s DescribeDataSourcesInput) GoString() string

GoString returns the string representation

SetEQ

func (s *DescribeDataSourcesInput) SetEQ(v string) *DescribeDataSourcesInput

SetEQ sets the EQ field's value.

SetFilterVariable

func (s *DescribeDataSourcesInput) SetFilterVariable(v string) *DescribeDataSourcesInput

SetFilterVariable sets the FilterVariable field's value.

SetGE

func (s *DescribeDataSourcesInput) SetGE(v string) *DescribeDataSourcesInput

SetGE sets the GE field's value.

SetGT

func (s *DescribeDataSourcesInput) SetGT(v string) *DescribeDataSourcesInput

SetGT sets the GT field's value.

SetLE

func (s *DescribeDataSourcesInput) SetLE(v string) *DescribeDataSourcesInput

SetLE sets the LE field's value.

SetLT

func (s *DescribeDataSourcesInput) SetLT(v string) *DescribeDataSourcesInput

SetLT sets the LT field's value.

SetLimit

func (s *DescribeDataSourcesInput) SetLimit(v int64) *DescribeDataSourcesInput

SetLimit sets the Limit field's value.

SetNE

func (s *DescribeDataSourcesInput) SetNE(v string) *DescribeDataSourcesInput

SetNE sets the NE field's value.

SetNextToken

func (s *DescribeDataSourcesInput) SetNextToken(v string) *DescribeDataSourcesInput

SetNextToken sets the NextToken field's value.

SetPrefix

func (s *DescribeDataSourcesInput) SetPrefix(v string) *DescribeDataSourcesInput

SetPrefix sets the Prefix field's value.

SetSortOrder

func (s *DescribeDataSourcesInput) SetSortOrder(v string) *DescribeDataSourcesInput

SetSortOrder sets the SortOrder field's value.

String

func (s DescribeDataSourcesInput) String() string

String returns the string representation

Validate

func (s *DescribeDataSourcesInput) Validate() error

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

On this page: