deleteDataTransformationProfile method
Future<DeleteDataTransformationProfileResponse>
deleteDataTransformationProfile({
- required String profileId,
Deletes a data transformation profile and all its versions, including the DRAFT and all published versions.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter profileId :
The unique identifier of the profile to delete.
Implementation
Future<DeleteDataTransformationProfileResponse>
deleteDataTransformationProfile({
required String profileId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'HealthLake.DeleteDataTransformationProfile'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ProfileId': profileId,
},
hostPrefix: 'datatransformation.',
);
return DeleteDataTransformationProfileResponse.fromJson(jsonResponse.body);
}