deleteConnectionRecordingPreferences method

Future<DeleteConnectionRecordingPreferencesResponse> deleteConnectionRecordingPreferences({
  1. String? clientToken,
})

Deletes the preferences for recording RDP connections.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter clientToken : User-provided idempotency token.

Implementation

Future<DeleteConnectionRecordingPreferencesResponse>
    deleteConnectionRecordingPreferences({
  String? clientToken,
}) async {
  final $payload = <String, dynamic>{
    'ClientToken': clientToken ?? _s.generateIdempotencyToken(),
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteConnectionRecordingPreferences',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteConnectionRecordingPreferencesResponse.fromJson(response);
}