| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.Types.RedshiftTarget
Description
Synopsis
- data RedshiftTarget = RedshiftTarget' {}
- newRedshiftTarget :: Text -> NonEmpty Text -> Text -> Text -> RedshiftTarget
- redshiftTarget_redshiftTmpDir :: Lens' RedshiftTarget (Maybe Text)
- redshiftTarget_tmpDirIAMRole :: Lens' RedshiftTarget (Maybe Text)
- redshiftTarget_upsertRedshiftOptions :: Lens' RedshiftTarget (Maybe UpsertRedshiftTargetOptions)
- redshiftTarget_name :: Lens' RedshiftTarget Text
- redshiftTarget_inputs :: Lens' RedshiftTarget (NonEmpty Text)
- redshiftTarget_database :: Lens' RedshiftTarget Text
- redshiftTarget_table :: Lens' RedshiftTarget Text
Documentation
data RedshiftTarget Source #
Specifies a target that uses Amazon Redshift.
See: newRedshiftTarget smart constructor.
Constructors
| RedshiftTarget' | |
Fields
| |
Instances
Create a value of RedshiftTarget 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:redshiftTmpDir:RedshiftTarget', redshiftTarget_redshiftTmpDir - The Amazon S3 path where temporary data can be staged when copying out
of the database.
$sel:tmpDirIAMRole:RedshiftTarget', redshiftTarget_tmpDirIAMRole - The IAM role with permissions.
$sel:upsertRedshiftOptions:RedshiftTarget', redshiftTarget_upsertRedshiftOptions - The set of options to configure an upsert operation when writing to a
Redshift target.
$sel:name:RedshiftTarget', redshiftTarget_name - The name of the data target.
$sel:inputs:RedshiftTarget', redshiftTarget_inputs - The nodes that are inputs to the data target.
$sel:database:RedshiftTarget', redshiftTarget_database - The name of the database to write to.
$sel:table:RedshiftTarget', redshiftTarget_table - The name of the table in the database to write to.
redshiftTarget_redshiftTmpDir :: Lens' RedshiftTarget (Maybe Text) Source #
The Amazon S3 path where temporary data can be staged when copying out of the database.
redshiftTarget_tmpDirIAMRole :: Lens' RedshiftTarget (Maybe Text) Source #
The IAM role with permissions.
redshiftTarget_upsertRedshiftOptions :: Lens' RedshiftTarget (Maybe UpsertRedshiftTargetOptions) Source #
The set of options to configure an upsert operation when writing to a Redshift target.
redshiftTarget_name :: Lens' RedshiftTarget Text Source #
The name of the data target.
redshiftTarget_inputs :: Lens' RedshiftTarget (NonEmpty Text) Source #
The nodes that are inputs to the data target.
redshiftTarget_database :: Lens' RedshiftTarget Text Source #
The name of the database to write to.
redshiftTarget_table :: Lens' RedshiftTarget Text Source #
The name of the table in the database to write to.