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.

MappingParameters

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

type MappingParameters struct { CSVMappingParameters *CSVMappingParameters `type:"structure"` JSONMappingParameters *JSONMappingParameters `type:"structure"` }

When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

CSVMappingParameters

Provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:

"name1", "address1"

"name2", "address2"

JSONMappingParameters

Provides additional mapping information when JSON is the record format on the streaming source.

Method

GoString

func (s MappingParameters) GoString() string

GoString returns the string representation

SetCSVMappingParameters

func (s *MappingParameters) SetCSVMappingParameters(v *CSVMappingParameters) *MappingParameters

SetCSVMappingParameters sets the CSVMappingParameters field's value.

SetJSONMappingParameters

func (s *MappingParameters) SetJSONMappingParameters(v *JSONMappingParameters) *MappingParameters

SetJSONMappingParameters sets the JSONMappingParameters field's value.

String

func (s MappingParameters) String() string

String returns the string representation

Validate

func (s *MappingParameters) Validate() error

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

On this page: