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.

ImportSshPublicKeyOutput

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

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

This response identifies the user, server they belong to, and the identifier of the SSH public key associated with that user. A user can have more than one key on each server that they are associate with.

ServerId

Type: *string

A system-assigned unique identifier for an SFTP server.

ServerId is a required field

SshPublicKeyId

Type: *string

This identifier is the name given to a public key by the system that was imported.

SshPublicKeyId is a required field

UserName

Type: *string

A user name assigned to the ServerID value that you specified.

UserName is a required field

Method

GoString

func (s ImportSshPublicKeyOutput) GoString() string

GoString returns the string representation

SetServerId

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

SetServerId sets the ServerId field's value.

SetSshPublicKeyId

func (s *ImportSshPublicKeyOutput) SetSshPublicKeyId(v string) *ImportSshPublicKeyOutput

SetSshPublicKeyId sets the SshPublicKeyId field's value.

SetUserName

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

SetUserName sets the UserName field's value.

String

func (s ImportSshPublicKeyOutput) String() string

String returns the string representation

On this page: