LReqContext
fun <T, HReq, LReq> LReqContext(highLevelRequest: HReq, serializeSchema: ItemSchema<T>, mapperContext: MapperContext<T>, lowLevelRequest: LReq, error: Throwable? = null): LReqContext<T, HReq, LReq>
Creates a new LReqContext
Parameters
T
The type of objects being converted to/from DynamoDB items
HReq
The type of high-level request object (e.g., GetItemRequest)
LReq
The type of low-level request object (e.g., LowLevelGetItemRequest)
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.