disableHttpEndpoint method

Future<DisableHttpEndpointResponse> disableHttpEndpoint({
  1. required String resourceArn,
})

Disables the HTTP endpoint for the specified DB cluster. Disabling this endpoint disables RDS Data API.

For more information, see Using RDS Data API in the Amazon Aurora User Guide.

May throw InvalidResourceStateFault. May throw ResourceNotFoundFault.

Parameter resourceArn : The Amazon Resource Name (ARN) of the DB cluster.

Implementation

Future<DisableHttpEndpointResponse> disableHttpEndpoint({
  required String resourceArn,
}) async {
  final $request = <String, String>{
    'ResourceArn': resourceArn,
  };
  final $result = await _protocol.send(
    $request,
    action: 'DisableHttpEndpoint',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    resultWrapper: 'DisableHttpEndpointResult',
  );
  return DisableHttpEndpointResponse.fromXml($result);
}