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.

CSVMappingParameters

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

type CSVMappingParameters struct { RecordColumnDelimiter *string `min:"1" type:"string" required:"true"` RecordRowDelimiter *string `min:"1" type:"string" required:"true"` }

For an SQL-based application, 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"

RecordColumnDelimiter

Type: *string

The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

RecordColumnDelimiter is a required field

RecordRowDelimiter

Type: *string

The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

RecordRowDelimiter is a required field

Method

GoString

func (s CSVMappingParameters) GoString() string

GoString returns the string representation

SetRecordColumnDelimiter

func (s *CSVMappingParameters) SetRecordColumnDelimiter(v string) *CSVMappingParameters

SetRecordColumnDelimiter sets the RecordColumnDelimiter field's value.

SetRecordRowDelimiter

func (s *CSVMappingParameters) SetRecordRowDelimiter(v string) *CSVMappingParameters

SetRecordRowDelimiter sets the RecordRowDelimiter field's value.

String

func (s CSVMappingParameters) String() string

String returns the string representation

Validate

func (s *CSVMappingParameters) Validate() error

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

On this page: