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.

Variable

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

type Variable struct { DatasetContentVersionValue *DatasetContentVersionValue `locationName:"datasetContentVersionValue" type:"structure"` DoubleValue *float64 `locationName:"doubleValue" type:"double"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` OutputFileUriValue *OutputFileUriValue `locationName:"outputFileUriValue" type:"structure"` StringValue *string `locationName:"stringValue" type:"string"` }

An instance of a variable to be passed to the "containerAction" execution. Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".

DatasetContentVersionValue

The data set whose latest contents are used as input to the notebook or application.

DoubleValue

Type: *float64

The value of the variable as a double (numeric).

Name

Type: *string

The name of the variable.

Name is a required field

OutputFileUriValue

The value of the variable as a structure that specifies an output file URI.

StringValue

Type: *string

The value of the variable as a string.

Method

GoString

func (s Variable) GoString() string

GoString returns the string representation

SetDatasetContentVersionValue

func (s *Variable) SetDatasetContentVersionValue(v *DatasetContentVersionValue) *Variable

SetDatasetContentVersionValue sets the DatasetContentVersionValue field's value.

SetDoubleValue

func (s *Variable) SetDoubleValue(v float64) *Variable

SetDoubleValue sets the DoubleValue field's value.

SetName

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

SetName sets the Name field's value.

SetOutputFileUriValue

func (s *Variable) SetOutputFileUriValue(v *OutputFileUriValue) *Variable

SetOutputFileUriValue sets the OutputFileUriValue field's value.

SetStringValue

func (s *Variable) SetStringValue(v string) *Variable

SetStringValue sets the StringValue field's value.

String

func (s Variable) String() string

String returns the string representation

Validate

func (s *Variable) Validate() error

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

On this page: