public void SimpleEmailServiceCreateReceiptFilter()
        {
            #region createreceiptfilter-1469122681253

            var response = client.CreateReceiptFilter(new CreateReceiptFilterRequest
            {
                Filter = new ReceiptFilter {
                    IpFilter = new ReceiptIpFilter {
                        Cidr   = "1.2.3.4/24",
                        Policy = "Allow"
                    },
                    Name = "MyFilter"
                }
            });


            #endregion
        }
 private Amazon.SimpleEmail.Model.CreateReceiptFilterResponse CallAWSServiceOperation(IAmazonSimpleEmailService client, Amazon.SimpleEmail.Model.CreateReceiptFilterRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Simple Email Service (SES)", "CreateReceiptFilter");
     try
     {
         #if DESKTOP
         return(client.CreateReceiptFilter(request));
         #elif CORECLR
         return(client.CreateReceiptFilterAsync(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;
     }
 }