deleteCustomEntityType method
Deletes a custom pattern by specifying its name.
May throw AccessDeniedException.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter name :
The name of the custom pattern that you want to delete.
Implementation
Future<DeleteCustomEntityTypeResponse> deleteCustomEntityType({
required String name,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.DeleteCustomEntityType'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Name': name,
},
);
return DeleteCustomEntityTypeResponse.fromJson(jsonResponse.body);
}