| 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.PutConfigurationSetDeliveryOptions
Description
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.
Constructors
| PutConfigurationSetDeliveryOptions' | |
Fields
| |
Instances
newPutConfigurationSetDeliveryOptions Source #
Arguments
| :: 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:
PutConfigurationSetDeliveryOptions, putConfigurationSetDeliveryOptions_sendingPoolName - The name of the dedicated IP pool that you want to associate with the
configuration set.
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.
Constructors
| PutConfigurationSetDeliveryOptionsResponse' | |
Fields
| |
Instances
newPutConfigurationSetDeliveryOptionsResponse Source #
Arguments
| :: Int | |
| -> PutConfigurationSetDeliveryOptionsResponse |
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.