| 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.Greengrass.DeleteDeviceDefinition
Description
Deletes a device definition.
Synopsis
- data DeleteDeviceDefinition = DeleteDeviceDefinition' {}
- newDeleteDeviceDefinition :: Text -> DeleteDeviceDefinition
- deleteDeviceDefinition_deviceDefinitionId :: Lens' DeleteDeviceDefinition Text
- data DeleteDeviceDefinitionResponse = DeleteDeviceDefinitionResponse' {
- httpStatus :: Int
- newDeleteDeviceDefinitionResponse :: Int -> DeleteDeviceDefinitionResponse
- deleteDeviceDefinitionResponse_httpStatus :: Lens' DeleteDeviceDefinitionResponse Int
Creating a Request
data DeleteDeviceDefinition Source #
See: newDeleteDeviceDefinition smart constructor.
Constructors
| DeleteDeviceDefinition' | |
Fields
| |
Instances
newDeleteDeviceDefinition Source #
Create a value of DeleteDeviceDefinition 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:deviceDefinitionId:DeleteDeviceDefinition', deleteDeviceDefinition_deviceDefinitionId - The ID of the device definition.
Request Lenses
deleteDeviceDefinition_deviceDefinitionId :: Lens' DeleteDeviceDefinition Text Source #
The ID of the device definition.
Destructuring the Response
data DeleteDeviceDefinitionResponse Source #
See: newDeleteDeviceDefinitionResponse smart constructor.
Constructors
| DeleteDeviceDefinitionResponse' | |
Fields
| |
Instances
newDeleteDeviceDefinitionResponse Source #
Create a value of DeleteDeviceDefinitionResponse 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:DeleteDeviceDefinitionResponse', deleteDeviceDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
deleteDeviceDefinitionResponse_httpStatus :: Lens' DeleteDeviceDefinitionResponse Int Source #
The response's http status code.