send method
Future<Map<String, dynamic>>
send(
{ - required String method,
- required String requestUri,
- required Map<String, AwsExceptionFn> exceptionFnMap,
- bool signed = true,
- Map<String, List<String>>? queryParams,
- dynamic payload,
- bool isRawPayload = false,
})
Implementation
Future<Map<String, dynamic>> send({
required String method,
required String requestUri,
required Map<String, AwsExceptionFn> exceptionFnMap,
bool signed = true,
Map<String, List<String>>? queryParams,
Map<String, String>? headers,
dynamic payload,
bool isRawPayload = false,
}) async {
final rs = await sendRaw(
method: method,
requestUri: requestUri,
exceptionFnMap: exceptionFnMap,
signed: signed,
queryParams: queryParams,
headers: headers,
payload: payload,
);
return jsonFromResponse(rs);
}