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 |
Amazonka.SESV2.DeleteConfigurationSet
Description
Delete an existing configuration set.
Configuration sets are groups of rules that you can apply to the emails you send. 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 DeleteConfigurationSet = DeleteConfigurationSet' {}
- newDeleteConfigurationSet :: Text -> DeleteConfigurationSet
- deleteConfigurationSet_configurationSetName :: Lens' DeleteConfigurationSet Text
- data DeleteConfigurationSetResponse = DeleteConfigurationSetResponse' {
- httpStatus :: Int
- newDeleteConfigurationSetResponse :: Int -> DeleteConfigurationSetResponse
- deleteConfigurationSetResponse_httpStatus :: Lens' DeleteConfigurationSetResponse Int
Creating a Request
data DeleteConfigurationSet Source #
A request to delete a configuration set.
See: newDeleteConfigurationSet
smart constructor.
Constructors
DeleteConfigurationSet' | |
Fields
|
Instances
newDeleteConfigurationSet Source #
Create a value of DeleteConfigurationSet
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:configurationSetName:DeleteConfigurationSet'
, deleteConfigurationSet_configurationSetName
- The name of the configuration set.
Request Lenses
deleteConfigurationSet_configurationSetName :: Lens' DeleteConfigurationSet Text Source #
The name of the configuration set.
Destructuring the Response
data DeleteConfigurationSetResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newDeleteConfigurationSetResponse
smart constructor.
Constructors
DeleteConfigurationSetResponse' | |
Fields
|
Instances
newDeleteConfigurationSetResponse Source #
Create a value of DeleteConfigurationSetResponse
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:DeleteConfigurationSetResponse'
, deleteConfigurationSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConfigurationSetResponse_httpStatus :: Lens' DeleteConfigurationSetResponse Int Source #
The response's http status code.