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.

ServiceError

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

type ServiceError struct { CreatedAt *string `type:"string"` InstanceId *string `type:"string"` Message *string `type:"string"` ServiceErrorId *string `type:"string"` StackId *string `type:"string"` Type *string `type:"string"` }

Describes an AWS OpsWorks Stacks service error.

CreatedAt

Type: *string

When the error occurred.

InstanceId

Type: *string

The instance ID.

Message

Type: *string

A message that describes the error.

ServiceErrorId

Type: *string

The error ID.

StackId

Type: *string

The stack ID.

Type

Type: *string

The error type.

Method

GoString

func (s ServiceError) GoString() string

GoString returns the string representation

SetCreatedAt

func (s *ServiceError) SetCreatedAt(v string) *ServiceError

SetCreatedAt sets the CreatedAt field's value.

SetInstanceId

func (s *ServiceError) SetInstanceId(v string) *ServiceError

SetInstanceId sets the InstanceId field's value.

SetMessage

func (s *ServiceError) SetMessage(v string) *ServiceError

SetMessage sets the Message field's value.

SetServiceErrorId

func (s *ServiceError) SetServiceErrorId(v string) *ServiceError

SetServiceErrorId sets the ServiceErrorId field's value.

SetStackId

func (s *ServiceError) SetStackId(v string) *ServiceError

SetStackId sets the StackId field's value.

SetType

func (s *ServiceError) SetType(v string) *ServiceError

SetType sets the Type field's value.

String

func (s ServiceError) String() string

String returns the string representation

On this page: