amazonka-redshift-data-2.0: Amazon Redshift Data API Service 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.RedshiftData.Types.SqlParameter

Description

 
Synopsis

Documentation

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Constructors

SqlParameter' 

Fields

  • name :: Text

    The name of the parameter.

  • value :: Text

    The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.

Instances

Instances details
FromJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

ToJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Generic SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Associated Types

type Rep SqlParameter :: Type -> Type #

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Show SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Hashable SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

type Rep SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

type Rep SqlParameter = D1 ('MetaData "SqlParameter" "Amazonka.RedshiftData.Types.SqlParameter" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "SqlParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSqlParameter Source #

Create a value of SqlParameter 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:name:SqlParameter', sqlParameter_name - The name of the parameter.

$sel:value:SqlParameter', sqlParameter_value - The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.

sqlParameter_name :: Lens' SqlParameter Text Source #

The name of the parameter.

sqlParameter_value :: Lens' SqlParameter Text Source #

The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.