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.

CreateDatastoreOutput

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

type CreateDatastoreOutput struct { DatastoreArn *string `locationName:"datastoreArn" type:"string"` DatastoreName *string `locationName:"datastoreName" min:"1" type:"string"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` }

DatastoreArn

Type: *string

The ARN of the data store.

DatastoreName

Type: *string

The name of the data store.

RetentionPeriod

How long, in days, message data is kept.

Method

GoString

func (s CreateDatastoreOutput) GoString() string

GoString returns the string representation

SetDatastoreArn

func (s *CreateDatastoreOutput) SetDatastoreArn(v string) *CreateDatastoreOutput

SetDatastoreArn sets the DatastoreArn field's value.

SetDatastoreName

func (s *CreateDatastoreOutput) SetDatastoreName(v string) *CreateDatastoreOutput

SetDatastoreName sets the DatastoreName field's value.

SetRetentionPeriod

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

SetRetentionPeriod sets the RetentionPeriod field's value.

String

func (s CreateDatastoreOutput) String() string

String returns the string representation

On this page: