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.

A list of receipt rule sets that exist under your Amazon Web Services account.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListReceiptRuleSetsResponse : AmazonWebServiceResponse

The ListReceiptRuleSetsResponse 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 NextToken System.String

Gets and sets the property NextToken.

A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

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

Gets and sets the property RuleSets.

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

Examples

The following example lists the receipt rule sets that exist under an AWS account:

ListReceiptRuleSets


var client = new AmazonSimpleEmailServiceClient();
var response = client.ListReceiptRuleSets(new ListReceiptRuleSetsRequest 
{
    NextToken = ""
});

string nextToken = response.NextToken;
List<ReceiptRuleSetMetadata> ruleSets = response.RuleSets;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5