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.

DescribeUserInput

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

type DescribeUserInput 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 that has this user assigned.

ServerId is a required field

UserName

Type: *string

The name of the user assigned to one or more servers. User names are part of the sign-in credentials to use the AWS Transfer service and perform file transfer tasks.

UserName is a required field

Method

GoString

func (s DescribeUserInput) GoString() string

GoString returns the string representation

SetServerId

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

SetServerId sets the ServerId field's value.

SetUserName

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

SetUserName sets the UserName field's value.

String

func (s DescribeUserInput) String() string

String returns the string representation

Validate

func (s *DescribeUserInput) Validate() error

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

On this page: