AWSAPIGatewayResponse
Objective-C
@interface AWSAPIGatewayResponse : NSObject
Swift
class AWSAPIGatewayResponse : NSObject
The response object for a successful AWS API Gateway invocation using the invoke
method.
-
The response headers received in NSURLResponse on invocation of an API.
Declaration
Objective-C
@property (nonatomic, readonly) NSDictionary *_Nonnull headers;
Swift
var headers: [AnyHashable : Any] { get }
-
The response data received in NSURLResponse on invocation of an API.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSData *responseData;
Swift
var responseData: Data? { get }
-
The Raw NSURLResponse received on an API invocation.
Declaration
Objective-C
@property (nonatomic, readonly) NSURLResponse *_Nonnull rawResponse;
Swift
var rawResponse: URLResponse { get }
-
The status code received in NSURLResponse on invocation of an API.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger statusCode;
Swift
var statusCode: Int { get }