| 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.PinpointEmail.CreateDedicatedIpPool
Description
Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.
Synopsis
- data CreateDedicatedIpPool = CreateDedicatedIpPool' {}
- newCreateDedicatedIpPool :: Text -> CreateDedicatedIpPool
- createDedicatedIpPool_tags :: Lens' CreateDedicatedIpPool (Maybe [Tag])
- createDedicatedIpPool_poolName :: Lens' CreateDedicatedIpPool Text
- data CreateDedicatedIpPoolResponse = CreateDedicatedIpPoolResponse' {
- httpStatus :: Int
- newCreateDedicatedIpPoolResponse :: Int -> CreateDedicatedIpPoolResponse
- createDedicatedIpPoolResponse_httpStatus :: Lens' CreateDedicatedIpPoolResponse Int
Creating a Request
data CreateDedicatedIpPool Source #
A request to create a new dedicated IP pool.
See: newCreateDedicatedIpPool smart constructor.
Constructors
| CreateDedicatedIpPool' | |
Instances
newCreateDedicatedIpPool Source #
Arguments
| :: Text | |
| -> CreateDedicatedIpPool |
Create a value of CreateDedicatedIpPool 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:tags:CreateDedicatedIpPool', createDedicatedIpPool_tags - An object that defines the tags (keys and values) that you want to
associate with the pool.
CreateDedicatedIpPool, createDedicatedIpPool_poolName - The name of the dedicated IP pool.
Request Lenses
createDedicatedIpPool_tags :: Lens' CreateDedicatedIpPool (Maybe [Tag]) Source #
An object that defines the tags (keys and values) that you want to associate with the pool.
createDedicatedIpPool_poolName :: Lens' CreateDedicatedIpPool Text Source #
The name of the dedicated IP pool.
Destructuring the Response
data CreateDedicatedIpPoolResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newCreateDedicatedIpPoolResponse smart constructor.
Constructors
| CreateDedicatedIpPoolResponse' | |
Fields
| |
Instances
newCreateDedicatedIpPoolResponse Source #
Create a value of CreateDedicatedIpPoolResponse 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:CreateDedicatedIpPoolResponse', createDedicatedIpPoolResponse_httpStatus - The response's http status code.
Response Lenses
createDedicatedIpPoolResponse_httpStatus :: Lens' CreateDedicatedIpPoolResponse Int Source #
The response's http status code.