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.

ListAlgorithmsInput

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

type ListAlgorithmsInput struct { CreationTimeAfter *time.Time `type:"timestamp"` CreationTimeBefore *time.Time `type:"timestamp"` MaxResults *int64 `min:"1" type:"integer"` NameContains *string `type:"string"` NextToken *string `type:"string"` SortBy *string `type:"string" enum:"AlgorithmSortBy"` SortOrder *string `type:"string" enum:"SortOrder"` }

CreationTimeAfter

Type: *time.Time

A filter that returns only algorithms created after the specified time (timestamp).

CreationTimeBefore

Type: *time.Time

A filter that returns only algorithms created before the specified time (timestamp).

MaxResults

Type: *int64

The maximum number of algorithms to return in the response.

NameContains

Type: *string

A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.

NextToken

Type: *string

If the response to a previous ListAlgorithms request was truncated, the response includes a NextToken. To retrieve the next set of algorithms, use the token in the next request.

SortBy

Type: *string

The parameter by which to sort the results. The default is CreationTime.

SortOrder

Type: *string

The sort order for the results. The default is Ascending.

Method

GoString

func (s ListAlgorithmsInput) GoString() string

GoString returns the string representation

SetCreationTimeAfter

func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput

SetCreationTimeAfter sets the CreationTimeAfter field's value.

SetCreationTimeBefore

func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput

SetCreationTimeBefore sets the CreationTimeBefore field's value.

SetMaxResults

func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput

SetMaxResults sets the MaxResults field's value.

SetNameContains

func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput

SetNameContains sets the NameContains field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetSortBy

func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput

SetSortBy sets the SortBy field's value.

SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

String

func (s ListAlgorithmsInput) String() string

String returns the string representation

Validate

func (s *ListAlgorithmsInput) Validate() error

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

On this page: