AWSAPIGatewayClient

@interface AWSAPIGatewayClient : NSObject

@property (nonatomic, strong) AWSServiceConfiguration *configuration;

@property (nonatomic, strong, nullable) NSString *APIKey;



/**
 *  The invoke method can be used to invoke an `AWS API Gateway` API endpoint with a `AWSAPIGatewayRequest` object.
 *
 *  @param apiRequest An `AWSAPIGatewayRequest` object.
 *
 *  @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSAPIGatewayResponse`. On failed execution, `task.error` may contain an `NSError`.
 */
- (AWSTask<AWSAPIGatewayResponse *> *)invoke:(AWSAPIGatewayRequest *)apiRequest;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSServiceConfiguration *configuration

    Swift

    var configuration: AWSServiceConfiguration { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *APIKey

    Swift

    var apiKey: String? { get set }
  • The invoke method can be used to invoke an AWS API Gateway API endpoint with a AWSAPIGatewayRequest object.

    Declaration

    Objective-C

    - (id)invoke:(nonnull AWSAPIGatewayRequest *)apiRequest;

    Swift

    func invoke(_ apiRequest: AWSAPIGatewayRequest) -> Any!

    Parameters

    apiRequest

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSAPIGatewayResponse. On failed execution, task.error may contain an NSError.