| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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.
Synopsis
- data CreateReceiptFilter = CreateReceiptFilter' {}
- newCreateReceiptFilter :: ReceiptFilter -> CreateReceiptFilter
- createReceiptFilter_filter :: Lens' CreateReceiptFilter ReceiptFilter
- data CreateReceiptFilterResponse = CreateReceiptFilterResponse' {
- httpStatus :: Int
- newCreateReceiptFilterResponse :: Int -> CreateReceiptFilterResponse
- createReceiptFilterResponse_httpStatus :: Lens' CreateReceiptFilterResponse Int
Creating a Request
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: newCreateReceiptFilter smart constructor.
Constructors
| CreateReceiptFilter' | |
Fields
| |
Instances
newCreateReceiptFilter Source #
Create a value of CreateReceiptFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':CreateReceiptFilter', createReceiptFilter_filter - 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.
Request Lenses
createReceiptFilter_filter :: 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
data CreateReceiptFilterResponse Source #
An empty element returned on a successful request.
See: newCreateReceiptFilterResponse smart constructor.
Constructors
| CreateReceiptFilterResponse' | |
Fields
| |
Instances
newCreateReceiptFilterResponse Source #
Create a value of CreateReceiptFilterResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateReceiptFilterResponse', createReceiptFilterResponse_httpStatus - The response's http status code.
Response Lenses
createReceiptFilterResponse_httpStatus :: Lens' CreateReceiptFilterResponse Int Source #
The response's http status code.