interface HttpResponseWrapper
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.HttpResponseWrapper |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#HttpResponseWrapper |
Java | software.amazon.awscdk.integtests.alpha.HttpResponseWrapper |
Python | aws_cdk.integ_tests_alpha.HttpResponseWrapper |
TypeScript (source) | @aws-cdk/integ-tests-alpha » HttpResponseWrapper |
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 * 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
Name | Type | Description |
---|---|---|
api | Http | The Response from the fetch request. |
apiCallResponse
Type:
Http
The Response from the fetch request.