Interface HttpResponseWrapper

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HttpResponseWrapper.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.277Z") @Stability(Experimental) public interface HttpResponseWrapper extends software.amazon.jsii.JsiiSerializable
(experimental) Response from the HttpCall resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.integtests.alpha.*;
 Object body;
 Object headers;
 HttpResponseWrapper httpResponseWrapper = HttpResponseWrapper.builder()
         .apiCallResponse(HttpResponse.builder()
                 .body(body)
                 .headers(Map.of(
                         "headersKey", headers))
                 .ok(false)
                 .status(123)
                 .statusText("statusText")
                 .build())
         .build();