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.

DataFormatConversionConfiguration

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

type DataFormatConversionConfiguration struct { Enabled *bool `type:"boolean"` InputFormatConfiguration *InputFormatConfiguration `type:"structure"` OutputFormatConfiguration *OutputFormatConfiguration `type:"structure"` SchemaConfiguration *SchemaConfiguration `type:"structure"` }

Specifies that you want Kinesis Data Firehose to convert data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. Kinesis Data Firehose uses the serializer and deserializer that you specify, in addition to the column information from the AWS Glue table, to deserialize your input data from JSON and then serialize it to the Parquet or ORC format. For more information, see Kinesis Data Firehose Record Format Conversion (https://docs.aws.amazon.com/firehose/latest/dev/record-format-conversion.html).

Enabled

Type: *bool

Defaults to true. Set it to false if you want to disable format conversion while preserving the configuration details.

InputFormatConfiguration

Specifies the deserializer you want to use to convert the format of the input data.

OutputFormatConfiguration

Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data before it writes it to Amazon S3.

SchemaConfiguration

Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3.

Method

GoString

func (s DataFormatConversionConfiguration) GoString() string

GoString returns the string representation

SetEnabled

func (s *DataFormatConversionConfiguration) SetEnabled(v bool) *DataFormatConversionConfiguration

SetEnabled sets the Enabled field's value.

SetInputFormatConfiguration

func (s *DataFormatConversionConfiguration) SetInputFormatConfiguration(v *InputFormatConfiguration) *DataFormatConversionConfiguration

SetInputFormatConfiguration sets the InputFormatConfiguration field's value.

SetOutputFormatConfiguration

func (s *DataFormatConversionConfiguration) SetOutputFormatConfiguration(v *OutputFormatConfiguration) *DataFormatConversionConfiguration

SetOutputFormatConfiguration sets the OutputFormatConfiguration field's value.

SetSchemaConfiguration

func (s *DataFormatConversionConfiguration) SetSchemaConfiguration(v *SchemaConfiguration) *DataFormatConversionConfiguration

SetSchemaConfiguration sets the SchemaConfiguration field's value.

String

func (s DataFormatConversionConfiguration) String() string

String returns the string representation

Validate

func (s *DataFormatConversionConfiguration) Validate() error

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

On this page: