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.

RelatedResource

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

type RelatedResource struct { AdditionalInfo map[string]*string `locationName:"additionalInfo" type:"map"` ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` }

Information about a related resource.

AdditionalInfo

Type: map[string]*string

Additional information about the resource.

ResourceIdentifier

Information identifying the non-compliant resource.

ResourceType

Type: *string

The type of resource.

Method

GoString

func (s RelatedResource) GoString() string

GoString returns the string representation

SetAdditionalInfo

func (s *RelatedResource) SetAdditionalInfo(v map[string]*string) *RelatedResource

SetAdditionalInfo sets the AdditionalInfo field's value.

SetResourceIdentifier

func (s *RelatedResource) SetResourceIdentifier(v *ResourceIdentifier) *RelatedResource

SetResourceIdentifier sets the ResourceIdentifier field's value.

SetResourceType

func (s *RelatedResource) SetResourceType(v string) *RelatedResource

SetResourceType sets the ResourceType field's value.

String

func (s RelatedResource) String() string

String returns the string representation

On this page: