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.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.