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 |
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.
PutDedicatedIpWarmupAttributes' | |
|
Instances
newPutDedicatedIpWarmupAttributes Source #
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:
$sel:ip:PutDedicatedIpWarmupAttributes'
, putDedicatedIpWarmupAttributes_ip
- The dedicated IP address that you want to update the warm-up attributes
for.
$sel:warmupPercentage: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.
PutDedicatedIpWarmupAttributesResponse' | |
|
Instances
Eq PutDedicatedIpWarmupAttributesResponse Source # | |
Read PutDedicatedIpWarmupAttributesResponse Source # | |
Show PutDedicatedIpWarmupAttributesResponse Source # | |
Generic PutDedicatedIpWarmupAttributesResponse Source # | |
Defined in Amazonka.PinpointEmail.PutDedicatedIpWarmupAttributes type Rep PutDedicatedIpWarmupAttributesResponse :: Type -> Type # | |
NFData PutDedicatedIpWarmupAttributesResponse Source # | |
type Rep PutDedicatedIpWarmupAttributesResponse Source # | |
Defined in Amazonka.PinpointEmail.PutDedicatedIpWarmupAttributes type Rep PutDedicatedIpWarmupAttributesResponse = D1 ('MetaData "PutDedicatedIpWarmupAttributesResponse" "Amazonka.PinpointEmail.PutDedicatedIpWarmupAttributes" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "PutDedicatedIpWarmupAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutDedicatedIpWarmupAttributesResponse Source #
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.