Values.InvokeWithResponseStreamResponseSourceConfigure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
type nonrec t = {statusCode : Integer.t option;For a successful request, the HTTP status code is in the 200 range. For the RequestResponse invocation type, this status code is 200. For the DryRun invocation type, this status code is 204.
*)executedVersion : Version.t option;The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
*)eventStream : InvokeWithResponseStreamResponseEvent.t option;The stream of response payloads.
*)responseStreamContentType : String_.t option;The type of data the stream is returning.
*)}type nonrec error = [ | `EC2AccessDeniedException of EC2AccessDeniedException.t| `EC2ThrottledException of EC2ThrottledException.t| `EC2UnexpectedException of EC2UnexpectedException.t| `EFSIOException of EFSIOException.t| `EFSMountConnectivityException of EFSMountConnectivityException.t| `EFSMountFailureException of EFSMountFailureException.t| `EFSMountTimeoutException of EFSMountTimeoutException.t| `ENILimitReachedException of ENILimitReachedException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `InvalidRequestContentException of InvalidRequestContentException.t| `InvalidRuntimeException of InvalidRuntimeException.t| `InvalidSecurityGroupIDException of InvalidSecurityGroupIDException.t| `InvalidSubnetIDException of InvalidSubnetIDException.t| `InvalidZipFileException of InvalidZipFileException.t| `KMSAccessDeniedException of KMSAccessDeniedException.t| `KMSDisabledException of KMSDisabledException.t| `KMSInvalidStateException of KMSInvalidStateException.t| `KMSNotFoundException of KMSNotFoundException.t| `NoPublishedVersionException of NoPublishedVersionException.t| `RecursiveInvocationException of RecursiveInvocationException.t| `RequestTooLargeException of RequestTooLargeException.t| `ResourceConflictException of ResourceConflictException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ResourceNotReadyException of ResourceNotReadyException.t| `S3FilesMountConnectivityException of S3FilesMountConnectivityException.t| `S3FilesMountFailureException of S3FilesMountFailureException.t| `S3FilesMountTimeoutException of S3FilesMountTimeoutException.t| `SerializedRequestEntityTooLargeException of
SerializedRequestEntityTooLargeException.t| `ServiceException of ServiceException.t| `SnapStartException of SnapStartException.t| `SnapStartNotReadyException of SnapStartNotReadyException.t| `SnapStartTimeoutException of SnapStartTimeoutException.t| `SubnetIPAddressLimitReachedException of SubnetIPAddressLimitReachedException.t| `TooManyRequestsException of TooManyRequestsException.t| `UnsupportedMediaTypeException of UnsupportedMediaTypeException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `EC2AccessDeniedException of EC2AccessDeniedException.t
| `EC2ThrottledException of EC2ThrottledException.t
| `EC2UnexpectedException of EC2UnexpectedException.t
| `EFSIOException of EFSIOException.t
| `EFSMountConnectivityException of EFSMountConnectivityException.t
| `EFSMountFailureException of EFSMountFailureException.t
| `EFSMountTimeoutException of EFSMountTimeoutException.t
| `ENILimitReachedException of ENILimitReachedException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `InvalidRequestContentException of InvalidRequestContentException.t
| `InvalidRuntimeException of InvalidRuntimeException.t
| `InvalidSecurityGroupIDException of InvalidSecurityGroupIDException.t
| `InvalidSubnetIDException of InvalidSubnetIDException.t
| `InvalidZipFileException of InvalidZipFileException.t
| `KMSAccessDeniedException of KMSAccessDeniedException.t
| `KMSDisabledException of KMSDisabledException.t
| `KMSInvalidStateException of KMSInvalidStateException.t
| `KMSNotFoundException of KMSNotFoundException.t
| `NoPublishedVersionException of NoPublishedVersionException.t
| `RecursiveInvocationException of RecursiveInvocationException.t
| `RequestTooLargeException of RequestTooLargeException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ResourceNotReadyException of ResourceNotReadyException.t
| `S3FilesMountConnectivityException of S3FilesMountConnectivityException.t
| `S3FilesMountFailureException of S3FilesMountFailureException.t
| `S3FilesMountTimeoutException of S3FilesMountTimeoutException.t
| `SerializedRequestEntityTooLargeException of
SerializedRequestEntityTooLargeException.t
| `ServiceException of ServiceException.t
| `SnapStartException of SnapStartException.t
| `SnapStartNotReadyException of SnapStartNotReadyException.t
| `SnapStartTimeoutException of SnapStartTimeoutException.t
| `SubnetIPAddressLimitReachedException of
SubnetIPAddressLimitReachedException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UnsupportedMediaTypeException of UnsupportedMediaTypeException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `EC2AccessDeniedException of EC2AccessDeniedException.t
| `EC2ThrottledException of EC2ThrottledException.t
| `EC2UnexpectedException of EC2UnexpectedException.t
| `EFSIOException of EFSIOException.t
| `EFSMountConnectivityException of EFSMountConnectivityException.t
| `EFSMountFailureException of EFSMountFailureException.t
| `EFSMountTimeoutException of EFSMountTimeoutException.t
| `ENILimitReachedException of ENILimitReachedException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `InvalidRequestContentException of InvalidRequestContentException.t
| `InvalidRuntimeException of InvalidRuntimeException.t
| `InvalidSecurityGroupIDException of InvalidSecurityGroupIDException.t
| `InvalidSubnetIDException of InvalidSubnetIDException.t
| `InvalidZipFileException of InvalidZipFileException.t
| `KMSAccessDeniedException of KMSAccessDeniedException.t
| `KMSDisabledException of KMSDisabledException.t
| `KMSInvalidStateException of KMSInvalidStateException.t
| `KMSNotFoundException of KMSNotFoundException.t
| `NoPublishedVersionException of NoPublishedVersionException.t
| `RecursiveInvocationException of RecursiveInvocationException.t
| `RequestTooLargeException of RequestTooLargeException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ResourceNotReadyException of ResourceNotReadyException.t
| `S3FilesMountConnectivityException of S3FilesMountConnectivityException.t
| `S3FilesMountFailureException of S3FilesMountFailureException.t
| `S3FilesMountTimeoutException of S3FilesMountTimeoutException.t
| `SerializedRequestEntityTooLargeException of
SerializedRequestEntityTooLargeException.t
| `ServiceException of ServiceException.t
| `SnapStartException of SnapStartException.t
| `SnapStartNotReadyException of SnapStartNotReadyException.t
| `SnapStartTimeoutException of SnapStartTimeoutException.t
| `SubnetIPAddressLimitReachedException of
SubnetIPAddressLimitReachedException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UnsupportedMediaTypeException of UnsupportedMediaTypeException.t ]val of_header_and_body :
((string, Version.t) Awso.Import.List.Assoc.t
* InvokeWithResponseStreamResponseEvent.t) ->
t