send method
Implementation
Future<RestXmlResponse> 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,
String? resultWrapper,
}) async {
final rs = await sendRaw(
method: method,
requestUri: requestUri,
exceptionFnMap: exceptionFnMap,
signed: signed,
queryParams: queryParams,
headers: headers,
payload: payload,
resultWrapper: resultWrapper,
);
final elem = await xmlFromResponse(rs, resultWrapper: resultWrapper);
return RestXmlResponse(rs.headers, elem);
}