getDevEndpoint method
Retrieves information about a specified development endpoint.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter endpointName :
Name of the DevEndpoint to retrieve information for.
Implementation
Future<GetDevEndpointResponse> getDevEndpoint({
required String endpointName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.GetDevEndpoint'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'EndpointName': endpointName,
},
);
return GetDevEndpointResponse.fromJson(jsonResponse.body);
}