Paws::Firehose::CopyCommand
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::CopyCommand object:
$result = $service_obj->Method(...); $result->Att1->CopyOptions
Describes a COPY command for Amazon Redshift.
COPY
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 '\t' lzop;
delimiter '|' - fields are delimited with "|" (this is the default delimiter).
delimiter '|'
delimiter '|' escape - the delimiter should be escaped.
delimiter '|' escape
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.
fixedwidth 'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'
JSON 's3://mybucket/jsonpaths.txt' - data is in JSON format, and the path specified is the format of the data.
JSON 's3://mybucket/jsonpaths.txt'
For more examples, see Amazon Redshift COPY command examples (https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html).
A comma-separated list of column names.
The name of the target table. The table must already exist in the database.
This class forms part of Paws, describing an object used in Paws::Firehose
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.