import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient"; import type { CreateDeliveryStreamInput, CreateDeliveryStreamOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateDeliveryStreamCommand}. */ export interface CreateDeliveryStreamCommandInput extends CreateDeliveryStreamInput { } /** * @public * * The output of {@link CreateDeliveryStreamCommand}. */ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamOutput, __MetadataBearer { } declare const CreateDeliveryStreamCommand_base: { new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates a Firehose stream.

*

By default, you can create up to 5,000 Firehose streams per Amazon Web Services * Region.

*

This is an asynchronous operation that immediately returns. The initial status of the * Firehose stream is CREATING. After the Firehose stream is created, its status * is ACTIVE and it now accepts data. If the Firehose stream creation fails, the * status transitions to CREATING_FAILED. Attempts to send data to a delivery * stream that is not in the ACTIVE state cause an exception. To check the state * of a Firehose stream, use DescribeDeliveryStream.

*

If the status of a Firehose stream is CREATING_FAILED, this status * doesn't change, and you can't invoke CreateDeliveryStream again on it. * However, you can invoke the DeleteDeliveryStream operation to delete * it.

*

A Firehose stream can be configured to receive records directly * from providers using PutRecord or PutRecordBatch, or it * can be configured to use an existing Kinesis stream as its source. To specify a Kinesis * data stream as input, set the DeliveryStreamType parameter to * KinesisStreamAsSource, and provide the Kinesis stream Amazon Resource Name * (ARN) and role ARN in the KinesisStreamSourceConfiguration * parameter.

*

To create a Firehose stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is * optional. You can also invoke StartDeliveryStreamEncryption to turn on * SSE for an existing Firehose stream that doesn't have SSE enabled.

*

A Firehose stream is configured with a single destination, such as Amazon Simple * Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch * Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints owned by or supported by * third-party service providers, including Datadog, Dynatrace, LogicMonitor, MongoDB, New * Relic, and Sumo Logic. You must specify only one of the following destination configuration * parameters: ExtendedS3DestinationConfiguration, * S3DestinationConfiguration, * ElasticsearchDestinationConfiguration, * RedshiftDestinationConfiguration, or * SplunkDestinationConfiguration.

*

When you specify S3DestinationConfiguration, you can also provide the * following optional values: BufferingHints, EncryptionConfiguration, and * CompressionFormat. By default, if no BufferingHints value is * provided, Firehose buffers data up to 5 MB or for 5 minutes, whichever * condition is satisfied first. BufferingHints is a hint, so there are some * cases where the service cannot adhere to these conditions strictly. For example, record * boundaries might be such that the size is a little over or under the configured buffering * size. By default, no encryption is performed. We strongly recommend that you enable * encryption to ensure secure data storage in Amazon S3.

*

A few notes about Amazon Redshift as a destination:

* *

Firehose assumes the IAM role that is configured as part of the * destination. The role should allow the Firehose principal to assume the role, * and the role should have permissions that allow the service to deliver the data. For more * information, see Grant Firehose Access to an Amazon S3 Destination in the Amazon Firehose Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FirehoseClient, CreateDeliveryStreamCommand } from "@aws-sdk/client-firehose"; // ES Modules import * // const { FirehoseClient, CreateDeliveryStreamCommand } = require("@aws-sdk/client-firehose"); // CommonJS import * // import type { FirehoseClientConfig } from "@aws-sdk/client-firehose"; * const config = {}; // type is FirehoseClientConfig * const client = new FirehoseClient(config); * const input = { // CreateDeliveryStreamInput * DeliveryStreamName: "STRING_VALUE", // required * DeliveryStreamType: "DirectPut" || "KinesisStreamAsSource" || "MSKAsSource" || "DatabaseAsSource", * DirectPutSourceConfiguration: { // DirectPutSourceConfiguration * ThroughputHintInMBs: Number("int"), // required * }, * KinesisStreamSourceConfiguration: { // KinesisStreamSourceConfiguration * KinesisStreamARN: "STRING_VALUE", // required * RoleARN: "STRING_VALUE", // required * }, * DeliveryStreamEncryptionConfigurationInput: { // DeliveryStreamEncryptionConfigurationInput * KeyARN: "STRING_VALUE", * KeyType: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK", // required * }, * S3DestinationConfiguration: { // S3DestinationConfiguration * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: { // BufferingHints * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: { // EncryptionConfiguration * NoEncryptionConfig: "NoEncryption", * KMSEncryptionConfig: { // KMSEncryptionConfig * AWSKMSKeyARN: "STRING_VALUE", // required * }, * }, * CloudWatchLoggingOptions: { // CloudWatchLoggingOptions * Enabled: true || false, * LogGroupName: "STRING_VALUE", * LogStreamName: "STRING_VALUE", * }, * }, * ExtendedS3DestinationConfiguration: { // ExtendedS3DestinationConfiguration * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: { * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: { * NoEncryptionConfig: "NoEncryption", * KMSEncryptionConfig: { * AWSKMSKeyARN: "STRING_VALUE", // required * }, * }, * CloudWatchLoggingOptions: { * Enabled: true || false, * LogGroupName: "STRING_VALUE", * LogStreamName: "STRING_VALUE", * }, * ProcessingConfiguration: { // ProcessingConfiguration * Enabled: true || false, * Processors: [ // ProcessorList * { // Processor * Type: "RecordDeAggregation" || "Decompression" || "CloudWatchLogProcessing" || "Lambda" || "MetadataExtraction" || "AppendDelimiterToRecord", // required * Parameters: [ // ProcessorParameterList * { // ProcessorParameter * ParameterName: "LambdaArn" || "NumberOfRetries" || "MetadataExtractionQuery" || "JsonParsingEngine" || "RoleArn" || "BufferSizeInMBs" || "BufferIntervalInSeconds" || "SubRecordType" || "Delimiter" || "CompressionFormat" || "DataMessageExtraction", // required * ParameterValue: "STRING_VALUE", // required * }, * ], * }, * ], * }, * S3BackupMode: "Disabled" || "Enabled", * S3BackupConfiguration: { * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: { * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: { * NoEncryptionConfig: "NoEncryption", * KMSEncryptionConfig: { * AWSKMSKeyARN: "STRING_VALUE", // required * }, * }, * CloudWatchLoggingOptions: { * Enabled: true || false, * LogGroupName: "STRING_VALUE", * LogStreamName: "STRING_VALUE", * }, * }, * DataFormatConversionConfiguration: { // DataFormatConversionConfiguration * SchemaConfiguration: { // SchemaConfiguration * RoleARN: "STRING_VALUE", * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", * TableName: "STRING_VALUE", * Region: "STRING_VALUE", * VersionId: "STRING_VALUE", * }, * InputFormatConfiguration: { // InputFormatConfiguration * Deserializer: { // Deserializer * OpenXJsonSerDe: { // OpenXJsonSerDe * ConvertDotsInJsonKeysToUnderscores: true || false, * CaseInsensitive: true || false, * ColumnToJsonKeyMappings: { // ColumnToJsonKeyMappings * "": "STRING_VALUE", * }, * }, * HiveJsonSerDe: { // HiveJsonSerDe * TimestampFormats: [ // ListOfNonEmptyStrings * "STRING_VALUE", * ], * }, * }, * }, * OutputFormatConfiguration: { // OutputFormatConfiguration * Serializer: { // Serializer * ParquetSerDe: { // ParquetSerDe * BlockSizeBytes: Number("int"), * PageSizeBytes: Number("int"), * Compression: "UNCOMPRESSED" || "GZIP" || "SNAPPY", * EnableDictionaryCompression: true || false, * MaxPaddingBytes: Number("int"), * WriterVersion: "V1" || "V2", * }, * OrcSerDe: { // OrcSerDe * StripeSizeBytes: Number("int"), * BlockSizeBytes: Number("int"), * RowIndexStride: Number("int"), * EnablePadding: true || false, * PaddingTolerance: Number("double"), * Compression: "NONE" || "ZLIB" || "SNAPPY", * BloomFilterColumns: [ // ListOfNonEmptyStringsWithoutWhitespace * "STRING_VALUE", * ], * BloomFilterFalsePositiveProbability: Number("double"), * DictionaryKeyThreshold: Number("double"), * FormatVersion: "V0_11" || "V0_12", * }, * }, * }, * Enabled: true || false, * }, * DynamicPartitioningConfiguration: { // DynamicPartitioningConfiguration * RetryOptions: { // RetryOptions * DurationInSeconds: Number("int"), * }, * Enabled: true || false, * }, * FileExtension: "STRING_VALUE", * CustomTimeZone: "STRING_VALUE", * }, * RedshiftDestinationConfiguration: { // RedshiftDestinationConfiguration * RoleARN: "STRING_VALUE", // required * ClusterJDBCURL: "STRING_VALUE", // required * CopyCommand: { // CopyCommand * DataTableName: "STRING_VALUE", // required * DataTableColumns: "STRING_VALUE", * CopyOptions: "STRING_VALUE", * }, * Username: "STRING_VALUE", * Password: "STRING_VALUE", * RetryOptions: { // RedshiftRetryOptions * DurationInSeconds: Number("int"), * }, * S3Configuration: { * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: { * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: { * NoEncryptionConfig: "NoEncryption", * KMSEncryptionConfig: { * AWSKMSKeyARN: "STRING_VALUE", // required * }, * }, * CloudWatchLoggingOptions: { * Enabled: true || false, * LogGroupName: "STRING_VALUE", * LogStreamName: "STRING_VALUE", * }, * }, * ProcessingConfiguration: { * Enabled: true || false, * Processors: [ * { * Type: "RecordDeAggregation" || "Decompression" || "CloudWatchLogProcessing" || "Lambda" || "MetadataExtraction" || "AppendDelimiterToRecord", // required * Parameters: [ * { * ParameterName: "LambdaArn" || "NumberOfRetries" || "MetadataExtractionQuery" || "JsonParsingEngine" || "RoleArn" || "BufferSizeInMBs" || "BufferIntervalInSeconds" || "SubRecordType" || "Delimiter" || "CompressionFormat" || "DataMessageExtraction", // required * ParameterValue: "STRING_VALUE", // required * }, * ], * }, * ], * }, * S3BackupMode: "Disabled" || "Enabled", * S3BackupConfiguration: { * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: { * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: { * NoEncryptionConfig: "NoEncryption", * KMSEncryptionConfig: { * AWSKMSKeyARN: "STRING_VALUE", // required * }, * }, * CloudWatchLoggingOptions: { * Enabled: true || false, * LogGroupName: "STRING_VALUE", * LogStreamName: "STRING_VALUE", * }, * }, * CloudWatchLoggingOptions: "", * SecretsManagerConfiguration: { // SecretsManagerConfiguration * SecretARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * Enabled: true || false, // required * }, * }, * ElasticsearchDestinationConfiguration: { // ElasticsearchDestinationConfiguration * RoleARN: "STRING_VALUE", // required * DomainARN: "STRING_VALUE", * ClusterEndpoint: "STRING_VALUE", * IndexName: "STRING_VALUE", // required * TypeName: "STRING_VALUE", * IndexRotationPeriod: "NoRotation" || "OneHour" || "OneDay" || "OneWeek" || "OneMonth", * BufferingHints: { // ElasticsearchBufferingHints * IntervalInSeconds: Number("int"), * SizeInMBs: Number("int"), * }, * RetryOptions: { // ElasticsearchRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedDocumentsOnly" || "AllDocuments", * S3Configuration: { * RoleARN: "STRING_VALUE", // required * BucketARN: "STRING_VALUE", // required * Prefix: "STRING_VALUE", * ErrorOutputPrefix: "STRING_VALUE", * BufferingHints: "", * CompressionFormat: "UNCOMPRESSED" || "GZIP" || "ZIP" || "Snappy" || "HADOOP_SNAPPY", * EncryptionConfiguration: "", * CloudWatchLoggingOptions: "", * }, * ProcessingConfiguration: { * Enabled: true || false, * Processors: [ * { * Type: "RecordDeAggregation" || "Decompression" || "CloudWatchLogProcessing" || "Lambda" || "MetadataExtraction" || "AppendDelimiterToRecord", // required * Parameters: [ * { * ParameterName: "LambdaArn" || "NumberOfRetries" || "MetadataExtractionQuery" || "JsonParsingEngine" || "RoleArn" || "BufferSizeInMBs" || "BufferIntervalInSeconds" || "SubRecordType" || "Delimiter" || "CompressionFormat" || "DataMessageExtraction", // required * ParameterValue: "STRING_VALUE", // required * }, * ], * }, * ], * }, * CloudWatchLoggingOptions: "", * VpcConfiguration: { // VpcConfiguration * SubnetIds: [ // SubnetIdList // required * "STRING_VALUE", * ], * RoleARN: "STRING_VALUE", // required * SecurityGroupIds: [ // SecurityGroupIdList // required * "STRING_VALUE", * ], * }, * DocumentIdOptions: { // DocumentIdOptions * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required * }, * }, * AmazonopensearchserviceDestinationConfiguration: { // AmazonopensearchserviceDestinationConfiguration * RoleARN: "STRING_VALUE", // required * DomainARN: "STRING_VALUE", * ClusterEndpoint: "STRING_VALUE", * IndexName: "STRING_VALUE", // required * TypeName: "STRING_VALUE", * IndexRotationPeriod: "NoRotation" || "OneHour" || "OneDay" || "OneWeek" || "OneMonth", * BufferingHints: { // AmazonopensearchserviceBufferingHints * IntervalInSeconds: Number("int"), * SizeInMBs: Number("int"), * }, * RetryOptions: { // AmazonopensearchserviceRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedDocumentsOnly" || "AllDocuments", * S3Configuration: "", // required * ProcessingConfiguration: { * Enabled: true || false, * Processors: [ * { * Type: "RecordDeAggregation" || "Decompression" || "CloudWatchLogProcessing" || "Lambda" || "MetadataExtraction" || "AppendDelimiterToRecord", // required * Parameters: [ * { * ParameterName: "LambdaArn" || "NumberOfRetries" || "MetadataExtractionQuery" || "JsonParsingEngine" || "RoleArn" || "BufferSizeInMBs" || "BufferIntervalInSeconds" || "SubRecordType" || "Delimiter" || "CompressionFormat" || "DataMessageExtraction", // required * ParameterValue: "STRING_VALUE", // required * }, * ], * }, * ], * }, * CloudWatchLoggingOptions: "", * VpcConfiguration: { * SubnetIds: [ // required * "STRING_VALUE", * ], * RoleARN: "STRING_VALUE", // required * SecurityGroupIds: [ // required * "STRING_VALUE", * ], * }, * DocumentIdOptions: { * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required * }, * }, * SplunkDestinationConfiguration: { // SplunkDestinationConfiguration * HECEndpoint: "STRING_VALUE", // required * HECEndpointType: "Raw" || "Event", // required * HECToken: "STRING_VALUE", * HECAcknowledgmentTimeoutInSeconds: Number("int"), * RetryOptions: { // SplunkRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedEventsOnly" || "AllEvents", * S3Configuration: "", // required * ProcessingConfiguration: { * Enabled: true || false, * Processors: [ * { * Type: "RecordDeAggregation" || "Decompression" || "CloudWatchLogProcessing" || "Lambda" || "MetadataExtraction" || "AppendDelimiterToRecord", // required * Parameters: [ * { * ParameterName: "LambdaArn" || "NumberOfRetries" || "MetadataExtractionQuery" || "JsonParsingEngine" || "RoleArn" || "BufferSizeInMBs" || "BufferIntervalInSeconds" || "SubRecordType" || "Delimiter" || "CompressionFormat" || "DataMessageExtraction", // required * ParameterValue: "STRING_VALUE", // required * }, * ], * }, * ], * }, * CloudWatchLoggingOptions: "", * BufferingHints: { // SplunkBufferingHints * IntervalInSeconds: Number("int"), * SizeInMBs: Number("int"), * }, * SecretsManagerConfiguration: { * SecretARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * Enabled: true || false, // required * }, * }, * HttpEndpointDestinationConfiguration: { // HttpEndpointDestinationConfiguration * EndpointConfiguration: { // HttpEndpointConfiguration * Url: "STRING_VALUE", // required * Name: "STRING_VALUE", * AccessKey: "STRING_VALUE", * }, * BufferingHints: { // HttpEndpointBufferingHints * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * CloudWatchLoggingOptions: "", * RequestConfiguration: { // HttpEndpointRequestConfiguration * ContentEncoding: "NONE" || "GZIP", * CommonAttributes: [ // HttpEndpointCommonAttributesList * { // HttpEndpointCommonAttribute * AttributeName: "STRING_VALUE", // required * AttributeValue: "STRING_VALUE", // required * }, * ], * }, * ProcessingConfiguration: "", * RoleARN: "STRING_VALUE", * RetryOptions: { // HttpEndpointRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedDataOnly" || "AllData", * S3Configuration: "", // required * SecretsManagerConfiguration: { * SecretARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * Enabled: true || false, // required * }, * }, * Tags: [ // TagDeliveryStreamInputTagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * AmazonOpenSearchServerlessDestinationConfiguration: { // AmazonOpenSearchServerlessDestinationConfiguration * RoleARN: "STRING_VALUE", // required * CollectionEndpoint: "STRING_VALUE", * IndexName: "STRING_VALUE", // required * BufferingHints: { // AmazonOpenSearchServerlessBufferingHints * IntervalInSeconds: Number("int"), * SizeInMBs: Number("int"), * }, * RetryOptions: { // AmazonOpenSearchServerlessRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedDocumentsOnly" || "AllDocuments", * S3Configuration: "", // required * ProcessingConfiguration: "", * CloudWatchLoggingOptions: "", * VpcConfiguration: { * SubnetIds: [ // required * "STRING_VALUE", * ], * RoleARN: "STRING_VALUE", // required * SecurityGroupIds: [ // required * "STRING_VALUE", * ], * }, * }, * MSKSourceConfiguration: { // MSKSourceConfiguration * MSKClusterARN: "STRING_VALUE", // required * TopicName: "STRING_VALUE", // required * AuthenticationConfiguration: { // AuthenticationConfiguration * RoleARN: "STRING_VALUE", // required * Connectivity: "PUBLIC" || "PRIVATE", // required * }, * ReadFromTimestamp: new Date("TIMESTAMP"), * }, * SnowflakeDestinationConfiguration: { // SnowflakeDestinationConfiguration * AccountUrl: "STRING_VALUE", // required * PrivateKey: "STRING_VALUE", * KeyPassphrase: "STRING_VALUE", * User: "STRING_VALUE", * 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: "", * ProcessingConfiguration: "", * RoleARN: "STRING_VALUE", // required * RetryOptions: { // SnowflakeRetryOptions * DurationInSeconds: Number("int"), * }, * S3BackupMode: "FailedDataOnly" || "AllData", * S3Configuration: "", // required * SecretsManagerConfiguration: { * SecretARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * Enabled: true || false, // required * }, * BufferingHints: { // SnowflakeBufferingHints * SizeInMBs: Number("int"), * IntervalInSeconds: Number("int"), * }, * }, * IcebergDestinationConfiguration: { // IcebergDestinationConfiguration * DestinationTableConfigurationList: [ // DestinationTableConfigurationList * { // DestinationTableConfiguration * DestinationTableName: "STRING_VALUE", // required * DestinationDatabaseName: "STRING_VALUE", // required * UniqueKeys: [ * "STRING_VALUE", * ], * PartitionSpec: { // PartitionSpec * Identity: [ // PartitionFields * { // PartitionField * SourceName: "STRING_VALUE", // required * }, * ], * }, * S3ErrorOutputPrefix: "STRING_VALUE", * }, * ], * SchemaEvolutionConfiguration: { // SchemaEvolutionConfiguration * Enabled: true || false, // required * }, * TableCreationConfiguration: { // TableCreationConfiguration * Enabled: true || false, // required * }, * BufferingHints: "", * CloudWatchLoggingOptions: "", * ProcessingConfiguration: "", * S3BackupMode: "FailedDataOnly" || "AllData", * RetryOptions: { * DurationInSeconds: Number("int"), * }, * RoleARN: "STRING_VALUE", // required * AppendOnly: true || false, * CatalogConfiguration: { // CatalogConfiguration * CatalogARN: "STRING_VALUE", * WarehouseLocation: "STRING_VALUE", * }, * S3Configuration: "", // required * }, * DatabaseSourceConfiguration: { // DatabaseSourceConfiguration * Type: "MySQL" || "PostgreSQL", // required * Endpoint: "STRING_VALUE", // required * Port: Number("int"), // required * SSLMode: "Disabled" || "Enabled", * Databases: { // DatabaseList * Include: [ // DatabaseIncludeOrExcludeList * "STRING_VALUE", * ], * Exclude: [ * "STRING_VALUE", * ], * }, * Tables: { // DatabaseTableList * Include: [ // DatabaseTableIncludeOrExcludeList * "STRING_VALUE", * ], * Exclude: [ * "STRING_VALUE", * ], * }, * Columns: { // DatabaseColumnList * Include: [ // DatabaseColumnIncludeOrExcludeList * "STRING_VALUE", * ], * Exclude: [ * "STRING_VALUE", * ], * }, * SurrogateKeys: [ // DatabaseSurrogateKeyList * "STRING_VALUE", * ], * SnapshotWatermarkTable: "STRING_VALUE", // required * DatabaseSourceAuthenticationConfiguration: { // DatabaseSourceAuthenticationConfiguration * SecretsManagerConfiguration: { * SecretARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * Enabled: true || false, // required * }, * }, * DatabaseSourceVPCConfiguration: { // DatabaseSourceVPCConfiguration * VpcEndpointServiceName: "STRING_VALUE", // required * }, * }, * }; * const command = new CreateDeliveryStreamCommand(input); * const response = await client.send(command); * // { // CreateDeliveryStreamOutput * // DeliveryStreamARN: "STRING_VALUE", * // }; * * ``` * * @param CreateDeliveryStreamCommandInput - {@link CreateDeliveryStreamCommandInput} * @returns {@link CreateDeliveryStreamCommandOutput} * @see {@link CreateDeliveryStreamCommandInput} for command's `input` shape. * @see {@link CreateDeliveryStreamCommandOutput} for command's `response` shape. * @see {@link FirehoseClientResolvedConfig | config} for FirehoseClient's `config` shape. * * @throws {@link InvalidArgumentException} (client fault) *

The specified input parameter has a value that is not valid.

* * @throws {@link InvalidKMSResourceException} (client fault) *

Firehose throws this exception when an attempt to put records or to start * or stop Firehose stream encryption fails. This happens when the KMS service throws one of * the following exception types: AccessDeniedException, * InvalidStateException, DisabledException, or * NotFoundException.

* * @throws {@link LimitExceededException} (client fault) *

You have already reached the limit for a requested resource.

* * @throws {@link ResourceInUseException} (client fault) *

The resource is already in use and not available for this operation.

* * @throws {@link FirehoseServiceException} *

Base exception class for all service exceptions from Firehose service.

* * * @public */ export declare class CreateDeliveryStreamCommand extends CreateDeliveryStreamCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDeliveryStreamInput; output: CreateDeliveryStreamOutput; }; sdk: { input: CreateDeliveryStreamCommandInput; output: CreateDeliveryStreamCommandOutput; }; }; }