public void LambdaGetAccountSettings() { #region to-retrieves-a-lambda-customers-account-settings-1481657495274 var response = client.GetAccountSettings(new GetAccountSettingsRequest { }); AccountLimit accountLimit = response.AccountLimit; AccountUsage accountUsage = response.AccountUsage; #endregion }
private Amazon.Lambda.Model.GetAccountSettingsResponse CallAWSServiceOperation(IAmazonLambda client, Amazon.Lambda.Model.GetAccountSettingsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Lambda", "GetAccountSettings"); try { #if DESKTOP return(client.GetAccountSettings(request)); #elif CORECLR return(client.GetAccountSettingsAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }