| 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.PutConfigurationSetTrackingOptions
Description
Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.
Synopsis
- data PutConfigurationSetTrackingOptions = PutConfigurationSetTrackingOptions' {}
- newPutConfigurationSetTrackingOptions :: Text -> PutConfigurationSetTrackingOptions
- putConfigurationSetTrackingOptions_customRedirectDomain :: Lens' PutConfigurationSetTrackingOptions (Maybe Text)
- putConfigurationSetTrackingOptions_configurationSetName :: Lens' PutConfigurationSetTrackingOptions Text
- data PutConfigurationSetTrackingOptionsResponse = PutConfigurationSetTrackingOptionsResponse' {
- httpStatus :: Int
- newPutConfigurationSetTrackingOptionsResponse :: Int -> PutConfigurationSetTrackingOptionsResponse
- putConfigurationSetTrackingOptionsResponse_httpStatus :: Lens' PutConfigurationSetTrackingOptionsResponse Int
Creating a Request
data PutConfigurationSetTrackingOptions Source #
A request to add a custom domain for tracking open and click events to a configuration set.
See: newPutConfigurationSetTrackingOptions smart constructor.
Constructors
| PutConfigurationSetTrackingOptions' | |
Fields
| |
Instances
newPutConfigurationSetTrackingOptions Source #
Arguments
| :: Text |
|
| -> PutConfigurationSetTrackingOptions |
Create a value of PutConfigurationSetTrackingOptions 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:
PutConfigurationSetTrackingOptions, putConfigurationSetTrackingOptions_customRedirectDomain - The domain that you want to use to track open and click events.
$sel:configurationSetName:PutConfigurationSetTrackingOptions', putConfigurationSetTrackingOptions_configurationSetName - The name of the configuration set that you want to add a custom tracking
domain to.
Request Lenses
putConfigurationSetTrackingOptions_customRedirectDomain :: Lens' PutConfigurationSetTrackingOptions (Maybe Text) Source #
The domain that you want to use to track open and click events.
putConfigurationSetTrackingOptions_configurationSetName :: Lens' PutConfigurationSetTrackingOptions Text Source #
The name of the configuration set that you want to add a custom tracking domain to.
Destructuring the Response
data PutConfigurationSetTrackingOptionsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutConfigurationSetTrackingOptionsResponse smart constructor.
Constructors
| PutConfigurationSetTrackingOptionsResponse' | |
Fields
| |
Instances
newPutConfigurationSetTrackingOptionsResponse Source #
Arguments
| :: Int | |
| -> PutConfigurationSetTrackingOptionsResponse |
Create a value of PutConfigurationSetTrackingOptionsResponse 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:PutConfigurationSetTrackingOptionsResponse', putConfigurationSetTrackingOptionsResponse_httpStatus - The response's http status code.
Response Lenses
putConfigurationSetTrackingOptionsResponse_httpStatus :: Lens' PutConfigurationSetTrackingOptionsResponse Int Source #
The response's http status code.