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.

CreateCodeRepositoryInput

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

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

CodeRepositoryName

Type: *string

The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

CodeRepositoryName is a required field

GitConfig

Specifies configuration details for a Git repository in your AWS account.

Method

GoString

func (s CreateCodeRepositoryInput) GoString() string

GoString returns the string representation

SetCodeRepositoryName

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

SetCodeRepositoryName sets the CodeRepositoryName field's value.

SetGitConfig

func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput

SetGitConfig sets the GitConfig field's value.

String

func (s CreateCodeRepositoryInput) String() string

String returns the string representation

Validate

func (s *CreateCodeRepositoryInput) Validate() error

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

On this page: