AWSAPIGatewayResponse

@interface 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 (readonly, nonatomic) NSDictionary *_Nonnull headers;

    Swift

    var headers: [AnyHashable : Any] { get }
  • The response data received in NSURLResponse on invocation of an API.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSData *responseData;

    Swift

    var responseData: Data? { get }
  • The Raw NSURLResponse received on an API invocation.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSURLResponse *_Nonnull rawResponse;

    Swift

    var rawResponse: URLResponse { get }
  • The status code received in NSURLResponse on invocation of an API.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger statusCode;

    Swift

    var statusCode: Int { get }