getNamespaceDeletionStatus method

Future<GetNamespaceDeletionStatusResponse> getNamespaceDeletionStatus()

Gets the status of a namespace deletion task.

May throw InvalidRequestException. May throw InternalFailureException. May throw ThrottlingException.

Implementation

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

  return GetNamespaceDeletionStatusResponse.fromJson(jsonResponse.body);
}