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.

ThingGroupMetadata

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

type ThingGroupMetadata struct { CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` RootToParentThingGroups []*GroupNameAndArn `locationName:"rootToParentThingGroups" type:"list"` }

Thing group metadata.

CreationDate

Type: *time.Time

The UNIX timestamp of when the thing group was created.

ParentGroupName

Type: *string

The parent thing group name.

RootToParentThingGroups

The name and ARN of a group.

Method

GoString

func (s ThingGroupMetadata) GoString() string

GoString returns the string representation

SetCreationDate

func (s *ThingGroupMetadata) SetCreationDate(v time.Time) *ThingGroupMetadata

SetCreationDate sets the CreationDate field's value.

SetParentGroupName

func (s *ThingGroupMetadata) SetParentGroupName(v string) *ThingGroupMetadata

SetParentGroupName sets the ParentGroupName field's value.

SetRootToParentThingGroups

func (s *ThingGroupMetadata) SetRootToParentThingGroups(v []*GroupNameAndArn) *ThingGroupMetadata

SetRootToParentThingGroups sets the RootToParentThingGroups field's value.

String

func (s ThingGroupMetadata) String() string

String returns the string representation

On this page: