| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SES.CreateReceiptFilter
Description
Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide .
You can execute this operation no more than once per second.
Creating a Request
Arguments
| :: ReceiptFilter | |
| -> CreateReceiptFilter |
Creates a value of CreateReceiptFilter with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crfFilter- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
data CreateReceiptFilter Source #
Represents a request to create a new IP address filter. You use IP address filters when you receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .
See: createReceiptFilter smart constructor.
Instances
Request Lenses
crfFilter :: Lens' CreateReceiptFilter ReceiptFilter Source #
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
Destructuring the Response
createReceiptFilterResponse Source #
Arguments
| :: Int | |
| -> CreateReceiptFilterResponse |
Creates a value of CreateReceiptFilterResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crfrsResponseStatus- -- | The response status code.
data CreateReceiptFilterResponse Source #
An empty element returned on a successful request.
See: createReceiptFilterResponse smart constructor.
Instances
Response Lenses
crfrsResponseStatus :: Lens' CreateReceiptFilterResponse Int Source #
- - | The response status code.