| 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.IoTWireless.DeleteDeviceProfile
Description
Deletes a device profile.
Synopsis
- data DeleteDeviceProfile = DeleteDeviceProfile' {}
- newDeleteDeviceProfile :: Text -> DeleteDeviceProfile
- deleteDeviceProfile_id :: Lens' DeleteDeviceProfile Text
- data DeleteDeviceProfileResponse = DeleteDeviceProfileResponse' {
- httpStatus :: Int
- newDeleteDeviceProfileResponse :: Int -> DeleteDeviceProfileResponse
- deleteDeviceProfileResponse_httpStatus :: Lens' DeleteDeviceProfileResponse Int
Creating a Request
data DeleteDeviceProfile Source #
See: newDeleteDeviceProfile smart constructor.
Constructors
| DeleteDeviceProfile' | |
Instances
newDeleteDeviceProfile Source #
Arguments
| :: Text | |
| -> DeleteDeviceProfile |
Create a value of DeleteDeviceProfile 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:
DeleteDeviceProfile, deleteDeviceProfile_id - The ID of the resource to delete.
Request Lenses
deleteDeviceProfile_id :: Lens' DeleteDeviceProfile Text Source #
The ID of the resource to delete.
Destructuring the Response
data DeleteDeviceProfileResponse Source #
See: newDeleteDeviceProfileResponse smart constructor.
Constructors
| DeleteDeviceProfileResponse' | |
Fields
| |
Instances
newDeleteDeviceProfileResponse Source #
Create a value of DeleteDeviceProfileResponse 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:DeleteDeviceProfileResponse', deleteDeviceProfileResponse_httpStatus - The response's http status code.
Response Lenses
deleteDeviceProfileResponse_httpStatus :: Lens' DeleteDeviceProfileResponse Int Source #
The response's http status code.