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.

FailedCreateWorkspaceRequest

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

type FailedCreateWorkspaceRequest struct { ErrorCode *string `type:"string"` ErrorMessage *string `type:"string"` WorkspaceRequest *WorkspaceRequest `type:"structure"` }

Describes a WorkSpace that cannot be created.

ErrorCode

Type: *string

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

ErrorMessage

Type: *string

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

WorkspaceRequest

Describes the information used to create a WorkSpace.

Method

GoString

func (s FailedCreateWorkspaceRequest) GoString() string

GoString returns the string representation

SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

SetWorkspaceRequest

func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) *FailedCreateWorkspaceRequest

SetWorkspaceRequest sets the WorkspaceRequest field's value.

String

func (s FailedCreateWorkspaceRequest) String() string

String returns the string representation

On this page: