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.

FailedWorkspaceChangeRequest

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

type FailedWorkspaceChangeRequest struct { ErrorCode *string `type:"string"` ErrorMessage *string `type:"string"` WorkspaceId *string `type:"string"` }

Describes a WorkSpace that could not be rebooted. (RebootWorkspaces), rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started (StartWorkspaces), or stopped (StopWorkspaces).

ErrorCode

Type: *string

The error code that is returned if the WorkSpace cannot be rebooted.

ErrorMessage

Type: *string

The text of the error message that is returned if the WorkSpace cannot be rebooted.

WorkspaceId

Type: *string

The identifier of the WorkSpace.

Method

GoString

func (s FailedWorkspaceChangeRequest) GoString() string

GoString returns the string representation

SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

SetWorkspaceId

func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspaceChangeRequest

SetWorkspaceId sets the WorkspaceId field's value.

String

func (s FailedWorkspaceChangeRequest) String() string

String returns the string representation

On this page: