Skip to content

Commit 9a36c7e

Browse files
author
awstools
committed
feat(client-firehose): This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination.
1 parent 3918268 commit 9a36c7e

File tree

7 files changed

+863
-17
lines changed

7 files changed

+863
-17
lines changed

clients/client-firehose/src/auth/httpAuthSchemeProvider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters: FirehoseHttpAuthScheme
6060
name: "firehose",
6161
region: authParameters.region,
6262
},
63-
propertiesExtractor: (config: FirehoseClientConfig, context) => ({
63+
propertiesExtractor: (config: Partial<FirehoseClientConfig>, context) => ({
6464
/**
6565
* @internal
6666
*/

clients/client-firehose/src/commands/CreateDeliveryStreamCommand.ts

+29
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
540540
* RoleARN: "STRING_VALUE", // required
541541
* Connectivity: "PUBLIC" || "PRIVATE", // required
542542
* },
543+
* ReadFromTimestamp: new Date("TIMESTAMP"),
543544
* },
544545
* SnowflakeDestinationConfiguration: { // SnowflakeDestinationConfiguration
545546
* AccountUrl: "STRING_VALUE", // required
@@ -572,6 +573,34 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
572573
* RoleARN: "STRING_VALUE",
573574
* Enabled: true || false, // required
574575
* },
576+
* BufferingHints: { // SnowflakeBufferingHints
577+
* SizeInMBs: Number("int"),
578+
* IntervalInSeconds: Number("int"),
579+
* },
580+
* },
581+
* IcebergDestinationConfiguration: { // IcebergDestinationConfiguration
582+
* DestinationTableConfigurationList: [ // DestinationTableConfigurationList
583+
* { // DestinationTableConfiguration
584+
* DestinationTableName: "STRING_VALUE", // required
585+
* DestinationDatabaseName: "STRING_VALUE", // required
586+
* UniqueKeys: [
587+
* "STRING_VALUE",
588+
* ],
589+
* S3ErrorOutputPrefix: "STRING_VALUE",
590+
* },
591+
* ],
592+
* BufferingHints: "<BufferingHints>",
593+
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
594+
* ProcessingConfiguration: "<ProcessingConfiguration>",
595+
* S3BackupMode: "FailedDataOnly" || "AllData",
596+
* RetryOptions: {
597+
* DurationInSeconds: Number("int"),
598+
* },
599+
* RoleARN: "STRING_VALUE", // required
600+
* CatalogConfiguration: { // CatalogConfiguration
601+
* CatalogARN: "STRING_VALUE",
602+
* },
603+
* S3Configuration: "<S3DestinationConfiguration>", // required
575604
* },
576605
* };
577606
* const command = new CreateDeliveryStreamCommand(input);

clients/client-firehose/src/commands/DescribeDeliveryStreamCommand.ts

+29
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
8888
* // Connectivity: "PUBLIC" || "PRIVATE", // required
8989
* // },
9090
* // DeliveryStartTimestamp: new Date("TIMESTAMP"),
91+
* // ReadFromTimestamp: new Date("TIMESTAMP"),
9192
* // },
9293
* // },
9394
* // Destinations: [ // DestinationDescriptionList // required
@@ -508,6 +509,10 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
508509
* // RoleARN: "STRING_VALUE",
509510
* // Enabled: true || false, // required
510511
* // },
512+
* // BufferingHints: { // SnowflakeBufferingHints
513+
* // SizeInMBs: Number("int"),
514+
* // IntervalInSeconds: Number("int"),
515+
* // },
511516
* // },
512517
* // AmazonOpenSearchServerlessDestinationDescription: { // AmazonOpenSearchServerlessDestinationDescription
513518
* // RoleARN: "STRING_VALUE",
@@ -535,6 +540,30 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
535540
* // VpcId: "STRING_VALUE", // required
536541
* // },
537542
* // },
543+
* // IcebergDestinationDescription: { // IcebergDestinationDescription
544+
* // DestinationTableConfigurationList: [ // DestinationTableConfigurationList
545+
* // { // DestinationTableConfiguration
546+
* // DestinationTableName: "STRING_VALUE", // required
547+
* // DestinationDatabaseName: "STRING_VALUE", // required
548+
* // UniqueKeys: [
549+
* // "STRING_VALUE",
550+
* // ],
551+
* // S3ErrorOutputPrefix: "STRING_VALUE",
552+
* // },
553+
* // ],
554+
* // BufferingHints: "<BufferingHints>",
555+
* // CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
556+
* // ProcessingConfiguration: "<ProcessingConfiguration>",
557+
* // S3BackupMode: "FailedDataOnly" || "AllData",
558+
* // RetryOptions: {
559+
* // DurationInSeconds: Number("int"),
560+
* // },
561+
* // RoleARN: "STRING_VALUE",
562+
* // CatalogConfiguration: { // CatalogConfiguration
563+
* // CatalogARN: "STRING_VALUE",
564+
* // },
565+
* // S3DestinationDescription: "<S3DestinationDescription>",
566+
* // },
538567
* // },
539568
* // ],
540569
* // HasMoreDestinations: true || false, // required

clients/client-firehose/src/commands/UpdateDestinationCommand.ts

+37
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,43 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
474474
* RoleARN: "STRING_VALUE",
475475
* Enabled: true || false, // required
476476
* },
477+
* BufferingHints: { // SnowflakeBufferingHints
478+
* SizeInMBs: Number("int"),
479+
* IntervalInSeconds: Number("int"),
480+
* },
481+
* },
482+
* IcebergDestinationUpdate: { // IcebergDestinationUpdate
483+
* DestinationTableConfigurationList: [ // DestinationTableConfigurationList
484+
* { // DestinationTableConfiguration
485+
* DestinationTableName: "STRING_VALUE", // required
486+
* DestinationDatabaseName: "STRING_VALUE", // required
487+
* UniqueKeys: [
488+
* "STRING_VALUE",
489+
* ],
490+
* S3ErrorOutputPrefix: "STRING_VALUE",
491+
* },
492+
* ],
493+
* BufferingHints: "<BufferingHints>",
494+
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
495+
* ProcessingConfiguration: "<ProcessingConfiguration>",
496+
* S3BackupMode: "FailedDataOnly" || "AllData",
497+
* RetryOptions: {
498+
* DurationInSeconds: Number("int"),
499+
* },
500+
* RoleARN: "STRING_VALUE",
501+
* CatalogConfiguration: { // CatalogConfiguration
502+
* CatalogARN: "STRING_VALUE",
503+
* },
504+
* S3Configuration: { // S3DestinationConfiguration
505+
* RoleARN: "STRING_VALUE", // required
506+
* BucketARN: "STRING_VALUE", // required
507+
* Prefix: "STRING_VALUE",
508+
* ErrorOutputPrefix: "STRING_VALUE",
509+
* BufferingHints: "<BufferingHints>",
510+
* CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY",
511+
* EncryptionConfiguration: "<EncryptionConfiguration>",
512+
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
513+
* },
477514
* },
478515
* };
479516
* const command = new UpdateDestinationCommand(input);

0 commit comments

Comments
 (0)