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.

SourceSchema

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

type SourceSchema struct { RecordColumns []*RecordColumn `min:"1" type:"list" required:"true"` RecordEncoding *string `type:"string"` RecordFormat *RecordFormat `type:"structure" required:"true"` }

Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

RecordColumns

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.

RecordEncoding

Type: *string

Specifies the encoding of the records in the streaming source. For example, UTF-8.

RecordFormat

Describes the record format and relevant mapping information that should be applied to schematize the records on the stream.

Method

GoString

func (s SourceSchema) GoString() string

GoString returns the string representation

SetRecordColumns

func (s *SourceSchema) SetRecordColumns(v []*RecordColumn) *SourceSchema

SetRecordColumns sets the RecordColumns field's value.

SetRecordEncoding

func (s *SourceSchema) SetRecordEncoding(v string) *SourceSchema

SetRecordEncoding sets the RecordEncoding field's value.

SetRecordFormat

func (s *SourceSchema) SetRecordFormat(v *RecordFormat) *SourceSchema

SetRecordFormat sets the RecordFormat field's value.

String

func (s SourceSchema) String() string

String returns the string representation

Validate

func (s *SourceSchema) Validate() error

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

On this page: