deleteDevEndpoint method
Deletes a specified development endpoint.
May throw EntityNotFoundException. May throw InternalServiceException. May throw OperationTimeoutException. May throw InvalidInputException.
Parameter endpointName
:
The name of the DevEndpoint
.
Implementation
Future<void> deleteDevEndpoint({
required String endpointName,
}) async {
ArgumentError.checkNotNull(endpointName, 'endpointName');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.DeleteDevEndpoint'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'EndpointName': endpointName,
},
);
}