Created
January 30, 2019 13:34
-
-
Save milancermak/3b5ddb77feaa454a51b3d66dc29793f8 to your computer and use it in GitHub Desktop.
Set custom request timeout for AWSLambdaInovker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// my swift is a little bit rusty, hope this works | |
let configuration = AWSServiceManager.defaultServiceManager().defaultServiceConfiguration.copy(); | |
configuration.timeoutIntervalForRequest = 90; | |
AWSLambdaInvoker.register(with: configuration!, forKey: "USWest2LambdaInvoker") | |
let lambdaInvoker = AWSLambdaInvoker(forKey: "USWest2LambdaInvoker") | |
// lambdaInvoker.invokeFunction ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment