| 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.ElasticTranscoder.DeletePreset
Description
The DeletePreset operation removes a preset that you've added in an AWS region.
You can't delete the default presets that are included with Elastic Transcoder.
Synopsis
- data DeletePreset = DeletePreset' {}
- newDeletePreset :: Text -> DeletePreset
- deletePreset_id :: Lens' DeletePreset Text
- data DeletePresetResponse = DeletePresetResponse' {
- httpStatus :: Int
- newDeletePresetResponse :: Int -> DeletePresetResponse
- deletePresetResponse_httpStatus :: Lens' DeletePresetResponse Int
Creating a Request
data DeletePreset Source #
The DeletePresetRequest structure.
See: newDeletePreset smart constructor.
Constructors
| DeletePreset' | |
Instances
Arguments
| :: Text | |
| -> DeletePreset |
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:
DeletePreset, deletePreset_id - The identifier of the preset for which you want to get detailed
information.
Request Lenses
deletePreset_id :: Lens' DeletePreset Text Source #
The identifier of the preset for which you want to get detailed information.
Destructuring the Response
data DeletePresetResponse Source #
The DeletePresetResponse structure.
See: newDeletePresetResponse smart constructor.
Constructors
| DeletePresetResponse' | |
Fields
| |
Instances
newDeletePresetResponse Source #
Arguments
| :: Int | |
| -> DeletePresetResponse |
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.