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.

RecordColumn

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

type RecordColumn struct { Mapping *string `type:"string"` Name *string `type:"string" required:"true"` SqlType *string `min:"1" type:"string" required:"true"` }

Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.

Also used to describe the format of the reference data source.

Mapping

Type: *string

Reference to the data element in the streaming input of the reference data source.

Name

Type: *string

Name of the column created in the in-application input stream or reference table.

Name is a required field

SqlType

Type: *string

Type of column created in the in-application input stream or reference table.

SqlType is a required field

Method

GoString

func (s RecordColumn) GoString() string

GoString returns the string representation

SetMapping

func (s *RecordColumn) SetMapping(v string) *RecordColumn

SetMapping sets the Mapping field's value.

SetName

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

SetName sets the Name field's value.

SetSqlType

func (s *RecordColumn) SetSqlType(v string) *RecordColumn

SetSqlType sets the SqlType field's value.

String

func (s RecordColumn) String() string

String returns the string representation

Validate

func (s *RecordColumn) Validate() error

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

On this page: