Experimental
@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
HttpResponseWrapper Struct
Response from the HttpCall resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
declare const body: any;
declare const headers: any;
const httpResponseWrapper: integ_tests_alpha.HttpResponseWrapper = {
apiCallResponse: {
body: body,
headers: {
headersKey: headers,
},
ok: false,
status: 123,
statusText: 'statusText',
},
};
Properties
apiCallResponseHttpResponseapi_call_responseHttpResponseapiCallResponseHttpResponseApiCallResponseHttpResponseApiCallResponseHttpResponserequired#The Response from the fetch request.