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.

UserError

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

type UserError struct { ErrorCode *string `type:"string" enum:"ErrorCode"` ErrorMessage *string `type:"string"` UserId *string `type:"string"` }

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

ErrorCode

Type: *string

The error code.

ErrorMessage

Type: *string

The error message.

UserId

Type: *string

The user ID for which the action failed.

Method

GoString

func (s UserError) GoString() string

GoString returns the string representation

SetErrorCode

func (s *UserError) SetErrorCode(v string) *UserError

SetErrorCode sets the ErrorCode field's value.

SetErrorMessage

func (s *UserError) SetErrorMessage(v string) *UserError

SetErrorMessage sets the ErrorMessage field's value.

SetUserId

func (s *UserError) SetUserId(v string) *UserError

SetUserId sets the UserId field's value.

String

func (s UserError) String() string

String returns the string representation

On this page: