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.

DeleteUserInput

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

type DeleteUserInput struct { ServerId *string `type:"string" required:"true"` UserName *string `type:"string" required:"true"` }

ServerId

Type: *string

A system-assigned unique identifier for an SFTP server instance that has the user assigned to it.

ServerId is a required field

UserName

Type: *string

A unique string that identifies a user that is being deleted from the server.

UserName is a required field

Method

GoString

func (s DeleteUserInput) GoString() string

GoString returns the string representation

SetServerId

func (s *DeleteUserInput) SetServerId(v string) *DeleteUserInput

SetServerId sets the ServerId field's value.

SetUserName

func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput

SetUserName sets the UserName field's value.

String

func (s DeleteUserInput) String() string

String returns the string representation

Validate

func (s *DeleteUserInput) Validate() error

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

On this page: