Jump to Content

Class ListReceiptFiltersCommandProtected

Lists the IP address filters associated with your AWS account in the current AWS Region.

For information about managing IP address filters, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Example

Use a bare-bones client and the command you need to make an API call.

import { SESClient, ListReceiptFiltersCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, ListReceiptFiltersCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const command = new ListReceiptFiltersCommand(input);
const response = await client.send(command);

Param

ListReceiptFiltersCommandInput

Returns

ListReceiptFiltersCommandOutput

See

Example

ListReceiptFilters

// The following example lists the IP address filters that are associated with an AWS account:
const input = undefined;
const command = new ListReceiptFiltersCommand(input);
const response = await client.send(command);
/* response ==
{
"Filters": [
{
"IpFilter": {
"Cidr": "1.2.3.4/24",
"Policy": "Block"
},
"Name": "MyFilter"
}
]
}
*/
// example id: listreceiptfilters-1469120786789

Hierarchy

Constructors

Properties

Methods