| 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.PutDedicatedIpWarmupAttributes
Description
Synopsis
- data PutDedicatedIpWarmupAttributes = PutDedicatedIpWarmupAttributes' {
- ip :: Text
- warmupPercentage :: Int
- newPutDedicatedIpWarmupAttributes :: Text -> Int -> PutDedicatedIpWarmupAttributes
- putDedicatedIpWarmupAttributes_ip :: Lens' PutDedicatedIpWarmupAttributes Text
- putDedicatedIpWarmupAttributes_warmupPercentage :: Lens' PutDedicatedIpWarmupAttributes Int
- data PutDedicatedIpWarmupAttributesResponse = PutDedicatedIpWarmupAttributesResponse' {
- httpStatus :: Int
- newPutDedicatedIpWarmupAttributesResponse :: Int -> PutDedicatedIpWarmupAttributesResponse
- putDedicatedIpWarmupAttributesResponse_httpStatus :: Lens' PutDedicatedIpWarmupAttributesResponse Int
Creating a Request
data PutDedicatedIpWarmupAttributes Source #
A request to change the warm-up attributes for a dedicated IP address. This operation is useful when you want to resume the warm-up process for an existing IP address.
See: newPutDedicatedIpWarmupAttributes smart constructor.
Constructors
| PutDedicatedIpWarmupAttributes' | |
Fields
| |
Instances
newPutDedicatedIpWarmupAttributes Source #
Arguments
| :: Text | |
| -> Int | |
| -> PutDedicatedIpWarmupAttributes |
Create a value of PutDedicatedIpWarmupAttributes 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:
PutDedicatedIpWarmupAttributes, putDedicatedIpWarmupAttributes_ip - The dedicated IP address that you want to update the warm-up attributes
for.
PutDedicatedIpWarmupAttributes, putDedicatedIpWarmupAttributes_warmupPercentage - The warm-up percentage that you want to associate with the dedicated IP
address.
Request Lenses
putDedicatedIpWarmupAttributes_ip :: Lens' PutDedicatedIpWarmupAttributes Text Source #
The dedicated IP address that you want to update the warm-up attributes for.
putDedicatedIpWarmupAttributes_warmupPercentage :: Lens' PutDedicatedIpWarmupAttributes Int Source #
The warm-up percentage that you want to associate with the dedicated IP address.
Destructuring the Response
data PutDedicatedIpWarmupAttributesResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutDedicatedIpWarmupAttributesResponse smart constructor.
Constructors
| PutDedicatedIpWarmupAttributesResponse' | |
Fields
| |
Instances
newPutDedicatedIpWarmupAttributesResponse Source #
Arguments
| :: Int | |
| -> PutDedicatedIpWarmupAttributesResponse |
Create a value of PutDedicatedIpWarmupAttributesResponse 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:PutDedicatedIpWarmupAttributesResponse', putDedicatedIpWarmupAttributesResponse_httpStatus - The response's http status code.
Response Lenses
putDedicatedIpWarmupAttributesResponse_httpStatus :: Lens' PutDedicatedIpWarmupAttributesResponse Int Source #
The response's http status code.