![]() |
![]()
| ![]() |
![]()
NAMEPaws::KinesisAnalytics::AddApplicationReferenceDataSource - Arguments for method AddApplicationReferenceDataSource on Paws::KinesisAnalytics DESCRIPTIONThis class represents the parameters used for calling the method AddApplicationReferenceDataSource on the Amazon Kinesis Analytics service. Use the attributes of this class as arguments to method AddApplicationReferenceDataSource. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationReferenceDataSource. SYNOPSISmy $kinesisanalytics = Paws->service('KinesisAnalytics'); my $AddApplicationReferenceDataSourceResponse = $kinesisanalytics->AddApplicationReferenceDataSource( ApplicationName => 'MyApplicationName', CurrentApplicationVersionId => 1, ReferenceDataSource => { ReferenceSchema => { RecordColumns => [ { Name => 'MyRecordColumnName', SqlType => 'MyRecordColumnSqlType', # min: 1 Mapping => 'MyRecordColumnMapping', # OPTIONAL }, ... ], # min: 1, max: 1000 RecordFormat => { RecordFormatType => 'JSON', # values: JSON, CSV MappingParameters => { CSVMappingParameters => { RecordColumnDelimiter => 'MyRecordColumnDelimiter', # min: 1 RecordRowDelimiter => 'MyRecordRowDelimiter', # min: 1 }, # OPTIONAL JSONMappingParameters => { RecordRowPath => 'MyRecordRowPath', # min: 1 }, # OPTIONAL }, # OPTIONAL }, RecordEncoding => 'MyRecordEncoding', # OPTIONAL }, TableName => 'MyInAppTableName', # min: 1, max: 32 S3ReferenceDataSource => { BucketARN => 'MyBucketARN', # min: 1, max: 2048 FileKey => 'MyFileKey', # min: 1, max: 1024 ReferenceRoleARN => 'MyRoleARN', # min: 1, max: 2048 }, # OPTIONAL }, ); 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/AddApplicationReferenceDataSource> ATTRIBUTESREQUIRED ApplicationName => StrName of an existing application. REQUIRED CurrentApplicationVersionId => IntVersion of the application for which you are adding the reference data source. You can use the DescribeApplication (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html) operation to get the current application version. If the version specified is not the current version, the "ConcurrentModificationException" is returned. REQUIRED ReferenceDataSource => Paws::KinesisAnalytics::ReferenceDataSourceThe reference data source can be an object in your Amazon S3 bucket. Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf. SEE ALSOThis class forms part of Paws, documenting arguments for method AddApplicationReferenceDataSource in Paws::KinesisAnalytics BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|