send method

Future<Map<String, dynamic>> send({
  1. required String method,
  2. required String requestUri,
  3. required Map<String, AwsExceptionFn> exceptionFnMap,
  4. bool signed = true,
  5. Map<String, List<String>>? queryParams,
  6. Map<String, String>? headers,
  7. dynamic payload,
  8. 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);
}