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 |
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.
DeleteDeviceDefinition' | |
|
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.
DeleteDeviceDefinitionResponse' | |
|
Instances
Eq DeleteDeviceDefinitionResponse Source # | |
Read DeleteDeviceDefinitionResponse Source # | |
Show DeleteDeviceDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.DeleteDeviceDefinition | |
Generic DeleteDeviceDefinitionResponse Source # | |
NFData DeleteDeviceDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.DeleteDeviceDefinition rnf :: DeleteDeviceDefinitionResponse -> () # | |
type Rep DeleteDeviceDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.DeleteDeviceDefinition type Rep DeleteDeviceDefinitionResponse = D1 ('MetaData "DeleteDeviceDefinitionResponse" "Amazonka.Greengrass.DeleteDeviceDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "DeleteDeviceDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.