Skip to content

Commit

Permalink
feat(client-firehose): Allow support for Snowflake as a Kinesis Data …
Browse files Browse the repository at this point in the history
…Firehose delivery destination.
  • Loading branch information
awstools committed Jan 18, 2024
1 parent d7c4d31 commit bdf431e
Show file tree
Hide file tree
Showing 6 changed files with 1,172 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,33 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
* Connectivity: "PUBLIC" || "PRIVATE", // required
* },
* },
* SnowflakeDestinationConfiguration: { // SnowflakeDestinationConfiguration
* AccountUrl: "STRING_VALUE", // required
* PrivateKey: "STRING_VALUE", // required
* KeyPassphrase: "STRING_VALUE",
* User: "STRING_VALUE", // required
* Database: "STRING_VALUE", // required
* Schema: "STRING_VALUE", // required
* Table: "STRING_VALUE", // required
* SnowflakeRoleConfiguration: { // SnowflakeRoleConfiguration
* Enabled: true || false,
* SnowflakeRole: "STRING_VALUE",
* },
* DataLoadingOption: "JSON_MAPPING" || "VARIANT_CONTENT_MAPPING" || "VARIANT_CONTENT_AND_METADATA_MAPPING",
* MetaDataColumnName: "STRING_VALUE",
* ContentColumnName: "STRING_VALUE",
* SnowflakeVpcConfiguration: { // SnowflakeVpcConfiguration
* PrivateLinkVpceId: "STRING_VALUE", // required
* },
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
* ProcessingConfiguration: "<ProcessingConfiguration>",
* RoleARN: "STRING_VALUE", // required
* RetryOptions: { // SnowflakeRetryOptions
* DurationInSeconds: Number("int"),
* },
* S3BackupMode: "FailedDataOnly" || "AllData",
* S3Configuration: "<S3DestinationConfiguration>", // required
* },
* };
* const command = new CreateDeliveryStreamCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,31 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
* // S3BackupMode: "FailedDataOnly" || "AllData",
* // S3DestinationDescription: "<S3DestinationDescription>",
* // },
* // SnowflakeDestinationDescription: { // SnowflakeDestinationDescription
* // AccountUrl: "STRING_VALUE",
* // User: "STRING_VALUE",
* // Database: "STRING_VALUE",
* // Schema: "STRING_VALUE",
* // Table: "STRING_VALUE",
* // SnowflakeRoleConfiguration: { // SnowflakeRoleConfiguration
* // Enabled: true || false,
* // SnowflakeRole: "STRING_VALUE",
* // },
* // DataLoadingOption: "JSON_MAPPING" || "VARIANT_CONTENT_MAPPING" || "VARIANT_CONTENT_AND_METADATA_MAPPING",
* // MetaDataColumnName: "STRING_VALUE",
* // ContentColumnName: "STRING_VALUE",
* // SnowflakeVpcConfiguration: { // SnowflakeVpcConfiguration
* // PrivateLinkVpceId: "STRING_VALUE", // required
* // },
* // CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
* // ProcessingConfiguration: "<ProcessingConfiguration>",
* // RoleARN: "STRING_VALUE",
* // RetryOptions: { // SnowflakeRetryOptions
* // DurationInSeconds: Number("int"),
* // },
* // S3BackupMode: "FailedDataOnly" || "AllData",
* // S3DestinationDescription: "<S3DestinationDescription>",
* // },
* // AmazonOpenSearchServerlessDestinationDescription: { // AmazonOpenSearchServerlessDestinationDescription
* // RoleARN: "STRING_VALUE",
* // CollectionEndpoint: "STRING_VALUE",
Expand Down
24 changes: 24 additions & 0 deletions clients/client-firehose/src/commands/UpdateDestinationCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,30 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
* ProcessingConfiguration: "<ProcessingConfiguration>",
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
* },
* SnowflakeDestinationUpdate: { // SnowflakeDestinationUpdate
* AccountUrl: "STRING_VALUE",
* PrivateKey: "STRING_VALUE",
* KeyPassphrase: "STRING_VALUE",
* User: "STRING_VALUE",
* Database: "STRING_VALUE",
* Schema: "STRING_VALUE",
* Table: "STRING_VALUE",
* SnowflakeRoleConfiguration: { // SnowflakeRoleConfiguration
* Enabled: true || false,
* SnowflakeRole: "STRING_VALUE",
* },
* DataLoadingOption: "JSON_MAPPING" || "VARIANT_CONTENT_MAPPING" || "VARIANT_CONTENT_AND_METADATA_MAPPING",
* MetaDataColumnName: "STRING_VALUE",
* ContentColumnName: "STRING_VALUE",
* CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
* ProcessingConfiguration: "<ProcessingConfiguration>",
* RoleARN: "STRING_VALUE",
* RetryOptions: { // SnowflakeRetryOptions
* DurationInSeconds: Number("int"),
* },
* S3BackupMode: "FailedDataOnly" || "AllData",
* S3Update: "<S3DestinationUpdate>",
* },
* };
* const command = new UpdateDestinationCommand(input);
* const response = await client.send(command);
Expand Down
Loading

0 comments on commit bdf431e

Please sign in to comment.