deleteUsageReportSubscription method

Future<void> deleteUsageReportSubscription()

Disables usage report generation.

May throw InvalidAccountStatusException. May throw ResourceNotFoundException.

Implementation

Future<void> deleteUsageReportSubscription() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'PhotonAdminProxyService.DeleteUsageReportSubscription'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );
}