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.

CreateDatasetInput

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

type CreateDatasetInput struct { Actions []*DatasetAction `locationName:"actions" min:"1" type:"list" required:"true"` ContentDeliveryRules []*DatasetContentDeliveryRule `locationName:"contentDeliveryRules" type:"list"` DatasetName *string `locationName:"datasetName" min:"1" type:"string" required:"true"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` Tags []*Tag `locationName:"tags" min:"1" type:"list"` Triggers []*DatasetTrigger `locationName:"triggers" type:"list"` }

Actions

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

ContentDeliveryRules

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

DatasetName

Type: *string

The name of the data set.

DatasetName is a required field

RetentionPeriod

How long, in days, message data is kept.

Tags

A set of key/value pairs which are used to manage the resource.

Triggers

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

Method

GoString

func (s CreateDatasetInput) GoString() string

GoString returns the string representation

SetActions

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

SetActions sets the Actions field's value.

SetContentDeliveryRules

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

SetContentDeliveryRules sets the ContentDeliveryRules field's value.

SetDatasetName

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

SetDatasetName sets the DatasetName field's value.

SetRetentionPeriod

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

SetRetentionPeriod sets the RetentionPeriod field's value.

SetTags

func (s *CreateDatasetInput) SetTags(v []*Tag) *CreateDatasetInput

SetTags sets the Tags field's value.

SetTriggers

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

SetTriggers sets the Triggers field's value.

String

func (s CreateDatasetInput) String() string

String returns the string representation

Validate

func (s *CreateDatasetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: