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.

UpdateRepositoryNameInput

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

type UpdateRepositoryNameInput struct { NewName *string `locationName:"newName" min:"1" type:"string" required:"true"` OldName *string `locationName:"oldName" min:"1" type:"string" required:"true"` }

Represents the input of an update repository description operation.

NewName

Type: *string

The new name for the repository.

NewName is a required field

OldName

Type: *string

The existing name of the repository.

OldName is a required field

Method

GoString

func (s UpdateRepositoryNameInput) GoString() string

GoString returns the string representation

SetNewName

func (s *UpdateRepositoryNameInput) SetNewName(v string) *UpdateRepositoryNameInput

SetNewName sets the NewName field's value.

SetOldName

func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameInput

SetOldName sets the OldName field's value.

String

func (s UpdateRepositoryNameInput) String() string

String returns the string representation

Validate

func (s *UpdateRepositoryNameInput) Validate() error

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

On this page: