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.

GetDatasetContentInput

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

type GetDatasetContentInput struct { DatasetName *string `location:"uri" locationName:"datasetName" min:"1" type:"string" required:"true"` VersionId *string `location:"querystring" locationName:"versionId" min:"7" type:"string"` }

DatasetName

Type: *string

The name of the data set whose contents are retrieved.

DatasetName is a required field

VersionId

Type: *string

The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.

Method

GoString

func (s GetDatasetContentInput) GoString() string

GoString returns the string representation

SetDatasetName

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

SetDatasetName sets the DatasetName field's value.

SetVersionId

func (s *GetDatasetContentInput) SetVersionId(v string) *GetDatasetContentInput

SetVersionId sets the VersionId field's value.

String

func (s GetDatasetContentInput) String() string

String returns the string representation

Validate

func (s *GetDatasetContentInput) Validate() error

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

On this page: