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.

UpdateServerInput

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

type UpdateServerInput struct { IdentityProviderDetails *IdentityProviderDetails `type:"structure"` LoggingRole *string `type:"string"` ServerId *string `type:"string" required:"true"` }

IdentityProviderDetails

Returns information related to the type of user authentication that is in use for a server's users. A server can only have one method of authentication.

LoggingRole

Type: *string

Changes the AWS Identity and Access Management (IAM) role that allows Amazon S3 events to be logged in Amazon CloudWatch, turning logging on or off.

ServerId

Type: *string

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

ServerId is a required field

Method

GoString

func (s UpdateServerInput) GoString() string

GoString returns the string representation

SetIdentityProviderDetails

func (s *UpdateServerInput) SetIdentityProviderDetails(v *IdentityProviderDetails) *UpdateServerInput

SetIdentityProviderDetails sets the IdentityProviderDetails field's value.

SetLoggingRole

func (s *UpdateServerInput) SetLoggingRole(v string) *UpdateServerInput

SetLoggingRole sets the LoggingRole field's value.

SetServerId

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

SetServerId sets the ServerId field's value.

String

func (s UpdateServerInput) String() string

String returns the string representation

Validate

func (s *UpdateServerInput) Validate() error

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

On this page: