libZSservicesZSamazonka-rds-dataZSamazonka-rds-data
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDSData.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-08-01 of the Amazon RDS DataService SDK configuration.

Errors

_StatementTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The execution of the SQL statement timed out.

_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There are insufficient privileges to make the call.

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resourceArn, secretArn, or transactionId value can't be found.

_ServiceUnavailableError :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service specified by the resourceArn parameter is not available.

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There is an error in the call or in a SQL statement.

DecimalReturnType

newtype DecimalReturnType Source #

Instances

Instances details
Eq DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Ord DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Read DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Show DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Generic DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Associated Types

type Rep DecimalReturnType :: Type -> Type #

NFData DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Methods

rnf :: DecimalReturnType -> () #

Hashable DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToJSON DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToJSONKey DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromJSON DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromJSONKey DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToLog DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToHeader DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToQuery DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromXML DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToXML DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToByteString DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromText DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToText DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

type Rep DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

type Rep DecimalReturnType = D1 ('MetaData "DecimalReturnType" "Amazonka.RDSData.Types.DecimalReturnType" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'True) (C1 ('MetaCons "DecimalReturnType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDecimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TypeHint

newtype TypeHint Source #

Constructors

TypeHint' 

Fields

Bundled Patterns

pattern TypeHint_DATE :: TypeHint 
pattern TypeHint_DECIMAL :: TypeHint 
pattern TypeHint_JSON :: TypeHint 
pattern TypeHint_TIME :: TypeHint 
pattern TypeHint_TIMESTAMP :: TypeHint 
pattern TypeHint_UUID :: TypeHint 

Instances

Instances details
Eq TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Ord TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Read TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Show TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Generic TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Associated Types

type Rep TypeHint :: Type -> Type #

Methods

from :: TypeHint -> Rep TypeHint x #

to :: Rep TypeHint x -> TypeHint #

NFData TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

rnf :: TypeHint -> () #

Hashable TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

hashWithSalt :: Int -> TypeHint -> Int #

hash :: TypeHint -> Int #

ToJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToLog TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToHeader TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toHeader :: HeaderName -> TypeHint -> [Header] #

ToQuery TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromXML TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToXML TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toXML :: TypeHint -> XML #

ToByteString TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toBS :: TypeHint -> ByteString #

FromText TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToText TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toText :: TypeHint -> Text #

type Rep TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

type Rep TypeHint = D1 ('MetaData "TypeHint" "Amazonka.RDSData.Types.TypeHint" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'True) (C1 ('MetaCons "TypeHint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTypeHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ArrayValue

data ArrayValue Source #

Contains an array.

See: newArrayValue smart constructor.

Constructors

ArrayValue' 

Fields

Instances

Instances details
Eq ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Read ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Show ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Generic ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Associated Types

type Rep ArrayValue :: Type -> Type #

NFData ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Methods

rnf :: ArrayValue -> () #

Hashable ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

ToJSON ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

FromJSON ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

type Rep ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

type Rep ArrayValue = D1 ('MetaData "ArrayValue" "Amazonka.RDSData.Types.ArrayValue" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ArrayValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "longValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Integer])) :*: S1 ('MetaSel ('Just "doubleValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double]))) :*: (S1 ('MetaSel ('Just "stringValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "arrayValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ArrayValue])) :*: S1 ('MetaSel ('Just "booleanValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Bool]))))))

newArrayValue :: ArrayValue Source #

Create a value of ArrayValue 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:longValues:ArrayValue', arrayValue_longValues - An array of floating point numbers.

$sel:doubleValues:ArrayValue', arrayValue_doubleValues - An array of integers.

$sel:stringValues:ArrayValue', arrayValue_stringValues - An array of strings.

$sel:arrayValues:ArrayValue', arrayValue_arrayValues - An array of arrays.

$sel:booleanValues:ArrayValue', arrayValue_booleanValues - An array of Boolean values.

arrayValue_longValues :: Lens' ArrayValue (Maybe [Integer]) Source #

An array of floating point numbers.

arrayValue_booleanValues :: Lens' ArrayValue (Maybe [Bool]) Source #

An array of Boolean values.

ColumnMetadata

data ColumnMetadata Source #

Contains the metadata for a column.

See: newColumnMetadata smart constructor.

Constructors

ColumnMetadata' 

Fields

Instances

Instances details
Eq ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Read ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Show ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Generic ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Associated Types

type Rep ColumnMetadata :: Type -> Type #

NFData ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Methods

rnf :: ColumnMetadata -> () #

Hashable ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

FromJSON ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

type Rep ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

type Rep ColumnMetadata = D1 ('MetaData "ColumnMetadata" "Amazonka.RDSData.Types.ColumnMetadata" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ColumnMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isCaseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isAutoIncrement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arrayBaseColumnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "isSigned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newColumnMetadata :: ColumnMetadata Source #

Create a value of ColumnMetadata 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:typeName:ColumnMetadata', columnMetadata_typeName - The database-specific data type of the column.

$sel:isCaseSensitive:ColumnMetadata', columnMetadata_isCaseSensitive - A value that indicates whether the column is case-sensitive.

$sel:isCurrency:ColumnMetadata', columnMetadata_isCurrency - A value that indicates whether the column contains currency values.

$sel:scale:ColumnMetadata', columnMetadata_scale - The scale value of a decimal number column.

$sel:precision:ColumnMetadata', columnMetadata_precision - The precision value of a decimal number column.

$sel:schemaName:ColumnMetadata', columnMetadata_schemaName - The name of the schema that owns the table that includes the column.

$sel:isAutoIncrement:ColumnMetadata', columnMetadata_isAutoIncrement - A value that indicates whether the column increments automatically.

$sel:name:ColumnMetadata', columnMetadata_name - The name of the column.

$sel:arrayBaseColumnType:ColumnMetadata', columnMetadata_arrayBaseColumnType - The type of the column.

$sel:type':ColumnMetadata', columnMetadata_type - The type of the column.

$sel:isSigned:ColumnMetadata', columnMetadata_isSigned - A value that indicates whether an integer column is signed.

$sel:label:ColumnMetadata', columnMetadata_label - The label for the column.

$sel:nullable:ColumnMetadata', columnMetadata_nullable - A value that indicates whether the column is nullable.

$sel:tableName:ColumnMetadata', columnMetadata_tableName - The name of the table that includes the column.

columnMetadata_typeName :: Lens' ColumnMetadata (Maybe Text) Source #

The database-specific data type of the column.

columnMetadata_isCaseSensitive :: Lens' ColumnMetadata (Maybe Bool) Source #

A value that indicates whether the column is case-sensitive.

columnMetadata_isCurrency :: Lens' ColumnMetadata (Maybe Bool) Source #

A value that indicates whether the column contains currency values.

columnMetadata_scale :: Lens' ColumnMetadata (Maybe Int) Source #

The scale value of a decimal number column.

columnMetadata_precision :: Lens' ColumnMetadata (Maybe Int) Source #

The precision value of a decimal number column.

columnMetadata_schemaName :: Lens' ColumnMetadata (Maybe Text) Source #

The name of the schema that owns the table that includes the column.

columnMetadata_isAutoIncrement :: Lens' ColumnMetadata (Maybe Bool) Source #

A value that indicates whether the column increments automatically.

columnMetadata_isSigned :: Lens' ColumnMetadata (Maybe Bool) Source #

A value that indicates whether an integer column is signed.

columnMetadata_nullable :: Lens' ColumnMetadata (Maybe Int) Source #

A value that indicates whether the column is nullable.

columnMetadata_tableName :: Lens' ColumnMetadata (Maybe Text) Source #

The name of the table that includes the column.

Field

data Field Source #

Contains a value.

See: newField smart constructor.

Constructors

Field' 

Fields

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Read Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Show Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

NFData Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

rnf :: Field -> () #

Hashable Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

ToJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

FromJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

type Rep Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

newField :: Field Source #

Create a value of Field 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:doubleValue:Field', field_doubleValue - A value of double data type.

$sel:stringValue:Field', field_stringValue - A value of string data type.

$sel:longValue:Field', field_longValue - A value of long data type.

$sel:booleanValue:Field', field_booleanValue - A value of Boolean data type.

$sel:arrayValue:Field', field_arrayValue - An array of values.

$sel:blobValue:Field', field_blobValue - A value of BLOB data type.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:isNull:Field', field_isNull - A NULL value.

field_doubleValue :: Lens' Field (Maybe Double) Source #

A value of double data type.

field_stringValue :: Lens' Field (Maybe Text) Source #

A value of string data type.

field_longValue :: Lens' Field (Maybe Integer) Source #

A value of long data type.

field_booleanValue :: Lens' Field (Maybe Bool) Source #

A value of Boolean data type.

field_blobValue :: Lens' Field (Maybe ByteString) Source #

A value of BLOB data type.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

ResultSetOptions

data ResultSetOptions Source #

Options that control how the result set is returned.

See: newResultSetOptions smart constructor.

Constructors

ResultSetOptions' 

Fields

  • decimalReturnType :: Maybe DecimalReturnType

    A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

    Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Instances

Instances details
Eq ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Read ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Show ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Generic ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Associated Types

type Rep ResultSetOptions :: Type -> Type #

NFData ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Methods

rnf :: ResultSetOptions -> () #

Hashable ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

ToJSON ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

type Rep ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

type Rep ResultSetOptions = D1 ('MetaData "ResultSetOptions" "Amazonka.RDSData.Types.ResultSetOptions" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ResultSetOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "decimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DecimalReturnType))))

newResultSetOptions :: ResultSetOptions Source #

Create a value of ResultSetOptions 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:decimalReturnType:ResultSetOptions', resultSetOptions_decimalReturnType - A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

resultSetOptions_decimalReturnType :: Lens' ResultSetOptions (Maybe DecimalReturnType) Source #

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

SqlParameter

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Constructors

SqlParameter' 

Fields

  • value :: Maybe Field

    The value of the parameter.

  • name :: Maybe Text

    The name of the parameter.

  • typeHint :: Maybe TypeHint

    A hint that specifies the correct object type for data type mapping. Possible values are as follows:

    • DATE - The corresponding String parameter value is sent as an object of DATE type to the database. The accepted format is YYYY-MM-DD.
    • DECIMAL - The corresponding String parameter value is sent as an object of DECIMAL type to the database.
    • JSON - The corresponding String parameter value is sent as an object of JSON type to the database.
    • TIME - The corresponding String parameter value is sent as an object of TIME type to the database. The accepted format is HH:MM:SS[.FFF].
    • TIMESTAMP - The corresponding String parameter value is sent as an object of TIMESTAMP type to the database. The accepted format is YYYY-MM-DD HH:MM:SS[.FFF].
    • UUID - The corresponding String parameter value is sent as an object of UUID type to the database.

Instances

Instances details
Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Show SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Generic SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Associated Types

type Rep SqlParameter :: Type -> Type #

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Hashable SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

ToJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

type Rep SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

type Rep SqlParameter = D1 ('MetaData "SqlParameter" "Amazonka.RDSData.Types.SqlParameter" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "SqlParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Field)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "typeHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeHint)))))

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:value:SqlParameter', sqlParameter_value - The value of the parameter.

$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 corresponding String parameter value is sent as an object of DATE type to the database. The accepted format is YYYY-MM-DD.
  • DECIMAL - The corresponding String parameter value is sent as an object of DECIMAL type to the database.
  • JSON - The corresponding String parameter value is sent as an object of JSON type to the database.
  • TIME - The corresponding String parameter value is sent as an object of TIME type to the database. The accepted format is HH:MM:SS[.FFF].
  • TIMESTAMP - The corresponding String parameter value is sent as an object of TIMESTAMP type to the database. The accepted format is YYYY-MM-DD HH:MM:SS[.FFF].
  • UUID - The corresponding String parameter value is sent as an object of UUID type to the database.

sqlParameter_value :: Lens' SqlParameter (Maybe Field) Source #

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 corresponding String parameter value is sent as an object of DATE type to the database. The accepted format is YYYY-MM-DD.
  • DECIMAL - The corresponding String parameter value is sent as an object of DECIMAL type to the database.
  • JSON - The corresponding String parameter value is sent as an object of JSON type to the database.
  • TIME - The corresponding String parameter value is sent as an object of TIME type to the database. The accepted format is HH:MM:SS[.FFF].
  • TIMESTAMP - The corresponding String parameter value is sent as an object of TIMESTAMP type to the database. The accepted format is YYYY-MM-DD HH:MM:SS[.FFF].
  • UUID - The corresponding String parameter value is sent as an object of UUID type to the database.

UpdateResult

data UpdateResult Source #

The response elements represent the results of an update.

See: newUpdateResult smart constructor.

Constructors

UpdateResult' 

Fields

Instances

Instances details
Eq UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Read UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Show UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Generic UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Associated Types

type Rep UpdateResult :: Type -> Type #

NFData UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Methods

rnf :: UpdateResult -> () #

Hashable UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

FromJSON UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

type Rep UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

type Rep UpdateResult = D1 ('MetaData "UpdateResult" "Amazonka.RDSData.Types.UpdateResult" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "UpdateResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "generatedFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Field]))))

newUpdateResult :: UpdateResult Source #

Create a value of UpdateResult 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:generatedFields:UpdateResult', updateResult_generatedFields - Values for fields generated during the request.

updateResult_generatedFields :: Lens' UpdateResult (Maybe [Field]) Source #

Values for fields generated during the request.