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 metadata and receipt rules for the receipt rule set that is currently active.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeActiveReceiptRuleSetResponse : AmazonWebServiceResponse

The DescribeActiveReceiptRuleSetResponse 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 currently active receipt rule set. The metadata consists of the rule set name and a 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.

The receipt rules that belong to the active rule set.

Examples

The following example returns the metadata and receipt rules for the receipt rule set that is currently active:

DescribeActiveReceiptRuleSet


var client = new AmazonSimpleEmailServiceClient();
var response = client.DescribeActiveReceiptRuleSet(new DescribeActiveReceiptRuleSetRequest 
{
});

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