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.

UpdateDatasetInput

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

type UpdateDatasetInput struct { Actions []*DatasetAction `locationName:"actions" min:"1" type:"list" required:"true"` ContentDeliveryRules []*DatasetContentDeliveryRule `locationName:"contentDeliveryRules" type:"list"` DatasetName *string `location:"uri" locationName:"datasetName" min:"1" type:"string" required:"true"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` 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 to update.

DatasetName is a required field

RetentionPeriod

How long, in days, message data is kept.

Triggers

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

Method

GoString

func (s UpdateDatasetInput) GoString() string

GoString returns the string representation

SetActions

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

SetActions sets the Actions field's value.

SetContentDeliveryRules

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

SetContentDeliveryRules sets the ContentDeliveryRules field's value.

SetDatasetName

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

SetDatasetName sets the DatasetName field's value.

SetRetentionPeriod

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

SetRetentionPeriod sets the RetentionPeriod field's value.

SetTriggers

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

SetTriggers sets the Triggers field's value.

String

func (s UpdateDatasetInput) String() string

String returns the string representation

Validate

func (s *UpdateDatasetInput) Validate() error

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

On this page: