Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RedshiftDestinationConfiguration = RedshiftDestinationConfiguration' {
- s3BackupMode :: Maybe RedshiftS3BackupMode
- cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
- s3BackupConfiguration :: Maybe S3DestinationConfiguration
- retryOptions :: Maybe RedshiftRetryOptions
- processingConfiguration :: Maybe ProcessingConfiguration
- roleARN :: Text
- clusterJDBCURL :: Text
- copyCommand :: CopyCommand
- username :: Sensitive Text
- password :: Sensitive Text
- s3Configuration :: S3DestinationConfiguration
- newRedshiftDestinationConfiguration :: Text -> Text -> CopyCommand -> Text -> Text -> S3DestinationConfiguration -> RedshiftDestinationConfiguration
- redshiftDestinationConfiguration_s3BackupMode :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftS3BackupMode)
- redshiftDestinationConfiguration_cloudWatchLoggingOptions :: Lens' RedshiftDestinationConfiguration (Maybe CloudWatchLoggingOptions)
- redshiftDestinationConfiguration_s3BackupConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe S3DestinationConfiguration)
- redshiftDestinationConfiguration_retryOptions :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftRetryOptions)
- redshiftDestinationConfiguration_processingConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe ProcessingConfiguration)
- redshiftDestinationConfiguration_roleARN :: Lens' RedshiftDestinationConfiguration Text
- redshiftDestinationConfiguration_clusterJDBCURL :: Lens' RedshiftDestinationConfiguration Text
- redshiftDestinationConfiguration_copyCommand :: Lens' RedshiftDestinationConfiguration CopyCommand
- redshiftDestinationConfiguration_username :: Lens' RedshiftDestinationConfiguration Text
- redshiftDestinationConfiguration_password :: Lens' RedshiftDestinationConfiguration Text
- redshiftDestinationConfiguration_s3Configuration :: Lens' RedshiftDestinationConfiguration S3DestinationConfiguration
Documentation
data RedshiftDestinationConfiguration Source #
Describes the configuration of a destination in Amazon Redshift.
See: newRedshiftDestinationConfiguration
smart constructor.
RedshiftDestinationConfiguration' | |
|
Instances
newRedshiftDestinationConfiguration Source #
:: Text | |
-> Text | |
-> CopyCommand | |
-> Text | |
-> Text | |
-> S3DestinationConfiguration | |
-> RedshiftDestinationConfiguration |
Create a value of RedshiftDestinationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3BackupMode:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can
update it to enable Amazon S3 backup if it is disabled. If backup is
enabled, you can't update the delivery stream to disable it.
$sel:cloudWatchLoggingOptions:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.
$sel:s3BackupConfiguration:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_s3BackupConfiguration
- The configuration for backup in Amazon S3.
$sel:retryOptions:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_retryOptions
- The retry behavior in case Kinesis Data Firehose is unable to deliver
documents to Amazon Redshift. Default value is 3600 (60 minutes).
$sel:processingConfiguration:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_processingConfiguration
- The data processing configuration.
$sel:roleARN:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_roleARN
- The Amazon Resource Name (ARN) of the AWS credentials. For more
information, see
Amazon Resource Names (ARNs) and AWS Service Namespaces.
$sel:clusterJDBCURL:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_clusterJDBCURL
- The database connection string.
$sel:copyCommand:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_copyCommand
- The COPY
command.
$sel:username:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_username
- The name of the user.
$sel:password:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_password
- The user password.
$sel:s3Configuration:RedshiftDestinationConfiguration'
, redshiftDestinationConfiguration_s3Configuration
- The configuration for the intermediate Amazon S3 location from which
Amazon Redshift obtains data. Restrictions are described in the topic
for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon
Redshift COPY
operation that reads from the S3 bucket doesn't support
these compression formats.
redshiftDestinationConfiguration_s3BackupMode :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftS3BackupMode) Source #
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
redshiftDestinationConfiguration_cloudWatchLoggingOptions :: Lens' RedshiftDestinationConfiguration (Maybe CloudWatchLoggingOptions) Source #
The CloudWatch logging options for your delivery stream.
redshiftDestinationConfiguration_s3BackupConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe S3DestinationConfiguration) Source #
The configuration for backup in Amazon S3.
redshiftDestinationConfiguration_retryOptions :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftRetryOptions) Source #
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
redshiftDestinationConfiguration_processingConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe ProcessingConfiguration) Source #
The data processing configuration.
redshiftDestinationConfiguration_roleARN :: Lens' RedshiftDestinationConfiguration Text Source #
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
redshiftDestinationConfiguration_clusterJDBCURL :: Lens' RedshiftDestinationConfiguration Text Source #
The database connection string.
redshiftDestinationConfiguration_copyCommand :: Lens' RedshiftDestinationConfiguration CopyCommand Source #
The COPY
command.
redshiftDestinationConfiguration_username :: Lens' RedshiftDestinationConfiguration Text Source #
The name of the user.
redshiftDestinationConfiguration_password :: Lens' RedshiftDestinationConfiguration Text Source #
The user password.
redshiftDestinationConfiguration_s3Configuration :: Lens' RedshiftDestinationConfiguration S3DestinationConfiguration Source #
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon
Redshift COPY
operation that reads from the S3 bucket doesn't support
these compression formats.