Copyright | (c) 2013-2021 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 |
Move a dedicated IP address to an existing dedicated IP pool.
The dedicated IP address that you specify must already exist, and must be associated with your Amazon Pinpoint account.
The dedicated IP pool you specify must already exist. You can create a
new pool by using the CreateDedicatedIpPool
operation.
Synopsis
- data PutDedicatedIpInPool = PutDedicatedIpInPool' {
- ip :: Text
- destinationPoolName :: Text
- newPutDedicatedIpInPool :: Text -> Text -> PutDedicatedIpInPool
- putDedicatedIpInPool_ip :: Lens' PutDedicatedIpInPool Text
- putDedicatedIpInPool_destinationPoolName :: Lens' PutDedicatedIpInPool Text
- data PutDedicatedIpInPoolResponse = PutDedicatedIpInPoolResponse' {
- httpStatus :: Int
- newPutDedicatedIpInPoolResponse :: Int -> PutDedicatedIpInPoolResponse
- putDedicatedIpInPoolResponse_httpStatus :: Lens' PutDedicatedIpInPoolResponse Int
Creating a Request
data PutDedicatedIpInPool Source #
A request to move a dedicated IP address to a dedicated IP pool.
See: newPutDedicatedIpInPool
smart constructor.
PutDedicatedIpInPool' | |
|
Instances
newPutDedicatedIpInPool Source #
:: Text | |
-> Text | |
-> PutDedicatedIpInPool |
Create a value of PutDedicatedIpInPool
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:ip:PutDedicatedIpInPool'
, putDedicatedIpInPool_ip
- The IP address that you want to move to the dedicated IP pool. The value
you specify has to be a dedicated IP address that's associated with
your Amazon Pinpoint account.
$sel:destinationPoolName:PutDedicatedIpInPool'
, putDedicatedIpInPool_destinationPoolName
- The name of the IP pool that you want to add the dedicated IP address
to. You have to specify an IP pool that already exists.
Request Lenses
putDedicatedIpInPool_ip :: Lens' PutDedicatedIpInPool Text Source #
The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Pinpoint account.
putDedicatedIpInPool_destinationPoolName :: Lens' PutDedicatedIpInPool Text Source #
The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.
Destructuring the Response
data PutDedicatedIpInPoolResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutDedicatedIpInPoolResponse
smart constructor.
PutDedicatedIpInPoolResponse' | |
|
Instances
newPutDedicatedIpInPoolResponse Source #
Create a value of PutDedicatedIpInPoolResponse
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:PutDedicatedIpInPoolResponse'
, putDedicatedIpInPoolResponse_httpStatus
- The response's http status code.
Response Lenses
putDedicatedIpInPoolResponse_httpStatus :: Lens' PutDedicatedIpInPoolResponse Int Source #
The response's http status code.