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 |
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
Synopsis
- data PutConfigurationSetDeliveryOptions = PutConfigurationSetDeliveryOptions' {}
- newPutConfigurationSetDeliveryOptions :: Text -> PutConfigurationSetDeliveryOptions
- putConfigurationSetDeliveryOptions_sendingPoolName :: Lens' PutConfigurationSetDeliveryOptions (Maybe Text)
- putConfigurationSetDeliveryOptions_tlsPolicy :: Lens' PutConfigurationSetDeliveryOptions (Maybe TlsPolicy)
- putConfigurationSetDeliveryOptions_configurationSetName :: Lens' PutConfigurationSetDeliveryOptions Text
- data PutConfigurationSetDeliveryOptionsResponse = PutConfigurationSetDeliveryOptionsResponse' {
- httpStatus :: Int
- newPutConfigurationSetDeliveryOptionsResponse :: Int -> PutConfigurationSetDeliveryOptionsResponse
- putConfigurationSetDeliveryOptionsResponse_httpStatus :: Lens' PutConfigurationSetDeliveryOptionsResponse Int
Creating a Request
data PutConfigurationSetDeliveryOptions Source #
A request to associate a configuration set with a dedicated IP pool.
See: newPutConfigurationSetDeliveryOptions
smart constructor.
PutConfigurationSetDeliveryOptions' | |
|
Instances
newPutConfigurationSetDeliveryOptions Source #
:: Text |
|
-> PutConfigurationSetDeliveryOptions |
Create a value of PutConfigurationSetDeliveryOptions
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:sendingPoolName:PutConfigurationSetDeliveryOptions'
, putConfigurationSetDeliveryOptions_sendingPoolName
- The name of the dedicated IP pool that you want to associate with the
configuration set.
$sel:tlsPolicy:PutConfigurationSetDeliveryOptions'
, putConfigurationSetDeliveryOptions_tlsPolicy
- Specifies whether messages that use the configuration set are required
to use Transport Layer Security (TLS). If the value is Require
,
messages are only delivered if a TLS connection can be established. If
the value is Optional
, messages can be delivered in plain text if a
TLS connection can't be established.
$sel:configurationSetName:PutConfigurationSetDeliveryOptions'
, putConfigurationSetDeliveryOptions_configurationSetName
- The name of the configuration set that you want to associate with a
dedicated IP pool.
Request Lenses
putConfigurationSetDeliveryOptions_sendingPoolName :: Lens' PutConfigurationSetDeliveryOptions (Maybe Text) Source #
The name of the dedicated IP pool that you want to associate with the configuration set.
putConfigurationSetDeliveryOptions_tlsPolicy :: Lens' PutConfigurationSetDeliveryOptions (Maybe TlsPolicy) Source #
Specifies whether messages that use the configuration set are required
to use Transport Layer Security (TLS). If the value is Require
,
messages are only delivered if a TLS connection can be established. If
the value is Optional
, messages can be delivered in plain text if a
TLS connection can't be established.
putConfigurationSetDeliveryOptions_configurationSetName :: Lens' PutConfigurationSetDeliveryOptions Text Source #
The name of the configuration set that you want to associate with a dedicated IP pool.
Destructuring the Response
data PutConfigurationSetDeliveryOptionsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutConfigurationSetDeliveryOptionsResponse
smart constructor.
PutConfigurationSetDeliveryOptionsResponse' | |
|
Instances
Eq PutConfigurationSetDeliveryOptionsResponse Source # | |
Read PutConfigurationSetDeliveryOptionsResponse Source # | |
Show PutConfigurationSetDeliveryOptionsResponse Source # | |
Generic PutConfigurationSetDeliveryOptionsResponse Source # | |
NFData PutConfigurationSetDeliveryOptionsResponse Source # | |
type Rep PutConfigurationSetDeliveryOptionsResponse Source # | |
Defined in Amazonka.PinpointEmail.PutConfigurationSetDeliveryOptions type Rep PutConfigurationSetDeliveryOptionsResponse = D1 ('MetaData "PutConfigurationSetDeliveryOptionsResponse" "Amazonka.PinpointEmail.PutConfigurationSetDeliveryOptions" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "PutConfigurationSetDeliveryOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutConfigurationSetDeliveryOptionsResponse Source #
Create a value of PutConfigurationSetDeliveryOptionsResponse
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:PutConfigurationSetDeliveryOptionsResponse'
, putConfigurationSetDeliveryOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
putConfigurationSetDeliveryOptionsResponse_httpStatus :: Lens' PutConfigurationSetDeliveryOptionsResponse Int Source #
The response's http status code.