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.
Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z
public class ListReceiptRuleSetsResponse : AmazonWebServiceResponse
The ListReceiptRuleSetsResponse type exposes the following members
Name | Description | |
---|---|---|
ListReceiptRuleSetsResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
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 |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
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. |
The following example lists the receipt rule sets that exist under an AWS account:
var client = new AmazonSimpleEmailServiceClient(); var response = client.ListReceiptRuleSets(new ListReceiptRuleSetsRequest { NextToken = "" }); string nextToken = response.NextToken; List<ReceiptRuleSetMetadata> ruleSets = response.RuleSets;
.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