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.

ResourceReference

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

type ResourceReference struct { Name *string `locationName:"name" min:"1" type:"string"` Version *string `locationName:"version" min:"1" type:"string"` }

Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of the ResourceInUseException exception.

Name

Type: *string

The name of the resource that is using the resource that you are trying to delete.

Version

Type: *string

The version of the resource that is using the resource that you are trying to delete.

Method

GoString

func (s ResourceReference) GoString() string

GoString returns the string representation

SetName

func (s *ResourceReference) SetName(v string) *ResourceReference

SetName sets the Name field's value.

SetVersion

func (s *ResourceReference) SetVersion(v string) *ResourceReference

SetVersion sets the Version field's value.

String

func (s ResourceReference) String() string

String returns the string representation

On this page: