deleteDecoderManifest method

Future<DeleteDecoderManifestResponse> deleteDecoderManifest({
  1. required String name,
})

Deletes a decoder manifest. You can't delete a decoder manifest if it has vehicles associated with it.

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

Parameter name : The name of the decoder manifest to delete.

Implementation

Future<DeleteDecoderManifestResponse> deleteDecoderManifest({
  required String name,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'IoTAutobahnControlPlane.DeleteDecoderManifest'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'name': name,
    },
  );

  return DeleteDecoderManifestResponse.fromJson(jsonResponse.body);
}