|
NAMEPaws::Firehose::UpdateDestination - Arguments for method UpdateDestination on Paws::Firehose DESCRIPTIONThis class represents the parameters used for calling the method UpdateDestination on the Amazon Kinesis Firehose service. Use the attributes of this class as arguments to method UpdateDestination. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDestination. SYNOPSIS my $firehose = Paws->service('Firehose');
my $UpdateDestinationOutput = $firehose->UpdateDestination(
CurrentDeliveryStreamVersionId => 'MyDeliveryStreamVersionId',
DeliveryStreamName => 'MyDeliveryStreamName',
DestinationId => 'MyDestinationId',
ElasticsearchDestinationUpdate => {
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 100; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
ClusterEndpoint =>
'MyElasticsearchClusterEndpoint', # min: 1, max: 512; OPTIONAL
DomainARN => 'MyElasticsearchDomainARN', # min: 1, max: 512; OPTIONAL
IndexName => 'MyElasticsearchIndexName', # min: 1, max: 80; OPTIONAL
IndexRotationPeriod => 'NoRotation'
, # values: NoRotation, OneHour, OneDay, OneWeek, OneMonth; OPTIONAL
ProcessingConfiguration => {
Enabled => 1, # OPTIONAL
Processors => [
{
Type => 'Lambda', # values: Lambda
Parameters => [
{
ParameterName => 'LambdaArn'
, # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
ParameterValue =>
'MyProcessorParameterValue', # min: 1, max: 512
},
...
], # OPTIONAL
},
...
], # OPTIONAL
}, # OPTIONAL
RetryOptions => {
DurationInSeconds => 1, # max: 7200; OPTIONAL
}, # OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
S3Update => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
TypeName => 'MyElasticsearchTypeName', # max: 100; OPTIONAL
}, # OPTIONAL
ExtendedS3DestinationUpdate => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
DataFormatConversionConfiguration => {
Enabled => 1, # OPTIONAL
InputFormatConfiguration => {
Deserializer => {
HiveJsonSerDe => {
TimestampFormats => [
'MyNonEmptyString', ... # min: 1, max: 1024
], # OPTIONAL
}, # OPTIONAL
OpenXJsonSerDe => {
CaseInsensitive => 1, # OPTIONAL
ColumnToJsonKeyMappings => {
'MyNonEmptyStringWithoutWhitespace' => 'MyNonEmptyString'
, # key: min: 1, max: 1024, value: min: 1, max: 1024
}, # OPTIONAL
ConvertDotsInJsonKeysToUnderscores => 1, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
OutputFormatConfiguration => {
Serializer => {
OrcSerDe => {
BlockSizeBytes => 1, # min: 67108864; OPTIONAL
BloomFilterColumns => [
'MyNonEmptyStringWithoutWhitespace', ... # min: 1, max: 1024
], # OPTIONAL
BloomFilterFalsePositiveProbability => 1, # max: 1; OPTIONAL
Compression => 'NONE', # values: NONE, ZLIB, SNAPPY; OPTIONAL
DictionaryKeyThreshold => 1, # max: 1; OPTIONAL
EnablePadding => 1, # OPTIONAL
FormatVersion => 'V0_11', # values: V0_11, V0_12; OPTIONAL
PaddingTolerance => 1, # max: 1; OPTIONAL
RowIndexStride => 1, # min: 1000; OPTIONAL
StripeSizeBytes => 1, # min: 8388608; OPTIONAL
}, # OPTIONAL
ParquetSerDe => {
BlockSizeBytes => 1, # min: 67108864; OPTIONAL
Compression =>
'UNCOMPRESSED', # values: UNCOMPRESSED, GZIP, SNAPPY; OPTIONAL
EnableDictionaryCompression => 1, # OPTIONAL
MaxPaddingBytes => 1, # OPTIONAL
PageSizeBytes => 1, # min: 65536; OPTIONAL
WriterVersion => 'V1', # values: V1, V2; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
SchemaConfiguration => {
CatalogId =>
'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
DatabaseName =>
'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
Region => 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
RoleARN => 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
TableName =>
'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
VersionId =>
'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
}, # OPTIONAL
}, # OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig => 'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
ProcessingConfiguration => {
Enabled => 1, # OPTIONAL
Processors => [
{
Type => 'Lambda', # values: Lambda
Parameters => [
{
ParameterName => 'LambdaArn'
, # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
ParameterValue =>
'MyProcessorParameterValue', # min: 1, max: 512
},
...
], # OPTIONAL
},
...
], # OPTIONAL
}, # OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
S3BackupMode => 'Disabled', # values: Disabled, Enabled; OPTIONAL
S3BackupUpdate => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
HttpEndpointDestinationUpdate => {
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 64; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
EndpointConfiguration => {
Url => 'MyHttpEndpointUrl', # min: 1, max: 1000
AccessKey => 'MyHttpEndpointAccessKey', # max: 4096; OPTIONAL
Name => 'MyHttpEndpointName', # min: 1, max: 256; OPTIONAL
}, # OPTIONAL
ProcessingConfiguration => {
Enabled => 1, # OPTIONAL
Processors => [
{
Type => 'Lambda', # values: Lambda
Parameters => [
{
ParameterName => 'LambdaArn'
, # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
ParameterValue =>
'MyProcessorParameterValue', # min: 1, max: 512
},
...
], # OPTIONAL
},
...
], # OPTIONAL
}, # OPTIONAL
RequestConfiguration => {
CommonAttributes => [
{
AttributeName => 'MyHttpEndpointAttributeName', # min: 1, max: 256
AttributeValue => 'MyHttpEndpointAttributeValue', # max: 1024
},
...
], # max: 50; OPTIONAL
ContentEncoding => 'NONE', # values: NONE, GZIP; OPTIONAL
}, # OPTIONAL
RetryOptions => {
DurationInSeconds => 1, # max: 7200; OPTIONAL
}, # OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
S3BackupMode =>
'FailedDataOnly', # values: FailedDataOnly, AllData; OPTIONAL
S3Update => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
RedshiftDestinationUpdate => {
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
ClusterJDBCURL => 'MyClusterJDBCURL', # min: 1, max: 512; OPTIONAL
CopyCommand => {
DataTableName => 'MyDataTableName', # min: 1, max: 512
CopyOptions => 'MyCopyOptions', # max: 204800; OPTIONAL
DataTableColumns => 'MyDataTableColumns', # max: 204800; OPTIONAL
}, # OPTIONAL
Password => 'MyPassword', # min: 6, max: 512; OPTIONAL
ProcessingConfiguration => {
Enabled => 1, # OPTIONAL
Processors => [
{
Type => 'Lambda', # values: Lambda
Parameters => [
{
ParameterName => 'LambdaArn'
, # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
ParameterValue =>
'MyProcessorParameterValue', # min: 1, max: 512
},
...
], # OPTIONAL
},
...
], # OPTIONAL
}, # OPTIONAL
RetryOptions => {
DurationInSeconds => 1, # max: 7200; OPTIONAL
}, # OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
S3BackupMode => 'Disabled', # values: Disabled, Enabled; OPTIONAL
S3BackupUpdate => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
S3Update => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
Username => 'MyUsername', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
S3DestinationUpdate => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig => 'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
SplunkDestinationUpdate => {
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
HECAcknowledgmentTimeoutInSeconds => 1, # min: 180, max: 600; OPTIONAL
HECEndpoint => 'MyHECEndpoint', # max: 2048; OPTIONAL
HECEndpointType => 'Raw', # values: Raw, Event; OPTIONAL
HECToken => 'MyHECToken', # max: 2048; OPTIONAL
ProcessingConfiguration => {
Enabled => 1, # OPTIONAL
Processors => [
{
Type => 'Lambda', # values: Lambda
Parameters => [
{
ParameterName => 'LambdaArn'
, # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
ParameterValue =>
'MyProcessorParameterValue', # min: 1, max: 512
},
...
], # OPTIONAL
},
...
], # OPTIONAL
}, # OPTIONAL
RetryOptions => {
DurationInSeconds => 1, # max: 7200; OPTIONAL
}, # OPTIONAL
S3BackupMode =>
'FailedEventsOnly', # values: FailedEventsOnly, AllEvents; OPTIONAL
S3Update => {
BucketARN => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
BufferingHints => {
IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
}, # OPTIONAL
CloudWatchLoggingOptions => {
Enabled => 1, # OPTIONAL
LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
}, # OPTIONAL
CompressionFormat => 'UNCOMPRESSED'
, # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
EncryptionConfiguration => {
KMSEncryptionConfig => {
AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512
}, # OPTIONAL
NoEncryptionConfig =>
'NoEncryption', # values: NoEncryption; OPTIONAL
}, # OPTIONAL
ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
Prefix => 'MyPrefix', # max: 1024; OPTIONAL
RoleARN => 'MyRoleARN', # min: 1, max: 512; OPTIONAL
}, # OPTIONAL
}, # 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/firehose/UpdateDestination> ATTRIBUTESREQUIRED CurrentDeliveryStreamVersionId => StrObtain this value from the "VersionId" result of DeliveryStreamDescription. This value is required, and helps the service perform conditional operations. For example, if there is an interleaving update and this value is null, then the update destination fails. After the update is successful, the "VersionId" value is updated. The service then performs a merge of the old configuration with the new configuration. REQUIRED DeliveryStreamName => StrThe name of the delivery stream. REQUIRED DestinationId => StrThe ID of the destination. ElasticsearchDestinationUpdate => Paws::Firehose::ElasticsearchDestinationUpdateDescribes an update for a destination in Amazon ES. ExtendedS3DestinationUpdate => Paws::Firehose::ExtendedS3DestinationUpdateDescribes an update for a destination in Amazon S3. HttpEndpointDestinationUpdate => Paws::Firehose::HttpEndpointDestinationUpdateDescribes an update to the specified HTTP endpoint destination. RedshiftDestinationUpdate => Paws::Firehose::RedshiftDestinationUpdateDescribes an update for a destination in Amazon Redshift. S3DestinationUpdate => Paws::Firehose::S3DestinationUpdate[Deprecated] Describes an update for a destination in Amazon S3. SplunkDestinationUpdate => Paws::Firehose::SplunkDestinationUpdateDescribes an update for a destination in Splunk. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateDestination in Paws::Firehose 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>
|