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.

Datastore

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

type Datastore struct { Arn *string `locationName:"arn" type:"string"` CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` Status *string `locationName:"status" type:"string" enum:"DatastoreStatus"` }

Information about a data store.

Arn

Type: *string

The ARN of the data store.

CreationTime

Type: *time.Time

When the data store was created.

LastUpdateTime

Type: *time.Time

The last time the data store was updated.

Name

Type: *string

The name of the data store.

RetentionPeriod

How long, in days, message data is kept.

Status

Type: *string

The status of a data store:

CREATINGThe data store is being created.

ACTIVEThe data store has been created and can be used.

DELETINGThe data store is being deleted.

Method

GoString

func (s Datastore) GoString() string

GoString returns the string representation

SetArn

func (s *Datastore) SetArn(v string) *Datastore

SetArn sets the Arn field's value.

SetCreationTime

func (s *Datastore) SetCreationTime(v time.Time) *Datastore

SetCreationTime sets the CreationTime field's value.

SetLastUpdateTime

func (s *Datastore) SetLastUpdateTime(v time.Time) *Datastore

SetLastUpdateTime sets the LastUpdateTime field's value.

SetName

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

SetName sets the Name field's value.

SetRetentionPeriod

func (s *Datastore) SetRetentionPeriod(v *RetentionPeriod) *Datastore

SetRetentionPeriod sets the RetentionPeriod field's value.

SetStatus

func (s *Datastore) SetStatus(v string) *Datastore

SetStatus sets the Status field's value.

String

func (s Datastore) String() string

String returns the string representation

On this page: