Module Values_1.EnableHttpEndpointResponseSource

Enables the HTTP endpoint for the DB cluster. By default, the HTTP endpoint isn't enabled. When enabled, this endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the Aurora DB cluster. You can also query your database from inside the RDS console with the RDS query editor. 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 enable the HTTP endpoint for Aurora Serverless v1 DB clusters, use the EnableHttpEndpoint parameter of the ModifyDBCluster operation.

Sourcetype enableHttpEndpointResult = {
  1. resourceArn : Values_0.String_.t option;
    (*

    The ARN of the DB cluster.

    *)
  2. httpEndpointEnabled : Values_0.Boolean.t option;
    (*

    Indicates whether the HTTP endpoint is enabled or disabled for the DB cluster.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. enableHttpEndpointResult : enableHttpEndpointResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidResourceStateFault of Values_0.InvalidResourceStateFault.t
  2. | `ResourceNotFoundFault of Values_0.ResourceNotFoundFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?resourceArn:??? -> ?httpEndpointEnabled:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidResourceStateFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidResourceStateFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `String of Values_0.String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t