cancelTraceRetrieval method
Cancels an ongoing trace retrieval job initiated by
StartTraceRetrieval using the provided
RetrievalToken. A successful cancellation will return an HTTP
200 response.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottledException.
Parameter retrievalToken :
Retrieval token.
Implementation
Future<void> cancelTraceRetrieval({
required String retrievalToken,
}) async {
final $payload = <String, dynamic>{
'RetrievalToken': retrievalToken,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/CancelTraceRetrieval',
exceptionFnMap: _exceptionFns,
);
}