Module Values.TestInvokeAuthorizerRequestSource

Make a request to simulate the invocation of an Authorizer.

Sourcetype nonrec t = {
  1. restApiId : String_.t;
    (*

    The string identifier of the associated RestApi.

    *)
  2. authorizerId : String_.t;
    (*

    Specifies a test invoke authorizer request's Authorizer ID.

    *)
  3. headers : MapOfStringToString.t option;
    (*

    A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

    *)
  4. multiValueHeaders : MapOfStringToList.t option;
    (*

    The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.

    *)
  5. pathWithQueryString : String_.t option;
    (*

    The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

    *)
  6. body : String_.t option;
    (*

    The simulated request body of an incoming invocation request.

    *)
  7. stageVariables : MapOfStringToString.t option;
    (*

    A key-value map of stage variables to simulate an invocation on a deployed Stage.

    *)
  8. additionalContext : MapOfStringToString.t option;
    (*

    A key-value map of additional context variables.

    *)
}
Sourceval context_ : string
Sourceval make : ?headers:??? -> ?multiValueHeaders:??? -> ?pathWithQueryString:??? -> ?body:??? -> ?stageVariables:??? -> ?additionalContext:??? -> restApiId:String_.t -> authorizerId:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list | `String of String_.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