amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.Types.RedshiftTarget

Description

 
Synopsis

Documentation

data RedshiftTarget Source #

Specifies a target that uses Amazon Redshift.

See: newRedshiftTarget smart constructor.

Constructors

RedshiftTarget' 

Fields

Instances

Instances details
FromJSON RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

ToJSON RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

Generic RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

Associated Types

type Rep RedshiftTarget :: Type -> Type #

Read RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

Show RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

NFData RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

Methods

rnf :: RedshiftTarget -> () #

Eq RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

Hashable RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

type Rep RedshiftTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.RedshiftTarget

newRedshiftTarget Source #

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_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.