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.

UpdateCodeRepositoryInput

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

type UpdateCodeRepositoryInput struct { CodeRepositoryName *string `min:"1" type:"string" required:"true"` GitConfig *GitConfigForUpdate `type:"structure"` }

CodeRepositoryName

Type: *string

The name of the Git repository to update.

CodeRepositoryName is a required field

GitConfig

Specifies configuration details for a Git repository when the repository is updated.

Method

GoString

func (s UpdateCodeRepositoryInput) GoString() string

GoString returns the string representation

SetCodeRepositoryName

func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput

SetCodeRepositoryName sets the CodeRepositoryName field's value.

SetGitConfig

func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput

SetGitConfig sets the GitConfig field's value.

String

func (s UpdateCodeRepositoryInput) String() string

String returns the string representation

Validate

func (s *UpdateCodeRepositoryInput) Validate() error

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

On this page: