AWSAPIGatewayClient
Objective-C
@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
Swift
class AWSAPIGatewayClient : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) AWSServiceConfiguration *configurationSwift
var configuration: AWSServiceConfiguration { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *APIKeySwift
var apiKey: String? { get set } -
The invoke method can be used to invoke an
AWS API GatewayAPI endpoint with aAWSAPIGatewayRequestobject.Declaration
Objective-C
- (id)invoke:(nonnull AWSAPIGatewayRequest *)apiRequest;Swift
func invoke(_ apiRequest: AWSAPIGatewayRequest) -> Any!Parameters
apiRequestAn
AWSAPIGatewayRequestobject.Return Value
An instance of
AWSTask. On successful execution,task.resultwill contain an instance ofAWSAPIGatewayResponse. On failed execution,task.errormay contain anNSError.
View on GitHub
Install in Dash
AWSAPIGatewayClient Class Reference