| 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.CreateConfigurationSet
Description
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails you send using Amazon Pinpoint. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Synopsis
- data CreateConfigurationSet = CreateConfigurationSet' {}
- newCreateConfigurationSet :: Text -> CreateConfigurationSet
- createConfigurationSet_deliveryOptions :: Lens' CreateConfigurationSet (Maybe DeliveryOptions)
- createConfigurationSet_reputationOptions :: Lens' CreateConfigurationSet (Maybe ReputationOptions)
- createConfigurationSet_sendingOptions :: Lens' CreateConfigurationSet (Maybe SendingOptions)
- createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag])
- createConfigurationSet_trackingOptions :: Lens' CreateConfigurationSet (Maybe TrackingOptions)
- createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet Text
- data CreateConfigurationSetResponse = CreateConfigurationSetResponse' {
- httpStatus :: Int
- newCreateConfigurationSetResponse :: Int -> CreateConfigurationSetResponse
- createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int
Creating a Request
data CreateConfigurationSet Source #
A request to create a configuration set.
See: newCreateConfigurationSet smart constructor.
Constructors
| CreateConfigurationSet' | |
Fields
| |
Instances
newCreateConfigurationSet Source #
Create a value of CreateConfigurationSet 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:deliveryOptions:CreateConfigurationSet', createConfigurationSet_deliveryOptions - An object that defines the dedicated IP pool that is used to send emails
that you send using the configuration set.
$sel:reputationOptions:CreateConfigurationSet', createConfigurationSet_reputationOptions - An object that defines whether or not Amazon Pinpoint collects
reputation metrics for the emails that you send that use the
configuration set.
$sel:sendingOptions:CreateConfigurationSet', createConfigurationSet_sendingOptions - An object that defines whether or not Amazon Pinpoint can send email
that you send using the configuration set.
$sel:tags:CreateConfigurationSet', createConfigurationSet_tags - An array of objects that define the tags (keys and values) that you want
to associate with the configuration set.
$sel:trackingOptions:CreateConfigurationSet', createConfigurationSet_trackingOptions - An object that defines the open and click tracking options for emails
that you send using the configuration set.
$sel:configurationSetName:CreateConfigurationSet', createConfigurationSet_configurationSetName - The name of the configuration set.
Request Lenses
createConfigurationSet_deliveryOptions :: Lens' CreateConfigurationSet (Maybe DeliveryOptions) Source #
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
createConfigurationSet_reputationOptions :: Lens' CreateConfigurationSet (Maybe ReputationOptions) Source #
An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
createConfigurationSet_sendingOptions :: Lens' CreateConfigurationSet (Maybe SendingOptions) Source #
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag]) Source #
An array of objects that define the tags (keys and values) that you want to associate with the configuration set.
createConfigurationSet_trackingOptions :: Lens' CreateConfigurationSet (Maybe TrackingOptions) Source #
An object that defines the open and click tracking options for emails that you send using the configuration set.
createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet Text Source #
The name of the configuration set.
Destructuring the Response
data CreateConfigurationSetResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newCreateConfigurationSetResponse smart constructor.
Constructors
| CreateConfigurationSetResponse' | |
Fields
| |
Instances
newCreateConfigurationSetResponse Source #
Create a value of CreateConfigurationSetResponse 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:CreateConfigurationSetResponse', createConfigurationSetResponse_httpStatus - The response's http status code.
Response Lenses
createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int Source #
The response's http status code.