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.

CreateDatasetOutput

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

type CreateDatasetOutput struct { DatasetArn *string `locationName:"datasetArn" type:"string"` DatasetName *string `locationName:"datasetName" min:"1" type:"string"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` }

DatasetArn

Type: *string

The ARN of the data set.

DatasetName

Type: *string

The name of the data set.

RetentionPeriod

How long, in days, message data is kept.

Method

GoString

func (s CreateDatasetOutput) GoString() string

GoString returns the string representation

SetDatasetArn

func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput

SetDatasetArn sets the DatasetArn field's value.

SetDatasetName

func (s *CreateDatasetOutput) SetDatasetName(v string) *CreateDatasetOutput

SetDatasetName sets the DatasetName field's value.

SetRetentionPeriod

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

SetRetentionPeriod sets the RetentionPeriod field's value.

String

func (s CreateDatasetOutput) String() string

String returns the string representation

On this page: