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 |
Permanently delete a preset you have created.
Synopsis
- data DeletePreset = DeletePreset' {}
- newDeletePreset :: Text -> DeletePreset
- deletePreset_name :: Lens' DeletePreset Text
- data DeletePresetResponse = DeletePresetResponse' {
- httpStatus :: Int
- newDeletePresetResponse :: Int -> DeletePresetResponse
- deletePresetResponse_httpStatus :: Lens' DeletePresetResponse Int
Creating a Request
data DeletePreset Source #
See: newDeletePreset
smart constructor.
Instances
Create a value of DeletePreset
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:name:DeletePreset'
, deletePreset_name
- The name of the preset to be deleted.
Request Lenses
deletePreset_name :: Lens' DeletePreset Text Source #
The name of the preset to be deleted.
Destructuring the Response
data DeletePresetResponse Source #
See: newDeletePresetResponse
smart constructor.
DeletePresetResponse' | |
|
Instances
newDeletePresetResponse Source #
Create a value of DeletePresetResponse
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:DeletePresetResponse'
, deletePresetResponse_httpStatus
- The response's http status code.
Response Lenses
deletePresetResponse_httpStatus :: Lens' DeletePresetResponse Int Source #
The response's http status code.