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.

ThingTypeMetadata

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

type ThingTypeMetadata struct { CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` Deprecated *bool `locationName:"deprecated" type:"boolean"` DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp"` }

The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.

CreationDate

Type: *time.Time

The date and time when the thing type was created.

Deprecated

Type: *bool

Whether the thing type is deprecated. If true, no new things could be associated with this type.

DeprecationDate

Type: *time.Time

The date and time when the thing type was deprecated.

Method

GoString

func (s ThingTypeMetadata) GoString() string

GoString returns the string representation

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetDeprecated

func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata

SetDeprecated sets the Deprecated field's value.

SetDeprecationDate

func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata

SetDeprecationDate sets the DeprecationDate field's value.

String

func (s ThingTypeMetadata) String() string

String returns the string representation

On this page: