Module Values_2.TestConnectionRequestSource

Tests a connection to a service to validate the service credentials that you provide. You can either provide an existing connection name or a TestConnectionInput for testing a non-existing connection input. Providing both at the same time will cause an error. If the action is successful, the service sends back an HTTP 200 response.

Sourcetype nonrec t = {
  1. connectionName : Values_0.NameString.t option;
    (*

    Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.

    *)
  2. catalogId : Values_0.CatalogIdString.t option;
    (*

    The catalog ID where the connection resides.

    *)
  3. testConnectionInput : TestConnectionInput.t option;
    (*

    A structure that is used to specify testing a connection to a service.

    *)
}
Sourceval make : ?connectionName:??? -> ?catalogId:??? -> ?testConnectionInput:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.NameString.t | `Structure of (string * [> `Enum of string | `Map of ([> `Enum of string ] * [> `String of Values_0.ValueString.t ]) list | `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list ]) 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