Class InvokeWithResponseStreamResponse

    • Method Detail

      • statusCode

        public final Integer statusCode()

        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.

        Returns:
        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

        public final String executedVersion()

        The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

        Returns:
        The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
      • responseStreamContentType

        public final String responseStreamContentType()

        The type of data the stream is returning.

        Returns:
        The type of data the stream is returning.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object