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.

ListCodeRepositoriesInput

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

type ListCodeRepositoriesInput struct { CreationTimeAfter *time.Time `type:"timestamp"` CreationTimeBefore *time.Time `type:"timestamp"` LastModifiedTimeAfter *time.Time `type:"timestamp"` LastModifiedTimeBefore *time.Time `type:"timestamp"` MaxResults *int64 `min:"1" type:"integer"` NameContains *string `type:"string"` NextToken *string `type:"string"` SortBy *string `type:"string" enum:"CodeRepositorySortBy"` SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"` }

CreationTimeAfter

Type: *time.Time

A filter that returns only Git repositories that were created after the specified time.

CreationTimeBefore

Type: *time.Time

A filter that returns only Git repositories that were created before the specified time.

LastModifiedTimeAfter

Type: *time.Time

A filter that returns only Git repositories that were last modified after the specified time.

LastModifiedTimeBefore

Type: *time.Time

A filter that returns only Git repositories that were last modified before the specified time.

MaxResults

Type: *int64

The maximum number of Git repositories to return in the response.

NameContains

Type: *string

A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.

NextToken

Type: *string

If the result of a ListCodeRepositoriesOutput request was truncated, the response includes a NextToken. To get the next set of Git repositories, use the token in the next request.

SortBy

Type: *string

The field to sort results by. The default is Name.

SortOrder

Type: *string

The sort order for results. The default is Ascending.

Method

GoString

func (s ListCodeRepositoriesInput) GoString() string

GoString returns the string representation

SetCreationTimeAfter

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

SetCreationTimeAfter sets the CreationTimeAfter field's value.

SetCreationTimeBefore

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

SetCreationTimeBefore sets the CreationTimeBefore field's value.

SetLastModifiedTimeAfter

func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput

SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.

SetLastModifiedTimeBefore

func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput

SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNameContains

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

SetNameContains sets the NameContains field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetSortBy

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

SetSortBy sets the SortBy field's value.

SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

String

func (s ListCodeRepositoriesInput) String() string

String returns the string representation

Validate

func (s *ListCodeRepositoriesInput) Validate() error

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

On this page: