| 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.RDSData.Types.SqlParameter
Description
Synopsis
Documentation
data SqlParameter Source #
A parameter used in a SQL statement.
See: newSqlParameter smart constructor.
Constructors
| SqlParameter' | |
Fields
| |
Instances
newSqlParameter :: SqlParameter 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:typeHint:SqlParameter', sqlParameter_typeHint - A hint that specifies the correct object type for data type mapping.
Possible values are as follows:
DATE- The correspondingStringparameter value is sent as an object ofDATEtype to the database. The accepted format isYYYY-MM-DD.DECIMAL- The correspondingStringparameter value is sent as an object ofDECIMALtype to the database.JSON- The correspondingStringparameter value is sent as an object ofJSONtype to the database.TIME- The correspondingStringparameter value is sent as an object ofTIMEtype to the database. The accepted format isHH:MM:SS[.FFF].TIMESTAMP- The correspondingStringparameter value is sent as an object ofTIMESTAMPtype to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF].UUID- The correspondingStringparameter value is sent as an object ofUUIDtype to the database.
$sel:value:SqlParameter', sqlParameter_value - The value of the parameter.
sqlParameter_name :: Lens' SqlParameter (Maybe Text) Source #
The name of the parameter.
sqlParameter_typeHint :: Lens' SqlParameter (Maybe TypeHint) Source #
A hint that specifies the correct object type for data type mapping. Possible values are as follows:
DATE- The correspondingStringparameter value is sent as an object ofDATEtype to the database. The accepted format isYYYY-MM-DD.DECIMAL- The correspondingStringparameter value is sent as an object ofDECIMALtype to the database.JSON- The correspondingStringparameter value is sent as an object ofJSONtype to the database.TIME- The correspondingStringparameter value is sent as an object ofTIMEtype to the database. The accepted format isHH:MM:SS[.FFF].TIMESTAMP- The correspondingStringparameter value is sent as an object ofTIMESTAMPtype to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF].UUID- The correspondingStringparameter value is sent as an object ofUUIDtype to the database.
sqlParameter_value :: Lens' SqlParameter (Maybe Field) Source #
The value of the parameter.