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.

Dataset

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

type Dataset struct { Actions []*DatasetAction `locationName:"actions" min:"1" type:"list"` Arn *string `locationName:"arn" type:"string"` ContentDeliveryRules []*DatasetContentDeliveryRule `locationName:"contentDeliveryRules" type:"list"` 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:"DatasetStatus"` Triggers []*DatasetTrigger `locationName:"triggers" type:"list"` }

Information about a data set.

Actions

A "DatasetAction" object that specifies how data set contents are automatically created.

Arn

Type: *string

The ARN of the data set.

ContentDeliveryRules

When data set contents are created they are delivered to destination specified here.

CreationTime

Type: *time.Time

When the data set was created.

LastUpdateTime

Type: *time.Time

The last time the data set was updated.

Name

Type: *string

The name of the data set.

RetentionPeriod

How long, in days, message data is kept.

Status

Type: *string

The status of the data set.

Triggers

The "DatasetTrigger" that specifies when the data set is automatically updated.

Method

GoString

func (s Dataset) GoString() string

GoString returns the string representation

SetActions

func (s *Dataset) SetActions(v []*DatasetAction) *Dataset

SetActions sets the Actions field's value.

SetArn

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

SetArn sets the Arn field's value.

SetContentDeliveryRules

func (s *Dataset) SetContentDeliveryRules(v []*DatasetContentDeliveryRule) *Dataset

SetContentDeliveryRules sets the ContentDeliveryRules field's value.

SetCreationTime

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

SetCreationTime sets the CreationTime field's value.

SetLastUpdateTime

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

SetLastUpdateTime sets the LastUpdateTime field's value.

SetName

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

SetName sets the Name field's value.

SetRetentionPeriod

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

SetRetentionPeriod sets the RetentionPeriod field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTriggers

func (s *Dataset) SetTriggers(v []*DatasetTrigger) *Dataset

SetTriggers sets the Triggers field's value.

String

func (s Dataset) String() string

String returns the string representation

On this page: