Smaws_Client_RDS.DisableHttpEndpointDisables 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.
This operation applies only to Aurora Serverless v2 and provisioned DB clusters. To disable the HTTP endpoint for Aurora Serverless v1 DB clusters, use the EnableHttpEndpoint parameter of the ModifyDBCluster operation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.disable_http_endpoint_request ->
(Types.disable_http_endpoint_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.disable_http_endpoint_request ->
(Types.disable_http_endpoint_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result