amazonka-rds-data-2.0: Amazon RDS DataService 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.RDSData.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You do not have sufficient access to perform this action.

_BadRequestException :: AsError a => Fold a ServiceError Source #

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

_ForbiddenException :: AsError a => Fold a ServiceError Source #

There are insufficient privileges to make the call.

_InternalServerErrorException :: AsError a => Fold a ServiceError Source #

An internal error occurred.

_NotFoundException :: AsError a => Fold a ServiceError Source #

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

_ServiceUnavailableError :: AsError a => Fold a ServiceError Source #

The service specified by the resourceArn parameter is not available.

_StatementTimeoutException :: AsError a => Fold a ServiceError Source #

The execution of the SQL statement timed out.

DecimalReturnType

newtype DecimalReturnType Source #

Instances

Instances details
FromJSON DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromJSONKey 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

ToByteString DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToHeader DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToLog DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToQuery 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

FromXML DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToXML 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 #

Read DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Show DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

NFData DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Methods

rnf :: DecimalReturnType -> () #

Eq DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Ord DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'True) (C1 ('MetaCons "DecimalReturnType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDecimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LongReturnType

newtype LongReturnType Source #

Constructors

LongReturnType' 

Instances

Instances details
FromJSON LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

FromJSONKey LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToJSON LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToJSONKey LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToByteString LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToHeader LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToLog LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToQuery LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

FromText LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToText LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

FromXML LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

ToXML LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Methods

toXML :: LongReturnType -> XML #

Generic LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Associated Types

type Rep LongReturnType :: Type -> Type #

Read LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Show LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

NFData LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Methods

rnf :: LongReturnType -> () #

Eq LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Ord LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

Hashable LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

type Rep LongReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.LongReturnType

type Rep LongReturnType = D1 ('MetaData "LongReturnType" "Amazonka.RDSData.Types.LongReturnType" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'True) (C1 ('MetaCons "LongReturnType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLongReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RecordsFormatType

newtype RecordsFormatType Source #

Instances

Instances details
FromJSON RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

FromJSONKey RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToJSON RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToJSONKey RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToByteString RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToHeader RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToLog RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToQuery RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

FromText RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToText RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

FromXML RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

ToXML RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Generic RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Associated Types

type Rep RecordsFormatType :: Type -> Type #

Read RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Show RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

NFData RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Methods

rnf :: RecordsFormatType -> () #

Eq RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Ord RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

Hashable RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

type Rep RecordsFormatType Source # 
Instance details

Defined in Amazonka.RDSData.Types.RecordsFormatType

type Rep RecordsFormatType = D1 ('MetaData "RecordsFormatType" "Amazonka.RDSData.Types.RecordsFormatType" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'True) (C1 ('MetaCons "RecordsFormatType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRecordsFormatType") '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
FromJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToByteString TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toBS :: TypeHint -> ByteString #

ToHeader TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

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

ToLog TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToQuery TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

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 #

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 #

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 #

Read TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Show TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

NFData TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

rnf :: TypeHint -> () #

Eq TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Ord TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Hashable TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

hashWithSalt :: Int -> TypeHint -> Int #

hash :: TypeHint -> Int #

type Rep TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

type Rep TypeHint = D1 ('MetaData "TypeHint" "Amazonka.RDSData.Types.TypeHint" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" '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
FromJSON ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

ToJSON 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 #

Read ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Show ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

NFData ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Methods

rnf :: ArrayValue -> () #

Eq ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "ArrayValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arrayValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ArrayValue])) :*: S1 ('MetaSel ('Just "booleanValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Bool]))) :*: (S1 ('MetaSel ('Just "doubleValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double])) :*: (S1 ('MetaSel ('Just "longValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Integer])) :*: S1 ('MetaSel ('Just "stringValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

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:arrayValues:ArrayValue', arrayValue_arrayValues - An array of arrays.

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

$sel:doubleValues:ArrayValue', arrayValue_doubleValues - An array of floating-point numbers.

$sel:longValues:ArrayValue', arrayValue_longValues - An array of integers.

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

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

An array of Boolean values.

arrayValue_doubleValues :: Lens' ArrayValue (Maybe [Double]) Source #

An array of floating-point numbers.

ColumnMetadata

data ColumnMetadata Source #

Contains the metadata for a column.

See: newColumnMetadata smart constructor.

Constructors

ColumnMetadata' 

Fields

Instances

Instances details
FromJSON 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 #

Read ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Show ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

NFData ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Methods

rnf :: ColumnMetadata -> () #

Eq ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "ColumnMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arrayBaseColumnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "isAutoIncrement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isCaseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "isCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isSigned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "nullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "typeName") '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:arrayBaseColumnType:ColumnMetadata', columnMetadata_arrayBaseColumnType - The type of the column.

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

$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: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:name:ColumnMetadata', columnMetadata_name - The name of the column.

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

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

$sel:scale:ColumnMetadata', columnMetadata_scale - The scale 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:tableName:ColumnMetadata', columnMetadata_tableName - The name of the table that includes the column.

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

$sel:typeName:ColumnMetadata', columnMetadata_typeName - The database-specific data type of the column.

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

A value that indicates whether the column increments automatically.

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_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_precision :: Lens' ColumnMetadata (Maybe Int) Source #

The precision value of a decimal number column.

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

The scale 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_tableName :: Lens' ColumnMetadata (Maybe Text) Source #

The name of the table that includes the column.

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

The database-specific data type of the column.

Field

data Field Source #

Contains a value.

See: newField smart constructor.

Constructors

Field' 

Fields

Instances

Instances details
FromJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

ToJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

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 #

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 #

NFData Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

rnf :: Field -> () #

Eq Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

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

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

Hashable Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

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: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:booleanValue:Field', field_booleanValue - A value of Boolean data type.

$sel:doubleValue:Field', field_doubleValue - A value of double data type.

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

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

$sel:stringValue:Field', field_stringValue - A value of string 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.

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

A value of Boolean data type.

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

A value of double data type.

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

A value of long data type.

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

A value of string data type.

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.

  • longReturnType :: Maybe LongReturnType

    A value that indicates how a field of LONG type is represented. Allowed values are LONG and STRING. The default is LONG. Specify STRING if the length or precision of numeric values might cause truncation or rounding errors.

Instances

Instances details
ToJSON 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 #

Read ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Show ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

NFData ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Methods

rnf :: ResultSetOptions -> () #

Eq ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "ResultSetOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "decimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DecimalReturnType)) :*: S1 ('MetaSel ('Just "longReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LongReturnType))))

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.

$sel:longReturnType:ResultSetOptions', resultSetOptions_longReturnType - A value that indicates how a field of LONG type is represented. Allowed values are LONG and STRING. The default is LONG. Specify STRING if the length or precision of numeric values might cause truncation or rounding errors.

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.

resultSetOptions_longReturnType :: Lens' ResultSetOptions (Maybe LongReturnType) Source #

A value that indicates how a field of LONG type is represented. Allowed values are LONG and STRING. The default is LONG. Specify STRING if the length or precision of numeric values might cause truncation or rounding errors.

SqlParameter

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Constructors

SqlParameter' 

Fields

  • 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.
  • value :: Maybe Field

    The value of the parameter.

Instances

Instances details
ToJSON 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 #

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Show SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "SqlParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "typeHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeHint)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Field)))))

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

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

UpdateResult

data UpdateResult Source #

The response elements represent the results of an update.

See: newUpdateResult smart constructor.

Constructors

UpdateResult' 

Fields

Instances

Instances details
FromJSON 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 #

Read UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Show UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

NFData UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Methods

rnf :: UpdateResult -> () #

Eq UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Hashable 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" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" '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.