NAME
Paws::KinesisAnalyticsV2::AddApplicationInput - Arguments for method AddApplicationInput on Paws::KinesisAnalyticsV2
DESCRIPTION
This class represents the parameters used for calling the method AddApplicationInput on the Amazon Kinesis Analytics service. Use the attributes of this class as arguments to method AddApplicationInput.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationInput.
SYNOPSIS
my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
my $AddApplicationInputResponse = $kinesisanalytics->AddApplicationInput(
ApplicationName => 'MyApplicationName',
CurrentApplicationVersionId => 1,
Input => {
InputSchema => {
RecordColumns => [
{
Name => 'MyRecordColumnName', # min: 1, max: 256
SqlType => 'MyRecordColumnSqlType', # min: 1, max: 100
Mapping => 'MyRecordColumnMapping', # max: 65535; OPTIONAL
},
...
], # min: 1, max: 1000
RecordFormat => {
RecordFormatType => 'JSON', # values: JSON, CSV
MappingParameters => {
CSVMappingParameters => {
RecordColumnDelimiter =>
'MyRecordColumnDelimiter', # min: 1, max: 1024
RecordRowDelimiter =>
'MyRecordRowDelimiter', # min: 1, max: 1024
}, # OPTIONAL
JSONMappingParameters => {
RecordRowPath => 'MyRecordRowPath', # min: 1, max: 65535
}, # OPTIONAL
}, # OPTIONAL
},
RecordEncoding => 'MyRecordEncoding', # min: 5, max: 5; OPTIONAL
},
NamePrefix => 'MyInAppStreamName', # min: 1, max: 32
InputParallelism => {
Count => 1, # min: 1, max: 64; OPTIONAL
}, # OPTIONAL
InputProcessingConfiguration => {
InputLambdaProcessor => {
ResourceARN => 'MyResourceARN', # min: 1, max: 2048
},
}, # OPTIONAL
KinesisFirehoseInput => {
ResourceARN => 'MyResourceARN', # min: 1, max: 2048
}, # OPTIONAL
KinesisStreamsInput => {
ResourceARN => 'MyResourceARN', # min: 1, max: 2048
}, # OPTIONAL
},
);
# Results:
my $ApplicationARN = $AddApplicationInputResponse->ApplicationARN;
my $ApplicationVersionId =
$AddApplicationInputResponse->ApplicationVersionId;
my $InputDescriptions = $AddApplicationInputResponse->InputDescriptions;
# Returns a L<Paws::KinesisAnalyticsV2::AddApplicationInputResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationInput
ATTRIBUTES
REQUIRED ApplicationName => Str
The name of your existing application to which you want to add the streaming source.
REQUIRED CurrentApplicationVersionId => Int
The current version of your application. You must provide the ApplicationVersionID
or the ConditionalToken
.You can use the DescribeApplication operation to find the current application version.
REQUIRED Input => Paws::KinesisAnalyticsV2::Input
The Input to add.
SEE ALSO
This class forms part of Paws, documenting arguments for method AddApplicationInput in Paws::KinesisAnalyticsV2
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