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 |
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. 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_sendingOptions :: Lens' CreateConfigurationSet (Maybe SendingOptions)
- createConfigurationSet_deliveryOptions :: Lens' CreateConfigurationSet (Maybe DeliveryOptions)
- createConfigurationSet_trackingOptions :: Lens' CreateConfigurationSet (Maybe TrackingOptions)
- createConfigurationSet_reputationOptions :: Lens' CreateConfigurationSet (Maybe ReputationOptions)
- createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag])
- createConfigurationSet_suppressionOptions :: Lens' CreateConfigurationSet (Maybe SuppressionOptions)
- 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.
CreateConfigurationSet' | |
|
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:sendingOptions:CreateConfigurationSet'
, createConfigurationSet_sendingOptions
- An object that defines whether or not Amazon SES can send email that you
send using the configuration set.
$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:trackingOptions:CreateConfigurationSet'
, createConfigurationSet_trackingOptions
- An object that defines the open and click tracking options for emails
that you send using the configuration set.
$sel:reputationOptions:CreateConfigurationSet'
, createConfigurationSet_reputationOptions
- An object that defines whether or not Amazon SES collects reputation
metrics for the emails that you send that use the configuration set.
$sel:tags:CreateConfigurationSet'
, createConfigurationSet_tags
- An array of objects that define the tags (keys and values) to associate
with the configuration set.
$sel:suppressionOptions:CreateConfigurationSet'
, createConfigurationSet_suppressionOptions
- Undocumented member.
$sel:configurationSetName:CreateConfigurationSet'
, createConfigurationSet_configurationSetName
- The name of the configuration set. The name can contain up to 64
alphanumeric characters, including letters, numbers, hyphens (-) and
underscores (_) only.
Request Lenses
createConfigurationSet_sendingOptions :: Lens' CreateConfigurationSet (Maybe SendingOptions) Source #
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
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_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_reputationOptions :: Lens' CreateConfigurationSet (Maybe ReputationOptions) Source #
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag]) Source #
An array of objects that define the tags (keys and values) to associate with the configuration set.
createConfigurationSet_suppressionOptions :: Lens' CreateConfigurationSet (Maybe SuppressionOptions) Source #
Undocumented member.
createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet Text Source #
The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
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.
CreateConfigurationSetResponse' | |
|
Instances
Eq CreateConfigurationSetResponse Source # | |
Read CreateConfigurationSetResponse Source # | |
Show CreateConfigurationSetResponse Source # | |
Defined in Amazonka.SESV2.CreateConfigurationSet | |
Generic CreateConfigurationSetResponse Source # | |
NFData CreateConfigurationSetResponse Source # | |
Defined in Amazonka.SESV2.CreateConfigurationSet rnf :: CreateConfigurationSetResponse -> () # | |
type Rep CreateConfigurationSetResponse Source # | |
Defined in Amazonka.SESV2.CreateConfigurationSet type Rep CreateConfigurationSetResponse = D1 ('MetaData "CreateConfigurationSetResponse" "Amazonka.SESV2.CreateConfigurationSet" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CreateConfigurationSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.