Module Values.FunctionUrlConfigSource

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. creationTime : Timestamp.t option;
    (*

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

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

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

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

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

    *)
  6. 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 Security and auth model for Lambda function URLs.

    *)
  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.

    *)
}
Sourceval make : ?functionUrl:??? -> ?functionArn:??? -> ?creationTime:??? -> ?lastModifiedTime:??? -> ?cors:??? -> ?authType:??? -> ?invokeMode:??? -> unit -> 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