AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Creates a receipt rule.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract CreateReceiptRuleResponse CreateReceiptRule(
         CreateReceiptRuleRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.CreateReceiptRuleRequest

Container for the necessary parameters to execute the CreateReceiptRule service method.

Return Value
Type: Amazon.SimpleEmail.Model.CreateReceiptRuleResponse
The response from the CreateReceiptRule service method, as returned by SimpleEmailService.

Exceptions

ExceptionCondition
AlreadyExistsException Indicates that a resource could not be created due to a naming conflict.
InvalidLambdaFunctionException Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
InvalidS3ConfigurationException Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
InvalidSnsTopicException Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not publish to the topic, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
LimitExceededException Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.
RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5