NAME

Paws::Firehose::CopyCommand

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Firehose::CopyCommand object:

$service_obj->Method(Att1 => { CopyOptions => $value, ..., DataTableName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::CopyCommand object:

$result = $service_obj->Method(...);
$result->Att1->CopyOptions

DESCRIPTION

Describes a COPY command for Amazon Redshift.

ATTRIBUTES

CopyOptions => Str

Optional parameters to use with the Amazon Redshift COPY command. For more information, see the "Optional Parameters" section of Amazon Redshift COPY command (https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html). Some possible examples that would apply to Kinesis Data Firehose are as follows:

delimiter '\t' lzop; - fields are delimited with "\t" (TAB character) and compressed using lzop.

delimiter '|' - fields are delimited with "|" (this is the default delimiter).

delimiter '|' escape - the delimiter should be escaped.

fixedwidth 'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6' - fields are fixed width in the source, with each width specified after every column in the table.

JSON 's3://mybucket/jsonpaths.txt' - data is in JSON format, and the path specified is the format of the data.

For more examples, see Amazon Redshift COPY command examples (https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html).

DataTableColumns => Str

A comma-separated list of column names.

REQUIRED DataTableName => Str

The name of the target table. The table must already exist in the database.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Firehose

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues