Module Values.CreateAPIKeyResponseSource

Creates an API key that contains a set of token domains. API keys are required for the integration of the CAPTCHA API in your JavaScript client applications. The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users. For more information about the CAPTCHA JavaScript integration, see WAF client application integration in the WAF Developer Guide. You can use a single key for up to 5 domains. After you generate a key, you can copy it for use in your JavaScript integration.

Sourcetype nonrec t = {
  1. aPIKey : APIKey.t option;
    (*

    The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.

    *)
}
Sourcetype nonrec error = [
  1. | `WAFInternalErrorException of WAFInternalErrorException.t
  2. | `WAFInvalidOperationException of WAFInvalidOperationException.t
  3. | `WAFInvalidParameterException of WAFInvalidParameterException.t
  4. | `WAFLimitsExceededException of WAFLimitsExceededException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?aPIKey:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidOperationException of WAFInvalidOperationException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFLimitsExceededException of WAFLimitsExceededException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidOperationException of WAFInvalidOperationException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFLimitsExceededException of WAFLimitsExceededException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of APIKey.t ]) 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