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.

CSVInput

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

type CSVInput struct { Comments *string `type:"string"` FieldDelimiter *string `type:"string"` FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"` QuoteCharacter *string `type:"string"` QuoteEscapeCharacter *string `type:"string"` RecordDelimiter *string `type:"string"` }

Contains information about the comma-separated value (CSV) file to select from.

Comments

Type: *string

A single character used to indicate that a row should be ignored when the character is present at the start of that row.

FieldDelimiter

Type: *string

A value used to separate individual fields from each other within a record.

FileHeaderInfo

Type: *string

Describes the first line of input. Valid values are None, Ignore, and Use.

QuoteCharacter

Type: *string

A value used as an escape character where the field delimiter is part of the value.

QuoteEscapeCharacter

Type: *string

A single character used for escaping the quotation-mark character inside an already escaped value.

RecordDelimiter

Type: *string

A value used to separate individual records from each other.

Method

GoString

func (s CSVInput) GoString() string

GoString returns the string representation

SetComments

func (s *CSVInput) SetComments(v string) *CSVInput

SetComments sets the Comments field's value.

SetFieldDelimiter

func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput

SetFieldDelimiter sets the FieldDelimiter field's value.

SetFileHeaderInfo

func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput

SetFileHeaderInfo sets the FileHeaderInfo field's value.

SetQuoteCharacter

func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput

SetQuoteCharacter sets the QuoteCharacter field's value.

SetQuoteEscapeCharacter

func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput

SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.

SetRecordDelimiter

func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput

SetRecordDelimiter sets the RecordDelimiter field's value.

String

func (s CSVInput) String() string

String returns the string representation

On this page: