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.

DatasetAction

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

type DatasetAction struct { ActionName *string `locationName:"actionName" min:"1" type:"string"` ContainerAction *ContainerDatasetAction `locationName:"containerAction" type:"structure"` QueryAction *SqlQueryDatasetAction `locationName:"queryAction" type:"structure"` }

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

ActionName

Type: *string

The name of the data set action by which data set contents are automatically created.

ContainerAction

Information needed to run the "containerAction" to produce data set contents.

QueryAction

The SQL query to modify the message.

Method

GoString

func (s DatasetAction) GoString() string

GoString returns the string representation

SetActionName

func (s *DatasetAction) SetActionName(v string) *DatasetAction

SetActionName sets the ActionName field's value.

SetContainerAction

func (s *DatasetAction) SetContainerAction(v *ContainerDatasetAction) *DatasetAction

SetContainerAction sets the ContainerAction field's value.

SetQueryAction

func (s *DatasetAction) SetQueryAction(v *SqlQueryDatasetAction) *DatasetAction

SetQueryAction sets the QueryAction field's value.

String

func (s DatasetAction) String() string

String returns the string representation

Validate

func (s *DatasetAction) Validate() error

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

On this page: