Module Values.GetFunctionUrlConfigResponseSource

Returns details about a Lambda function URL.

Sourcetype nonrec t = {
  1. functionUrl : FunctionUrl.t option;
    (*

    The HTTP URL endpoint for your function.

    *)
  2. functionArn : FunctionArn.t option;
    (*

    The Amazon Resource Name (ARN) of your function.

    *)
  3. authType : FunctionUrlAuthType.t option;
    (*

    The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs.

    *)
  4. cors : Cors.t option;
    (*

    The cross-origin resource sharing (CORS) settings for your function URL.

    *)
  5. creationTime : Timestamp.t option;
    (*

    When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    *)
  6. lastModifiedTime : Timestamp.t option;
    (*

    When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    *)
  7. invokeMode : InvokeMode.t option;
    (*

    Use one of the following options: BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB. RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The maximum response payload size is 200 MB.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterValueException of InvalidParameterValueException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ServiceException of ServiceException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?functionUrl:??? -> ?functionArn:??? -> ?authType:??? -> ?cors:??? -> ?creationTime:??? -> ?lastModifiedTime:??? -> ?invokeMode:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of FunctionUrl.t | `Structure of (string * [> `Boolean of AllowCredentials.t | `Integer of MaxAge.t | `List of [> `String of Header.t ] 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