AWS SDK Version 3 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.

Represents the details of the specified receipt rule set.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.DescribeReceiptRuleSetResponse

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeReceiptRuleSetResponse : AmazonWebServiceResponse

The DescribeReceiptRuleSetResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Metadata Amazon.SimpleEmail.Model.ReceiptRuleSetMetadata

Gets and sets the property Metadata.

The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Rules System.Collections.Generic.List<Amazon.SimpleEmail.Model.ReceiptRule>

Gets and sets the property Rules.

A list of the receipt rules that belong to the specified receipt rule set.

Examples

The following example returns the metadata and receipt rules of a receipt rule set:

DescribeReceiptRuleSet


var client = new AmazonSimpleEmailServiceClient();
var response = client.DescribeReceiptRuleSet(new DescribeReceiptRuleSetRequest 
{
    RuleSetName = "MyRuleSet"
});

ReceiptRuleSetMetadata metadata = response.Metadata;
List<ReceiptRule> rules = response.Rules;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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