LReqContext
fun <T, S : ItemSchema<T>, HReq, LReq> LReqContext(highLevelRequest: HReq, serializeSchema: S, mapperContext: MapperContext<T>, lowLevelRequest: LReq, error: Throwable? = null): LReqContext<T, S, HReq, LReq>
Creates a new LReqContext
Parameters
highLevelRequest
The high-level request object which is to be serialized into a low-level request object
serializeSchema
The ItemSchema to use for serializing objects into items
mapperContext
Additional, generalized context which may be useful to interceptors
lowLevelRequest
The low-level request object which is to be used in the low-level operation invocation
error
The most recent error which occurred, if any. Defaults to null.
Type Parameters
T
The type of objects being converted to/from DynamoDB items
S
The type of schema used for conversion
HReq
The type of high-level request object (e.g., GetItemRequest)
LReq
The type of low-level request object (e.g., LowLevelGetItemRequest)