public void SimpleEmailServiceDescribeActiveReceiptRuleSet() { #region describeactivereceiptruleset-1469121611502 var response = client.DescribeActiveReceiptRuleSet(new DescribeActiveReceiptRuleSetRequest { }); ReceiptRuleSetMetadata metadata = response.Metadata; List <ReceiptRule> rules = response.Rules; #endregion }
private Amazon.SimpleEmail.Model.DescribeActiveReceiptRuleSetResponse CallAWSServiceOperation(IAmazonSimpleEmailService client, Amazon.SimpleEmail.Model.DescribeActiveReceiptRuleSetRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Simple Email Service (SES)", "DescribeActiveReceiptRuleSet"); try { #if DESKTOP return(client.DescribeActiveReceiptRuleSet(request)); #elif CORECLR return(client.DescribeActiveReceiptRuleSetAsync(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; } }